]> sourceware.org Git - glibc.git/blame - ChangeLog
* NEWS: Add note about FIPS mode. Wording suggested by Roland
[glibc.git] / ChangeLog
CommitLineData
89a3ad0b
AO
12012-10-10 Alexandre Oliva <aoliva@redhat.com>
2
3 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4 McGrath.
5
e7451425
AO
62012-10-10 Alexandre Oliva <aoliva@redhat.com>
7
8 * crypt/crypt-entry.c: Include fips-private.h.
9 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13
4ba74a35
AO
142012-10-10 Alexandre Oliva <aoliva@redhat.com>
15
16 * crypt/crypt-private.h: Include stdbool.h.
17 (_ufc_setup_salt_r): Return bool.
18 * crypt/crypt-entry.c: Include errno.h.
19 (__crypt_r): Return NULL with EINVAL for bad salt.
20 * crypt/crypt_util.c (bad_for_salt): New.
21 (_ufc_setup_salt_r): Check that salt is long enough and within
22 the specified alphabet.
23 * crypt/badsalttest.c: New file.
24 * crypt/Makefile (tests): Add it.
25 ($(objpfx)badsalttest): New.
26
f96f1242
MK
272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28
29 * NEWS: Add entry for BZ #14602.
30
0e8e0c1c
JM
312012-10-09 Joseph Myers <joseph@codesourcery.com>
32
33 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34 type-generic.
35 * math/libm-test.inc: Update comment listing what functions and
36 macros are tested.
37 (isgreater_test): New function.
38 (isgreaterequal_test): Likewise.
39 (isless_test): Likewise.
40 (islessequal_test): Likewise.
41 (islessgreater_test): Likewise.
42 (isunordered_test): Likewise.
43 (main): Call the new functions.
44
273edc5e
RM
452012-10-09 Roland McGrath <roland@hack.frob.com>
46
b8493de0
RM
47 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50 * sysdeps/i386/configure: Regenerated.
51 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52 * sysdeps/mach/configure: Regenerated.
53 * sysdeps/mach/hurd/configure: Regenerated.
54 * sysdeps/powerpc/configure: Regenerated.
55 * sysdeps/powerpc/powerpc32/configure: Regenerated.
56 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57 * sysdeps/s390/s390-32/configure: Regenerated.
58 * sysdeps/s390/s390-64/configure: Regenerated.
59 * sysdeps/sh/configure: Regenerated.
60 * sysdeps/sparc/configure: Regenerated.
61 * sysdeps/unix/sysv/linux/configure: Regenerated.
62 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63 * sysdeps/x86_64/configure: Regenerated.
64
273edc5e
RM
65 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66 defined. Don't check if MAP is NULL.
67
c8450f70
JM
682012-10-09 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
71 (_G_stat64): Likewise.
72 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73 (_G_stat64): Likewise.
74 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75 instead of struct _G_stat64.
76 * libio/fileops.c (mmap_remap_check): Likewise.
77 (decide_maybe_mmap): Likewise.
78 (_IO_new_file_seekoff): Likewise.
79 (_IO_file_stat): Likewise.
80 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
81 _G_off64_t.
82 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
83 instead of struct _G_stat64.
84 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
85
57e605ba
MK
862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
87
88 [BZ #14602]
89 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
90 Replace with ...
91 (CHECK_EOL): New macro.
92 (two_way_short_needle): Check beginning of haystack for EOL. Use
93 CHECK_EOL.
94 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
95 Replace with CHECK_EOL.
96 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
97 Replace with CHECK_EOL.
98
ef1bb361
JM
992012-10-08 Joseph Myers <joseph@codesourcery.com>
100
101 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
102 type-generic.
103 * math/libm-test.inc: Update comment listing what functions and
104 macros are tested.
105 (finite_test): New function.
106 (isinf_test): Likewise.
107 (isnan_test): Likewise.
108 (fpclassify_test): Test subnormal input.
109 (isfinite_test): Likewise.
110 (isnormal_test): Likewise.
111 (main): Call the new functions.
112
55f11534
JN
1132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
114
115 [BZ #14660]
116 * Makerules (%.dynsym): Force C locale when running
117 $(OBJDUMP) --dynamic-syms.
118
1ab29350
AS
1192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
120
121 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
122 <stdint.h>.
123
f1ecb7ef
DM
1242012-10-06 David S. Miller <davem@davemloft.net>
125
126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
127 upper 32-bits of the length value in %o2 since we use branch-on-register
128 tests which consider the entire 64-bit register.
129
5d41d91a
L
1302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
131
132 * string/test-strstr.c (check2): Add a test for page boundary.
133
3baddb72
DM
1342012-10-05 David S. Miller <davem@davemloft.net>
135
136 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
137 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
138 file.
139 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
140 sysdep_routines.
141 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
142 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
143 and bzero when HWCAP_SPARC_CRYPTO is present.
144
9cee5585
L
1452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
146
d7e0dab9
L
147 [BZ #14602]
148 * string/test-strstr.c (check2): New function.
149 (test_main): Call check2.
150
03759f47
L
151 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
152 and bug-strchr1.
153 * string/bug-strcasestr1.c (do_test): Moved to ...
154 * string/test-strcasestr.c (check1): Here. New function.
155 (do_one_test): Break out result checking code into ...
156 (check_result): This. New function.
157 (do_one_test): Call check_result.
158 (test_main): Call check1.
159 * string/bug-strchr1.c (do_test): Moved to ...
160 * string/test-strchr.c (check1): Here. New function.
161 (do_one_test): Break out result checking code into ...
162 (check_result): This. New function.
163 (do_one_test): Call check_result.
164 (test_main): Call check1.
165 * string/bug-strstr1.c (main): Moved to ...
166 * string/test-strchr.c (check1): Here. New function.
167 (do_one_test): Break out result checking code into ...
168 (check_result): This. New function.
169 (do_one_test): Call check_result.
170 (test_main): Call check1.
171 * string/bug-strcasestr1.c: Removed.
172 * string/bug-strchr1.c: Likewise.
173 * string/bug-strstr1.c: Likewise.
174
53cea63e
L
175 * elf/Makefile (dl-routines): Add hwcaps.
176 * elf/dl-support.c (_dl_important_hwcaps): Removed.
177 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
178 (_dl_important_hwcaps): Moved to ...
179 * elf/dl-hwcaps.c: Here. New file.
180 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
181
9cee5585 182 [BZ #14557]
bb859b06
L
183 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
184 if IS_IN_rtld isn't defined.
185
9cee5585
L
186 * elf/dl-support.c (_dl_sysinfo_map): New.
187 Include "get-dynamic-info.h" and "setup-vdso.h".
188 (_dl_non_dynamic_init): Call setup_vdso.
189 * elf/dynamic-link.h: Don't include <assert.h>.
190 (elf_get_dynamic_info): Moved to ...
191 * elf/get-dynamic-info.h: Here. New file.
192 * elf/dynamic-link.h: Include "get-dynamic-info.h".
193 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
194 * elf/setup-vdso.h: Here. New file.
195 * elf/rtld.c: Include "setup-vdso.h".
196 (dl_main): Call setup_vdso.
197
23c31b76
JM
1982012-10-05 Joseph Myers <joseph@codesourcery.com>
199
28234b07
JM
200 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
201 creal in comment listing functions tested. List finite, isinf,
202 isnan, isless, islessequal, isgreater, isgreaterequal,
203 islessgreater, isunordered, lgamma_r and pow10 as functions and
204 macros not tested. Mention which functions not tested are aliases
205 for other functions. Fix typo. Note that signs of NaNs are not
206 tested.
207
23c31b76
JM
208 * scripts/config.guess: Update from config.git.
209 * scripts/config.sub: Likewise.
210
9043e228
RM
2112012-10-04 Roland McGrath <roland@hack.frob.com>
212
213 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
214 * misc/madvise.c (madvise): Renamed to __madvise.
215 Make madvise a weak alias.
216 * include/sys/mman.h: Declare __madvise.
217 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
218 * sysdeps/unix/syscalls.list
219 (madvise): Make __madvise the strong name, and madvise a weak alias.
220 * sysdeps/unix/sysv/linux/syscalls.list
221 (madvise, mmap): Remove redundant entries.
222 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
223 * malloc/malloc.c (mtrim): Likewise.
224 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
225
f57f8055
RM
2262012-10-03 Roland McGrath <roland@hack.frob.com>
227
228 * sysdeps/mach/hurd/dl-cache.c: File removed.
229 * config.h.in (USE_LDCONFIG): New #undef.
230 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
231 * configure: Regenerated.
232 * elf/Makefile (dl-routines): Add dl-cache only under
233 [$(use-ldconfig) = yes].
234 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
235 cache on [USE_LDCONFIG].
236 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
237 [USE_LDCONFIG].
238 * elf/rtld.c (dl_main): Likewise.
239
5bb0c10a
PT
2402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
241
242 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
243 _SC_LEVEL4_CACHE_LINESIZE.
244
010188c6
RM
2452012-10-03 Roland McGrath <roland@hack.frob.com>
246
247 * sysdeps/unix/bsd/confstr.h: File removed.
248
b6c5ec07
AO
2492012-10-02 Alexandre Oliva <aoliva@redhat.com>
250
251 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
252 sys/sdt-config.h.
253
408223d4
RM
2542012-10-02 Roland McGrath <roland@hack.frob.com>
255
256 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
257 Make 'mapoff' field ElfW(Off) rather than off_t.
258
bb9510dc
DL
2592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
260
fc997c6e
DL
261 * nscd/Makefile: Remove nscd-cflags and all its users.
262 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
263 (CFLAGS-nonlib): Add compiler flags for nscd modules.
264
bb9510dc
DL
265 [BZ #10631]
266 * malloc.c (malloc_printerr): Clarify error message.
267
05699367
L
2682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
269
270 [BZ #14648]
271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
272 Set bit_FMA_Usable if FMA is supported.
273 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
274 macro.
275 (bit_FMA4_Usable): Updated.
276 (index_FMA_Usable): New macro.
277 (CPUID_FMA): Likewise
278 (HAS_FMA): Defined with bit_FMA_Usable.
279
51367701
RM
2802012-10-01 Roland McGrath <roland@hack.frob.com>
281
282 * bits/types.h (__swblk_t): Type removed.
283 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
284 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
285 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
286 (__SWBLK_T_TYPE): Likewise.
287 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
288 (__SWBLK_T_TYPE): Likewise.
289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
290 (__SWBLK_T_TYPE): Likewise.
291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
292 (__SWBLK_T_TYPE): Likewise.
293
4d57bf63
JL
2942012-10-01 Patsy Franklin <pfrankli@redhat.com>
295 Honza Horak <hhorak@redhat.com>
296
297 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
298 (xdr_mapname): Use YPMAXMAP as maxsize.
299 (xdr_peername): Use YPMAXPEER as maxsize.
300 (xdr_keydat): Use YPAXRECORD as maxsize.
301 (xdr_valdat): Use YPMAXRECORD as maxsize.
302
93c65d43
RM
3032012-10-01 Roland McGrath <roland@hack.frob.com>
304
497a03d6
RM
305 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
306
93c65d43
RM
307 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
308 * csu/init-first.c: ... here.
309 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
310 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
313 * sysdeps/i386/init-first.c: File removed.
314 * sysdeps/sh/init-first.c: File removed.
315
bec749fd
JM
3162012-10-01 Joseph Myers <joseph@codesourcery.com>
317
318 [BZ #14645]
319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
320 if x * y might underflow to zero and z is zero.
321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
323 * math/libm-test.inc (min_subnorm_value): New variable.
324 (fma_test): Add more tests.
325 (fma_test_towardzero): Likewise.
326 (fma_test_downward): Likewise
327 (fma_test_upward): Likewise.
328 (initialize): Set min_subnorm_value.
329
8ec5b013
JM
3302012-09-29 Joseph Myers <joseph@codesourcery.com>
331
332 [BZ #14638]
333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
334 0 + 0.
335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
336 mode for addition resulting in exact zero.
337 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
339 exact 0 + 0.
340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
342 * math/libm-test.inc (fma_test): Add more tests.
343 (fma_test_towardzero): New function.
344 (fma_test_downward): Likewise.
345 (fma_test_upward): Likewise.
346 (main): Call the new functions.
347
b1fa802e
DM
3482012-09-28 David S. Miller <davem@davemloft.net>
349
350 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
351
d3b9fd9e
RM
3522012-09-28 Roland McGrath <roland@hack.frob.com>
353
ea4d37b3
RM
354 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
355 instead of SIGALRM.
356
ac51c949
RM
357 * sysdeps/gnu/_G_config.h: Moved to ...
358 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
359 * sysdeps/mach/hurd/_G_config.h: Moved to ...
360 * sysdeps/generic/_G_config.h: ... here.
361
28c195f7
RM
362 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
363
848917f9
RM
364 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
365
6bacf05b
RM
366 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
367 Conditionalize target on [libnss_test1.so-version].
368
91363dbb
RM
369 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
370
cc87f7d8
RM
371 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
372 (elfobjdir): Move out of conditionals.
373
b1c608fe
RM
374 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
375 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
376 (__nss_lookup_function): Conditionalize label remove_from_tree on
377 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 378
1d9a6d96
DM
3792012-09-28 David S. Miller <davem@davemloft.net>
380
381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
382 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
383 file.
384 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
385 sysdep_routines.
386 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
388 when HWCAP_SPARC_CRYPTO is present.
389
72581615
PT
3902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
391
392 * io/tst-mknodat.c: Create a FIFO instead of a socket.
393
715a900c
JL
3942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
395
396 [BZ #6530]
397 * stdio-common/vfprintf.c (process_string_arg): Revert
398 2000-07-22 change.
399
4002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
401
402 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
403 for testcase.
404 * stdio-common/tst-sprintf.c: Include <locale.h>
405 (main): Test sprintf's handling of incomplete multibyte
406 characters.
407
9bac1d86
L
4082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
409
410 * elf/dl-runtime.c (VERSYMIDX): Removed.
411 * elf/dl-version.c (VERSYMIDX): Likewise.
412 * elf/do-rel.h (VERSYMIDX): Likewise.
413 (VALIDX): Likewise.
414 * elf/dynamic-link.h (VERSYMIDX): Likewise.
415 * elf/rtld.c (VALIDX): Likewise.
416 (ADDRIDX): Likewise.
9bac1d86
L
417 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
418 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
419 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
420 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
421 (VALIDX): Likewise.
422 (ADDRIDX): Likewise.
9bac1d86 423
b31606c0
PT
4242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
425
426 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
427
11541177
JL
4282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
429
430 [BZ #11438]
431 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
432 to global scope.
433 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
434 addresses are in the same scope as 192.0.2/24.
435 * posix/gai.conf: Document new scope table defaults.
436
adb26fae
SP
4372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 [BZ #5298]
440 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
441 for ftell. Compute offsets from write pointers instead.
442 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
443
4573c6b0
SP
4442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 [BZ #14543]
447 * libio/Makefile (tests): New test case tst-fseek.
448 * libio/tst-fseek.c: New test case to verify that fseek/ftell
449 combination works in wide mode.
450 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
451 state when the external buffer state changes.
452
aa9bbfe6
DM
4532012-09-27 David S. Miller <davem@davemloft.net>
454
455 [BZ #14376]
456 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
457 pass reloc->r_addend in as the 'high' argument to
458 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
459
784421e7
DM
460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
461
c39bc8b8
PT
4622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
463
464 * rt/tst-aio2.c: Include <pthread.h>.
465 * rt/tst-aio3.c: Likewise.
466
1ccc2399
SE
4672012-09-27 Steve Ellcey <sellcey@mips.com>
468
469 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
470
31ed4153
L
4712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
472
25f5f885
L
473 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
474 contents on [SHARED].
31ed4153 475
b7bfe116
MP
4762012-09-26 Marek Polacek <polacek@redhat.com>
477
478 [BZ #14530]
479 [BZ #13741]
480 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
481 for C++ and GCC <4.3 as well as for non GCC compilers.
482
43c4edba
MT
4832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
484
485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
486
6a1bf82f
RM
4872012-09-25 Roland McGrath <roland@hack.frob.com>
488
489 * Makefile.in (all, install): Declare with .PHONY.
490 Reported by Michael Hope <michael.hope@linaro.org>.
491
8ad11b9a
TMQMF
4922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
493
494 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
495 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
496 system header.
497 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
498 Likewise.
499 (sydep_routines): Add the new and the internal functions.
500 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
501 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
503 (GLIBC_2.17): Add the new function.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
505 (GLIBC_2.17): Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
507 (GLIBC_2.17): Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
509 (GLIBC_2.17): Likewise.
510 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
511
7e2fca8d
AM
5122012-09-25 Alan Modra <amodra@gmail.com>
513
514 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
515 Add release barrier before setting once_control to say
516 initialisation is done. Add hints on lwarx. Use macro in
517 place of isync.
518 (clear_once_control): Add release barrier.
519
b87c4b24
JM
5202012-09-25 Joseph Myers <joseph@codesourcery.com>
521
d032e0d2
JM
522 [BZ #13629]
523 * math/s_clog.c (__clog): Handle more values close to |z| = 1
524 specially.
525 * math/s_clog10.c (__clog10): Likewise.
526 * math/s_clog10f.c (__clog10f): Likewise.
527 * math/s_clog10l.c (__clog10l): Likewise.
528 * math/s_clogf.c (__clogf): Likewise.
529 * math/s_clogl.c (__clogl): Likewise.
530 * math/Makefile (libm-calls): Add x2y2m1.
531 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
532 (__x2y2m1): Likewise.
533 (__x2y2m1l): Likewise.
534 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
535 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
536 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
538 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
539 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
540 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
543
b87c4b24
JM
544 [BZ #14621]
545 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
546 int as type of variable DEPTH.
547 (glob): Use size_t instead of int as type of variables NEWCOUNT
548 and OLD_PATHC.
549
6d3bf199
LD
5502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
551
22bf5c17
LD
552 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
553 Add s_sincosf-sse2.
554 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
555 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
556 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
557 macros for using routine as __sincosf_ia32.
558 Use macro for function declaration and weak_alias.
559 * sysdeps/i386/fpu/libm-test-ulps: Update.
560
561 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
563
564 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
565 subnormal argument.
566 * math/s_cexpf.c (__cexpf): Likewise.
567 * math/s_csinf.c (__csinf): Likewise.
568 * math/s_csinhf.c (__csinhf): Likewise.
569 * math/s_ctanf.c (__ctanf): Likewise.
570 * math/s_ctanhf.c (__ctanhf): Likewise.
571 * math/s_ccosh.c (__ccoshf): Likewise.
572 * math/s_cexp.c (__cexpl): Likewise.
573 * math/s_csin.c (__csin): Likewise.
574 * math/s_csinh.c (__csinh): Likewise.
575 * math/s_ctan.c (__ctan): Likewise.
576 * math/s_ctanh.c (ctanh): Likewise.
577 * math/s_ccoshl.c (__ccoshl): Likewise.
578 * math/s_cexpl.c (__cexpl): Likewise.
579 * math/s_csinl.c (__csinl): Likewise.
580 * math/s_csinhl.c (__csinhl): Likewise.
581 * math/s_ctanl.c (__ctanl): Likewise.
582 * math/s_ctanhl.c (__ctanhl): Likewise.
583
203e5603
JM
5842012-09-25 Joseph Myers <joseph@codesourcery.com>
585
586 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
587 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
588 (_IO_off_t): Define to __off_t, not _G_off_t.
589 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
590 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
591 (_IO_wint_t): Define to wint_t, not _G_wint_t.
592 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
593 type of __dummy and __dummy2 fields.
594 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
595 (_G_ssize_t): Likewise.
596 (_G_off_t): Likewise.
597 (_G_pid_t): Likewise.
598 (_G_uid_t): Likewise.
599 (_G_wchar_t): Likewise.
600 (_G_wint_t): Likewise.
601 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
602 (_G_ssize_t): Likewise.
603 (_G_off_t): Likewise.
604 (_G_pid_t): Likewise.
605 (_G_uid_t): Likewise.
606 (_G_wchar_t): Likewise.
607 (_G_wint_t): Likewise.
608 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
609 (_G_ssize_t): Likewise.
610 (_G_off_t): Likewise.
611 (_G_pid_t): Likewise.
612 (_G_uid_t): Likewise.
613 (_G_wchar_t): Likewise.
614 (_G_wint_t): Likewise.
615
9fab36eb
SP
6162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
617
618 * malloc/arena.c: Include malloc-sysdep.h.
619 (shrink_heap): Use check_may_shrink_heap to decide if madvise
620 is sufficient to shrink the heap or an unmap is needed.
621 * sysdeps/generic/malloc-sysdep.h: New file. Define
622 new function check_may_shrink_heap.
623 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
624 new function check_may_shrink_heap.
625
2b4f00d1
SP
6262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
627
628 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
629 comments.
630
9a9028b1
DL
6312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
632
57c69bef
DL
633 * catgets/test-gencat.sh: Add "set -e".
634 * elf/tst-pathopt.sh: Likewise.
635 * grp/tst_fgetgrent.sh: Likewise.
636 * iconvdata/run-iconv-test.sh: Likewise.
637 * intl/tst-gettext.sh: Likewise.
638 * intl/tst-gettext2.sh: Likewise.
639 * intl/tst-gettext4.sh: Likewise.
640 * intl/tst-gettext6.sh: Likewise.
641 * intl/tst-translit.sh: Likewise.
642 * io/ftwtest-sh: Likewise.
643 * libio/test-freopen.sh: Likewise.
644 * malloc/tst-mtrace.sh: Likewise.
645 * posix/globtest.sh: Likewise.
646 * posix/tst-getconf.sh: Likewise.
647 * posix/wordexp-tst.sh: Likewise.
648 * stdio-common/tst-printf.sh: Likewise.
649 * stdio-common/tst-unbputc.sh: Likewise.
650 * stdlib/tst-fmtmsg.sh: Likewise.
651 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
652 * catgets/Makefile: Do not specify -e option when running
653 testsuite shell scripts.
654 * elf/Makefile: Likewise.
655 * grp/Makefile: Likewise.
656 * iconvdata/Makefile: Likewise.
657 * intl/Makefile: Likewise.
658 * io/Makefile: Likewise.
659 * libio/Makefile: Likewise.
660 * malloc/Makefile: Likewise.
661 * posix/Makefile: Likewise.
662 * stdio-common/Makefile: Likewise.
663 * stdlib/Makefile: Likewise.
664 * sysdeps/x86_64/Makefile: Likewise.
665
9a9028b1
DL
666 * io/ftwtest-sh: Add copyright header.
667 * posix/globtest.sh: Likewise.
668 * posix/tst-getconf.sh: Likewise.
669 * posix/wordexp-tst.sh: Likewise.
670 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
671
ced6f16e
L
6722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
673
94b32c39
L
674 [BZ #13679]
675 * Makeconfig (+link): Defined as $(+link-static) if
676 $(build-shared) isn't yes.
677 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
678 isn't yes.
679 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
680
189e935b
L
681 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
682
ced6f16e
L
683 [BZ #14562]
684 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
685 new chunk size with MALLOC_ALIGN_MASK.
686
a9f8e53a
JM
6872012-09-24 Joseph Myers <joseph@codesourcery.com>
688
689 [BZ #5044]
690 * stdio-common/printf_fphex.c: Include <stdbool.h> and
691 <rounding-mode.h>.
692 (__printf_fphex): Determine rounding using get_rounding_mode and
693 round_away.
694 * stdio-common/tst-printf-round.c (struct hex_test): New
695 structure.
696 (hex_tests): New variable.
697 (test_hex_in_one_mode): New function.
698 (do_test): Also run tests for hex float output.
699
43153109
JM
7002012-09-21 Joseph Myers <joseph@codesourcery.com>
701
702 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
703 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
704 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
705 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
706 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
707 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
708 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
709 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
710
8a26625d
JM
7112012-09-20 Joseph Myers <joseph@codesourcery.com>
712
713 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
714 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
715 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
716 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
717
f3fd569c
DL
7182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
719
720 [BZ #14579]
721 * elf/rtld.c (dl_main): Limit the check for self loading to normal
722 mode only.
723 * elf/tst-rtld-load-self.sh: New test.
724 * elf/Makefile: Run it.
725
63bbedd4
JM
7262012-09-18 Joseph Myers <joseph@codesourcery.com>
727
728 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
729 (tst-writev-ENV): Remove.
730 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
731
626f8b6a
CM
7322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
733
734 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
735
b7aaa4d6
JM
7362012-09-17 Joseph Myers <joseph@codesourcery.com>
737
738 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
739 unconditional.
740 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
741 Likewise.
742 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
743 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
744 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
745 Likewise.
746
65513990
L
7472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
748
749 [BZ #14587]
750 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
751 * config.make.in (have-cpp-asm-debuginfo): Removed.
752 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
753 * configure: Regenerated.
754
784761be
JM
7552012-09-14 Joseph Myers <joseph@codesourcery.com>
756
757 [BZ #5044]
758 * stdio-common/printf_fp.c: Include <stdbool.h> and
759 <rounding-mode.h>.
760 (___printf_fp): Determine rounding using get_rounding_mode and
761 round_away.
762 * stdio-common/tst-printf-round.c: New file.
763 * stdio-common/Makefile (tests): Add tst-printf-round.
764 (link-libm): New variable.
765 ($(objpfx)tst-printf-round): Depend in $(link-libm).
766
9503345f
L
7672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
768
769 [BZ #14576]
770 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
771 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
772 Likewise.
773 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
774 Likewise.
775
ad35fc00
JM
7762012-09-13 Joseph Myers <joseph@codesourcery.com>
777
778 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
779 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
780 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
782
6c9b0f68
JM
7832012-09-12 Joseph Myers <joseph@codesourcery.com>
784
785 [BZ #14518]
786 * include/rounding-mode.h: New file.
787 * sysdeps/generic/get-rounding-mode.h: Likewise.
788 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
789 * stdlib/strtod_l.c: Include <rounding-mode.h>.
790 (MAX_VALUE): New macro.
791 (MIN_VALUE): Likewise.
792 (overflow_value): New function.
793 (underflow_value): Likewise.
794 (round_and_return): Use overflow_value and underflow_value to
795 determine return values in overflow and underflow cases. Use
796 round_away to determine rounding depending on rounding mode.
797 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
798 determine return values in overflow and underflow cases.
799 * stdlib/tst-strtod-round.c: Include <fenv.h>.
800 (struct test_results): New structure.
801 (struct test): Use struct test_results to store expected results
802 for all rounding modes.
803 (TEST): Include expected results for all rounding modes.
804 (test_in_one_mode): New function.
805 (do_test): Use test_in_one_mode to compute and check results.
806 Check results for all rounding modes.
807 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
808 $(link-libm).
809
19fcedd5
AM
8102012-12-09 Allan McRae <allan@archlinux.org>
811
812 * sysdeps/i386/fpu/libm-test-ulps: Update
813
8bbfd2f1
JM
8142012-09-11 Joseph Myers <joseph@codesourcery.com>
815
816 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
817 (_G_int32_t): Likewise.
818 (_G_uint16_t): Likewise.
819 (_G_uint32_t): Likewise.
820 (_G_HAVE_BOOL): Likewise.
821 (_G_HAVE_ATEXIT): Likewise.
822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
823 (_G_HAVE_IO_FILE_OPEN): Likewise.
824 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
825 (_G_int32_t): Likewise.
826 (_G_uint16_t): Likewise.
827 (_G_uint32_t): Likewise.
828 (_G_HAVE_BOOL): Likewise.
829 (_G_HAVE_ATEXIT): Likewise.
830 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
831 (_G_HAVE_IO_FILE_OPEN): Likewise.
832 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
833 (_G_int32_t): Likewise.
834 (_G_uint16_t): Likewise.
835 (_G_uint32_t): Likewise.
836 (_G_HAVE_BOOL): Likewise.
837 (_G_HAVE_ATEXIT): Likewise.
838 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
839 (_G_HAVE_IO_FILE_OPEN): Likewise.
840
b1dc5912
L
8412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
842
843 * csu/libc-tls.c: Update copyright years.
844
0e886ef9
JM
8452012-09-10 Joseph Myers <joseph@codesourcery.com>
846
28361c5e
JM
847 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
848 [!_G_USING_THUNKS]: Remove conditional code.
849 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
850 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
851
0e886ef9
JM
852 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
853 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
854 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
855 (_G_VTABLE_LABEL_PREFIX): Likewise.
856 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
857 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
858 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
859 (_G_VTABLE_LABEL_PREFIX): Likewise.
860 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
861 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
862 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
863 (_G_VTABLE_LABEL_PREFIX): Likewise.
864 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
865
bcba7aa2
L
8662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
867
868 * libio/Makefile: Include ../Makeconfig before tests.
869 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
870 only if $(build-shared) is yes.
871
06585ee8
L
872 * iconv/gconv_db.c: Update copyright years.
873
80ccd52c
LD
8742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
875
876 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
877 unwind info if defined PIC. Fix special cases description.
878 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
879
880 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
881 DP_HI_MASK entry.
882 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
883
691bc9c1
L
8842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
885
3d9b46b3
L
886 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
887
de2139a9
L
888 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
889 is NULL.
890
5ca78dd0
L
891 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
892 (LDLIBS-tst-chk4): This.
893 (LDFLAGS-tst-chk5): Renamed to ...
894 (LDLIBS-tst-chk5): This.
895 (LDFLAGS-tst-chk6): Renamed to ...
896 (LDLIBS-tst-chk6): This.
897 (LDFLAGS-tst-lfschk4): Renamed to ...
898 (LDLIBS-tst-lfschk4): This.
899 (LDFLAGS-tst-lfschk5): Renamed to ...
900 (LDLIBS-tst-lfschk5): This.
901 (LDFLAGS-tst-lfschk6): Renamed to ...
902 (LDLIBS-tst-lfschk6): This.
903
691bc9c1
L
904 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
905 on $(common-objpfx)soversions.mk.
906
65cafb1c
JM
9072012-09-07 Joseph Myers <joseph@codesourcery.com>
908
909 [BZ #10014]
910 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
911 example host name.
912
c78ab094
SP
9132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
914
915 * malloc/arena.c (arena_get_retry): New function that gets
916 another arena for the caller to try its request on.
917 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
918 current arena cannot fulfill the request.
919 (__libc_memalign): Likewise.
920 (__libc_memalign): Likewise.
921 (__libc_pvalloc): Likewise.
922 (__libc_calloc): Likewise.
923
01f49f59
JT
9242012-09-05 John Tobey <john.tobey@gmail.com>
925
926 [BZ #13542]
927 * manual/arith.texi (Operations on Complex): Fix description
928 of carg branch cut.
929
4c23fed5
JM
9302012-09-06 Joseph Myers <joseph@codesourcery.com>
931
1d3c8572
JM
932 [BZ #10014]
933 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
934 host name.
935
4c23fed5
JM
936 [BZ #10038]
937 * manual/memory.texi (Memory): Make order of menu items match
938 order of sections.
939
04570aaa
L
9402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
941
942 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
943 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
944 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
945
b80af2f4
L
9462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
947
948 * csu/libc-tls.c (static_dtv): Renamed to ...
949 (_dl_static_dtv): This. Make it global.
950 (_dl_initial_dtv): Removed.
951 (__libc_setup_tls): Updated.
952 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
953 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
954 DL_INITIAL_DTV.
955
2abe9f15
PM
9562012-09-06 Petr Machata <pmachata@redhat.com>
957
958 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
959 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
960 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
961 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
962
0948c3af
L
9632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
964
965 [BZ #14545]
966 * csu/libc-tls.c (_dl_initial_dtv): New variable.
967 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
968 freeing dtv[-1].
969
a5055ad1
L
9702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
971
972 [BZ #14544]
973 * Makeconfig (link-static-before-libc): Replace $(+prector)
974 with $(+prectorT).
975 (link-static-after-libc): Replace $(+postctor) with
976 $(+postctorT).
977 (link-bounded): Replace $(+prector)/$(+postctor) with
978 $(+prectorT)/$(+postctorT).
979 (+prectorT): New macro.
980 (+postctorT): Likewise.
981
ed8c2ecd
JM
9822012-09-06 Joseph Myers <joseph@codesourcery.com>
983
984 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
985 (round_str): Handle values above the maximum for IBM long double
986 as inexact.
987 * stdlib/tst-strtod-round.c (tests): Regenerated.
988
14c996c8
AK
9892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
990
991 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
992 assembler flag.
993 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
994 zarch_nohighgprs around the zarch optimized routines.
995 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
996 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
997 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
998 for zarch.
999
430d6ce6
DM
10002012-09-05 David S. Miller <davem@davemloft.net>
1001
1002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1003
ff04dda4
DM
1004 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1005 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1006 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1007 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1008 entries.
1009
24d4e01b
AO
10102012-09-05 Alexandre Oliva <aoliva@redhat.com>
1011
1012 * malloc/arena.c: Fold copyright years.
1013 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1014
61d58174
AO
10152012-09-05 Alexandre Oliva <aoliva@redhat.com>
1016
1017 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1018
20196a5e
AO
10192012-09-05 Alexandre Oliva <aoliva@redhat.com>
1020
1021 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1022
5c447383
AO
10232012-09-05 Alexandre Oliva <aoliva@redhat.com>
1024
1025 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1026 change internal state upon failure.
1027
fad64255
AO
10282012-09-05 Alexandre Oliva <aoliva@redhat.com>
1029
1030 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1031 * malloc/memusage.c (mmap): Likewise.
1032 (mmap64, mremap): Likewise. Adjust name in comment.
1033
1ffb8c90
SP
10342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1035
1036 * libio/fileops.c: Fix typos in comments.
1037 * libio/oldfileops.c: Likewise.
1038 * libio/wfileops.c: Likewise.
1039
6ef9cc37
SP
10402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1041
1042 [BZ #1349]
1043 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1044 (tst-malloc-usable-ENV): Set environment for test case.
1045 * malloc/hooks.c (malloc_check_get_size): New function to get
1046 requested size.
1047 * malloc/malloc.c (musable): Use malloc_check_get_size.
1048 * malloc/tst-malloc-usable.c: New test case.
1049
4d038ae3
AS
10502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1051
1052 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1053
c4e85184
AM
10542012-09-05 Allan McRae <allan@archlinux.org>
1055
b9dafc56 1056 [BZ #13966]
c4e85184
AM
1057 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1058 determine header location.
1059 * configure: Regenerated.
1060
e1343020
AS
10612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1062
1063 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1064 float format.
1065 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1066 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1067 format.
e1343020
AS
1068 (test): Regenerate.
1069
0a9f1987
DM
10702012-09-04 David S. Miller <davem@davemloft.net>
1071
1072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1075
29237804
FW
10762012-09-04 Florian Weimer <fweimer@redhat.com>
1077
1078 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1079 failures.
1080
edb3cb88
FW
1081 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1082
60160d83
JM
10832012-09-04 Joseph Myers <joseph@codesourcery.com>
1084
1085 [BZ #9914]
1086 * libio/iogetdelim.c: Include <limits.h>.
1087 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1088 + len + 1 would overflow.
1089
bcd6c8dc
AJ
10902012-09-03 Andreas Jaeger <aj@suse.de>
1091
1092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1093 * sysdeps/i386/fpu/libm-test-ulps: Update.
1094
4ffffbd2
LD
10952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1096
1097 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1098 Add s_sinf-sse2, s_conf-sse2.
1099
1100 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1101 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1102 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1103 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1104
1105 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1106 for using routine as __sinf_ia32.
1107 Use macro for function declaration and weak_alias.
1108 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1109 for using routine as __cosf_ia32.
1110 Use macro for function declaration and weak_alias.
1111
1112 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1113 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1114
1115 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1116 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1118
1119 * math/libm-test.inc (cos_test): Add more test cases.
1120 (sin_test): Likewise.
1121 (sincos_test): Likewise.
1122
511fa286
AK
11232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1124
1125 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1126 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1127 hidden.
1128 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1129
5f30cfec
L
11302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 [BZ #14538]
1133 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1134 first element of the GOT.
1135 (elf_machine_load_address): Return the difference between
1136 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1137
0786794f
AM
11382012-09-01 Allan McRae <allan@archlinux.org>
1139
5f30cfec
L
1140 [BZ #13412]
1141 * configure.in (AWK): Require gawk version 3.0 or later.
1142 * configure: Regenerated.
0786794f 1143
26889eac
JM
11442012-09-01 Joseph Myers <joseph@codesourcery.com>
1145
1146 * sysdeps/unix/sysv/linux/kernel-features.h
1147 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1148 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1149 [__NR_clock_getres]: Make code unconditional.
1150 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1151 (clock_getcpuclockid): Remove code left unreachable by removal of
1152 conditionals.
1153 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1154 code unconditional.
1155 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1156 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1158 Make code unconditional.
1159 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1160 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1161 * sysdeps/unix/sysv/linux/clock_settime.c
1162 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1163 conditional code.
1164 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1165 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1166
d22e28b0
L
11672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 [BZ #14476]
1170 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1171 scripts/test-installation.pl.
1172
1173 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1174 and $ld_so_version if it is set.
1175
050af9c4
SP
11762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1177
1178 [BZ #14516]
1179 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1180 failure if reading from procfs failed.
1181 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1182
ad845c0b
JM
11832012-08-27 Joseph Myers <joseph@codesourcery.com>
1184
1185 * sysdeps/unix/sysv/linux/kernel-features.h
1186 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1187 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1188 Remove conditional code.
1189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1190 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1191 Remove conditional code.
1192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1193 * sysdeps/unix/sysv/linux/i386/fxstat.c
1194 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1196 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1197 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1199 * sysdeps/unix/sysv/linux/i386/lxstat.c
1200 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1202 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1203 Remove conditional code.
1204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1205 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1206 Remove conditional code.
1207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1209 <kernel-features.h>.
1210 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1211 Remove.
1212 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1213 Remove conditional code.
1214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1215 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1216 Remove conditional.
1217
5dbf56af
MF
12182012-08-27 Mike Frysinger <vapier@gentoo.org>
1219
1220 [BZ #5400]
1221 * NEWS: Add fixed bug number.
1222
d6e70f43
JM
12232012-08-27 Joseph Myers <joseph@codesourcery.com>
1224
7efb4737
JM
1225 [BZ #14519]
1226 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1227 underflowing exponent in case of negative sign.
1228 * stdlib/tst-strtod-round-data: Add more tests.
1229 * stdlib/tst-strtod-round.c (tests): Regenerated.
1230
af92131a
JM
1231 [BZ #3479]
1232 * stdlib/strtod_l.c (NDIG): Remove.
1233 (HEXNDIG): Likewise.
1234 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1235 smallest representable value.
1236 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1237 lie within an exact representation of 1/2 ulp of the result.
1238 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1239 unconditionally.
1240 (TENS_P9_IDX): Define unconditionally.
1241 (TENS_P9_SIZE): Likewise.
1242 (TENS_P10_IDX): Likewise.
1243 (TENS_P10_SIZE): Likewise.
1244 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1245 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1246 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1247 entries for 10^2^13 and 10^2^14.
1248 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1249 (TENS_P13_IDX): Define.
1250 (TENS_P13_SIZE): Likewise.
1251 (TENS_P14_IDX): Likewise.
1252 (TENS_P14_SIZE): Likewise.
1253 (_fpioconst_pow10): Change array size to
1254 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1255 unconditional.
1256 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1257 1024]: Add entries for 10^2^13 and 10^2^14.
1258 [LAST_POW10 > _LAST_POW10]: Remove #error.
1259 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1260 (_fpioconst_pow10): Change array size to
1261 FPIOCONST_POW10_ARRAY_SIZE.
1262 * stdlib/gen-fpioconst.c: New file.
1263 * stdlib/gen-tst-strtod-round.c: Likewise.
1264 * stdlib/tst-strtod-round-data: Likewise.
1265 * stdlib/tst-strtod-round.c: Likewise.
1266 * stdlib/Makefile (tests): Add tst-strtod-round.
1267
d6e70f43
JM
1268 [BZ #14459]
1269 * stdlib/strtod_l.c: Include <stdint.h>.
1270 (NDEBUG): Do not define.
1271 (round_and_return): Change EXPONENT parameter to type intmax_t.
1272 Rearrange calculations to avoid internal overflow possibilities.
1273 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1274 Rearrange calculations to avoid internal overflow possibilities.
1275 Assert that number fits inside MPNSIZE limbs.
1276 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1277 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1278 calculations and add assertions to avoid internal overflow
1279 possibilities. Add casts to avoid signed/unsigned operations.
1280 * stdlib/tst-strtod-overflow.c: New file.
1281 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1282
1f529f7d
MP
12832012-08-25 Marek Polacek <polacek@redhat.com>
1284
1285 * time/time.h: Fix some typos in comments.
1286
59a629f1
RM
12872012-08-23 Roland McGrath <roland@hack.frob.com>
1288
1289 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1290 * posix/tst-rfc3484-2.c: Likewise.
1291 * posix/tst-rfc3484-3.c: Likewise.
1292
d3bafbc9
SM
12932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1294
1295 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1296 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1297
4efcc022
JM
12982012-08-23 Joseph Myers <joseph@codesourcery.com>
1299
1300 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1301 #include of fxstatat64.c.
1302
3cc3ef96
RM
13032012-08-22 Roland McGrath <roland@hack.frob.com>
1304
f04e2132
RM
1305 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1306 * shadow/getspent_r.c: Likewise.
1307 * shadow/getspnam.c: Likewise.
1308 * shadow/getspnam_r.c: Likewise.
1309 * gshadow/getsgent.c: Likewise.
1310 * gshadow/getsgent_r.c: Likewise.
1311 * gshadow/getsgnam.c: Likewise.
1312 * gshadow/getsgnam_r.c: Likewise.
1313 * inet/getnetbyad.c: Likewise.
1314 * inet/getnetbyad_r.c: Likewise.
1315 * inet/getnetbynm.c: Likewise.
1316 * inet/getnetbynm_r.c: Likewise.
1317 * inet/getnetent.c: Likewise.
1318 * inet/getnetent_r.c: Likewise.
1319 * inet/getproto.c: Likewise.
1320 * inet/getproto_r.c: Likewise.
1321 * inet/getprtent.c: Likewise.
1322 * inet/getprtent_r.c: Likewise.
1323 * inet/getprtname.c: Likewise.
1324 * inet/getprtname_r.c: Likewise.
1325 * inet/getrpcbyname.c: Likewise.
1326 * inet/getrpcbyname_r.c: Likewise.
1327 * inet/getrpcbynumber.c: Likewise.
1328 * inet/getrpcbynumber_r.c: Likewise.
1329 * inet/getrpcent.c: Likewise.
1330 * inet/getrpcent_r.c: Likewise.
1331 * inet/getaliasent.c: Likewise.
1332 * inet/getaliasent_r.c: Likewise.
1333 * inet/getaliasname.c: Likewise.
1334 * inet/getaliasname_r.c: Likewise.
1335 * nscd/getgrgid_r.c: Likewise.
1336 * nscd/getgrnam_r.c: Likewise.
1337 * nscd/gethstbyad_r.c: Likewise.
1338 * nscd/gethstbynm3_r.c: Likewise.
1339 * nscd/getpwnam_r.c: Likewise.
1340 * nscd/getpwuid_r.c: Likewise.
1341 * nscd/getsrvbynm_r.c: Likewise.
1342 * nscd/getsrvbypt_r.c: Likewise.
1343 * nscd/gai.c: Likewise.
1344
c53d909c
RM
1345 * configure.in (build_nscd): New substituted variable, set
1346 by --disable-build-nscd and defaults to $use_nscd.
1347 * configure: Regenerated.
1348 * config.make.in (build-nscd): New substituted variable.
1349 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1350 Change conditional to require [$(build-nscd) = yes] as well.
1351 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1352
3cc3ef96
RM
1353 [BZ# 13696]
1354 * configure.in (use_nscd): New substituted variable, set by
1355 --disable-nscd. If enabled, define USE_NSCD.
1356 * configure: Regenerated.
1357 * config.h.in: Add USE_NSCD.
1358 * config.make.in (use-nscd): New substituted variable.
1359 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1360 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1361 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1362 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1363 (CFLAGS-getgrnam_r.c): Likewise.
1364 (CFLAGS-initgroups.c): Likewise.
1365 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1366 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1367 Variables removed.
1368 * inet/getnetgrent_r.c
1369 (nscd_setnetgrent): New function, broken out of ...
1370 (setnetgrent): ... here. Call it.
1371 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1372 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1373 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1374 * nscd/Makefile (routines, aux): Move definitions after include of
1375 Makeconfig. Conditionalize on [$(use-nscd) != no].
1376 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1377 Conditionalize on [USE_NSCD].
1378 (is_nscd, nscd_init_cb): Likewise.
1379 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1380 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1381 * nss/nss_db/db-init.c: Likewise.
1382 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1383 [USE_NSCD].
1384 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1385 (make_request): Use it.
1386 (cache_valid_p): New function.
1387 (__check_pf): Use it.
1388 * NEWS: Add item for --disable-nscd.
1389
07e51550
DL
13902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1391
1392 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1393 to support sed >= 4.2.1-20-ga9bf076.
1394 * configure: Regenerated.
1395
35a5b08b
RM
13962012-08-22 Roland McGrath <roland@hack.frob.com>
1397
1398 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1399 Conditionalize whole body on [IREL].
1400
8479f23a
JL
14012012-08-22 Jeff Law <law@redhat.com>
1402
1403 [BZ #14505]
1404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1405 if the family is PF_UNSPEC.
1406
48da0b21
MF
14072012-08-22 Mike Frysinger <vapier@gentoo.org>
1408
1409 * Makerules (lib-version): Rename from V.
1410 (install-lib-nosubdir): Change V to lib-version.
1411
15d0da8c
WS
14122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1413
1414 [BZ #14252]
1415 * powerpc32/power6/wcschr.c: New file.
1416 * powerpc32/power6/wcscpy.c: New file.
1417 * powerpc32/power6/wcsrchr.c: New file.
1418 * powerpc64/power6/wcschr.c: New file.
1419 * powerpc64/power6/wcscpy.c: New file.
1420 * powerpc64/power6/wcsrchr.c: New file.
1421
bcca0895
MK
14222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1423
1424 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1425 (two_way_short_needle): Use it.
5a4aaa33
RM
1426 * string/strstr.c (AVAILABLE1_USES_J): Define.
1427 * string/strcasestr.c: Likewise.
99677e57
MK
1428
1429 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1430 array references.
1431 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1432
400726de
MK
1433 [BZ #11607]
1434 * NEWS: Add an entry.
1435 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1436 define their defaults.
1437 (two_way_short_needle): Detect end-of-string on-the-fly.
1438 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1439 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1440 * string/bug-strcasestr1.c: New test.
1441 * string/Makefile: Run it.
1442
20a71f2c
MK
14432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1444
1445 [BZ #11607]
1446 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1447 the first character.
1448
21ad0558
RM
14492012-08-21 Roland McGrath <roland@hack.frob.com>
1450
1451 * csu/elf-init.c (__libc_csu_irel): Function removed.
1452 * csu/libc-start.c (apply_irel): New function.
1453 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1454
0e1d9911
JM
14552012-08-21 Joseph Myers <joseph@codesourcery.com>
1456
1457 * sysdeps/unix/sysv/linux/kernel-features.h
1458 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1459 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1460 <kernel-features.h>.
1461 [__NR_fadvise64_64]: Make code unconditional.
1462 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1463 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1464 !__NR_fadvise64_64)]: Likewise.
1465 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1466 !__NR_fadvise64_64))]: Likewise.
1467 [__NR_fadvise64]: Make code unconditional.
1468 [!__NR_fadvise64]: Remove conditional code.
1469 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1470 <kernel-features.h>.
1471 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1472 unconditional.
1473 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1474 conditional code.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1476 not include <kernel-features.h>.
1477 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1478 unconditional.
1479 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1480 conditional code.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1482 include <kernel-features.h>.
1483 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1484 unconditional.
1485 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1486 conditional code.
1487
14a50c9d
WS
14882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1489
1490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1491 slight instruction rearrangements per scrollpipe analysis.
1492 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1493
c0f4faf0
RM
14942012-08-20 Roland McGrath <roland@hack.frob.com>
1495
696da859
RM
1496 * manual/syslog.texi (syslog; vsyslog, closelog):
1497 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1498 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1499
c0f4faf0
RM
1500 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1501 DSOCAPS to match condition on defining it.
1502
348363b2
JM
15032012-08-20 Joseph Myers <joseph@codesourcery.com>
1504
a35cbf28
JM
1505 * sysdeps/unix/sysv/linux/kernel-features.h
1506 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1508 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1509 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1511 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1512 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1514 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1515 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1516
445f7ecd
JM
1517 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1518 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1519
348363b2
JM
1520 * sysdeps/unix/sysv/linux/kernel-features.h
1521 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1522 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1523 unconditional.
1524 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1525 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1526 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1527 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1528 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1529 Make code unconditional.
1530 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1531 (__mmap64) [!__NR_mmap2]: Likewise.
1532 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1533 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1534 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1536 [__NR_mmap2]: Make code unconditional.
1537 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1538 (__mmap64) [!__NR_mmap2]: Likewise.
1539
bc5bc0e5
AK
15402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1541
1542 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1543
88d506de
AJ
15442012-08-18 Andreas Jaeger <aj@suse.de>
1545
1546 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1547
493387d2
MF
15482012-08-18 Mike Frysinger <vapier@gentoo.org>
1549
1550 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1551 * include/unistd.h (__have_sock_cloexec): Likewise.
1552 (__have_pipe2): Likewise.
1553 (__have_dup3): Likewise.
1554
a277af22
MF
15552012-08-18 Mike Frysinger <vapier@gentoo.org>
1556
1557 [BZ #9685]
1558 * include/unistd.h (__have_pipe2): Change define into an extern int.
1559 (__have_dup3): Likewise.
1560 * socket/have_sock_cloexec.c: Include fcntl.h.
1561 (__have_pipe2): New variable.
1562 (__have_dup3): Likewise.
1563
fdab8fd3
MF
15642012-08-17 Mike Frysinger <vapier@gentoo.org>
1565
1566 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1567
31035e80
MP
15682012-08-17 Marek Polacek <polacek@redhat.com>
1569
1570 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1571 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1572
3bd9e993
RM
15732012-08-17 Roland McGrath <roland@hack.frob.com>
1574
c91c505f
RM
1575 * configure.in: Add AC_SUBST for sysheaders.
1576 * configure: Regenerated.
1577 * config.make.in (sysheaders): New substituted variable.
1578
7c6f9d53
RM
1579 * sysdeps/unix/mkfifo.c: Moved ...
1580 * sysdeps/posix/mkfifo.c: ... here.
1581 * sysdeps/unix/mkfifoat.c: Moved ...
1582 * sysdeps/posix/mkfifoat.c: ... here.
1583
1584 * sysdeps/unix/utime.c: Moved ...
1585 * sysdeps/posix/utime.c: ... here.
1586
1587 * sysdeps/unix/time.c: Moved ...
1588 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1589 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1591
1592 * sysdeps/unix/nice.c: Moved ...
1593 * sysdeps/posix/nice.c: ... here.
1594
1595 * sysdeps/unix/alarm.c: Moved ...
1596 * sysdeps/posix/alarm.c: ... here.
1597
3bd9e993
RM
1598 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1599
d1f09384
JL
16002012-08-17 Jeff Law <law@redhat.com>
1601
1602 * intl/Makefile (codeset_mo): New variable.
1603 ($(codeset_mo)): New target.
1604 (tst-codeset.out): Depend on that. Remove explicit rule.
1605 (tst-gettext3.out, tst-gettext5.out): Likewise.
1606 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1607 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1608 * intl/tst-codeset.sh: Remove.
1609 * intl/tst-gettext3.sh: Likewise.
1610 * intl/tst-gettext5.sh: Likewise.
1611
2ae1ae5c
RM
16122012-08-17 Roland McGrath <roland@hack.frob.com>
1613
c31fdb83
RM
1614 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1615 * sysdeps/unix/syscalls.list: ... here.
1616
a0844057
RM
1617 * sysdeps/posix/getaddrinfo.c
1618 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1619 (gaiconf_init, gaiconf_reload): Use them.
1620 [!_STATBUF_ST_NSEC]
1621 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1622 Define using time_t rather than struct timespec.
1623
750c1f2a
RM
1624 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1625 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1626 Macros removed.
1627 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1628 [!NO_THREADS].
1629 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1630 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1631 Likewise.
1632
2ae1ae5c
RM
1633 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1634 __libc_cleanup_push argument.
1635
e66a42f5
RM
1636 * bits/param.h: New file.
1637 * misc/sys/param.h: New file.
1638 * include/sys/param.h: New file.
1639 * misc/Makefile (headers): Add bits/param.h.
1640 * sysdeps/generic/sys/param.h: File removed.
1641 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1642 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1643 * sysdeps/mach/hurd/bits/param.h: New file.
1644 * sysdeps/mach/hurd/sys/param.h: New file.
1645
b7c08a66
RM
1646 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1647 last change.
1648
b2e1c562
RM
1649 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1650 [_IO_MTSAFE_IO].
1651 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1652 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1653 New macros.
1654
c75ccd4c
RM
1655 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1656 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1657 rather than -D_IO_MTSAFE_IO conditionally.
1658 * stdio-common/Makefile (CPPFLAGS): Likewise.
1659 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1660 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1661 Use $(libio-mtsafe).
1662 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1663 of -D_IO_MTSAFE_IO.
1664 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1665 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1666 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1667 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1668 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1669 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1670 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1671 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1672 (CFLAGS-fread_u_chk.c): Likewise.
1673 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1674 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1675 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1676 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1677 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1678 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1679 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1680 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1681 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1682
1683 * libio/Makefile: Test [$(libc-reentrant) = yes]
1684 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1685
1686 * Makeconfig
1687 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1688 * sysdeps/pthread/configure: File removed.
1689 * sysdeps/pthread/Makeconfig: New file.
1690 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1691 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1692
d9195db8
GB
16932012-08-16 Gary Benson <gbenson@redhat.com>
1694
1695 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1696 unmapping the first object in a namespace.
1697
86466cd9
RM
16982012-08-16 Roland McGrath <roland@hack.frob.com>
1699
1700 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1701 (__internal_setnetgrent): ... this. Add internal_function to
1702 definition. Add libc_hidden_def.
1703 (setnetgrent): Update caller.
1704 (internal_endnetgrent): Renamed to ...
1705 (__internal_endnetgrent): ... this. Add internal_function to
1706 definition. Add libc_hidden_def.
1707 (endnetgrent): Update caller.
1708 (internal_getnetgrent_r): Renamed to ...
1709 (__internal_getnetgrent_r): ... this. Add internal_function to
1710 definition. Add libc_hidden_def.
1711 (__getnetgrent_r): Update caller.
1712 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1713
c3c8283c
JM
17142012-08-16 Joseph Myers <joseph@codesourcery.com>
1715
1716 * stdlib/longlong.h: Update from GCC.
1717
db1ee0a8
RM
17182012-08-16 Roland McGrath <roland@hack.frob.com>
1719
1720 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1721 on _QL, which is set by umul_ppmm but never used.
1722 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1723 variables, which are set by GMP macros but never used.
1724 * stdio-common/_itowa.c (_itowa): Likewise.
1725 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1726 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1727
30f69637
CD
17282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1729
1730 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1731 struct La_sh_regs is not constant.
1732 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1733 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1734 and struct La_sparc64_regs are not constant.
1735
93a78ac4
JM
17362012-08-16 Joseph Myers <joseph@codesourcery.com>
1737
1738 * sysdeps/unix/sysv/linux/kernel-features.h
1739 (__ASSUME_POSIX_TIMERS): Remove.
1740 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1741 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1742 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1743 Make code unconditional.
1744 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1745 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1746 Make code unconditional.
1747 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1748 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1749 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1751 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1752 Make code unconditional.
1753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1754 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1755 (__libc_missing_posix_timers): Remove.
1756
dd924cd7
RM
17572012-08-15 Roland McGrath <roland@hack.frob.com>
1758
4b4f2771
RM
1759 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1760 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1761
601c888b
RM
1762 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1763
176790a7
RM
1764 * elf/dl-sym.c: Include <stdlib.h>.
1765
329bc018
RM
1766 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1767 constants, which avoids warnings in 32-bit builds.
1768
e04e272d
RM
1769 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1770 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1771
952bf94a
RM
1772 * misc/lseek.c: File moved to ...
1773 * io/lseek.c: ... here.
1774
7c99b50a
RM
1775 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1776
dd924cd7
RM
1777 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1778 shifting LEN more than 31 bits at once.
1779
b3f479a8
LD
17802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1781
1782 [BZ #14195]
8c4ae0d4
RM
1783 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1784 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1785 * string/test-strncasecmp.c (check1): Renamed to...
1786 (bz12205): ...this.
1787 (bz14195): Add new testcase for two empty input strings and N > 0.
1788 (test_main): Call new testcase, adapt for renamed function.
1789
9c55864e
AJ
17902012-08-15 Andreas Jaeger <aj@suse.de>
1791
1792 [BZ #14090]
1793 * crypt/md5test2.c: New test, based on test supplied by Serge
1794 Belyshev <belyshev@depni.sinp.msu.ru>.
1795 * crypt/Makefile (xtests): Add md5test-giant..
1796 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1797
02dcb6c5
PE
17982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1799
1800 [BZ #14090]
1801 * crypt/md5.c (md5_process_block): Don't assume the buffer
1802 length is less than 2**32.
1803 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1804 length is less than 2**64.
1805
a3f95dcc
RM
18062012-08-15 Roland McGrath <roland@hack.frob.com>
1807
be75d758
RM
1808 * string/str-two-way.h: Include <sys/param.h>.
1809 (MAX): Macro removed.
1810
7312ca90
RM
1811 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1812 Move #define and #undef of memmove to just before and after
1813 including <string.h>.
1814
9a0a5486
RM
1815 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1816 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1817 and after including <string.h>. Move declarations of
1818 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1819 to before #include "string/memmove.c".
1820
67cc348d
RM
1821 * include/dirent.h: Declare __getdirentries.
1822
a3f95dcc
RM
1823 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1824 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1825
ca98e171
MF
18262012-08-14 Mike Frysinger <vapier@gentoo.org>
1827
1828 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1829 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1830 * sysdeps/i386/configure: Regenerated.
1831 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1832 STABS_CURRENT_FILE, and STABS_FUN.
1833 (END): Remove call to STABS_FUN_END.
1834 (STABS_CURRENT_FILE1): Delete.
1835 (STABS_CURRENT_FILE): Likewise.
1836 (STABS_FUN): Likewise.
1837 (STABS_FUN_END): Likewise.
1838 (STABS_FUN2): Likewise.
1839 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1840 * sysdeps/x86_64/configure: Regenerated.
1841
5908bf46
RM
18422012-08-14 Roland McGrath <roland@hack.frob.com>
1843
1844 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1845 * elf/dl-lookup.c: Likewise.
5908bf46 1846
f2c05b9e
JM
18472012-08-14 Joseph Myers <joseph@codesourcery.com>
1848
1849 * sysdeps/unix/sysv/linux/kernel-features.h
1850 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1851 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1852 unconditionally.
1853 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1854 unconditionally.
1855 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1856 condition on __ASSUME_CLONE_THREAD_FLAGS.
1857
e11f5155
AJ
18582012-08-14 Andreas Jaeger <aj@suse.de>
1859
1860 * sysdeps/i386/fpu/libm-test-ulps: Update.
1861
51a9ba86
MK
18622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1863
2fdd4f78
AJ
1864 * include/atomic.h (atomic_exchange_and_add): Split into ...
1865 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1866 New atomic macros.
51a9ba86 1867
ba6cba9e
MT
18682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1869
1870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1871
42443a47
JL
18722012-08-13 Jeff Law <law@redhat.com>
1873
1874 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1875 null byte in the output string.
1876
121dce05
JM
18772012-08-10 Joseph Myers <joseph@codesourcery.com>
1878
1879 * sysdeps/unix/sysv/linux/kernel-features.h
1880 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1881 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1882 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1883 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1884 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1885 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1886 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1887
bf51f568
JL
18882012-08-09 Jeff Law <law@redhat.com>
1889
1890 [BZ #13939]
1891 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1892 When avoid_arena is set, don't retry in the that arena. Pick the
1893 next one, whatever it might be.
1894 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1895 (arena_lock): Pass in new parameter to arena_get2.
1896 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1897 arena_get2.
1898 (__libc_malloc): Unify retrying after main arena failure with
1899 __libc_memalign version.
1900 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1901
f85fa270
L
19022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #14166]
1905 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1906 to __redirect_strstr.
1907 (__strstr_sse42): Use typeof __redirect_strstr.
1908 (__strstr_ia32): Likewise.
1909 (__libc_strstr): New prototype.
1910 (strstr): Renamed to ...
1911 (__libc_strstr): This.
1912 (strstr): New strong alias of __libc_strstr.
1913 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1915 __redirect_time.
1916 Include <time.h>.
1917 (__libc_time): New prototype.
1918 (time_ifunc): Replace time with __libc_time.
1919 (time): New strong alias and hidden definition of __libc_time.
1920 (__GI_time): Remove strong alias.
1921 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1922 Include <stddef.h>.
1923 (memmove): Redefined to __redirect_memmove.
1924 (__memmove_sse2): Use typeof __redirect_memmove.
1925 (__memmove_ssse3): Likewise.
1926 (__memmove_ssse3_back): Likewise.
1927 (__libc_memmove): New prototype.
1928 (memmove): Renamed to ...
1929 (__libc_memmove): This.
1930 (memmove): New strong alias of __libc_memmove.
1931
33b4a91e
MS
19322012-08-08 Mark Salter <msalter@redhat.com>
1933
1934 * elf/elf.h
1935 (R_MN10300_TLS_GD): Define.
1936 (R_MN10300_TLS_LD): Likewise.
1937 (R_MN10300_TLS_LDO): Likewise.
1938 (R_MN10300_TLS_GOTIE): Likewise.
1939 (R_MN10300_TLS_IE): Likewise.
1940 (R_MN10300_TLS_LE): Likewise.
1941 (R_MN10300_TLS_DTPMOD): Likewise.
1942 (R_MN10300_TLS_DTPOFF): Likewise.
1943 (R_MN10300_TLS_TPOFF): Likewise.
1944 (R_MN10300_SYM_DIFF): Likewise.
1945 (R_MN10300_ALIGN): Likewise.
1946 (R_MN10300_NUM): Update.
1947
b36137f1
JM
19482012-08-08 Joseph Myers <joseph@codesourcery.com>
1949
1950 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1951 Remove.
1952
cdd915fd
RM
19532012-08-08 Roland McGrath <roland@hack.frob.com>
1954
a2433aac
RM
1955 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1956
cdd915fd
RM
1957 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1958 sysdeps/unix -> sysdeps/posix move.
1959 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1960
bf9b740a
AM
19612012-08-07 Allan McRae <allan@archlinux.org>
1962
1963 [BZ #14303]
1964 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1965 (SUNOS_CPP): Likewise.
1966 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1967 not found.
1968 (open_input): Call CPP using execvp.
1969
93df14ee
JM
19702012-08-07 Joseph Myers <joseph@codesourcery.com>
1971
1972 * sysdeps/unix/sysv/linux/kernel-features.h
1973 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1974 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1975 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1976 (__ASSUME_WAITID_SYSCALL): Likewise.
1977 * sysdeps/unix/sysv/linux/dl-execstack.c
1978 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1979 code unconditional.
1980 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1981 conditional code.
1982 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1983 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1984 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1985 code.
1986 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1987 unconditional.
1988 [__ASSUME_WAITID_SYSCALL]: Likewise.
1989 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1990
d34689de
RM
19912012-08-07 Roland McGrath <roland@hack.frob.com>
1992
a281decc
RM
1993 * sysdeps/unix/closedir.c: Renamed to ...
1994 * sysdeps/posix/closedir.c: ... here.
1995 * sysdeps/unix/dirfd.c: Renamed to ...
1996 * sysdeps/posix/dirfd.c: ... here.
1997 * sysdeps/unix/dirstream.h: Renamed to ...
1998 * sysdeps/posix/dirstream.h: ... here.
1999 * sysdeps/unix/fdopendir.c: Renamed to ...
2000 * sysdeps/posix/fdopendir.c: ... here.
2001 * sysdeps/unix/opendir.c: Renamed to ...
2002 * sysdeps/posix/opendir.c: ... here.
2003 * sysdeps/unix/readdir.c: Renamed to ...
2004 * sysdeps/posix/readdir.c: ... here.
2005 * sysdeps/unix/readdir_r.c: Renamed to ...
2006 * sysdeps/posix/readdir_r.c: ... here.
2007 * sysdeps/unix/rewinddir.c: Renamed to ...
2008 * sysdeps/posix/rewinddir.c: ... here.
2009 * sysdeps/unix/seekdir.c: Renamed to ...
2010 * sysdeps/posix/seekdir.c: ... here.
2011 * sysdeps/unix/telldir.c: Renamed to ...
2012 * sysdeps/posix/telldir.c: ... here.
2013 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2014 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2015 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2016 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2017
22895b47
RM
2018 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2019 * bits/fcntl.h: ... here.
2020
707a53b6
RM
2021 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2022 not 0.
2023 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2024 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2025 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2026 (struct flock): Move l_start, l_len to the beginning.
2027 Use __pid_t for l_pid.
2028 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2029 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2030 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2031 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2032 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2033 [__USE_LARGEFILE64] (struct flock64): New type.
2034 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2035
f0bd3e25
RM
2036 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2037 * bits/dirent.h: ... here.
2038
d34689de
RM
2039 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2040 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2041
6dad2c06
JM
20422012-08-07 Joseph Myers <joseph@codesourcery.com>
2043
2044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2045 Change from 2.6.0 to 2.6.16.
2046 * sysdeps/unix/sysv/linux/configure: Regenerated.
2047 * sysdeps/unix/sysv/linux/kernel-features.h
2048 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2049 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2050 version.
2051 (__ASSUME_UTIMES): Likewise.
2052 (__ASSUME_CLONE_STOPPED): Remove.
2053 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2054 architectures, not kernel version.
2055 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2056 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2057 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2058 (__ASSUME_WAITID_SYSCALL): Likewise.
2059 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2060 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2061 * README: State 2.6.16 as minimum Linux kernel version. Do not
2062 refer to older versions.
2063
03af9520
RM
20642012-08-06 Roland McGrath <roland@hack.frob.com>
2065
8e49df1d
RM
2066 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2067 Define alphasort64 as an alias.
2068 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2069 Define versionsort64 as an alias.
2070 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2071 Define scandir64 as an alias.
2072 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2073 Define scandirat64 as an alias.
2074 * dirent/alphasort64.c (alphasort64):
2075 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2076 * dirent/versionsort64.c: Likewise.
2077 * dirent/scandir64.c: Likewise.
2078 * dirent/scandirat64.c: Likewise.
2079 * sysdeps/wordsize-64/alphasort.c: File removed.
2080 * sysdeps/wordsize-64/alphasort64.c: File removed.
2081 * sysdeps/wordsize-64/scandir.c: File removed.
2082 * sysdeps/wordsize-64/scandir64.c: File removed.
2083 * sysdeps/wordsize-64/scandirat.c: File removed.
2084 * sysdeps/wordsize-64/scandirat64.c: File removed.
2085 * sysdeps/wordsize-64/versionsort.c: File removed.
2086 * sysdeps/wordsize-64/versionsort64.c: File removed.
2087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2088 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2089 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2094 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2095
2096 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2098 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2099 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2100 [defined __arch64__ || defined __sparcv9]
2101 (__INO_T_MATCHES_INO64_T): New macro.
2102 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2103 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2104 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2105 * sysdeps/unix/sysv/linux/bits/dirent.h
2106 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2107 (_DIRENT_MATCHES_DIRENT64): New macro.
2108
03af9520
RM
2109 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2110 Define lockf64 as an alias.
2111 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2112 Define fseeko64 as an alias.
2113 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2114 Define ftello64 as an alias.
2115 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2116 Define _IO_fgetpos64 and fgetpos64 as aliases.
2117 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2118 Define _IO_fsetpos64 and fsetpos64 as aliases.
2119 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2120 Conditionalize body on this.
2121 * libio/fseeko64.c: Likewise.
2122 * libio/ftello64.c: Likewise.
2123 * libio/iofgetpos64.c: Likewise.
2124 * libio/iofsetpos64.c: Likewise.
2125 * sysdeps/wordsize-64/lockf.c: File removed.
2126 * sysdeps/wordsize-64/lockf64.c: File removed.
2127 * sysdeps/wordsize-64/fseeko.c: File removed.
2128 * sysdeps/wordsize-64/fseeko64.c: File removed.
2129 * sysdeps/wordsize-64/ftello.c: File removed.
2130 * sysdeps/wordsize-64/ftello64.c: File removed.
2131 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2132 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2133 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2134 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2136 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2139 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2140 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2142 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2143 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2145
2146 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2148 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2150 [defined __arch64__ || defined __sparcv9]
2151 (__OFF_T_MATCHES_OFF64_T): New macro.
2152 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2153 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2155 (__OFF_T_MATCHES_OFF64_T): New macro.
2156
c5757acd
L
21572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * stdlib/secure-getenv.c (__secure_getenv): Replace
2160 GLIBC_2_16 with GLIBC_2_17.
2161
3a31811e
L
21622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2166
faa2bccb
DM
21672012-08-03 David S. Miller <davem@davemloft.net>
2168
2169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2170
85fe1997
JM
21712012-08-03 Joseph Myers <joseph@codesourcery.com>
2172
2173 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2174 Remove.
2175 (__ASSUME_CORRECT_SI_PID): Likewise.
2176 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2177 (__ASSUME_TMPFS_NAME): Likewise.
2178 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2179 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2180 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2181 (HAVE_AUX_SECURE): Make definition unconditional.
2182 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2183 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2184
4f75b7a0
RM
21852012-08-03 Roland McGrath <roland@hack.frob.com>
2186
2187 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2188 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2189 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2190 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2191 __eloop_threshold instead of SYMLOOP_MAX.
2192
2193 * sysdeps/generic/eloop-threshold.h: New file.
2194 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2195 of MAXSYMLINKS.
2196 * elf/chroot_canon.c (chroot_canon): Likewise.
2197
7aab07e4
JM
21982012-08-03 Joseph Myers <joseph@codesourcery.com>
2199
2200 [BZ #13717]
2201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2202 Change to 2.6.0 everywhere.
2203 * sysdeps/unix/sysv/linux/configure: Regenerated.
2204 * sysdeps/unix/sysv/linux/kernel-features.h
2205 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2206 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2207 kernel versions.
2208 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2209 (__ASSUME_FUTEX_REQUEUE): Remove.
2210 (__ASSUME_STATFS64): Define unconditionally.
2211 (__ASSUME_AT_SECURE): Likewise.
2212 (__ASSUME_CORRECT_SI_PID): Likewise.
2213 (__ASSUME_TGKILL): Define without depending on kernel version for
2214 i386.
2215 (__ASSUME_UTIMES): Likewise.
2216 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2217 kernel version.
2218 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2219 (__ASSUME_TMPFS_NAME): Likewise.
2220 * README: Update reference to Linux kernel versions.
2221
b67e9372
MP
22222012-08-02 Marek Polacek <polacek@redhat.com>
2223
1f529f7d 2224 [BZ# 14150]
b67e9372
MP
2225 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2226 libc_cv_asm_type_prefix with %.
2227 * configure: Regenerated.
d2441631
RM
2228 * include/libc-symbols.h: Remove comment about
2229 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2230 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2231 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2232 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2233 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2234 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2235 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2236 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2237 * elf/tst-unique2mod1.c: Likewise.
2238 * elf/tst-unique1mod2.c: Likewise.
2239 * elf/tst-unique1mod1.c: Likewise.
2240 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2241 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2242 Replace ASM_TYPE_DIRECTIVE with .type.
2243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2244 * sysdeps/i386/sysdep.h: Likewise.
2245 * sysdeps/x86_64/sysdep.h: Likewise.
2246 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2248 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2249 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2250 * sysdeps/powerpc/powerpc32/sysdep.h:
2251 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2252 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2253 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2254 * sysdeps/i386/fpu/e_powf.S: Likewise.
2255 * sysdeps/i386/fpu/e_expl.S: Likewise.
2256 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2257 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2258 * sysdeps/i386/fpu/e_pow.S: Likewise.
2259 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2261 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2262 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2263 * sysdeps/i386/fpu/e_log2.S: Likewise.
2264 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2265 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2266 * sysdeps/i386/fpu/e_powl.S: Likewise.
2267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2268 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2269 * sysdeps/i386/fpu/e_logl.S: Likewise.
2270 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2271 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2272 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2273 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2274 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2275 * sysdeps/i386/fpu/e_log.S: Likewise.
2276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2277 * sysdeps/i386/fpu/e_logf.S: Likewise.
2278 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2279 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2280 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2281 * sysdeps/i386/fpu/e_log10.S: Likewise.
2282 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2283 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2284 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2285 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2286 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2287 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2288 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2289 * sysdeps/i386/i686/strtok.S: Likewise.
2290 * sysdeps/i386/i386-mcount.S: Likewise.
2291 * sysdeps/i386/strtok.S: Likewise.
2292 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2293 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2295 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2296 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2298 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2299 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2301 * sysdeps/x86_64/_mcount.S: Likewise.
2302 * sysdeps/x86_64/strtok.S: Likewise.
2303 * sysdeps/sh/_mcount.S: Likewise.
2304
2747bf9a
RM
23052012-08-01 Roland McGrath <roland@hack.frob.com>
2306
2307 * libio/iofopen.c: Include <fcntl.h>.
2308 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2309 (_IO_fopen64, fopen64): Define as aliases.
2310 * libio/iofopen64.c: Include <fcntl.h>.
2311 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2312 Conditionalize body on this.
2313 * sysdeps/wordsize-64/iofopen.c: File removed.
2314 * sysdeps/wordsize-64/iofopen64.c: File removed.
2315
3fb791b8
MP
23162012-08-01 Marek Polacek <polacek@redhat.com>
2317
2318 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2319 Use dlfcn directly instead of a variable.
2320 (binfmt-subdir): Do not define.
2321 (dlfcn): Likewise.
2322
a9f1039f
JM
23232012-08-01 Joseph Myers <joseph@codesourcery.com>
2324
23bddc06
JM
2325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2326 Remove all definitions.
2327 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2328 <kernel-features.h>.
2329 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2330 (miss_F_GETOWN_EX): Remove all definitions.
2331 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2332 macro definition.
2333 [!__ASSUME_FCNTL64]: Remove conditional code.
2334 [__ASSUME_FCNTL64]: Make code unconditional.
2335 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2336 <kernel-features.h>.
2337 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2338 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2339 (lockf64) [__NR_fcntl64]: Make code unconditional.
2340 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2341
a9f1039f
JM
2342 * sysdeps/unix/sysv/linux/kernel-features.h
2343 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2344 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2345 Make code unconditional.
2346 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2347 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2349 [__NR_vfork]: Make code unconditional.
2350 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2351 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2353 [__NR_vfork]: Make code unconditional.
2354 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2355 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2356
09c0ee5f
RM
23572012-08-01 Roland McGrath <roland@hack.frob.com>
2358
48aec5b9
RM
2359 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2360 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2361
cd97c966
RM
2362 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2363 Define mkstemp64 as an alias.
3f55550c
RM
2364 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2365 Define mkstemps64 as an alias.
cd97c966
RM
2366 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2367 Define mkostemp64 as an alias.
b8625cfc
RM
2368 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2369 Define mkostemps64 as an alias.
cd97c966
RM
2370 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2371 Conditionalize body on this.
2372 * misc/mkostemp64.c: Likewise.
b8625cfc 2373 * misc/mkostemps64.c: Likewise.
3f55550c 2374 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2375 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2376 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2377 * sysdeps/wordsize-64/mkostemp.c: File removed.
2378 * sysdeps/wordsize-64/mkstemp.c: File removed.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2383
09c0ee5f
RM
2384 [BZ #14138]
2385 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2386 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2387 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2388 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2389
2390 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2391 compat_symbol macros from <shlib-compat.h> rather than the underlying
2392 default_symbol_version and symbol_version macros, so that DEFAULT
2393 lines in shlib-versions are respected.
2394 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2395
7e66ee51
FW
23962012-08-01 Florian Weimer <fweimer@redhat.com>
2397
2398 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2399 Declare with warn_unused_result.
2400 (setgid, setregid, setegid, setresgid): Likewise.
2401 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2402 Likewise.
2403 * WUR-REPORT: Remove set*id functions.
2404
d2a54255
PT
24052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2406
2407 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2408
7ecdb005
RM
24092012-07-31 Roland McGrath <roland@hack.frob.com>
2410
789bd351
RM
2411 * include/sys/socket.h (__libc_accept, __libc_accept4):
2412 Add attribute_hidden.
2413 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2414
40ce302d
RM
2415 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2416 use of PTR_MANGLE.
2417 * inet/getnetgrent_r.c (setup): Likewise.
2418
7ecdb005
RM
2419 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2420
e2eabb2c
DM
24212012-07-31 David S. Miller <davem@davemloft.net>
2422
2423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2424
d0419dbf
JM
24252012-07-31 Joseph Myers <joseph@codesourcery.com>
2426
2427 [BZ #13629]
2428 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2429 value between 1.0 and 2.0 and smaller part has absolute value less
2430 than 1.0.
2431 * math/s_clog10.c (__clog10): Likewise.
2432 * math/s_clog10f.c (__clog10f): Likewise.
2433 * math/s_clog10l.c (__clog10l): Likewise.
2434 * math/s_clogf.c (__clogf): Likewise.
2435 * math/s_clogl.c (__clogl): Likewise.
2436 * math/libm-test.inc (clog_test): Add more tests.
2437 (clog10_test): Likewise.
2438 * sysdeps/i386/fpu/libm-test-ulps: Update.
2439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440
2bc13872
FW
24412012-07-31 Florian Weimer <fweimer@redhat.com>
2442
2443 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2444 Exit with zero in case no suitable GID is found, and write a
2445 message to standard error.
2446
bea9b193
RM
24472012-07-30 Roland McGrath <roland@hack.frob.com>
2448
2449 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2450 rather than to 1.
2451 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2452 (MAXPATHLEN): Removed.
2453 (NOGROUP, NODEV): New macros.
2454 (setbit, clrbit, isset, isclr): New macros.
2455 (howmany, roundup, powerof2): New macros.
2456 (DEV_BSIZE): New macro.
2457
2458 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2459 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2460
2461 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2462 definition on [!__NO_LONG_DOUBLE_MATH].
2463
2464 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2465 PTR_MANGLE and PTR_DEMANGLE.
2466
2467 * socket/accept4.c (accept4): Rename to __libc_accept4.
2468 Define accept4 as a weak alias.
2469
2470 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2471 on [_DIRENT_HAVE_D_TYPE].
2472 * io/ftw.c (ftw_dir): Likewise.
2473
2474 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2475
2476 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2477
2478 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2479 Use the BSD numbers rather than the arbitrary ones we had.
2480 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2481 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2482 (SIGXCPU, SIGXFSZ): New macros.
2483 (_NSIG): Now 32.
2484
2485 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2486 initializer on [_LIBC_REENTRANT].
2487
2488 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2489 definitions inside [_POSIX_MAPPED_FILES].
2490
2491 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2492
2493 * dirent/opendir.c: Include <fcntl.h>.
2494
2495 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2496 (__libc_getspecific): Likewise.
2497 (__libc_key_create): Likewise.
2498
2499 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2500 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2501 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2502 (tmpfile64): Define as alias.
2503 * sysdeps/wordsize-64/tmpfile.c: File removed.
2504 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2506 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2507
2508 * stdio-common/vfscanf.c: Include <stdbool.h>.
2509 * nss/makedb.c: Likewise.
2510 * stdio-common/_i18n_number.h: Likewise.
2511 * argp/argp-help.c: Likewise.
2512 * posix/wordexp.c: Likewise.
2513 * sysdeps/posix/spawni.c: Likewise.
2514 * nss/nss_files/files-initgroups.c: Likewise.
2515 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2516 * nss/nss_files/files-initgroups.c: Likewise.
2517 * nss/nss_db/db-netgrp.c: Likewise.
2518 * nss/nss_db/db-initgroups.c: Likewise.
2519 * io/fchmodat.c: Include <sys/stat.h>.
2520
2521 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2522 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2523
2524 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2525 [HAVE_MMAP].
2526
2527 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2528 Add multiple inclusion protection.
2529
e5abc686
DM
25302012-07-27 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
815e6fa3
GB
25342012-07-27 Gary Benson <gbenson@redhat.com>
2535
2536 [BZ #14298]
2537 * elf/rtld.c: Include <stap-probe.h>.
2538 (dl_main): Added static probes "init_start" and "init_complete".
2539 * elf/dl-load.c: Include <stap-probe.h>.
2540 (lose): Take new parameter "nsid".
2541 Added static probe "map_failed".
2542 (_dl_map_object_from_fd): Pass namespace id to lose.
2543 Added static probe "map_start".
2544 (open_verify): Pass namespace id to lose.
2545 * elf/dl-open.c: Include <stap-probe.h>.
2546 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2547 and "reloc_complete".
2548 * elf/dl-close.c: Include <stap-probe.h>.
2549 (_dl_close_worker): Added static probes "unmap_start" and
2550 "unmap_complete".
2551 * elf/rtld-debugger-interface.txt: New file documenting the above.
2552
9f98c16c
RM
25532012-07-26 Roland McGrath <roland@hack.frob.com>
2554
2555 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2556 rather than a string variable.
2557 * sunrpc/rpc_main.c (h_output): Likewise.
2558 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2559
f3c22df3
PT
25602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2561
2562 * inet/check_native.c: New file.
2563
3129cfc6
JM
25642012-07-26 Joseph Myers <joseph@codesourcery.com>
2565
da865e95
JM
2566 [BZ #13629]
2567 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2568 if larger part has absolute value 1.0.
2569 * math/s_clog10.c (__clog10): Likewise.
2570 * math/s_clog10f.c (__clog10f): Likewise.
2571 * math/s_clog10l.c (__clog10l): Likewise.
2572 * math/s_clogf.c (__clogf): Likewise.
2573 * math/s_clogl.c (__clogl): Likewise.
2574 * math/libm-test.inc (clog_test): Add more tests.
2575 (clog10_test): Likewise.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578
3129cfc6
JM
2579 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2580 (pltexit): Likewise.
2581 (La_regs): Likewise.
2582 (La_retval): Likewise.
2583 (int_retval): Likewise.
2584 Update #error for removed macros to refer only to definitions in
2585 tst-audit.h.
2586 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2587 macro.
2588 (pltexit): Likewise.
2589 (La_regs): Likewise.
2590 (La_retval): Likewise.
2591 (int_retval): Likewise.
2592 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2593 macro.
2594 (pltexit): Likewise.
2595 (La_regs): Likewise.
2596 (La_retval): Likewise.
2597 (int_retval): Likewise.
2598 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2599 macro.
2600 (pltexit): Likewise.
2601 (La_regs): Likewise.
2602 (La_retval): Likewise.
2603 (int_retval): Likewise.
2604 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2605 macro.
2606 (pltexit): Likewise.
2607 (La_regs): Likewise.
2608 (La_retval): Likewise.
2609 (int_retval): Likewise.
2610 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2611 macro.
2612 (pltexit): Likewise.
2613 (La_regs): Likewise.
2614 (La_retval): Likewise.
2615 (int_retval): Likewise.
2616 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2617 macro.
2618 (pltexit): Likewise.
2619 (La_regs): Likewise.
2620 (La_retval): Likewise.
2621 (int_retval): Likewise.
2622 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2623 macro definitions in tst-audit.h.
2624 * sysdeps/i386/tst-audit.h: New file.
2625 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2626 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2627 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2628 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2629 * sysdeps/sh/tst-audit.h: Likewise.
2630 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2631 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2632 * sysdeps/x86_64/tst-audit.h: Likewise.
2633
bfc07087
AJ
26342012-07-26 Andreas Jaeger <aj@suse.de>
2635
b1b2aaf8
AJ
2636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2637 ptrace.
2638
2639 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2640 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2641 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2642 PTRACE_O_MASK.
2643 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2646
bfc07087
AJ
2647 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2648 value.
2649
2650 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2651 _sigsys.
2652 (si_call_addr, si_syscall, si_arch): Define new macro.
2653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2654 _sigsys.
2655 (si_call_addr, si_syscall, si_arch): Define new marcro.
2656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2657 _sigsys.
2658 (si_call_addr, si_syscall, si_arch): Define new macro.
2659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2660 _sigsys.
2661 (si_call_addr, si_syscall, si_arch): Define new macro.
2662
89b4b02f
JM
26632012-07-25 Joseph Myers <joseph@codesourcery.com>
2664
2665 [BZ #13717]
2666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2667 Change to 2.4.21 where previously 2.4.1.
2668 * sysdeps/unix/sysv/linux/configure: Regenerated.
2669 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2670 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2671 Linux kernel version.
2672 (__ASSUME_STD_AUXV): Remove.
2673 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2674 kernel version.
2675 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2676 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2677 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2678 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2679 (__ASSUME_NETLINK_SUPPORT): Likewise.
2680 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2681 (__no_netlink_support): Remove conditional definition.
2682 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2683 Remove.
2684 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2685 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2687 (if_nameindex_ioctl): Remove.
2688 (if_nameindex_netlink): Do not handle __no_netlink_support.
2689 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2690 code.
2691 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2692 Remove conditional code.
2693 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2694 code.
2695 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2696 unconditional.
2697 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2698 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2699 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2700 Remove.
2701 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2702 [!__ASSUME_STD_AUXV]: Remove conditional code.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2704 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2705 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2708 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2709 code.
2710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2712 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2713 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2714 conditional code.
2715 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2718 code.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2720 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2721 conditional code.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2723 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2724 code unconditional.
2725 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2726 conditional code.
2727 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2728 unconditional.
2729 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2730 conditional code.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2732 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2733 unconditional.
2734 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2735 conditional code.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2737 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2738 code unconditional.
2739 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2740 conditional code.
2741 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2742 unconditional.
2743 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2744 conditional code.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2746 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2747 code unconditional.
2748 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2749 conditional code.
2750 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2751 unconditional.
2752 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2753 conditional code.
2754
842a39cd
AS
27552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2756
2757 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2758 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2759 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2760 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2761 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2762 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2763 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2764 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2765 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2766 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2767 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2768 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2769 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2770 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2773 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2774 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2780
84b3fd84
FW
27812012-07-25 Florian Weimer <fweimer@redhat.com>
2782
2783 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2784 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2785 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2786 Introduce __libc_secure_getenv.
0c7936d5
FW
2787 * stdlib/Versions (2.17): Add secure_getenv
2788 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2789 * stdlib/secure-getenv.c: Rename __secure_getenv to
2790 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2791 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2792 * stdlib/tst-secure-getenv.c: New.
2793 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2794 * manual/startup.texi (Environment Access): Document
2795 secure_getenv.
84b3fd84
FW
2796 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2797 __libc_secure_getenv.
2798 * inet/ruserpass.c (ruserpass): Likewise.
2799 * malloc/mtrace.c (mtrace): Likewise.
2800 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2801 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2802 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2803 * sysdeps/posix/tempname.c: Likewise. Evaluate
2804 HAVE_SECURE_GETENV.
2805 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2806 __secure_getenv to __libc_secure_getenv.
84b3fd84 2807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2809 Likewise.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2811 Likewise.
2812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2819
56e49b71
JM
28202012-07-25 Joseph Myers <joseph@codesourcery.com>
2821
2822 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2823 (struct La_i86_retval): Likewise.
2824 (struct La_x86_64_regs): Likewise.
2825 (struct La_x86_64_retval): Likewise.
2826 (struct La_x32_regs): Likewise.
2827 (struct La_x32_retval): Likewise.
2828 (struct La_ppc32_regs): Likewise.
2829 (struct La_ppc32_retval): Likewise.
2830 (struct La_ppc64_regs): Likewise.
2831 (struct La_ppc64_retval): Likewise.
2832 (struct La_sh_regs): Likewise.
2833 (struct La_sh_retval): Likewise.
2834 (struct La_s390_32_regs): Likewise.
2835 (struct La_s390_32_retval): Likewise.
2836 (struct La_s390_64_regs): Likewise.
2837 (struct La_s390_64_retval): Likewise.
2838 (struct La_sparc32_regs): Likewise.
2839 (struct La_sparc32_retval): Likewise.
2840 (struct La_sparc64_regs): Likewise.
2841 (struct La_sparc64_retval): Likewise.
2842 (struct audit_ifaces): Remove architecture-specific pltenter and
2843 pltexit members.
2844 * sysdeps/i386/ldsodefs.h: New file.
2845 * sysdeps/powerpc/ldsodefs.h: Likewise.
2846 * sysdeps/s390/ldsodefs.h: Likewise.
2847 * sysdeps/sh/ldsodefs.h: Likewise.
2848 * sysdeps/sparc/ldsodefs.h: Likewise.
2849 * sysdeps/x86_64/ldsodefs.h: Likewise.
2850
354691b7
MP
28512012-07-25 Marek Polacek <polacek@redhat.com>
2852
2853 [BZ #6808]
2854 * math/libm-test.inc (yn_test): Add another test.
2855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2856 to ERANGE when the result is +-Inf.
2857 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2858 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2859 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2860 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2861
bf9e2071
JM
28622012-07-24 Joseph Myers <joseph@codesourcery.com>
2863
2864 * conform/data/time.h-data (NULL): Use macro-constant. Require
2865 equal to 0.
2866 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2867 clock_t.
2868 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2869
57633811
TS
28702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2871
2872 * configure.in <sysdeps resolving>: Correct printing
2873 Implies_before.
2874 * configure: Regenerate.
2875
c23c33b0
TS
28762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2877
2878 * math/w_ilogb.c: Include <limits.h>.
2879 * math/w_ilogbl.c: Likewise.
2880
b5982523
JM
28812012-07-20 Joseph Myers <joseph@codesourcery.com>
2882
2883 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2884 va_copy. Document allowing for unavailable va_copy only as
2885 pre-C99 compatibility.
2886 * manual/string.texi (Copying and Concatenation): Use va_copy
2887 instead of __va_copy in concat example.
2888
ac4ea442
PT
28892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2890
2891 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2892 (__sendto): Use create_address_port. Initialize APORT and deallocate
2893 it if not null.
2894
f98eafbd
PT
2895 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2896 with O_NOLINK passed to __file_name_lookup.
2897
898c7aab
PT
2898 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2899 with O_NOLINK passed to __file_name_lookup.
2900
0ced335a
PT
2901 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2902 negative N or less than NGIDS.
2903
b3404dbd
PT
2904 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2905 type to string_t. Set ERANGE as errno and return it if NAME is not big
2906 enough. Use memcpy instead of strncpy.
2907
0f48659e
JM
29082012-07-20 Joseph Myers <joseph@codesourcery.com>
2909
2910 * elf/Makefile (check-data): Remove.
2911 (localplt.data): New vpath directive.
2912 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2913 instead of $(check-data).
2914 * scripts/data/localplt-generic.data: Move to ...
2915 * sysdeps/generic/localplt.data: ... here.
2916 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2917 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2918 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2920 ... here.
2921 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2923 ... here.
2924 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2926 ... here.
2927 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2929 ... here.
2930 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2932 ... here.
2933 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2935 ... here.
2936
d37cbdaa
AZ
29372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
2939 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2940 PPC32 and PPC64 files.
2941 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2942 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2943
46f85fc2
AK
29442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2945
2946 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2947 __makecontext_ret to ...
2948 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2949 ... here and call exit if uc_link is NULL. New file.
2950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2951 __makecontext_ret.S.
2952 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2953 __makecontext_ret to ...
2954 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2955 ... here and call exit if uc_link is NULL. New file.
2956 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2957 __makecontext_ret.S.
2958
08f43f9b
AK
29592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2960
2961 * elf/elf.h (R_390_IRELATIVE): New definition.
2962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2963 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2964 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2966 (elf_machine_lazy_rel): Likewise.
2967 * sysdeps/s390/dl-irel.h: New file.
2968 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2969 * sysdeps/s390/s390-64/memset.S: New asm code.
2970 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2971 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2972 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2973 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2974 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2975 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2977 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2978 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2979 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2980 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2981 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2982 * sysdeps/s390/s390-32/memset.S: New asm code.
2983 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2984
3b05db33
MP
29852012-07-17 Marek Polacek <polacek@redhat.com>
2986
2987 [BZ #14349]
2988 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2989 * sysdeps/s390/s390-64/configure.in: Likewise.
2990 * sysdeps/sparc/configure.in: Likewise.
2991 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2992 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2993 * sysdeps/i386/configure.in: Likewise.
2994 * sysdeps/x86_64/configure.in: Likewise.
2995 * sysdeps/sh/configure.in: Likewise.
2996 * sysdeps/s390/s390-32/configure: Regenerated.
2997 * sysdeps/s390/s390-64/configure: Likewise.
2998 * sysdeps/x86_64/configure: Likewise.
2999 * sysdeps/sh/configure: Likewise.
3000 * sysdeps/powerpc/powerpc64/configure: Likewise.
3001 * sysdeps/powerpc/powerpc32/configure: Likewise.
3002 * sysdeps/sparc/configure: Likwise.
3003 * sysdeps/i386/configure: Likewise.
3004
a66877c6
MP
3005 * elf/dl-open.c: Comment fixes.
3006
cfc82fd8
JM
30072012-07-17 Joseph Myers <joseph@codesourcery.com>
3008
bd29910a
JM
3009 * Makefile [CXX] (check-data): Remove.
3010 [CXX] (c++-types.data): New vpath directive.
3011 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3012 vpath. Do not allow for C++ type data being missing.
3013 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3014 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3015 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3016 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3017 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3018 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3019 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3021 ... here.
3022 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3024 ... here.
3025 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3027 ... here.
3028 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3030 ... here.
3031 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3033 ... here.
3034 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3036 ... here.
3037 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3039 ... here.
3040 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3042
cfc82fd8
JM
3043 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3044 definitions to architecture-specific files.
3045 (TLS_IE): Likewise.
3046 (TLS_LD): Likewise.
3047 (TLS_GD): Likewise.
3048 * sysdeps/i386/tls-macros.h: New file.
3049 * sysdeps/powerpc/tls-macros.h: Likewise.
3050 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3051 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3052 * sysdeps/sh/tls-macros.h: Likewise.
3053 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3054 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3055 * sysdeps/x86_64/tls-macros.h: Likewise.
3056
f7db3170
TS
30572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3058
07cbfc23
TS
3059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3060 zero value for regular exit case.
3061
f7db3170
TS
3062 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3063 (__start_context): Preserve zero value for regular exit case.
3064
dc97c227
TS
30652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3066 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3067
3068 * manual/setjmp.texi (setcontext): Clarify normal process
3069 termination when uc_link is the null pointer.
3070 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3071 exit call.
3072
d0cd7d02
AS
30732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3074
3075 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3076 preprocessor. Test for each exception mask separately.
3077
dd318934
AJ
30782012-07-16 Andreas Jaeger <aj@suse.de>
3079
3080 * po/ru.po: Update from translation team.
3081
8048311a
JM
30822012-07-15 Joseph Myers <joseph@codesourcery.com>
3083
3084 * conform/data/string.h-data (NULL): Use macro-constant. Require
3085 equal to 0.
3086 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3087 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3088 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3089 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3091
b637d46e
AJ
30922012-07-13 Andreas Jaeger <aj@suse.de>
3093
3094 * po/fr.po: Update from translation team.
3095
541428fe
MP
30962012-07-12 Marek Polacek <polacek@redhat.com>
3097
3098 [BZ #14173]
3099 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3101 loop condition.
3102
ec332e94
JM
31032012-07-12 Joseph Myers <joseph@codesourcery.com>
3104
3105 [BZ #13717]
3106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3107 Change to 2.4.1 where previously 2.4.0.
3108 * sysdeps/unix/sysv/linux/configure: Regenerated.
3109 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3110 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3111 version.
3112 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3113 (__ASSUME_AT_CLKTCK): Remove.
3114 (__ASSUME_AT_PAGESIZE): Likewise.
3115 (__ASSUME_AT_XID): Likewise.
3116 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3117 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3118 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3119 unconditionally.
3120 (HAVE_AUX_PAGESIZE): Likewise.
3121 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3122 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3123 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3124
7b6e99be
JB
31252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3126
3127 [BZ #14307]
3128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3129 the temporary buffer used to invoke __gethostbyname2_r,
3130 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3131 host_data / struct gaih_addrtuple.
3132 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3133 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3134 header file nss/nsswitch.h.
3135 * nss/nsswitch.h (global scope): Add definition of implementation
3136 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3137 resolv/nss_dns/dns-host.c).
3138
608404eb
AJ
31392012-07-11 Andreas Jaeger <aj@suse.de>
3140
3141 * po/fr.po: Update from translation team.
3142
71220aca
AJ
3143 * po/sv.po: Update from translation team
3144 * po/fr.po: Another update from translation team.
3145
28cfe843
AZ
31462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147
3148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3149 for subnormals or multiply small sinh result by itself.
3150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3152
6b90f981
DM
31532012-07-11 David S. Miller <davem@davemloft.net>
3154
3155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3156
c6825772
AS
31572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 [BZ #14347]
3160 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3161 (INTERNAL_MARK): Shift it here.
3162
7b8e0d49
MP
31632012-07-10 Marek Polacek <polacek@redhat.com>
3164
3165 [BZ #14151]
3166 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3167 libc_cv_asm_global_directive with .globl.
3168 * configure: Regenerated.
3169 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3170 with .globl.
3171 * sysdeps/i386/configure: Regenerated.
3172 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3173 with .globl.
3174 * sysdeps/x86_64/configure: Regenerated.
3175 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3176 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3177 * elf/tst-unique2mod2.c: Likewise.
3178 * elf/tst-unique2mod1.c: Likewise.
3179 * elf/tst-unique1mod2.c: Likewise.
3180 * elf/tst-unique1mod1.c: Likewise.
3181 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3182 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3184 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3185 * sysdeps/mach/sysdep.h: Likewise.
3186 * sysdeps/i386/sysdep.h: Likewise.
3187 * sysdeps/i386/i386-mcount.S: Likewise.
3188 * sysdeps/x86_64/_mcount.S: Likewise.
3189 * sysdeps/x86_64/sysdep.h: Likewise.
3190 * sysdeps/sh/_mcount.S: Likewise.
3191 * sysdeps/sh/sysdep.h: Likewise.
3192 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3194 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3196 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3197 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3198 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3199 * locale/localeinfo.h: Likewise.
3200 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3201 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3202
6c55cda3
RM
32032012-07-09 Roland McGrath <roland@hack.frob.com>
3204
3205 [BZ #14336]
3206 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3207 system".
3208 * manual/message.texi (The Uniforum approach): Likewise.
3209 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3210 (glibc iconv Implementation): Likewise.
3211
638a572e
JM
32122012-07-09 Joseph Myers <joseph@codesourcery.com>
3213
3214 [BZ #14337]
3215 * math/s_clog.c (__clog): Avoid scaling a value down where that
3216 could result in underflow.
3217 * math/s_clog10.c (__clog10): Likewise.
3218 * math/s_clog10f.c (__clog10f): Likewise.
3219 * math/s_clog10l.c (__clog10l): Likewise.
3220 * math/s_clogf.c (__clogf): Likewise.
3221 * math/s_clogl.c (__clogl): Likewise.
3222 * math/libm-test.inc (clog_test): Add more tests.
3223 (clog10_test): Likewise.
3224 * sysdeps/i386/fpu/libm-test-ulps: Update.
3225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3226
261f4859
AS
32272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3228
0abaf3e4
AS
3229 [BZ #14283]
3230 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3231 by 7 not 8 to examine high bit of fractional part.
3232
261f4859
AS
3233 [BZ #14042]
3234 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3235 for call to __mcount_internal.
3236 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3237 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3238 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3239
f17ac40d
JM
32402012-07-06 Joseph Myers <joseph@codesourcery.com>
3241
9ad63c23
JM
3242 [BZ #14154]
3243 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3244 approximation for values within 0x1p-13f of an odd multiple of
3245 pi/4.
3246 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3247 exception. Add more tests.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249
f17ac40d
JM
3250 [BZ #6778]
3251 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3252 inputs and return -1 for them. Do not check for +Inf in case not
3253 reachable for +Inf.
3254 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3255 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3257 and return -1 for them. Do not check for +Inf in case not
3258 reachable for +Inf.
3259 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3260 define.
3261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3262 and return -1 for them. Do not check for +Inf in case not
3263 reachable for +Inf.
3264 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3265 spurious underflow.
3266 * sysdeps/i386/fpu/libm-test-ulps: Update.
3267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268
fb21f89b
MF
32692012-07-06 Mike Frysinger <vapier@gentoo.org>
3270
3271 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3272
cdfe2c5e
JM
32732012-07-05 Joseph Myers <joseph@codesourcery.com>
3274
3275 [BZ #14157]
3276 [BZ #14331]
3277 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3278 could result in spurious underflow. Scale down values above
3279 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3280 * math/s_csqrtf.c (__csqrtf): Likewise.
3281 * math/s_csqrtl.c (__csqrtl): Likewise.
3282 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3283 spurious underflow.
3284 * sysdeps/i386/fpu/libm-test-ulps: Update.
3285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3286
70d35b67
AS
32872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3288
704bc459
AS
3289 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3290 xopen-msg.sed.
3291 * catgets/xopen-msg.awk: New file.
3292 * catgets/xopen-msg.sed: Removed.
3293
70d35b67
AS
3294 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3295 po2text.sed.
3296 * intl/po2test.awk: New file.
3297 * intl/po2test.sed: Removed.
3298
ca61cf32
JM
32992012-07-04 Joseph Myers <joseph@codesourcery.com>
3300
3301 [BZ #14328]
3302 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3303 or multiply small sinh result by itself.
3304 * math/s_ctanf.c (__ctanf): Likewise.
3305 * math/s_ctanh.c (__ctanh): Likewise.
3306 * math/s_ctanhf.c (__ctanhf): Likewise.
3307 * math/s_ctanhl.c (__ctanhl): Likewise.
3308 * math/s_ctanl.c (__ctanl): Likewise.
3309 * math/libm-test.inc (ctan_test_tonearest): New function.
3310 (ctan_test_towardzero): Likewise.
3311 (ctan_test_downward): Likewise.
3312 (ctan_test_upward): Likewise.
3313 (ctanh_test_tonearest): Likewise.
3314 (ctanh_test_towardzero): Likewise.
3315 (ctanh_test_downward): Likewise.
3316 (ctanh_test_upward): Likewise.
3317 (main): Call these new functions.
3318 * sysdeps/i386/fpu/libm-test-ulps: Update.
3319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3320
ca48a46a
MF
33212012-07-03 Mike Frysinger <vapier@gentoo.org>
3322
3323 * .gitignore: Delete /ports entry.
3324
9d63d37d
AJ
33252012-07-03 Andreas Jaeger <aj@suse.de>
3326
3327 * po/bg.po: Update from translation team.
3328 * po/cs.po: Likewise.
3329 * po/de.po: Likewise.
3330 * po/hr.po: Likewise.
3331 * po/nl.pl: Likewise.
3332 * po/pl.po: Likewise.
3333 * po/vi.po: Likewise.
3334
370ca3d2
JM
33352012-07-03 Joseph Myers <joseph@codesourcery.com>
3336
95f5a9a8
JM
3337 * Makeconfig [!+link] (+link-before-libc): New variable.
3338 [!+link] (+link-after-libc): Likewise.
3339 [!+link] (+link-tests): Likewise.
3340 [!+link] (+link): Define in terms of $(+link-before-libc) and
3341 $(+link-after-libc).
3342 [!+link-static] (+link-static-before-libc): New variable.
3343 [!+link-static] (+link-static-after-libc): Likewise.
3344 [!+link-static] (+link-static-tests): Likewise.
3345 [!+link-static] (+link-static): Define in terms of
3346 $(+link-static-before-libc) and $(+link-static-after-libc).
3347 [build-shared] (link-libc-before-gnulib): New variable.
3348 [build-shared] (link-libc-tests): Likewise.
3349 [build-shared] (link-libc): Define in terms of
3350 $(link-libc-before-gnulib).
3351 [!build-shared] (link-libc-tests): New variable.
3352 (link-libc-static-tests): New variable.
3353 [!gnulib] (gnulib-arch): New variable.
3354 [!gnulib] (gnulib-tests): Likewise.
3355 [!gnulib] (static-gnulib-arch): Likewise.
3356 [!gnulib] (static-gnulib-tests): Likewise.
3357 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3358 Define with "=" instead of ":=".
3359 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3360 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3361 * Rules (binaries-all-notests): New variable.
3362 (binaries-all-tests): Likewise.
3363 (binaries-static-notests): Likewise.
3364 (binaries-static-tests): Likewise.
3365 (binaries-all): Define using $(binaries-all-notests) and
3366 $(binaries-all-tests).
3367 (binaries-static): Define using $(binaries-static-notests) and
3368 $(binaries-static-tests).
3369 (binaries-shared-tests): New variable.
3370 (binaries-shared-notests): Likewise.
3371 (binaries-shared): Remove variable.
3372 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3373 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3374 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3375 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3376 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3377 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3378 * elf/Makefile (sln-modules): New variable.
3379 (extra-objs): Add $(sln-modules:=.o).
3380 (ldconfig-modules): Add static-stubs.
3381 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3382 * elf/static-stubs.c: New file.
3383
7a845b2c
JM
3384 [BZ #14283]
3385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3386 by 7 not 8 to examine high bit of fractional part. Use volatile
3387 variables when splitting into final array of floats if
3388 __FLT_EVAL_METHOD__ != 0.
3389 * math/libm-test.inc (cos_test): Add another test.
3390 (sin_test): Likewise.
3391 * sysdeps/i386/fpu/libm-test-ulps: Update.
3392
e2283f38
JM
3393 [BZ #14273]
3394 * math/libm-test.inc (cosh_test): Add more tests.
3395
370ca3d2
JM
3396 * version.h (RELEASE): Set to "development".
3397 (VERSION): Set to "2.16.90".
3398
ee9247c3
CD
33992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3400
3401 * NEWS: Update copyright. Remove last-updated date.
3402 Mention math library bug fixes and timezone data changes.
3403 * README: Mention GNU/Hurd, x32, and HPPA support status.
3404
4648c381
TS
34052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3406
3407 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3408
aac78a43
AJ
34092012-06-27 Andreas Jaeger <aj@suse.de>
3410
3411 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3412
ed3dbfad
AJ
34132012-06-25 Andreas Jaeger <aj@suse.de>
3414
3415 * sysdeps/s390/fpu/libm-test-ulps: Update.
3416
4d0ee855
AS
34172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3418 Thomas Schwinge <thomas@codesourcery.com>
3419
3420 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3421 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3423 fanotify_mark.
3424
af1bce34
TS
34252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3426
a9fa33ba
TS
3427 * sysdeps/mach/start.c: Remove file.
3428 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3429 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3430 * sysdeps/sh/init-first.c: Likewise.
3431
58f902b8
TS
3432 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3433 registers for frame unwinding purposes, add CFI directives.
3434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3436 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3437 Likewise.
3438
1518f58b
TS
3439 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3440 __fortify_fail returning.
3441 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3442
db9b5059
TS
3443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3444 sysdeps/sh/____longjmp_chk.S.
3445 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3446 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3447 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3448 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3449
967705fe
TS
3450 * sysdeps/sh/abort-instr.h: New file.
3451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3452 process in case exit returns.
3453
a9def8c4
TS
3454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3455 initialize the GOT register before use.
3456
2a649725
TS
3457 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3458 calculation of ARGC > 4.
3459
af1bce34
TS
3460 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3461 meaningful names to some local labels.
3462
d230f50a
KK
34632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3464 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3465
3466 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3467 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3468 (__arch_compare_and_exchange_val_16_acq): Likewise.
3469 (__arch_compare_and_exchange_val_32_acq): Likewise.
3470 (atomic_exchange_and_add): Fix gUSA sequence.
3471 (atomic_add): Likewise.
3472 (atomic_add_negative): Likewise.
3473 (atomic_add_zero): Likewise.
3474 (atomic_bit_test_set): Likewise.
3475
0479b305
AS
34762012-06-22 Andreas Schwab <schwab@redhat.com>
3477
3478 [BZ #13579]
3479 * include/link.h (struct link_map): Add l_free_initfini.
3480 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3481 l_initfini.
3482 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3483 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3484 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3485 set.
3486
0e3933b9
CD
34872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3488
3489 * configure.in: Use AC_LANG_SOURCE.
3490 * configure: Regenerate.
3491
4248b1b1
RM
34922012-06-22 Roland McGrath <roland@hack.frob.com>
3493
3494 * configure.in (libc_cv_localstatedir): New substituted variable.
3495 * configure: Regenerated.
3496 * config.make.in (localstatedir): New variable, substituted from
3497 libc_cv_localstatedir.
3498 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3499 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3500 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3501 * sysdeps/gnu/configure: Regenerated.
3502
006dd861
JL
35032012-06-21 Jeff Law <law@redhat.com>
3504
3505 [BZ #14277]
3506 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3507 free. Simplify list management for _LIBC case.
3508
79662d42
JM
35092012-06-21 Joseph Myers <joseph@codesourcery.com>
3510
b7abb4bf
JM
3511 [BZ #14273]
3512 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3513 Clear sign bit of 64-bit integer value before comparing against
3514 overflow value.
3515
79662d42
JM
3516 * sysdeps/mach/configure: Regenerated.
3517
1f150908
L
35182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3519
3520 [BZ #14278]
3521 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3522
28363bbf
JL
35232012-06-21 Jeff Law <law@redhat.com>
3524
3525 [BZ #13882]
3526 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3527 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3529 * elf/dl-open.c (dl_open_worker): Likewise.
3530
09615db4
CD
35312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3532
3533 * scripts/list-sources.sh: Scan PORTS for translations.
3534 * po/libc.pot: Regenerated.
3535
2174c6dd
AJ
35362012-06-21 Andreas Jaeger <aj@suse.de>
3537
3538 [BZ #12194]
3539 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3540 warning.
3541 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3542 * bits/byteswap-16.h (__bswap_16): Likewise.
3543 * bits/byteswap.h (__bswap_constant_16): Likewise.
3544
3ee947b1
L
35452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 [BZ #14117]
a2f34833
L
3548 * sysdeps/i386/fpu_control.h: Removed.
3549 * sysdeps/x86_64/fpu_control.h: Moved to ...
3550 * sysdeps/x86/fpu_control.h: Here.
3551
3ee947b1
L
3552 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3553 (_FPU_SETCW): Likewise.
3554
ed1825f8
L
35552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3556
25f1282a
L
3557 [BZ #14117]
3558 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3559 * sysdeps/x86/fpu/bits/mathinline.h: This.
3560 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3561
ed1825f8
L
3562 [BZ #14050]
3563 [BZ #14117]
3564 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3565 functions if __x86_64__ is defined.
3566
36d54b74
CLT
35672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3568
3569 * string/endian.h: Add !__ASSEMBLER__ condition for including
3570 conversion interfaces.
3571
10285c21
JM
35722012-06-15 Joseph Myers <joseph@codesourcery.com>
3573
3574 [BZ #14241]
3575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3576 of ABS(x) in calculating zero to negative powers other than odd
3577 integers.
3578 * math/libm-test.inc (pow_test): Add more tests.
3579
06c5abbd
AJ
35802012-06-15 Andreas Jaeger <aj@suse.de>
3581
3582 * manual/contrib.texi (Contributors): Update entry of Liubov
3583 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3584 Machado Filho.
3585
a3aeac40
CH
35862012-06-15 Cyril Hrubis <metan@ucw.cz>
3587
3588 * string/string.h: Add __wur to GNU version of strerror_r.
3589
49bdf4c1
L
35902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 [BZ #14229]
3593 * string/Makefile (tests): Add tst-strtok_r.
3594 * string/tst-strtok_r.c: New file.
3595 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3596 RAX_LP/RDX_LP on SAVE_PTR.
3597
834f9b8d
RM
35982012-06-14 Roland McGrath <roland@hack.frob.com>
3599
3600 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3601
75fa1921
JM
36022012-06-14 Joseph Myers <joseph@codesourcery.com>
3603
3604 * libm_test.inc (csqrt_test): Allow more spurious underflow
3605 exceptions.
3606 (j0_test): Likewise.
3607 (j1_test): Likewise.
3608 (y0_test): Likewise.
3609 (y1_test): Likewise.
3610
771766df
CD
36112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3612
3613 * po/Makefile (libc.pot): Use UTF-8 charset.
3614
ceb9e56b
PP
36152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3616
3617 [BZ #14210]
3618 Suppress sign-conversion warning from FD_SET.
3619 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3620 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3621 not unsigned long int.
3622 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3623
ddb28975
L
36242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 [BZ #14050]
3627 [BZ #14117]
3628 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3629 __extern_always_inline instead of __extern_inline.
3630 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3631 (__signbit): Likewise.
3632 (__signbitl): Support C++ namespace.
3633 (lrintf): New inline function.
3634 (lrint): Likewise.
3635 (llrintf): Likewise.
3636 (llrint): Likewise.
3637 (fmaxf): Likewise.
3638 (fmax): Likewise.
3639 (fminf): Likewise.
3640 (fmin): Likewise.
3641 (rint): Likewise.
3642 (rintf): Likewise.
3643 (ceil): Likewise.
3644 (ceilf): Likewise.
3645 (floor): Likewise.
3646 (floorf): Likewise.
3647 (nearbyint): Likewise.
3648 (nearbyintf): Likewise.
3649
d7b4fb26
TS
36502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3651
3652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3653 non-default versions.
3654
eb55f5c2
RM
36552012-06-11 Roland McGrath <roland@hack.frob.com>
3656
3657 [BZ #14218]
3658 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3659
366af02c
TS
36602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3661
99ff6e5c
TS
3662 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3663 (FE_UPWARD, FE_DOWNWARD): Don't define.
3664 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3666
366af02c
TS
3667 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3668 reading it.
3669 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3671
793ea851
KK
36722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3673
3674 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3676 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3677 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3678
a728a38f
L
36792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 [BZ #14117]
c08010c7
L
3682 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3683 * sysdeps/i386/fpu/Implies: New file.
3684 * sysdeps/x86_64/fpu/Implies: Likewise.
3685 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3686 * sysdeps/x86/fpu/bits/fenv.h: This.
3687
a728a38f
L
3688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3689 __SSE_MATH__.
3690
6e230d11
SP
36912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3692
3693 [BZ #14134]
3694 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3695 character 0xffff that matches the last element of the
3696 conversion table.
3697
1b671feb
AZ
36982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3699
3700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3701 fmodl commit.
3702
6043738b
AZ
37032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3704
3705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3706 values higher than 25.6283.
3707
34ae0b32
AZ
37082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709
3710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3711 subnormal exponent extraction and add some __builtin_expect.
3712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3713 Fix for subnormal mantissa calculation.
3714
1214ec8f
MF
37152012-06-04 Mike Frysinger <vapier@gentoo.org>
3716
3717 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3718 cpu2 is -1 and errno is not ENOSYS.
3719
f3d1f93c
L
37202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 [BZ #14117]
0e4a3cd7
L
3723 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3724 * sysdeps/x86/bits/string.h: This.
3725 * sysdeps/x86_64/bits/string.h: Removed.
3726
6704c645
L
3727 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3728 if not compiling for x86-64, but compiling for >= i486.
3729
48495318
L
3730 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3731 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3732
14adcbfc
L
3733 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3734 New macro from Linux kernel 3.4.0.
3735 (FP_XSTATE_MAGIC2): Likewise.
3736 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3737 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3738 (struct _fpx_sw_bytes): New struct.
3739 (struct _xsave_hdr): Likewise.
3740 (struct _ymmh_state): Likewise.
3741 (struct _xstate): Likewise.
3742
68e408ab
L
3743 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3744 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3746 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3747 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3748 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3749
f3d1f93c
L
3750 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3752 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3753 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3754 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3755 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3756
d9dc34cd
TMQMF
37572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3758
3759 [BZ #13743]
3760 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3761 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3762 (sysdep_headers): Include sys/platform/ppc.h.
3763 * sysdeps/powerpc/test-gettimebase.c: Test for
3764 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3765 * manual/Makefile (appendices): Include platform.texi.
3766 * manual/contrib.texi (Contributors): Update @node pointers.
3767 * manual/maint.texi (Maintenance): Likewise.
3768 (Platform): New node.
3769 * manual/platform.texi: New file. Document the new features.
3770
4af3879c
SP
37712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3772 Jakub Jelinek <jakub@redhat.com>
3773
3774 [BZ #14188]
3775 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3776 where __builtin_expect is unavailable.
3777
2fd6ff13
DM
37782012-06-03 David S. Miller <davem@davemloft.net>
3779
3780 * stdlib/longlong.h: Updated from GCC.
3781
173f7220
AS
37822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3783
3784 [BZ #14042]
3785 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3786 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3787 __mcount_internal.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3789 (GLIBC_2.16): Likewise.
3790
f34a1c6f
L
37912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3792
3793 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3794
88a4576f
JM
37952012-06-01 Joseph Myers <joseph@codesourcery.com>
3796
ea32bcdd
JM
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3798 (default-abi): New variable.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3800 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3801 variable.
3802 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3803 Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3805 Likewise.
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3807 Likewise.
3808
88a4576f
JM
3809 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3810 definition. Document in comment.
3811
402fe938
DM
38122012-06-01 David S. Miller <davem@davemloft.net>
3813
3814 * stdlib/longlong.h: Updated from GCC.
3815
3553723f
L
38162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3817
3818 [BZ #14117]
3bd872c4
L
3819 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3820 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3821 sys/debugreg.h sys/io.h here.
3822 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3823 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3824 sys/io.h.
3825 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3826 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3827 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3828 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3829 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3830 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3831
3553723f
L
3832 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3833 Define only if __x86_64__ is defined.
3834
4842e4fe
JM
38352012-06-01 Joseph Myers <joseph@codesourcery.com>
3836
c5bfe3d5
JM
3837 [BZ #14048]
3838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3839 Use int64_t for variable i.
3840 * math/libm-test.inc (fmod_test): Add more tests.
3841
4842e4fe
JM
3842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3843 z computation is not scheduled after fetestexcept.
3844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3845 Use math_force_eval instead of asm to ensure calculation scheduled
3846 before exception test.
3847 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3848 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3849
efb73488
AJ
38502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3851
3852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3853 computation is not scheduled after fetestexcept.
3854
29bcce7c
L
38552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 [BZ #14117]
3858 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3860
73a68f94
AZ
38612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3862
3863 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3865
67b6df78
L
38662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3867
edf2933a 3868 [BZ #14117]
ebc64a18
L
3869 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3870 <bits/wordsize.h>.
3871 (__WCHAR_MIN): Support __WORDSIZE == 64.
3872 (__WCHAR_MAX): Likewise.
3873
edf2933a
L
3874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3876
57c6cf40
L
3877 [BZ #14183]
3878 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3879 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3880
67b6df78 3881 [BZ #14117]
8eb6281e
L
3882 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3883 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3884
aac639f4
L
3885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3886 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3887
67b6df78
L
3888 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3889 Defined to 1 if __x86_64__ isn't defined.
3890 (_STAT_VER_LINUX_OLD): New.
3891 (st_atime): Remove duplicate.
3892 (st_mtime): Likewise.
3893 (st_ctime): Likewise.
3894
1c2cfe81
DM
38952012-05-31 David S. Miller <davem@davemloft.net>
3896
3897 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3898 entries.
3899
5be8418c
AS
39002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3901
e7725326
AS
3902 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3903 gen-libm-test.pl.
3904
5be8418c
AS
3905 [BZ #14132]
3906 * elf/dl-reloc.c: Include <_itoa.h>.
3907 (_dl_reloc_bad_type): Remove use of INTUSE.
3908 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3909 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3910 * stdio-common/psiginfo.c (psiginfo): Likewise.
3911 * stdio-common/psignal.c (psignal): Likewise.
3912 * string/strsignal.c (strsignal): Likewise.
3913 * include/signal.h (_sys_siglist): Declare hidden proto.
3914 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3915 INTVARDEF with libc_hidden_data_def.
3916 * stdio-common/itoa-udigits.c: Likewise.
3917 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3918 (_itoa_lower_digits_internal): Remove declaration.
3919 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3920 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3921 (_sys_sigabbrev_internal): Remove aliases.
3922 (_sys_siglist): Define hidden alias.
3923
507352f1
MT
39242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3925
3926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3927 bits/sysctl.h.
3928
42bbb1c3
L
39292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 [BZ #14117]
6bd784b6
L
3932 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3933 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3934
8bca20f0
L
3935 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3936 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3937 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3938 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3940 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3941
f9e890a9
L
3942 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3944 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3945
471101a1
L
3946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3947 with __addr.
3948 (insw): Likewise.
3949 (insl): Likewise.
3950 (outsb): Likewise.
3951 (outsw): Likewise.
3952 (outsl): Likewise.
3953
6451c862
L
3954 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3957
a254b8c9
L
3958 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3961 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3962 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3964
b8dfdd92
L
3965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3966 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3967
578cd270
L
3968 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3969 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3970
de662f5f
L
3971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3974
25653439
L
3975 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3976 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3977 to ...
3978 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3979
6bad24a0
L
3980 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3981 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3982 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3983
42bbb1c3
L
3984 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3985 for x86-64.
3986 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3987
2d10d547
JM
39882012-05-31 Joseph Myers <joseph@codesourcery.com>
3989
3990 * math/math.h (M_El): Use two more decimal places.
3991 (M_LOG2El): Likewise.
3992 (M_LOG10El): Likewise.
3993 (M_LN2l): Likewise.
3994 (M_LN10l): Likewise.
3995 (M_PIl): Likewise.
3996 (M_PI_2l): Likewise.
3997 (M_PI_4l): Likewise.
3998 (M_1_PIl): Likewise.
3999 (M_2_PIl): Likewise.
4000 (M_2_SQRTPIl): Likewise.
4001 (M_SQRT2l): Likewise.
4002 (M_SQRT1_2l): Likewise.
4003
f230c29b
DM
40042012-05-31 David S. Miller <davem@davemloft.net>
4005
4006 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4007 values between float registers.
4008 * sysdeps/sparc/sparc64/memset.S: Likewise.
4009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4010
fed806c3
MF
40112012-05-31 Mike Frysinger <vapier@gentoo.org>
4012
4013 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4014 -D_FORTIFY_SOURCE=1.
4015 (CPPFLAGS-tst-longjmp_chk.c): Define.
4016 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4017 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4018 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4019 CFLAGS-tst-wchar-h.c.
4020
30917259
MP
40212012-05-31 Marek Polacek <polacek@redhat.com>
4022
4023 [BZ #14132]
4024 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4025 __endmntent_internal): Remove declaration.
4026 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4027 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4028 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4029
1c58d5dc
DM
40302012-05-30 David S. Miller <davem@davemloft.net>
4031
4032 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4033 (___Q_simulate_exceptions): Use real FP ops rather than writing
4034 into the %fsr.
4035 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4036 Likewise.
4037
7dc00e0d
L
40382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 [BZ #14117]
0bd53985
L
4041 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4042 * sysdeps/x86/bits/xtitypes.h: This.
4043
3a257e66
L
4044 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4045 * sysdeps/x86/bits/wordsize.h: This.
4046
62f62904
L
4047 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4048 * sysdeps/x86/bits/huge_vall.h: This.
4049
404fe9d9
L
4050 * sysdeps/i386/bits/select.h: Removed.
4051 * sysdeps/x86_64/bits/select.h: Renamed to ...
4052 * sysdeps/x86/bits/select.h: This.
4053
d48d0446
L
4054 * sysdeps/i386/bits/setjmp.h: Removed.
4055 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4056 * sysdeps/x86/bits/setjmp.h: This.
4057
7dc00e0d
L
4058 * sysdeps/i386/bits/mathdef.h: Removed.
4059 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4060 * sysdeps/x86/bits/mathdef.h: This.
4061
03277f8f
AS
40622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4063
4064 [BZ #14132]
4065 * include/sys/socket.h (__connect_internal)
4066 (__libc_sa_len_internal): Remove declaration.
4067 (__connect, __libc_sa_len): Declare hidden_proto.
4068 (SA_LEN): Remove use of INTUSE.
4069 * socket/connect.c: Add libc_hidden_def.
4070 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4071 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4072 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4073 alias.
4074 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4075 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4076 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4077 of adding _internal alias.
4078
13764867
L
40792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 [BZ #14117]
6bd97696
L
4082 * sysdeps/i386/bits/link.h: Removed.
4083 * sysdeps/i386/bits/linkmap.h: Likewise.
4084 * sysdeps/x86_64/bits/link.h: Renamed to ...
4085 * sysdeps/x86/bits/link.h: This.
4086 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4087 * sysdeps/x86/bits/linkmap.h: This.
4088
f726f0bb
L
4089 * sysdeps/i386/bits/endian.h: Removed.
4090 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4091 * sysdeps/x86/bits/endian.h: This.
4092
13764867
L
4093 * sysdeps/i386/bits/byteswap.h: Removed.
4094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4095 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4096 * sysdeps/x86/bits/byteswap.h: This.
4097 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4098 * sysdeps/x86/bits/byteswap-16.h: This.
4099 * sysdeps/i386/Implies: Add x86.
4100 * sysdeps/x86_64/Implies: Likewise.
4101
ae251b0b
DM
41022012-05-30 David S. Miller <davem@davemloft.net>
4103
4104 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4105 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4107 (FP_TRAPPING_EXCEPTIONS): Define.
4108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4109 (FP_TRAPPING_EXCEPTIONS): Define.
4110 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4111 subnormals only when inexact has been signalled or underflow
4112 exceptions are enabled.
4113 (_FP_PACK_CANONICAL): Likewise.
4114
d5c90867
L
41152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 [BZ #14183]
4118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4119 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4120
63f1549e
RH
41212012-05-30 Richard Henderson <rth@twiddle.net>
4122
8d8f2279
RH
4123 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4124 with #ifndef NOT_IN_libc.
4125
63f1549e
RH
4126 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4127 marked to avoid plt entry.
4128
0ab0291b
L
41292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 [BZ #14112]
4132 * Makeconfig (default-abi): New macro.
4133 (abi-includes): Likewise.
4134 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4135 $(abi-$(default-abi)-lib-soname) for soname if defined.
4136 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4137 abi-variants.
4138 * Makefile (installed-stubs): Likewise.
4139 * include/stubs-biarch.h: Removed.
4140 * scripts/lib-names.awk: Only handle one library at a time.
4141 * scripts/soversions.awk: Remove WORDSIZE support.
4142 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4143 entries.
4144 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4145 Removed.
4146 (syscall-list-default-condition): Likewise.
4147 (syscall-list-default-condition): Likewise.
4148 (syscall-list-includes): Likewise.
4149 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4150 syscall-list-* with abi-*. Handle undefined abi-variants.
4151 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4152 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4153 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4154 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4155 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4156 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4157 Removed.
4158 (syscall-list-32-options): Likewise.
4159 (syscall-list-32-condition): Likewise.
4160 (syscall-list-64-options): Likewise.
4161 (syscall-list-64-condition): Likewise.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4163 macro.
4164 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4165 Renamed to ...
4166 (abi-*): This.
4167 (abi-64-ld-soname): New macro.
4168 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4170 Renamed to ...
4171 (abi-*): This.
4172 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4173 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4174
4da0431d
JM
41752012-05-30 Joseph Myers <joseph@codesourcery.com>
4176
3a85279c
JM
4177 * sysdeps/unix/sysv/linux/kernel-features.h
4178 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4179 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4180 include <kernel-features.h>.
4181 [!__NR_ftruncate64]: Remove conditional code.
4182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4183 [__NR_ftruncate64]: Make code unconditional.
4184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4185 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4186 include <kernel-features.h>.
4187 [!__NR_ftruncate64]: Remove conditional code.
4188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4189 [__NR_ftruncate64]: Make code unconditional.
4190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4192 include <kernel-features.h>.
4193 [!__NR_ftruncate64]: Remove conditional code.
4194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4195 [__NR_ftruncate64]: Make code unconditional.
4196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4198 include <kernel-features.h>.
4199 [!__NR_ftruncate64]: Remove conditional code.
4200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4201 [__NR_ftruncate64]: Make code unconditional.
4202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4203
4da0431d
JM
4204 * configure.in (libc_cv_fpie): Weaken to a compile test using
4205 LIBC_TRY_CC_OPTION.
4206 * configure: Regenerated.
4207
11ef492c
AK
42082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4209
4210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4214 Refreshed.
4215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4221 Refreshed.
4222
d66ef399
DM
42232012-05-27 David S. Miller <davem@davemloft.net>
4224
4225 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4226 (___Q_zero): New.
4227 (__Q_simulate_exceptions): Return void. Change to simulate
4228 exceptions by writing into the %fsr.
4229 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4230 (__Qp_handle_exceptions): Likewise.
4231 (numbers): Delete.
4232 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4233 __Qp_handle_exceptions.
4234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4235 __Qp_handle_exceptions.
4236 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4237 as unused and give dummy FP_RND_NEAREST initializer.
4238 (FP_INHIBIT_RESULTS): Define.
4239 (___Q_simulate_exceptions): Update declaration.
4240 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4241 formatting.
4242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4243 as unused and give dummy FP_RND_NEAREST initializer.
4244 (__Qp_handle_exceptions): Update declaration.
4245 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4246 formatting.
4247
04fb54b5
TS
42482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4249
4250 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4251 the temporary FPU control word.
4252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4253 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4254 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4255 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4258 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4259 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4260 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4261 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4263
3f99608f
KK
42642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4265
4266 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4267 fields.
4268
65a4de4e
CLT
42692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4270
4271 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4272 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4273 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4274 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4275 Likewise.
4276 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4277 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4278 Likewise.
4279
15749d40
UD
42802012-05-27 Ulrich Drepper <drepper@gmail.com>
4281
4282 * po/h.po: Update from translation team.
4283
25dbcb27
AS
42842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4285
3d3f8e55
AS
4286 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4287
25dbcb27
AS
4288 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4289 handling of denormals.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4291 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4297 Likewise.
4298
7ad47a80 42992012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4300
4301 [BZ #14152]
4302 * math/libm-test.inc (fma_test): Don't always expect underflow
4303 exception.
4304
9c6ea9fa
SP
43052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4306
4307 [BZ #12416]
4308 * elf/tst-execstack.c: Include stackinfo.h.
4309 (do_test): Adjust test case to ensure that pthread_getattr_np
4310 behaviour remains the same after marking stack executable.
4311
a8239222
JM
43122012-05-25 Joseph Myers <joseph@codesourcery.com>
4313
4314 * sysdeps/unix/sysv/linux/kernel-features.h
4315 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4317 kernel-features.h.
4318 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4319 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4320 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4321 kernel-features.h.
4322 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4323 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4324
918b5606
L
43252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4326
4327 * configure.in: Define the default includes to being none.
4328 * configure: Regenerated.
4329
3a097cc7
RM
43302012-05-25 Roland McGrath <roland@hack.frob.com>
4331
8422c9a5
RM
4332 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4333 * sysdeps/x86_64/setjmp.S: Likewise.
4334 * sysdeps/i386/bsd-setjmp.S: Likewise.
4335 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4336 * sysdeps/i386/setjmp.S: Likewise.
4337 * sysdeps/i386/__longjmp.S: Likewise.
4338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4339 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4340
3a097cc7
RM
4341 * include/stap-probe.h: New file.
4342 * configure.in: Handle --enable-systemtap.
4343 * configure: Regenerated.
4344 * config.h.in (USE_STAP_PROBE): New #undef.
4345 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4346 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4347 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4348
21708942
JM
43492012-05-25 Joseph Myers <joseph@codesourcery.com>
4350
4351 [BZ #13717]
4352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4353 to 2.4.0 where earlier.
4354 * sysdeps/unix/sysv/linux/configure: Regenerated.
4355 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4356 <kernel-features.h>.
4357 [__ASSUME_32BITUIDS]: Make code unconditional.
4358 [!__ASSUME_32BITUIDS]: Remove conditional code.
4359 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4360 <kernel-features.h>.
4361 [__ASSUME_32BITUIDS]: Make code unconditional.
4362 [!__ASSUME_32BITUIDS]: Remove conditional code.
4363 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4364 [__ASSUME_32BITUIDS]: Make code unconditional.
4365 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4366 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4367 <kernel-features.h>.
4368 [__ASSUME_32BITUIDS]: Make code unconditional.
4369 [!__ASSUME_32BITUIDS]: Remove conditional code.
4370 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4371 <kernel-features.h>.
4372 [__ASSUME_32BITUIDS]: Make code unconditional.
4373 [!__ASSUME_32BITUIDS]: Remove conditional code.
4374 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4375 <kernel-features.h>.
4376 [__ASSUME_32BITUIDS]: Make code unconditional.
4377 [!__ASSUME_32BITUIDS]: Remove conditional code.
4378 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4379 <kernel-features.h>.
4380 [__ASSUME_32BITUIDS]: Make code unconditional.
4381 [!__ASSUME_32BITUIDS]: Remove conditional code.
4382 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4383 <kernel-features.h>.
4384 [__ASSUME_32BITUIDS]: Make code unconditional.
4385 [!__ASSUME_32BITUIDS]: Remove conditional code.
4386 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4387 <kernel-features.h>.
4388 [__ASSUME_32BITUIDS]: Make code unconditional.
4389 [!__ASSUME_32BITUIDS]: Remove conditional code.
4390 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4391 <kernel-features.h>.
4392 [__ASSUME_32BITUIDS]: Make code unconditional.
4393 [!__ASSUME_32BITUIDS]: Remove conditional code.
4394 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4395 <kernel-features.h>.
4396 [__ASSUME_32BITUIDS]: Make code unconditional.
4397 [!__ASSUME_32BITUIDS]: Remove conditional code.
4398 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4399 <kernel-features.h>.
4400 [__ASSUME_32BITUIDS]: Make code unconditional.
4401 [!__ASSUME_32BITUIDS]: Remove conditional code.
4402 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4403 <kernel-features.h>.
4404 [__ASSUME_32BITUIDS]: Make code unconditional.
4405 [!__ASSUME_32BITUIDS]: Remove conditional code.
4406 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4407 <kernel-features.h>.
4408 [__NR_setresgid] (__setresgid): Do not declare.
4409 [__ASSUME_32BITUIDS]: Make code unconditional.
4410 [!__ASSUME_32BITUIDS]: Remove conditional code.
4411 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4412 <kernel-features.h>.
4413 [__NR_setresuid] (__setresuid): Do not declare.
4414 [__ASSUME_32BITUIDS]: Make code unconditional.
4415 [!__ASSUME_32BITUIDS]: Remove conditional code.
4416 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4417 <kernel-features.h>.
4418 [__ASSUME_32BITUIDS]: Make code unconditional.
4419 [!__ASSUME_32BITUIDS]: Remove conditional code.
4420 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4421 <kernel-features.h>.
4422 [__ASSUME_32BITUIDS]: Make code unconditional.
4423 [!__ASSUME_32BITUIDS]: Remove conditional code.
4424 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4425 <kernel-features.h>.
4426 [__ASSUME_32BITUIDS]: Make code unconditional.
4427 [!__ASSUME_32BITUIDS]: Remove conditional code.
4428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4429 <kernel-features.h>.
4430 [__ASSUME_32BITUIDS]: Make code unconditional.
4431 [!__ASSUME_32BITUIDS]: Remove conditional code.
4432 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4433 <kernel-features.h>.
4434 [__ASSUME_32BITUIDS]: Make code unconditional.
4435 [!__ASSUME_32BITUIDS]: Remove conditional code.
4436 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4437 <kernel-features.h>.
4438 [__ASSUME_32BITUIDS]: Make code unconditional.
4439 [!__ASSUME_32BITUIDS]: Remove conditional code.
4440 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4441 <kernel-features.h>.
4442 [__ASSUME_32BITUIDS]: Make code unconditional.
4443 [!__ASSUME_32BITUIDS]: Remove conditional code.
4444 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4445 <kernel-features.h>.
4446 [__ASSUME_32BITUIDS]: Make code unconditional.
4447 [!__ASSUME_32BITUIDS]: Remove conditional code.
4448 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4449 <kernel-features.h>.
4450 [__ASSUME_32BITUIDS]: Make code unconditional.
4451 [!__ASSUME_32BITUIDS]: Remove conditional code.
4452 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4453 <kernel-features.h>.
4454 [__ASSUME_32BITUIDS]: Make code unconditional.
4455 [!__ASSUME_32BITUIDS]: Remove conditional code.
4456 * sysdeps/unix/sysv/linux/kernel-features.h
4457 (__ASSUME_SETRESUID_SYSCALL): Remove.
4458 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4459 (__ASSUME_32BITUIDS): Likewise.
4460 (__ASSUME_LDT_WORKS): Likewise.
4461 (__ASSUME_O_DIRECTORY): Likewise.
4462 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4463 architecture but not kernel version.
4464 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4465 (__ASSUME_MMAP2_SYSCALL): Likewise.
4466 (__ASSUME_STAT64_SYSCALL): Likewise.
4467 (__ASSUME_IPC64): Likewise.
4468 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4469 <kernel-features.h>.
4470 [__ASSUME_32BITUIDS]: Make code unconditional.
4471 [!__ASSUME_32BITUIDS]: Remove conditional code.
4472 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4473 <kernel-features.h>.
4474 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4475 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4476 132096]: Remove conditional code.
4477 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4478 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4479 <kernel-features.h>.
4480 [__ASSUME_32BITUIDS]: Make code unconditional.
4481 [!__ASSUME_32BITUIDS]: Remove conditional code.
4482 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4483 <kernel-features.h>.
4484 [__ASSUME_32BITUIDS]: Make code unconditional.
4485 [!__ASSUME_32BITUIDS]: Remove conditional code.
4486 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4487 <kernel-features.h>.
4488 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4489 unconditional.
4490 (__setresgid): Do not declare.
4491 [__ASSUME_32BITUIDS]: Make code unconditional.
4492 [!__ASSUME_32BITUIDS]: Remove conditional code.
4493 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4494 <kernel-features.h>.
4495 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4496 unconditional.
4497 (__setresuid): Do not declare.
4498 [__ASSUME_32BITUIDS]: Make code unconditional.
4499 [!__ASSUME_32BITUIDS]: Remove conditional code.
4500 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4501 <kernel-features.h>.
4502 [__ASSUME_32BITUIDS]: Make code unconditional.
4503 [!__ASSUME_32BITUIDS]: Remove conditional code.
4504 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4505 <kernel-features.h>.
4506 [__ASSUME_32BITUIDS]: Make code unconditional.
4507 [!__ASSUME_32BITUIDS]: Remove conditional code.
4508
a386f1cc
RH
45092012-05-25 Richard Henderson <rth@twiddle.net>
4510
4511 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4512 dl_hwcap to ifunc resolver.
4513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4514 elf_ifunc_invoke.
4515 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4516 dl_hwcap to ifunc resolver.
4517 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4518
b6550497
JM
45192012-05-24 Joseph Myers <joseph@codesourcery.com>
4520
4521 [BZ #14153]
4522 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4523 for |x| <= 2**-26, not 2**-57.
4524 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4525 exception.
4526
b0bc23a1
JL
45272012-05-24 Jeff Law <law@redhat.com>
4528
4529 * stdio-common/Makefile (tests): Add bug25.
4530 * stdio-common/bug25.c: New test.
4531
347c92e9
L
45322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 [BZ #13576]
4535 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4536 multiple of MALLOC_ALIGNMENT in size.
4537 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4538
6bcc8b3f
JM
45392012-05-24 Joseph Myers <joseph@codesourcery.com>
4540
4541 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4542 Require >= 256.
4543 (FILENAME_MAX): Use macro-int-constant.
4544 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4545 (_IOFBF): Use macro-int-constant.
4546 (_IOLBF): Likewise.
4547 (_IONBF): Likewise.
4548 (SEEK_CUR): Likewise.
4549 (SEEK_END): Likewise.
4550 (SEEK_SET): Likewise.
4551 (TMP_MAX): Likewise.
4552 (EOF): Use macro-int-constant. Require < 0.
4553 (NULL): Use macro-constant. Require == 0.
4554 (stdin): Require type to be FILE *.
4555 (stdout): Likewise.
4556 (stderr): Likewise.
4557 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4558 macro-int-constant.
4559 (EXIT_SUCCESS): Likewise.
4560 (NULL): Use macro-constant. Require == 0.
4561 (RAND_MAX): Use macro-int-constant.
4562 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4563 [C99-based standards] (strtof): Require function.
4564 [C99-based standards] (strtold): Likewise.
4565 [C99-based standards] (strtoll): Likewise.
4566 [C99-based standards] (strtoull): Likewise.
4567 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4568 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4569 [ISO || ISO99 || ISO11] (math.h): Likewise.
4570 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4571 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4573
d18ea0c5
AS
45742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4575
4576 [BZ #14132]
56d25bb8
AS
4577 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4578 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4579 * intl/dgettext.c (DCGETTEXT): Likewise.
4580 * intl/gettext.c (DCGETTEXT): Likewise.
4581 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4582 * posix/regex_internal.h (gettext): Likewise.
4583 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4584 Remove declaration.
4585 * include/argz.h (__argz_count_internal)
4586 (__argz_stringify_internal): Remove declaration.
4587 (__argz_count, __argz_stringify): Declare hidden proto.
4588 * intl/dcgettext.c: Remove use of INTDEF.
4589 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4590 * string/argz-stringify.c: Likewise.
4591 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4592 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4593 Declare hidden proto.
d18ea0c5
AS
4594 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4595 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4596 Declare hidden proto.
4597 * include/stdio.h (__asprintf_internal): Don't declare.
4598 (__asprintf): Don't define as macro. Declare hidden proto.
4599 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4600 (__fsetlocking): Declare hidden proto.
4601 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4602 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4603 hidden proto.
4604 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4605 (_IO_setlinebuf): Remove use of INTUSE.
4606 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4607 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4608 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4609 Remove declaration.
4610 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4611 (_IO_do_flush): Remove use of INTUSE.
4612 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4613 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4614 (_IO_adjust_column, _IO_least_wmarker)
4615 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4616 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4617 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4618 (_IO_default_doallocate, _IO_wdefault_doallocate)
4619 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4620 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4621 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4622 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4623 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4624 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4625 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4626 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4627 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4628 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4629 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4630 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4631 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4632 proto.
4633 (_IO_flush_all_internal, _IO_adjust_column_internal)
4634 (_IO_default_uflow_internal, _IO_default_finish_internal)
4635 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4636 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4637 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4638 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4639 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4640 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4641 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4642 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4643 (_IO_file_close_internal, _IO_file_close_it_internal)
4644 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4645 (_IO_file_init_internal, _IO_file_attach_internal)
4646 (_IO_file_fopen_internal, _IO_file_read_internal)
4647 (_IO_file_sync_internal, _IO_file_seek_internal)
4648 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4649 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4650 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4651 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4652 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4653 (_IO_list_all_internal, _IO_link_in_internal)
4654 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4655 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4656 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4657 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4658 (_IO_do_write_internal, _IO_padn_internal)
4659 (_IO_getline_info_internal, _IO_getline_internal)
4660 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4661 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4662 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4663 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4664 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4665 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4666 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4667 with libc_hidden_ver, remove use of INTUSE.
4668 * libio/genops.c: Likewise.
4669 * libio/freopen.c: Likewise.
4670 * libio/freopen64.c: Likewise.
4671 * libio/iofclose.c: Likewise.
4672 * libio/iofdopen.c: Likewise.
4673 * libio/iofflush.c: Likewise.
4674 * libio/iofflush_u.c: Likewise.
4675 * libio/iofgets.c: Likewise.
4676 * libio/iofgets_u.c: Likewise.
4677 * libio/iofopen.c: Likewise.
4678 * libio/iofopncook.c: Likewise.
4679 * libio/iofread.c: Likewise.
4680 * libio/iofread_u.c: Likewise.
4681 * libio/ioftell.c: Likewise.
4682 * libio/iofwrite.c: Likewise.
4683 * libio/iogetline.c: Likewise.
4684 * libio/iogets.c: Likewise.
4685 * libio/iogetwline.c: Likewise.
4686 * libio/iopadn.c: Likewise.
4687 * libio/iopopen.c: Likewise.
4688 * libio/ioseekoff.c: Likewise.
4689 * libio/ioseekpos.c: Likewise.
4690 * libio/iosetbuffer.c: Likewise.
4691 * libio/iosetvbuf.c: Likewise.
4692 * libio/ioungetc.c: Likewise.
4693 * libio/ioungetwc.c: Likewise.
4694 * libio/iovdprintf.c: Likewise.
4695 * libio/iovsprintf.c: Likewise.
4696 * libio/iovsscanf.c: Likewise.
4697 * libio/memstream.c: Likewise.
4698 * libio/obprintf.c: Likewise.
4699 * libio/oldfileops.c: Likewise.
4700 * libio/oldiofclose.c: Likewise.
4701 * libio/oldiofdopen.c: Likewise.
4702 * libio/oldiofopen.c: Likewise.
4703 * libio/oldiopopen.c: Likewise.
4704 * libio/oldstdfiles.c: Likewise.
4705 * libio/putc.c: Likewise.
4706 * libio/setbuf.c: Likewise.
4707 * libio/setlinebuf.c: Likewise.
4708 * libio/stdfiles.c: Likewise.
4709 * libio/strops.c: Likewise.
4710 * libio/vasprintf.c: Likewise.
4711 * libio/vscanf.c: Likewise.
4712 * libio/vsnprintf.c: Likewise.
4713 * libio/vswprintf.c: Likewise.
4714 * libio/wfiledoalloc.c: Likewise.
4715 * libio/wfileops.c: Likewise.
4716 * libio/wgenops.c: Likewise.
4717 * libio/wmemstream.c: Likewise.
4718 * libio/wstrops.c: Likewise.
4719 * libio/__fpurge.c: Likewise.
4720 * libio/__fsetlocking.c: Likewise.
4721 * assert/assert.c: Likewise.
4722 * debug/fgets_chk.c: Likewise.
4723 * debug/fgets_u_chk.c: Likewise.
4724 * debug/fread_chk.c: Likewise.
4725 * debug/fread_u_chk.c: Likewise.
4726 * debug/gets_chk.c: Likewise.
4727 * debug/obprintf_chk.c: Likewise.
4728 * debug/vasprintf_chk.c: Likewise.
4729 * debug/vdprintf_chk.c: Likewise.
4730 * debug/vsnprintf_chk.c: Likewise.
4731 * debug/vsprintf_chk.c: Likewise.
4732 * malloc/mtrace.c: Likewise.
4733 * misc/error.c: Likewise.
4734 * misc/syslog.c: Likewise.
4735 * stdio-common/asprintf.c: Likewise.
4736 * stdio-common/fxprintf.c: Likewise.
4737 * stdio-common/getw.c: Likewise.
4738 * stdio-common/isoc99_fscanf.c: Likewise.
4739 * stdio-common/isoc99_scanf.c: Likewise.
4740 * stdio-common/isoc99_vfscanf.c: Likewise.
4741 * stdio-common/isoc99_vscanf.c: Likewise.
4742 * stdio-common/isoc99_vsscanf.c: Likewise.
4743 * stdio-common/printf-prs.c: Likewise.
4744 * stdio-common/printf_fp.c: Likewise.
4745 * stdio-common/printf_fphex.c: Likewise.
4746 * stdio-common/printf_size.c: Likewise.
4747 * stdio-common/putw.c: Likewise.
4748 * stdio-common/scanf.c: Likewise.
4749 * stdio-common/sprintf.c: Likewise.
4750 * stdio-common/tmpfile.c: Likewise.
4751 * stdio-common/vfprintf.c: Likewise.
4752 * stdio-common/vfscanf.c: Likewise.
4753 * stdlib/strfmon_l.c: Likewise.
4754 * sunrpc/openchild.c: Likewise.
4755 * sunrpc/xdr_stdio.c: Likewise.
4756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4757 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4758
d6c33fda
RM
47592012-05-24 Roland McGrath <roland@hack.frob.com>
4760
c1487492
RM
4761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4762
4763 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4764 in the third column, to generate for the shared library an IFUNC
4765 that uses _dl_vdso_vsym.
4766 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4767 * Makeconfig (object-suffixes-noshared): New variable.
4768
4769 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4770 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4771 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4772 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4773
d6c33fda
RM
4774 [BZ #14132]
4775 * include/sys/time.h (__gettimeofday): Remove macro.
4776 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4777 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4778 Remove INTDEF.
4779 (__gettimeofday): Add libc_hidden_def.
4780 (gettimeofday): Add libc_hidden_weak.
4781 * sysdeps/mach/gettimeofday.c: Likewise.
4782 * sysdeps/posix/gettimeofday.c: Likewise.
4783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4784 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4786 (__gettimeofday_internal): Remove strong_alias.
4787 (__gettimeofday): Add libc_hidden_def.
4788 (gettimeofday): Add libc_hidden_weak.
4789 * sysdeps/unix/syscalls.list (gettimeofday):
4790 Remove __gettimeofday_internal alias.
4791
b5a2bbe6
L
47922012-05-24 Daniel Jacobowitz <drow@false.org>
4793 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 [BZ #12495]
4796 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4797 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4798 (largebin_index_32_big): New.
4799 (largebin_index): Use it for 16-byte alignment.
4800 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4801 correction with front_misalign.
4802
cfba4fda
L
48032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4804
7f907421
L
4805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4807 Likewise.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4809 Likewise.
4810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4811 Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4815 Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4817 Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4819 Likewise.
4820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4821 Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4823 Likewise.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4825 Likewise.
4826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4827 Likewise.
4828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4829 Likewise.
4830
cfba4fda
L
4831 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4832 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4833
80bad0cc
JM
48342012-05-24 Joseph Myers <joseph@codesourcery.com>
4835
7a25eb06
JM
4836 [BZ #10846]
4837 [BZ #14036]
4838 * math/libm-test.inc (exp_test): Add test from bug 14036.
4839 (pow_test): Add test from bug 10846.
4840
795405f9
JM
4841 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4842 and other flags.
4843 (special_function): Do not include flags in test name.
4844 (parse_args): Likewise.
4845 * sysdeps/i386/fpu/libm-test-ulps: Update.
4846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4848 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850
80bad0cc
JM
4851 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4852 exceptions.
4853 * math/libm-test.inc ("Philosophy"): Update comment about
4854 exception testing.
4855 (UNDERFLOW_EXCEPTION): New macro.
4856 (UNDERFLOW_EXCEPTION_OK): Likewise.
4857 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4858 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4859 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4860 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4861 (INVALID_EXCEPTION_OK): Update value.
4862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4863 (OVERFLOW_EXCEPTION_OK): Likewise.
4864 (IGNORE_ZERO_INF_SIGN): Likewise.
4865 (test_exceptions): Handle underflow exceptions.
4866 (acos_test): Update for underflow exception expectations.
4867 (cexp_test): Likewise.
4868 (clog_test): Likewise.
4869 (clog10_test): Likewise.
4870 (csqrt_test): Likewise.
4871 (ctan_test): Likewise.
4872 (ctanh_test): Likewise.
4873 (exp_test): Likewise.
4874 (exp10_test): Likewise.
4875 (exp2_test): Likewise.
4876 (expm1_test): Likewise.
4877 (fma_test): Likewise.
4878 (j0_test): Likewise.
4879 (jn_test): Likewise.
4880 (nexttoward_test): Likewise.
4881 (pow_test): Likewise.
4882 (scalbn_test): Likewise.
4883 (scalbln_test): Likewise.
4884 (tan_test): Likewise.
4885 (y1_test): Likewise.
4886 * sysdeps/i386/fpu/libm-test-ulps: Update.
4887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4888
9e0e3d0b
DM
48892012-05-23 David S. Miller <davem@davemloft.net>
4890
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4892 (__libc_sigaction): Remove unused local variables.
4893
ccd0a08f
L
48942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4895
4896 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4897
62bdf9a6
PE
48982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4899
f8591f80
PE
4900 mktime: avoid signed integer overflow
4901 * time/mktime.c (__mktime_internal): Do not mishandle the case
4902 where diff == INT_MIN.
4903
94c7d826
PE
4904 mktime: simplify computation of average
4905 * time/mktime.c (ranged_convert): Use new time_t_avg function
4906 instead of rolling our own (probably-slower) code.
4907
ce73d683
PE
4908 mktime: do not assume signed right shift propagates sign bit
4909 * time/mktime.c (isdst_differ): New static function.
4910 (__mktime_internal): No need to normalize tm_isdst now.
4911 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4912 tm_isdst values.
4913
72a22e59
PE
4914 mktime: merge another wrapv change from gnulib
4915 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4916 from some compilers.
4917
68605433
PE
4918 mktime: remove incorrect attempt at unusual arithmetics
4919 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4920 The code didn't really work on such machines anyway.
4921 (TYPE_MINIMUM): Assume two's complement.
4922 (twos_complement_arithmetic): Verify that long_int and time_t
4923 are two's complement (or unsigned, in the latter case).
4924
03cf7fe3
PE
4925 mktime: check signed shifts on long_int and time_t, too
4926 * time/mktime.c (SHR): Check that shifts work as desired
4927 on the types long_int and time_t too, as SHR is used on
4928 such types.
4929
f04dfbc2
PE
4930 mktime: do not assume 'long' is wide enough
4931 * time/mktime.c (verify): Move decl up.
4932 (long_int): New type.
4933 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4934 to remove assumption in the code that 'long' is wide enough to
4935 store year values. This assumption is not true on x32 and on
4936 some non-glibc platforms.
4937
62bdf9a6
PE
4938 mktime: merge wrapv change from gnulib
4939 * time/mktime.c (WRAPV): New macro.
4940 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4941 (guess_time_tm, __mktime_internal): Do not assume that signed
4942 integer overflow wraps around; modern compilers generate code
4943 where this assumption is no longer valid.
4944
5e292e4f
L
49452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4946
4947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4948 Replace "jmp L(pseudo_end)" with "ret".
4949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4950 Likewise.
4951
8caf8c87
AJ
49522012-05-23 Andreas Jaeger <aj@suse.de>
4953
4954 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4955 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4956
1a09dc56
AJ
49572012-05-23 Andreas Jaeger <aj@suse.de>
4958 Maximilian Attems <max@stro.at>
4959
4960 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4961 New macros.
4962
1c87aba0
L
49632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4966 code so that pseudo_end is just ret and the stack pointer is
4967 correct also for static library in error case.
4968
40e45bd5
JM
49692012-05-23 Joseph Myers <joseph@codesourcery.com>
4970
c2670533
JM
4971 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4972 move to syscalls.list.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4977
40e45bd5
JM
4978 * manual/install.texi (Running make install): Do not mention Linux
4979 kernel version for which pt_chown is not needed.
4980 (Linux): Do not mention problems with nscd with 2.0 kernels.
4981 * INSTALL: Regenerated.
4982
be08eda5
AJ
49832012-05-23 Andreas Jaeger <aj@suse.de>
4984
4985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4986 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4987 macro.
4988 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4990 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4992 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4993 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4998 * sysdeps/unix/sysv/linux/bits/in.h
4999 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5000
a6a056bb
RM
50012012-05-22 Roland McGrath <roland@hack.frob.com>
5002
5003 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5004 (PREPARE_VERSION): Just use assert instead, it will be elided
5005 under [NDEBUG] anyway.
5006
c9009328
L
50072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5008
5009 * sysdeps/unix/sysv/linux/Makefile: Include
5010 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5011 (sysdep_routines): Remove sysctl.
c9009328
L
5012 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5013 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5014 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5015 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5016 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5017
73338355
AJ
50182012-05-22 Andreas Jaeger <aj@suse.de>
5019
5020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5021 that pseudo_end is just ret and the stack pointer is correct also
5022 for static library in error case.
5023
d44638b0
PP
50242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5025
5026 [BZ #14122]
5027 * nss/nsswitch.c (defconfig_entries): New variable.
5028 (__nss_database_lookup): Don't leak defconfig entries.
5029 (nss_parse_service_list): Don't leak on error paths.
5030 (free_database_entries): New function.
5031 (free_defconfig): New function.
5032 (free_mem): Move common code to free_database_entries.
5033
31a39bd8
L
50342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5035
da0331a8
L
5036 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5037 Add arch_prctl.
5038 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5039
31a39bd8
L
5040 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5041 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5043 New macro.
5044 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5045 (INTERNAL_SYSCALL_TYPES): Likewise.
5046 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5047 (LOAD_REGS_TYPES_[1-6]): Likewise.
5048 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5049 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5050
45470df3
AZ
50512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5052
5053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5054 copysignl for GLIBC_2_0.
5055 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5056 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5058 logbl for GLIBC_2_0.
5059 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5060 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5061
98a61bcb
L
50622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5063
a4f6e481
L
5064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5065 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5066
f63d5db6
L
5067 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5068 Use "neg %eax".
5069
98a61bcb
L
5070 * time/mktime.c: Update copyright years.
5071
95770f14
PE
50722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5073
6226efbd
PE
5074 mktime: merge comment-quoting-style change from gnulib
5075 * time/mktime.c: Quote 'like this' in comments.
5076 The GNU coding standards suggest that we no longer quote `like this',
5077 as "`" and "'" are typically rendered asymmetrically nowadays.
5078 The typical gnulib style is to quote 'like this' when quoting
5079 code, and "like this" when quoting English.
5080
b99e4f78
PE
5081 * time/mktime.c (compile-command): Add "-I.".
5082
643e01e6
PE
5083 mktime: merge mktime-internal.h change from gnulib
5084 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5085
2554247d
PE
5086 mktime: merge time_r change from gnulib
5087 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5088
826dd0ab
PE
5089 mktime: merge DEBUG change from gnulib
5090 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5091 case system <time.h> has a #define.
5092
bd83aabe
PE
5093 mktime: merge <sys/types.h> change from gnulib
5094 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5095 since <time.t> is now guaranteed to define time_t.
5096
95770f14
PE
5097 mktime: merge HAVE_CONFIG_H change from gnulib
5098 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5099
5e1a27a9
L
51002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5101
0e44a77e
L
5102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5103 Use "neg %eax".
5104
5e1a27a9
L
5105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5106 __rlim_t cast.
5107 (struct rusage): Use anonymous union to pad each field to
5108 __syscall_slong_t.
5109
46259bec
DM
51102012-05-21 David S. Miller <davem@davemloft.net>
5111
5112 * Makefules (o-iterator): Remove .s cases.
5113 (compile-command.s): Delete.
5114 (COMPILE.s): Delete.
5115 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5116
59f0c22e
JM
51172012-05-21 Joseph Myers <joseph@codesourcery.com>
5118
5119 * configure.in (libc_cv_predef_stack_protector): Only consider
5120 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5121 * configure: Regenerated.
5122
20c07380
L
51232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5124
bbb3154b
L
5125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5126 New macro. Use R*LP on int and pointer.
5127 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5128 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5129 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5130 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5131
20c07380
L
5132 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5133 [__WORDSIZE_TIME64_COMPAT32] instead of
5134 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5135 (struct utmp): Likewise.
5136 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5137 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5138 Renamed to ...
5139 (__WORDSIZE_TIME64_COMPAT32): This.
5140 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5141 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5142 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5145 (__WORDSIZE_TIME64_COMPAT32): New macro.
5146
d8d1017e
AJ
51472012-05-21 Andreas Jaeger <aj@suse.de>
5148
5149 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5150 only if [SHARED]. Add prototype for __wcschr_ia32.
5151
6c7fb145
RM
51522012-05-21 Roland McGrath <roland@hack.frob.com>
5153
5154 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5155 of %rbp unmolested in the jmp_buf while mangling the low bits.
5156 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5157 unmolested high bits of %rbp while demangling the low bits.
5158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5159
66274218
AJ
51602012-05-21 Andreas Jaeger <aj@suse.de>
5161
07c58f8f
AJ
5162 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5163 * sunrpc/svc_simple.c: Use it for registerrpc.
5164 * sunrpc/xcrypt.c: Use it for passwd2des.
5165
66274218
AJ
5166 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5167
61f65140
L
51682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5171 Don't define if [__SYSCALL_WORDSIZE != 32].
5172 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5173 New macro.
5174
5fefb436
AJ
51752012-05-21 Bruno Haible <bruno@clisp.org>
5176 Andreas Jaeger <aj@suse.de>
5177
5178 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5179 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5180 inptr and inend for must_buffer_ch.
5181 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5182 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5183 * stdio-common/Makefile (tests): Remove bug15.
5184 (bug15-ENV): Remove macro.
5185 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5186 anymore.
5187
d8e272ab
AJ
51882012-05-19 Andreas Jaeger <aj@suse.de>
5189 Roland McGrath <roland@hack.frob.com>
5190
5191 * manual/contrib.texi: Completely rewritten. It contains now an
5192 alphabetical list of contributors and their contributions.
5193
4a56a162
RH
51942012-05-21 Richard Henderson <rth@twiddle.net>
5195
5196 * misc/getauxval.c (__getauxval): Use unsigned long int.
5197 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5198 (getauxval): Use unsigned long int.
5199
d024d23c
L
52002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5201
5202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5203
cbc00a03
RM
52042012-05-21 Roland McGrath <roland@hack.frob.com>
5205
5206 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5207 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5208 __alignof__ (long double).
5209
478143fa
AZ
52102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5211
5212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5213
c7683a6d
RH
52142012-05-20 Richard Henderson <rth@twiddle.net>
5215
5216 * misc/getauxval.c: New file.
5217 * misc/sys/auxv.h: New file.
5218 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5219 (routines): Add getauxval.
5220 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5222 * elf/dl-sysdep.c (_dl_auxv): Remove.
5223 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5224 * elf/dl-support.c (_dl_auxv): New variable.
5225 (_dl_aux_init): Initialize it.
5226 * manual/startup.texi (Auxiliary Vector): New node.
5227 * sysdeps/generic/bits/hwcap.h: New file.
5228 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5229 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5230 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5231 * sysdeps/sparc/sysdep.h: ... here. Include it.
5232 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5235 Update.
c7683a6d
RH
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5244
a6f1845d
AZ
52452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246
5247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5248
cbcbe830
DM
52492012-05-19 David S. Miller <davem@davemloft.net>
5250
5251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5252
e0b16cc2
JM
52532012-05-19 Joseph Myers <joseph@codesourcery.com>
5254
5255 [BZ #14123]
5256 * math/s_ccosh.c: Include <float.h>
5257 (__ccosh): Avoid internal overflow calculating sinh and cosh
5258 values before multiplying by sin and cos values.
5259 * math/s_ccoshf.c: Likewise.
5260 * math/s_ccoshl.c: Likewise.
5261 * math/s_csin.c: Likewise.
5262 * math/s_csinf.c: Likewise.
5263 * math/s_csinl.c: Likewise.
5264 * math/s_csinh.c: Likewise.
5265 * math/s_csinhf.c: Likewise.
5266 * math/s_csinhl.c: Likewise.
5267 * math/libm-test.inc (ccos_test): Add more tests.
5268 (ccosh_test): Likewise.
5269 (csin_test): Likewise.
5270 (csinh_test): Likewise.
5271 * sysdeps/i386/fpu/libm-test-ulps: Update.
5272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5273
6ad13e08
L
52742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5275
f66f0ce8
L
5276 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5277 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5278
6ad13e08
L
5279 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5280
b1d072a7
JM
52812012-05-19 Joseph Myers <joseph@codesourcery.com>
5282
5283 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5284 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5285 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5286 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5287 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5288 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5289 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5290 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5291 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5292 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5293 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5294 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5295 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5296 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5297 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5298 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5299 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5300 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5301 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5302 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5303 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5304 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5305 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5306 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5307 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5308 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5309 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5310 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5311 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5312 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5313 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5314
9eae47cb
AJ
53152012-05-18 Andreas Jaeger <aj@suse.de>
5316
5317 * csu/.gitignore: Delete.
5318
bb07f69f
L
53192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5322 (timex): Use __syscall_slong_t.
5323
e6bdb741
AJ
53242012-05-18 Andreas Jaeger <aj@suse.de>
5325 Carlos O'Donell <carlos_odonell@mentor.com>
5326
5327 * manual/install.texi (Configuring and compiling): Update
5328 description about files modified in the source directory.
d6c33fda 5329 * INSTALL: Regenerated.
e6bdb741 5330
1b74487e
L
53312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5332
5333 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5334 value. Use "or" to set return value to -1.
5335 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5336 negate return value.
5337
a88b64b9
TMQMF
53382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5339
5340 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5341 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5342 failure if the compiler has Graphite support disabled.
5343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5344 Likewise.
5345 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5346 CFLAGS-memmove.c): Likewise.
5347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5348 Likewise.
5349
3707636e
L
53502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5351
610b8622
L
5352 * sysdeps/x86_64/x32/_itoa.h: New file.
5353
7cd195df
L
5354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5355 getdents system call only if kernel and user dirents have the
5356 same d_ino and d_off.
5357
94b07d20
L
5358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5359 LLONG_MAX != LONG_MAX.
5360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5361 (_fitoa_word): Likewise.
5362
18298070
L
5363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5364 years.
5365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5368
553c7ea4
L
5369 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5370 include <bits/wordsize.h>. Check __x86_64__ instead of
5371 __WORDSIZE.
5372 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5373 if __x86_64__ is defined. Use anonymous union on fpstate.
5374
3707636e
L
5375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5376 anonymous union.
5377
b53ef01a
AS
53782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5379
37fb1dc0
AS
5380 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5381 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5383 Refer to _rtld_local_ro instead of _rtld_global_ro.
5384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5385 Likewise.
5386 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5387 Likewise.
5388 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5389 Likewise.
5390 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5391 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5392 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5393
b53ef01a
AS
5394 * sysdeps/powerpc/powerpc32/dl-machine.c
5395 (__elf_machine_runtime_setup) [PROF]: Don't reference
5396 _dl_prof_resolve.
5397
7a185db2
AJ
53982012-05-18 Andreas Jaeger <aj@suse.de>
5399
5400 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5401 function only available for GCCs before 3.4 since GCC 3.4
5402 introduced a builtin.
5403 (lrint): Likewise.
5404 (llrintf): Likewise.
5405 (llrint): Likewise.
5406 (fmaxf): Likewise.
5407 (fmax): Likewise.
5408 (fminf): Likewise.
5409 (fmin): Likewise.
5410 (rint): Likewise.
5411 (rintf): Likewise.
5412 (nearbyint): Likewise.
5413 (nearbyintf): Likewise.
5414 (ceil): Likewise.
5415 (ceilf): Likewise.
5416 (floor): Likewise.
5417 (floorf): Likewise.
5418
3e5aef87
L
54192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5420
428bd707
L
5421 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5422 on both fields and cast pointer to __syscall_ulong_t.
5423
3e5aef87
L
5424 * bits/types.h (__fsword_t): New type.
5425 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5426 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5428 (__FSWORD_T_TYPE): Likewise.
5429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5430 (__FSWORD_T_TYPE): Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5432 (__FSWORD_T_TYPE): Likewise.
5433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5434 (__FSWORD_T_TYPE): Likewise.
5435 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5436 __SWORD_TYPE with __fsword_t.
5437 (statfs64): Likewise.
5438
1ba7c3dc
DM
54392012-05-17 David S. Miller <davem@davemloft.net>
5440
5441 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5442
59910343
AJ
54432012-05-17 Andreas Jaeger <aj@suse.de>
5444
5445 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5446 warning.
5447
2e4c1e9e
L
54482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5449
5450 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5451
de7f5ce7
AJ
54522012-05-17 Andreas Jaeger <aj@suse.de>
5453
5454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5455 when it is used.
5456
286abc3d
CM
54572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5458
5459 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5460
477cc68e
L
54612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5462
5463 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5464 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5465
1a0994f5
CD
54662012-05-17 Andreas Jaeger <aj@suse.de>
5467 Carlos O'Donell <carlos_odonell@mentor.com>
5468
5469 [BZ #14059]
5470 * sysdeps/x86_64/multiarch/init-arch.h
5471 (bit_YMM_Usable): Rename to...
5472 (bit_AVX_Usable): ... this.
5473 (bit_FMA4_Usable): New macro.
5474 (bit_XMM_state): New macro.
5475 (bit_YMM_state): New macro.
5476 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5477 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5478 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5479 (CPUID_OSXSAVE): New macro.
5480 (CPUID_AVX): New macro.
5481 (CPUID_FMA4): New macro.
5482 (index_YMM_Usable): Rename to...
5483 (index_AVX_Usable): ... this.
5484 (HAS_AVX): Use HAS_ARCH_FEATURE.
5485 (HAS_FMA4): Likewise.
5486 (HAS_YMM_USABLE): Remove.
5487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5488 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5489 are present.
5490 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5491 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5492 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5493 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5494 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5495
0af797de
CM
54962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5497
5498 * math/libm-test.c: Support platforms without multiple rounding modes.
5499 * math/bug-nextafter.c: Support platforms without FP exceptions.
5500 * math/bug-nexttoward.c: Likewise.
5501 * math/test-fenv.c: Likewise.
5502 * math/test-misc.c: Likewise.
5503 * stdlib/bug-getcontext.c: Likewise.
5504
e39745ff
AJ
55052012-05-17 Andreas Jaeger <aj@suse.de>
5506
5507 * manual/examples/search.c (critter_cmp): Change signature to
5508 avoid warnings.
5509 * manual/string.texi (Collation Functions): Likewise.
5510
48970aba
L
55112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5512
5513 * bits/types.h: Fold copyright years.
5514 * bits/typesizes.h: Likewise.
5515 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5519 * time/time.h: Likewise.
5520
bedee953
PP
55212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5522
5523 [BZ #208]
5524 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5525 in instead of returning them. Return void.
5526 (__libc_mallinfo): Accumulate over all arenas.
5527 (__malloc_stats): Adjust for change in int_mallinfo interface.
5528
61653dfb
RM
55292012-05-16 Roland McGrath <roland@hack.frob.com>
5530
30b99d79
RM
5531 [BZ #10375]
5532 * configure.in (NM): Add AC_CHECK_TOOL for it.
5533 (libc_extra_cflags): New substituted variable.
5534 Check for -fstack-protector being used implicitly.
5535 * configure: Regenerated.
5536 * config.make.in (config-extra-cflags): New variable,
5537 gets @libc_extra_cflags@.
5538 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5539
61653dfb
RM
5540 [BZ #10375]
5541 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5542 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5543 * configure: Regenerated.
5544 * config.make.in (CPPUNDEFS): New substituted variable.
5545 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5546 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5547 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5548
661768bb
L
55492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5552 (mq_attr): Use __syscall_slong_t.
5553
d4261567
L
55542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5557 Check __x86_64__ instead of __WORDSIZE.
5558 (_STAT_VER_LINUX): Likewise.
5559 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5560 __syscall_ulong_t and __syscall_slong_t.
5561 (stat64): Likewise.
5562
cf3ff365
L
55632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5564
5565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5566
76cf3e4d
L
55672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5568
5569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5570
a637753a
L
55712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5572
5573 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5574 __syscall_ulong_t.
5575
d5e05119
L
5576 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5577 include <bits/wordsize.h>. Check __x86_64__ instead of
5578 __WORDSIZE.
5579 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5580 defined.
5581 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5582
f62ee380
L
5583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5584 include <bits/wordsize.h>. Check __x86_64__ instead of
5585 __WORDSIZE.
5586 (user_regs_struct): Use "__extension__ unsigned long long"
5587 instead of "unsigned long" if __x86_64__ is defined.
5588 (user): Likewise. Pad after pointer field if __ILP32__ is
5589 defined.
5590
4e124ced
JM
55912012-05-16 Joseph Myers <joseph@codesourcery.com>
5592
6a3951a0
JM
5593 * configure.in (makeinfo): Require version 4.5 or later. Allow
5594 versions 5 to 9.
5595 * configure: Regenerated.
5596 * manual/install.texi (texinfo): Increase version requirement to
5597 4.5 or later.
5598 * INSTALL: Regenerated.
5599
4e124ced
JM
5600 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5601
953ca31a
L
56022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5605
617aca05
L
5606 * sysdeps/x86_64/x32/ffs.c: New file.
5607
5762f7ae
L
5608 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5609 __syscall_ulong_t.
5610 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5611 defined. Use __syscall_ulong_t.
5612 (shminfo): Use __syscall_ulong_t.
5613 (shm_info): Likewise.
5614
a26b6856
L
5615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5616 __syscall_ulong_t.
5617
cb2b9ef7
L
5618 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5619 <bits/wordsize.h>.
5620 (msgqnum_t): Use __syscall_ulong_t.
5621 (msglen_t): Likewise.
5622 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5623 __syscall_ulong_t.
5624
34683bb0
L
5625 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5626 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5627
84a68786
L
5628 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5629
48baa5f1
L
5630 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5631 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5632
180be88b
L
5633 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5634 __syscall_slong_t.
5635
5e90c8ad
L
5636 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5637 include <bits/wordsize.h>. Check __x86_64__ instead of
5638 __WORDSIZE.
5639
23dfb58b
L
5640 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5641 "unsigned long long int" if __x86_64__ is defined.
5642 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5643
ce5d54b0
L
5644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5645 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5646 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5647
13dc9eac
L
5648 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5649 <stdint.h>.
5650 (GET_PC): Cast to uintptr_t first.
5651 (GET_FRAME): Likewise.
5652 (GET_STACK): Likewise.
5653
a7895d15
L
5654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5660 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5661 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5662 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5678 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5683
656416c9
AS
56842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5685
5bd66283
AS
5686 * Makerules (+depfiles): Also collect depfiles from .oS in
5687 $(extra-objs).
5688 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5689 .oS, $(libnldbl-routines)).
5690
656416c9
AS
5691 * Makerules (native-compile-mkdep-flags): Define.
5692 * sunrpc/Makefile (extra-objs): Add $(addprefix
5693 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5694 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5695 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5696 calling $(make-target-directory).
5697
a46f2169
L
56982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * bits/types.h (__snseconds_t): Removed.
5701 * time/time.h (struct timespec): Replace __snseconds_t with
5702 __syscall_slong_t.
5703 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5704 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5705 Likewise.
5706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5707 (__SNSECONDS_T_TYPE): Likewise.
5708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5709 (__SNSECONDS_T_TYPE): Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5711 (__SNSECONDS_T_TYPE): Likewise.
5712
6af6528b
L
57132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5714
5715 * sysdeps/mach/hurd/bits/typesizes.h
5716 (__SYSCALL_SLONG_TYPE): New macro.
5717 (__SYSCALL_ULONG_TYPE): Likewise.
5718
de986b56
L
57192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * bits/types.h (__syscall_slong_t): New type.
5722 (__syscall_ulong_t): Likewise.
5723
5724 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5725 (__SYSCALL_ULONG_TYPE): Likewise.
5726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5727 (__SYSCALL_SLONG_TYPE): Likewise.
5728 (__SYSCALL_ULONG_TYPE): Likewise.
5729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5730 (__SYSCALL_SLONG_TYPE): Likewise.
5731 (__SYSCALL_ULONG_TYPE): Likewise.
5732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5733 (__SYSCALL_SLONG_TYPE): Likewise.
5734 (__SYSCALL_ULONG_TYPE): Likewise.
5735
85736dc7
L
57362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5739 Add sigaltstack-offsets.sym.
5740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5741 <sigaltstack-offsets.h>.
5742 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5743 longjmp_msg pointer.
5744 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5745 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5746 signal stack.
5747 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5748
cc03b296
JM
57492012-05-15 Joseph Myers <joseph@codesourcery.com>
5750
a9538892
JM
5751 * elf/stackguard-macros.h: Remove file.
5752 * sysdeps/generic/stackguard-macros.h: New file.
5753 * sysdeps/i386/stackguard-macros.h: Likewise.
5754 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5755 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5756 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5757 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5758 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5759 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5760 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5761 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5762 <elf/stackguard-macros.h>.
5763
cc03b296
JM
5764 [BZ #14109]
5765 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5766 __aligned__ in attribute.
5767 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5768 (gregset_t): Likewise.
5769
93171016
L
57702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5771
5772 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5773 * sysdeps/x86_64/64/Implies-after: Here. New file.
5774 * sysdeps/x86_64/x32/Implies-after: New file.
5775
d86813a0
L
57762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5777
5778 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5779 and access return value for _dl_profile_fixup. Use R10_LP to
5780 load frame size.
5781
2953ec75
L
57822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5783
5784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5785
3b550e9e
L
57862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5787
5788 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5789 * sysdeps/x86_64/x32/sysdep.h: New file.
5790
eda41706
L
57912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5794 * sysdeps/x86_64/setjmp.S: Likewise.
5795
9ea01d93
AZ
57962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5800 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5802 remove unused global constant.
5803
02a91938
CM
58042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5805
5806 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5807 include of <not-cancel.h>.
5808
6540185f
RM
58092012-05-15 Roland McGrath <roland@hack.frob.com>
5810
5811 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5812
509072a0
AJ
58132012-05-15 Jeff Law <law@redhat.com>
5814 Andreas Jaeger <aj@suse.de>
5815
5816 [BZ #13594]
5817 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5818 out from...
5819 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5820 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5822 code changing __hst_map_handle.map.
5823
ba75122d
RM
58242012-05-15 Roland McGrath <roland@hack.frob.com>
5825
5826 * configure.in (sysnames): Look for Implies-before and Implies-after
5827 files.
5828 * configure: Regenerated.
5829
890d8bd8
L
58302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5831
5832 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5833 8-byte data alignment with LP_SIZE alignment.
5834
f6ee6623
L
58352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5836
5837 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5838 into R10_LP.
5839
ea2626f6
L
58402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5841
5842 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5843
085f715e
L
58442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5847 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5848 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5849 Likewise.
5850 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5851
be8498fc
L
58522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5853
5854 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5855 (stackinfo_sub_sp): Likewise.
5856
70bc83b9
L
58572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5860 RAX_LP.
5861
9bc0b730
L
58622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5865 into R*_LP.
5866
6d2850e7
L
58672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5870 sizes into R*_LP.
5871
3cb84561
L
58722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5875
54e2ed81
L
58762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5879 into R11_LP and load __x86_64_shared_cache_size_half into
5880 R8_LP.
5881
8a17f349
L
58822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5883
5884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5885 R8_LP.
5886
777b1eea
AZ
58872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5890 logb for POWER7.
5891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5892 logbf for POWER7.
5893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5894 logbl for POWER7.
5895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5896 powerpc32/power7/fpu/s_logb.c via #include.
5897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5898 powerpc32/power7/fpu/s_logbf.c via #include.
5899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5900 powerpc32/power7/fpu/s_logbl.c via #include.
5901
d20d4ac2
JM
59022012-05-15 Joseph Myers <joseph@codesourcery.com>
5903
5904 * README.libm: Remove file.
5905
6cdef1ab
L
59062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5909 count for x32. Use R*_LP and omit operand-size suffix.
5910
0b254d8f
L
59112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5912
5913 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5914 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5915 * sysdeps/x86_64/x32/shlib-versions: New file.
5916
ceb809dc
RM
59172012-05-14 Roland McGrath <roland@hack.frob.com>
5918
5919 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5920 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5921 Use _dl_fatal_printf instead.
5922
37f1abd4
JM
59232012-05-14 Joseph Myers <joseph@codesourcery.com>
5924
5925 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5926 set if not set by the user. Do not allow for being unset.
5927 * sysdeps/unix/sysv/linux/configure: Regenerated.
5928
11de3a33
L
59292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5930
5931 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5932 the `q' suffix from lea and replace .quad with ASM_ADDR.
5933
e02f153a
L
59342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5937 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5938 instead of $17.
5939 (PTR_DEMANGLE): Likewise.
5940
520ae0fd
L
59412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5944 (LP_OP): Likewise.
5945 (ASM_ADDR): Likewise.
5946 (RAX_LP): Likewise.
5947 (RBP_LP): Likewise.
5948 (RBX_LP): Likewise.
5949 (RCX_LP): Likewise.
5950 (RDI_LP): Likewise.
5951 (RSI_LP): Likewise.
5952 (RSP_LP): Likewise.
5953 (R8_LP): Likewise.
5954 (R9_LP): Likewise.
5955 (R10_LP): Likewise.
5956 (R10_LP): Likewise.
5957 (R11_LP): Likewise.
5958 (R12_LP): Likewise.
5959 (R13_LP): Likewise.
5960 (R14_LP): Likewise.
5961 (R15_LP): Likewise.
5962
b985be81
L
59632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 * sysdeps/x86_64/x32/dl-machine.h: New file.
5966
6a4888ff
AJ
59672012-05-14 Andreas Jaeger <aj@suse.de>
5968
5969 * manual/Makefile (subdir): Remove export of subdir.
5970 (all): Remove target.
5971 (.PHONY): Remove all from list.
5972 (mkinstalldirs): Remove.
5973 (.PHONY): Remove installdirs from list.
5974 ($(inst_infodir)/libc.info): Use make-target-directory.
5975 (installdirs): Remove.
5976 (subdir_%): Remove.
5977 (glibc-targets): Remove.
5978 (lib): Remove.
5979 (stubs): Remove.
5980 ($(objpfx)stubs ../po/manual.pot): Remove.
5981 ($(objpfx)stamp%): Remove.
5982 (make-target-directory): Remove.
5983 (subdir_install): Remove.
5984 (routines): Remove.
5985 (aux): Remove.
5986 (sources): Remove.
5987 (objects): Remove.
5988 (headers): Remove.
5989
5990 [BZ #13750]
5991 * manual/.gitignore: Remove, it's not needed anymore.
5992 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5993 all files in it.
5994 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5995 directory.
5996 (texis): Renamed to $(objpfx)texis.
5997 (texis-path): New, contains path to generated files.
5998 (chapters.%): Use texis-path for complete path, add extra argument
5999 libc-texinfo.sh.
6000 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6001 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6002 (summary,texi, stamp-summary): Use complete path of
6003 files. Generate files in build dir.
6004 (dir-add.texi): Build in build dir.
6005 (libm-err.texi,stamp-libm-err): Likewise.
6006 (version.texi, stamp-version): Likewise.
6007 (.%c.texi): Likewise.
6008 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6009 (mostlyclean): Remove target.
6010 (realclean): Remove target.
6011 (generated): Add new variable with contents from mostlyclean and
6012 realclean, remove entries duplicated in common-mostlyclean, add
6013 stamp-libm-err and stamp-version.
6014 (generated-dirs): Add libc directory.
6015 ($(inst_infodir)/libc.info): Install files from build dir.
6016
6017 * manual/install.texi (Configuring and compiling): Adjust since
6018 the info files are not part of the tar ball anymore.
6019
7ac77294
AJ
60202012-05-14 Andreas Jaeger <aj@suse.de>
6021
6022 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6023 variable.
6024
ffb7875d
JM
60252012-05-14 Joseph Myers <joseph@codesourcery.com>
6026
6027 [BZ #13717]
6028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6029 to 2.2.0 where earlier.
6030 * sysdeps/unix/sysv/linux/configure: Regenerated.
6031 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6032 Remove conditional code.
6033 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6034 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6035 Remove conditional code.
6036 [!__NR_lchown]: Likewise.
6037 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6038 [__NR_lchown]: Likewise.
6039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6040 comment referencing __ASSUME_LCHOWN_SYSCALL.
6041 * sysdeps/unix/sysv/linux/i386/sigaction.c
6042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6045 Remove conditional code.
6046 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6047 (__protocol_available): Remove #if 0 code.
6048 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6049 conditional code.
6050 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6051 * sysdeps/unix/sysv/linux/kernel-features.h
6052 (__ASSUME_GETCWD_SYSCALL): Don't define.
6053 (__ASSUME_REALTIME_SIGNALS): Likewise.
6054 (__ASSUME_PREAD_SYSCALL): Likewise.
6055 (__ASSUME_PWRITE_SYSCALL): Likewise.
6056 (__ASSUME_POLL_SYSCALL): Likewise.
6057 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6058 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6059 non-SPARC.
6060 (__ASSUME_SIOCGIFNAME): Don't define.
6061 (__ASSUME_MSG_NOSIGNAL): Likewise.
6062 (__ASSUME_SENDFILE): Define unconditionally.
6063 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6064 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6065 conditional code.
6066 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6067 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6068 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6069 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6070 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6071 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6072 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6089 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6097 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6098 Remove conditional code.
6099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6100 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6101 Remove conditional code.
6102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6103 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6104 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6105 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6106 Remove conditional code.
6107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6108 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6109 Remove conditional code.
6110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6111 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6112 Remove conditional code.
6113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6114 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6115 Remove conditional code.
6116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6117 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6118 Remove conditional code.
6119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6120 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6123 * sysdeps/unix/sysv/linux/sigaction.c
6124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6126 * sysdeps/unix/sysv/linux/sigpending.c
6127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6129 * sysdeps/unix/sysv/linux/sigprocmask.c
6130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6132 * sysdeps/unix/sysv/linux/sigsuspend.c
6133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6136 (__libc_missing_rt_sigs): Remove.
6137 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6138 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6139 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6140 Remove conditional code.
6141 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6142 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6143 return 1.
6144 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6145 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6146 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6147 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6148
1bfb7291
AJ
61492012-05-14 Andreas Jaeger <aj@suse.de>
6150
caae5a81
AJ
6151 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6152 it's not used in glibc.
6153 (__coshm1): Likewise.
6154 (__acosh1p): Likewise.
6155 (__sgn): Likewise.
6156
1bfb7291
AJ
6157 * manual/string.texi (Copying and Concatenation): Add missing
6158 variable in concat example.
6159 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6160
c044d724
L
61612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6162
144c5467 6163 [BZ #14103]
c044d724
L
6164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6165 __builtin_clzl with __builtin_clzll.
6166
2523c62b
L
61672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6168
6169 [BZ #14104]
6170 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6171 libc_freeres_ptr.
6172
d7bb4c42
LD
61732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6174
6175 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6176 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6177 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6178 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6179
9dc4e1fb
MF
61802012-05-14 Mike Frysinger <vapier@gentoo.org>
6181
6182 * NEWS: Update ia64 info.
6183
c7df0112
AS
61842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6185
6186 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6187 used as bcopy.
6188
dc70356c
TS
61892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6190
6191 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6192 * sysdeps/unix/syscalls.list (dup3): Likewise.
6193 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6194 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6195
9fb1a21f
L
61962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6197
6198 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6199 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6200
4822a2a5
L
62012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6202
6203 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6204 thread pointer.
6205 (TLS_IE): Use mov/add instead of movq/addq to load thread
6206 pointer.
6207 (TLS_GD_PREFIX): New.
6208 (TLS_GD): Use it.
6209
842b81d6
DM
62102012-05-11 David S. Miller <davem@davemloft.net>
6211
6212 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6213 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6214 (_FPU_SETCW): Likewise.
6215
1cf463cd
L
62162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6217
6218 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6219 is 32-byte aligned.
6220
60cc4a18
AS
62212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6222
6223 [BZ #11837]
6224 * iconvdata/gb18030.c: Update tables.
6225 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6226 characters specially.
6227 (BODY for TO_LOOP): Add encoding of missing ranges.
6228
febb44a4
TS
62292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6230
6231 [BZ #13673]
6232 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6233 * sysdeps/mach/hurd/dup3.c: Likewise.
6234 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6235 * sysdeps/powerpc/memmove.c:: Likewise.
6236
0a10fb9e
L
62372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6240 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6241
df8a552f
L
62422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * elf/elf.h (R_X86_64_RELATIVE64): New.
6245 (R_X86_64_NUM): Updated.
6246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6247 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6248 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6249 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6250 tst-quad1pie tst-quad2pie
6251 (modules-names): Add tst-quadmod1 tst-quadmod2.
6252 ($(objpfx)tst-quad1): New dependency.
6253 ($(objpfx)tst-quad2): Likewise.
6254 ($(objpfx)tst-quad1pie): Likewise.
6255 ($(objpfx)tst-quad2pie): Likewise.
6256 * sysdeps/x86_64/tst-quad1.c: New file.
6257 * sysdeps/x86_64/tst-quad1pie.c: New file.
6258 * sysdeps/x86_64/tst-quad2.c: Likewise.
6259 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6260 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6261 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6262 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6263 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6264
f34d6f84
ST
62652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6266
f42d41d1
ST
6267 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6268 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6269 * streams/stropts.h (t_scalar_t): Define type.
6270
3c3571fc
ST
6271 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6272 (_PATH_PRESERVE): Set to "/var/lib".
6273 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6274
61f06bd3
ST
6275 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6276 instead of int.
6277
918d4d71
ST
6278 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6279 if __dir_mkfile succeeded.
6280
f34d6f84
ST
6281 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6282 checking for _hurd_dtablesize. Unlock it right after having
6283 finished _hurd_dtable allocation.
6284
10589b4a
TS
62852012-05-10 Thomas Schwinge <thomas@schwinge.name>
6286
674cdbc7
TS
6287 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6288 * sysdeps/mach/hurd/configure: Regenerated.
6289 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6290 special-casing to...
6291 * sysdeps/gnu/configure.in: ... this new file.
6292 * sysdeps/unix/sysv/linux/configure: Regenerated.
6293 * sysdeps/gnu/configure: New generated file.
6294
8e41b99f
TS
6295 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6296 for Linux: use nsec instead of usec, as well as:
6297 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6298 members of type struct timespec.
6299 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6300 New macros.
6301 (struct stat64): Likewise.
6302 (_STATBUF_ST_NSEC): New macro.
6303 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6304
10589b4a
TS
6305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6306 __strtoul_internal rather than strtoul.
6307
63643c85
PT
63082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6309
6310 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6311 and reject them.
6312
3faebe6a
ST
63132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6314
6315 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6316 which preserves existing values.
6317 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6318
c6474b07
PT
63192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6320
6321 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6322 TIMEOUT values. Return EINVAL for NFDS values either negative or
6323 greater than FD_SETSIZE.
6324
1043890b
ST
63252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6326
6327 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6328 allocated, call __vm_protect to finish enabling the existing space, and
6329 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6330 allocate the remainder.
6331
37ed8b9b
PT
63322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6333
6334 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6335 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6336
db653660
ST
63372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6338
37ed8b9b
PT
6339 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6340 sysdeps/mach/hurd/readlink.c.
b29d4053 6341
db653660
ST
6342 * posix/tst-sysconf.c (posix_options): Only use
6343 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6344 _POSIX_SYNCHRONIZED_IO when they are defined
6345 * sysdeps/mach/hurd/bits/posix_opt.h:
6346 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6347 (_XOPEN_REALTIME): Undefine macro.
6348 (_XOPEN_REALTIME_THREADS): Undefine macro.
6349 (_XOPEN_SHM): Undefine macro.
6350 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6351 macro to -1.
6352 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6353 macro to -1.
6354 (_POSIX_ASYNC_IO): Undefine macro.
6355 (_POSIX_PRIORITIZED_IO): Undefine macro.
6356 (_POSIX_SPIN_LOCKS): Define macro to -1.
6357
ee16e894
ST
6358 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6359 SA_NODEFER, SA_RESETHAND.
6360 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6361 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6362 F_DUPFD_CLOEXEC.
6363
6103ae3b
TS
63642012-05-10 Thomas Schwinge <thomas@schwinge.name>
6365
6366 * elf/Makefile (pldd-modules): Define unconditionally.
6367
80b4e5f3
TS
63682012-05-10 Thomas Schwinge <thomas@schwinge.name>
6369
6370 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6371
edadcbd6
ST
63722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6373
6374 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6375 Return ENOENT when name is empty.
6376 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6377
80694780
TS
63782012-05-10 Thomas Schwinge <thomas@schwinge.name>
6379
1792c087
TS
6380 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6381
80694780
TS
6382 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6383
6b645f0d
ST
63842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6385
80694780
TS
6386 Fix mlock in all cases except non-readable pages.
6387 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6388 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6389
6b645f0d
ST
6390 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6391 (__mkdir): When path is `/', just fail with EEXIST.
6392 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6393
e468f8a3
TS
63942012-05-10 Thomas Schwinge <thomas@schwinge.name>
6395
6396 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6397 <sys/uio.h> (for writev).
6398 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6399 and <sys/param.h> (for MIN).
6400
a4186cff
PT
64012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6402
6403 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6404 REQUESTED_TIME. Properly set the remaining time and return EINTR
6405 if interrupted.
6406
510bbf14
TS
64072012-05-10 Thomas Schwinge <thomas@schwinge.name>
6408
6409 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6410 Depend on against $(link-rpcuserlibs).
6411
5d5722e8
ST
64122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6413
a4186cff
PT
6414 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6415 (__libc_stack_end): Do not use attribute_relro.
6416 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6417 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6418 to libthread-provided value.
a4186cff
PT
6419 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6420 attribute_relro.
5d5722e8 6421
37233df9
TS
64222012-05-10 Thomas Schwinge <thomas@schwinge.name>
6423
be971a2b
TS
6424 [BZ #3748]
6425 * bits/libc-lock.h (__libc_once_get): New macro.
6426 * sysdeps/mach/bits/libc-lock.h: Likewise.
6427 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6429 instead of using implementation details.
6430
37233df9
TS
6431 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6432 * libio/freopen.c: Likewise.
6433 * libio/freopen64.c: Likewise.
6434 * misc/syslog.c: Likewise.
6435 * nscd/connections.c: Likewise.
6436 * nscd/netgroupcache.c: Likewise.
6437 * sysdeps/posix/getcwd.c: Likewise.
6438
38de94a5
RM
64392012-05-10 Roland McGrath <roland@hack.frob.com>
6440
6441 * math/w_ilogbf.c: Add #include <limits.h>.
6442
67530489
ST
64432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6444
a4186cff 6445 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6446 path instead of returning without unlocking.
6447
67530489
ST
6448 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6449 immediate-write ioctls.
6450 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6451
5aa3a74a
TS
64522012-05-10 Thomas Schwinge <thomas@schwinge.name>
6453
18bad2ae
TS
6454 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6455 __builtin_frame_address instead of making assumptions about the
6456 location of the return address relative to DATA. Force early load of
6457 the return address.
6458 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6459 __builtin_frame_address.
6460
5aa3a74a
TS
6461 dup3 for GNU Hurd.
6462 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6463 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6464 implement dup3 and do some further code clean-ups.
6465 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6466 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6467
ecd0de9a
ST
64682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6469
cd9fa985
ST
6470 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6471
a4186cff
PT
6472 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6473 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6474 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6475 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6476 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6477 d->port.lock.
802ca5a5 6478
a4186cff
PT
6479 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6480 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6481 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6482
bcf55240
TS
64832012-05-10 Thomas Schwinge <thomas@schwinge.name>
6484
6960eb42
TS
6485 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6486 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6487 definitions.
6488
eb43375f
TS
6489 accept4 for GNU Hurd.
6490 * include/sys/socket.h (__libc_accept4): New prototype.
6491 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6492 to implement __libc_accept4.
6493 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6494 __libc_accept4.
6495 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6496
bcf55240
TS
6497 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6498 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6499 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6500 signal-defines.sym.
6501
6178c55b
ST
65022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6503
a4186cff 6504 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6505
6f080c2f
TS
65062012-05-10 Thomas Schwinge <thomas@schwinge.name>
6507
6508 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6509 assertion on O_CLOEXEC flag.
6510 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6511 * hurd/intern-fd.c: Likewise.
6512 * hurd/port2fd.c: Likewise.
6513
bcfe3a54
ST
65142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6515
6516 [BZ #3906]
6517 * bits/in.h (IPV6_PKTINFO): Define new macro.
6518 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6519
89c9aa49
AZ
65202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521
6522 [BZ #13954]
6523 [BZ #13955]
6524 [BZ #13956]
6525 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6527 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6530 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6531 * math/libm-test.inc (logb_test) : Additional logb tests.
6532
021db4be
AJ
65332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6534 Andreas Jaeger <aj@suse.de>
6535
6536 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6537 * configure: Regenerated.
6538 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6539 * config.make.in (link-obsolete-rpc): New substituted variable.
6540 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6541 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6542 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6543 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6544 so that libc.a contains the symbols.
6545 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6546 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6547 * sunrpc/auth_none.c: Likewise.
6548 * sunrpc/auth_unix.c: Likewise.
6549 * sunrpc/authdes_prot.c: Likewise.
6550 * sunrpc/authuxprot.c: Likewise.
6551 * sunrpc/clnt_gen.c: Likewise.
6552 * sunrpc/clnt_perr.c: Likewise.
6553 * sunrpc/clnt_raw.c: Likewise.
6554 * sunrpc/clnt_simp.c: Likewise.
6555 * sunrpc/clnt_tcp.c: Likewise.
6556 * sunrpc/clnt_udp.c: Likewise.
6557 * sunrpc/clnt_unix.c: Likewise.
6558 * sunrpc/des_crypt.c: Likewise.
6559 * sunrpc/des_soft.c: Likewise.
6560 * sunrpc/get_myaddr.c: Likewise.
6561 * sunrpc/key_call.c: Likewise.
6562 * sunrpc/key_prot.c: Likewise.
6563 * sunrpc/netname.c: Likewise.
6564 * sunrpc/pm_getmaps.c: Likewise.
6565 * sunrpc/pm_getport.c: Likewise.
6566 * sunrpc/pmap_clnt.c: Likewise.
6567 * sunrpc/pmap_prot.c: Likewise.
6568 * sunrpc/pmap_prot2.c: Likewise.
6569 * sunrpc/pmap_rmt.c: Likewise.
6570 * sunrpc/publickey.c: Likewise.
6571 * sunrpc/rpc_cmsg.c: Likewise.
6572 * sunrpc/rpc_common.c: Likewise.
6573 * sunrpc/rpc_dtable.c: Likewise.
6574 * sunrpc/rpc_prot.c: Likewise.
6575 * sunrpc/rpc_thread.c: Likewise.
6576 * sunrpc/rtime.c: Likewise.
6577 * sunrpc/svc.c: Likewise.
6578 * sunrpc/svc_auth.c: Likewise.
6579 * sunrpc/svc_raw.c: Likewise.
6580 * sunrpc/svc_run.c: Likewise.
6581 * sunrpc/svc_tcp.c: Likewise.
6582 * sunrpc/svc_udp.c: Likewise.
6583 * sunrpc/svc_unix.c: Likewise.
6584 * sunrpc/svcauth_des.c: Likewise.
6585 * sunrpc/xcrypt.c: Likewise.
6586 * sunrpc/xdr.c: Likewise.
6587 * sunrpc/xdr_array.c: Likewise.
6588 * sunrpc/xdr_float.c: Likewise.
6589 * sunrpc/xdr_intXX_t.c: Likewise.
6590 * sunrpc/xdr_mem.c: Likewise.
6591 * sunrpc/xdr_rec.c: Likewise.
6592 * sunrpc/xdr_ref.c: Likewise.
6593 * sunrpc/xdr_sizeof.c: Likewise.
6594 * sunrpc/xdr_stdio.c: Likewise.
6595
b5c086a2
RM
65962012-05-10 Roland McGrath <roland@hack.frob.com>
6597
6598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6599 change. Update copyright years.
6600
6d74dd09
JM
66012012-05-10 Joseph Myers <joseph@codesourcery.com>
6602
6603 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6604
28e72501
MK
66052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6606 Joseph Myers <joseph@codesourcery.com>
6607 Paul Pluzhnikov <ppluzhnikov@google.com>
6608
6609 [BZ #14012]
6610 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6611 requiring rpcgen.
6612 [cross-compiling] (extra-libs): Likewise.
6613 [cross-compiling] (extra-libs-others): Likewise.
6614 [cross-compiling] (librpcsvc-routines): Likewise.
6615 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6616 [cross-compiling] (omit-deps): Likewise.
6617 (sunrpc-CPPFLAGS): New variable.
6618 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6619 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6620 (cross-rpcgen-objs): New variable.
6621 (extra-objs): Append $(cross-rpcgen-objs).
6622 ($(cross-rpcgen-objs)): New rule.
6623 ($(objpfx)cross-rpcgen): Likewise.
6624 (rpcgen-cmd): Define to use $(built-program-file). Expand
6625 comment.
6626 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6627 ($(objpfx)x%.stmp): Likewise.
6628 * sunrpc/proto.h [IS_IN_build] (_): Define.
6629 [IS_IN_build] (_libc_intl_domainname): Likewise.
6630
c8c59454
L
66312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6632
6633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6634 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6635 and R_X86_64_TPOFF64.
6636
6f27cd16
JM
66372012-05-10 Joseph Myers <joseph@codesourcery.com>
6638
6639 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6640 sysdeps/unix/sysv/syscalls.list.
6641 (stime): Likewise.
6642 (utime): Likewise.
6643 * sysdeps/unix/sysv/syscalls.list: Remove file.
6644
02467e1c
PE
66452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6646
6647 [BZ #3440]
6648 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6649 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6650 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6651 (__LC_IDENTIFICATION): Make these macros useful in #if
6652 expressions, as required by C99.
6653
da392631
AS
66542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6655
6656 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6657 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6658 after this.
6659
8115f29b
L
66602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6661
6662 * stdlib/longlong.h: Updated from GCC.
6663
bdd74070
AJ
66642012-05-09 Andreas Jaeger <aj@suse.de>
6665
edfe0dbe
AJ
6666 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6667 default is first entry.
6668 (run_mode): Set type.
6669 (main): Remove informal message about syslog.
6670 (options): Fix typo.
6671
bcfe3a54
ST
6672 [BZ #14053]
6673 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6674 to asm.
bcfe3a54
ST
6675 (lrint): Likewise.
6676 (llrintf): Likewise.
6677 (llrint): Likewise.
6678 (rint): Likewise.
6679 (rintf): Likewise.
6680 (nearbyint): Likewise.
6681 (nearbyintf): Likewise.
bdd74070 6682
91d8d69e
AJ
66832012-05-09 Andreas Jaeger <aj@suse.de>
6684 Pedro Alves <palves@redhat.com>
6685
6686 * nscd/nscd.c (run_mode): Use enum.
6687 (main): Cleanup coding style issue.
6688
bb90b80b
AJ
66892012-05-09 Alexandre Oliva <aoliva@redhat.com>
6690 Andreas Jaeger <aj@suse.de>
6691
bcfe3a54
ST
6692 * nscd/nscd.c (go_background): Replaced with...
6693 (run_mode): ... this.
bb90b80b 6694 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6695 (options): Add -F --foreground.
6696 (main): Implement it.
6697 (parse_opt): Parse it.
bb90b80b 6698
1a4b75a1
AJ
66992012-05-09 Andreas Jaeger <aj@suse.de>
6700
6701 [BZ #14083]
6702 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6703 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6704 -Wconversion warning.
6705 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6706 Likewise.
6707
b1cc2472
JM
67082012-05-09 Joseph Myers <joseph@codesourcery.com>
6709
6710 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6711 == 0.
6712 (LC_ALL): Use macro-int-constant.
6713 (LC_COLLATE): Likewise.
6714 (LC_CTYPE): Likewise.
6715 (LC_MESSAGES): Likewise.
6716 (LC_MONETARY): Likewise.
6717 (LC_NUMERIC): Likewise.
6718 (LC_TIME): Likewise.
6719 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6720 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6722 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6723 Specify type.
6724 [C99-based standards] (float_t): Expect type.
6725 [C99-based standards] (double_t): Expect type.
6726 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6727 type.
6728 [C99-based standards] (HUGE_VALL): Likewise.
6729 [C99-based standards] (INFINITY): Likewise.
6730 [C99-based standards] (NAN): Likewise.
6731 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6732 [C99-based standards] (FP_NAN): Likewise.
6733 [C99-based standards] (FP_NORMAL): Likewise.
6734 [C99-based standards] (FP_SUBNORMAL): Likewise.
6735 [C99-based standards] (FP_ZERO): Likewise.
6736 [C99-based standards] (FP_FAST_FMA): Use
6737 optional-macro-int-constant. Specify type. Require == 1.
6738 [C99-based standards] (FP_FAST_FMAF): Likewise.
6739 [C99-based standards] (FP_FAST_FMAL): Likewise.
6740 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6741 [C99-based standards] (FP_ILOGBNAN): Likewise.
6742 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6743 Specify type.
6744 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6745 [C99-based standards] (math_errhandling): Specify type.
6746 [ISO99 || ISO11] (signgam): Do not allow.
6747 [non-C99-based standards] (copysignf): Do not allow.
6748 [non-C99-based standards] (exp2f): Likewise.
6749 [non-C99-based standards] (log2f): Likewise.
6750 [non-C99-based standards] (modff): Allow.
6751 [non-C99-based standards] (erff): Do not allow.
6752 [non-C99-based standards] (erfcf): Likewise.
6753 [non-C99-based standards] (gammaf): Likewise.
6754 [non-C99-based standards] (hypotf): Likewise.
6755 [non-C99-based standards] (j0f): Likewise.
6756 [non-C99-based standards] (j1f): Likewise.
6757 [non-C99-based standards] (jnf): Likewise.
6758 [non-C99-based standards] (lgammaf): Likewise.
6759 [non-C99-based standards] (tgammaf): Likewise.
6760 [non-C99-based standards] (y0f): Likewise.
6761 [non-C99-based standards] (y1f): Likewise.
6762 [non-C99-based standards] (ynf): Likewise.
6763 [non-C99-based standards] (isnanf): Likewise.
6764 [non-C99-based standards] (acoshf): Likewise.
6765 [non-C99-based standards] (asinhf): Likewise.
6766 [non-C99-based standards] (atanhf): Likewise.
6767 [non-C99-based standards] (cbrtf): Likewise.
6768 [non-C99-based standards] (expm1f): Likewise.
6769 [non-C99-based standards] (ilogbf): Likewise.
6770 [non-C99-based standards] (log1pf): Likewise.
6771 [non-C99-based standards] (logbf): Likewise.
6772 [non-C99-based standards] (nextafterf): Likewise.
6773 [non-C99-based standards] (remainderf): Likewise.
6774 [non-C99-based standards] (rintf): Likewise.
6775 [non-C99-based standards] (scalbf): Likewise.
6776 [non-C99-based standards] (copysignl): Likewise.
6777 [non-C99-based standards] (exp2l): Likewise.
6778 [non-C99-based standards] (log2l): Likewise.
6779 [non-C99-based standards] (modfl): Allow.
6780 [non-C99-based standards] (erfl): Do not allow.
6781 [non-C99-based standards] (erfcl): Likewise.
6782 [non-C99-based standards] (gammal): Likewise.
6783 [non-C99-based standards] (hypotl): Likewise.
6784 [non-C99-based standards] (j0l): Likewise.
6785 [non-C99-based standards] (j1l): Likewise.
6786 [non-C99-based standards] (jnl): Likewise.
6787 [non-C99-based standards] (lgammal): Likewise.
6788 [non-C99-based standards] (tgammal): Likewise.
6789 [non-C99-based standards] (y0l): Likewise.
6790 [non-C99-based standards] (y1l): Likewise.
6791 [non-C99-based standards] (ynl): Likewise.
6792 [non-C99-based standards] (isnanl): Likewise.
6793 [non-C99-based standards] (acoshl): Likewise.
6794 [non-C99-based standards] (asinhl): Likewise.
6795 [non-C99-based standards] (atanhl): Likewise.
6796 [non-C99-based standards] (cbrtl): Likewise.
6797 [non-C99-based standards] (expm1l): Likewise.
6798 [non-C99-based standards] (ilogbl): Likewise.
6799 [non-C99-based standards] (log1pl): Likewise.
6800 [non-C99-based standards] (logbl): Likewise.
6801 [non-C99-based standards] (nextafterl): Likewise.
6802 [non-C99-based standards] (remainderl): Likewise.
6803 [non-C99-based standards] (rintl): Likewise.
6804 [non-C99-based standards] (scalbl): Likewise.
6805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6806 [non-C99-based standards] (FP_*): Do not allow.
6807 [C99-based standards] (FP_*): Change to
6808 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6809 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6810 allow.
6811 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6812 (SIG_ERR): Likewise.
6813 [X/Open-based standards] (SIG_HOLD): Likewise.
6814 (SIG_IGN): Likewise.
6815 (SIGABRT): Use macro-int-constant. Specify type. Require
6816 positive value.
6817 (SIGFPE): Likewise.
6818 (SIGILL): Likewise.
6819 (SIGINT): Likewise.
6820 (SIGSEGV): Likewise.
6821 (SIGTER): Likewise.
6822 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6823 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6824 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6825 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6826 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6827 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6828 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6829 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6830 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6831 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6832 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6833 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6834 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6835 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6836 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6837 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6838 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6839 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6840 [X/Open-based standards] (SIGTRAP): Likewise.
6841 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6842 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6843 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6844 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6845 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6846 allow.
6847
b9f1922d
IW
68482012-05-08 Ian Wienand <ianw@vmware.com>
6849
6850 [BZ #14080]
6851 * time/tzset.c (__tzset_parse_tz): Update default rules for
6852 daylight time changes in the Energy Policy Act of 2005.
6853
1db86e88
AJ
68542012-05-09 Andreas Jaeger <aj@suse.de>
6855
6856 [BZ #13983]
6857 * elf/ldconfig.c (parse_conf): Change string to make clear that
6858 ldconfig only issued a warning if ld.so.conf does not exist.
6859
dee4a4e3
DM
68602012-05-08 David S. Miller <davem@davemloft.net>
6861
ee0db190
DM
6862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6863 movxtod instead of popping the value on the stack.
6864
dee4a4e3
DM
6865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6866
6a43ec98
CD
68672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6868
6869 * config.h.in: Add HAVE_ARM_PCS_VFP.
6870
05c2c961
RMG
68712012-05-08 Roland Mc Grath <roland@hack.frob.com>
6872
bcfe3a54
ST
6873 [BZ #13979]
6874 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6875 checking but the checks are disabled for any reason.
05c2c961 6876
4b30f61a
L
68772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6880 and ELF64_R_TYPE with ELFW(R_TYPE).
6881
eee2bc67
JM
68822012-05-08 Joseph Myers <joseph@codesourcery.com>
6883
7ea5391a
JM
6884 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6885 (ulimit): Likewise.
6886
eee2bc67
JM
6887 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6888 (settimeofday): Likewise.
6889
abb66a67
MF
68902012-05-08 Mike Frysinger <vapier@gentoo.org>
6891
6892 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6893 a struct th_u2 inside the union, and move tu_block/tu_code into
6894 a new th_u3 union of tu_block/tu_code inside of that. Move
6895 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6896 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6897 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6898 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6899 (th_stuff): Change to th_u1.tu_stuff.
6900 (th_data): Define.
6901 (th_msg): Change to th_u1.th_u2.tu_data.
6902
7f18b530
DM
69032012-05-07 David S. Miller <davem@davemloft.net>
6904
05760585
DM
6905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6906
7f18b530
DM
6907 [BZ #14074]
6908 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6909 (SETUP_PIC_REG): Use it.
6910 (SETUP_PIC_REG_LEAF): Use it.
6911
495fd99f
JM
69122012-05-07 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #13885]
6915 [BZ #13923]
6916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6917 USE_AS_EXPM1L.
6918 (EXPL_FINITE): Likewise.
6919 (FLDLOG): Likewise.
6920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6921 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6922 e_expl.S.
6923 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6924 USE_AS_EXPM1L.
6925 (EXPL_FINITE): Likewise.
6926 (FLDLOG): Likewise.
6927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6928 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6929 e_expl.S.
6930 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6931 test of -max_value argument for long double.
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6934
6693d694
DM
69352012-05-06 David S. Miller <davem@davemloft.net>
6936
6937 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6938 quad soft-float symbols whose references which are compiler
6939 generated.
6940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6941
6c23e11c
JM
69422012-05-06 Joseph Myers <joseph@codesourcery.com>
6943
d8b82cad
JM
6944 [BZ #13884]
6945 [BZ #13914]
6946 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6947 USE_AS_EXP10L.
6948 (EXPL_FINITE): Likewise.
6949 (FLDLOG): Likewise.
6950 (c0): Likewise.
6951 (c1): Likewise.
6952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6953 Adjust comments for base varying.
6954 (__expl_finite): Change alias to EXPL_FINITE.
6955 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6956 e_expl.S.
6957 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6958 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6960 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6962 USE_AS_EXP10L.
6963 (EXPL_FINITE): Likewise.
6964 (FLDLOG): Likewise.
6965 (c0): Likewise.
6966 (c1): Likewise.
6967 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6968 Adjust comments for base varying.
6969 (__expl_finite): Change alias to EXPL_FINITE.
6970 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6971 tests for bugs.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6973
6c23e11c
JM
6974 [BZ #14064]
6975 * math/libm-test.inc (check_float_internal): Correct ulp
6976 calculation for subnormal expected results.
6977
29ba805c
AJ
69782012-05-06 Andreas Jaeger <aj@suse.de>
6979
6980 * Makeconfig (+math-flags): New, set to -frounding-math.
6981 (+cflags): Add +math-flags so that all of glibc gets compiled with
6982 it.
6983
6984 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6985
7b17aeda
JM
69862012-05-05 Joseph Myers <joseph@codesourcery.com>
6987
5779f134
JM
6988 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6989 Disable one test.
6990
41498f4d
JM
6991 [BZ #13787]
6992 [BZ #13922]
6993 [BZ #14036]
6994 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6995 (__ieee754_expl): Allow for and saturate large arguments.
6996 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6997 (u_threshold): Likewise.
6998 (__exp): Call __ieee754_exp before checking for overflow and
6999 underflow.
7000 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7001 (u_threshold): Likewise.
7002 (__expf): Call __ieee754_expf before checking for overflow and
7003 underflow.
7004 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7005 (u_threshold): Likewise.
7006 (__expl): Call __ieee754_expl before checking for overflow and
7007 underflow.
7008 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7009 (__ieee754_expl): Allow for and saturate large arguments.
7010 * math/libm-test.inc (exp_test): Add another test. Do not allow
7011 missing overflow exception on overflow.
7012 (expm1_test): Do not allow missing overflow exception on overflow.
7013
6698b8bf
JM
7014 * sysdeps/i386/fpu/e_expl.c: Move to ...
7015 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7016 rather than using inline asm.
7017 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7018 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7019 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7020
7b17aeda
JM
7021 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7022 (nice): Likewise.
7023 (poll): Likewise.
7024 (signal): Likewise.
7025 (time): Likewise.
7026 (times): Likewise.
7027
f7c85819
JM
70282012-05-04 Joseph Myers <joseph@codesourcery.com>
7029
7030 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7031 sysdeps/unix/common/syscalls.list.
7032 (fchmod): Likewise.
7033 (fchown): Likewise.
7034 (ftruncate): Likewise.
7035 (getrusage): Likewise.
7036 (gettimeofday): Likewise.
7037 (setpgid): Likewise.
7038 (setregid): Likewise.
7039 (setreuid): Likewise.
7040 (sigaction): Likewise.
7041 (truncate): Likewise.
7042 (vhangup): Likewise.
7043 * sysdeps/unix/common/syscalls.list: Remove file.
7044 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7045 * sysdeps/unix/sysv/linux/Implies: Likewise.
7046
336270d0
L
70472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7051 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7052 Moved to ...
7053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7054 Here.
7055 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7056 to ...
7057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7058 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7059 to ...
7060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7061 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7062 to ...
7063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7065 to ...
7066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7067 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7068 to ...
7069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7070 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7071 to ...
7072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7073 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7074 to ...
7075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7076 Here.
7077 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7078 to ...
7079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7080 Here.
7081 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7082 to ...
7083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7085 Moved to ...
7086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7087 Here.
7088 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7089 to ...
7090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7091
d128e450
JM
70922012-05-04 Joseph Myers <joseph@codesourcery.com>
7093
fa8ee516
JM
7094 * sysdeps/unix/common/bits/dirent.h: Remove file.
7095 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7096
d128e450
JM
7097 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7098 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7099 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7100 * sysdeps/unix/bsd/isatty.c: Likewise.
7101 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7102 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7103 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7104
ff8faaf0 71052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7106
62881be4 7107 [BZ #13563]
31dc8730
AZ
7108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7109 long double comparison inaccuracies.
7110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7112
6fef930c
AS
71132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7114
7115 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7117
8f203e6c
JM
71182012-05-04 Joseph Myers <joseph@codesourcery.com>
7119
7120 [BZ #14049]
7121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7122 nonzero digits before rounding a hex value.
7123 * stdlib/tst-strtod.c (tests): Add another test.
7124
5197d9c2
AK
71252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7126
7127 * sysdeps/s390/fpu/libm-test-ulps: Update.
7128
f0c1dedf
AJ
71292012-05-03 Andreas Jaeger <aj@suse.de>
7130
7131 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7132 does not get optimized out.
7133 (malloc_opt_barrier): New.
7134
a65ef2ae 71352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7136 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7137
2b942cb7 7138 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7139 intermediate file deletion.
2b942cb7 7140 (generated): Add .symlist files.
a65ef2ae 7141
54b71e02
JM
71422012-05-03 Joseph Myers <joseph@codesourcery.com>
7143
7144 [BZ #13775]
7145 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7146 Redirect under this condition.
7147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7148 [__USE_GNU] (__dprintf_chk): Not under this condition.
7149 [__USE_GNU] (__vdprintf_chk): Likewise.
7150 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7151 under this condition.
7152 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7153 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7154 [__USE_XOPEN2K8] (vdprintf): Likewise.
7155 [__USE_GNU] (__dprintf_chk): Not under this condition.
7156 [__USE_GNU] (__vdprintf_chk): Likewise.
7157 [__USE_GNU] (dprintf): Likewise.
7158 [__USE_GNU] (vdprintf): Likewise.
7159
d3dfcc41
RM
71602012-05-03 Roland McGrath <roland@hack.frob.com>
7161
7162 * elf/Makefile (common-generated): Set this instead of generated for
7163 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7164 $(all-built-dso)-derived lists.
7165
7ac30cc5
AJ
71662012-05-03 Andreas Jaeger <aj@suse.de>
7167
0c51e550
AJ
7168 * sysdeps/i386/fpu/libm-test-ulps: Update.
7169
7ac30cc5
AJ
7170 * FAQ: Removed.
7171 * FAQ.in: Likewise.
7172 * scripts/gen-FAQ.pl: Likewise.
7173 * manual/install.texi (Installation): Point to online location of
7174 FAQ.
7175 * Makefile (files-for-dist): Remove FAQ.
7176 (FAQ): Remove.
7177
d4c2917f
AM
71782012-05-02 Allan McRae <allan@archlinux.org>
7179
7180 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7181 (LDFLAGS-reldepmod5.so): Likewise.
7182 (LDFLAGS-reldep6mod1.so): Likewise.
7183 (LDFLAGS-reldep6mod4.so): Likewise.
7184 (LDFLAGS-reldep8mod3.so): Likewise.
7185 (LDFLAGS-unload4mod1.so): Likewise.
7186 (LDFLAGS-unload4mod2.so): Likewise.
7187 (LDFLAGS-tst-initorder): Likewise.
7188 (LDFLAGS-tst-initordera2.so): Likewise.
7189 (LDFLAGS-tst-initordera3.so): Likewise.
7190 (LDFLAGS-tst-initordera4.so): Likewise.
7191 (LDFLAGS-tst-initorderb2.so): Likewise.
7192 (LDFLAGS-noload): Likewise.
7193 (LDFLAGS-next): Likewise.
7194 (LDFLAGS-order2mod1.so): Likewise.
7195 (LDFLAGS-order2mod2.so): Likewise.
7196 (LDFLAGS-tst-initorder2): Likewise.
7197 (LDFLAGS-tst-initorder2a.so): Likewise.
7198 (LDFLAGS-tst-initorder2b.so): Likewise.
7199 (LDFLAGS-tst-initorder2c.so): Likewise.
7200 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7201
d77f993f
DM
72022012-05-02 David S. Miller <davem@davemloft.net>
7203
7204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7205
171a70b4
PP
72062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7207
7208 [BZ #14055]
7209 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7210
0be196ad
AJ
72112012-05-02 Andreas Jaeger <aj@suse.de>
7212
7213 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7214 since we manipulate rounding mode.
7215 (CPPFLAGS-test-idouble.c): Likewise.
7216 (CPPFLAGS-test-ifloat.c): Likewise.
7217 (CFLAGS-test-ldouble.c): Likewise.
7218 (CFLAGS-test-double.c): Likewise.
7219 (CFLAGS-test-float.c): Likewise.
7220 (CFLAGS-test-misc.c): Likewise.
7221 (CFLAGS-test-test-fenv.c): Likewise.
7222
4f9d04aa
AZ
72232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7224
2b942cb7
RM
7225 [BZ #2550]
7226 [BZ #2570]
7227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7228 comparisons to determine direction to adjust input.
4f9d04aa 7229
82a79e7d
RM
72302012-05-01 Roland McGrath <roland@hack.frob.com>
7231
f5a01ca9
RM
7232 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7233 output to the target.
7234
90fe4186
RM
7235 * scripts/localplt.awk: New file.
7236 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7237 (check-localplt-CFLAGS): Variable removed.
7238 ($(all-built-dso:=.jmprel)): New static pattern rule.
7239 (generated): Add those targets.
7240 (localplt-built-dso): New variable.
7241 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7242
7243 * elf/check-localplt.c: File removed.
7244
82397ed6
RM
7245 * scripts/check-execstack.awk: New file.
7246 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7247 (check-execstack-CFLAGS): Variable removed.
7248 ($(objpfx)check-execstack.h): Target removed.
7249 ($(objpfx)execstack-default): New target.
7250 (generated): Add that instead of check-execstack.h.
7251 ($(all-built-dso:=.phdr)): New static pattern rule.
7252 (generated): Add those targets.
7253 * elf/check-execstack.c: File removed.
7254
82a79e7d
RM
7255 * scripts/check-textrel.awk: New file.
7256 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7257 (check-textrel-CFLAGS): Variable removed.
7258 (all-built-dso): Use := to define.o
7259 ($(all-built-dso:=.dyn)): New static pattern rule.
7260 (generated): Add those targets.
7261 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7262 * config.make.in (READELF): New substituted variable.
7263 * elf/check-textrel.c: File removed.
7264
62fde54f 72652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7266
615605c9
JM
7267 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7268 allow.
7269 * conform/data/ctype.h-data [C99-based standards] (isblank):
7270 Expect function.
7271 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7272 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7274 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7275 Specify type. Require positive value.
7276 (EILSEQ): Likewise.
7277 (ERANGE): Likewise.
7278 [ISO || POSIX] (EILSEQ): Do not expect.
7279 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7280 Specify type. Require positive value.
7281 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7288 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7317 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7324 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7336 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7337 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7338 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7339 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7343 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7344 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7345 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7346 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7349 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7350 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7351 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7352 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7353 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7354 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7355 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7356 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7357 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7358 Require >= 2.
7359 (FLT_ROUNDS): Expect as macro, not constant.
7360 (FLT_MANT_DIG): Use macro-int-constant.
7361 (DBL_MANT_DIG): Likewise.
7362 (LDBL_MANT_DIG): Likewise.
7363 (FLT_DIG): Likewise.
7364 (DBL_DIG): Likewise.
7365 (LDBL_DIG): Likewise.
7366 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7367 (DBL_MIN_EXP): Likewise.
7368 (LDBL_MIN_EXP): Likewise.
7369 (FLT_MAX_EXP): Use macro-int-constant.
7370 (DBL_MAX_EXP): Likewise.
7371 (LDBL_MAX_EXP): Likewise.
7372 (FLT_MAX_10_EXP): Likewise.
7373 (DBL_MAX_10_EXP): Likewise.
7374 (LDBL_MAX_10_EXP): Likewise.
7375 (FLT_MAX): Use macro-constant.
7376 (DBL_MAX): Likewise.
7377 (LDBL_MAX): Likewise.
7378 (FLT_EPSILON): Use macro-constant. Give upper bound.
7379 (DBL_EPSILON): Likewise.
7380 (LDBL_EPSILON): Likewise.
7381 (FLT_MIN): Likewise.
7382 (DBL_MIN): Likewise.
7383 (LDBL_MIN): Likewise.
7384 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7385 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7386 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7387 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7388 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7389 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7390 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7391 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7392 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7393 [ISO11] (FLT_TRUE_MIN): Likewise.
7394 [ISO11] (LDBL_TRUE_MIN): Likewise.
7395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7396 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7397 (SCHAR_MIN): Use macro-int-constant. Specify type.
7398 (SCHAR_MAX): Likewise.
7399 (UCHAR_MAX): Likewise.
7400 (CHAR_MIN): Likewise.
7401 (CHAR_MAX): Likewise.
7402 (MB_LEN_MAX): Use macro-int-constant.
7403 (SHRT_MIN): Use macro-int-constant. Specify type.
7404 (SHRT_MAX): Likewise.
7405 (USHRT_MAX): Likewise.
7406 (INT_MAX): Likewise.
7407 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7408 bound negative.
7409 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7410 bound with "U".
7411 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7412 bound with "L".
7413 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7414 bound negative. Suffix upper bound with "L".
7415 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7416 bound with "UL".
7417 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7418 Specify type.
7419 [C99-based standards] (LLONG_MAX): Likewise.
7420 [C99-based standards] (ULLONG_MAX): Likewise.
7421 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7422 == 0.
7423 [ISO11] (max_align_t): Require type.
7424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7425
c9140a62
JM
7426 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7427 from $CFLAGS, without defining away __attribute__ calls.
7428 (checknamespace): Use $CFLAGS_namespace.
7429
9af0bf29
JM
7430 * conform/conformtest.pl (@keywords): Only include C99 keywords
7431 for standards based on C99 or C11.
7432
343222a2
JM
7433 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7434 Disable tests.
7435 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7436 UNIX98]: Likewise.
7437
661f8cf0
JM
7438 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7439 usability of symbols in #if.
7440
ee74b9cb
JM
7441 * conform/conformtest.pl: If macro or constant types start
7442 "promoted:", expect the symbol to be of the following type
7443 promoted by the integer promotions.
62fde54f 7444
aafc49b3
JM
7445 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7446 in one place. Also handle "macro-constant".
7447
fefdf574
JM
7448 * conform/conformtest.pl: Only accept expected macro values with
7449 "==". Parse all "macro" lines in one place.
7450 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7451
f2d922fe
JM
7452 * conform/conformtest.pl: Handle braced types on "constant" lines
7453 instead of handling "typed-constant".
7454 * conform/data/signal.h-data: Use "constant" instead of
7455 "typed-constant".
7456
d22956c9
JM
7457 * conform/conformtest.pl: Handle "optional-" at start of lines in
7458 one place rather than duplicating several cases. Handle each
7459 format of "macro" line with initial "optional-".
7460
028e2e38
JM
7461 * conform/conformtest.pl: Only accept expected constant or
7462 optional-constant values with "==". Parse all "constant" lines in
7463 one place. Parse all "optional-constant" lines in one place.
7464 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7465 * conform/data/fmtmsg.h-data: Likewise.
7466 * conform/data/netinet/in.h-data: Likewise.
7467 * conform/data/tar.h-data: Likewise.
7468 * conform/data/limits.h-data: Use "==" form on "constant" and
7469 "optional-constant" lines.
7470
1b8f2850
JM
7471 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7472 Use -std=c99 for XOPEN2K.
7473 (@knownproblems): Remove.
7474 (newtoken): Don't check %isknown.
7475
a05a144b
JM
7476 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7477 Do not expect macro.
7478 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7490 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7491 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7508 [XPG3] (acosh): Likewise.
7509 [XPG3] (asinh): Likewise.
7510 [XPG3] (atanh): Likewise.
7511 [XPG3] (cbrt): Likewise.
7512 [XPG3] (expm1): Likewise.
7513 [XPG3] (ilogb): Likewise.
7514 [XPG3] (log1p): Likewise.
7515 [XPG3] (logb): Likewise.
7516 [XPG3] (nextafter): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7519 [XPG3] (remainder): Likewise.
7520 [XPG3] (rint): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7528 [UNIX98 || XOPEN2K] (scalb): Expect.
7529 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7530 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7604 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7605 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7606 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7607 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7608 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7609 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7610 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7611 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7612 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7613 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7614 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7615 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7616 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7617 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7618 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7619 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7620 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7621 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7622 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7623 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7624 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7625 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7626 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7627 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7628 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7629 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7630 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7631 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7632 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7633 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7634 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7635 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7636 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7637 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7638 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7639 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7640 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7641 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7642 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7643 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7644 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7645 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7657 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7658 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7659 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7660 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7661 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7662 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7663 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7664 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7665 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7666
73c5ebe3
JM
7667 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7668 _XOPEN_SOURCE_EXTENDED for XPG4.
7669
39c33b6c
JM
7670 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7671
62fde54f
JM
7672 * Makeconfig (localtime): Remove variable.
7673 (inst_localtime-file): Likewise.
7674
0741d64c
AS
76752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7676
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7678 Update.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7680 Update.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7682 Update.
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7684 Update.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7686 Update.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7688 Update.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7690 Update.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7692 Update.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7694 Update.
7695
7cb029ee
JM
76962012-05-01 Joseph Myers <joseph@codesourcery.com>
7697
7698 [BZ #2550]
7699 [BZ #2570]
7700 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7701 comparisons to determine direction to adjust input.
7702 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7703 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7705 Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7707 Likewise.
7708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7709 Likewise.
7710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7712 Likewise.
7713 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7714 Likewise.
7715 * math/libm-test.inc (nexttoward_test): Add more tests.
7716
412bd966
AS
77172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7718
7719 [BZ #14040]
7720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7721 in version GLIBC_2.1, not GLIBC_2.0.
7722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7723 Likewise.
7724
9568c0c2
JM
77252012-04-30 Joseph Myers <joseph@codesourcery.com>
7726
adfbc8ac
JM
7727 [BZ #13942]
7728 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7729 (1 - x) * (1 + x).
7730 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7731 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7732 * math/libm-test.inc (acos_test): Add more tests.
7733 (asin_test): Likewise.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
5ba3cc69
JM
7737 [BZ #14034]
7738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7739 of square root.
7740 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7741 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7742 * math/libm-test.inc (acos_test_tonearest): New function.
7743 (acos_test_towardzero): Likewise.
7744 (acos_test_downward): Likewise.
7745 (acos_test_upward): Likewise.
7746 (asin_test_tonearest): Likewise.
7747 (asin_test_towardzero): Likewise.
7748 (asin_test_downward): Likewise.
7749 (asin_test_upward): Likewise.
7750 (main): Call the new functions.
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7753
9568c0c2
JM
7754 [BZ #13884]
7755 [BZ #13924]
7756 * math/e_exp10.c: Include <float.h>.
7757 (__ieee754_exp10): Handle underflow here rather than multiplying
7758 large negative argument by M_LN10.
7759 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7760 of __ieee754_expf.
7761 * math/e_exp10l.c: Include <float.h>.
7762 (__ieee754_exp10l): Handle underflow here rather than multiplying
7763 large negative argument by M_LN10l.
7764 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7765 spurious overflow exception on underflow.
7766
5ac3ea17
MP
77672012-04-29 Marek Polacek <polacek@redhat.com>
7768
7769 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7770 (__fortify_function): New macro.
7771 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7772 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7773 __extern_always_inline.
7774 * libio/bits/stdio2.h: Likewise.
7775 * libio/bits/stdio.h: Likewise.
7776 * string/string.h: Likewise.
7777 * string/bits/string3.h: Likewise.
7778 * include/stdio.h: Likewise.
7779 * stdlib/bits/stdlib.h: Likewise.
7780 * stdlib/stdlib.h: Likewise.
7781 * rt/bits/mqueue2.h: Likewise.
7782 * rt/mqueue.h: Likewise.
7783 * posix/bits/unistd.h: Likewise.
7784 * posix/unistd.h: Likewise.
7785 * io/bits/poll2.h: Likewise.
7786 * io/bits/fcntl2.h: Likewise.
7787 * io/fcntl.h: Likewise.
7788 * io/sys/poll.h: Likewise.
7789 * misc/bits/syslog.h: Likewise.
7790 * misc/bits/syslog-ldbl.h: Likewise.
7791 * misc/sys/syslog.h: Likewise.
7792 * socket/bits/socket2.h: Likewise.
7793 * socket/sys/socket.h: Likewise.
7794 * debug/tst-chk1.c: Likewise.
7795 * wcsmbs/bits/wchar2.h: Likewise.
7796 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7797 * wcsmbs/wchar.h: Likewise.
7798
ecf0ebfb
AJ
77992012-04-29 Andreas Jaeger <aj@suse.de>
7800
7801 * Makerules (tests): Remove enable-check-abi protection.
7802 (check-abi-warn): Remove.
7803 (check-abi-%): Remove check-abi-warn usage.
7804
7805 * configure.in: Remove check-abi configure option.
7806 * configure: Regenerated.
7807 * config.make.in (enable-check-abi): Remove.
7808
6d5c57fa
AS
78092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7810
24c5d07e 7811 [BZ #14033]
ded5180a
AS
7812 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7813 double functions to double *_finite functions.
7814
7e0d315d
AS
7815 [BZ #13941]
7816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7817 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7818 LDBL_MIN_EXP.
7819 * stdio-common/Makefile (tests): Add tst-sprintf3.
7820 * stdio-common/tst-sprintf3.c: New file.
7821
6d5c57fa
AS
7822 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7823 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7824
0749ff8b
JM
78252012-04-28 Joseph Myers <joseph@codesourcery.com>
7826
7827 * conform/conformtest.pl: Remove duplicate typed-constant
7828 handling.
7829
8dbd5d7b
DM
78302012-04-28 David S. Miller <davem@davemloft.net>
7831
7832 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7833 (check-abi-%): Remove AWK script prerequisite and explicit
7834 abilist directory.
7835 (check-abi): Rewrite to just diff the symlist with the abilist.
7836 (config-tls, config-abi-config): Delete, no longer used.
7837 (update-abi-%): Remove AWK script and explicit abilist directory.
7838 (update-abi): Rewrite to simply compare and conditionally copy the
7839 symlist and the sysdep abilist file. Remove update-abi-config
7840 checks.
7841 * abilist/ld.abilist: Remove.
7842 * abilist/libBrokenLocale.abilist: Remove.
7843 * abilist/libanl.abilist: Remove.
7844 * abilist/libcrypt.abilist: Remove.
7845 * abilist/libdl.abilist: Remove.
7846 * abilist/librt.abilist: Remove.
7847 * abilist/libthread_db.abilist: Remove.
7848 * abilist/libutil.abilist: Remove.
7849 * scripts/extract-abilist.awk: Remove.
7850 * scripts/merge-abilist.awk: Remove.
7851 * sysdeps/generic/libcidn.abilist: New file.
7852 * sysdeps/generic/libnss_compat.abilist: New file.
7853 * sysdeps/generic/libnss_db.abilist: New file.
7854 * sysdeps/generic/libnss_dns.abilist: New file.
7855 * sysdeps/generic/libnss_files.abilist: New file.
7856 * sysdeps/generic/libnss_hesiod.abilist: New file.
7857 * sysdeps/generic/libnss_nis.abilist: New file.
7858 * sysdeps/generic/libnss_nisplus.abilist: New file.
7859 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7860 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7861 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7862 file.
7863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7864 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7865 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7866 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7867 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7868 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7869 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7870 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7871 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7872 file.
7873 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7874 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7875 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7876 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7877 file.
7878 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7880 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7881 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7882 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7883 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7884 file.
7885 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7886 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7888 file.
7889 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7891 New file.
7892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7893 New file.
7894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7895 New file.
7896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7897 New file.
7898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7899 New file.
7900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7901 New file.
7902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7903 New file.
7904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7905 New file.
7906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7907 New file.
7908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7909 New file.
7910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7911 New file.
7912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7913 New file.
7914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7915 New file.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7917 file.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7919 New file.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7921 New file.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7923 file.
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7925 New file.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7927 New file.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7929 file.
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7931 New file.
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7933 New file.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7935 New file.
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7937 New file.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7939 New file.
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7941 New file.
7942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7944 file.
7945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7946 New file.
7947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7948 file.
7949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7950 file.
7951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7952 file.
7953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7954 file.
7955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7956 file.
7957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7958 New file.
7959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7960 file.
7961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7962 file.
7963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7964 New file.
7965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7966 file.
7967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7969 file.
7970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7971 New file.
7972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7973 file.
7974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7975 file.
7976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7977 file.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7979 file.
7980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7981 file.
7982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7983 New file.
7984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7985 file.
7986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7987 file.
7988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7989 New file.
7990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7991 file.
7992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7993 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7995 file.
7996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7997 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7998 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7999 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8000 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8002 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8004 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8005 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8008 file.
8009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8010 New file.
8011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8012 file.
8013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8014 file.
8015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8016 file.
8017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8018 file.
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8020 file.
8021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8022 New file.
8023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8024 New file.
8025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8026 file.
8027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8028 New file.
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8030 file.
8031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8033 file.
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8035 New file.
8036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8037 file.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8039 file.
8040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8041 file.
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8043 file.
8044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8045 file.
8046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8047 New file.
8048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8049 New file.
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8051 file.
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8053 New file.
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8055 file.
8056
41d73a1b
JM
80572012-04-28 Joseph Myers <joseph@codesourcery.com>
8058
8059 * conform/conformtest.pl: Fix typo in handling typed-constant from
8060 allow-header.
8061
28aeeda4
JM
80622012-04-27 Joseph Myers <joseph@codesourcery.com>
8063
adae8f5e
JM
8064 * README: Cut down references to pre-2.6 Linux kernels and
8065 Linuxthreads. Update lists of configurations in libc and ports
8066 and sort alphabetically. Say "or newer" with Linux kernel version
8067 requirements.
8068
28aeeda4
JM
8069 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8070
a462cb63
RA
80712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8072
8073 [BZ #887]
8074 * math/libm-test.inc (logb_test_downward): New test to expose
8075 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8076 rounding mode.
8077
6ad3493e
JM
80782012-04-27 Joseph Myers <joseph@codesourcery.com>
8079
8080 [BZ #14027]
8081 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8082 to be done.
8083 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8084 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8085
2ce4f015
JM
80862012-04-26 Joseph Myers <joseph@codesourcery.com>
8087
5aeb141a
JM
8088 * sysdeps/unix/i386/brk.S: Remove file.
8089 * sysdeps/unix/i386/dl-brk.S: Likewise.
8090 * sysdeps/unix/i386/pipe.S: Likewise.
8091 * sysdeps/unix/i386/sigreturn.S: Likewise.
8092 * sysdeps/unix/i386/syscall.S: Likewise.
8093 * sysdeps/unix/i386/vfork.S: Likewise.
8094 * sysdeps/unix/i386/wait.S: Likewise.
8095
7143acae
JM
8096 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8097 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8098
2ce4f015
JM
8099 * configure.in (arm*-none*): Do not allow without
8100 --enable-hacker-mode.
8101 (netbsd*): Remove case setting base_os.
8102 (386bsd*): Likewise.
8103 (freebsd*): Likewise.
8104 (bsdi*): Likewise.
8105 (osf*): Likewise.
8106 (sunos*): Likewise.
8107 (ultrix*): Likewise.
8108 (newsos*): Likewise.
8109 (dynix*): Likewise.
8110 (*bsd*): Likewise.
8111 (sysv*): Likewise.
8112 (isc*): Likewise.
8113 (esix*): Likewise.
8114 (sco*): Likewise.
8115 (minix*): Likewise.
8116 (irix4*): Likewise.
8117 (irix6*): Likewise.
8118 (solaris[2-9]*): Likewise.
8119 (none): Likewise.
8120 * configure: Regenerated.
8121
0ac229c8
AZ
81222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8123
8124 [BZ #11521]
8125 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8126 overflow or cancellation in calculating denominator.
8127 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8129 down expression to avoid unexpected rounding in newer GCCs.
8130 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8131
33f244f4
DM
81322012-04-26 David S. Miller <davem@davemloft.net>
8133
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8135 long-double compat symbols.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8149
cfa1f3e8
DM
81502012-04-25 David S. Miller <davem@davemloft.net>
8151
8152 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8153 HWCAP_* values only after the memory barriers have been defined.
8154 (atomic_full_barrier): Define.
8155 (atomic_read_barrier): Define.
8156 (atomic_write_barrier): Define.
8157
6e236b92
SP
81582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
8160 * shlib-versions: Add libgcc_s version information.
8161 * sysdeps/generic/libgcc_s.h: Remove.
8162 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8163 libgcc_s.h.
8164 * sysdeps/gnu/unwind-resume.c: Likewise.
8165 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8166
aab39a09
DM
81672012-04-25 David S. Miller <davem@davemloft.net>
8168
8169 * sysdeps/unix/sparc/brk.S: Delete.
8170 * sysdeps/unix/sparc/dl-brk.S: Delete.
8171 * sysdeps/unix/sparc/pipe.S: Delete.
8172 * sysdeps/unix/sparc/sysdep.S: Delete.
8173 * sysdeps/unix/sparc/sysdep.h: Delete.
8174 * sysdeps/unix/sparc/vfork.S: Delete.
8175 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8176 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8178 ret_ERRVAL, r0, r1, MOVE): Define.
8179 (JUMPTARGET): Remove.
8180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8181 sysdeps/unix/sparc/sysdep.h
8182 (ENTRY, END): Remove.
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8184
a3cc4f48
JM
81852012-04-25 Joseph Myers <joseph@codesourcery.com>
8186
2ed8cda2
JM
8187 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8188 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8189 -DIS_IN_build.
8190
35d76d59
JM
8191 * timezone/README: Update upstream location and email address for
8192 tzcode and tzdata.
8193 * timezone/zdump.c: Update from tzcode 2012b.
8194 * timezone/zic.c: Likewise.
8195
a3cc4f48
JM
8196 * configure.in (libc_cv_as_needed): Remove test.
8197 * configure: Regenerated.
8198 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8199 conditional definition.
8200 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8201 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8202 * config.make.in (have-as-needed): Remove variable.
8203
ceab42c3
SP
82042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8205 Paul Pluzhnikov <ppluzhnikov@google.com>
8206
8207 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8208 strings correctly.
8209
3ce2865f
CLT
82102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8211
8212 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8213 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8214 * sysdeps/sh/strlen.S: Likewise.
8215
f37e0d68
JM
82162012-04-24 Joseph Myers <joseph@codesourcery.com>
8217
ae186e9a
JM
8218 * sysdeps/unix/fork.S: Remove file.
8219 * sysdeps/unix/i386/fork.S: Likewise.
8220 * sysdeps/unix/sparc/fork.S: Likewise.
8221
b96914af
JM
8222 * sysdeps/unix/system.c: Remove file.
8223 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8224
f37e0d68
JM
8225 * sysdeps/unix/getegid.S: Remove file.
8226 * sysdeps/unix/geteuid.S: Likewise.
8227
87ef29ca
RM
82282012-04-24 Roland McGrath <roland@hack.frob.com>
8229
83bcd236
RM
8230 * scripts/check-localplt.awk: New file.
8231 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8232 of diff.
8233 * scripts/data/localplt-generic.data: Add a comment.
8234
87ef29ca
RM
8235 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8236 NODE when __dir_mkfile failed.
8237 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8238 Reported by Ludovic Courtès <ludo@gnu.org>.
8239
e5a6e567
AJ
82402012-04-24 Andreas Jaeger <aj@suse.de>
8241
8242 * Makerules (common-clean): Also remove gen-as-const-headers
8243 files.
8244
c1820385
JM
82452012-04-24 Joseph Myers <joseph@codesourcery.com>
8246
8247 * Makerules (native-compile): Do not change working directory for
8248 build. Use $(OUTPUT_OPTION) in command.
8249 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8250
94e02fc4
AZ
82512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252
8253 [BZ #13886]
8254 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8255 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8256 * math/libm-test.inc (floor_test): Add more tests.
8257 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8258
3a533ca3
JM
82592012-04-24 Joseph Myers <joseph@codesourcery.com>
8260
940ab4b3
JM
8261 * sysdeps/unix/getdents.c: Remove file.
8262 * sysdeps/unix/sysv/getdents.c: Likewise.
8263 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8264
90e037bd
JM
8265 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8266 sysdeps/unix/mman/syscalls.list.
8267 (mmap): Likewise.
8268 (mprotect): Likewise.
8269 (msync): Likewise.
8270 (munmap): Likewise.
8271 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8272 * sysdeps/unix/mman/syscalls.list: Remove.
8273 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8274
3a533ca3
JM
8275 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8276 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8277 * configure: Regenerated.
8278 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8279 $(libgcc_s_suffix).
8280 * config.make.in (libgcc_s_suffix): Remove variable.
8281
1ad743de
JM
82822012-04-23 Joseph Myers <joseph@codesourcery.com>
8283
4ad451e2
JM
8284 * sysdeps/unix/sysv/gethostname.c: Move to ...
8285 * sysdeps/posix/gethostname.c: ... here.
8286
5e37ce39
JM
8287 * sysdeps/unix/execve.S: Remove file.
8288
1ad743de
JM
8289 * sysdeps/unix/_exit.S: Remove file.
8290
4e681b5b
AJ
82912012-04-23 Andreas Jaeger <aj@suse.de>
8292
8293 [BZ #13739]
8294 * manual/Makefile: Remove make dist support, there's no
8295 need for a stand-alone documentation tar ball.
8296 (TEXI2DVI): Define always, it's not in Makeconfig.
8297 (dist): Removed.
8298 (tar-it): Removed.
8299 (edition): Removed.
8300 (glibc-doc-$(edition).tar): Removed
8301 (%.Z): Removed.
8302 (%.gz): Removed.
8303 (%.uu): Removed.
8304 (ETAGS): Remove, it's in Makeconfig.
8305 (move-if-change): Remove, it's in Makeconfig.
8306
c0baea34
PE
83072013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8308
8309 [BZ #13970]
8310 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8311 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8312 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8313 (strtod_l, strtof_l, strtold_l): Remove __wur.
8314 It is not necessarily an error to ignore strtol's return value.
8315 One can reliably look at the stored endptr to decide whether
8316 the number had valid syntax.
8317
7c0616fa
AJ
83182012-04-21 Andreas Jaeger <aj@suse.de>
8319
803cb6b7 8320 [BZ #13739]
7c0616fa
AJ
8321 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8322
b0fe253f
JM
83232012-04-21 Joseph Myers <joseph@codesourcery.com>
8324
8325 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8326 * sysdeps/unix/sysv/Versions: Remove file.
8327
8280f22d
MT
83282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8329
8330 [BZ #13927]
8331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8332
75ce411f 83332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8334
8335 [BZ #7064]
8336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8337 version from __vm86.
8338
097d59fa
JM
83392012-04-20 Joseph Myers <joseph@codesourcery.com>
8340
a90f3bcb
JM
8341 * sysdeps/unix/common/lxstat.c: Remove file.
8342 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8343
edc7ea78
JM
8344 * sysdeps/unix/sysv/Makefile: Remove file.
8345
cb78c221
JM
8346 * sysdeps/unix/sysv/direct.h: Remove file.
8347
efa6a45f
JM
8348 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8349 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8350 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8351 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8352 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8353 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8354 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8355
9c9f2d0c
JM
8356 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8357
4541c83b
JM
8358 * sysdeps/unix/xmknod.c: Remove file.
8359 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8360
f5d153a0
JM
8361 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8362
aa746595
JM
8363 * sysdeps/unix/sysv/i386/time.S: Remove file.
8364
cce5905e
JM
8365 * sysdeps/unix/fxstat.c: Remove file.
8366 * sysdeps/unix/xstat.c: Likewise.
8367 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8368
37fa3841
JM
8369 * sysdeps/unix/sysv/sigaction.c: Remove file.
8370
ff1962a3
JM
8371 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8372 (sysdep_headers): Remove variable.
8373 [termio.h not in sysdep_headers] (generated): Likewise.
8374 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8375 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8376 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8377 * sysdeps/unix/sysv/tcflow.c: Likewise.
8378 * sysdeps/unix/sysv/tcflush.c: Likewise.
8379 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8380 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8381 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8382 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8383 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8384
e7740d31
JM
8385 * sysdeps/unix/siglist.c: Remove file.
8386
ee06f18b
JM
8387 * sysdeps/unix/getppid.S: Remove file.
8388
097d59fa
JM
8389 * sysdeps/unix/mkdir.c: Remove file.
8390 * sysdeps/unix/rmdir.c: Likewise.
8391
ff3d51ec
AS
83922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8393
8394 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8395 ERR_MAX value.
8396 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8397 errlist-compat value.
8398
50f81fd7
DM
83992012-04-18 David S. Miller <davem@davemloft.net>
8400
8401 * sysdeps/generic/memcopy.h (reg_char): Delete.
8402 * debug/strcat_chk.c: Use char, not reg_char.
8403 * debug/strcpy_chk.c: Likewise.
8404 * debug/strncat_chk.c: Likewise.
8405 * debug/strncpy_chk.c: Likewise.
8406 * string/memchr.c: Likewise.
8407 * string/memrchr.c: Likewise.
8408 * string/rawmemchr.c: Likewise.
8409 * string/strcat.c: Likewise.
8410 * string/strchr.c: Likewise.
8411 * string/strchrnul.c: Likewise.
8412 * string/strcmp.c: Likewise.
8413 * string/strcpy.c: Likewise.
8414 * string/strncat.c: Likewise.
8415 * string/strncmp.c: Likewise.
8416 * string/strncpy.c: Likewise.
8417
8ff41c46
WS
84182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8419
8420 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8421 __builtin_memcopy is called when src and dest ranges are known to not
8422 overlap.
8423
6b652f46
WS
84242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8425
8426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8427 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8428 fwd_align_merge macro call.
8429 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8430 bwd_align_merge macro call.
8431 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8432
b282631e
WS
84332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8434
8435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8436 bwd_align_merge macros.
8437 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8438 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8439 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8440
95aa737c
DM
84412012-04-18 David S. Miller <davem@davemloft.net>
8442
8443 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8444
7a99a614
AJ
84452012-04-18 Andreas Jaeger <aj@suse.de>
8446
8447 [BZ# 6794]
8448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8449 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8450 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8451
8452 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8453 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8454 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8455
8456 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8457 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8458 Adjust for changed ldbl-128 files.
8459
8460 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8461 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8462 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8463
e5270c23
DM
84642012-04-17 David S. Miller <davem@davemloft.net>
8465
8466 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8467
fb5e92c9
AS
84682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8469
8470 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8471 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8472 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8473 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8475 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8476
76da7265
AZ
84772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8478
8479 [BZ #6794]
8480 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8481 * math/libm-test.inc: Add ilogb errno and exception tests.
8482 * math/w_ilogb.c: New file: ilogb wrapper.
8483 * math/w_ilogbf.c: New file: ilogbf wrapper.
8484 * math/w_ilogbl.c: New file: ilogbl wrapper.
8485 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8486 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8487 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8488 exception being thrown with 0.0 as argument.
8489 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8490 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8491 exception being thrown with 0.0 as argument.
8492 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8493 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8494 exception being thrown with 0.0 as argument.
8495 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8496 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8497 exception being thrown with 0.0 as argument.
8498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8499 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8500 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8501 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8502 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8503 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8504 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8505 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8506 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8507
0396e69d
PB
85082012-04-17 Petr Baudis <pasky@ucw.cz>
8509
8510 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8511 with altivec.
8512
750b5926
MP
85132012-04-16 Marek Polacek <polacek@redhat.com>
8514
8515 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8516
751728a1
MP
85172012-04-16 Marek Polacek <polacek@redhat.com>
8518
8519 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8520 operands of fdivp instruction.
8521
34a27407
L
85222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8523
8524 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8525 * elf/tst-auditmod3b.c: Likewise.
8526 * elf/tst-auditmod4b.c: Likewise.
8527 * elf/tst-auditmod5b.c: Likewise.
8528 * elf/tst-auditmod6b.c: Likewise.
8529 * elf/tst-auditmod6c.c: Likewise.
8530 * elf/tst-auditmod7b.c: Likewise.
8531 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8532 * sysdeps/x86_64/preconfigure.in: Likewise.
8533 * sysdeps/x86_64/preconfigure: Regenerated.
8534
7e73e17d
L
85352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8538 __ILP32__.
8539
c7a6ab72
AB
85402012-04-13 Antoine Balestrat <merkil33@gmail.com>
8541
8542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8543 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8544
a9e8e0e0
CL
85452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8546
8547 [BZ #13973]
8548 * locale/iso-639.def: Fix gl language name. Spotted by
8549 Yaron Shahrabani.
8550
ec98af7d
RM
85512012-04-12 Roland McGrath <roland@hack.frob.com>
8552
8553 [BZ #2074]
8554 * libio/libio.h (__io_write_fn): Update comment.
8555
247c3ede
PB
85562012-04-12 Petr Baudis <pasky@ucw.cz>
8557
8558 [BZ #2074]
8559 * stdio.texi (Hook Functions): The user provided writer function
8560 is not allowed to return -1.
8561
55939d6d
DM
85622012-04-11 David S. Miller <davem@davemloft.net>
8563
8564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8565
90020f5a
MF
85662012-04-11 Mike Frysinger <vapier@gentoo.org>
8567
8568 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8569 Add a leading slash to rtkaio.
8570
288f9098
JM
85712012-04-11 Jim Meyering <meyering@redhat.com>
8572
90020f5a
MF
8573 [BZ #11959]
8574 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8575 It is not necessarily an error to ignore fwrite's return
8576 value. One can reliably use ferror to test for errors after
8577 the fact.
288f9098 8578
4be2b570
L
85792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * bits/types.h (__snseconds_t): New type.
8582 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8583
8584 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8586 (__SNSECONDS_T_TYPE): Likewise.
8587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8588 (__SNSECONDS_T_TYPE): Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8590 (__SNSECONDS_T_TYPE): Likewise.
8591
288f9098 85922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8593
8594 [BZ #2636]
8595 * manual/time.texi (Processor Time): Return type of times is
8596 elapsed real time since an arbitrary point in the past.
8597 (CPU Time): Move CLK_TCK from here...
8598 (Processor Time): ...to here. Correct description.
8599 * manual/conf.texi (Constants for Sysconf): Correct description of
8600 _SC_CLK_TCK.
8601
d7dd4413
DM
86022012-04-10 David S. Miller <davem@davemloft.net>
8603
8604 [BZ #13967]
8605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8606 where the is a gap between DT_REL(A) and DT_JMPREL.
8607
b46068fc
L
86082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8611 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8612 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8613
73d65cc3
SP
86142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8615
8616 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8617 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8618 (dl_main): Handle --inhibit-cache.
8619 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8620 _dl_inhibit_cache.
8621 * elf/dl-load.c (_dl_map_object): Use it.
8622 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8623
bcc8d661
JM
86242012-04-09 Joseph Myers <joseph@codesourcery.com>
8625
8f9a2fae
JM
8626 [BZ #13872]
8627 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8628 (__ieee754_powl): Saturate large exponents rather than testing for
8629 overflow of y*log2(x).
8630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8631 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8632 exceptions.
8633
bcc8d661
JM
8634 [BZ #11521]
8635 * math/s_ctan.c: Include <float.h>.
8636 (__ctan): Avoid internal overflow or cancellation in calculating
8637 denominator.
8638 * math/s_ctanf.c: Likewise.
8639 * math/s_ctanl.c: Likewise.
8640 * math/s_ctanh.c: Likewise.
8641 * math/s_ctanhf.c: Likewise.
8642 * math/s_ctanhl.c: Likewise.
8643 * math/libm-test.inc (ctan_test): Add more tests.
8644 (ctanh_test): Likewise.
8645 * sysdeps/i386/fpu/libm-test-ulps: Update.
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8647
823fbbb4
AJ
86482012-04-09 Andreas Jaeger <aj@suse.de>
8649
03879793
AJ
8650 [BZ #6894]
8651 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8652 is an optional BSD extension.
8653
823fbbb4
AJ
8654 [BZ #10254]
8655 * manual/stdio.texi (Opening Streams): Document additional fopen
8656 parameters.
8657
8de131cb
RM
86582012-04-09 Roland McGrath <roland@hack.frob.com>
8659
8660 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8661 %eax without telling the compiler.
8662
c0ed9d7d
CD
86632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8664
8665 [BZ # 13963]
8666 * manual/install.texi: Use sourceware.org.
8667
c483f6b4
JM
86682012-04-09 Joseph Myers <joseph@codesourcery.com>
8669
d7dd9453
JM
8670 [BZ #13873]
8671 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8672 (__ieee754_pow): Generate overflow and underflow using huge*huge
8673 and tiny*tiny rather than just returning constant infinity or zero
8674 for large exponents.
8675 * math/libm-test.inc (pow_test): Require overflow exceptions for
8676 applicable cases of large exponents.
8677
c483f6b4
JM
8678 [BZ #706]
8679 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8680 (__ieee754_pow): Use iterative multiplication algorithm only for
8681 integer exponents with absolute value below 1024. Check for odd
8682 integer exponents when using algorithm for real exponents.
8683 * math/libm-test.inc (pow_test): Add more tests.
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8685
d2de7579
JM
86862012-04-08 Joseph Myers <joseph@codesourcery.com>
8687
8688 [BZ #13705]
8689 * math/libm-test.inc (exp_test): Do not allow overflow exception
8690 on underflow test.
8691
f77f1232
AJ
86922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8693
8694 [BZ #13705]
8695 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8696 instead of __kernel_standard_f.
8697
3884932b
MF
86982012-04-08 Mike Frysinger <vapier@gentoo.org>
8699
8700 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8701 * sysdeps/x86_64/memset_chk.S: Likewise.
8702
54472e9c
AJ
87032012-04-08 Andreas Jaeger <aj@suse.de>
8704
6ab0fbfc
AJ
8705 [BZ #10153]
8706 * manual/startup.texi (Environment Access): Describe return value
8707 for putenv and setenv.
8708
61efba8c
AJ
8709 [BZ #6895]
8710 * manual/filesys.texi (Directory Entries): Add description for
8711 DT_LNK.
8712
95c3f29a
AJ
8713 [BZ #6890]
8714 * manual/filesys.texi (Directory Entries): Clarify that it's file
8715 system not operating system in the description of DT_UNKNOWN.
8716
54472e9c
AJ
8717 [BZ #6578]
8718 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8719
624254b1
SC
87202012-04-08 Stephen Compall <s11@member.fsf.org>
8721
8722 [BZ #6649]
8723 * manual/llio.texi (Opening and Closing Files): Add cross
8724 reference to explain mode argument.
8725
1e4920e0
MF
87262012-04-07 Mike Frysinger <vapier@gentoo.org>
8727
8728 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8729 * sysdeps/x86_64/memset_chk.S: Likewise.
8730
5ed848f3
DM
87312012-04-07 David S. Miller <davem@davemloft.net>
8732
8733 * elf/elf.h (R_SPARC_WDISP10): Define.
8734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8735 R_SPARC_SIZE32.
8736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8737 R_SPARC_SIZE64 and R_SPARC_H34.
8738
96154cd8
CD
87392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8740
8741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8742 conditions and remove no longer applicable assertion.
8743
9904dc47
L
87442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * bits/byteswap.h: Include <features.h>.
8747 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8748 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8749
f8887d0a
L
87502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 * bits/byteswap.h (__bswap_16): Removed.
8753 Include <bits/byteswap-16.h> to get __bswap_16.
8754 * sysdeps/i386/bits/byteswap.h: Likewise.
8755 * sysdeps/s390/bits/byteswap.h: Likewise.
8756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8757 * bits/byteswap-16.h: New file.
8758 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8759 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8760 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8761 * string/Makefile (headers): Add bits/byteswap-16.h.
8762
62470f60
PP
87632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8764
8765 [BZ #13895]
8766 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8767 extra indirection.
8768 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8769 * nss/tst-nss-static.c: New.
8770
4dad7bab
RM
87712012-04-06 Robert Millan <rmh@gnu.org>
8772
8773 [BZ #6486]
8774 * manual/llio.texi (File Position Primitive): lseek
8775 refers to WHENCE when it really means OFFSET.
8776
e9142a17
AJ
87772012-04-06 Andreas Jaeger <aj@suse.de>
8778
2c040eff
AJ
8779 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8780 strncmp declarations.
8781
e9142a17
AJ
8782 * abilist/libc.abilist: Add __poll and __ppoll.
8783
ff9f1c5f
DM
87842012-04-05 David S. Miller <davem@davemloft.net>
8785
dcd2ae90
DM
8786 * scripts/check-local-headers.sh: Accept a host triplet in the
8787 path matched by the exclude regexp.
8788
993eb054
DM
8789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8790 definition.
8791 * sysdeps/powerpc/powerpc32/dl-machine.h
8792 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8793 * sysdeps/s390/s390-32/dl-machine.h
8794 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8795 * sysdeps/sparc/sparc32/dl-machine.h
8796 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8797 * sysdeps/sparc/sparc64/dl-machine.h
8798 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8799
ff9f1c5f
DM
8800 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8801 lazy binding.
48e2e132 8802 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8803 undefined symbol errors.
8804
48e2e132 8805 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8806 DT_NEEDED entries.
8807
e80d6f94
MM
88082012-04-05 Michael Matz <matz@suse.de>
8809
8810 [BZ #13592]
8811 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8812
349fa79f
AJ
88132012-04-05 Andreas Jaeger <aj@suse.de>
8814
8815 [BZ #13908]
8816 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8817 comment.
8818
f402708f
KK
88192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8820
8821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8822 which ROUND is no valid rounding mode.
8823
2ecccfc9
KK
88242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8825
8826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8827 read again.
8828 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8829
8a53f50f
KK
88302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8831
8832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8833 an exception using FPU order intentionally.
8834
88352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8836
8837 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8838 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8839 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8840 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8841
d653abb7
SJ
88422012-04-05 Simon Josefsson <simon@josefsson.org>
8843
8844 [BZ #12340]
8845 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8846 EINVAL when BUFLEN is too smal.
8847
c3b1bf7d
TS
88482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8849
8850 [BZ #13553]
8851 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8852 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8853
b1aa60f3
AJ
88542012-04-03 Andreas Jaeger <aj@suse.de>
8855
c3b1bf7d 8856 [BZ #13938]
67f60a26
AJ
8857 * manual/setjmp.texi (System V contexts): Fix sentence.
8858
b1aa60f3
AJ
8859 [BZ #13926]
8860 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8861 New macro for this case.
8862 [!__GNUC__] (__bswap_64): New inline function for this case.
8863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8864 * bits/byteswap.h: Likewise.
8865 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8866 ull, guard with __GLIBC_HAVE_LONG_LONG.
8867
8868 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8869 __GLIBC_HAVE_LONG_LONG.
8870
8871 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8872 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8873
39c59c35
TMQMF
88742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8875
8876 [BZ #13691]
8877 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8878 inptr and inend, rather than using last_ch.
8879
135ffda8
DM
88802012-04-02 David S. Miller <davem@davemloft.net>
8881
8882 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8883 * stdio-common/printf-parse.h (read_int): Change return type to
8884 'int', return -1 on INT_MAX overflow.
8885 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8886 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8887 overflows INT_MAX. Check for overflow of in-format-string precision
8888 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8889 SIZE_MAX not INT_MAX for integer overflow test.
8890 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8891 skip the construct in the format string but do not record anything.
8892 * stdio-common/bug22.c: Adjust to test both width/prevision
8893 INT_MAX overflow as well as total length INT_MAX overflow. Check
8894 explicitly for proper errno values.
8895
228c019e
TS
88962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8897
302cadd3
TS
8898 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8899 CHAR_MAX.
8900 * string/test-strcmp.c [! WIDE]: Likewise.
8901 * time/tst-mktime2.c: Likewise for INT_MAX.
8902 * string/test-string.h: #include <sys/param.h> for MIN.
8903
228c019e
TS
8904 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8905 * sysdeps/i386/init-first.c (init): Likewise.
8906 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8907 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8908 * sysdeps/sh/init-first.c (init): Likewise.
8909
cfa633f5
UD
89102012-04-01 Ulrich Drepper <drepper@gmail.com>
8911
8912 * po/ru.po: Update from translation team.
d1635ef8 8913 * po/vi.po: Likewise.
cfa633f5 8914
6cd0a5ea
SP
89152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8916
8917 * resolv/nss_dns/dns-host.c: Merge copyright years.
8918
4b43400f
LD
89192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8920
8921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8922 Optimize memcpy with prefetch if
8923 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8924 src, dst pointers have unequal 16 byte alignments.
8925
48c41d04
SP
89262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8927
8928 [BZ #13928]
8929 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8930 from a CNAME entry and return the minimum ttl for the query.
8931 (gaih_getanswer_slice): Likewise.
8932
b8dc394d
JL
89332012-03-30 Jeff Law <law@redhat.com>
8934
8935 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8936 due to long keys.
8937 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8938 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8939
2f5a5ed0
JL
8940 * resolv/nss_dns/dns-host.c: Update copyright year.
8941
1d39e359
UD
89422012-03-30 Ulrich Drepper <drepper@gmail.com>
8943
c030f70c 8944 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8945 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8946
1d39e359
UD
8947 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8948 comments for sendmmsg.
8949
89502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8951
8952 [BZ #13691]
8953 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8954 with only 1 character between 0x0041 and 0x01b0.
8955 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8956 * wcsmbs/tst-mbsnrtowcs.c: New file.
8957
20fde227
DM
89582012-03-29 David S. Miller <davem@davemloft.net>
8959
8960 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8961 small copies by hand.
8962
984a4237
JL
89632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8964
8965 [BZ #13761]
8966 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8967 _nss_compat_initgroups_dyn): Fall back to malloc/free
8968 for large group memberships.
8969
18c9d62b
DM
89702012-03-28 David S. Miller <davem@davemloft.net>
8971
88d85d4f
DM
8972 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8973 that branches into memcpy.
8974 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8977 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8979 bits.
8980 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8981 implementation too.
8982 * sysdeps/sparc/mempcpy.S: New file.
8983
e5aa83e1
DM
8984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8985 the IFUNC routine in the libc case.
8986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8987
88570753
DM
8988 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8989 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8990 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8991 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8992 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8993 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8994 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8995 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8996
249d7567
DM
8997 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8998 loop to 256 bytes instead of 64 bytes and fix test signedness.
8999
18c9d62b
DM
9000 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9001 * sysdeps/sparc/sparc32/Makefile: rather than here...
9002 * sysdeps/sparc/sparc64/Makefile: and here.
9003
05f3d1f6
UD
90042012-03-28 Ulrich Drepper <drepper@gmail.com>
9005
9006 * malloc/mallocbug.c: Avoid warnings about unused variables.
9007
86ae07a8
JL
90082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9009
9010 [BZ #13760]
9011 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9012 in the right place. Discard and retry query if response is
9013 larger than input buffer size.
9014
41bf21a1
JM
90152012-03-28 Joseph Myers <joseph@codesourcery.com>
9016
d6270972
JM
9017 [BZ #369]
9018 [BZ #2678]
9019 [BZ #3866]
9020 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9021 x for large integer exponent.
9022 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9023 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9024 sign of result as needed afterwards.
9025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9026 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9027 result for underflowing pow the same as for overflow.
9028 (__kernel_standard_l): Handle powl overflow and underflow here
9029 rather than calling __kernel_standard.
9030 * math/libm-test.inc (pow_test): Add more tests.
9031
414fca03 9032 [BZ #3868]
41bf21a1
JM
9033 [BZ #13879]
9034 [BZ #13910]
9035 [BZ #13911]
9036 [BZ #13912]
9037 [BZ #13913]
9038 [BZ #13915]
9039 [BZ #13916]
9040 [BZ #13917]
9041 [BZ #13918]
9042 [BZ #13919]
9043 [BZ #13920]
9044 [BZ #13921]
9045 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9046 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9047 (__kernel_standard_l): New function.
9048 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9049 __kernel_standard.
9050 * math/w_acosl.c (__acosl): Likewise.
9051 * math/w_asinl.c (__asinl): Likewise.
9052 * math/w_atan2l.c (__atan2l): Likewise.
9053 * math/w_atanhl.c (__atanhl): Likewise.
9054 * math/w_coshl.c (__coshl): Likewise.
9055 * math/w_exp10l.c (__exp10l): Likewise.
9056 * math/w_exp2l.c (__exp2l): Likewise.
9057 * math/w_fmodl.c (__fmodl): Likewise.
9058 * math/w_hypotl.c (__hypotl): Likewise.
9059 * math/w_j0l.c (__j0l, __y0l): Likewise.
9060 * math/w_j1l.c (__j1l, __y1l): Likewise.
9061 * math/w_jnl.c (__jnl, __ynl): Likewise.
9062 * math/w_lgammal.c (__lgammal): Likewise.
9063 * math/w_log10l.c (__log10l): Likewise.
9064 * math/w_log2l.c (__log2l): Likewise.
9065 * math/w_logl.c (__logl): Likewise.
9066 * math/w_powl.c (__powl): Likewise.
9067 * math/w_remainderl.c (__remainderl): Likewise.
9068 * math/w_scalbl.c (sysv_scalbl): Likewise.
9069 * math/w_sinhl.c (__sinhl): Likewise.
9070 * math/w_sqrtl.c (__sqrtl): Likewise.
9071 * math/w_tgammal.c (__tgammal): Likewise.
9072 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9073 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9074 * math/libm-test.inc (acos_test): Add more tests.
9075 (acosh_test): Likewise.
9076 (asin_test): Likewise.
9077 (atanh_test): Likewise.
9078 (exp_test): Likewise.
9079 (exp10_test): Likewise.
9080 (exp2_test): Likewise.
9081 (expm1_test): Likewise.
9082 (lgamma_test): Likewise.
9083 (log_test): Likewise.
9084 (log10_test): Likewise.
9085 (log1p_test): Likewise.
9086 (log2_test): Likewise.
9087 (pow_test): Do not allow some spurious overflow exceptions.
9088 (sqrt_test): Add more tests.
9089 (tgamma_test): Likewise.
9090 (y0_test): Likewise.
9091 (y1_test): Likewise.
9092 (yn_test): Likewise.
9093
dd62fda6
AB
90942012-03-27 Anton Blanchard <anton@samba.org>
9095
9096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9097 MAP_HUGETLB.
9098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9099 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9101
1e3cdfda
AJ
91022012-03-27 David S. Miller <davem@davemloft.net>
9103
b855ab85
DM
9104 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9105
1e3cdfda
AJ
9106 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9107 have-as-vis3 check.
9108
91092012-03-27 Andreas Jaeger <aj@suse.de>
9110
9111 * sysdeps/x86_64/elf/configure.in: Moved to ...
9112 * sysdeps/x86_64/configure.in: ... here.
9113 * sysdeps/x86_64/elf/start.S: Moved to ...
9114 * sysdeps/x86_64/start.S: ... here.
9115 * sysdeps/x86_64/elf/configure: Delete.
9116
9117 * sysdeps/x86_64/configure.in: Merge contents from
9118 sysdeps/i386/configure.in (without i686 check).
9119
9120 * sysdeps/i386/elf/Versions: Merge into ...
9121 * sysdeps/i386/Versions: ... this.
9122 * sysdeps/i386/elf/Versions: Delete file.
9123 * sysdeps/i386/elf/start.S: Moved to ...
9124 * sysdeps/i386/start.S: ...here.
9125 * sysdeps/i386/elf/configure.in: Merge into...
9126 * sysdeps/i386/configure.in: ...here.
9127 * sysdeps/i386/elf/configure.in: Delete file.
9128 * sysdeps/i386/elf/configure: Delete file.
9129
9130 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9131 * debug/backtracesyms.c: ... here.
9132 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9133 * debug/backtracesymsfd.c: ... here.
9134 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9135 * sysdeps/generic/ifunc-sel.h: ... here.
9136
9137 * sysdeps/unix/i386/start.c: Delete file.
9138 * sysdeps/unix/sparc/start.c: Delete file.
9139 * sysdeps/unix/start.c: Delete file.
9140
9141 * sysdeps/sh/elf/configure.in: Moved to ...
9142 * sysdeps/sh/configure.in: ... here.
9143 * sysdeps/sh/elf/start.S: Moved to ...
9144 * sysdeps/sh/start.S: ... here.
9145 * sysdeps/sh/elf/configure: Delete file.
9146
9147 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9148 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9149 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9150 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9151 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9152 * sysdeps/powerpc/powerpc64/start.S: here.
9153 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9154 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9155 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9156 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9157 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9158
9159 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9160 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9161 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9162 * sysdeps/powerpc/powerpc32/start.S: ... here.
9163 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9164 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9165 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9166
9167 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9168 * sysdeps/powerpc/ifunc-sel.h: ... here.
9169 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9170 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9171
9172 * sysdeps/sparc/elf/configure.in: Moved to ...
9173 * sysdeps/sparc/configure.in: ... here.
9174 * sysdeps/sparc/elf/configure: Delete file.
9175 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9176 * sysdeps/sparc/sparc32/start.S: ... here.
9177 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9178 * sysdeps/sparc/sparc64/start.S: ... here.
9179 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9180 * sysdeps/sparc/sparc32/Makefile: ... this.
9181 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9182 * sysdeps/sparc/sparc64/Makefile: ... this.
9183
9184 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9185 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9186 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9187 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9188 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9189 * sysdeps/s390/s390-32/setjmp.S: ... here.
9190 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9191 * sysdeps/s390/s390-32/configure.in: ... here.
9192 * sysdeps/s390/s390-32/elf/configure: Delete file.
9193 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9194 * sysdeps/s390/s390-32/start.S: ... here.
9195
9196 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9197 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9198 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9199 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9200 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9201 * sysdeps/s390/s390-64/setjmp.S: ... here.
9202 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9203 * sysdeps/s390/s390-64/configure.in: ... here
9204 * sysdeps/s390/s390-64/elf/configure: Delete file.
9205 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9206 * sysdeps/s390/s390-64/start.S: ... here.
9207 * sysdeps/s390/s390-64/elf/configure: Delete.
9208
9209 * configure.in: Remove support for elf directories in sysdeps.
9210
9211 * configure: Regenerated.
9212 * sysdeps/i386/configure: Regenerated.
9213 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9214 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9215 * sysdeps/s390/s390-32/configure: Regenerated.
9216 * sysdeps/s390/s390-64/configure: Regenerated.
9217 * sysdeps/sh/configure: Regenerated.
9218 * sysdeps/sparc/configure: Regenerated.
9219 * sysdeps/x86_64/configure: Regenerated.
9220
a3f61311
AS
92212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9222
c876e002
AS
9223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9224
a3f61311
AS
9225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9226 denormal result into account.
9227
ac4c54f0
RM
92282012-03-25 Roland McGrath <roland@hack.frob.com>
9229
9230 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9231 Reported by Allan McRae <allan@archlinux.org>.
9232
6a9b9c02
JL
92332012-03-23 Jeff Law <law@redhat.com>
9234
9235 * nss/getnssent.c (__nss_getent): Fix typo.
9236
4c42a0c1
DM
92372012-03-23 David S. Miller <davem@davemloft.net>
9238
9239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9240
1532c7ac
L
92412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9244 to pad to uint64_t for each field.
9245 (dl_tls_index): Replace unsigned long with uint64_t.
9246
3ff42526
PP
92472012-03-23 Daniel Jacobowitz <dmj@google.com>
9248 Paul Pluzhnikov <ppluzhnikov@google.com>
9249
9250 [BZ #6528]
9251 * grp/Makefile (otherlibs): Don't set it.
9252 * inet/Makefile (otherlibs): Likewise.
9253 * login/Makefile (otherlibs): Likewise.
9254 * nscd/Makefile (otherlibs): Likewise.
9255 * posix/Makefile (otherlibs): Likewise.
9256 * pwd/Makefile (otherlibs): Likewise.
9257 * rt/Makefile (otherlibs): Likewise.
9258 * sunrpc/Makefile (otherlibs): Likewise.
9259 * nss/Makefile (otherlibs): Likewise.
9260 Add libnss_files to routines and static-only-routines.
9261 ($(objpfx)getent): Remove rule.
9262 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9263 static-only-routines.
9264
7c69cd14
JM
92652012-03-22 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #13892]
9268 * math/s_cexp.c: Include <float.h>.
9269 (__cexp): Handle exp result overflowing not necessarily
9270 overflowing both real and imaginary parts of result.
9271 * math/s_cexpf.c: Likewise.
9272 * math/s_cexpl.c: Likewise.
9273 * math/libm-test.inc (cexp_test): Add more tests.
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9276
81b035fe
L
92772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9278
9279 * include/link.h (ELFW): New macro.
9280 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9281 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9282
1da7940c
L
92832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9286 with uint64_t.
9287
b749dbb9
L
92882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9289
9290 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9291 declaration.
9292 (struct La_x32_retval): Likewise.
9293
2ff87f3f
L
92942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9295
9296 * sysdeps/x86_64/preconfigure.in: New file.
9297 * sysdeps/x86_64/preconfigure: New generated file.
9298
c0df8e69
JM
92992012-03-22 Joseph Myers <joseph@codesourcery.com>
9300
48e44791
JM
9301 [BZ #13824]
9302 * math/e_exp2l.c: Include <float.h>.
9303 (__ieee754_exp2l): Handle overflow and underflow cases
9304 separately. Only pass fractional part of argument to
9305 __ieee754_expl.
9306 * math/libm-test.inc (exp2_test): Add more tests.
9307
c0df8e69
JM
9308 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9309 negating x to take absolute value.
9310 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9311 Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9314 Likewise.
9315 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9316 computing low part if x was negated.
9317 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9318
c8e43ba7
L
93192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9322 la_x32_gnu_pltexit.
9323 (pltexit): Cast int_retval to ptrdiff_t.
9324 * elf/tst-auditmod3b.c: Likewise.
9325 * elf/tst-auditmod4b.c: Likewise.
9326 * elf/tst-auditmod5b.c: Likewise.
9327 * elf/tst-auditmod6b.c: Likewise.
9328 * elf/tst-auditmod6c.c: Likewise.
9329 * elf/tst-auditmod7b.c: Likewise.
9330
9331 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9332 and x32_gnu_pltexit.
9333
9334 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9335 __ELF_NATIVE_CLASS.
9336 (La_x32_regs): New macro.
9337 (La_x32_retval): Likewise.
9338 (la_x32_gnu_pltenter): New function prototype.
9339 (la_x32_gnu_pltexit): Likewise.
9340
7998fa78
AS
93412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9342
dcb33988
AS
9343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9344 exponent.
9345
233fc563
AS
9346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9347
7998fa78
AS
9348 * configure.in (libc_cv_cc_nofma): Check for option to disable
9349 generation of FMA instructions.
9350 * configure: Regenerate.
9351 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9352 * sysdeps/ieee754/dbl-64/Makefile: New file.
9353 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9354 Remove brandred-fma4.
9355 (CFLAGS-brandred-fma4.c): Remove.
9356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9358 define.
9359 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9360 define.
9361
8e95c99a
L
93622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9363
9364 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9365 LLONG_MAX != LONG_MAX.
9366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9367 (_fitoa_word): Likewise.
9368 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9369 LLONG_MAX != LONG_MAX.
9370 * stdio-common/_itowa.h: Include <_itoa.h>.
9371 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9372 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9373 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9374 only if not defined.
9375 (_ITOA_WORD_TYPE): Likewise.
9376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9377 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9378
6f4db457
DM
93792012-03-21 David S. Miller <davem@davemloft.net>
9380
9381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9382
7785fe5a
L
93832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9384
9385 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9386 of x86_64 when setting libc_cv_slibdir, libdir and
9387 libc_cv_localedir.
9388 * sysdeps/unix/sysv/linux/configure: Regenerated.
9389
4535cd55
JM
93902012-03-21 Joseph Myers <joseph@codesourcery.com>
9391
9392 * manual/lang.texi (Old Varargs): Remove section.
9393 (How Variadic): Update menu.
9394 (va_start): Do not mention varargs.h.
9395
17228132
TS
93962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9397 Joseph Myers <joseph@codesourcery.com>
9398
9399 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9400 link test.
9401 * configure: Regenerated.
9402
8149f976
TS
94032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9404
05f3d1f6
UD
9405 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9406 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9407 conformtest.pl
8149f976 9408
1a4ac776
JM
94092012-03-21 Joseph Myers <joseph@codesourcery.com>
9410
be22ce65
JM
9411 * NOTES: Remove.
9412 * Makefile (files-for-dist): Remove NOTES.
9413 (NOTES): Remove rule.
9414 * README: Don't refer to NOTES.
9415 * manual/creature.texi: Don't include macros.texi.
9416 * manual/intro.texi (creature.texi): Remove comment referring to
9417 NOTES.
9418
40b601fb
JM
9419 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9420 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9421 * configure: Regenerated.
9422 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9423 LIBC_TRY_CC_OPTION.
9424 (libc_cv_as_i686): Likewise.
9425 (libc_cv_cc_avx): Likewise.
9426 (libc_cv_cc_sse2avx): Likewise.
9427 (libc_cv_cc_fma4): Likewise.
9428 (libc_cv_cc_novzeroupper): Likewise.
9429 * sysdeps/i386/configure: Regenerated.
9430
1a4ac776
JM
9431 [BZ #13883]
9432 * sysdeps/i386/fpu/s_cexp.S: Remove.
9433 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9435 * math/libm-test.inc (cexp_test): Add more tests.
9436 * sysdeps/i386/fpu/libm-test-ulps: Update.
9437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9438
a458e7fe
AM
94392012-03-21 Allan McRae <allan@archlinux.org>
9440
9441 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9442
0cb7efc5
JM
94432012-03-21 Joseph Myers <joseph@codesourcery.com>
9444
9445 [BZ #13871]
9446 * math/w_exp2.c: Do not include <float.h>.
9447 (o_threshold, u_threshold): Remove.
9448 (__exp2): Calculate result before checking finiteness and calling
9449 __kernel_standard.
9450 * math/w_exp2f.c: Likewise.
9451 * math/w_exp2l.c: Likewise.
9452 * math/libm-test.inc (exp2_test): Require overflow exception for
9453 1e6 input.
2460d3aa
JM
9454
9455 [BZ #3866]
9456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9457 range of signed 64-bit integers before using fistpll. Remove
9458 checks for whether integers fit in mantissa bits.
9459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9460 the range of signed 32-bit integers before using fistpl. Remove
9461 checks for whether integers fit in mantissa bits.
9462 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9463 (__ieee754_powl): Test for y outside the range of signed 64-bit
9464 integers before using fistpll. Reduce 64-bit values to 63-bit
9465 ones as needed.
9466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9467 divide-by-zero is raised for zero to large negative powers.
9468 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9469 (__ieee754_powl): Test for y outside the range of signed 64-bit
9470 integers before using fistpll. Reduce 64-bit values to 63-bit
9471 ones as needed.
9472 * math/libm-test.inc (pow_test): Add more tests.
9473
eb96ffb0
L
94742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9477 <stdio-common/_itoa.h>.
9478 * debug/segfault.c: Likewise.
9479 * elf/dl-cache.c: Likewise.
9480 * elf/dl-minimal.c: Likewise.
9481 * elf/dl-misc.c: Likewise.
9482 * elf/dl-sysdep.c: Likewise.
9483 * elf/dl-version.c: Likewise.
9484 * elf/rtld.c: Likewise.
9485 * hurd/hurdsock.c: Likewise.
9486 * hurd/lookup-retry.c: Likewise.
9487 * malloc/malloc.c: Likewise.
9488 * malloc/mtrace.c: Likewise.
9489 * nscd/nscd_getgr_r.c: Likewise.
9490 * nscd/nscd_getpw_r.c: Likewise.
9491 * nscd/nscd_getserv_r.c: Likewise.
9492 * posix/getopt_init.c: Likewise.
9493 * posix/wordexp.c: Likewise.
9494 * stdio-common/_itoa.c: Likewise.
9495 * stdio-common/printf_fphex.c: Likewise.
9496 * stdio-common/vfprintf.c: Likewise.
9497 * string/_strerror.c: Likewise.
9498 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9499 * sysdeps/i386/i686/hp-timing.h: Likewise.
9500 * sysdeps/mach/_strerror.c: Likewise.
9501 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9502 * sysdeps/mach/hurd/sethostid.c: Likewise.
9503 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9504 * sysdeps/mach/xpg-strerror.c: Likewise.
9505 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9507 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9508 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9510 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9511 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9512 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9513 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9514 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9515 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9516 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9517 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9520 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9522 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9525 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9526
9527 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9528
9529 * stdio-common/_itoa.h: Moved to ...
9530 * sysdeps/generic/_itoa.h: Here.
9531
9532 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9533
9534 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9535 instead of "_itoa.h" and "_itowa.h".
9536 * stdio-common/vfprintf.: Likewise.
9537
d1af992d
L
95382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9541 <bits/wordsize.h>.
9542 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9543 (__signbit): Likwise.
9544 (llrintf): Likwise.
9545 (llrint): Likwise.
9546
114883e0
L
95472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9550 __WORDSIZE != 64.
9551
c135cc1b
JM
95522012-03-20 Joseph Myers <joseph@codesourcery.com>
9553
9554 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9555 OVERFLOW_EXCEPTION_OK.
9556 * math/libm-test.inc ("Philosophy"): Update comment about
9557 exception testing.
9558 (OVERFLOW_EXCEPTION): Define.
9559 (OVERFLOW_EXCEPTION_OK): Likewise.
9560 (INVALID_EXCEPTION_OK): Renumber.
9561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9562 (IGNORE_ZERO_INF_SIGN): Likewise.
9563 (test_exceptions): Handle FE_OVERFLOW.
9564 (exp10_test): Expect overflow exceptions.
9565 (exp2_test): Likewise.
9566 (expm1_test): Likewise.
9567 (nextafter_test): Likewise.
9568 (pow_test): Likewise.
9569 (scalbn_test): Likewise.
9570 (scalbln_test): Likewise.
9571
95443d88
L
95722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9573
9574 * sysdeps/x86_64/bits/atomic.h
9575 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9576 64bit integer.
9577 (atomic_exchange_acq): Likewise.
9578 (__arch_exchange_and_add_body): Likewise.
9579 (__arch_add_body): Likewise.
9580 (atomic_add_negative): Likewise.
9581 (atomic_add_zero): Likewise.
9582
490df6c4
L
95832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9584
c2722551 9585 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9586 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9587
5e52b189
L
95882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9589
9590 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9591 Check __x86_64__ instead of __WORDSIZE.
9592
a9879d4c
L
95932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9594
9595 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9596
5df98260
DM
95972012-03-19 David S. Miller <davem@davemloft.net>
9598
e1497744
DM
9599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9600
5df98260
DM
9601 * sysdeps/sparc/fpu/fenv_private.h: New file.
9602 * sysdeps/sparc/fpu/math_private.h: Use it.
9603 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9604 Remove.
9605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9606 (libc_feholdexcept_setroundl): Remove.
9607 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9608 Remove.
9609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9611
b4c35121
L
96122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9615 int64_t instead of long int.
9616 (INSERT_WORDS64): Likwise.
9617
56965fd7
L
96182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9621 _Unwind_GetCFA return to _Unwind_Ptr first.
9622
83d1aec8
JM
96232012-03-19 Joseph Myers <joseph@codesourcery.com>
9624
1897ad44
JM
9625 [BZ #13629]
9626 * math/s_clog.c: Include <float.h>.
9627 (__clog): Scale large or subnormal inputs.
9628 * math/s_clogf.c: Likewise.
9629 * math/s_clogl.c: Likewise.
9630 * math/s_clog10.c: Include <float.h>.
9631 (M_LOG10_2): Define.
9632 (__clog10): Scale large or subnormal inputs.
9633 * math/s_clog10f.c: Likewise.
9634 * math/s_clog10l.c: Likewise.
9635 * math/libm-test.inc (clog_test): Add more tests.
9636 (clog10_test): Likewise.
9637 * sysdeps/i386/fpu/libm-test-ulps: Update.
9638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9639
7726d6a9
JM
9640 [BZ #11451]
9641 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9642 x and y.
9643 * math/libm-test.inc (atan2_test): Add another test.
9644
83d1aec8
JM
9645 * Makerules (common-objdir-compile): Remove.
9646 * sysdeps/unix/Makefile (config-generated): Do not add
9647 $(unix-generated) to variable.
9648 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9649 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9650 Remove rule.
9651 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9652 Likewise.
9653 [generic bits/local_lim.h] (before-compile): Do not append to
9654 variable.
9655 [generic bits/local_lim.h] (common-generated): Likewise.
9656 [generic sys/param.h] (before-compile): Do not append to variable.
9657 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9658 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9659 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9660 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9661 include.
9662 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9663 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9664 [generic sys/param.h] ($(addprefix
9665 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9666 [generic sys/param.h] (common-generated): Do not append to
9667 variable.
9668 [generic sys/param.h] (sysdep_headers): Likewise.
9669 [generic bits/errno.h] (before-compile): Do not append to
9670 variable.
9671 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9672 rule.
9673 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9674 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9675 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9676 [generic bits/errno.h] (common-generated): Do not append to
9677 variable.
9678 [generic bits/ioctls.h] (before-compile): Do not append to
9679 variable.
9680 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9681 rule.
9682 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9683 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9684 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9685 rule.
9686 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9687 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9688 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9689 [generic bits/ioctls.h] (common-generated): Do not append to
9690 variable.
9691 [generic sys/syscall.h] (syscall.h): Remove variable.
9692 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9693 rule.
9694 [generic sys/syscall.h] (before-compile): Do not append to
9695 variable.
9696 [generic sys/syscall.h] (common-generated): Likewise.
9697 * sysdeps/unix/errnos-tmpl.c: Remove file.
9698 * sysdeps/unix/errnos.awk: Likewise.
9699 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9700 * sysdeps/unix/ioctls.awk: Likewise.
9701 * sysdeps/unix/mk-local_lim.c: Likewise.
9702 * sysdeps/unix/snarf-ioctls: Likewise.
9703
4851a949
RH
97042012-03-19 Richard Henderson <rth@twiddle.net>
9705
bd37f2ee
RH
9706 * sysdeps/i386/fpu/fenv_private.h: New file.
9707 * sysdeps/i386/fpu/math_private.h: Use it.
9708 (math_opt_barrier, math_force_eval): Remove.
9709 (libc_feholdexcept_setround_53bit): Remove.
9710 (libc_feupdateenv_53bit): Remove.
9711 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9712 (math_opt_barrier, math_force_eval): Remove.
9713 (libc_feholdexcept): Remove.
9714 (libc_feholdexcept_setround): Remove.
9715 (libc_fetestexcept, libc_fesetenv): Remove.
9716 (libc_feupdateenv_test): Remove.
9717 (libc_feupdateenv, libc_feholdsetround): Remove.
9718 (libc_feresetround): Remove.
9719
d0adc922
RH
9720 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9721 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9722
0fe0f1f8
RH
9723 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9724 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9725 (libc_feupdateenv_testl): New.
9726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9727 (libc_feupdateenv_testf): New.
9728 (libc_feupdateenv): Use libc_feupdateenv_test.
9729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9731
eb92c487
RH
9732 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9733 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9734 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9735 (libc_feresetround_noex): New.
9736 (libc_feresetround_noexf): New.
9737 (libc_feresetround_noexl): New.
9738 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9739 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9740 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9742 SET_RESTORE_ROUND.
9743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9745 (__cos): Likewise.
9746 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9747 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9748 SET_RESTORE_ROUND_NOEX.
9749 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9750 SET_RESTORE_ROUND_NOEXF.
9751 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9752 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9753 (libc_feholdsetroundf): New.
9754 (libc_feresetround, libc_feresetroundf): New.
9755
7d2e8012
RH
9756 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9757 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9758 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9759
b4dabbb4
RH
9760 * sysdeps/generic/math_private.h: Include <fenv.h>.
9761 (default_libc_feholdexcept): New.
9762 (default_libc_feholdexcept_setround): New.
9763 (default_libc_fesetenv, default_libc_feupdateenv): New.
9764 (libc_feholdexcept): Only define if undefined.
9765 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9767 (libc_feholdexcept_setroundl): Likewise.
9768 (libc_feholdexcept_setround_53bit): Likewise.
9769 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9772 (libc_feupdateenv_53bit): Likewise.
9773 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9774 (libc_feholdexcept): Convert from macro to inline function.
9775 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9776 (libc_fesetenv, libc_feupdateenv): Likewise.
9777
4851a949
RH
9778 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9779 not previously defined.
9780 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9781 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9782 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9784 * sysdeps/ieee754/flt-32/math_private.h: New file.
9785 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9786 math_private.h below SET_FLOAT_WORD.
9787 (__isnan, __isinf_ns, __finite): Remove.
9788 (__isnanf, __isinf_nsf, __finitef): Remove.
9789
e79d442e
AS
97902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9791
9792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9793
90b80344
DM
97942012-03-17 David S. Miller <davem@davemloft.net>
9795
9796 [BZ #6471]
9797 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9798 for 2.16.
9799
edc21804
DM
98002012-03-16 David S. Miller <davem@davemloft.net>
9801
77e927af
DM
9802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9803 warnings.
9804
374976dd
DM
9805 [BZ #6471]
9806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9807 properly.
9808 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9809 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9810 sysdep_routines when subdir is sysvipc.
9811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9812 __getshmlba helper.
9813
edc21804
DM
9814 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9815
473c3ef3
L
98162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9819 [__LP64__].
9820
eb0f39b6
L
98212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9824 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9825 (__lround): Renamed to ...
9826 (__llround): This. Replace long int with long long int.
9827 Define lround functions as aliases of llround functions.
9828 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9829
6b6cd74b
L
98302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9831
9832 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9833 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9834 adresses to uintptr_t. Replace "long int" and "unsigned long
9835 int" with "greg_t" on va_arg.
9836
f1a77b01
L
98372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9840 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9841
9842 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9843 Move e_machine check before EI_CLASS check. Handle x32
9844 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9845 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9846 SKIP_EM_IA_64 and include
9847 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9848
9849 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9850 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9851 (add_system_dir): New macro.
9852
9853 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9854 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9855
11b90b9f
JM
98562012-03-16 Joseph Myers <joseph@codesourcery.com>
9857
c36e1d23
JM
9858 [BZ #2551]
9859 [BZ #2552]
9860 [BZ #2553]
9861 [BZ #2554]
9862 [BZ #2562]
9863 [BZ #2563]
9864 [BZ #2565]
9865 [BZ #2566]
9866 [BZ #2576]
9867 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9868 (y0): Likewise.
9869 * math/w_j0f.c (j0f): Likewise.
9870 (y0f): Likewise.
9871 * math/w_j0l.c (__j0l): Likewise.
9872 (__y0l): Likewise.
9873 * math/w_j1.c (j1): Likewise.
9874 (y1): Likewise.
9875 * math/w_j1f.c (j1f): Likewise.
9876 (y1f): Likewise.
9877 * math/w_j1l.c (__j1l): Likewise.
9878 (__y1l): Likewise.
9879 * math/w_jn.c (jn): Likewise.
9880 (yn): Likewise.
9881 * math/w_jnf.c (jnf): Likewise.
9882 (ynf): Likewise.
9883 * math/w_jnl.c (__jnl): Likewise.
9884 (__ynl): Likewise.
9885 * math/libm-test.inc (j0_test): Add more tests.
9886 (j1_test): Likewise.
9887 (jn_test): Likewise. Add trailing semicolon to existing test.
9888 (y0_test): Likewise.
9889 (y1_test): Likewise.
9890 * sysdeps/i386/fpu/libm-test-ulps: Update.
9891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9892
11b90b9f
JM
9893 [BZ #13851]
9894 [BZ #13854]
9895 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9896 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9897 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9899 (__tanl): Set errno for infinite argument.
9900 * sysdeps/i386/fpu/mptan.c: Remove.
9901 * sysdeps/i386/fpu/s_tan.S: Likewise.
9902 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9903 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9904 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9905 * math/libm-test.inc (tan_test): Add more tests and enable more
9906 tests for double and long double.
9907 * sysdeps/i386/fpu/libm-test-ulps: Update.
9908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9909
6a1bd2a1
JK
99102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9911
9912 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9913 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9914
10a803e0
RM
99152012-03-16 Roland McGrath <roland@hack.frob.com>
9916
9917 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9918 * configure.in: Use it for both main tree and add-ons.
9919 * configure: Regenerated.
9920
f196c7f7
L
99212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9924
8848d99d
JM
99252012-03-16 Joseph Myers <joseph@codesourcery.com>
9926
96cbe7f4
JM
9927 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9928 in comment.
9929
8848d99d
JM
9930 [BZ #13851]
9931 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9932 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9936 infinite argument.
9937 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9938 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9939 != 0 for prec == 2.
9940 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9941 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9942 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9943 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9944 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9945 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9946 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9947 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9948 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9949 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9950 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9951 * math/libm-test.inc (cos_test): Add more tests and enable more
9952 tests for long double.
9953 (sin_test): Likewise.
9954 (sincos_test): Likewise.
9955 * sysdeps/i386/fpu/libm-test-ulps: Update.
9956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9957
dd7f4703
DM
99582012-03-16 David S. Miller <davem@davemloft.net>
9959
9960 * sysdeps/sparc/fpu/math_private.h: New file.
9961
006f1daa
DM
99622012-03-15 David S. Miller <davem@davemloft.net>
9963
c0c83bc8
DM
9964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9965 file.
e6a62e18 9966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9968 file.
e6a62e18
DM
9969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9975 sysdep routines.
9976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9977
88cb87d9
DM
9978 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9979 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9980
006f1daa 9981 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9983 sparc-ifunc.h
006f1daa 9984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9986 Likewise.
9987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9988 Likewise.
006f1daa
DM
9989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9993 Likewise.
006f1daa
DM
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9999 Likewise.
10000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10001 Likewise.
006f1daa
DM
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10026
11e0098e
AS
100272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10028
10029 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10030 scaling.
10031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10032
e85b09d0
AJ
100332012-03-15 Andreas Jaeger <aj@suse.de>
10034
10035 [BZ #13852]
10036 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10037 ieee754/flt-32 implementation for sin, cos and sincos.
10038 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10039 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10040 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10041 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10042 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10043 ieee754/flt-32 implementation for tan.
10044
10045 * math/libm-test.inc (cos_test): Enable some large input tests for
10046 float as well
10047 (sin_test): Likewise.
10048 (sincos_test): Likewise.
10049 (tan_test): Add tests for large input.
10050
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052
81c64153
AJ
100532012-03-15 Andreas Jaeger <aj@suse.de>
10054
10055 [BZ #13658]
10056 * math/libm-test.inc (cos_test): Add more test cases.
10057 (sin_test): Likewise.
10058 (sincos_test): Likewise.
10059
7bbfa5c6
AJ
100602012-03-15 Andreas Jaeger <aj@suse.de>
10061
10062 [BZ #13837]
10063 * math/libm-test.inc (cos_test): Add a test case for large input
10064 value.
10065 (sin_test): Likewise.
10066 (sincos_test): Likewise.
10067
100682012-03-15 Andreas Jaeger <aj@suse.de>,
10069 Joseph Myers <joseph@codesourcery.com>
10070
10071 [BZ #13658]
0671f479 10072 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10073 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10074 * sysdeps/i386/fpu/branred.c: Likewise.
10075 * sysdeps/i386/fpu/dosincos.c: Likewise.
10076 * sysdeps/i386/fpu/mpa.c: Likewise.
10077 * sysdeps/i386/fpu/s_cos.S: Likewise.
10078 * sysdeps/i386/fpu/s_sin.S: Likewise.
10079 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10080 * sysdeps/i386/fpu/sincos32.c: Likewise.
10081
10082 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10083 Define.
10084 (libc_feupdateenv_53bit): Define.
10085 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10086 Define.
10087 (libc_feupdateenv_53bit): Define.
10088
10089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10090 53 bit (without extend i386 double precision).
10091
10092 * math/libm-test.inc (sincos_test): Add tests for large input.
10093 (sin): Likewise.
10094 (cos): Likewise.
10095
10096 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10097
9cad04ea
AS
100982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10099
10100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10101
f7062b9a
DM
101022012-03-15 David S. Miller <davem@davemloft.net>
10103
10104 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10105 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10106 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10107 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10120 file.
f7062b9a 10121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10123 file.
f7062b9a 10124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10126 file.
f7062b9a 10127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10129 file.
f7062b9a
DM
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10132 fmin/fmax sysdep routines.
10133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10134
7bd951ff
DM
101352012-03-14 David S. Miller <davem@davemloft.net>
10136
559398ab
DM
10137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10166 routines.
10167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10168 file.
559398ab 10169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10171 file.
559398ab 10172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10174 file.
559398ab 10175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10177 file.
559398ab 10178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10180 file.
559398ab 10181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10183 file.
10184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10185 file.
10186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10187 file.
10188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10189 file.
10190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10191 New file.
10192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10193 file.
10194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10195 file.
559398ab 10196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10198 file.
559398ab 10199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10201 file.
559398ab 10202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10204 file.
559398ab 10205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10207 VIS3 routines.
559398ab
DM
10208
10209 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10210 New file.
10211
5a1c1e32
DM
10212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10213
eae47a36
DM
10214 * sysdeps/sparc/configure.in: New file.
10215 * sysdeps/sparc/configure: Generate.
10216 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10217 * configure: Regenerate.
10218 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10219 * config.make.in (have-as-vis3): New.
10220 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10221 available use -Av9d instead of -Av9a.
10222 * sysdeps/sparc/sparc64/Makefile: Likewise.
10223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10225 New file.
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10227 file.
10228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10229 New file.
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10231 file.
eae47a36
DM
10232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10237
c0c83bc8
DM
10238 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10239 fzeros/fnegs to load 0x80000000 into a float register instead of
10240 using the stack.
7bd951ff
DM
10241 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10242
bd951ccb
JM
102432012-03-14 Joseph Myers <joseph@codesourcery.com>
10244
10245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10246 bits/syscall.h.
10247 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10248 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10249 ($(inst_includedir)/bits/syscall.h): Remove rule.
10250 ($(objpfx)bits/syscall.d): Include instead of
10251 $(objpfx)syscall-list.d.
10252 (generated): Change syscall-list.h and syscall-list.d to
10253 bits/syscall.h and bits/syscall.d.
10254
bb4e6db2
RM
102552012-03-14 Roland McGrath <roland@hack.frob.com>
10256
10257 [BZ #13846]
10258 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10259
aa4a2ae1
JM
102602012-03-14 Joseph Myers <joseph@codesourcery.com>
10261
e456826d
JM
10262 [BZ #13841]
10263 * math/s_csqrt.c: Include <float.h>.
10264 (__csqrt): Scale large or subnormal inputs.
10265 * math/s_csqrtf.c: Likewise.
10266 * math/s_csqrtl.c: Likewise.
10267 * math/libm-test.inc (csqrt_test): Add more tests.
10268 * sysdeps/i386/fpu/libm-test-ulps: Update.
10269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10270
aa4a2ae1
JM
10271 [BZ #13840]
10272 * math/libm-test.inc (hypot_test): Add more tests.
10273
7c10fd35
DM
102742012-03-13 David S. Miller <davem@davemloft.net>
10275
10276 [BZ #13840]
10277 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10278 double-precision for the calculation instead of scaling.
10279
f453b98b
JM
102802012-03-13 Joseph Myers <joseph@codesourcery.com>
10281
10282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10283 manipulate bits before adding and subtracting TWO52[sx].
10284 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10286 Likewise.
10287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10288
09a3453f
DM
102892012-03-13 David S. Miller <davem@davemloft.net>
10290
8e59da90
DM
10291 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10292 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10294 rtld-global-offsets.h
10295 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10296
2a8ab7f2
DM
10297 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10298 large parameters.
10299
10f62770
DM
10300 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10301
5f0bdb18
DM
10302 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10303 'err' in the ifdef scope in which it is actually used.
10304
09a3453f
DM
10305 * nss/nss_db/db-init.c: Include string.h
10306
b4b2eb5e
DM
103072012-03-12 David S. Miller <davem@davemloft.net>
10308
98bb2f1c
DM
10309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10310 masking out of the most significant byte of random value used.
10311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10312 Fix coding style in previous change.
10313
b4b2eb5e
DM
10314 * sysdeps/unix/sysv/linux/kernel-features.h
10315 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10316 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10317 expression.
10318 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10319 later.
10320
6e226b09
DM
103212012-03-11 David S. Miller <davem@davemloft.net>
10322
a1bcbd40
DM
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10324 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10326 for 'resultvar' otherwise things get truncated on 64-bit.
10327
cb9d6174
DM
10328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10329 Fix masking out of the most significant byte of random value used.
10330
6e226b09
DM
10331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10332
058c132d
AS
103332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10336
2d2cd515
DM
103372012-03-09 David S. Miller <davem@davemloft.net>
10338
10339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10340 variables with appropriate CPP guards.
10341 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10342 frame pointer, not the stack pointer. Correct layout comments. Fix test
10343 on resulting framesize and the management of the outregs buffer for pltexit.
10344 Preserve floating point return values across _dl_call_pltexit call.
10345 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10346 framesize and the management of the outregs buffer for pltexit.
10347 Preserve floating point return values across _dl_call_pltexit
10348 call.
10349 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10350 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10351 (print_exit): Fix format string for return register value.
10352
9a07f9d0
JM
103532012-03-10 Joseph Myers <joseph@codesourcery.com>
10354
10355 * sunrpc/Makefile (others): Add rpcgen.
10356 ($(objpfx)rpcgen): Remove special build rule and dependency on
10357 libc.
10358 * sunrpc/rpcgen.c: New file.
10359
547b5e30
PE
103602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10361
c524201a
PE
10362 [BZ #13673]
10363 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10364 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10365 * sysdeps/i386/crti.S: Likewise.
10366 * sysdeps/i386/crtn.S: Likewise.
10367 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10368 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10369 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10370 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10371 * sysdeps/sh/crti.S: Likewise.
10372 * sysdeps/sh/crtn.S: Likewise.
10373 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10374
7b6235f2
PE
10375 [BZ #13673]
10376 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10377 with URL.
10378 * locale/programs/locfile-kw.gperf: Likewise.
10379 * locale/programs/charmap-kw.h: Regenerated.
10380 * locale/programs/locfile-kw.h: Likewise.
10381
547b5e30
PE
10382 [BZ #13673]
10383 * intl/plural.y: Replace FSF snail mail address with URL.
10384 * intl/plural.c: Regenerated.
10385
5f0a5dae
RH
103862012-03-09 Richard Henderson <rth@twiddle.net>
10387
10388 * include/math_private.h: Remove file.
10389 * math/math_private.h: Move file ...
10390 * sysdeps/generic/math_private.h: ... here.
10391
b8c03620
RH
10392 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10393 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10394 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10395
4e234f5d 10396 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10397 and <math_private.h>.
10398 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10399 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10400 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10401 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10402 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10436 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10441 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10486 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10489 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10490 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10491 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10492 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10503 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10504 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10505 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10506 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10508 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10509 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10510 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10512 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10514 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10515 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10516 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10519 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10520 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10521 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10522 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10523 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10525 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10526 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10527 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10528 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10530 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10532 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10536 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10537 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10539 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10540 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10541 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10542 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10543 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10544 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10545 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10546 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10547 * sysdeps/ieee754/k_standard.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10600 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10625 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10639 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10641 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10681 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10683 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10697 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10708 * sysdeps/ieee754/s_lib_version.c: Likewise.
10709 * sysdeps/ieee754/s_matherr.c: Likewise.
10710 * sysdeps/ieee754/s_signgam.c: Likewise.
10711 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10712 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10713 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10714 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10715 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10716 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10717 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10718 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10719 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10720 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10721 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10722 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10723 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10724 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10725 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10726 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10727 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10728 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10729 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10732
1991fa03
JM
107332012-03-09 Joseph Myers <joseph@codesourcery.com>
10734
10735 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10736 * sunrpc/rpc_main.c: Likewise.
10737 * sunrpc/rpc_svcout.c: Likewise.
10738
60d6f5a6
DM
107392012-03-09 David S. Miller <davem@davemloft.net>
10740
10741 * include/math_private.h: New file.
10742
4962050e
JM
107432012-03-09 Joseph Myers <joseph@codesourcery.com>
10744
02a6f887
JM
10745 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10746 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10747 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10748 from <bits/socket_type.h>.
10749 (enum __socket_type): Don't define here.
10750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10752 bits/socket_type.h.
10753
c6e013c1
JM
10754 [BZ #13566]
10755 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10756 checking __USE_GNU.
10757
4962050e
JM
10758 * Makerules ($(inst_includedir)/%.h): New rule.
10759 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10760 (install-others): Remove variable setting.
10761 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10762
38842f45
RH
107632012-03-08 Richard Henderson <rth@twiddle.net>
10764
67bb6da6
RH
10765 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10766 from macro to inline function; merge with the
10767 !__LIBC_INTERNAL_MATH_INLINES version.
10768 (__ieee754_sqrtf): Likewise.
10769
15194b4b
RH
10770 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10771 to inline function.
10772 (__rintf, __floor, __floorf): Likewise.
10773
64e21ede
RH
10774 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10775 macro to inline function.
10776 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10777
38842f45
RH
10778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10779 not <math/math_private.h>.
10780
c64bf5fe
DM
107812012-03-08 David S. Miller <davem@davemloft.net>
10782
10783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10784 copyright year.
10785 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10786
82d86f28
TS
107872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10788
10789 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10790 normalization.
10791 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10792 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10793
aea5d727
UD
107942012-03-08 Ulrich Drepper <drepper@gmail.com>
10795
10796 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10797 be defined individually, they must be defined as a block. Define
10798 S for printing a string instead of hidint the different by using a
10799 macro for adding the 'l'.
10800 * stdio-common/tst-fphex-wide.c: Adjust.
10801
70bca0a3
MP
108022012-03-07 Marek Polacek <polacek@redhat.com>
10803
10804 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10805
65b81130
MP
108062012-03-08 Marek Polacek <polacek@redhat.com>
10807
10808 [BZ #13806]
10809 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10810 * stdio-common/tst-fphex.c: Define a few macros to make the
10811 test reusable. Use them.
10812 * stdio-common/tst-fphex-wide.c: New file.
10813
07037eeb
JM
108142012-03-08 Joseph Myers <joseph@codesourcery.com>
10815
a7a93d50
JM
10816 [BZ #6911]
10817 * manual/macros.texi (gnusystems): New macro.
10818 (nongnusystems): Likewise.
10819 (gnulinuxhurdsystems): Likewise.
10820 (gnuhurdsystems): Likewise..
10821 (gnulinuxsystems): Likewise.
10822 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10823 variants of the GNU system, not "GNU system".
10824 * manual/conf.texi: Likewise.
10825 * manual/errno.texi: Likewise. Update example of errno macro
10826 expansion.
10827 * manual/filesys.texi: Likewise.
10828 (getumask): Document as specific to GNU/Hurd.
10829 * manual/install.texi: Likewise. Reword some references to
10830 GNU/Linux.
10831 * manual/intro.texi: Likewise.
10832 * manual/io.texi: Likewise.
10833 (File Name Portability): Detail which constraints are inapplicable
10834 to all GNU systems and which are only inapplicable to GNU/Hurd.
10835 * manual/job.texi: Likewise.
10836 * manual/llio.texi: Likewise.
10837 (O_NOCTTY): Document as present on GNU/Linux.
10838 * manual/maint.texi: Likewise.
10839 * manual/memory.texi: Likewise.
10840 * manual/pattern.texi: Likewise.
10841 * manual/pipe.texi: Likewise.
10842 * manual/process.texi: Likewise.
10843 * manual/resource.texi: Likewise.
10844 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10845 child on GNU/Hurd.
10846 * manual/setjmp.texi: Likewise.
10847 * manual/signal.texi: Likewise.
10848 * manual/startup.texi: Likewise.
10849 * manual/stdio.texi: Likewise.
10850 * manual/terminal.texi: Likewise.
10851 (ONLCR): Document as POSIX.
10852 (OXTABS): Document availability on GNU/Linux as XTABS.
10853 (ONOEOT): Document availability separately from other bits.
10854 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10855 * manual/time.texi: Likewise.
10856 * manual/users.texi: Likewise.
10857 * INSTALL: Regenerated.
10858 * sysdeps/gnu/errlist.c: Regenerated.
10859
07037eeb
JM
10860 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10861 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10862 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10863 puts.
10864 * configure: Regenerated.
10865
d1d3431a
JM
108662012-03-07 Joseph Myers <joseph@codesourcery.com>
10867
af6a1e37
JM
10868 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10869 default includes instead of AC_HEADER_CHECK.
10870 * sysdeps/i386/configure: Regenerated.
10871
d1d3431a
JM
10872 [BZ #10716]
10873 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10874 * math/s_cacoshf.c (__cacoshf): Likewise.
10875 * math/s_cacoshl.c (__cacoshl): Likewise.
10876 * math/s_casinh.c (__casinh): Set signs of result from argument.
10877 * math/s_casinhf.c (__casinhf): Likewise.
10878 * math/s_casinhl.c (__casinhl): Likewise.
10879 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10880 (casinh_test): Add more tests.
10881 * sysdeps/i386/fpu/libm-test-ulps: Update.
10882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10883
482ff4da
UD
108842012-03-07 Ulrich Drepper <drepper@gmail.com>
10885
872fda05
UD
10886 * po/zh_TW.po: Update from translation team.
10887
a4300c7a
UD
10888 * login/Makefile (distribute): Remove variable.
10889 * catgets/Makefile: Likewise.
10890 * mach/Makefile: Likewise.
10891 * malloc/Makefile: Likewise.
10892 * misc/Makefile: Likewise.
10893 * iconv/Makefile: Likewise.
10894 * nscd/Makefile: Likewise.
10895 * hurd/Makefile: Likewise.
10896 * manual/Makefile: Likewise.
10897 * locale/Makefile: Likewise.
10898 * intl/Makefile: Likewise.
10899 * conform/Makefile: Likewise.
10900 * nss/Makefile: Likewise.
10901 * time/Makefile: Likewise.
10902 * soft-fp/Makefile: Likewise.
10903 * dirent/Makefile: Likewise.
10904 * gmon/Makefile: Likewise.
10905 * po/Makefile: Likewise.
10906 * rt/Makefile: Likewise.
10907 * socket/Makefile: Likewise.
10908 * math/Makefile: Likewise.
10909 * signal/Makefile: Likewise.
10910 * debug/Makefile: Likewise.
10911 * elf/Makefile: Likewise.
10912 * timezone/Makefile: Likewise.
10913 * stdlib/Makefile: Likewise.
10914 * iconvdata/Makefile: Likewise.
10915 * sunrpc/Makefile: Likewise.
10916 * io/Makefile: Likewise.
10917 * argp/Makefile: Likewise.
10918 * inet/Makefile: Likewise.
10919 * hesiod/Makefile: Likewise.
10920 * grp/Makefile: Likewise.
10921 * csu/Makefile: Likewise.
10922 * wctype/Makefile: Likewise.
10923 * crypt/Makefile: Likewise.
10924 * libio/Makefile: Likewise.
10925 * string/Makefile: Likewise.
10926 * nis/Makefile: Likewise.
10927 * resolv/Makefile: Likewise.
10928 * stdio-common/Makefile: Likewise.
10929 * wcsmbs/Makefile: Likewise.
10930 * dlfcn/Makefile: Likewise.
10931 * posix/Makefile: Likewise.
10932
3b7c4e74 10933 [BZ #6959]
482ff4da
UD
10934 * timezone/Makefile: Don't install timezone files, just the programs
10935 and scripts.
10936
f72ed77d
UD
109372012-03-06 Ulrich Drepper <drepper@gmail.com>
10938
a000466f
UD
10939 * nss/databases.def: Add missing gshadow entry.
10940
f72ed77d
UD
10941 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10942
a53b7a4e
MP
109432012-03-06 Marek Polacek <polacek@redhat.com>
10944
10945 [BZ #13726]
10946 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10947 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10948 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10949 * stdio-common/tst-long-dbl-fphex.c: New file.
10950
e9258400
DM
109512012-03-06 David S. Miller <davem@davemloft.net>
10952
10953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10954 (set_obp_int): New function.
10955 (get_obp_int): New function.
10956 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10958 Avoid unused variable warnings on 'val' and use builtin_expect.
10959 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10960 __builtin_expect.
e9258400
DM
10961 (INLINE_CLONE_SYSCALL): Likewise.
10962
3bd2c723
DM
109632012-03-05 David S. Miller <davem@davemloft.net>
10964
10965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10966
bbb78d03
AS
109672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10968
884c5db4
AS
10969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10970
bbb78d03
AS
10971 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10972 only for |x| >= 40.
10973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10974
1c9f702a 109752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10976
10977 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10978 Replace gettimeofday with __vdso_gettimeofday.
10979
7be16f82
RM
10980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10981 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10982 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10983
10984 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10985 time with __vdso_time.
10986
ed58a00f
JM
109872012-03-05 Joseph Myers <joseph@codesourcery.com>
10988
10989 * manual/lang.texi (size_t): Note types to which size_t may be
10990 equivalent with the GNU C Library, but do not describe when
10991 differences between them are significant.
10992
30ee4ced
AJ
109932012-03-05 Andreas Jaeger <aj@suse.de>
10994
10995 * sysdeps/i386/fpu/libm-test-ulps: Update.
10996
b7cd39e8
JM
109972012-03-05 Joseph Myers <joseph@codesourcery.com>
10998
10999 [BZ #3976]
11000 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11001 (__ieee754_pow): Save and restore rounding mode and use
11002 round-to-nearest for main computations.
11003 * math/libm-test.inc (pow_test_tonearest): New function.
11004 (pow_test_towardzero): Likewise.
11005 (pow_test_downward): Likewise.
11006 (pow_test_upward): Likewise.
11007 (main): Call the new functions.
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11010
11011 [BZ #3976]
11012 * math/libm-test.inc (cosh_test_tonearest): New function.
11013 (cosh_test_towardzero): Likewise.
11014 (cosh_test_downward): Likewise.
11015 (cosh_test_upward): Likewise.
11016 (sinh_test_tonearest): Likewise.
11017 (sinh_test_towardzero): Likewise.
11018 (sinh_test_downward): Likewise.
11019 (sinh_test_upward): Likewise.
11020 (main): Call the new functions.
11021 * sysdeps/i386/fpu/libm-test-ulps: Update.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023
6c6a98c9
TV
110242012-03-05 Tom de Vries <tom@codesourcery.com>
11025
11026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11027 default stack guard is set in last bytes.
11028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11029
21bb2d2e 110302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11031
21bb2d2e 11032 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11033
21bb2d2e
AJ
11034 [BZ #13656]
11035 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11036 possibly allocate from heap instead of stack.
11037 * stdio-common/bug-vfprintf-nargs.c: New file.
11038 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11039
c6922934
AS
110402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11041
11042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11043
bc957d53
MP
110442012-03-03 Marek Polacek <polacek@redhat.com>
11045
11046 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11047 * math/math_private.h: Likewise.
11048 * stdlib/tst-strtod.c: Likewise.
11049 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11050 * sysdeps/x86_64/bits/atomic.h: Likewise.
11051
6358490d
DM
110522012-03-02 David S. Miller <davem@davemloft.net>
11053
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11058 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11059 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11060 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11061 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11062
01ae168d
RM
110632012-03-02 Roland McGrath <roland@hack.frob.com>
11064
d9a17c07
RM
11065 [BZ #13792]
11066 * manual/examples/README: New file, says the example source files
11067 can be used under GPL>=2.
11068 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11069 line containing just "*/".
11070 * manual/examples/add.c: Add copyright header (GPL>=2).
11071 * manual/examples/argp-ex1.c: Likewise.
11072 * manual/examples/argp-ex2.c: Likewise.
11073 * manual/examples/argp-ex3.c: Likewise.
11074 * manual/examples/argp-ex4.c: Likewise.
11075 * manual/examples/atexit.c: Likewise.
11076 * manual/examples/db.c: Likewise.
11077 * manual/examples/dir.c: Likewise.
11078 * manual/examples/dir2.c: Likewise.
11079 * manual/examples/execinfo.c: Likewise.
11080 * manual/examples/filecli.c: Likewise.
11081 * manual/examples/filesrv.c: Likewise.
11082 * manual/examples/fmtmsgexpl.c: Likewise.
11083 * manual/examples/genpass.c: Likewise.
11084 * manual/examples/inetcli.c: Likewise.
11085 * manual/examples/inetsrv.c: Likewise.
11086 * manual/examples/isockad.c: Likewise.
11087 * manual/examples/longopt.c: Likewise.
11088 * manual/examples/memopen.c: Likewise.
11089 * manual/examples/memstrm.c: Likewise.
11090 * manual/examples/mkfsock.c: Likewise.
11091 * manual/examples/mkisock.c: Likewise.
11092 * manual/examples/mygetpass.c: Likewise.
11093 * manual/examples/pipe.c: Likewise.
11094 * manual/examples/popen.c: Likewise.
11095 * manual/examples/rprintf.c: Likewise.
11096 * manual/examples/search.c: Likewise.
11097 * manual/examples/select.c: Likewise.
11098 * manual/examples/setjmp.c: Likewise.
11099 * manual/examples/sigh1.c: Likewise.
11100 * manual/examples/sigusr.c: Likewise.
11101 * manual/examples/stpcpy.c: Likewise.
11102 * manual/examples/strdupa.c: Likewise.
11103 * manual/examples/strftim.c: Likewise.
11104 * manual/examples/strncat.c: Likewise.
11105 * manual/examples/subopt.c: Likewise.
11106 * manual/examples/swapcontext.c: Likewise.
11107 * manual/examples/termios.c: Likewise.
11108 * manual/examples/testopt.c: Likewise.
11109 * manual/examples/testpass.c: Likewise.
11110 * manual/examples/timeval_subtract.c: Likewise.
11111
01ae168d
RM
11112 [BZ #13792]
11113 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11114 function to ...
11115 * manual/timeval_subtract.c.texi: ... here, new file.
11116
49efa33d
DM
111172012-03-02 David S. Miller <davem@davemloft.net>
11118
11119 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11120
28afd92d
JM
111212012-03-02 Joseph Myers <joseph@codesourcery.com>
11122
804360ed
JM
11123 [BZ #3976]
11124 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11125 (__sin): Save and restore rounding mode and use round-to-nearest
11126 for all computations.
11127 (__cos): Save and restore rounding mode and use round-to-nearest
11128 for all computations.
11129 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11130 <fenv.h>.
11131 (tan): Save and restore rounding mode and use round-to-nearest for
11132 all computations.
11133 * math/libm-test.inc (cos_test_tonearest): New function.
11134 (cos_test_towardzero): Likewise.
11135 (cos_test_downward): Likewise.
11136 (cos_test_upward): Likewise.
11137 (sin_test_tonearest): Likewise.
11138 (sin_test_towardzero): Likewise.
11139 (sin_test_downward): Likewise.
11140 (sin_test_upward): Likewise.
11141 (tan_test_tonearest): Likewise.
11142 (tan_test_towardzero): Likewise.
11143 (tan_test_downward): Likewise.
11144 (tan_test_upward): Likewise.
11145 (main): Call the new functions.
11146 * sysdeps/i386/fpu/libm-test-ulps: Update.
11147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11148
a6d06d7b
JM
11149 [BZ #10135]
11150 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11151 small n, then large n, before computing and testing k+n.
11152 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11153 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11154 Likewise.
11155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11156 Likewise.
11157 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11158 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11165 * math/libm-test.inc (scalbn_test): Add more tests.
11166 (scalbln_test): Likewise.
11167
07e12bb3
JM
11168 * manual/filesys.texi (mode_t): Describe constraints on size and
11169 signedness, not exact equivalence to a particular type.
11170 (ino_t): Likewise.
11171 (ino64_t): Likewise.
11172 (dev_t): Likewise.
11173 (nlink_t): Likewise.
11174 (blkcnt_t): Likewise.
11175 (blkcnt64_t): Likewise.
11176 * manual/llio.texi (off_t): Likewise.
11177
28afd92d
JM
11178 [BZ #3976]
11179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11180 (__ieee754_exp): Save and restore rounding mode and use
11181 round-to-nearest for all computations.
11182 * math/libm-test.inc (exp_test_tonearest): New function.
11183 (exp_test_towardzero): Likewise.
11184 (exp_test_downward): Likewise.
11185 (exp_test_upward): Likewise.
11186 (main): Call the new functions.
11187 * sysdeps/i386/fpu/libm-test-ulps: Update.
11188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11189
b1eeb65d
CD
111902012-03-01 Chris Demetriou <cgd@google.com>
11191
11192 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11193 have predictable order.
11194
53362a4b
DM
111952012-03-01 David S. Miller <davem@davemloft.net>
11196
3c969083
DM
11197 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11198
759707de
DM
11199 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11200 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11201 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11202 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11203
dfdb8ff2
DM
11204 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11205 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11206 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11208 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11209 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11211 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11212 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11213
ead89f96
DM
11214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11215
7f66bd07
DM
11216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11217 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11218 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11219
53362a4b
DM
11220 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11221 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11222 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11223 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11224 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11227 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11228 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11229 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11230 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11236 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11237 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11238 * sysdeps/sparc/elf/configure: Regenerated.
11239
7b1902cb
JM
112402012-03-01 Joseph Myers <joseph@codesourcery.com>
11241
bec039bc
JM
11242 * configure.in (AS, LD): Require binutils 2.20 or later.
11243 * configure: Regenerated.
11244 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11245 as required minimum version.
11246 * INSTALL: Regenerated.
11247
7b1902cb
JM
11248 [BZ #2541]
11249 [BZ #4108]
11250 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11251 before squaring exponent.
11252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11253 bottom long double and 27 bits of top long double before squaring
11254 exponent.
11255 * math/libm-test.inc (erfc_test): Add more tests.
11256 * sysdeps/i386/fpu/libm-test-ulps: Update.
11257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11259
f775c276
KT
112602012-03-01 Kai Tietz <ktietz@redhat.com>
11261
11262 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11263 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11264 containing bit-fields.
11265 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11266 * soft-fp/single.h (_FP_UNION_S): Likewise.
11267 * soft-fp/double.h (_FP_UNION_D): Likewise.
11268
5b8a4d4a
JM
112692012-02-29 Joseph Myers <joseph@codesourcery.com>
11270
0bab47b6
JM
11271 [BZ #13786]
11272 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11273 not include ../strcmp.S.
11274 [USE_AS_STRNCASECMP_L]: Likewise.
11275 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11276 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11277 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11278 (__strncasecmp_l_ia32): Define as alias to
11279 __strncasecmp_l_nonascii.
11280
0fcad3e2
JM
11281 [BZ #5794]
11282 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11283 * sysdeps/i386/fpu/libm-test-ulps: Update.
11284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11285
5b8a4d4a
JM
11286 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288
8fdceb2e
JL
112892012-02-29 Jeff Law <law@redhat.com>
11290
11291 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11292 out of bounds read.
11293
1f393a11
MP
112942012-02-29 Marek Polacek <polacek@redhat.com>
11295
11296 [BZ #13706]
11297 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11298 * elf/Makefile: Add rules to run tst-unused-dep.out.
11299
8847f037
DM
113002012-02-28 David S. Miller <davem@davemloft.net>
11301
11302 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11303 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11308
169d7f11
JM
113092012-02-29 Joseph Myers <joseph@codesourcery.com>
11310
11311 * math/libm-test.inc (llround_test): Move one test from
11312 lround_test. Use TEST_f_L in moved test.
11313 (lround_test): Move misplaced test to llround_test. Add testcase
11314 from bug 2561.
11315
39adf059
UD
113162012-02-28 Ulrich Drepper <drepper@gmail.com>
11317
11318 * sysdeps/x86_64/fpu/e_expf.S: New file.
11319 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11320
71b5d1c5
SB
113212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11322
11323 [BZ #13637]
11324 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11325 of remain_len that may cause incomplete multi-byte character and
11326 false match.
11327 * posix/bug-regex33.c: New file.
11328 * posix/Makefile (tests): Add bug-regex33.
11329
1f77f049
JM
113302012-02-28 Joseph Myers <joseph@codesourcery.com>
11331
11332 * manual/macros.texi: New file.
11333 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11334 * manual/libc.texinfo: Include macros.texi.
11335 * manual/creatute.texi: Likewise.
11336 * manual/install.texi: Likewise.
11337 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11338 @glibcadj{} in references to the GNU C Library.
11339 * manual/charset.texi: Likewise.
11340 * manual/conf.texi: Likewise.
11341 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11342 when not using those macros.
11343 * manual/creature.texi: Likewise.
11344 * manual/crypt.texi: Likewise.
11345 * manual/errno.texi: Likewise.
11346 * manual/filesys.texi: Likewise.
11347 * manual/header.texi: Likewise.
11348 * manual/install.texi: Likewise.
11349 * manual/intro.texi: Likewise.
11350 * manual/io.texi: Likewise.
11351 * manual/job.texi: Likewise.
11352 * manual/lang.texi: Likewise.
11353 * manual/libc.texiinfo: Likewise.
11354 * manual/llio.texi: Likewise.
11355 * manual/locale.texi: Likewise.
11356 * manual/maint.texi: Likewise.
11357 * manual/math.texi: Likewise.
11358 * manual/memory.texi: Likewise.
11359 * manual/message.texi: Likewise.
11360 * manual/nss.texi: Likewise.
11361 * manual/pattern.texi: Likewise.
11362 * manual/process.texi: Likewise.
11363 * manual/resource.texi: Likewise.
11364 * manual/search.texi: Likewise.
11365 * manual/setjmp.texi: Likewise.
11366 * manual/signal.texi: Likewise.
11367 * manual/socket.texi: Likewise.
11368 * manual/startup.texi: Likewise.
11369 * manual/stdio.texi: Likewise.
11370 * manual/string.texi: Likewise.
11371 * manual/sysinfo.texi: Likewise.
11372 * manual/syslog.texi: Likewise.
11373 * manual/terminal.texi: Likewise.
11374 * manual/time.texi: Likewise.
11375 * manual/users.texi: Likewise.
11376 * INSTALL: Regenerated.
11377 * NOTES: Regenerated.
d40c5d54 11378 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11379
450bf206
AS
113802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11381
11382 * include/dirent.h: Include <dirstream.h> before
11383 <dirent/dirent.h>.
11384
741a235b
DM
113852012-02-28 David S. Miller <davem@davemloft.net>
11386
11387 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11388 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11389 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11390 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11391
d6b5aa58
DM
113922012-02-27 David S. Miller <davem@davemloft.net>
11393
1aff59a3
DM
11394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11396 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11397 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11398
d6b5aa58
DM
11399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11400 frame pointer instead of stack pointer relative arg slot.
11401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11402 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11403 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11404
433f48bf
CD
114052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11406
11407 [BZ #3992]
11408 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11409
d674b76d
DM
114102012-02-27 David S. Miller <davem@davemloft.net>
11411
11412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11416 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11417 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11418 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11419 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11420
0e7727f7
JM
114212012-02-27 Joseph Myers <joseph@codesourcery.com>
11422
11423 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11424 later. Allow versions 5-9.
43be4ca2 11425 * configure: Regenerated.
0e7727f7
JM
11426 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11427 required minimum version and 4.6 as recommended version. Do not
11428 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11429 * INSTALL: Regenerated.
0e7727f7 11430
a78bc654
DM
114312012-02-27 David S. Miller <davem@davemloft.net>
11432
428d5830
DM
11433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11437 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11438 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11439 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11440 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11441
a78bc654
DM
11442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11443 manipulate bits before adding and subtracting TWO112[sx].
11444 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11445
4579f81c
RM
114462012-02-27 Roland McGrath <roland@hack.frob.com>
11447
36c8acb4
RM
11448 [BZ #13775]
11449 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11450 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11451 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11452 being in POSIX, because they are in 1003.1-2008.
11453
84ad622b
RM
11454 * rt/tst-aio.c: Include <fcntl.h>.
11455 * rt/tst-aio7.c: Likewise.
11456 * rt/tst-aio64.c: Likewise.
11457
4579f81c
RM
11458 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11459
abd923db
JM
114602012-02-27 Joseph Myers <joseph@codesourcery.com>
11461
11462 * manual/install.texi (--with-headers): Describe headers as
11463 interface headers, not private headers.
11464 (Specific advice for GNU/Linux systems): Describe use of headers
11465 from "make headers_install", not private headers from older
11466 kernels.
43be4ca2 11467 * INSTALL: Regenerated.
abd923db
JM
11468 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11469 Change to 2.6.19.
11470 * sysdeps/unix/sysv/linux/configure: Regenerated.
11471
6664049b
JM
11472 * manual/llio.texi (fclean): Remove documentation.
11473
bb8b6697
JM
11474 * manual/Makefile (libc-texi-generated): New variable. Include
11475 version.texi.
11476 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11477 $(libc-texi-generated), not duplicated list of files.
11478 (version.texi, stamp-version): New rules.
11479 (realclean): Remove $(libc-texi-generated), not individual files
11480 from that list. Do not remove dir-add.texinfo.
11481 * manual/libc.texinfo: Comment out uses of edition numbers and
11482 references to printed manual. Remove last-updated dates.
11483 (EDITION): Comment out.
11484 (ISBN): Likewise.
11485 (VERSION, UPDATED): Remove.
11486 (version.texi): Include.
11487
12e5c3b9
AS
114882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11489
11490 * sysdeps/posix/spawni.c: Include <signal.h>.
11491 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11492 * sysdeps/pthread/aio_fsync.c: Likewise.
11493
4efeffc1 114942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11495
ba63ba08
UD
11496 * conform/Makefile (tests): Run only when not cross-compiling and
11497 when fast-check is not defined.
11498
d94a4670
UD
11499 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11500 * conform/data/limits.h-data: Fixes for POSIX2008.
11501 * conform/run-conformtest.sh: Run all tests.
11502 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11503 headers.
11504 * include/bits/dlfcn.h: Likewise.
11505 * include/langinfo.h: Likewise.
11506 * include/monetary.h: Likewise.
11507 * include/sys/poll.h: Likewise.
11508
11509 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11510 for __USE_GNU.
11511 * posix/spawn.h: Define __need_sigset_t.
11512 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11513 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11514 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11515 to get sigevent_t only.
11516 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11517 only for __USE_GNU.
11518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11519 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11520 process_vm_writev only for __USE_GNU.
11521 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11522
11523 * conform/Makefile: For now ignore errors from run-conformtest.
11524 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11525 POSIX to avoid namespace pollution. Don't prepend headers.
11526 * conform/data/aio.h-data: Fixes for POSIX testing.
11527 * conform/data/fcntl.h-data: Likewise.
11528 * conform/data/glob.h-data: Likewise.
11529 * conform/data/grp.h-data: Likewise.
11530 * conform/data/pthread.h-data: Likewise.
11531 * conform/data/pwd.h-data: Likewise.
11532 * conform/data/signal.h-data: Likewise.
11533 * conform/data/spawn.h-data: Likewise.
11534 * conform/data/stdio.h-data: Likewise.
11535 * conform/data/stdlib.h-data: Likewise.
11536 * conform/data/stropts.h-data: Likewise.
11537 * conform/data/sys/mman.h-data: Likewise.
11538 * conform/data/sys/stat.h-data: Likewise.
11539 * conform/data/sys/types.h-data: Likewise.
11540 * conform/data/sys/wait.h-data: Likewise.
11541 * conform/data/time.h-data: Likewise.
11542 * conform/data/unistd.h-data: Likewise.
11543 * conform/data/utime.h-data: Likewise.
11544
11545 * io/sys/stat.h: fchmod was always in POSIX.
11546 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11547 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11548 * rt/aio.h: Define __need_timespec before including <time.h>.
11549 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11550 struct. Add forward declaration of pthread_attr_t and use it in
11551 sigevent.
11552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11554 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11555 always remove CLK_TCK definition.
11556
c20105c3
AS
115572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11558
11559 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11560
7a270350
UD
115612012-02-25 Ulrich Drepper <drepper@gmail.com>
11562
31341567
UD
11563 * conform/run-conformtest.sh: New file.
11564 * conform/Makefile: Run run-conformtest for tests.
11565 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11566 support.
11567
11568 * conform/data/uchar.h-data: New file.
11569 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11570 * conform/data/arpa/inet.h-data: Likewise.
11571 * conform/data/assert.h-data: Likewise.
11572 * conform/data/complex.h-data: Likewise.
11573 * conform/data/cpio.h-data: Likewise.
11574 * conform/data/ctype.h-data: Likewise.
11575 * conform/data/dirent.h-data: Likewise.
11576 * conform/data/dlfcn.h-data: Likewise.
11577 * conform/data/errno.h-data: Likewise.
11578 * conform/data/fcntl.h-data: Likewise.
11579 * conform/data/float.h-data: Likewise.
11580 * conform/data/fmtmsg.h-data: Likewise.
11581 * conform/data/fnmatch.h-data: Likewise.
11582 * conform/data/ftw.h-data: Likewise.
11583 * conform/data/glob.h-data: Likewise.
11584 * conform/data/grp.h-data: Likewise.
11585 * conform/data/iconv.h-data: Likewise.
11586 * conform/data/inttypes.h-data: Likewise.
11587 * conform/data/langinfo.h-data: Likewise.
11588 * conform/data/libgen.h-data: Likewise.
11589 * conform/data/limits.h-data: Likewise.
11590 * conform/data/locale.h-data: Likewise.
11591 * conform/data/math.h-data: Likewise.
11592 * conform/data/monetary.h-data: Likewise.
11593 * conform/data/mqueue.h-data: Likewise.
11594 * conform/data/ndbm.h-data: Likewise.
11595 * conform/data/net/if.h-data: Likewise.
11596 * conform/data/netdb.h-data: Likewise.
11597 * conform/data/netinet/in.h-data: Likewise.
11598 * conform/data/nl_types.h-data: Likewise.
11599 * conform/data/poll.h-data: Likewise.
11600 * conform/data/pthread.h-data: Likewise.
11601 * conform/data/pwd.h-data: Likewise.
11602 * conform/data/regex.h-data: Likewise.
11603 * conform/data/sched.h-data: Likewise.
11604 * conform/data/search.h-data: Likewise.
11605 * conform/data/semaphore.h-data: Likewise.
11606 * conform/data/setjmp.h-data: Likewise.
11607 * conform/data/signal.h-data: Likewise.
11608 * conform/data/spawn.h-data: Likewise.
11609 * conform/data/stdarg.h-data: Likewise.
11610 * conform/data/stdio.h-data: Likewise.
11611 * conform/data/stdlib.h-data: Likewise.
11612 * conform/data/string.h-data: Likewise.
11613 * conform/data/strings.h-data: Likewise.
11614 * conform/data/stropts.h-data: Likewise.
11615 * conform/data/sys/ipc.h-data: Likewise.
11616 * conform/data/sys/mman.h-data: Likewise.
11617 * conform/data/sys/msg.h-data: Likewise.
11618 * conform/data/sys/resource.h-data: Likewise.
11619 * conform/data/sys/select.h-data: Likewise.
11620 * conform/data/sys/sem.h-data: Likewise.
11621 * conform/data/sys/shm.h-data: Likewise.
11622 * conform/data/sys/socket.h-data: Likewise.
11623 * conform/data/sys/stat.h-data: Likewise.
11624 * conform/data/sys/statvfs.h-data: Likewise.
11625 * conform/data/sys/time.h-data: Likewise.
11626 * conform/data/sys/timeb.h-data: Likewise.
11627 * conform/data/sys/times.h-data: Likewise.
11628 * conform/data/sys/types.h-data: Likewise.
11629 * conform/data/sys/uio.h-data: Likewise.
11630 * conform/data/sys/un.h-data: Likewise.
11631 * conform/data/sys/utsname.h-data: Likewise.
11632 * conform/data/sys/wait.h-data: Likewise.
11633 * conform/data/syslog.h-data: Likewise.
11634 * conform/data/tar.h-data: Likewise.
11635 * conform/data/termios.h-data: Likewise.
11636 * conform/data/utime.h-data: Likewise.
11637 * conform/data/utmpx.h-data: Likewise.
11638 * conform/data/varargs.h-data: Likewise.
11639 * conform/data/wchar.h-data: Likewise.
11640 * conform/data/wctype.h-data: Likewise.
11641 * conform/data/wordexp.h-data: Likewise.
11642
11643 * include/stropts.h: New file.
11644 * include/uchar.h: New file.
11645 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11646 * include/assert.h: Likewise.
11647 * include/ctype.h: Likewise.
11648 * include/dirent.h: Likewise.
11649 * include/dlfcn.h: Likewise.
11650 * include/fcntl.h: Likewise.
11651 * include/fnmatch.h: Likewise.
11652 * include/glob.h: Likewise.
11653 * include/grp.h: Likewise.
11654 * include/libio.h: Likewise.
11655 * include/locale.h: Likewise.
11656 * include/math.h: Likewise.
11657 * include/net/if.h: Likewise.
11658 * include/netdb.h: Likewise.
11659 * include/netinet/in.h: Likewise.
11660 * include/pthread.h: Likewise.
11661 * include/pwd.h: Likewise.
11662 * include/regex.h: Likewise.
11663 * include/sched.h: Likewise.
11664 * include/search.h: Likewise.
11665 * include/setjmp.h: Likewise.
11666 * include/signal.h: Likewise.
11667 * include/stdio.h: Likewise.
11668 * include/stdlib.h: Likewise.
11669 * include/string.h: Likewise.
11670 * include/sys/cdefs.h: Likewise.
11671 * include/sys/mman.h: Likewise.
11672 * include/sys/msg.h: Likewise.
11673 * include/sys/resource.h: Likewise.
11674 * include/sys/select.h: Likewise.
11675 * include/sys/socket.h: Likewise.
11676 * include/sys/stat.h: Likewise.
11677 * include/sys/statvfs.h: Likewise.
11678 * include/sys/time.h: Likewise.
11679 * include/sys/times.h: Likewise.
11680 * include/sys/uio.h: Likewise.
11681 * include/sys/utsname.h: Likewise.
11682 * include/sys/wait.h: Likewise.
11683 * include/termios.h: Likewise.
11684 * include/time.h: Likewise.
11685 * include/ulimit.h: Likewise.
11686 * include/unistd.h: Likewise.
11687 * include/utime.h: Likewise.
11688 * include/wchar.h: Likewise.
11689 * include/wctype.h: Likewise.
11690 * include/wordexp.h: Likewise.
11691
11692 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11693
7a270350
UD
11694 * time/time.h: TIME_UTC must be a macro.
11695 Make timespec_get available for ISO C11 only as well.
11696
7724defc
UD
116972012-02-24 Ulrich Drepper <drepper@gmail.com>
11698
11699 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11700 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11701
6b1d1d46
JM
117022012-02-24 Joseph Myers <joseph@codesourcery.com>
11703
11704 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11705
0f8bbd69
JM
117062012-02-24 Joseph Myers <joseph@codesourcery.com>
11707
11708 * manual/texinfo.tex: Update to version 2012-01-19.16.
11709
66ab80bc
JM
117102012-02-24 Joseph Myers <joseph@codesourcery.com>
11711
11712 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11713
74981cc5
RM
117142012-02-24 Roland McGrath <roland@hack.frob.com>
11715
ee968201
RM
11716 [BZ #13738]
11717 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11718 * manual/fdl-1.3.texi: New file.
11719 * manual/fdl-1.1.texi: File removed.
11720
74981cc5
RM
11721 [BZ #13738]
11722 * manual/libc.texinfo (FDL_VERSION): New @set.
11723 Use it for mention of FDL in cover text.
11724 (Documentation License): Use it in @include file name.
11725
7bb764bc
JM
117262012-02-22 Joseph Myers <joseph@codesourcery.com>
11727 Roland McGrath <roland@hack.frob.com>
11728
11729 [BZ #5461]
11730 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11731 not LONG_LONG_MAX and LONG_LONG_MIN.
11732 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11733 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11734 name.
11735 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11736
6cbeae47
JM
117372012-02-22 Joseph Myers <joseph@codesourcery.com>
11738
11739 [BZ #2547]
11740 [BZ #11365]
11741 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11742 manipulate bits before adding and subtracting TWO23[sx].
11743 * math/libm-test.inc (nearbyint_test): Add more tests.
11744
fe45ce09
JM
117452012-02-22 Joseph Myers <joseph@codesourcery.com>
11746
11747 [BZ #2548]
11748 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11749 bits before adding and subtracting TWO23[sx].
11750 * math/libm-test.inc (rint_test): Add more tests.
11751 (rint_test_tonearest): Likewise.
11752 (rint_test_towardzero): Likewise.
11753 (rint_test_downward): Likewise.
11754 (rint_test_upward: Likewise.
11755
ff3b3d82
JM
117562012-02-22 Joseph Myers <joseph@codesourcery.com>
11757
11758 [BZ #10110]
11759 * include/stdc-predef.h: New file. Extracted from features.h.
11760 * include/features.h: Include stdc-predef.h.
11761 * Makefile (headers): Add stdc-predef.h.
11762 * CONFORMANCE (Compiler limitations): Update.
11763
ef0aab35
JM
117642012-02-22 Joseph Myers <joseph@codesourcery.com>
11765
11766 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11767
58639409
DM
117682012-02-21 David S. Miller <davem@davemloft.net>
11769
11770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11771 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11772
c0e70b25
DM
117732012-02-20 David S. Miller <davem@davemloft.net>
11774
11775 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11776 using a normal save/restore sequence, rather than allocating a
11777 dummy stack frame just to store a frame pointer and restore.
11778 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11779
fb06851d
JM
117802012-02-21 Joseph Myers <joseph@codesourcery.com>
11781
11782 * manual/install.texi: Fix stray word in line-wrapped comment.
11783
7a8b71c3
DM
117842012-02-20 David S. Miller <davem@davemloft.net>
11785
d510c123
DM
11786 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11787 both binutils and gcc support GOTDATA.
11788
0722d7c2
DM
11789 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11790 "rd %pc" in the PIC register setup sequences.
11791
3d2b3019
DM
11792 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11793 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11795 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11798 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11801 (SYSCALL_ERROR_HANDLER): Likewise.
11802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11805 (SYSCALL_ERROR_HANDLER): Likewise.
11806
c80098a9
DM
11807 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11808 (HAVE_GCC_GOTDATA): New.
11809 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11810 relocation support in both binutils and gcc.
11811 * sysdeps/sparc/elf/configure: Regenerate.
11812
3a2545a0
DM
11813 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11814 * sysdeps/sparc/sparc32/elf/configure: Delete.
11815 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11816 * sysdeps/sparc/sparc64/elf/configure: Delete.
11817 * sysdeps/sparc/elf/configure.in: New file.
11818 * sysdeps/sparc/elf/configure: Generate.
11819
7a8b71c3
DM
11820 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11821 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11823 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11824 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11825
f1e86fca
JM
118262012-02-21 Joseph Myers <joseph@codesourcery.com>
11827
11828 * manual/install.texi: Do not mention specific glibc version
11829 numbers.
11830 * manual/libc.texinfo (VERSION, UPDATED): Update.
11831 (@copying): Use @copyright{} and range of years.
11832
0e7dfaef
JM
118332012-02-21 Joseph Myers <joseph@codesourcery.com>
11834
11835 [BZ #13695]
11836 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11837 [crti.S not in sysdirs] (generated): Do not append.
11838 [crti.S not in sysdirs] (omit-deps): Likewise.
11839 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11840 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11841 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11842 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11843 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11844 Likewise.
11845 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11846 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11847 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11848 * csu/defs.awk: Remove file.
11849 * sysdeps/generic/initfini.c: Likewise.
11850 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11851 variable.
11852 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11853 Likewise.
11854
599af3ca
JM
118552012-02-20 Joseph Myers <joseph@codesourcery.com>
11856
11857 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11858 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11859 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11861 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11862 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11863 <bits/epoll.h>.
11864 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11865 (__EPOLL_PACKED): Define to empty if not defined by
11866 <bits/epoll.h>.
11867 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11869 bits/epoll.h.
11870
0e499750
JM
118712012-02-20 Joseph Myers <joseph@codesourcery.com>
11872
11873 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11874 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11875 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11876 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11877 <bits/timerfd.h>.
11878 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11880 bits/timerfd.h.
11881
5ad91f6e
JM
118822012-02-20 Joseph Myers <joseph@codesourcery.com>
11883
11884 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11885 in C locale.
11886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11890
06b99b02
AJ
118912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11892
11893 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11894 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11895
7638c0fd
AS
118962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11897
11898 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11899 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11900 defined.
11901 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11904 entry for 2.16.
11905
92221550
AJ
119062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11907
11908 * math/w_acos.c: Use non-signaling floating-point comparisons.
11909 * math/w_acosf.c: Likewise.
11910 * math/w_acosh.c: Likewise.
11911 * math/w_acoshf.c: Likewise.
11912 * math/w_acoshl.c: Likewise.
11913 * math/w_acosl.c: Likewise.
11914 * math/w_asin.c: Likewise.
11915 * math/w_asinf.c: Likewise.
11916 * math/w_asinl.c: Likewise.
11917 * math/w_atanh.c: Likewise.
11918 * math/w_atanhf.c: Likewise.
11919 * math/w_atanhl.c: Likewise.
11920 * math/w_exp2.c: Likewise.
11921 * math/w_exp2f.c: Likewise.
11922 * math/w_exp2l.c: Likewise.
11923 * math/w_j0.c: Likewise.
11924 * math/w_j0f.c: Likewise.
11925 * math/w_j0l.c: Likewise.
11926 * math/w_j1.c: Likewise.
11927 * math/w_j1f.c: Likewise.
11928 * math/w_j1l.c: Likewise.
11929 * math/w_jn.c: Likewise.
11930 * math/w_jnf.c: Likewise.
11931 * math/w_log.c: Likewise.
11932 * math/w_log10.c: Likewise.
11933 * math/w_log10f.c: Likewise.
11934 * math/w_log10l.c: Likewise.
11935 * math/w_log2.c: Likewise.
11936 * math/w_log2f.c: Likewise.
11937 * math/w_log2l.c: Likewise.
11938 * math/w_logf.c: Likewise.
11939 * math/w_logl.c: Likewise.
11940 * math/w_sqrt.c: Likewise.
11941 * math/w_sqrtf.c: Likewise.
11942 * math/w_sqrtl.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11946 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11948
ebaf36eb
JM
119492012-02-19 Joseph Myers <joseph@codesourcery.com>
11950
11951 [BZ #9739]
11952 * manual/string.texi (strnlen): Use correct parameter name in
11953 equivalent expression.
11954
71c254a6
JM
119552012-02-19 Joseph Myers <joseph@codesourcery.com>
11956
11957 [BZ #11174]
11958 * manual/users.texi (seteuid): Consistently use neweuid for
11959 argument name.
11960
16d2c631
JM
119612012-02-19 Joseph Myers <joseph@codesourcery.com>
11962
11963 [BZ #13704]
11964 * manual/nss.texi (Services in the NSS configuration): Correct
11965 list of services in example configuration file.
11966
cd837b09
NB
119672012-02-19 Nick Bowler <nbowler@draconx.ca>
11968
11969 [BZ #11322]
11970 * manual/arith.texi: Remove statements about negative zero
11971 behaving identically to zero.
11972
02c4bbad
JM
119732012-02-18 Joseph Myers <joseph@codesourcery.com>
11974
11975 [BZ #5993]
11976 * manual/install.texi: Do not document upgrading from libc5.
11977
366842e7
JM
119782012-02-18 Joseph Myers <joseph@codesourcery.com>
11979
11980 [BZ #4596]
11981 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11982
dd54084d
DM
119832012-02-18 David S. Miller <davem@davemloft.net>
11984
11985 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11986 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11987 %o7 across the call.
11988 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11989 instead.
11990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11991 SETUP_PIC_REG_LEAF.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11993 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11994 * sysdeps/sparc/crtn.S: Likewise.
11995
2bcc53a3
UD
119962012-02-17 Ulrich Drepper <drepper@gmail.com>
11997
11998 * aout/Makefile: Remove.
11999
09c093b5
RK
120002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12001
12002 [BZ #13058]
12003 * manual/examples/argp-ex1.c (main): Format definition in GNU
12004 style.
12005 * manual/examples/argp-ex2.c (main): Likewise.
12006 * manual/examples/argp-ex3.c (main): Likewise.
12007 * manual/examples/argp-ex4.c (main): Likewise.
12008 * manual/examples/longopt.c (main): Use new-style prototype
12009 definition.
12010 * manual/examples/strncat.c (main): Specify return type and use
12011 (void) for arguments.
12012 * manual/examples/subopt.c (main): Use char **argv argument.
12013
2ee633a2
JM
120142012-02-17 Joseph Myers <joseph@codesourcery.com>
12015
12016 [BZ #5077]
12017 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12018 rounding modes.
12019
0520adde
FB
120202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12021
12022 [BZ #6907]
12023 * manual/string.texi (strchr): Change when strchrnul is
12024 recommended.
12025
3f4081cd
DGM
120262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12027
12028 [BZ #174]
12029 * manual/locale.texi (setlocale): Document LOCPATH.
12030
d1b10e78
JM
120312012-02-17 Joseph Myers <joseph@codesourcery.com>
12032
12033 [BZ #10210]
12034 * manual/process.texi (execle): Move @dots{} before last argument.
12035
79c6869c
PB
120362012-02-17 Paul Bolle <pebolle@tiscali.nl>
12037
12038 [BZ #12047]
12039 * manual/charset.texi (Generic Charset Conversion): Fix typo
12040 (LC_TYPE -> LC_CTYPE).
12041
cc6e48bc
NB
120422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12043
12044 [BZ #5805]
12045 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12046 (scalbnf): Likewise.
12047 (scalbnl): Likewise.
12048 (scalbln): Likewise.
12049 (scalblnf): Likewise.
12050 (scalblnl): Likewise.
12051 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12052 (vwarnx): Likewise.
12053 (verr): Likewise.
12054 (verrx): Likewise.
12055 * manual/filesys.texi (telldir): Use braces around return type.
12056 * manual/llio.texi (mmap): Add space after comma.
12057 (mmap64): Likewise.
12058 * manual/math.texi (jn): Use @var{} on parameter names.
12059 (jnf): Likewise.
12060 (jnl): Likewise.
12061 (yn): Likewise.
12062 (ynf): Likewise.
12063 (ynl): Likewise.
12064 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12065 line.
12066 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12067 "...".
12068 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12069 (sched_get_priority_max): Likewise.
12070 * manual/signal.texi (sigvec): Add space after comma.
12071 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12072 names.
12073 (if_indextoname): Likewise.
12074 (if_freenameindex): Likewise.
12075 (sendto): Use ',' instead of '.' in prototype.
12076 * manual/startup.texi (syscall): Use @dots{} instead of literal
12077 "...".
12078 * manual/stdio.texi (__fpending): Separate initial words of
12079 paragraph from @deftypefun line.
12080 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12081 "...".
12082 (vsyslog): Use @var{} on parameter names.
12083 * manual/terminal.texi (stty): Use @var{} on parameter names.
12084 * manual/users.texi (getutmp): Use @var{} on parameter names.
12085 (getutmpx): Likewise.
12086
5b23062f
JM
120872012-02-17 Joseph Myers <joseph@codesourcery.com>
12088
12089 [BZ #6884]
12090 * manual/stdio.texi (fopen): Fix typos in description of
12091 ",ccs=STRING".
12092
8dee4833
AJ
120932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12094
12095 [BZ #4026]
12096 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12097 get clock_id definition.
12098
9078ce93
TS
120992012-02-17 Thomas Schwinge <thomas@schwinge.name>
12100
12101 [BZ #4822]
12102 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12103 (madvise): Cast every argument to void on its own.
12104
3835c55f
JM
121052012-02-17 Joseph Myers <joseph@codesourcery.com>
12106
12107 [BZ #9902]
12108 * manual/startup.texi (Exit Status): Fix typo.
12109
35c47e37
JM
121102012-02-17 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #10140]
12113 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12114 * manual/examples/argp-ex2.c: Likewise.
12115 * manual/examples/argp-ex3.c: Likewise.
12116
e3b69ca7
RH
121172012-02-16 Richard Henderson <rth@redhat.com>
12118
12119 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12120 * sysdeps/s390/s390-32/initfini.c: Remove.
12121 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12122 * sysdeps/s390/s390-64/initfini.c: Remove.
12123
df83af67
KK
121242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12125
12126 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12127 compiler output for sysdeps/generic/initfini.c.
12128 * sysdeps/sh/elf/initfini.c: Remove file.
12129
f63f3380
DM
121302012-02-16 David S. Miller <davem@davemloft.net>
12131
fb59b3a4
DM
12132 [BZ #11494]
12133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12134
f63f3380
DM
12135 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12136 * sysdeps/sparc/crti.S: New file.
12137 * sysdeps/sparc/crtn.S: New file.
12138 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12139 * sysdeps/sparc/sparc64/Makefile: Likewise.
12140
df6a4a4a
MF
121412012-02-15 Mike Frysinger <vapier@gentoo.org>
12142
6dd8f3dc 12143 [BZ #3335]
df6a4a4a
MF
12144 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12145
1cac7236
RM
121462012-02-15 Roland McGrath <roland@hack.frob.com>
12147
d2c736f8
RM
12148 [BZ #4822]
12149 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12150
1cac7236
RM
12151 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12152 (write, read, close): Likewise.
12153 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12154
8e475601
JM
121552012-02-15 Joseph Myers <joseph@codesourcery.com>
12156
12157 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12158 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12160 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12161 <bits/signalfd.h>.
12162 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12164 bits/signalfd.h.
12165
ed656b40
MP
121662012-02-14 Marek Polacek <polacek@redhat.com>
12167
12168 * sysdeps/x86_64/crti.S: New file.
12169 * sysdeps/x86_64/crtn.S: New file.
12170 * sysdeps/x86_64/elf/initfini.c: Remove file.
12171
2a979d3a
JM
121722012-02-13 Joseph Myers <joseph@codesourcery.com>
12173
12174 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12175 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12177 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12178 <bits/inotify.h>.
12179 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12181 bits/inotify.h.
12182
2a418ac3
JM
121832012-02-13 Joseph Myers <joseph@codesourcery.com>
12184
12185 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12186 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12187 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12188 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12189 <bits/eventfd.h>.
12190 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12192 bits/eventfd.h.
12193
fb779be7
TS
121942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12195
e19e83c5
RM
12196 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12197 __feraiseexcept instead of feraiseexcept.
7c35ffed 12198
fb779be7
TS
12199 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12200 nanosleep invocations.
12201 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12202 strings, and add error checking for a nanosleep invocations.
12203
59ba27a6
PE
122042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12205
12206 Replace FSF snail mail address with URLs, as per GNU coding standards.
12207 Most of the snail mail addresses were wrong anyway, and omitting
12208 them makes the source code easier to maintain. Almost all of the
12209 changes are to license notices and to locale LC_IDENTIFICATION
12210 addresses, except for this one:
12211 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12212 not its snail mail address.
12213
57b957eb
RH
122142012-02-09 Richard Henderson <rth@twiddle.net>
12215
af850b1c
RH
12216 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12217 of kernel-features.h.
12218
57b957eb
RH
12219 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12220
6b73181a
MP
122212012-02-08 Marek Polacek <polacek@redhat.com>
12222
12223 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12224 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12225 * sysdeps/gnu/_G_config.h: Likewise.
12226 * sysdeps/generic/_G_config.h: Likewise.
12227
26ecc33a
AS
122282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12229
6c6dbc63
AS
12230 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12231 tests.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233
e216c012
AS
12234 * sysdeps/powerpc/powerpc32/crti.S: New file.
12235 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12236 * sysdeps/powerpc/powerpc64/crti.S: New file.
12237 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12238
26ecc33a
AS
12239 * Makeconfig (have-initfini): Don't set.
12240 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12241 * configure.in (nopic_initfini): Don't substitute.
12242 * config.h.in (HAVE_INITFINI): Don't #undef.
12243 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12244 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12245
3add8e13
JM
122462012-02-08 Joseph Myers <joseph@codesourcery.com>
12247
12248 Support crti.S and crtn.S provided directly by architectures.
12249 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12250 [crti.S in sysdirs] (omit-deps): Likewise.
12251 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12252 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12253 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12254 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12255 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12256 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12257 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12258 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12259 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12260 compiler output for sysdeps/generic/initfini.c.
12261 * sysdeps/i386/elf/Makefile: Remove file.
12262 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12263
a22f12b4
MP
122642012-02-07 Marek Polacek <polacek@redhat.com>
12265
12266 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12267 * sysdeps/gnu/_G_config.h: Likewise.
12268 * sysdeps/mach/hurd/_G_config.h: Likewise.
12269
148cf100
MP
122702012-02-07 Marek Polacek <polacek@redhat.com>
12271
12272 * math/Makefile (tests): Add tst-CMPLX2.
12273 * math/tst-CMPLX2.c: New file.
12274
cfdc0dd7
AS
122752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12276
84ba42c4
AS
12277 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12278
cfdc0dd7
AS
12279 * math/libm-test.inc (jn_test): Add missing L suffix.
12280
622c86f4
MP
122812012-02-06 Marek Polacek <polacek@redhat.com>
12282
12283 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12284 * sysdeps/i386/fpu/e_powf.S: Likewise.
12285 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12286 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12287 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12288 * sysdeps/i386/fpu/e_pow.S: Likewise.
12289 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12290 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12291 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12292 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12293 * sysdeps/i386/fpu/e_log2.S: Likewise.
12294 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12295 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12296 * sysdeps/i386/fpu/e_powl.S: Likewise.
12297 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12299 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12300 * sysdeps/i386/fpu/e_logl.S: Likewise.
12301 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12302 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12303 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12304 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12305 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12306 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12307 * sysdeps/i386/fpu/e_log.S: Likewise.
12308 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12309 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12310 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12311 * sysdeps/i386/fpu/e_logf.S: Likewise.
12312 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12313 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12314 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12315 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12316 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12317 * sysdeps/i386/fpu/e_log10.S: Likewise.
12318 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12319 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12320 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12321 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12323 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12324 * sysdeps/i386/asm-syntax.h: Likewise.
12325 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12327 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12328 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12329 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12330 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12331 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12332 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12333 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12334 * sysdeps/powerpc/sysdep.h: Likewise.
12335 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12336 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12337
d4a54ac6
JM
123382012-02-06 Joseph Myers <joseph@codesourcery.com>
12339
12340 [BZ #411]
12341 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12342
314054ea
JM
123432012-02-06 Joseph Myers <joseph@codesourcery.com>
12344
12345 * sysdeps/i386/sysdep.h: Include <features.h>.
12346 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12347 version.
12348
d8e0ca50
JM
123492012-02-05 Joseph Myers <joseph@codesourcery.com>
12350
12351 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12352 Define.
12353 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12354 LOAD_PIC_REG_STR.
12355
b1da7dd9
JM
123562012-02-03 Joseph Myers <joseph@codesourcery.com>
12357
12358 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12359 (SETUP_PIC_REG): Use GET_PC_THUNK.
12360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12361 macro.
12362
9a1d9254
JM
123632012-02-03 Joseph Myers <joseph@codesourcery.com>
12364
12365 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12366 for non-PIC compilation.
12367 (SETUP_PIC_REG): Add .p2align directive.
12368 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12369 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12370 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12371 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12376 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12378 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12385 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12386 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12387 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12391 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12395 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12396 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12401 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12402 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12403 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12405 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12406 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12407 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12408 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12409
65dc3b75
JM
124102012-02-03 Joseph Myers <joseph@codesourcery.com>
12411
12412 * math/tst-CMPLX.c: Include <stdio.h>.
12413
d55bf177
JM
124142012-01-31 Joseph Myers <joseph@codesourcery.com>
12415
12416 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12417 float.
12418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12419 * sysdeps/sparc/bits/mathdef.h: Likewise.
12420
69db4f8f
MP
124212012-01-31 Marek Polacek <polacek@redhat.com>
12422
12423 * libio/libio.h: Don't define _PARAMS.
12424 * locale/programs/config.h: Don't define PARAMS.
12425 * stdlib/strtol_l.c: Likewise.
12426 (__strtol_l): Remove PARAMS from the prototype.
12427
41b81892
UD
124282012-01-31 Ulrich Drepper <drepper@gmail.com>
12429
3b49edc0
UD
12430 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12431 names. Just use the correct names. Remove unnecessary wrapper
12432 functions.
12433 * malloc/arena.c: Likewise.
12434 * malloc/hooks.c: Likewise.
12435
41b81892
UD
12436 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12437 ARENA_TEST says not to. Simplify test for creation of a new arena.
12438 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12439
27a25b6e
UD
124402012-01-30 Ulrich Drepper <drepper@gmail.com>
12441
12442 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12443 into tail calls.
12444 (update_get_addr): New function.
12445 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12446 GET_ADDR_MODULE parameter.
12447
c8a89e7d
JM
124482012-01-30 Joseph Myers <joseph@codesourcery.com>
12449
12450 * crypt/cert.c: Remove __STDC__ conditionals.
12451 * crypt/crypt-entry.c: Likewise.
12452 * crypt/crypt_util.c: Likewise.
12453 * libio/filedoalloc.c: Likewise.
12454 * libio/fileops.c: Likewise.
12455 * libio/genops.c: Likewise.
12456 * libio/iofclose.c: Likewise.
12457 * libio/iofdopen.c: Likewise.
12458 * libio/iofopen.c: Likewise.
12459 * libio/iofopen64.c: Likewise.
12460 * libio/iogetdelim.c: Likewise.
12461 * libio/iopopen.c: Likewise.
12462 * libio/obprintf.c: Likewise.
12463 * libio/oldfileops.c: Likewise.
12464 * libio/oldiofclose.c: Likewise.
12465 * libio/oldiofdopen.c: Likewise.
12466 * libio/oldiofopen.c: Likewise.
12467 * libio/oldiopopen.c: Likewise.
12468 * libio/wfiledoalloc.c: Likewise.
12469 * libio/wgenops.c: Likewise.
12470 * locale/programs/xmalloc.c: Likewise.
12471 * misc/syslog.c: Likewise.
12472 * stdio-common/xbug.c: Likewise.
12473 * string/memchr.c: Likewise.
12474 * string/memcmp.c: Likewise.
12475 * string/memrchr.c: Likewise.
12476 * string/rawmemchr.c: Likewise.
12477 * sysdeps/posix/getcwd.c: Likewise.
12478 * time/strftime_l.c: Likewise.
12479
3b100462
JM
124802012-01-30 Joseph Myers <joseph@codesourcery.com>
12481
12482 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12483 * config.make.in (config-cflags-sse2avx): Define.
12484 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12485 Fix typo.
12486
607998af
CM
124872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12488
12489 * scripts/config.guess: Update from upstream config git repository.
12490 * scripts/config.sub: Likewise.
12491
3601428f
CM
124922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12493
3ac8b282
CM
12494 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12495 (EM_NUM): Update.
12496 (R_TILEPRO_*, R_TILEGX_*): New macros.
12497
e034841e
CM
12498 * scripts/firstversions.awk: Fix bug in version range handling.
12499
540d7568
CM
12500 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12501
3601428f
CM
12502 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12503
463de862
CM
12504 * include/sys/epoll.h: New file.
12505 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12506 libc_hidden_def.
12507
73139a76
UD
125082012-01-28 Ulrich Drepper <drepper@gmail.com>
12509
96bc5b45
UD
12510 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12511 Avoid unnecessary __WORDSIZE == 64 test.
12512 (fmaxf): Use VEX format if possible.
12513 (fmax): Likewise.
12514 (fminf): Likewise.
12515 (fmin): Likewise.
12516
56f6f6a2
UD
12517 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12518 * math/math_private.h: Remove libc_fegetround* and
12519 libc_fesetround*.
12520 * sysdeps/i386/configure.in: Check for -msse2avx.
12521 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12522 also if SSE2AVX is defined.
12523 Remove libc_fegetround* and libc_fesetround*.
12524 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12525 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12527 of HAS_YMM_USABLE.
12528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12533
73139a76
UD
12534 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12535
d73f93a4
AZ
125362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537
12538 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12539 size is not set.
12540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12541
6ee65ed6
UD
125422012-01-27 Ulrich Drepper <drepper@gmail.com>
12543
12544 [BZ #13618]
12545 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12546 relocation.
12547 * Makeconfig (libm): Define.
12548 * elf/Makefile: Add rules to build and run tst-relsort1.
12549 * elf/tst-relsort1.c: New file.
12550 * elf/tst-relsort1mod1.c: New file.
12551 * elf/tst-relsort1mod2.c: New file.
12552
8db21882
JM
125532012-01-27 Joseph Myers <joseph@codesourcery.com>
12554
12555 * math/s_ldexp.c: Remove __STDC__ conditionals.
12556 * math/s_ldexpf.c: Likewise.
12557 * math/s_ldexpl.c: Likewise.
12558 * math/s_nextafter.c: Likewise.
12559 * math/s_nexttowardf.c: Likewise.
12560 * math/s_significand.c: Likewise.
12561 * math/s_significandf.c: Likewise.
12562 * math/s_significandl.c: Likewise.
12563 * math/w_jnl.c: Likewise.
12564 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12565 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12570 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12573 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12574 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12585 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12586 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12588 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12589 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12590 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12594 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12595 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12596 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12598 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12599 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12600 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12601 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12602 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12603 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12604 * sysdeps/ieee754/k_standard.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12684 * sysdeps/ieee754/s_matherr.c: Likewise.
12685 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12686 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12689
965a54a4
JM
126902012-01-26 Joseph Myers <joseph@codesourcery.com>
12691
12692 * crypt/md5.h: Remove __STDC__ conditionals.
12693 * libio/libioP.h: Likewise.
12694 * locale/programs/config.h: Likewise.
12695 * sysdeps/generic/sysdep.h: Likewise.
12696 * sysdeps/i386/asm-syntax.h: Likewise.
12697 * sysdeps/s390/asm-syntax.h: Likewise.
12698 * sysdeps/unix/sysdep.h: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12701
7071ad79
JM
127022012-01-26 Joseph Myers <joseph@codesourcery.com>
12703
12704 * libio/libio.h: Remove __STDC__ conditionals.
12705 * malloc/obstack.h: Likewise.
12706 * math/complex.h: Likewise.
12707 * math/math.h: Likewise.
12708 * sysdeps/generic/_G_config.h: Likewise.
12709 * sysdeps/gnu/_G_config.h: Likewise.
12710 * sysdeps/mach/hurd/_G_config.h: Likewise.
12711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12712 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12713 * sysdeps/sparc/bits/mathdef.h: Likewise.
12714
afc5ed09
UD
127152012-01-26 Ulrich Drepper <drepper@gmail.com>
12716
12717 [BZ #13583]
12718 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12719 Clean up HAS_* macros.
afc5ed09 12720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12721 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12722 possible.
12723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12724 HAS_AVX.
12725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12730
bdb6de1d
JM
127312012-01-25 Joseph Myers <joseph@codesourcery.com>
12732
12733 * elf/tst-unique3.cc (gets): Remove declaration.
12734 * elf/tst-unique3lib.cc (gets): Likewise.
12735 * elf/tst-unique3lib2.cc (gets): Likewise.
12736 * elf/tst-unique4.cc (gets): Likewise.
12737
b15549e6
UD
127382012-01-24 Ulrich Drepper <drepper@gmail.com>
12739
12740 * include/stdio.h: Add C++ protection. Add gets declarations and
12741 definitions.
12742 * debug/tst-chk1.c: Don't declare gets here.
12743 * stdio-common/tst-gets.c: Likewise.
12744
a037381f
JM
127452012-01-24 Joseph Myers <joseph@codesourcery.com>
12746
12747 * posix/glob: Remove directory.
12748
f1d4aa75
JM
127492012-01-24 Joseph Myers <joseph@codesourcery.com>
12750
12751 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12752
81c0c964
PT
127532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12754
12755 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12756 of the non-standard EPFNOSUPPORT.
12757
0ea698ae
ST
127582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12759
12760 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12761 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12762 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12763
d220b117
UD
127642012-01-21 Ulrich Drepper <drepper@gmail.com>
12765
12766 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12767
3e1aa84e
UD
127682012-01-20 Ulrich Drepper <drepper@gmail.com>
12769
12770 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12771 transient errors.
12772 * nscd/grpcache.c (cache_addgr): Likewise.
12773 * nscd/hstcache.c (cache_addhst): Likewise.
12774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12775 * nscd/pwdcache.c (cache_addpw): Likewise.
12776 * nscd/servicescache.c (cache_addserv): Likewise.
12777
400aa020
UD
127782012-01-16 Ulrich Drepper <drepper@gmail.com>
12779
d77e7869
UD
12780 * malloc/malloc.c: Various cleanups.
12781 * malloc/hooks.c: Likewise.
12782
400aa020
UD
12783 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12784 * stdlib/bug-fmtmsg1.c: New file.
12785
12786 * stdlib/fmtmsg.c (init): Add missing unlock.
12787 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12788
e0a309cf
MP
127892012-01-12 Marek Polacek <polacek@redhat.com>
12790
12791 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12792 and _GNU_SOURCE.
12793
929d11c7
WS
127942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12795
12796 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12797 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12798 macro to ensure uniqueness of label name.
12799 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12800 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12801
41d0e869
UD
128022012-01-11 Ulrich Drepper <drepper@gmail.com>
12803
0cc5ed3b
UD
12804 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12805
41d0e869
UD
12806 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12807 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12810
a47a831a
UD
128112012-01-10 Ulrich Drepper <drepper@gmail.com>
12812
daa891c0
UD
12813 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12814
12815 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12816 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12818
e58ef0f2
UD
12819 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12820
a47a831a 12821 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12822 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12825
12826 * math/bits/math-finite.h: Add ldexp support.
12827
a0bfc9c7
MP
128282012-01-10 Marek Polacek <polacek@redhat.com>
12829
12830 * locale/programs/localedef.h (show_archive_content): Add noreturn
12831 attribute.
12832
d6e97a1d
UD
128332012-01-09 Ulrich Drepper <drepper@gmail.com>
12834
12835 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12836
d5835c26
UD
128372012-01-08 Ulrich Drepper <drepper@gmail.com>
12838
e5f484c6
UD
12839 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12840
d5835c26
UD
12841 * io/Makefile (headers): Add bits/poll2.h.
12842
d1f741e9
WS
128432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12844
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12846 typo #include statement.
12847
ec09c1c4
UD
128482012-01-08 Ulrich Drepper <drepper@gmail.com>
12849
12850 * include/sys/cdefs.h: Define __attribute_alloc_size.
12851 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12852 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12853 * elf/pldd.c: Likewise.
12854 * iconv/iconv_charmap.c: Likewise.
12855 * iconv/iconvconfig.c: Likewise.
12856 * iconv/strtab.c: Likewise.
12857 * locale/programs/locale.c: Likewise.
12858 * locale/programs/localedef.h: Likewise.
12859 * locale/programs/simple-hash.c: Likewise.
12860 * nscd/nscd.h: Likewise.
12861 * nss/makedb.c: Likewise.
12862 * sysdeps/generic/ldconfig.h: Likewise.
12863 * locale/programs/localedef.c: Remove xmalloc prototype.
12864 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12865
20b38e03
PP
128662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12867
12868 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12869 appropriate.
12870
a0da5fe1
UD
128712012-01-08 Ulrich Drepper <drepper@gmail.com>
12872
1d5a644a 12873 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12874 * math/tst-CMPLX.c: New file.
1d5a644a 12875
8784a6db
UD
12876 * math/complex.h (CMPLXL): Fix typo.
12877
d9a216c0
UD
12878 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12879 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12880 GLIBC_2.16.
12881 * debug/tst-chk1.c: Add poll and ppoll tests.
12882 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12883 * include/sys/poll.h: Add hidden proto for ppoll.
12884 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12885 * sysdeps/mach/hurd/ppoll.c: Likewise.
12886 * io/ppoll.c: Likewise.
12887 * debug/poll_chk.c: New file.
12888 * debug/ppoll_chk.c: New file.
12889 * include/bits/poll2.h: New file.
12890 * io/bits/poll2.h: New file.
12891
ac097f5c
UD
12892 [BZ #1350]
12893 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12894
2119dcfa
UD
12895 * configure.in: static is always set to yes. Remove.
12896 * config.make.in: Don't set build-static.
12897 * Makeconfig: Remove use of build-static.
12898 * dlfcn/Makefile: Likewise.
12899 * elf/Makefile: Likewise.
12900 * math/Makefile: Likewise.
12901 * misc/Makefile: Likewise.
12902 * nptl/Makefile: Likewise.
12903 * sysdeps/mach/hurd/Makefile: Likewise.
12904
121766a9
UD
12905 * configure.in: PWD_P is not used anymore.
12906 * config.make.in: Remove PWD_P entry.
12907
51a1d39c 12908 * configure.in: Remove last remnants of RANLIB.
8720d066 12909 No need to check for signed size_t anymore.
215f4bdc
UD
12910 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12911 and IA-64.
3857022a 12912 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12913 * aclocal.m4: Likewise.
12914
d3ed7225
UD
12915 * wcsmbs/mbrtoc16.c: Implement using towc function.
12916 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12917 * wcsmbs/wcsmbsload.c: Likewise.
12918 * iconv/gconv_simple.c: Likewise.
12919 * iconv/gconv_int.h: Likewise.
12920 * iconv/gconv_builtin.h: Likewise.
12921 * iconv/iconv_prog.c: Remove CHAR16 handling.
12922
12923 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12924
12925 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12926
a0da5fe1
UD
12927 * configure.in: Remove --with-elf and --enable-bounded options.
12928 Dont set base_machine for ia64. More non-ELF conditions removed.
12929 Remove testing and setting of leading underscore information.
12930 * config.make.in (build-bounded): Set to no.
12931 * config.h.in: Remove NO_UNDERSCORES entry.
12932 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12933 them.
12934 * csu/start.c: Remove !NO_UNDERSCORE code.
12935 * locale/localeinfo.h: Likewise.
12936 * sysdeps/generic/machine-gmon.h: Likewise.
12937 * sysdeps/generic/sysdep.h: Likewise.
12938 * sysdeps/i386/sysdep.h: Likewise.
12939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12940 * sysdeps/mach/sysdep.h: Likewise.
12941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12943 * sysdeps/sh/sysdep.h: Likewise.
12944 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12945 * sysdeps/unix/i386/sysdep.S: Likewise.
12946 * sysdeps/unix/sparc/start.c: Likewise.
12947 * sysdeps/unix/sparc/sysdep.S: Likewise.
12948 * sysdeps/unix/sparc/sysdep.h: Likewise.
12949 * sysdeps/unix/start.c: Likewise.
12950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12951 * sysdeps/x86_64/sysdep.h: Likewise.
12952
df78418a
UD
129532012-01-07 Ulrich Drepper <drepper@gmail.com>
12954
a784e502
UD
12955 [BZ #13553]
12956 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12957 for non-gcc.
12958 * argp/argp-fmtstream.h: Use const instead __const.
12959 * argp/argp.h: Likewise.
12960 * assert/assert.h: Likewise.
12961 * bits/fenv.h: Likewise.
12962 * bits/sched.h: Likewise.
12963 * bits/sigset.h: Likewise.
12964 * bits/sigthread.h: Likewise.
12965 * catgets/nl_types.h: Likewise.
12966 * conform/data/pthread.h-data: Likewise.
12967 * crypt/crypt-private.h: Likewise.
12968 * crypt/crypt.h: Likewise.
12969 * crypt/crypt_util.c: Likewise.
12970 * ctype/ctype.h: Likewise.
12971 * debug/execinfo.h: Likewise.
12972 * debug/mbsnrtowcs_chk.c: Likewise.
12973 * debug/mbsrtowcs_chk.c: Likewise.
12974 * debug/wcsnrtombs_chk.c: Likewise.
12975 * debug/wcsrtombs_chk.c: Likewise.
12976 * debug/wcstombs_chk.c: Likewise.
12977 * dirent/dirent.h: Likewise.
12978 * dlfcn/dlfcn.h: Likewise.
12979 * elf/neededtest4.c: Likewise.
12980 * grp/grp.h: Likewise.
12981 * gshadow/gshadow.h: Likewise.
12982 * iconv/gconv.h: Likewise.
12983 * iconv/gconv_int.h: Likewise.
12984 * iconv/gconv_simple.c: Likewise.
12985 * iconv/iconv.h: Likewise.
12986 * iconv/loop.c: Likewise.
12987 * iconv/skeleton.c: Likewise.
12988 * include/aio.h: Likewise.
12989 * include/aliases.h: Likewise.
12990 * include/argz.h: Likewise.
12991 * include/arpa/inet.h: Likewise.
12992 * include/assert.h: Likewise.
12993 * include/dirent.h: Likewise.
12994 * include/dlfcn.h: Likewise.
12995 * include/execinfo.h: Likewise.
12996 * include/fcntl.h: Likewise.
12997 * include/fenv.h: Likewise.
12998 * include/glob.h: Likewise.
12999 * include/grp.h: Likewise.
13000 * include/libintl.h: Likewise.
13001 * include/mntent.h: Likewise.
13002 * include/netdb.h: Likewise.
13003 * include/pwd.h: Likewise.
13004 * include/rpc/netdb.h: Likewise.
13005 * include/sched.h: Likewise.
13006 * include/search.h: Likewise.
13007 * include/shadow.h: Likewise.
13008 * include/signal.h: Likewise.
13009 * include/stdio.h: Likewise.
13010 * include/stdlib.h: Likewise.
13011 * include/string.h: Likewise.
13012 * include/sys/socket.h: Likewise.
13013 * include/sys/stat.h: Likewise.
13014 * include/sys/statfs.h: Likewise.
13015 * include/sys/statvfs.h: Likewise.
13016 * include/sys/syslog.h: Likewise.
13017 * include/sys/time.h: Likewise.
13018 * include/sys/uio.h: Likewise.
13019 * include/time.h: Likewise.
13020 * include/unistd.h: Likewise.
13021 * include/utmp.h: Likewise.
13022 * include/wchar.h: Likewise.
13023 * include/wctype.h: Likewise.
13024 * inet/aliases.h: Likewise.
13025 * inet/arpa/inet.h: Likewise.
13026 * inet/netinet/ether.h: Likewise.
13027 * inet/netinet/in.h: Likewise.
13028 * intl/libintl.h: Likewise.
13029 * io/bits/fcntl2.h: Likewise.
13030 * io/fcntl.h: Likewise.
13031 * io/ftw.h: Likewise.
13032 * io/sys/poll.h: Likewise.
13033 * io/sys/stat.h: Likewise.
13034 * io/sys/statfs.h: Likewise.
13035 * io/sys/statvfs.h: Likewise.
13036 * io/utime.h: Likewise.
13037 * libio/bits/stdio.h: Likewise.
13038 * libio/bits/stdio2.h: Likewise.
13039 * libio/libio.h: Likewise.
13040 * libio/libioP.h: Likewise.
13041 * libio/stdio.h: Likewise.
13042 * locale/lc-ctype.c: Likewise.
13043 * locale/locale.h: Likewise.
13044 * login/utmp.h: Likewise.
13045 * malloc/arena.c: Likewise.
13046 * malloc/malloc.c: Likewise.
13047 * malloc/malloc.h: Likewise.
13048 * malloc/mcheck.c: Likewise.
13049 * malloc/mtrace.c: Likewise.
13050 * math/bits/mathcalls.h: Likewise.
13051 * math/fenv.h: Likewise.
13052 * math/math_private.h: Likewise.
13053 * misc/bits/error.h: Likewise.
13054 * misc/bits/syslog.h: Likewise.
13055 * misc/err.h: Likewise.
13056 * misc/error.h: Likewise.
13057 * misc/fstab.h: Likewise.
13058 * misc/mntent.h: Likewise.
13059 * misc/regexp.h: Likewise.
13060 * misc/search.h: Likewise.
13061 * misc/sgtty.h: Likewise.
13062 * misc/sys/mman.h: Likewise.
13063 * misc/sys/syslog.h: Likewise.
13064 * misc/sys/uio.h: Likewise.
13065 * misc/sys/xattr.h: Likewise.
13066 * misc/ttyent.h: Likewise.
13067 * nis/rpcsvc/ypclnt.h: Likewise.
13068 * nss/nss.h: Likewise.
13069 * posix/bits/unistd.h: Likewise.
13070 * posix/fnmatch.h: Likewise.
13071 * posix/glob.h: Likewise.
13072 * posix/sched.h: Likewise.
13073 * posix/spawn.h: Likewise.
13074 * posix/sys/wait.h: Likewise.
13075 * posix/unistd.h: Likewise.
13076 * posix/wordexp.h: Likewise.
13077 * pwd/pwd.h: Likewise.
13078 * resolv/netdb.h: Likewise.
13079 * resource/sys/resource.h: Likewise.
13080 * rt/aio.h: Likewise.
13081 * rt/bits/mqueue2.h: Likewise.
13082 * rt/mqueue.h: Likewise.
13083 * shadow/shadow.h: Likewise.
13084 * signal/signal.h: Likewise.
13085 * socket/send.c: Likewise.
13086 * socket/sendto.c: Likewise.
13087 * socket/sys/socket.h: Likewise.
13088 * stdio-common/printf.h: Likewise.
13089 * stdlib/bits/stdlib.h: Likewise.
13090 * stdlib/fmtmsg.h: Likewise.
13091 * stdlib/monetary.h: Likewise.
13092 * stdlib/stdlib.h: Likewise.
13093 * stdlib/ucontext.h: Likewise.
13094 * streams/stropts.h: Likewise.
13095 * string/argz.h: Likewise.
13096 * string/bits/string2.h: Likewise.
13097 * string/string.h: Likewise.
13098 * string/strings.h: Likewise.
13099 * sunrpc/rpc/auth.h: Likewise.
13100 * sunrpc/rpc/auth_des.h: Likewise.
13101 * sunrpc/rpc/clnt.h: Likewise.
13102 * sunrpc/rpc/netdb.h: Likewise.
13103 * sunrpc/rpc/pmap_clnt.h: Likewise.
13104 * sunrpc/rpc/xdr.h: Likewise.
13105 * sysdeps/generic/inttypes.h: Likewise.
13106 * sysdeps/generic/net/if.h: Likewise.
13107 * sysdeps/generic/sys/swap.h: Likewise.
13108 * sysdeps/gnu/net/if.h: Likewise.
13109 * sysdeps/gnu/utmpx.h: Likewise.
13110 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13111 * sysdeps/i386/i486/bits/string.h: Likewise.
13112 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13113 * sysdeps/s390/bits/string.h: Likewise.
13114 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13115 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13116 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13117 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13118 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13119 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13120 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13121 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13122 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13123 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13124 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13125 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13126 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13127 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13128 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13129 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13130 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13135 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13136 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13137 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13140 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13142 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13144 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13145 * sysvipc/sys/ipc.h: Likewise.
13146 * sysvipc/sys/msg.h: Likewise.
13147 * sysvipc/sys/sem.h: Likewise.
13148 * sysvipc/sys/shm.h: Likewise.
13149 * termios/termios.h: Likewise.
13150 * time/sys/time.h: Likewise.
13151 * time/time.h: Likewise.
13152 * wcsmbs/bits/wchar2.h: Likewise.
13153 * wcsmbs/uchar.h: Likewise.
13154 * wcsmbs/wchar.h: Likewise.
13155 * wctype/wctype.h: Likewise.
13156
0269750c
UD
13157 [BZ #13551]
13158 * Makeconfig: Remove all but ELF support including AIX support.
13159 * Makerules: Likewise.
13160 * config.h.in: Likewise.
13161 * config.make.in: Likewise.
13162 * configure: Likewise.
13163 * configure.in: Likewise.
13164 * csu/Makefile: Likewise.
13165 * csu/version.c: Likewise.
13166 * debug/Makefile: Likewise.
13167 * dlfcn/Makefile: Likewise.
13168 * elf/Makefile: Likewise.
13169 * extra-lib.mk: Likewise.
13170 * iconv/Makefile: Likewise.
13171 * include/libc-symbols.h: Likewise.
13172 * include/shlib-compat.h: Likewise.
13173 * resolv/Makefile: Likewise.
13174 * resolv/res_libc.c: Likewise.
13175 * rt/Makefile: Likewise.
13176 * sysdeps/i386/asm-syntax.h: Likewise.
13177 * sysdeps/i386/sysdep.h: Likewise.
13178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13179 * sysdeps/mach/sysdep.h: Likewise.
13180 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13181 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13182 * sysdeps/s390/asm-syntax.h: Likewise.
13183 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13184 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13185 * sysdeps/sh/sysdep.h: Likewise.
13186 * sysdeps/unix/sparc/sysdep.h: Likewise.
13187 * sysdeps/wordsize-32/divdi3.c: Likewise.
13188 * sysdeps/x86_64/sysdep.h: Likewise.
13189
00bbd29b
UD
13190 * argp/Versions: Remove _argp_unlock_xxx.
13191
13192 [BZ #13559]
13193 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13194 * abilist/libBrokenLocale.abilist: Likewise.
13195 * abilist/libanl.abilist: Likewise.
13196 * abilist/libc.abilist: Likewise.
13197 * abilist/libcrypt.abilist: Likewise.
13198 * abilist/libdl.abilist: Likewise.
13199 * abilist/libm.abilist: Likewise.
13200 * abilist/libnsl.abilist: Likewise.
13201 * abilist/libpthread.abilist: Likewise.
13202 * abilist/libresolv.abilist: Likewise.
13203 * abilist/librt.abilist: Likewise.
13204 * abilist/libthread_db.abilist: Likewise.
13205 * abilist/libutil.abilist: Likewise.
13206 * abilist/libnss_db.abilist: New file.
13207
13208 * scripts/abilist.awk: Add support for indirect functions.
13209
a2693a0e
UD
13210 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13211
3f05895f
UD
13212 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13213
ecb6fb48
UD
13214 * shlib-versions: Remove entries for ports architectures.
13215
664f8cb9
UD
13216 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13217 files in ports.
13218 * elf/stackguard-macros.h: Remove support for IA-64.
13219 * elf/tst-auditmod1.c: Likewise.
13220 * sysdeps/generic/ldsodefs.h: Likewise.
13221
7ae81d88
UD
13222 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13223 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13224 configure files.
13225
bdeba135
UD
13226 [BZ #13552]
13227 * configure.in: Remove --enable-omitfp support.
13228 * FAQ.in: Adjust.
13229 * config.make.in: Likewise.
13230 * Makeconfig: Likewise.
13231 * manual/install.texi: Likewise.
13232
d75a0a62
UD
13233 In case anyone cares, the IA-64 architecture could move to ports.
13234 * sysdeps/ia64/*: Removed.
13235 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13236 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13237
dcc9756b
UD
13238 [BZ #13555]
13239 * configure.in: Remove entries for unsupported architectures.
13240
d3761ebc 13241 [BZ #13533]
9954432e
UD
13242 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13243 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13244 routines.
13245 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13246 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13247 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13248 fall back to using wcrtomb.
13249 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13250 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13251 renaming.
13252 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13253 * wcsmbs/tst-c16c32-1.c: New file.
13254
13255 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13256 local variable.
13257
c3a87236
UD
13258 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13259
28926a1b
UD
13260 * elf/tst-unique3.cc: Add explicit declaration of gets.
13261 * elf/tst-unique3lib.cc: Likewise.
13262 * elf/tst-unique3lib2.cc: Likewise.
13263 * elf/tst-unique4.cc: Likewise.
13264
df78418a
UD
13265 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13266
8ecd6b2a
JM
132672012-01-06 Joseph Myers <joseph@codesourcery.com>
13268
13269 [BZ #13566]
13270 * assert/assert.h (static_assert): Don't define for C++.
13271 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13272 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13273
9f115170
UD
132742012-01-03 Ulrich Drepper <drepper@gmail.com>
13275
5e0d0300
UD
13276 * iconv/loop.c (single loop): Fix assertion in storing of
13277 remaining bytes.
13278
9f115170
UD
13279 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13280
81fb02b0
UD
132812012-01-01 Ulrich Drepper <drepper@gmail.com>
13282
13283 * posix/getconf.c: Update copyright year.
13284 * nss/getent.c: Likewise.
a316c1f6 13285 * nss/makedb.c: Likewise.
81fb02b0
UD
13286 * iconv/iconvconfig.c: Likewise.
13287 * iconv/iconv_prog.c: Likewise.
13288 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13289 * elf/pldd.c: Likewise.
13290 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13291 * catgets/gencat.c: Likewise.
13292 * csu/version.c: Likewise.
13293 * elf/ldd.bash.in: Likewise.
13294 * elf/sprof.c (print_version): Likewise.
13295 * locale/programs/locale.c: Likewise.
13296 * locale/programs/localedef.c: Likewise.
a316c1f6 13297 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13298 * nscd/nscd.c (print_version): Likewise.
13299 * debug/xtrace.sh: Likewise.
13300 * malloc/memusage.sh: Likewise.
13301 * malloc/mtrace.pl: Likewise.
13302 * debug/catchsegv.sh: Likewise.
13303
2ba92745
JJ
133042011-12-30 Jakub Jelinek <jakub@redhat.com>
13305
13306 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13307 pure attribute.
13308
dadebdae
UD
133092011-12-24 Ulrich Drepper <drepper@gmail.com>
13310
d3761ebc 13311 [BZ #13533]
db6af3eb
UD
13312 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13313 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13314 transformations.
13315 * iconv/gconv_int.h: Likewise.
13316 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13317 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13318 from libc for GLIBC_2.16.
13319 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13320 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13321 * wcsmbs/uchar.h: Really define mbstate_t.
13322 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13323 * wcsmbs/c16rtomb.c: New file.
13324 * wcsmbs/mbrtoc16.c: New file.
13325 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13326 for C/POSIX locale.
13327 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13328 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13329
dadebdae
UD
13330 * wcsmbs/wchar.h: Add missing __restrict.
13331
67371b56
UD
133322011-12-23 Ulrich Drepper <drepper@gmail.com>
13333
74033a25
UD
13334 [BZ #13532]
13335 * time/Makefile (routines): Add timespec_get.
13336 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13337 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13338 timespec for ISO C11.
13339 * time/timespec_get.c: New file.
13340 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13341 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13342
380d7e87
UD
13343 [BZ #13531]
13344 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13345 * stdlib/stdlib.h: Declare aligned_alloc.
13346 * Versions.def: Add GLIBC_2.16 for libc.
13347 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13348
4e9e7a35
UD
13349 [BZ 13527]
13350 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13351 ISO C11.
13352
380d7e87 13353 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13354 code.
13355
03a71829
UD
13356 [BZ #13528]
13357 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13358
839e283e
UD
13359 [BZ #13529]
13360 * assert/assert.h (static_assert): Define.
13361
ce5294e2 13362 * version.h: Update for 2.16 development version.
90fa7312 13363
8d44e150 13364 [BZ #13526]
d7809905
UD
13365 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13366 _ISOC11_SOURCE.
13367
c0da14cd
UD
13368 * version.h (RELEASE): Bump for 2.15 release.
13369 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13370
530a3249
MP
13371 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13372 Patch by Marek Polacek <mpolacek@redhat.com>.
13373
67371b56
UD
13374 * bits/byteswap.h: Protect long long constants with __extension__.
13375 * sysdeps/i386/bits/byteswap.h: Likewise.
13376 * sysdeps/ia64/bits/byteswap.h: Likewise.
13377 * sysdeps/s390/bits/byteswap.h: Likewise.
13378 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13379
15db4de1
LD
133802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13381
13382 [BZ #13540]
bbe315ea
LD
13383 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13384 destination buffer.
15db4de1
LD
13385 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13386
2b2596b1
MP
133872011-12-23 Marek Polacek <polacek@redhat.com>
13388
13389 * elf/dl-addr.c (determine_info): Add inline keyword.
13390 * elf/tst-auditmod4b.c (check_avx): Likewise.
13391 * elf/tst-auditmod6b.c (check_avx): Likewise.
13392 * elf/tst-auditmod6c.c (check_avx): Likewise.
13393 * elf/tst-auditmod7b.c (check_avx): Likewise.
13394
70c6c246
UD
133952011-12-23 Ulrich Drepper <drepper@gmail.com>
13396
13397 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13398 !__SSE_MATH__.
13399
c044cf14
LD
134002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13401
15db4de1 13402 [BZ #13540]
c044cf14
LD
13403 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13404 processing for last bytes.
13405
6b13d9d9
BH
134062011-08-06 Bruno Haible <bruno@clisp.org>
13407
d455f537
BH
13408 [BZ #13061]
13409 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13410 U+0385, not to U+1FEE.
13411
6b13d9d9
BH
13412 [BZ #13062]
13413 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13414 entry for U+00A5 U+0301.
13415
db910efd
UD
134162011-12-22 Ulrich Drepper <drepper@gmail.com>
13417
27deeafc
UD
13418 [BZ #13166]
13419 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13420 buffer for the output is too small.
13421
aed9d171
UD
13422 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13423 optimization.
13424
db910efd
UD
13425 [BZ #13185]
13426 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13427 SSE flags if possible.
13428
2bd779ae
LD
134292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13430
e7f9dac3 13431 [BZ #13540]
2bd779ae
LD
13432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13433 processing for last bytes.
13434
154bfc16
JM
134352011-12-22 Joseph Myers <joseph@codesourcery.com>
13436
13437 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13438 (syscall-list-default-options, syscall-list-default-condition)
13439 (syscall-list-includes): Define.
13440 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13441 list of ABIs and options and #if conditions for each ABI. Do not
13442 handle common syscalls between ABIs specially.
13443 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13444 Remove.
13445 (syscall-list-variants, syscall-list-32bit-options)
13446 (syscall-list-32bit-condition, syscall-list-64bit-options)
13447 (syscall-list-64bit-condition): Define.
13448 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13449 (syscall-list-variants, syscall-list-32bit-options)
13450 (syscall-list-32bit-condition, syscall-list-64bit-options)
13451 (syscall-list-64bit-condition): Define.
13452 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13453 Remove.
13454 (syscall-list-variants, syscall-list-32bit-options)
13455 (syscall-list-32bit-condition, syscall-list-64bit-options)
13456 (syscall-list-64bit-condition): Define.
13457 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13458 Remove.
13459 (syscall-list-variants, syscall-list-32bit-options)
13460 (syscall-list-32bit-condition, syscall-list-64bit-options)
13461 (syscall-list-64bit-condition): Define.
13462
21eaf3a5
UD
134632011-12-22 Ulrich Drepper <drepper@gmail.com>
13464
16c6f992
UD
13465 * locale/iso-639.def: Add brx entry.
13466
41043168
UD
13467 [BZ #13328]
13468 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13469 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13470
21eaf3a5
UD
13471 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13472 __feraiseexcept_renamed.
13473
e3a851a2
UD
134742011-12-21 Ulrich Drepper <drepper@gmail.com>
13475
4920765e
UD
13476 [BZ #13538]
13477 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13478 EPOLLET with unsigned values.
13479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13481
e3a851a2
UD
13482 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13483 to large cancellation.
13484 * math/s_cacoshf.c: Likewise.
13485 * math/s_cacoshl.c: Likewise.
13486
b27e24b8
RK
134872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13488
13489 [BZ #13305]
aebefeee 13490 [BZ #12786]
b27e24b8
RK
13491 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13492 * math/s_cacoshf.c: Likewise.
13493 * math/s_cacoshl.c: Likewise.
13494
ee190f67
UD
134952011-12-21 Ulrich Drepper <drepper@gmail.com>
13496
13497 [BZ #13439]
13498 * iconv/gconv.h: Define __GCONV_SWAP.
13499 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13500 * iconvdata/utf-16.c: Likewise.
13501 * iconvdata/utf-32.c: Likewise.
13502
707f25df
AS
135032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13504
13505 [BZ #13524]
13506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13507 numerator after shifting it by one limb.
13508
d2daaa1e
RÁE
135092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13510
13511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13512 under [__USE_EXTERN_INLINES].
13513
a4647e72
UD
135142011-12-17 Ulrich Drepper <drepper@gmail.com>
13515
13516 [BZ #13446]
13517 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13518
f0b264f1
AZ
135192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13520
13521 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13522 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13523 optimized code.
13524 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13525 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13526 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13527 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13528 for strncasecmp/strncasecmp_l compilation.
13529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13530 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13531
8ef4f244
MP
135322011-12-08 Marek Polacek <mpolacek@redhat.com>
13533
13534 [BZ #13484]
13535 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13536 of __asm__.
13537
97ac2654
UD
135382011-12-17 Ulrich Drepper <drepper@gmail.com>
13539
13540 [BZ #13506]
13541 * time/tzfile.c (__tzfile_read): Check values from file header.
13542
91d2a845
WS
135432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13544
13545 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13546 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13547 * powerpc/powerpc32/dl-start.S: Likewise.
13548 * powerpc/powerpc32/elf/start.S: Likewise.
13549 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13550 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13551 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13552 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13553 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13554 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13555 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13556 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13557 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13558 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13559 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13560 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13561 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13562 * powerpc/powerpc32/memset.S: Likewise.
13563 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13564 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13565 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13566 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13567 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13568 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13569 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13570 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13571 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13572 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13573 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13574 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13575 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13576
a1267ba1
AZ
135772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13578
13579 * math/libm-test.inc: Added more nearbyint tests.
13580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13584
ad8ac1bd
RL
135852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13586
13587 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13588 FD_CLOEXEC.
13589
1d3e4b61
UD
135902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13591
13592 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13593 Add wcscpy-ssse3 wcscpy-c.
13594 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13595 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13596 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13597 * sysdeps/x86_64/wcschr.S: New file.
13598 * sysdeps/x86_64/wcsrchr.S: New file.
13599 * string/test-strcmp.c: Remove checking of wcscmp function for
13600 wrong alignments.
13601 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13602 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13603 wcsrchr-sse2 wcsrchr-c.
13604 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13605 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13606 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13607 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13608 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13609 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13610 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13611 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13612 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13613 * wcsmbc/wcschr.c (WCSCHR): New macro.
13614
5b330a2d
UD
136152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13616
13617 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13618 * wcsmbs/test-wcsrchr.c: New file.
13619 * string/test-strrchr.c: Add wcsrchr support.
13620 (WIDE): New macro.
13621 * wcsmbs/test-wcscpy.c: New file.
13622 * string/test-strcpy.c: Add wcscpy support.
13623 (WIDE): New macro.
26428b7c 13624
f039c043
UD
136252011-12-10 Ulrich Drepper <drepper@gmail.com>
13626
13627 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13628 the inner loop.
13629
850fb039
AS
136302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13631
13632 [BZ #13472]
13633 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13634
4efbd5cb
UD
136352011-12-04 Ulrich Drepper <drepper@gmail.com>
13636
52ff5dd0 13637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13638 Minor optimizations.
52ff5dd0 13639
4efbd5cb
UD
13640 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13641 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13642 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13643
8a426e12
UD
136442011-12-03 Ulrich Drepper <drepper@gmail.com>
13645
aff2453d
UD
13646 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13647 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13648 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13649 for gcc to avoid warnings.
13650 * inet/Makefile (tests): Add tst-checks.
13651 * inet/tst-checks.c: New file.
13652
13653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13654 warning.
13655
13656 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13657 __wmemcmp_sse2.
13658
13659 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13660 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13661
8a426e12
UD
13662 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13663
9bea3473
UD
136642011-12-02 Ulrich Drepper <drepper@gmail.com>
13665
3a965496
UD
13666 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13667 problem.
13668
9bea3473
UD
13669 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13670
f101631b
UD
136712011-11-29 Joseph Myers <joseph@codesourcery.com>
13672
13673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13674 conditional on GCC version.
13675 (__arch_compare_and_exchange_val_8_acq)
13676 (__arch_compare_and_exchange_val_16_acq)
13677 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13678 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13679 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13680
a98275aa
UD
136812011-12-02 Joseph Myers <joseph@codesourcery.com>
13682
13683 * sysdeps/sh/backtrace.c: New file.
13684
d4cc29a2
AS
136852011-12-02 Andreas Schwab <schwab@redhat.com>
13686
13687 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13688 parenthesis.
13689
6257af2d
AS
136902011-12-01 Andreas Schwab <schwab@redhat.com>
13691
13692 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13693 falling back to utime.
13694
b5f44c1a
AS
136952011-11-30 Andreas Schwab <schwab@redhat.com>
13696
13697 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13698 expectations for float.
13699
f3a6cc0a
AS
137002011-11-29 Andreas Schwab <schwab@redhat.com>
13701
13702 * locale/weight.h (findidx): Add parameter len.
13703 * locale/weightwc.h (findidx): Likewise.
13704 * posix/fnmatch_loop.c (FCT): Adjust caller.
13705 * posix/regcomp.c (build_equiv_class): Likewise.
13706 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13707 * posix/regexec.c (check_node_accept_bytes): Likewise.
13708 * string/strcoll_l.c (STRCOLL): Likewise.
13709 * string/strxfrm_l.c (STRXFRM): Likewise.
13710
9d65ea3a
UD
137112011-11-17 Ulrich Drepper <drepper@gmail.com>
13712
13713 * Makefile.in: Remove CVSOPT handling.
13714 * configure.in: Remove use of AC_REVISION.
13715 * iconvdata/Makefile (distribute): No need to filter out CVS.
13716 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13717 handling.
13718
5583a086
AS
137192011-11-16 Andreas Schwab <schwab@redhat.com>
13720
13721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13722 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13723 [USE_AS_STRNCASECMP_L]: Likewise.
13724 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13725 NO_TLS_DIRECT_SEG_REFS.
13726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13727 Fix argument offsets for non-PIC.
13728 [USE_AS_STRNCASECMP_L]: Likewise.
13729 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13730 NO_TLS_DIRECT_SEG_REFS.
13731
d62a8200
UD
137322011-11-15 Ulrich Drepper <drepper@gmail.com>
13733
9d65ea3a 13734 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13735 O_CLOEXEC.
13736 * locale/loadlocale.c (_nl_load_locale): Likewise.
13737
09f93bd3
AS
137382011-11-15 Andreas Schwab <schwab@redhat.com>
13739
446514f9
AS
13740 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13741 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13742 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13743 (SYSCALL_GETTIME): Set errno on error.
13744
09f93bd3
AS
13745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13746 count references to noai6ai_cached.
13747
312be3f9
UD
137482011-11-15 Ulrich Drepper <drepper@gmail.com>
13749
13750 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13751
13752 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13753 FD_CLOEXEC for /proc/self/maps.
13754
13755 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13756 FD_CLOEXEC for /proc/meminfo.
13757
13758 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13759 gai.conf.
13760
13761 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13762 FD_CLOEXEC for given file.
13763
13764 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13765
13766 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13767 FD_CLOEXEC for /etc/hosts.
13768 (_gethtent): Likewise.
13769
13770 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13771
13772 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13773 cancellation and set FD_CLOEXEC for /etc/netgroup.
13774
13775 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13776 reading /etc/publickey.
13777
13778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13779 allow cancellation when reading /etc/group.
13780
13781 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13782 cancellation.
13783 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13784
13785 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13786 when using data file.
13787
13788 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13789
13790 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13791 (write_nis_obj): Use "c" and "e" in fopen.
13792
13793 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13794
13795 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13796
13797 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13798
13799 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13800
13801 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13802 locale.alias.
13803
13804 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13805
13806 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13807
13808 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13809
13810 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13811 file parsing and set FD_CLOEXEC.
13812
82af0fa8
UD
138132011-11-14 Ulrich Drepper <drepper@gmail.com>
13814
13815 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13816
a5fb313c
AS
138172011-11-14 Andreas Schwab <schwab@redhat.com>
13818
13819 * malloc/arena.c (arena_get2): Don't call reused_arena when
13820 _int_new_arena failed.
13821
6abf3465
UD
138222011-11-14 Ulrich Drepper <drepper@gmail.com>
13823
13824 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13825 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13827 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13830 to compile strcasecmp and strncasecmp.
13831 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13832 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13833
13834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13835
76e3966e
UD
138362011-11-13 Ulrich Drepper <drepper@gmail.com>
13837
13838 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13839 locale-defines.sym to gen-as-const-headers.
13840 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13841 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13843 to compile strcasecmp and strncasecmp.
13844 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13845 strcasecmp_l and strncasecmp_l.
13846 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13847 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13848 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13849 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13850 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13851 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13852 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13853 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13854 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13855 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13856 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13857
ab26144e
UD
138582011-11-12 Ulrich Drepper <drepper@gmail.com>
13859
7edb22ef
UD
13860 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13861 result of SYSDEP_GETTIME_CPU to retval.
13862 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13863 parameter list to macro. Remove trailing semicolon. Adjust users.
13864
9694fc44
UD
13865 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13866 variable.
13867
8ad89ef8
UD
13868 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13869 mantissa words.
13870 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13871
0c822ef9
UD
13872 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13873 from unused variable.
13874
874e0564
UD
13875 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13876 DWARF definitions.
13877 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13878 for assembling.
13879
3a2edc79
UD
13880 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13881 over namespaces.
13882
f3c2577f
UD
13883 * sunrpc/rpc_prot.c (rejected): Fix case value.
13884
294ce126
UD
13885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13886 unsigned long long int to avoid warnings in shift.
13887
5e2b63c6
UD
13888 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13889 of use of trans.
13890 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13891 variable tmp.
13892
e7f4b08e
UD
13893 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13894 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13895 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13896
ab26144e
UD
13897 * nis/nis_table.c (nis_list): Use variable of correct type for
13898 result of __follow_path call.
13899
8a6d5255
AZ
139002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13901
13902 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13903 of math functions ceil, trunc, floor, round, and sqrt, when
13904 avaliable on the platform.
13905 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13906 name clash.
13907 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13908 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13909 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13910
aaddc98c
MP
139112011-10-30 Marek Polacek <mpolacek@redhat.com>
13912
13913 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13914 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13915
95b7042b
RM
139162011-11-11 Roland McGrath <roland@hack.frob.com>
13917
13918 * include/unistd.h: Fix __readlink return type.
13919 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13920
57769839
UD
139212011-11-11 Ulrich Drepper <drepper@gmail.com>
13922
13923 * stdlib/ucontext.h: Undo last change for makecontext.
13924
edc5984d
AS
139252011-11-11 Andreas Schwab <schwab@redhat.com>
13926
98591e58
AS
13927 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13928
edc5984d
AS
13929 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13930 * setjmp/setjmp.h: Mark functions as non-leaf.
13931 * setjmp/bits/setjmp2.h: Likewise.
13932 * stdlib/ucontext.h: Likewise.
13933
77cdc054
AS
139342011-11-10 Andreas Schwab <schwab@redhat.com>
13935
13936 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13937 (reused_arena): Don't check arena limit.
13938 (arena_get2): Atomically check arena limit.
13939
fe72eebd
UD
139402011-11-08 Ulrich Drepper <drepper@gmail.com>
13941
5f078c32
UD
13942 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13943 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13944
fe72eebd
UD
13945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13946 instructions.
13947
ae1bc2fa
AS
139482011-11-07 Andreas Schwab <schwab@redhat.com>
13949
7583a88d
AS
13950 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13951 handler when locking.
13952
ae1bc2fa
AS
13953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13954 Fix size of allocated buffer.
13955
10fb0bfa
AS
139562011-11-04 Andreas Schwab <schwab@redhat.com>
13957
998832a4
AS
13958 [BZ #10103]
13959 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13960 declarations for long double functions.
13961 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13962
10fb0bfa
AS
13963 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13964
3d7ba52b
AS
139652011-11-03 Andreas Schwab <schwab@redhat.com>
13966
a9ae54a1
AS
13967 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13968 installed.
13969
3d7ba52b
AS
13970 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13971 is disabled.
13972
bc8db248
ST
139732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13974
13975 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13976
45b96dd6
AS
139772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13978
647776f6
AS
13979 * include/alloca.h (stackinfo_alloca_round): Define.
13980 (extend_alloca): Use it.
13981 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13982 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13983 here.
13984
d91a8b93
AS
13985 * scripts/check-local-headers.sh: Ignore libaudit.h.
13986
45b96dd6
AS
13987 * nscd/Makefile (extra-objs): Make recursively expanded.
13988
432d41ce
UD
139892011-11-01 Ulrich Drepper <drepper@gmail.com>
13990
34372fc6
UD
13991 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13993
fadb59f8
UD
13994 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13995 * posix/tst-rfc3484-2.c: Likewise.
13996 * posix/tst-rfc3484-3.c: Likewise.
13997
78239589
UD
13998 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13999 process_vm_writev.
14000 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14001 process_vm_writev.
14002 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14003 process_vm_writev from libc using GLIBC_2.15 version.
14004
432d41ce
UD
14005 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14006
02f9c6cf
PP
140072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14008
14009 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14010 stack usage.
14011
3a2c0242
UD
140122011-10-31 Ulrich Drepper <drepper@gmail.com>
14013
f4ec4833
UD
14014 [BZ #13367]
14015 * nss/getent.c (initgroups_keys): Show error message in case no group
14016 names are given.
14017
3a2c0242
UD
14018 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14019 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14020 __bump_nl_timestamp.
14021 * nscd/connections (nscd_init): When host database is served open
14022 netlink socket and request notification about configuration changes.
14023 (main_loop_poll): Track netlink file descriptor and bump timestamp
14024 in case data becomes available.
14025 (main_loop_epoll): Likewise.
14026 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14027 (database_pers_head): Add extra_data fileds.
14028 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14029 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14030 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14031 Adjust caller.
14032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14033 in6ai data, call __free_in6ai.
14034 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14035 Add -DHAVE_NETLINK.
14036 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14037 interface information. Reuse previous data if netlink timestamp
14038 is not changed.
14039 (__bump_nl_timestamp): New function.
14040 (__free_in6ai): New function.
14041
636064eb
UD
140422011-10-30 Ulrich Drepper <drepper@gmail.com>
14043
14044 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14045 close_not_cancel_no_status here.
14046 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14047
9beb2334
UD
140482011-10-29 Ulrich Drepper <drepper@gmail.com>
14049
6ef76f3b
UD
14050 [BZ #13276]
14051 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14052 return value.
14053
0ffc4f3e 14054 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14055 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14056 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14057
cb95113e
UD
140582011-07-03 Andreas Jaeger <aj@suse.de>
14059
14060 [BZ #10709]
14061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14062 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14063 * math/libm-test.inc (sin_test): Add test case.
14064
a1b560ff
UD
140652011-10-29 Ulrich Drepper <drepper@gmail.com>
14066
c9aaface
UD
14067 [BZ #13337]
14068 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14069 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14070
d272e7f1
UD
14071 * elf/chroot_canon.c (chroot_canon): Cleanups.
14072
1bc33071
UD
14073 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14074
1760874d
TJ
14075 [BZ #13335]
14076 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14077 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14078
51d91b18
UD
14079 * string/test-strchr.c: Make usable for strchrnul testing.
14080 * string/test-strchrnul.c: New file.
14081 * string/Makefile (strop-tests): Add strchrnul.
14082
a1b560ff 14083 * po/it.po: Update from translation team.
b611fb81 14084 * po/es.po: Likewise.
a1b560ff 14085
a5b81e1f
UD
140862011-10-28 Ulrich Drepper <drepper@gmail.com>
14087
fd52bc6d
UD
14088 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14089 the three constants needed as parameters. Drop the others.
14090 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14091 __m128i_strloadu_tolower.
52e4b9eb
UD
14092 Create and initialize variable zero and use it in all the places
14093 where _mm_setzero_si128 was used.
fd52bc6d 14094
a5b81e1f
UD
14095 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14096 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14097 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14099 anymore.
14100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14101 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14102 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14103 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14105 __mpranred, __mptan.
14106 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14107 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14108 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14109 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14112 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14113 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14114 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14115
b4343346
AS
141162011-10-28 Andreas Schwab <schwab@redhat.com>
14117
0c92d8a8
AS
14118 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14119 redefine if SHARED.
14120 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14121
b4343346
AS
14122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14123 wide char related routines to wcsmbs subdir.
14124
3871f58f
AS
141252011-10-27 Andreas Schwab <schwab@redhat.com>
14126
14127 [BZ #13344]
14128 * misc/sys/cdefs.h (__THROWNL): Define.
14129 * posix/unistd.h: Use __THREADNL instead of __THREAD
14130 for memory synchronization functions.
14131
94d44d9f
RM
141322011-10-26 Roland McGrath <roland@hack.frob.com>
14133
21b64b15 14134 [BZ #13349]
94d44d9f
RM
14135 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14136 doesn't exist.
14137 * manual/stdio.texi (Obstack Streams): Node removed.
14138
f6ce9294
AS
141392011-10-26 Andreas Schwab <schwab@redhat.com>
14140
80479147
AS
14141 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14144
f6ce9294
AS
14145 * math/math_private.h (math_force_eval): Allow non-addressable
14146 arguments.
14147 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14148
618280a1
UD
141492011-10-25 Ulrich Drepper <drepper@gmail.com>
14150
e0016b11
UD
14151 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14152 file is not needed.
14153
14154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14155 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14156 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14157 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14158 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14160 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14161 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14162 Add AVX variants.
14163 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14164 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14165 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14166 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14168 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14169 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14170 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14171 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14172 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14173 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14174 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14176 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14177 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14178 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14179 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14180 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14181 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14182
14183 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14184 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14185
618280a1
UD
14186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14187 place. Use VEX encoding when compiling for AVX.
14188
37822576
AS
141892011-10-25 Andreas Schwab <schwab@redhat.com>
14190
1f1e1947
AS
14191 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14192 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14193
37822576
AS
14194 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14195
31ea014d
UD
141962011-10-25 Ulrich Drepper <drepper@gmail.com>
14197
d7826aa1 14198 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14199 useless if() expression.
d7826aa1
UD
14200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14216 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14218 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14219
31ea014d
UD
14220 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14221
16437fec
AS
142222011-10-25 Andreas Schwab <schwab@redhat.com>
14223
14224 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14225 condition.
14226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14227
31d3cc00
UD
142282011-10-25 Ulrich Drepper <drepper@gmail.com>
14229
14230 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14231 .text section. Avoid duplicate constants.
14232 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14240 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14242 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14244 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14247 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14249 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14252 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14253 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14254 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14256 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14257 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14258 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14259 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14260 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14261 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14262 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14274 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14275 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14276 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14277
58985aa9
UD
142782011-10-24 Ulrich Drepper <drepper@gmail.com>
14279
202c9deb
UD
14280 * sysdeps/x86_64/dla.h: Move to ...
14281 * sysdeps/x86_64/fpu/dla.h: ...here.
14282 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14283 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14284
af968f62
UD
14285 * config.make.in: Add have-mfma4 entry.
14286 * configure.in: Substitute libc_cv_cc_fma4.
14287 * math/Makefile (dbl-only-routines): Add sincostab.
14288 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14289 Use __sincostab not sincos.
14290 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14291 name is a macro.
14292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14296 using __copysign.
14297 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14298 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14299 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14300 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14301 and __inv.
14302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14303 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14304 __copysign.
14305 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14306 define aliases when function name is a macro.
14307 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14308 sysdeps/ieee754/dbl-64/sincos.tbl.
14309 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14310 fma4-enabled routines.
14311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14316 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14317 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14318 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14319 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14320 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14321 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14322 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14323 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14324 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14325 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14326 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14327 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14328 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14329 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14331 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14332 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14334 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14336 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14338 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14340 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14341
58985aa9
UD
14342 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14343 rename.
14344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14352
a201fbcf
AS
143532011-10-24 Andreas Schwab <schwab@redhat.com>
14354
14355 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14356
fc2ee42a
LD
143572011-10-23 Ulrich Drepper <drepper@gmail.com>
14358
bb3129bd
UD
14359 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14360
0275fff8
UD
14361 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14362 prediction.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14364
2fa2ae85
UD
14365 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14366 Remove unused variable magic_bits.
14367 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14368
fc2ee42a
LD
14369 * string/strnlen.c: Define and use STRNLEN macro.
14370 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14371 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14373 * wcsmbs/wcslen.c: Define and use WCSLEN.
14374 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14375 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14376 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14377 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14378 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14379 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14380 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14381
ce7dd29f
LD
143822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14383
14384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14385 strnlen-sse2-no-bsf.
14386 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14388 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14389 Add strnlen support.
14390 (USE_AS_STRNLEN): New macro.
14391 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14392 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14393 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14394 * sysdeps/x86_64/wcslen.S: New file.
14395
979c70a3
MZ
143962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14397
14398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14399 XMM-moves are used for copying on small sizes.
14400
2d09f82f
LD
144012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14402
14403 * wcsmbs/Makefile (strop-tests): Add wcschr.
14404 * wcsmbs/test-wcschr.c: New file.
14405 * string/test-strchr.c: Update.
14406 Add wcschr support.
14407 (WIDE): New macro.
14408
619fccca
LD
144092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14410
2d09f82f 14411 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14412 * wcsmbs/test-wcslen.c: New file.
14413 * string/test-strlen.c: Update.
14414 Add wcslen support.
14415 (WIDE): New macro.
14416
09f699ea
UD
144172011-10-23 Ulrich Drepper <drepper@gmail.com>
14418
14419 * po/it.po: Update from translation team.
14420
95584d3b
LD
144212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14422
14423 * sysdeps/x86_64/wcscmp.S: Update.
14424 Fix wrong comparison semantics.
14425 wcscmp shall use signed comparison not unsigned.
14426 Don't use substraction to avoid overflow bug.
14427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14428 * wcsmbc/wcscmp.c: Likewise.
14429 * string/test-strcmp.c: Likewise.
14430 Add new tests to check cases with negative values.
14431
c8b3296b
UD
144322011-10-23 Ulrich Drepper <drepper@gmail.com>
14433
14434 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14435 * sysdeps/x86_64/dla.h: ...here. New file.
14436 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14445
246ad57a
AS
144462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14447
14448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14449 __ynl_finite aliases.
14450
a1a87169
UD
144512011-10-22 Ulrich Drepper <drepper@gmail.com>
14452
0d355eb7
UD
14453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14454
a1a87169
UD
14455 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14456 define DLA_FMA.
14457 [DLA_FMA] (EMULV): Use DLA_FMA.
14458 [DLA_FMA] (MUL12): Use EMULV.
14459 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14460 that are not needed.
14461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14468
ee2aafe0
AS
144692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14470
14471 * math/s_nan.c: Undef __nan.
14472 * math/s_nanf.c: Undef __nanf.
14473 * math/s_nanl.c: Undef __nanl.
14474 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14475 "math_private.h".
14476
bc62c2fb
UD
144772011-10-22 Ulrich Drepper <drepper@gmail.com>
14478
77425c63
UD
14479 * math/s_catan.c: Add branch predictions.
14480 * math/s_catanf.c: Likewise.
14481 * math/s_catanh.c: Likewise.
14482 * math/s_catanhf.c: Likewise.
14483 * math/s_catanhl.c: Likewise.
14484 * math/s_catanl.c: Likewise.
14485 * math/s_cexp.c: Likewise.
14486 * math/s_cexpf.c: Likewise.
14487 * math/s_cexpl.c: Likewise.
14488 * math/s_clog.c: Likewise.
14489 * math/s_clog10.c: Likewise.
14490 * math/s_clog10f.c: Likewise.
14491 * math/s_clog10l.c: Likewise.
14492 * math/s_clogf.c: Likewise.
14493 * math/s_clogl.c: Likewise.
14494 * math/s_csqrt.c: Likewise.
14495 * math/s_csqrtf.c: Likewise.
14496 * math/s_csqrtl.c: Likewise.
14497 * math/s_ctanf.c: Likewise.
14498 * math/s_ctanh.c: Likewise.
14499 * math/s_ctanhf.c: Likewise.
14500 * math/s_ctanhl.c: Likewise.
14501 * math/s_ctanl.c: Likewise.
14502
bc62c2fb
UD
14503 * math/math_private.h: Define __nan, __nanf, __nanl.
14504 * math/s_cacosh.c: Include <math_private.h>.
14505 * math/s_cacoshl.c: Likewise.
14506 * math/s_casinh.c: Likewise.
14507 * math/s_casinhf.c: Likewise.
14508 * math/s_casinhl.c: Likewise.
14509 * math/s_ccos.c: Rely entire on ccosh.
14510 * math/s_ccosf.c: Rely entire on ccoshf.
14511 * math/s_ccosl.c: Rely entirely on ccoshl.
14512 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14513 Remove tests for FE_INVALID.
14514 * math/s_ccoshf.c: Likewise.
14515 * math/s_ccoshl.c: Likewise.
14516 * math/s_csin.c: Likewise.
14517 * math/s_csinf.c: Likewise.
14518 * math/s_csinh.c Likewise.
14519 * math/s_csinhf.c: Likewise.
14520 * math/s_csinhl.c: Likewise.
14521 * math/s_csinl.c: Likewise.
14522 * math/s_ctan.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14524 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14526
8ec250a4
UD
145272011-10-21 Ulrich Drepper <drepper@gmail.com>
14528
c196fed8
UD
14529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14530 compilation problems.
14531
8ec250a4
UD
14532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14533 __builtin_expect.
14534
8d4f46c6
UD
145352011-10-20 Ulrich Drepper <drepper@gmail.com>
14536
ed72b654
UD
14537 * sysdeps/i386/configure.in: Test for -mfma4 option.
14538 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14539 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14540 COMMON_CPUID_INDEX_80000001.
14541 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14542 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14543 use it if FMA3 is not supported.
14544 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14545
8d4f46c6
UD
14546 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14547 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14548
d45c60c2
AS
145492011-10-20 Andreas Schwab <schwab@redhat.com>
14550
14551 [BZ #12892]
14552 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14553 it would create a cycle with a link time dependency.
14554
d9a4d2ab
UD
145552011-10-19 Ulrich Drepper <drepper@gmail.com>
14556
855d1560
UD
14557 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14558 instruction.
14559 * string/Makefile (strop-tests): Add rawmemchr.
14560 * string/test-rawmemchr.c: New file.
14561
d9a4d2ab
UD
14562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14564 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14565 when compiling str{,n}casecmp and when AVX is available. Hook up
14566 new optimized code in initializers.
14567
8f3b1ffe
AS
145682011-10-19 Andreas Schwab <schwab@redhat.com>
14569
14570 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14571 __feraiseexcept instead of feraiseexcept.
14572
d38f1dba
UD
145732011-10-18 Ulrich Drepper <drepper@gmail.com>
14574
d9a8d0ab
UD
14575 * math/math_private.h: Define defaults for libc_fetestexcept and
14576 libc_feupdateenv.
14577 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14578 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14580 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14581 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14582 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14583 libc_fetestexcept and libc_feupdateenv.
14584
4855e3dd
UD
14585 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14586 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14587 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14588 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14589 libc_feholdexcept_setround.
14590
581d30e3
UD
14591 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14592 Add s_nearbyint-c and s_nearbyintf-c.
14593 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14594 nearbyintf inlines.
14595 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14596 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14597 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14598 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14599
d38f1dba
UD
14600 * math/math_private.h: Define defaults for libc_fegetround,
14601 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14602 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14603 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14604 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14605 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14606 standard functions.
14607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14608 Remove comments and hacks for old compiler versions.
14609 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14610 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14611 libc_feholdexceptl.
14612
caa6c9d8
AS
146132011-10-18 Andreas Schwab <schwab@redhat.com>
14614
14615 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14616 (__feraiseexcept_renamed): Add __NTH.
14617 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14618 namespace violations.
14619
97c066e6
UD
146202011-10-17 Ulrich Drepper <drepper@gmail.com>
14621
99ce7b04
UD
14622 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14623
1004d182
UD
14624 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14625
228a984d
UD
14626 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14627 recently added interfaces.
14628 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14629
c8553a6a
UD
14630 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14631 about macro parameter expansion.
14632
ed22dcf6
UD
14633 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14634 __NO_MATH_INLINES is defined. Cleanups.
14635
14636 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14637 and __floorf is target has SSE4.1.
14638 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14639 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14640 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14641 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14642
b171c137
UD
14643 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14644 name.
14645 (floorf): Likewise.
14646
97c066e6
UD
14647 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14648
629f62ef
AS
146492011-10-17 Andreas Schwab <schwab@redhat.com>
14650
49a43d80
AS
14651 * misc/sys/cdefs.h: Fix last change.
14652
629f62ef
AS
14653 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14654 database lookup.
14655
e453f6cd
UD
146562011-10-16 Ulrich Drepper <drepper@gmail.com>
14657
aa78043a
UD
14658 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14659
ad0f5cad
UD
14660 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14666 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14668 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14669 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14670 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14671 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14672 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14673 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14674 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14675 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14676 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14677 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14678 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14679 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14680 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14681 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14682
14683 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14684 ceil, ceilf, floor, floorf.
14685
14686 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14687 Perform IRELATIVE relocations last.
14688
e453f6cd
UD
14689 * elf/do-rel.h: Add another parameter nrelative, replacing the
14690 local variable with the same name. Change name of the function
14691 to end in Rel or Rela (uppercase).
14692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14693 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14694 elf_dynamic_do_##reloc function.
14695
fd5bdc09
UD
146962011-10-15 Ulrich Drepper <drepper@gmail.com>
14697
79b195b5
UD
14698 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14699 is sufficient, at least on modern CPUs.
14700
d4a28569
UD
14701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14702
b61099b5
UD
14703 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14704 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14705
bcf01e6d
UD
14706 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14707 __expl_finite.
14708 * math/bits/math-finite.h: Add entries for exp.
14709 * math/e_expl.c: Add __*_finite alias.
14710 * sysdeps/i386/fpu/e_exp.S: Likewise.
14711 * sysdeps/i386/fpu/e_expf.S: Likewise.
14712 * sysdeps/i386/fpu/e_expl.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14718 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14719 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14720
ba1a0d59
UD
14721 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14722 is sufficient, at least on modern CPUs.
14723
fd5bdc09
UD
14724 * ctype/ctype-info.c (__ctype_init): Define.
14725 * include/ctype.h (__ctype_init): Declare.
14726 (__ctype_b_loc): The variable is always initialized.
14727 (__ctype_toupper_loc): Likewise.
14728 (__ctype_tolower_loc): Likewise.
14729 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14730 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14731
7872cfb0
AS
147322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14733
b468825a
AS
14734 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14735
7872cfb0
AS
14736 * configure.in: Also look in $cxxmachine/include for C++ system
14737 headers.
14738
be13f7bf
LD
147392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14740
14741 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14742 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14743 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14744 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14745 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14746 (USE_AS_WMEMCMP): New macro.
14747 Fixing indents.
14748 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14749 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14750 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14751 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14753 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14754 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14755 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14756 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14757 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14759 (USE_AS_WMEMCMP): New macro.
14760 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14761 * sysdeps/string/test-memcmp.c: Update.
14762 Fix simple_wmemcmp.
14763 Add new tests.
14764 * wcsmbs/wmemcmp.c: Update.
14765 (WMEMCMP): New macro.
14766 Fix overflow bug.
14767
556a2007
AJ
147682011-10-12 Andreas Jaeger <aj@suse.de>
14769
14770 [BZ #13268]
14771 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14772
538faaa7
UD
147732011-10-15 Ulrich Drepper <drepper@gmail.com>
14774
ab6737ff
UD
14775 * libio/iofwide.c (do_length): Avoid warning.
14776
538faaa7
UD
14777 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14778
396a21b1
UD
147792011-10-14 Ulrich Drepper <drepper@gmail.com>
14780
cdf2901f
UD
14781 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14782
38ad40ce
UD
14783 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14784 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14785 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14786 * sysdeps/i386/i686/fpu/e_log.S: New file.
14787 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14788 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14789
396a21b1
UD
14790 * ctype/ctype.h: Add support for inlined isXXX functions when
14791 compiling C++ code.
14792
6b1f68c9
AS
147932011-10-14 Andreas Schwab <schwab@redhat.com>
14794
349290c0
AS
14795 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14796
6b1f68c9
AS
14797 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14798
f2282d42
RM
147992011-10-13 Roland McGrath <roland@hack.frob.com>
14800
14801 [BZ #13291]
14802 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14803
5298ffa8
AS
148042011-10-13 Andreas Schwab <schwab@redhat.com>
14805
714fad23
AS
14806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14807 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14808 feraiseexcept.
14809
81dcc7fb
AS
14810 * sysdeps/x86_64/memrchr.S: Check for zero size.
14811
5298ffa8
AS
14812 * string/stratcliff.c: Add memrchr tests.
14813
951fbcec
LD
148142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14815
14816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14817 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14818 rawmemchr-sse2 rawmemchr-sse2-bsf.
14819 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14820 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14821 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14822 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14823 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14824 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14825 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14826 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14827 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14828 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14829 * string/memrchr.c (MEMRCHR): New macro.
14830
0ac5ae23
UD
148312011-10-12 Ulrich Drepper <drepper@gmail.com>
14832
14833 Add integration with gcc's -ffinite-math-only and optimize wrapper
14834 functions in libm.
14835 * Versions.def: Define GLIBC_2.15 version for libm.
14836 * math/Makefile (headers): Add bits/math-finite.h.
14837 * math/bits/math-finite.h: New file.
14838 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14839 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14840 * math/e_acoshl.c: Add __*_finite alias.
14841 * math/e_acosl.c: Likewise.
14842 * math/e_asinl.c: Likewise.
14843 * math/e_atan2l.c: Likewise.
14844 * math/e_atanhl.c: Likewise.
14845 * math/e_coshl.c: Likewise.
14846 * math/e_exp10.c: Likewise.
14847 * math/e_exp10f.c: Likewise.
14848 * math/e_exp10l.c: Likewise.
14849 * math/e_exp2l.c: Likewise.
14850 * math/e_fmodl.c: Likewise.
14851 * math/e_gammal_r.c: Likewise.
14852 * math/e_hypotl.c: Likewise.
14853 * math/e_j0l.c: Likewise.
14854 * math/e_j1l.c: Likewise.
14855 * math/e_jnl.c: Likewise.
14856 * math/e_lgammal_r.c: Likewise.
14857 * math/e_log10l.c: Likewise.
14858 * math/e_log2l.c: Likewise.
14859 * math/e_logl.c: Likewise.
14860 * math/e_powl.c: Likewise.
14861 * math/e_sinhl.c: Likewise.
14862 * math/e_sqrtl.c: Likewise.
14863 * math/e_scalb.c: Completely rewritten and optimized.
14864 * math/e_scalbf.c: Likewise.
14865 * math/e_scalbl.c: Likewise.
14866 * math/w_acos.c: Likewise.
14867 * math/w_acosf.c: Likewise.
14868 * math/w_acosl.c: Likewise.
14869 * math/w_acosh.c: Likewise.
14870 * math/w_acoshf.c: Likewise.
14871 * math/w_acoshl.c: Likewise.
14872 * math/w_asin.c: Likewise.
14873 * math/w_asinf.c: Likewise.
14874 * math/w_asinl.c: Likewise.
14875 * math/w_atan2.c: Likewise.
14876 * math/w_atan2f.c: Likewise.
14877 * math/w_atan2l.c: Likewise.
14878 * math/w_atanh.c: Likewise.
14879 * math/w_atanhf.c: Likewise.
14880 * math/w_atanhl.c: Likewise.
14881 * math/w_exp10.c: Likewise.
14882 * math/w_exp10f.c: Likewise.
14883 * math/w_exp10l.c: Likewise.
14884 * math/w_fmod.c: Likewise.
14885 * math/w_fmodf.c: Likewise.
14886 * math/w_fmodl.c: Likewise.
14887 * math/w_j0.c: Likewise.
14888 * math/w_j0f.c: Likewise.
14889 * math/w_j0l.c: Likewise.
14890 * math/w_j1.c: Likewise.
14891 * math/w_j1f.c: Likewise.
14892 * math/w_j1l.c: Likewise.
14893 * math/w_jn.c: Likewise.
14894 * math/w_jnf.c: Likewise.
14895 * math/w_log.c: Likewise.
14896 * math/w_logf.c: Likewise.
14897 * math/w_logl.c: Likewise.
14898 * math/w_log10.c: Likewise.
14899 * math/w_log10f.c: Likewise.
14900 * math/w_log10l.c: Likewise.
14901 * math/w_log2.c: Likewise.
14902 * math/w_log2f.c: Likewise.
14903 * math/w_log2l.c: Likewise.
14904 * math/w_pow.c: Likewise.
14905 * math/w_powf.c: Likewise.
14906 * math/w_powl.c: Likewise.
14907 * math/w_remainder.c: Likewise.
14908 * math/w_remainderf.c: Likewise.
14909 * math/w_remainderl.c: Likewise.
14910 * math/w_scalb.c: Likewise.
14911 * math/w_scalbf.c: Likewise.
14912 * math/w_scalbl.c: Likewise.
14913 * math/w_sqrt.c: Likewise.
14914 * math/w_sqrtf.c: Likewise.
14915 * math/w_sqrtl.c: Likewise.
14916 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14917 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14918 used.
14919 * math/math_private.h: Declare __kernel_standard_f.
14920 * math/w_cosh.c: Remove cruft and optimize a bit.
14921 * math/w_coshf.c: Likewise.
14922 * math/w_coshl.c: Likewise.
14923 * math/w_exp2.c: Likewise.
14924 * math/w_exp2f.c: Likewise.
14925 * math/w_exp2l.c: Likewise.
14926 * math/w_hypot.c: Likewise.
14927 * math/w_hypotf.c: Likewise.
14928 * math/w_hypotl.c: Likewise.
14929 * math/w_lgamma.c: Likewise.
14930 * math/w_lgamma_r.c: Likewise.
14931 * math/w_lgammaf.c: Likewise.
14932 * math/w_lgammaf_r.c: Likewise.
14933 * math/w_lgammal.c: Likewise.
14934 * math/w_lgammal_r.c: Likewise.
14935 * math/w_sinh.c: Likewise.
14936 * math/w_sinhf.c: Likewise.
14937 * math/w_sinhl.c: Likewise.
14938 * math/w_tgamma.c: Likewise.
14939 * math/w_tgammaf.c: Likewise.
14940 * math/w_tgammal.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14943 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14944 Minor optimizations. Pretty printing. Remove cruft.
14945 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14946 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14947 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14949 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14950 * sysdeps/i386/fpu/e_asin.S: Likewise.
14951 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14952 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14953 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14954 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14955 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14958 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14959 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14960 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14961 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14962 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14963 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14964 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14965 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14966 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14967 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14968 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14969 * sysdeps/i386/fpu/e_log.S: Likewise.
14970 * sysdeps/i386/fpu/e_log10.S: Likewise.
14971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14972 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14973 * sysdeps/i386/fpu/e_log2.S: Likewise.
14974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14975 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14976 * sysdeps/i386/fpu/e_logf.S: Likewise.
14977 * sysdeps/i386/fpu/e_logl.S: Likewise.
14978 * sysdeps/i386/fpu/e_pow.S: Likewise.
14979 * sysdeps/i386/fpu/e_powf.S: Likewise.
14980 * sysdeps/i386/fpu/e_powl.S: Likewise.
14981 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14982 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14983 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14984 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14985 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14986 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14987 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14988 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14989 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14997 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15011 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15014 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15016 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15017 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15018 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15019 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15020 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15021 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15022 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15023 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15024 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15025 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15026 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15027 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15028 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15029 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15030 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15031 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15070 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15081 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15082 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15083 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15085 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15086 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15087 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15088 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15089 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15090 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15091 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15092 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15093 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15095 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15096 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15097 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15098 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15099 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15100 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15101 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15102 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15103 (__isnanf): Likewise.
15104 (__isinf_ns): Likewise.
15105 (__isinf_nsf): Likewise.
15106 (__finite): Likewise.
15107 (__finitef): Likewise.
15108 (__ieee754_sqrt): Define as macro.
15109 (__ieee754_sqrtf): Define as macro.
15110 (__ieee754_sqrtl): Define as macro.
15111 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15112 inlined copy.
15113 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15114 __FINITE_MATH_ONLY__ consistent.
15115 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15116
12cc2fcd
AS
151172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15118
a843a204
AS
15119 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15120 of rawmemchr.
15121
12cc2fcd
AS
15122 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15123
c853acd5
UD
151242011-10-09 Ulrich Drepper <drepper@gmail.com>
15125
15126 * po/ja.po: Update from translation team.
15127
c658d255
RM
151282011-10-08 Roland McGrath <roland@hack.frob.com>
15129
110946e4
RM
15130 * locale/programs/locarchive.c (prepare_address_space): New function.
15131 (create_archive, enlarge_archive, open_archive): Use it.
15132
50604220
RM
15133 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15134 inside [SHARED], where it is used.
15135
c658d255
RM
15136 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15137
15138 * nss/getent.c (netgroup_keys): Remove unused variable.
15139 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15140
6a621eb7
UD
151412011-10-08 Ulrich Drepper <drepper@gmail.com>
15142
7edb55ce
UD
15143 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15146 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15147 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15148 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15149 * math/Makefile (libm-calls): Add s_isinf_ns.
15150 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15151 * math/multc3.c: Likewise.
15152 * math/s_casin.c: Likewise.
15153 * math/s_casinf.c: Likewise.
15154 * math/s_casinl.c: Likewise.
15155 * math/s_ccos.c: Likewise.
15156 * math/s_ccosf.c: Likewise.
15157 * math/s_ccosl.c: Likewise.
15158 * math/s_ctan.c: Likewise.
15159 * math/s_ctanf.c: Likewise.
15160 * math/s_ctanh.c: Likewise.
15161 * math/s_ctanhf.c: Likewise.
15162 * math/s_ctanhl.c: Likewise.
15163 * math/s_ctanl.c: Likewise.
15164 * math/w_fmod.c: Likewise.
15165 * math/w_fmodf.c: Likewise.
15166 * math/w_fmodl.c: Likewise.
15167 * math/w_remainder.c: Likewise.
15168 * math/w_remainderf.c: Likewise.
15169 * math/w_remainderl.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15171 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15174 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15175 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15176 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15177 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15178
187da0ae
UD
15179 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15180 of the number.
15181 * stdio-common/printf_fphex.c: Likewise.
15182 * stdio-common/printf_size.c: Likewise.
15183
9277c064
UD
15184 * math/e_exp10.c: Include math_private.h using <...> not "...".
15185 * math/e_exp10f.c: Likewise.
15186 * math/e_exp10l.c: Likewise.
15187 * math/e_exp2l.c: Likewise.
15188 * math/e_j0l.c: Likewise.
15189 * math/e_j1l.c: Likewise.
15190 * math/e_jnl.c: Likewise.
15191 * math/e_lgammal_r.c: Likewise.
15192 * math/e_rem_pio2l.c: Likewise.
15193 * math/e_scalb.c: Likewise.
15194 * math/e_scalbf.c: Likewise.
15195 * math/e_scalbl.c: Likewise.
15196 * math/k_cosl.c: Likewise.
15197 * math/k_sinl.c: Likewise.
15198 * math/k_tanl.c: Likewise.
15199 * math/s_cacoshf.c: Likewise.
15200 * math/s_catan.c: Likewise.
15201 * math/s_catanf.c: Likewise.
15202 * math/s_catanh.c: Likewise.
15203 * math/s_catanhf.c: Likewise.
15204 * math/s_catanhl.c: Likewise.
15205 * math/s_catanl.c: Likewise.
15206 * math/s_ccosh.c: Likewise.
15207 * math/s_ccoshf.c: Likewise.
15208 * math/s_ccoshl.c: Likewise.
15209 * math/s_cexp.c: Likewise.
15210 * math/s_cexpf.c: Likewise.
15211 * math/s_cexpl.c: Likewise.
15212 * math/s_clog.c: Likewise.
15213 * math/s_clog10.c: Likewise.
15214 * math/s_clog10f.c: Likewise.
15215 * math/s_clog10l.c: Likewise.
15216 * math/s_clogf.c: Likewise.
15217 * math/s_clogl.c: Likewise.
15218 * math/s_csin.c: Likewise.
15219 * math/s_csinf.c: Likewise.
15220 * math/s_csinh.c: Likewise.
15221 * math/s_csinhf.c: Likewise.
15222 * math/s_csinhl.c: Likewise.
15223 * math/s_csinl.c: Likewise.
15224 * math/s_csqrt.c: Likewise.
15225 * math/s_csqrtf.c: Likewise.
15226 * math/s_csqrtl.c: Likewise.
15227 * math/s_ctan.c: Likewise.
15228 * math/s_ctanf.c: Likewise.
15229 * math/s_ctanh.c: Likewise.
15230 * math/s_ctanhf.c: Likewise.
15231 * math/s_ctanhl.c: Likewise.
15232 * math/s_ctanl.c: Likewise.
15233 * math/s_ldexp.c: Likewise.
15234 * math/s_ldexpf.c: Likewise.
15235 * math/s_ldexpl.c: Likewise.
15236 * math/s_significand.c: Likewise.
15237 * math/s_significandf.c: Likewise.
15238 * math/s_significandl.c: Likewise.
15239 * math/w_acos.c: Likewise.
15240 * math/w_acosf.c: Likewise.
15241 * math/w_acosh.c: Likewise.
15242 * math/w_acoshf.c: Likewise.
15243 * math/w_acoshl.c: Likewise.
15244 * math/w_acosl.c: Likewise.
15245 * math/w_asin.c: Likewise.
15246 * math/w_asinf.c: Likewise.
15247 * math/w_asinl.c: Likewise.
15248 * math/w_atan2.c: Likewise.
15249 * math/w_atan2f.c: Likewise.
15250 * math/w_atan2l.c: Likewise.
15251 * math/w_atanh.c: Likewise.
15252 * math/w_atanhf.c: Likewise.
15253 * math/w_atanhl.c: Likewise.
15254 * math/w_cosh.c: Likewise.
15255 * math/w_coshf.c: Likewise.
15256 * math/w_coshl.c: Likewise.
15257 * math/w_dremf.c: Likewise.
15258 * math/w_exp10.c: Likewise.
15259 * math/w_exp10f.c: Likewise.
15260 * math/w_exp10l.c: Likewise.
15261 * math/w_exp2.c: Likewise.
15262 * math/w_exp2f.c: Likewise.
15263 * math/w_fmod.c: Likewise.
15264 * math/w_fmodf.c: Likewise.
15265 * math/w_fmodl.c: Likewise.
15266 * math/w_hypot.c: Likewise.
15267 * math/w_hypotf.c: Likewise.
15268 * math/w_hypotl.c: Likewise.
15269 * math/w_j0.c: Likewise.
15270 * math/w_j0f.c: Likewise.
15271 * math/w_j0l.c: Likewise.
15272 * math/w_j1.c: Likewise.
15273 * math/w_j1f.c: Likewise.
15274 * math/w_j1l.c: Likewise.
15275 * math/w_jn.c: Likewise.
15276 * math/w_jnf.c: Likewise.
15277 * math/w_jnl.c: Likewise.
15278 * math/w_lgamma.c: Likewise.
15279 * math/w_lgamma_r.c: Likewise.
15280 * math/w_lgammaf.c: Likewise.
15281 * math/w_lgammaf_r.c: Likewise.
15282 * math/w_lgammal.c: Likewise.
15283 * math/w_lgammal_r.c: Likewise.
15284 * math/w_log.c: Likewise.
15285 * math/w_log10.c: Likewise.
15286 * math/w_log10f.c: Likewise.
15287 * math/w_log10l.c: Likewise.
15288 * math/w_log2.c: Likewise.
15289 * math/w_log2f.c: Likewise.
15290 * math/w_log2l.c: Likewise.
15291 * math/w_logf.c: Likewise.
15292 * math/w_logl.c: Likewise.
15293 * math/w_pow.c: Likewise.
15294 * math/w_powf.c: Likewise.
15295 * math/w_powl.c: Likewise.
15296 * math/w_remainder.c: Likewise.
15297 * math/w_remainderf.c: Likewise.
15298 * math/w_remainderl.c: Likewise.
15299 * math/w_scalb.c: Likewise.
15300 * math/w_scalbf.c: Likewise.
15301 * math/w_scalbl.c: Likewise.
15302 * math/w_sinh.c: Likewise.
15303 * math/w_sinhf.c: Likewise.
15304 * math/w_sinhl.c: Likewise.
15305 * math/w_sqrt.c: Likewise.
15306 * math/w_sqrtf.c: Likewise.
15307 * math/w_sqrtl.c: Likewise.
15308 * math/w_tgamma.c: Likewise.
15309 * math/w_tgammaf.c: Likewise.
15310 * math/w_tgammal.c: Likewise.
15311
6a621eb7
UD
15312 * po/ja.po: Update from translation team.
15313
bf582445
AJ
153142011-09-29 Andreas Jaeger <aj@suse.de>
15315
f9efbf3a
AJ
15316 [BZ #13179]
15317 * sunrpc/netname.c (netname2host): Fix logic.
15318
bf582445
AJ
15319 [BZ #6779]
15320 [BZ #6783]
15321 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15322 correctly.
15323 * math/w_remainder.c (__remainder): Likewise.
15324 * math/w_remainderf.c (__remainderf): Likewise.
15325 * math/libm-test.inc (remainder_test): Add test cases.
15326
48693bea
AK
153272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15328
15329 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15330 sdiv_qrnnd.
15331
42622229
LD
153322011-10-07 Ulrich Drepper <drepper@gmail.com>
15333
15334 * string/test-memcmp.c: Avoid unncessary #defines.
15335 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15336
093ecf92
LD
153372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15338
15339 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15340 Use new sse2 version for core i3 - i7 as it's faster
15341 than sse42 version.
15342 (bit_Prefer_PMINUB_for_stringop): New.
15343 * sysdeps/x86_64/rawmemchr.S: Update.
15344 Replace with faster SSE2 version.
15345 * sysdeps/x86_64/memrchr.S: New file.
15346 * sysdeps/x86_64/memchr.S: Update.
15347 Replace with faster SSE2 version.
15348
fde56e5c
MP
153492011-09-12 Marek Polacek <mpolacek@redhat.com>
15350
15351 * elf/dl-load.c (lose): Add cast to avoid warning.
15352
21fd49a9
UD
153532011-10-07 Ulrich Drepper <drepper@gmail.com>
15354
5a06e643
UD
15355 * po/ca.po: Update from translation team.
15356
684ae515
UD
15357 * inet/getnetgrent_r.c: Hook up nscd.
15358 * nscd/Makefile (routines): Add nscd_netgroup.
15359 (nscd-modules): Add netgroupcache.
15360 (CFLAGS-netgroupcache.c): Define.
15361 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15362 (cache_search): Add const to second parameter.
15363 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15364 INNETGR.
15365 (dbs): Add netgrdb entry.
15366 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15367 (verify_persistent_db): Handle netgrdb.
15368 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15369 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15370 GETFDNETGR.
15371 (netgroup_response_header): Define.
15372 (innetgroup_response_header): Define.
15373 (datahead): Add netgroup_response_header and innetgroup_response_header
15374 elements.
15375 * nscd/nscd.conf: Add entries for netgroup cache.
15376 * nscd/nscd.h (dbtype): Add netgrdb.
15377 (_PATH_NSCD_NETGROUP_DB): Define.
15378 (netgroup_iov_disabled): Declare.
15379 (xmalloc, xcalloc, xrealloc): Move declarations here.
15380 (cache_search): Adjust prototype.
15381 Add netgroup-related prototypes.
15382 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15383 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15384 (__nscd_innetgr): Declare.
15385 * nscd/selinux.c (perms): Use access_vector_t as element type and
15386 add netgroup-related initializers.
15387 * nscd/netgroupcache.c: New file.
15388 * nscd/nscd_netgroup.c: New file.
15389 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15390 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15391 For four parameters use innetgr.
15392 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15393 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15394 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15395 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15396
21fd49a9
UD
15397 * nscd/connections.c (register_traced_file): Don't register file
15398 for disabled databases.
15399
054c0457
UD
154002011-10-06 Ulrich Drepper <drepper@gmail.com>
15401
32b63198
UD
15402 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15403
054c0457
UD
15404 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15405 from tree and freeing node.
15406
64031225
JO
154072011-09-25 Jiri Olsa <jolsa@redhat.com>
15408
15409 * nss/nsswitch.c (__nss_database_lookup): Handle
15410 nss_parse_service_list out of memory case.
15411
0490345c
JO
154122011-09-15 Jiri Olsa <jolsa@redhat.com>
15413
15414 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15415 out of memory case.
15416
3a62d00d
AS
154172011-10-04 Andreas Schwab <schwab@redhat.com>
15418
15419 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15420 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15421 pass it down.
15422 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15423 elf_machine_rela, elf_machine_lazy_rel.
15424 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15425 (ELF_DYNAMIC_DO_REL): Likewise.
15426 (ELF_DYNAMIC_DO_RELA): Likewise.
15427 (ELF_DYNAMIC_RELOCATE): Likewise.
15428 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15429 to ELF_DYNAMIC_DO_REL.
15430 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15431 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15432 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15433 elf_machine_rela.
15434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15435 skip_ifunc, don't call ifunc function if non-zero.
15436 (elf_machine_rela): Likewise.
15437 (elf_machine_lazy_rel): Likewise.
15438 (elf_machine_lazy_rela): Likewise.
15439 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15440 (elf_machine_lazy_rel): Likewise.
15441 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15442 Likewise.
15443 (elf_machine_lazy_rel): Likewise.
15444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15445 Likewise.
15446 (elf_machine_lazy_rel): Likewise.
15447 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15448 (elf_machine_lazy_rel): Likewise.
15449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15450 (elf_machine_lazy_rel): Likewise.
15451 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15452 (elf_machine_lazy_rel): Likewise.
15453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15454 (elf_machine_lazy_rel): Likewise.
15455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15456 (elf_machine_lazy_rel): Likewise.
15457 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15458 (elf_machine_lazy_rel): Likewise.
15459
68577918
UD
154602011-09-28 Ulrich Drepper <drepper@gmail.com>
15461
15462 * nss/nss_files/files-init.c (_nss_files_init): Use static
15463 initialization for all the *_traced_file variables.
15464
68822d74
AS
154652011-09-28 Andreas Schwab <schwab@redhat.com>
15466
15467 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15468
2056100b
RM
154692011-09-27 Roland McGrath <roland@hack.frob.com>
15470
15471 [BZ #13226]
15472 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15473
32c76b63
AS
154742011-09-27 Andreas Schwab <schwab@redhat.com>
15475
15476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15477 Reread the line before reparsing it.
15478
bf972c9d
AS
154792011-09-26 Andreas Schwab <schwab@redhat.com>
15480
15481 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15482
e057a1b5
JM
154832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15484 Maxim Kuvyrkov <maxim@codesourcery.com>
15485 Joseph Myers <joseph@codesourcery.com>
15486
15487 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15488 if needed for __stack_chk_guard.
15489
bc7e1c36
RM
154902011-09-19 Roland McGrath <roland@hack.frob.com>
15491
ecb1482f
RM
15492 * sysdeps/posix/spawni.c (script_execute): Always define it.
15493 It will be optimized away if unused.
15494 (maybe_script_execute): New function.
15495 (__spawni): Call it.
15496
bc7e1c36
RM
15497 * Makerules: Don't include tls.make.
15498 (config-tls): Always set to thread.
15499 * tls.make.c: File removed.
15500
1c3b002b
MF
155012011-09-19 Mike Frysinger <vapier@gentoo.org>
15502
15503 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15504 * config.make.in (CPPFLAGS-config): New substituted variable.
15505
2840865d
UD
155062011-09-15 Ulrich Drepper <drepper@gmail.com>
15507
88738eb6
UD
15508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15509
cbf645a6 15510 [BZ #13192]
2840865d
UD
15511 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15512 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15513
b402e91a
RM
155142011-09-15 Roland McGrath <roland@hack.frob.com>
15515
15516 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15517 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15519 (CALL_FAIL): Likewise.
15520 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15521 (CALL_FAIL): Macro removed.
15522 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15523
4c1a1f71
UD
155242011-09-15 Ulrich Drepper <drepper@gmail.com>
15525
15526 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15527 for __FINITE_MATH_ONLY__ == 1.
15528
edc121be
AS
155292011-09-15 Andreas Schwab <schwab@redhat.com>
15530
15531 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15532 __ieee754_sqrt instead of sqrt.
15533 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15534 __ieee754_sqrtf instead of sqrtf.
15535 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15536 __floorf instead of floorf.
15537 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15538 __floorf, __truncf instead of floorf, truncf.
15539
cd205654
UD
155402011-09-14 Ulrich Drepper <drepper@gmail.com>
15541
ee4d0315
UD
15542 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15543
cd205654
UD
15544 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15545 __extern_always_inline.
15546 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15547 32-bit.
15548
48b67d71
AS
155492011-09-14 Andreas Schwab <schwab@redhat.com>
15550
15551 * elf/rtld.c (dl_main): Also relocate in dependency order when
15552 doing symbol dependency testing.
15553
1ae12c75
AS
155542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15555
15556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15557 Always define `refsym'.
15558
995a80df
AS
155592011-09-13 Andreas Schwab <schwab@redhat.com>
15560
e529793b
AS
15561 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15562 (__FD_ELT): Renamed from __FDELT.
15563 * misc/bits/select2.h (__FD_ELT): Likewise.
15564 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15565 __FD_MASK instead of __FDELT, __FDMASK.
15566 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15567 Likewise.
15568 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15569 Likewise.
15570
52d4fef8
AS
15571 * elf/Makefile (gen-ldd): Fix pattern.
15572
995a80df
AS
15573 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15574 (init_tls): Likewise.
15575
8682f8b0
UD
155762011-09-12 Ulrich Drepper <drepper@gmail.com>
15577
15578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15579
de82006d
AS
155802011-09-12 Andreas Schwab <schwab@redhat.com>
15581
a7c8e6a1
AS
15582 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15583 `struct cmsghdr *' instead of `void *'.
15584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15585 Likewise.
15586
0f31fe77
AS
155872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15588
15589 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15590 if non-absolute.
15591 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15592 ldd_rewrite_script.
0f31fe77 15593
32b4c839
UD
155942011-09-11 Ulrich Drepper <drepper@gmail.com>
15595
83cd1420
UD
15596 * configure.in: Remove --with-tls option.
15597 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15598 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15599 out in case it is missing.
15600 * sysdeps/ia64/elf/configure.in: Likewise.
15601 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15602 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15603 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15604 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15605 * sysdeps/sh/elf/configure.in: Likewise.
15606 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15607 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15608 * sysdeps/x86_64/elf/configure.in: Likewise.
15609 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15610 * sysdeps/mach/hurd/tls.h: Likewise.
15611
633f745d
UD
15612 [BZ #13067]
15613 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15614
f318beb8
UD
15615 [BZ #13090]
15616 * configure.in: Fix use of AC_INIT.
15617
32b4c839
UD
15618 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15619
3ce1f295
UD
156202011-09-10 Ulrich Drepper <drepper@gmail.com>
15621
bb016596
UD
15622 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15623 __set_errno.
8e58439c
UD
15624 * malloc/hooks.c: Likewise.
15625
aebae053 15626 [BZ #11929]
02d46fc4
UD
15627 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15628 variables statically.
15629 (narenas): Initialize.
15630 (list_lock): Initialize.
bb016596
UD
15631 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15632 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15633 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15634 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15635 Add initializers to main_arena and mp_.
15636 (malloc_state): Remove pagesize member. Change all users to use
15637 GLRO(dl_pagesize).
15638
15639 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15640 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15641 is always initialized.
15642
22a89187
UD
15643 * malloc/malloc.c: Removed unused configurations and dead code.
15644 * malloc/arena.c: Likewise.
15645 * malloc/hooks.c: Likewise.
02d46fc4 15646 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15647
d063d164
UD
15648 * include/tls.h: Removed. USE___THREAD must always be defined.
15649 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15650 * elf/dl-libc.c: Likewise.
15651 * elf/dl-tsd.c: Likewise.
15652 * include/errno.h: Likewise.
15653 * include/netdb.h: Likewise.
15654 * include/resolv.h: Likewise.
15655 * inet/herrno-loc.c: Likewise.
15656 * inet/herrno.c: Likewise.
15657 * malloc/arena.c: Likewise.
15658 * malloc/hooks.c: Likewise.
15659 * malloc/malloc.c: Likewise.
15660 * resolv/res-state.c: Likewise.
15661 * resolv/res_libc.c: Likewise.
15662 * sysdeps/i386/dl-machine.h: Likewise.
15663 * sysdeps/ia64/dl-machine.h: Likewise.
15664 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15665 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15666 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15667 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15668 * sysdeps/sh/dl-machine.h: Likewise.
15669 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15670 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15671 * sysdeps/unix/i386/sysdep.S: Likewise.
15672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15673 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15678 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15682 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15683 * sysdeps/x86_64/dl-machine.h: Likewise.
15684 * tls.make.c: Likewise.
15685
3ce1f295
UD
15686 * configure.in: Remove --with-__thread option. Make tests for
15687 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15688 tls_model attribute fail if no support is available. Remove
15689 USE_IN_LIBIO.
15690 * Makeconfig: Adjust for dropped configure option. All features are
15691 now mandatory.
15692 * Makerules: Likewise.
15693 * Versions.def: Likewise.
15694 * argp/argp-fmtstream.c: Likewise.
15695 * argp/argp-fmtstream.h: Likewise.
15696 * argp/argp-help.c: Likewise.
15697 * assert/assert.c: Likewise.
15698 * config.h.in: Likewise.
15699 * config.make.in: Likewise.
15700 * configure: Likewise.
15701 * configure.in: Likewise.
15702 * csu/Versions: Likewise.
15703 * csu/init.c: Likewise.
15704 * elf/tst-audit2.c: Likewise.
15705 * elf/tst-tls10.c: Likewise.
15706 * elf/tst-tls10.h: Likewise.
15707 * elf/tst-tls11.c: Likewise.
15708 * elf/tst-tls12.c: Likewise.
15709 * elf/tst-tls14.c: Likewise.
15710 * elf/tst-tlsmod11.c: Likewise.
15711 * elf/tst-tlsmod12.c: Likewise.
15712 * elf/tst-tlsmod13.c: Likewise.
15713 * elf/tst-tlsmod13a.c: Likewise.
15714 * elf/tst-tlsmod14a.c: Likewise.
15715 * elf/tst-tlsmod15b.c: Likewise.
15716 * elf/tst-tlsmod16a.c: Likewise.
15717 * elf/tst-tlsmod16b.c: Likewise.
15718 * elf/tst-tlsmod7.c: Likewise.
15719 * elf/tst-tlsmod8.c: Likewise.
15720 * elf/tst-tlsmod9.c: Likewise.
15721 * gmon/gmon.c: Likewise.
15722 * grp/fgetgrent_r.c: Likewise.
15723 * grp/putgrent.c: Likewise.
15724 * hurd/fopenport.c: Likewise.
15725 * include/libc-symbols.h: Likewise.
15726 * include/tls.h: Likewise.
15727 * intl/gettextP.h: Likewise.
15728 * intl/loadinfo.h: Likewise.
15729 * locale/global-locale.c: Likewise.
15730 * locale/localeinfo.h: Likewise.
15731 * mach/devstream.c: Likewise.
15732 * malloc/arena.c: Likewise.
15733 * malloc/set-freeres.c: Likewise.
15734 * misc/err.c: Likewise.
15735 * misc/getttyent.c: Likewise.
15736 * misc/mntent_r.c: Likewise.
15737 * posix/getopt.c: Likewise.
15738 * posix/wordexp.c: Likewise.
15739 * pwd/fgetpwent_r.c: Likewise.
15740 * resolv/Versions: Likewise.
15741 * resolv/res_hconf.c: Likewise.
15742 * shadow/fgetspent_r.c: Likewise.
15743 * shadow/putspent.c: Likewise.
15744 * stdio-common/printf_fphex.c: Likewise.
15745 * stdio-common/tmpfile.c: Likewise.
15746 * stdlib/abort.c: Likewise.
15747 * stdlib/fmtmsg.c: Likewise.
15748 * sunrpc/auth_unix.c: Likewise.
15749 * sunrpc/clnt_perr.c: Likewise.
15750 * sunrpc/clnt_tcp.c: Likewise.
15751 * sunrpc/clnt_udp.c: Likewise.
15752 * sunrpc/clnt_unix.c: Likewise.
15753 * sunrpc/openchild.c: Likewise.
15754 * sunrpc/svc_simple.c: Likewise.
15755 * sunrpc/svc_tcp.c: Likewise.
15756 * sunrpc/svc_udp.c: Likewise.
15757 * sunrpc/svc_unix.c: Likewise.
15758 * sunrpc/xdr.c: Likewise.
15759 * sunrpc/xdr_array.c: Likewise.
15760 * sunrpc/xdr_rec.c: Likewise.
15761 * sunrpc/xdr_ref.c: Likewise.
15762 * sunrpc/xdr_stdio.c: Likewise.
15763
1248c1c4
PB
157642011-09-09 Ulrich Drepper <drepper@gmail.com>
15765
15766 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15767
157682011-07-03 Andreas Jaeger <aj@suse.de>
15769
15770 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15771 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15772 regenerate with gen-libm-tests.pl.
15773
157742010-05-12 Petr Baudis <pasky@suse.cz>
15775
15776 [BZ #11589]
15777 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15778 around j0() zero points by switching to j1().
15779 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15783
f22e1074
UD
157842011-09-09 Ulrich Drepper <drepper@gmail.com>
15785
f19009c1
UD
15786 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15787 instead of 0.
15788 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15789 instead of 0. .
15790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15791 Patch in part by Pavel Roskin <proski@gnu.org>.
15792
3f8cc204
UD
15793 [BZ #13138]
15794 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15795 realloc.
15796 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15797 Free memory block if necessary.
15798
f22e1074
UD
15799 [BZ #12847]
15800 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15801 be NULL. Don't lock in this case.
15802
0a2349f9
RM
158032011-09-09 Roland McGrath <roland@hack.frob.com>
15804
15805 * elf/elf.h (ELFOSABI_GNU): New macro.
15806 (ELFOSABI_LINUX): Define to that.
15807
f3cdd467
DZ
158082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15809
15810 * string/strncat.c (strncat): Undef the symbol in case it has been
15811 defined in bits/string.h.
15812
74718d13
UD
158132011-09-09 Ulrich Drepper <drepper@gmail.com>
15814
633e9e0f
UD
15815 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15816
0a2349f9 15817 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15818 link map.
15819
f9924780
AJ
158202011-08-17 Andreas Jaeger <aj@suse.de>
15821
15822 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15823
7f5517aa
PP
158242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15825 Ian Lance Taylor <iant@google.com>
15826
15827 * math/libm-test.inc (lround_test): New testcase.
15828 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15829
762011fe
UD
158302011-09-08 Ulrich Drepper <drepper@gmail.com>
15831
92963737
UD
15832 * Makefile: Remove support for automatic cvs check-ins.
15833 * Makerules: Likewise.
15834 * config.make.in: Likewise.
15835 * configure.in: Likewise.
15836 * intl/Makefile: Likewise.
15837 * locale/Makefile: Likewise.
15838 * po/Makefile: Likewise.
15839 * posix/Makefile: Likewise.
15840 * sysdeps/gnu/Makefile: Likewise.
15841 * sysdeps/mach/hurd/Makefile: Likewise.
15842 * sysdeps/sparc/sparc32/Makefile: Likewise.
15843
b0727fd8
JS
15844 [BZ #13118]
15845 * posix/Makefile (bug-regex32-ENV): Define.
15846 Patch by John Stanley <jpsinthemix@verizon.net>.
15847
a0f33f99
UD
15848 * misc/Makefile (headers): Add bits/select2.h.
15849 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15850 * misc/bits/select2.h: New file.
15851 * include/bits/select2.h: New file.
15852 * debug/Makefile (routines): Add fdelt_chk.
15853 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15854 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15855 FD_ISSET.
15856 * debug/fdelt_chk.c: New file.
15857
762011fe
UD
15858 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15859 * wcsmbs/test-wmemcmp.c: Likewise.
15860 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15861 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15862
158632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15864
15865 * string/Makefile (strop-tests): Add memcmp.
15866 * string/test-wmemcmp.c: New file.
15867 * string/test-memcmp.c: Add wmemcmp support.
15868
7f513ec8
RM
158692011-09-08 Roland McGrath <roland@hack.frob.com>
15870
0442afb4
RM
15871 [BZ #13153]
15872 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15873 2011-07-19 change.
15874
7f513ec8
RM
15875 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15876 garbage value in a __mach_port_mod_refs call in the cases of the
15877 task-self and thread-self ports.
15878
a12b2239
ST
158792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15880
15881 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15882
610f9ab4
AS
158832011-09-08 Andreas Schwab <schwab@redhat.com>
15884
7f513ec8 15885 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15886
48882a1a
LD
158872011-09-07 Ulrich Drepper <drepper@gmail.com>
15888
b49865be
UD
15889 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15890
fdc86bc9
UD
15891 * elf/dl-libc.c (dlerror_run): Pass back error code from
15892 dl_catch_error.
15893
c966526a
UD
15894 [BZ #13123]
15895 * elf/dl-load.c (lose): Free l_origin if it is valid.
15896
48882a1a
LD
15897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15898 names.
15899 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15904 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15905
77a2a8b4
AZ
159062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
15908 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15909 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15910 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15911 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15912 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15913 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15914 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15915 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15916 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15917 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15918
24f579d8
AM
159192011-08-15 Alan Modra <amodra@gmail.com>
15920
15921 [BZ #13092]
15922 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15923 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15924 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15925 ppc_mcount to static-only-routines.
15926 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15927 __mcount_internal.
15928 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15929 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15930
3d4837df
UD
159312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15932
15933 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15934 for finite and infinity parameters.
15935
22700377
WS
159362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15937
15938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15939 and add nop instructions for throughput optimization.
15940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15941
5025581e
WS
159422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15943
15944 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15945 aligned copy for power7 with vector-scalar instructions.
15946 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15947
08a300c9
L
159482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15949
15950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15951 AVX check.
15952
59178ef9
AS
159532011-09-07 Andreas Schwab <schwab@redhat.com>
15954
15955 [BZ #13144]
15956 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15957 last change.
15958
e38ba7ab
UD
159592011-09-07 Ulrich Drepper <drepper@gmail.com>
15960
15961 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15962 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15963 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15964 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15965 clock_gettime.
15966
d53a73ac
UD
159672011-09-06 Ulrich Drepper <drepper@gmail.com>
15968
fc8bffcc
UD
15969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15970 Forgot to demangle the pointer.
15971
ceaa0c5d
UD
15972 * sysdeps/i386/sysdep.h: Define atom_text_section.
15973 * sysdeps/x86_64/sysdep.h: Likewise.
15974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15975 section with atom_text_section.
15976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15978 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15980 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15981
a77d3c17
UD
15982 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15983 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15984 already be defined. Change to take two parameters and don't assign
15985 result to variable. Adjust all users.
15986 Define INTERNAL_GETTIME if not already defined.
15987 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15988 call.
15989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15990 HAVE_CLOCK_GETTIME_VSYSCALL.
15991 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15992
d53a73ac
UD
15993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15994 gettimeofday vsyscall, just use time.
15995
a8f84144
AS
159962011-09-06 Andreas Schwab <schwab@redhat.com>
15997
15998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15999 <errno.h>.
16000
ef606249
UD
160012011-09-06 Ulrich Drepper <drepper@gmail.com>
16002
16003 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16004 syscall on x86-64.
16005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16006 syscall.
16007 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16009 syscall if possible.
16010
6585cb60
UD
160112011-09-05 Ulrich Drepper <drepper@gmail.com>
16012
16013 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16014 e_ident. Don't pass to find_mapsXX.
16015 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16016
a5f524e4
LD
160172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16018
16019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16020 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16021 * sysdeps/x86_64/multiarch/strchr.S: Update.
16022 Check bit_slow_BSF bit.
16023 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16024 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16025 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16026
554881ef
UD
160272011-09-05 Ulrich Drepper <drepper@gmail.com>
16028
d96de963
UD
16029 [BZ #13134]
16030 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16031 before glibc 2.15.
16032 (tryshell): Define.
16033 (__spawni): Change last parameter to be flag. Test
16034 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16035 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16036 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16037 * posix/spawni.c: Likewise.
16038 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16039 * posix/spawnp.c: Likewise. Change normal version to use
16040 SPAWN_XFLAGS_USE_PATH.
16041 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16042 SPAWN_XFLAGS_TRY_SHELL.
16043
d48e5868
UD
16044 [BZ #13150]
16045 * posix/glob.h: Remove gcc 1.x support.
16046
554881ef
UD
16047 [BZ #13068]
16048 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16049
693fb948
LD
160502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16051
16052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16053 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16054 strrchr-sse2-bsf
16055 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16056 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16057 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16059 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16061
1b48c537
UD
160622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16063
49d42c37
UD
16064 * sysdeps/x86_64/wcscmp.S: New file.
16065
1b48c537
UD
16066 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16067 wcscmp-c wcscmp-sse2
16068 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16069 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16070 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16071 * wcsmbs/wcscmp.c: Allow renaming.
16072
15c95c5d
DM
160732011-09-05 David S. Miller <davem@davemloft.net>
16074
16075 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16076 stack slot, rather than the struct return pointer slot.
16077 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16078 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16080 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16081
2f0ad8f3
UD
160822011-09-05 Ulrich Drepper <drepper@gmail.com>
16083
d88ae418
UD
16084 * po/ja.po: Update from translation team.
16085
2f0ad8f3
UD
16086 [BZ #13144]
16087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16088 kernel in 64-bit binaries.
16089
5f4318d1
DM
160902011-09-01 David S. Miller <davem@davemloft.net>
16091
16092 * elf/elf.h (HWCAP_SPARC_*): Move to..
16093 * sysdeps/sparc/sysdep.h: this new file and add new values.
16094 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16095 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16096 _DL_HWCAP_COUNT to 24.
16097 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16098 entries.
16099 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16100 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16101 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16103 instead of magic constants.
16104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16105
3ba57516
DM
161062011-08-31 David S. Miller <davem@davemloft.net>
16107
16108 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16110 Reimplement to do errno handling inline.
16111 (SYSCALL_ERROR_HANDLER): New macro.
16112 (__SYSCALL_STRING): Do not do errno handling in asm.
16113 (__CLONE_SYSCALL_STRING): Delete.
16114 (__INTERNAL_SYSCALL_STRING): Delete.
16115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16116 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16117 (PSEUDO): Reimplement to do errno handling inline.
16118 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16119 (SYSCALL_ERROR_HANDLER): New macro.
16120 (__SYSCALL_STRING): Do not do errno handling in asm.
16121 (__CLONE_SYSCALL_STRING): Delete.
16122 (__INTERNAL_SYSCALL_STRING): Delete.
16123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16124 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16125 i386.
16126 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16127 (inline_syscall*): Add 'err' argument.
16128 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16129 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16130 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16131 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16132
16133 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16134 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16135
2bc17433
AS
161362011-08-30 Andreas Schwab <schwab@redhat.com>
16137
16138 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16139
fbeb5f4d
JO
161402011-08-29 Jiri Olsa <jolsa@redhat.com>
16141
16142 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16143 directive.
16144
ad69cc26
DM
161452011-08-24 David S. Miller <davem@davemloft.net>
16146
16147 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16148
39dd69df
AS
161492011-08-24 Andreas Schwab <schwab@redhat.com>
16150
16151 * elf/Makefile: Add rules to build and run unload8 test.
16152 * elf/unload8.c: New file.
16153 * elf/unload8mod1.c: New file.
16154 * elf/unload8mod1x.c: New file.
16155 * elf/unload8mod2.c: New file.
16156 * elf/unload8mod3.c: New file.
16157
16158 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16159 it wasn't used.
16160
2c0b250a
DM
161612011-08-23 David S. Miller <davem@davemloft.net>
16162
16163 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16164 subtract stack bias.
16165 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16166 %sp not %fp in calculations.
16167 (_JMPBUF_UNWINDS_ADJ): Likewise.
16168
22044b48
DM
16169 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16170 (aio_suspend): Call it to force an exception region around the
16171 AIO_MISC_WAIT() invocation.
16172
2cae4995
AS
161732011-08-23 Andreas Schwab <schwab@redhat.com>
16174
16175 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16176 backslash.
16177
873a772e
AJ
161782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16179
16180 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16181 protection macro.
16182 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16183 and <dl-machine.h>.
16184 (Elf64_FuncDesc): Remove.
16185
25ad0df1
DM
161862011-08-22 David S. Miller <davem@davemloft.net>
16187
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16189 sigaltstack check, add missing cfi directives.
16190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16191 missing cfi directives, and sigaltstack handling.
16192
e888bcbe
AS
161932011-08-16 Andreas Schwab <schwab@redhat.com>
16194
16195 [BZ #11724]
16196 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16197 object is seen twice.
16198 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16199
16200 * elf/Makefile (distribute): Add tst-initorder2.c.
16201 (tests): Add tst-initorder2.
16202 (modules-names): Add tst-initorder2a tst-initorder2b
16203 tst-initorder2c tst-initorder2d. Add rules to build them.
16204 ($(objpfx)tst-initorder2.out): New rule.
16205 * elf/tst-initorder2.c: New file.
16206 * elf/tst-initorder2.exp: New file.
16207
87162f46
AS
162082011-08-22 Andreas Schwab <schwab@redhat.com>
16209
70538b7f
AS
16210 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16211
f55ffe58
AS
16212 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16213 dependencies back to end of function.
16214
87162f46
AS
16215 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16216 $(elfobjdir)/ld.so.
16217
91b392a4
UD
162182011-08-21 Ulrich Drepper <drepper@gmail.com>
16219
16220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16221 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16223 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16224 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16225 of __vdso_gettimeofday.
16226 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16227 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16228 attribute_hidden.
16229 (_libc_vdso_platform_setup): Remove initialization of
16230 __vdso_gettimeofday and __vdso_time.
16231
5c43483f
UD
162322011-08-20 Ulrich Drepper <drepper@gmail.com>
16233
775a77e7
UD
16234 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16235 and fgetc_unlocked.
16236 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16237 getc_unlocked.
89f447ed 16238
49c74ba9
UD
16239 * elf/dl-open.c (add_to_global): Report additions to the global scope
16240 for LD_DEBUG=scopes.
16241 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16242 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16243
5c43483f
UD
16244 [BZ #13114]
16245 * stdio-common/Makefile (tests): Add bug24.
16246 * stdio-common/bug24.c: New file.
16247
a101b025
AJ
162482011-08-19 Andreas Jaeger <aj@suse.de>
16249
16250 [BZ #13114]
16251 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16252 non-existant file when using close-on-exec mode.
16253
c88f1766
UD
162542011-08-20 Ulrich Drepper <drepper@gmail.com>
16255
0276a718
UD
16256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16257 the very first instruction.
16258
c88f1766
UD
16259 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16260 the CFI state in the end.
16261 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16262 inclusion of dl-trampoline.h.
16263 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16264
51ccffa0
AS
162652011-08-19 Andreas Schwab <schwab@redhat.com>
16266
94d7165f
AS
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16268 expectations for long double.
16269
51ccffa0
AS
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16271 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16272
fd708658 162732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16274
16275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16276 artificual limit depends upon the system page size.
16277
44f0a71e
UD
162782011-08-17 Ulrich Drepper <drepper@gmail.com>
16279
16280 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16281 * resolv/Makefile: Define CFLAGS-libresolv.
16282
8de79a24
AS
162832011-08-17 Andreas Schwab <schwab@redhat.com>
16284
16285 * nss/makedb.c (compute_tables): Make variables used in nested
16286 function static.
16287
27724598
UD
162882011-08-17 Ulrich Drepper <drepper@gmail.com>
16289
c5305d88
UD
16290 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16291 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16292 if buffer was too small.
16293
27724598
UD
16294 * elf/pldd.c (main): Attach to all threads in the process.
16295 Rewrite /proc handling to use *at functions.
16296
076fe015
UD
162972011-08-16 Ulrich Drepper <drepper@gmail.com>
16298
174baab3
UD
16299 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16300 specifies first scope to show.
16301 (dl_open_worker): Update callers. Move printing scope of new
16302 object to before the relocation.
44f0a71e 16303 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16304 * sysdeps/generic/ldsodefs.h: Update declaration.
16305
076fe015
UD
16306 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16307 string for the scope number.
16308
a60df2c3
UD
163092011-08-14 Ulrich Drepper <drepper@gmail.com>
16310
16311 * nscd/servicescache.c (cache_addserv): Make sure written is always
16312 initialized.
16313
5e4287d1
RM
163142011-08-14 Roland McGrath <roland@hack.frob.com>
16315
85ae0589
RM
16316 * sysdeps/i386/i486/bits/atomic.h
16317 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16318 statement expression, so as to suppress "set but not used" warning.
16319 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16320
69f63097
RM
16321 * string/strncat.c (STRNCAT): Use prototype definition.
16322
675456ef
RM
16323 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16324 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16325 -Iprograms here.
16326 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16327 (localedef-modules): Add localedef.
16328 (locale-modules): Add locale.
16329
5e4287d1
RM
16330 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16331 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16332 to avoid a warning.
16333
9c96ff23
DM
163342011-08-14 David S. Miller <davem@davemloft.net>
16335
16336 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16337 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16338
f9ddf089
UD
163392011-08-13 Ulrich Drepper <drepper@gmail.com>
16340
44f0a71e 16341 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16342 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16343 * elf/rtld.c (dl_main): Set l_name of vDSO.
16344 Call _dl_show_scope when DL_DEBUG_SCOPES.
16345 (process_dl_debug): Recognize scopes flag and also set it for all.
16346 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16347 Declare _dl_show_scope.
16348
1dc27704
UD
16349 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16350 (do_dlopen): Pass caller_dlopen to dl_open.
16351 (__libc_dlopen_mode): Initialize caller_dlopen.
16352
f9ddf089
UD
16353 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16354 of libc. Make tolower call locale-independent. Optimize a bit by
16355 using isdigit instead of isalnum.
16356 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16357
9ac533d3
UD
163582011-08-12 Ulrich Drepper <drepper@gmail.com>
16359
16360 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16361 was a dependency or dynamically loaded.
16362
89edf2e9
UD
163632011-08-11 Ulrich Drepper <drepper@gmail.com>
16364
8e999d29
UD
16365 * intl/l10nflist.c: Allow architecture-specific pop function.
16366 * sysdeps/x86_64/l10nflist.c: New file.
16367
89edf2e9
UD
16368 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16369 classification.
16370
14d96785
AS
163712011-08-10 Andreas Schwab <schwab@redhat.com>
16372
16373 * include/dirent.h: Add libc_hidden_proto for scandirat and
16374 scandirat64. Don't declare __scandirat64.
16375 * dirent/scandirat.c: Add libc_hidden_def.
16376 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16377 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16378
6761ac04
DM
163792011-08-10 David S. Miller <davem@davemloft.net>
16380
16381 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16382 enum.
16383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16386
c55fbd1e
UD
163872011-08-09 Ulrich Drepper <drepper@gmail.com>
16388
16389 * Versions.def [libc]: Add GLIBC_2.15.
16390 * dirent/Makefile (routines): Add scandirat and scandirat64.
16391 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16392 GLIBC_2.15.
16393 * dirent/dirent.h: Declare scandirat and scandirat64.
16394 * dirent/scandirat.c: New file.
16395 * dirent/scandirat64.c: New file.
16396 * sysdeps/wordsize-64/scandirat.c: New file.
16397 * sysdeps/wordsize-64/scandirat64.c: New file.
16398 * dirent/opendir.c: Define opendirat.
16399 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16400 using scandirat.
16401 * dirent/scandir64.c: Adjust for scandir.c change.
16402 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16403 __scandirat64, and __scandir_cancel_handler.
16404 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16405 additional parameter and use openat instead of open (outside of ld.so).
16406 Add new __opendir as wrapper around __opendirat.
16407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16408 here without requiring old scandirat implementation.
16409
879165f2
UD
164102011-08-08 Ulrich Drepper <drepper@gmail.com>
16411
16412 * dirent/scandir.c (cancel_handler): Renamed to
16413 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16414 defined. Adjust users.
16415 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16417
cb7e923b
UD
164182011-08-04 Ulrich Drepper <drepper@gmail.com>
16419
16292edd
UD
16420 * string/test-string.h (IMPL): Use __STRING to expand name and then
16421 stringify it.
16422
cb7e923b
UD
16423 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16424 of cleanups.
16425
cff82933
LD
164262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16427
16428 * string/Makefile: Update.
16429 (strop-tests): Append strncat.
16430 * string/test-wcscmp.c: New file.
16431 New comprehensive test for wcscmp.
16432 * string/test-strcmp.c: Update.
16433 (WIDE): New define.
16434
9be9bfcc
AS
164352011-07-22 Andreas Schwab <schwab@redhat.com>
16436
16437 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16438 line.
16439
2e96f1c7
AS
164402011-07-26 Andreas Schwab <schwab@redhat.com>
16441
16442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16443 encoding to ACE if AI_IDN.
16444
85188888
JJ
164452011-08-01 Jakub Jelinek <jakub@redhat.com>
16446
16447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16448 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16449
5fa16e9b
LD
164502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16451
16452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16453 Fix overflow bug in strncat.
16454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16455
16456 * string/test-strncat.c: Update.
16457 Add new tests for checking overflow bugs.
16458
164592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16460
16461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16462 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16463 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16464 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16465 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16466 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16467 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16468 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16469 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16470
16471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16472 (USE_AS_STRCAT): Define.
16473 Add strcat and strncat support.
16474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16475
8c1a459f
AS
164762011-07-25 Andreas Schwab <schwab@redhat.com>
16477
16478 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16479 __n bigger than INT_MAX+1.
16480 (__strncmp_g): Likewise.
16481
bba33c28
UD
164822011-07-23 Ulrich Drepper <drepper@gmail.com>
16483
798be72d
UD
16484 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16485 * libio/stido.h: Likewise.
16486
8accd4dc
UD
16487 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16488 (AF_NFC): Define.
16489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16490 (AF_NFC): Define.
16491
cbff0d96
UD
16492 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16496 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16497
9191c04a
UD
16498 [BZ #13021]
16499 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16500 installed.
16501
bba33c28
UD
16502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16503 typo.
16504 (_dl_x86_64_save_sse): Likewise.
16505
90f139dd
UD
165062011-07-22 Ulrich Drepper <drepper@gmail.com>
16507
1aae088a
UD
16508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16509 OSXSAVE.
16510 (_dl_x86_64_save_sse): Likewise.
16511
8e2045f5
UD
16512 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16513
90f139dd
UD
16514 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16515
1d002f25
AS
165162011-07-21 Andreas Schwab <schwab@redhat.com>
16517
16518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16519 change.
16520 (_dl_x86_64_save_sse): Use correct AVX check.
16521
21137f89
UD
165222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16523
16524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16525 bug in strncpy/strncat.
16526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16527
a65c0b7a
UD
165282011-07-21 Ulrich Drepper <drepper@gmail.com>
16529
16530 * string/tester.c (test_strcat): Add tests for different alignments
16531 of source and destination.
16532 (test_strncat): Likewise.
16533
6986b98a
UD
165342011-07-20 Ulrich Drepper <drepper@gmail.com>
16535
90bb2039
UD
16536 [BZ #12852]
16537 * posix/glob.c (glob): Check passed in values before using them in
16538 expressions to avoid some overflows.
16539 (glob_in_dir): Likewise.
16540
5644ef54
UD
16541 [BZ #13007]
16542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16543 check for AVX enablement so that we don't crash with old kernels and
16544 new hardware.
16545 * elf/tst-audit4.c: Add same checks here.
16546 * elf/tst-audit6.c: Likewise.
16547
16548 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16549
bfc9dc9b
AS
165502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16551
16552 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16553
702e64bb
UD
165542011-07-20 Ulrich Drepper <drepper@gmail.com>
16555
16556 * po/cs.po: Update from translation team.
16557 * po/bg.po: Likewise.
16558
295e904f
MP
165592011-07-12 Marek Polacek <mpolacek@redhat.com>
16560
16561 * misc/sys/cdefs.h: Add support for const attribute.
16562 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16563 to gnu_dev_{major,minor,makedev} functions.
16564
3ff94596
MP
165652011-07-20 Marek Polacek <mpolacek@redhat.com>
16566
16567 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16568
28b59fca
AS
165692011-07-20 Andreas Schwab <schwab@redhat.com>
16570
16571 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16572 strlen results.
16573
19df733e
AK
165742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16575
16576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16577 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16578 register in order to avoid conflicts with the soft frame pointer
16579 being held in r11 when necessary.
16580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16581 (INTERNAL_VSYSCALL_NCS): Likewise.
16582
c8835729
MP
165832011-07-14 Marek Polacek <mpolacek@redhat.com>
16584
16585 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16586 * elf/dl-fini.c (_dl_fini): Adjust caller.
16587 * elf/dl-close.c (_dl_close_worker): Likewise.
16588 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16589
b902330c
MP
165902011-07-15 Marek Polacek <mpolacek@redhat.com>
16591
8991e135
MP
16592 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16593 "aux_cache->nlibs < 0".
16594
b902330c
MP
16595 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16596 in the reload-count case.
16597
99710781
LD
165982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16599
16600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16601 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16602 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16603 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16604 * sysdeps/x86_64/multiarch/strcat.S: New file.
16605 * sysdeps/x86_64/multiarch/strncat.S: New file.
16606 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16608 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16609 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16611 (USE_AS_STRCAT): Define.
16612 Add strcat and strncat support.
16613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16615 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16616 * string/strncat.c: Update.
16617 (USE_AS_STRNCAT): Define.
16618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16619 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16620 and i7.
16621 * sysdeps/x86_64/multiarch/init-arch.h
16622 (bit_Prefer_PMINUB_for_stringop): New.
16623 (index_Prefer_PMINUB_for_stringop): Likewise.
16624 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16625 bit_Prefer_PMINUB_for_stringop.
16626
7dc6bd90
UD
166272011-07-19 Ulrich Drepper <drepper@gmail.com>
16628
16629 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16630 buffer64.
16631 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16632 of casting of buffer.
16633 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16634 buffer32 and buffer64.
16635 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16636 writes instead of casting of buffer.
16637 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16638 buffer32.
16639 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16640 casting of buffer.
16641
e0e72284
AS
166422011-07-19 Andreas Schwab <schwab@redhat.com>
16643
16644 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16645
feb1eb0b
UD
166462011-07-19 Ulrich Drepper <drepper@gmail.com>
16647
16648 * nscd/nscd.c (termination_handler): Don't do anything for a database
16649 if it has not yet been initialized.
16650
298711ff
UD
166512011-07-18 Ulrich Drepper <drepper@gmail.com>
16652
16653 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16654
166552011-07-15 Marek Polacek <mpolacek@redhat.com>
16656
16657 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16658
f9d68389
UD
166592011-07-18 Ulrich Drepper <drepper@gmail.com>
16660
16661 * po/nl.po: Update from translation team.
16662 * po/sv.po: Likewise.
16663
db290cf5
RM
166642011-07-16 Roland McGrath <roland@hack.frob.com>
16665
16666 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16667 now disallowed by GCC.
5c550700 16668
fd5e21c7
RM
16669 * configure.in (use-default-link): Default to yes if a test -shared
16670 link meets our qualifications.
16671 * configure: Regenerated.
16672
5c550700
RM
16673 * config.make.in (output-format): New variable.
16674 * configure.in: Check for ld --print-output-format support.
16675 * configure: Regenerated.
16676 * Makerules ($(common-objpfx)format.lds)
16677 [$(output-format) != unknown]: Just use $(output-format),
16678 instead of the linker-script munging.
16679
9fa2c032
RM
166802011-07-14 Roland McGrath <roland@hack.frob.com>
16681
a6928d51
RM
16682 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16683 of $(common-objpfx)shlib.lds.
16684 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16685
661607b3
RM
16686 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16687 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16688
9fa2c032
RM
16689 * configure.in (-z relro check): Adjust test code to add a large
16690 writable data section after it.
16691 * configure: Regenerated.
16692
defe9061
RM
166932011-07-11 Roland McGrath <roland@hack.frob.com>
16694
16695 * configure.in (-z relro check): Fix test code to make the variable
16696 truly const.
16697 * configure: Regenerated.
16698
319b9ad4
UD
166992011-07-11 Ulrich Drepper <drepper@gmail.com>
16700
16701 * nscd/nscd.h (struct traced_file): Define.
16702 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16703 elements. Add traced_files.
16704 (inotify_fd): Declare.
16705 (register_traced_file): Declare.
16706 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16707 (inotify_fd): Export.
16708 (resolv_conf_descr): Remove.
16709 (nscd_init): Move inotify descriptor creation to main.
16710 Don't register files for notification here.
16711 (register_traced_file): New function.
16712 (invalidate_cache): Don't use reset_res to determine whether to call
16713 res_init, go through the list of registered files.
16714 (main_loop_poll): The inotify descriptors are now stored in the
16715 structures for the traced files.
16716 (main_loop_epoll): Likewise
16717 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16718 to __nss_disable_nscd.
16719 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16720 for a database anymore. Check the records for all the registered
16721 files instead.
16722 * nss/Makefile (libnss_files-routines): Add files-init.
16723 (libnss_db-routines): Add db-init.
16724 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16725 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16726 * nss/nss_db/db-init.c: New file.
16727 * nss/nss_files/files-init.c: New file.
16728 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16729 __nss_lookup_function.
16730 (__nss_lookup_function): Call nss_load_library.
16731 (nss_load_all_libraries): New function.
16732 (__nss_disable_nscd): Take parameter with callback function for files
16733 to register. Set is_nscd. Load all the DSOs for the NSS modules
16734 used for the cached services.
16735 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16737 options for features to all the files in nscd.
16738
16739 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16740
23bee3e8
RM
167412011-07-10 Roland McGrath <roland@hack.frob.com>
16742
16743 * csu/elf-init.c (__libc_csu_init): Comment typo.
16744
46a5b7f0
UD
167452011-07-09 Ulrich Drepper <drepper@gmail.com>
16746
16747 * po/pl.po: Update from translation team.
16748 * po/ja.po: Likewise.
16749 * po/ru.po: Likewise.
16750 * po/ko.po: Likewise.
16751 * po/fr.po: Likewise.
16752
d30cf5bb
RM
167532011-07-09 Roland McGrath <roland@hack.frob.com>
16754
113ddea4
RM
16755 * configure.in (.ctors/.dtors header and trailer check):
16756 Use an empirical test on a built program.
16757 * configure: Regenerated.
16758
574920b4
RM
16759 * configure.in (-z relro check): Use an empirical test on a built DSO.
16760 Detect, but do not require, on ia64.
16761 * configure: Regenerated.
16762
d30cf5bb
RM
16763 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16764 Update tests that use readelf to use $READELF instead.
16765 * configure: Regenerated.
16766
8538fdb3
UD
167672011-07-08 Ulrich Drepper <drepper@gmail.com>
16768
16769 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16770 if the result is not used.
16771
04d08991
AJ
167722011-07-05 Andreas Jaeger <aj@suse.de>
16773
16774 [BZ#9696]
16775 * stdlib/tst-strtod.c: Add testcase.
16776
de283087
AD
167772011-07-07 Ulrich Drepper <drepper@gmail.com>
16778
4e5f31c8 16779 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16780 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16781 The latter has a higher limit. Take additional parameter to pass to
16782 the new function.
16783 (__pathconf): Pass file to __statfs_link_max.
16784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16785 __statfs_link_max.
16786 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16787 __statfs_link_max.
16788
de283087
AD
16789 [BZ #12868]
16790 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16792 Handle Lustre.
16793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16794 (__statfs_filesize_max): Likewise.
16795 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16796
c75fa153
AJ
167972011-07-05 Andreas Jaeger <aj@suse.de>
16798
16799 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16800
1a544854
UD
168012011-07-06 Marek Polacek <mpolacek@redhat.com>
16802
16803 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16804 `status' variable.
16805 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16806 Likewise.
16807
6f0eec67
UD
168082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 * Makefile (strop-tests): Add strncat.
16811 * string/test-strncat.c: New file.
16812
aae30307
UD
168132011-06-30 Marek Polacek <mpolacek@redhat.com>
16814
16815 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16816
c0cfb5eb
UD
168172011-06-21 Andreas Jaeger <aj@suse.de>
16818
16819 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16820 Copy rule from iconvdata/Makefile.
16821
01636b21
UD
168222011-07-06 Ulrich Drepper <drepper@gmail.com>
16823
16824 [BZ #12922]
16825 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16826 but no long options are defined, just return 'W'.
16827
9895c8bc
UD
168282011-06-22 Marek Polacek <mpolacek@redhat.com>
16829
16830 [BZ #9696]
16831 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16832
5d4cf042
UD
168332011-07-06 Ulrich Drepper <drepper@gmail.com>
16834
16835 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16836 netgroups to read.
960e5535 16837 (innetgr): Likewise.
5d4cf042 16838
751eb97e
RM
168392011-07-05 Roland McGrath <roland@hack.frob.com>
16840
16841 * config.make.in (install_root): Default to $(DESTDIR).
16842
f15f1e45
UD
168432011-07-05 Ulrich Drepper <drepper@gmail.com>
16844
16845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16846
4e34ac6a
RM
168472011-07-02 Roland McGrath <roland@hack.frob.com>
16848
5e9b6af4
RM
16849 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16850
84f9ea0f
RM
16851 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16852 containing directory rather than embedding absolute directory names.
16853
ea5ee9f7
RM
16854 * scripts/check-local-headers.sh: Rewritten using awk.
16855 Match by word, not by line. Print error messages for matches.
16856 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16857
1b74661a
RM
16858 * Makerules [shlib-lds-flags empty]:
16859 ($(common-objpfx)libc_pic.opts): New target.
16860 ($(common-objpfx)libc_pic.os.clean): New target.
16861 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16862
16863 * config.make.in (OBJCOPY): New variable.
16864 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16865 * configure: Regenerated.
16866
f781ef40
RM
16867 * config.make.in (use-default-link): New variable.
16868 * configure.in (use_default_link): Grok --with-default-link to set it.
16869 * configure: Regenerated.
16870 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16871 (shlib-lds, shlib-lds-flags): Define to empty.
16872
2d4fa81e
RM
16873 * Makerules (shlib-lds): New variable.
16874 (shlib-lds-flags): New variable.
16875 (build-shlib, build-moduile, build-module-asneeded): Use it.
16876 ($(common-objpfx)libc.so): Use $(shlib-lds).
16877 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16878 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16879
31fffa6b
RM
16880 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16881 DT_FLAGS/DT_FLAGS_1 with zero flags.
16882
4e34ac6a
RM
16883 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16884 linker script munging.
16885
fcfc776b
UD
168862011-07-02 Ulrich Drepper <drepper@gmail.com>
16887
16888 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16889 as 128-bit value.
16890 * crypt/sha512.c (sha512_process_block): Perform total addition using
16891 128-bit if possible.
16892 (__sha512_finish_ctx): Likewise.
16893 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16894 as 64-bit value.
16895 * crypt/sha256.c (SWAP64): Define.
16896 (sha256_process_block): Perform total addition using 64-bit if
16897 possible.
16898 (__sha256_finish_ctx): Likewise.
16899
99231d9a
UD
169002011-07-01 Ulrich Drepper <drepper@gmail.com>
16901
16902 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16904 * nscd/hstcache.c (cache_addhst): Likewise.
16905 * nscd/grpcache.c (cache_addgr): Likewise.
16906 * nscd/aicache.c (addhstaiX): Likewise
16907 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16908
445b4a53
TK
169092011-07-01 Thorsten Kukuk <kukuk@suse.de>
16910
16911 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16913 * nscd/hstcache.c (cache_addhst): Likewise.
16914 * nscd/grpcache.c (cache_addgr): Likewise.
16915 * nscd/aicache.c (addhstaiX): Likewise
16916
6d4d8e8e
AS
169172011-07-01 Andreas Schwab <schwab@redhat.com>
16918
16919 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16920 domain only when needed.
16921
89f654c5
AS
169222011-06-30 Andreas Schwab <schwab@redhat.com>
16923
16924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16925 is always restored.
16926
cf3b23ff
UD
169272011-06-29 Ulrich Drepper <drepper@gmail.com>
16928
16929 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16930 are re-adding the entry.
16931 * nscd/servicescache.c (cache_addserv): Likewise.
16932
751626f9
AJ
169332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16934
16935 * sysdeps/generic/dl-irel.h: fix protection against multiple
16936 inclusions.
16937 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16938
9113ea1f
UD
169392011-06-28 Ulrich Drepper <drepper@gmail.com>
16940
5c0b8d90
UD
16941 [BZ #12935]
16942 * malloc/memusage.sh: Fix quoting in message.
16943 * debug/xtrace.sh: Likewise.
16944
9113ea1f
UD
16945 * configure.in: Remove support for --experimental-malloc option, make
16946 it the default.
16947 * config.make.in: Likewise.
16948 * malloc/Makefile: Likewise.
16949
a4172181
AS
169502011-06-27 Andreas Schwab <schwab@redhat.com>
16951
16952 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16953 two-byte characters.
16954
78a7eee7
RM
169552011-06-27 Roland McGrath <roland@hack.frob.com>
16956
62bede13
RM
16957 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16958 AC_CACHE_CHECK invocation.
16959 * configure: Regenerated.
16960
78a7eee7
RM
16961 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16962
5ce33a62
UD
169632011-06-27 Ulrich Drepper <drepper@gmail.com>
16964
034807a9
UD
16965 [BZ #12350]
16966 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16967 bit from old_res_options.
16968
4902da17
UD
16969 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16970
5ce33a62
UD
16971 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16972 value type for setfct.
16973
c2344f56
L
169742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16977 __gettimeofday instead of gettimeofday.
16978
68468076
UD
169792011-06-26 Ulrich Drepper <drepper@gmail.com>
16980
16981 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16982
acb0d739
L
169832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16986
16987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16988 info.
16989
8912479f
L
169902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16991
16992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16993 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16994 strcpy-sse2-unaligned strncpy-sse2-unaligned
16995 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16996 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16997 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16998 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16999 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17001 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17002 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17003 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17004 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17005 (STRCPY): Support SSE2 and SSSE3 versions.
17006
d5495a11
UD
170072011-06-24 Ulrich Drepper <drepper@gmail.com>
17008
17009 [BZ #12874]
17010 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17011 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17012 kernels which artificially limit size of requests.
17013
0b1cbaae
L
170142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17015
17016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17017 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17018 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17019 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17020 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17021 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17022 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17023 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17026 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17027 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17028 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17029 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17030 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17032 Enable unaligned load optimization for Intel Core i3, i5 and i7
17033 processors.
17034 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17035 Define.
17036 (index_Fast_Unaligned_Load): Define.
17037 (HAS_FAST_UNALIGNED_LOAD): Define.
17038
07f494a0
MP
170392011-06-23 Marek Polacek <mpolacek@redhat.com>
17040
17041 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17042
fa3fc0fe
UD
170432011-06-22 Ulrich Drepper <drepper@gmail.com>
17044
17045 [BZ #12907]
17046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17047 until it is clear that the information is realy needed.
17048 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17049
e12df166
AS
170502011-06-22 Andreas Schwab <schwab@redhat.com>
17051
17052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17053
852eb34d
UD
170542011-06-22 Ulrich Drepper <drepper@gmail.com>
17055
84e2a551
UD
17056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17057 /sys/devices/system/cpu/online if it is usable.
17058
852eb34d
UD
17059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17060 reading the information from the /proc filesystem to once a second.
17061
6e502e19
UD
170622011-06-21 Andreas Jaeger <aj@suse.de>
17063
17064 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17065 NULL after inclusion of kernel headers.
17066
75d39ff2
UD
170672011-06-21 Ulrich Drepper <drepper@gmail.com>
17068
51f9aa6a
UD
17069 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17070 calls to internal_setent.
17071
c0244a9d
UD
17072 [BZ #12885]
17073 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17074 addresses using gethostbyname4_r ignore IPv4 addresses.
17075
c5e3c2ae
UD
17076 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17077 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17078
75d39ff2
UD
17079 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17080
42675c6f
DM
170812011-06-20 David S. Miller <davem@davemloft.net>
17082
17083 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17084 inclusions.
17085 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17086
17087 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17088 (elf_irel): Use it.
17089 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17090 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17091 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17092 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17093 * sysdeps/x86_64/dl-irel.h: Likewise.
17094
17095 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17096 * elf/dl-sym.c: Likewise.
17097
57912a71
UD
170982011-06-15 Ulrich Drepper <drepper@gmail.com>
17099
17100 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17101 need to dereference resplen2.
17102
ee22793d
AS
171032011-06-14 Andreas Schwab <schwab@redhat.com>
17104
17105 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17106
a9e836b0
UD
171072011-06-15 Ulrich Drepper <drepper@gmail.com>
17108
77fb9117
UD
17109 * Makeconfig: Define vardbdir and inst_vardbdir.
17110 * nss/Makefile: Add rules to install db-Makefile.
17111
40c1b22c
UD
17112 * nss/nss_db/db-XXX.c: Cleanup.
17113
9f2da732
UD
17114 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17115 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17116 GLIBC_PRIVATE.
17117 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17118 * nss/makedb.c: Implement -g option to specify that value strings
17119 are generated and should not be added to table iterated over for
17120 get*ent calls.
17121 * nss/nss_db/db-initgroups.c: New file.
17122
82e9a1f7
UD
17123 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17124 interface.
17125
c41af17e
UD
17126 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17127 (internal_getgrouplist): Adjust to name change.
17128 Update use_initgroups_entry if this is not the first call.
17129 * nss/databases.def: Add initgroups entry.
17130
a9e836b0
UD
17131 * nss/makedb.c (compute_tables): Check result of multiple hash table
17132 sizes to minimize maximum chain length.
17133
2666d441
UD
171342011-06-14 Ulrich Drepper <drepper@gmail.com>
17135
17136 * Versions.def: Add entry for libnss_db.
17137 * shlib-versions: Likewise.
17138 * nss/Makefile: Add rules to build libnss_db.
17139 * nss/Versions: Add libnss_db information. Organize libnss_files
17140 entries better.
17141 * nss/db-Makefile: Add gshadow support. Change rules for the new
17142 makedb progra. Some minor improvements to generate smaller files.
17143 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17144 here from...
17145 * nss/makedb.c: ...here.
17146 Improve database format to be smaller and require less memory at
17147 runtime.
17148 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17149 db anymore.
17150 * nss/nss_db/db-netgrp.c: Likewise.
17151 * nss/nss_db/db-open.c: Likewise.
17152 * nss/nss_files/flies-XXX.x: Adjust comments.
17153 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17154 * nss/nss_files/files-grp.c: Likewise.
17155 * nss/nss_files/files-hosts.c: Likewise.
17156 * nss/nss_files/files-network.c: Likewise.
17157 * nss/nss_files/files-proto.c: Likewise.
17158 * nss/nss_files/files-pwd.c: Likewise.
17159 * nss/nss_files/files-rpc.c: Likewise.
17160 * nss/nss_files/files-service.c: Likewise.
17161 * nss/nss_files/files-sgrp.c: Likewise.
17162 * nss/nss_files/files-spwd.c: Likewise.
17163 * nss/nss_db/db-alias.c: Removed.
17164 * nss/nss_db/dummy-db.h: Removed.
17165
9ee76b5a
UD
171662011-06-02 Ulrich Drepper <drepper@gmail.com>
17167
17168 * nss/makedb.c: Rewritten to not use database library.
17169 * nss/Makefile: Update to build new makedb program.
17170
c71ca1f8
AJ
171712011-06-14 Andreas Jaeger <aj@suse.de>
17172
17173 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17174 memset declaration.
17175
3154bfb8
UD
171762011-06-10 Andreas Schwab <schwab@redhat.com>
17177
17178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17179 tmpbuf.
17180
b350afab
RM
171812011-06-10 Roland McGrath <roland@hack.frob.com>
17182
decd4e50
RM
17183 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17184 * elf/Makefile ($(objpfx)ld.so): Likewise.
17185
5615eaf2
RM
17186 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17187 Don't list ld.so twice in dependencies.
17188
17189 * posix/bug-regex31.c: Include <stdlib.h>.
17190
17191 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17192
17193 * nis/nss_compat/compat-spwd.c
17194 (getspent_next_nss_netgr): Remove unused variable.
17195 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17196
17197 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17198 nonmembers" output to use the right array.
17199
17200 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17201
17202 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17203
17204 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17205 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17206 * catgets/gencat.c (read_input_file): Likewise.
17207 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17208
17209 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17210 variable definition inside #if's controlling its use.
17211
17212 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17213
17214 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17215
17216 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17217
17218 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17219 unreachable code.
17220
17221 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17222
b68e08db
RM
17223 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17224 * configure: Regenerated.
17225
b350afab
RM
17226 * Makerules: Revert last change.
17227 * elf/Makefile: Likewise.
17228
28368601
RM
172292011-06-09 Roland McGrath <roland@hack.frob.com>
17230
17231 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17232 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17233 (reloc-link): Likewise.
17234
11988f8f
UD
172352011-06-09 Ulrich Drepper <drepper@gmail.com>
17236
17237 * elf/Makefile: Add rules to build pldd.
17238 * elf/pldd.c: New file.
17239 * elf/pldd-xx.c: New file.
17240
e80fab37
UD
172412011-06-07 Ulrich Drepper <drepper@gmail.com>
17242
17243 * version.h: Update for 2.15 development version.
17244
9b849836
DM
172452011-06-07 David S. Miller <davem@davemloft.net>
17246
17247 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17248 ifuncs.
17249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17250 elf_machine_lazy_rel): Likewise.
17251 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17253 elf_machine_lazy_rel): Likewise.
17254 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17255 dl_hwcap via passed in argument.
17256 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17257 Likewise.
17258
5a31b283
AK
172592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17260
17261 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17262
069e52f8
RM
172632011-06-06 Roland McGrath <roland@hack.frob.com>
17264
17265 [BZ #12849]
17266 * manual/fdl-1.1.texi: New file, verbatim from:
17267 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17268 * manual/lgpl-2.1.texi: New file, verbatim from:
17269 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17270 * manual/Makefile (licenses): New variable, list those new file names.
17271 (texis): Use it.
17272 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17273
17274 * manual/fdl.texi: File removed.
17275 * manual/lesser.texi: File removed.
17276 * manual/libc.texinfo (Copying, Documentation License):
17277 Use new @include file names, put @appendix directive before @include.
17278
f16846a5
JJ
172792011-06-04 Jakub Jelinek <jakub@redhat.com>
17280
17281 [BZ #12841]
17282 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17283 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17284 (mq_open): Add __NTH.
17285
3d29045b
L
172862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17287
17288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17289 Assume Intel Core i3/i5/i7 processor if AVX is available.
17290
8c297311
UD
172912011-05-31 Ulrich Drepper <drepper@gmail.com>
17292
17293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17294 typo.
17295
c8fc0c91
UD
172962011-05-31 Andreas Schwab <schwab@redhat.com>
17297
17298 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17299 memory. Use alloca_account. Fix memory leak when retrying.
17300
5b27a807
UD
173012011-05-31 Ulrich Drepper <drepper@gmail.com>
17302
356f8bc6
UD
17303 * version.h (RELEASE): Bump for 2.14 release.
17304 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17305
5b27a807
UD
17306 * config.make.in (RANLIB): Remove entry.
17307
01f16ab0
UD
173082011-05-30 Ulrich Drepper <drepper@gmail.com>
17309
41fce8bd
UD
17310 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17311 (libc.pot): Work around missing support for .ksh extension in xgettext.
17312
4769ae77
UD
17313 [BZ #12684]
17314 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17315 if both request failed.
17316 (send_dg): In case of server errors clear resplen or *resplen2.
17317
6b1e7d19
UD
17318 [BZ #12454]
17319 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17320 when there are multiple maps.
17321 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17322 (_dl_fini): Remove test here.
17323
01f16ab0
UD
17324 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17325
b1ebd700
UD
173262011-05-29 Ulrich Drepper <drepper@gmail.com>
17327
7ae22829
UD
17328 [BZ #12350]
17329 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17330 bit from old_res_options.
17331 (gaih_inet): Likewise.
17332
553149f6 17333 [BZ #11099]
18a84741 17334 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17335 as signed.
17336
652ffab1
UD
17337 * resolv/res_init.c (res_setoptions): Make the code more compact.
17338
16985fd0
UD
17339 [BZ #11558]
17340 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17341 set RES_USEVC.
17342
0464f746
UD
17343 [BZ #11634]
17344 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17345
7d17596c
UD
17346 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17347
cf6bbbd7
UD
17348 [BZ #11781]
17349 * malloc/malloc.h: Declare malloc hook variables as volatile.
17350
13f1ab36
UD
17351 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17352 in last patch.
17353
b1ebd700
UD
17354 [BZ #11799]
17355 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17356 raise in the comment.
80e2212d
UD
17357 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17359 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17360
ce67228d
UD
173612011-05-28 Ulrich Drepper <drepper@gmail.com>
17362
8887a920
UD
17363 [BZ #12811]
17364 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17365 grow the buffers more if it already has to be sufficient.
17366 (build_wcs_upper_buffer): Likewise.
17367 * posix/regexec.c (check_matching): Likewise.
17368 (clean_state_log_if_needed): Likewise.
17369 (extend_buffers): Don't enlarge buffers beyond size of the input
17370 buffer.
17371 Patches mostly by Emil Wojak <emil@wojak.eu>.
17372 * posix/bug-regex32.c: New file.
17373 * posix/Makefile (tests): Add bug-regex32.
17374
4f031072
UD
17375 * locale/findlocale.c (_nl_find_locale): Return right away if
17376 _nl_explode_name failed.
17377 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17378
d0478f0c
UD
17379 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17380
de81b246
UD
17381 * debug/xtrace.sh: Unify messages.
17382 * malloc/memusage.sh: Likewise.
17383
c738465a
UD
17384 [BZ #12813]
17385 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17386 time symbol from vDSO. Substitute with vsyscall if not available.
17387 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17388 __vdso_time.
17389
f1f929d7
UD
17390 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17391 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17392 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17393 Add sendmmsg and internal_sendmmsg.
17394 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17395 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17396 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17397
ce67228d
UD
17398 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17399 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17401
e57420c6
UD
174022011-05-27 Ulrich Drepper <drepper@gmail.com>
17403
a8509ca5
UD
17404 [BZ #12813]
17405 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17406 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17407 available.
17408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17409 __vdso_getcpu.
17410
e57420c6
UD
17411 [BZ #12814]
17412 * iconvdata/Makefile (tests): Add bug-iconv9.
17413 * iconvdata/bug-iconv9.c: New file.
17414
4d07db15
AS
174152011-05-27 Andreas Schwab <schwab@redhat.com>
17416
17417 [BZ #12814]
17418 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17419
ea486f69
JJ
174202011-05-25 Jakub Jelinek <jakub@redhat.com>
17421
17422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17423 (struct user_regs_struct): Change intcs field back to cs.
17424
6f038433
UD
174252011-05-25 Ulrich Drepper <drepper@gmail.com>
17426
17427 * po/ja.po: Update from translation team.
17428
67f86a25
UD
174292011-05-23 Ulrich Drepper <drepper@gmail.com>
17430
17431 [BZ #12795]
17432 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17433 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17434
def7fbd6
AS
174352011-05-20 Andreas Schwab <schwab@redhat.com>
17436
17437 * stdlib/longlong.h: Update from GCC.
17438
f50ef8f1
AS
174392011-05-23 Andreas Schwab <schwab@redhat.com>
17440
17441 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17442 parameter name.
17443 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17444 Add parameter name.
17445 (__sysconf): Pass it down.
17446
de7ce8f1
UD
174472011-05-22 Ulrich Drepper <drepper@gmail.com>
17448
f2962a71
UD
17449 [BZ #12671]
17450 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17451 some situations.
17452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17453 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17454 add in in __libc_use_alloca calls. Adjust callers.
17455 (glob): Use malloc in some situations.
17456
de7ce8f1
UD
17457 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17458 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17459 pltexit.
17460
aec84f53
UD
174612011-05-21 Ulrich Drepper <drepper@gmail.com>
17462
05bb4a68
UD
17463 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17464 and CLOCK_BOOTTIME_ALARM.
17465
7ea72f99
UD
17466 [BZ #12782]
17467 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17468 is returned.
17469
7e4afad5
UD
17470 * string/_strerror.c (__strerror_r): Print negative errors as signed
17471 numbers.
17472
8e211fec
UD
17473 [BZ #12777]
17474 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17475 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17476 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17477
f7d82dc9
UD
17478 * configure.in: Fix typo in redirection and correct removal of test
17479 files in two cases.
17480
cc9e536d
UD
17481 [BZ #12788]
17482 * locale/setlocale.c (new_composite_name): Fix test to check for
17483 identical name of all categories.
17484
aec84f53
UD
17485 [BZ #12792]
17486 * libio/filedoalloc.c (local_isatty): New function.
17487 (_IO_file_doallocate): Use local_isatty.
17488 * stdio-common/perror.c (perror): In case a new stream is used
17489 forward the stream error.
17490 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17491 error flag.
17492
78e64fdc
RT
174932011-05-20 Ulrich Drepper <drepper@gmail.com>
17494
34a9094f
UD
17495 [BZ #11869]
17496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17497 alloca.
17498 * include/alloca.h (extend_alloca_account): Define.
17499
78e64fdc
RT
17500 [BZ #11857]
17501 * posix/regex.h: Fix comments with documentation of user-accessible
17502 fields after compilation and describe correct free'ing of pattern
17503 after re_compile_pattern.
17504 Patch by Reuben Thomas <rrt@sc3d.org>.
17505
457bddfc
RA
175062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17507
17508 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17509 and -mno-altivec to prevent the compiler from using Altivec and/or
17510 VSX instructions when the corresponding registers are not available.
17511
a4527b51
AS
175122011-05-19 Andreas Schwab <schwab@redhat.com>
17513
17514 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17515
ed690b2f
UD
175162011-05-19 Ulrich Drepper <drepper@gmail.com>
17517
17518 * libio/freopen.c (freopen): Use __dup2, not dup2.
17519 * libio/freopen64.c (freopen64): Likewise.
17520
8db73634
L
175212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17522
17523 [BZ #12775]
17524 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17525 * math/Makefile (tests): Add test-powl.
17526 (CFLAGS-test-powl.c): Define.
17527 * math/test-powl.c: New file.
17528
0a197a9d
L
175292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17530
17531 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17532
ee30c380
UD
175332011-05-17 Ulrich Drepper <drepper@gmail.com>
17534
17535 [BZ #11837]
17536 * iconvdata/gb18030.c: Update to GB18020-2005.
17537
6ce75379
UD
175382011-05-16 Ulrich Drepper <drepper@gmail.com>
17539
a4b89fd8
AR
17540 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17541 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17542 Patch by Aharon Robbins <arnold@skeeve.com>.
17543
ea389b12
UD
17544 [BZ #11892]
17545 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17546 on the stack.
17547
68a3f91f
UD
17548 [BZ #11895]
17549 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17550 through underflows.
17551
15cc7dd1
UD
17552 [BZ #12766]
17553 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17554 point to strings before performing equality test for error_one_per_line
17555 mode.
17556
f3799213
UD
17557 [BZ #11697]
17558 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17559
d79a9c94
UD
17560 [BZ #11820]
17561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17562 (struct user_fpregs_struct): Avoid __uint*_t types.
17563
56e5eb46
UD
17564 [BZ #6420]
17565 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17566 symbol info. Use it instead of calling _dl_addr locally.
17567 (lock_and_info): New function.
17568 (tr_freehook): Call lock_and_info and pass symbol info as additional
17569 parameter to tr_where.
17570 (tr_mallochook): Likewise.
17571 (tr_reallochook): Likewise.
17572 (tr_memalignhook): Likewise.
17573
6ce75379
UD
17574 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17575 used and couldn't be at all thread-safe.
17576
f8a3b5bf
UD
175772011-05-15 Ulrich Drepper <drepper@gmail.com>
17578
94b7cc37
UD
17579 * libio/freopen.c (freopen): Don't close old file descriptor
17580 before the new one is opened. Instead dup the new file descriptor
17581 to the old one after the new stream is created.
17582 * libio/freopen64.c (freopen64): Likewise.
17583 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17584 * libio/fileops.c (_IO_new_file_close_it): Handle new
17585 _IO_FLAGS2_NOCLOSE flag.
17586 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17587 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17588 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17589 _IO_FLAGS2_NOCLOSE flag.
17590 * include/unistd.h: Add hidden_proto for dup3.
17591 Define __have_dup3.
17592 * io/dup3.c: Define hidden symbol.
17593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17594
bd25564e
UD
17595 [BZ #7101]
17596 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17597 when an incomplete long option is used.
17598 * posix/tst-getopt_long1.c: New file.
17599 * posix/Makefile (tests): Add tst-getopt_long1.
17600
c84cfef4
UD
17601 [BZ #10138]
17602 * scripts/config.guess: Update from autoconf-2.68.
17603 * scripts/config.sub: Likewise.
17604
3b85df27
UD
17605 [BZ #10157]
17606 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17607 tests into ...
17608 (has_cpuclock): ...this. New function.
17609 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17610 macro here based on has_cpuclock code.
17611
15a856b1
UD
17612 [BZ #10149]
17613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17614 First byte (not low byte) is now always NUL.
17615 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17616
05f399e6
UD
17617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17618 Use non-cancelable interfaces.
17619
10a52685 17620 [BZ #9809]
94ecc67d
UD
17621 * locale/iso-639.def: Add entry for Sorani.
17622
f8a3b5bf
UD
17623 [BZ #11901]
17624 * include/stdlib.h: Move include protection to the right place.
17625 Define abort_msg_s. Declare __abort_msg with it.
17626 * stdlib/abort.c (__abort_msg): Adjust type.
17627 * assert/assert.c (__assert_fail_base): New function. Majority
17628 of code from __assert_fail. Allocate memory for __abort_msg with
17629 mmap.
17630 (__assert_fail): Now call __assert_fail_base.
17631 * assert/assert-perr.c: Remove bulk of implementation. Use
17632 __assert_fail_base.
17633 * include/assert.hL Declare __assert_fail_base.
17634 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17635 mmap.
17636 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17637
1af4e298
UD
176382011-05-14 Ulrich Drepper <drepper@gmail.com>
17639
f8a3b5bf 17640 [BZ #11952]
d26dfc60
MG
17641 [BZ #12453]
17642 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17643 until all modules are registered in the DTV.
17644 * elf/Makefile: Add rules to build and run tst-tls19.
17645 * elf/tst-tls19.c: New file.
17646 * elf/tst-tls19mod1.c: New file.
17647 * elf/tst-tls19mod2.c: New file.
17648 * elf/tst-tls19mod3.c: New file.
17649 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17650
2fc54d6f
UD
17651 [BZ #12083]
17652 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17653 correctly.
17654
98d76b46
UD
17655 [BZ #12601]
17656 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17657 two-byte sequence errors.
17658 * iconvdata/Makefile (tests): Add bug-iconv8.
17659 * iconvdata/bug-iconv8.c: New file.
17660
da3c19ef
UD
17661 [BZ #12626]
17662 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17663 buf2 definition.
17664
ca408c15
UD
17665 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17666
d6f67f7d
UD
17667 [BZ #12432]
17668 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17669 (dummy_getcfa): New function.
17670 (init): Get _Unwind_GetCFA address, use dummy if not found.
17671 (backtrace_helper): In recursion check, also check whether CFA changes.
17672 (__backtrace): Completely initialize arg.
17673
1af4e298 17674 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17675 storing incomplete byte sequence in state object. Avoid testing for
17676 guaranteed too small input if we know there is enough data available.
1af4e298 17677
da62f81b
AS
176782011-05-11 Andreas Schwab <schwab@redhat.com>
17679
17680 * Makeconfig (+link-pie): Indent.
17681 * Rules (binaries-pie): Define if $(have-fpie) and
17682 $(build-shared).
17683 (binaries-shared): Also filter out $(binaries-pie).
17684 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17685 * nscd/Makefile (others-pie): Add nscd.
17686 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17687 ($(objpfx)nscd): Remove command override.
17688 * login/Makefile (others-pie): Add pt_chown.
17689 ($(objpfx)pt_chown): Remove command override.
17690 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17691 remove command overrides.
17692
fcabc0f8
UD
176932011-05-13 Ulrich Drepper <drepper@gmail.com>
17694
20030ae6
UD
17695 * libio/tst_putwc.c: Fix error messages.
17696
fcabc0f8
UD
17697 [BZ #12724]
17698 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17699 currently writing and seek to current position when not.
17700 * libio/Makefile (tests): Add bug-fclose1.
17701 * libio/bug-fclose1.c: New file.
17702
320a5dc0
PB
177032011-05-12 Ulrich Drepper <drepper@gmail.com>
17704
17705 [BZ #12511]
17706 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17707 don't set DF_1_NODELETE here.
17708 (do_lookup_x): When entering new entry test for copy relocation
17709 and if necessary set DF_1_NODELETE flag.
17710 * elf/tst-unique4.cc: New file.
17711 * elf/tst-unique4.h: New file.
17712 * elf/tst-unique4lib.cc: New file.
17713 * elf/Makefile: Add rules to build and run tst-unique4.
17714 Patch by Piotr Bury <pbury@goahead.com>.
17715
22836f52
UD
177162011-05-11 Ulrich Drepper <drepper@gmail.com>
17717
f574184a
UD
17718 [BZ #12052]
17719 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17720
e1fb097f
UD
17721 [BZ #12625]
17722 * misc/mntent_r.c (addmntent): Flush the stream after the output
17723
22836f52
UD
17724 [BZ #12393]
17725 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17726 (is_trusted_path_normalize): Skip initial colon. Append slash
17727 to empty buffer. Duplicate is_trusted_path code but allow
17728 constructed patch to be prefix.
17729 (is_dst): Allow $ORIGIN followed by /.
17730 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17731 Correct testing of result of is_trusted_path_normalize
17732 (decompose_rpath): Fix warning.
17733
7b3b0b2a
UD
177342011-05-10 Ulrich Drepper <drepper@gmail.com>
17735
17736 [BZ #11257]
17737 * grp/initgroups.c (internal_getgrouplist): When we found the service
17738 list through the initgroups entry in nsswitch.conf do not always
17739 continue on a successful lookup. Don't always use the
eac80ce2 17740 __nss_group_database value if it is set.
7b3b0b2a
UD
17741 * nss/nsswitch.conf (initgroups): Change action for successful db
17742 lookup to continue for compatibility.
17743
2a81eaa5
UD
177442011-05-09 Ulrich Drepper <drepper@gmail.com>
17745
be97a69e
UD
17746 [BZ #11532]
17747 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17748 and CP774 modules.
17749 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17750 and CP774 modules.
17751 * iconvdata/tst-tables.sh: Likewise.
17752 * iconvdata/cp770.c: New file.
17753 * iconvdata/cp771.c: New file.
17754 * iconvdata/cp772.c: New file.
17755 * iconvdata/cp773.c: New file.
17756 * iconvdata/cp774.c: New file.
17757 * iconvdata/testdata/CP770: New file.
17758 * iconvdata/testdata/CP770..UTF8: New file.
17759 * iconvdata/testdata/CP771: New file.
17760 * iconvdata/testdata/CP771..UTF8: New file.
17761 * iconvdata/testdata/CP772: New file.
17762 * iconvdata/testdata/CP772..UTF8: New file.
17763 * iconvdata/testdata/CP773: New file.
17764 * iconvdata/testdata/CP773..UTF8: New file.
17765 * iconvdata/testdata/CP774: New file.
17766 * iconvdata/testdata/CP774..UTF8: New file.
17767
17768 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17769 END CHARMAP line.
17770 * iconvdata/gen-8bit-gap.sh: Likewise.
17771 * iconvdata/gen-8bit.sh: Likewise.
17772
c1e9e399
UD
17773 * locale/iso-639.def: Add ary entry.
17774
24c55fb3 17775 [BZ #11258]
96b4b1b0
UD
17776 * locale/C-translit.h.in: Add U20A1 transliteration.
17777
bdc2f971
KB
17778 [BZ #12178]
17779 * locale/iso-639.def: Add wae entry.
17780 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17781
2952b117
UD
17782 [BZ #12545]
17783 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17784 for n.
17785
2a81eaa5
UD
17786 [BZ #12711]
17787 * locale/C-translit.h.in: Add entry for U20B9.
17788 Patch by pravin.d.s@gmail.com.
17789
28377d1b
UD
177902011-05-08 Ulrich Drepper <drepper@gmail.com>
17791
7fb90fb8
UD
17792 [BZ #12713]
17793 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17794 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17795 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17796 in rtld. Use *stat64.
7fb90fb8 17797 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17798 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17799 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17800 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17801 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17802 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17803 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17804 __fstatat64 macros.
7fb90fb8
UD
17805 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17806 * dirent/rewinddir.c: Add libc_hidden_def.
17807 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17808 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17809
28377d1b
UD
17810 * include/dirent.h (__alloc_dir): Add flags parameter.
17811 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17812 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17813 __alloc_dir.
17814 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17815 from fdopendir if O_CLOEXEC is already set.
17816
66bdbaa4
AM
178172011-03-15 Alan Modra <amodra@gmail.com>
17818
17819 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17820 l_tls_firstbyte_offset non-zero. Save padding offset in
17821 l_tls_firstbyte_offset for later use.
17822 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17823 freeing static tls block.
17824
95721191
JN
178252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17826
17827 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17828 where #ifdef was intended. The intent is to prevent ARG_MAX from
17829 being defined by the kernel headers.
17830
f87dfb1f
UD
178312011-05-07 Ulrich Drepper <drepper@gmail.com>
17832
17833 [BZ #12734]
17834 * resolv/resolv.h: Define RES_NOTLDQUERY.
17835 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17836 no-tld-query and set RES_NOTLDQUERY.
17837 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17838 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17839 modern BIND to search name as TLD unless forbidden.
17840
47c3cd7a
UD
178412011-05-07 Petr Baudis <pasky@suse.cz>
17842 Ulrich Drepper <drepper@gmail.com>
17843
17844 [BZ #12393]
17845 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17846 (is_trusted_path): ...to here.
c1e9ea35 17847 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17848 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17849 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17850
8a35c912
PP
178512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17852
17853 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17854 __BEGIN/__END_DECLS.
17855
acd41f47
UD
178562011-05-06 Ulrich Drepper <drepper@gmail.com>
17857
17858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17859 NSS_STATUS_NOTFOUND if no record was found.
17860
597df647
AS
178612011-05-05 Andreas Schwab <schwab@redhat.com>
17862
17863 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17864 (headers-not-in-tirpc): Remove rpc/netdb.h
17865 * resolv/netdb.h: Revert last change.
17866
b9af1301
PP
178672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17868
17869 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17870 circular dependency between libgcc.a and libc.a.
17871
4e34d5f5
AS
178722011-05-05 Andreas Schwab <schwab@redhat.com>
17873
17874 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17875 * nis/Makefile: Don't install rpcsvc/*.
17876 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17877 instead of <rpc/types.h>.
17878 (MAXHOSTNAMELEN): Define.
17879
00ee369c
AS
178802011-05-03 Andreas Schwab <schwab@redhat.com>
17881
17882 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17883
0b592a30
MB
178842011-04-28 Maciej Babinski <mbabinski@google.com>
17885
17886 [BZ #12714]
17887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17888 gethostbyname4_r when IPv6 results are possible.
17889
6e04cbbe
UD
178902011-05-02 Ulrich Drepper <drepper@gmail.com>
17891
17892 [BZ #12723]
17893 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17894 _PC_PIPE_BUF handling.
17895
e4ecafe0
BH
178962011-04-30 Bruno Haible <bruno@clisp.org>
17897
17898 [BZ #12717]
17899 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17900 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17901 to 'int'.
17902 * inet/getnameinfo.c (getnameinfo): Likewise.
17903
125ee683
UD
179042011-04-29 Ulrich Drepper <drepper@gmail.com>
17905
17906 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17907 to groups setting in database lookup.
17908 * nss/nsswitch.conf: Add initgroups entry.
17909
b722481a
EB
179102011-04-22 Ulrich Drepper <drepper@gmail.com>
17911
17912 [BZ #12685]
17913 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17914 mode string.
17915 Patch by Eric Blake <eblake@redhat.com>.
17916
4df46dbd
L
179172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17918
17919 * sunrpc/Makefile (need-export-routines): Add svc_run.
17920 (routines): Remove svc_run.
17921 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17922 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17923 * sunrpc/svc_run.c (svc_run): Likewise.
17924 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17925
e84142d2
UD
179262011-04-21 Ulrich Drepper <drepper@gmail.com>
17927
17928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17929 problem in reallocation in last patch.
17930
877175d8
UD
179312011-04-20 Ulrich Drepper <drepper@gmail.com>
17932
17933 * sunrpc/Makefile: Move inclusion of Rules.
17934
ab8eed78
UD
179352011-04-19 Ulrich Drepper <drepper@gmail.com>
17936
17937 * nss/nss_files/files-initgroups.c: New file.
17938 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17939 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17940 _nss_files_initgroups_dyn.
17941
e3d8f584
RS
179422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17943
17944 * elf/elf.h (R_ARM_IRELATIVE): Define.
17945
af190f45
UD
179462011-04-19 Ulrich Drepper <drepper@gmail.com>
17947
17948 * po/ru.po: Update from translation team.
17949
53cf59ef
UD
179502011-04-17 Ulrich Drepper <drepper@gmail.com>
17951
17952 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17953 dependencies.
17954
4c559bcd
MF
179552011-02-06 Mike Frysinger <vapier@gentoo.org>
17956
17957 [BZ #12653]
17958 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17959 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17963
4420675c
AS
179642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17965
17966 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17967 differing bytes.
17968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17971
75ea32ab
UD
179722011-04-17 Ulrich Drepper <drepper@gmail.com>
17973
17974 [BZ #12420]
17975 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17976 storing it.
17977 * stdlib/bug-getcontext.c: New file.
17978 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17979
27390476
AK
179802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17981
17982 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17983 instructions into .machine "z9-109".
17984 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17985 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17986
10442705
AK
179872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17988
17989 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17990 between environment variables and auxiliary vector.
17991
7b57bfe5
UD
179922011-04-16 Ulrich Drepper <drepper@gmail.com>
17993
17994 * Makefile: Add rules to build linkobj/libc.so.
17995 * include/libc-symbols.h: Define libc_hidden_nolink.
17996 * include/rpc/auth.h: Mark functions which are to be hidden.
17997 * include/rpc/auth_des.h: Likewise.
17998 * include/rpc/auth_unix.h: Likewise.
17999 * include/rpc/clnt.h: Likewise.
18000 * include/rpc/des_crypt.h: Likewise.
18001 * include/rpc/key_prot.h: Likewise.
18002 * include/rpc/pmap_clnt.h: Likewise.
18003 * include/rpc/pmap_prot.h: Likewise.
18004 * include/rpc/pmap_rmt.h: Likewise.
18005 * include/rpc/rpc_msg.h: Likewise.
18006 * include/rpc/svc.h: Likewise.
18007 * include/rpc/svc_auth.h: Likewise.
18008 * include/rpc/xdr.h: Likewise.
18009 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18010 * nss/Makefile: Likewise.
18011 * sunrpc/Makefile: Don't install headers. Build library with normal
18012 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18013 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18014 for the compat linking library. Remove use of INTDEF/INTUSE.
18015 * sunrpc/auth_none.c: Likewise.
18016 * sunrpc/auth_unix.c: Likewise.
18017 * sunrpc/authdes_prot.c: Likewise.
18018 * sunrpc/authuxprot.c: Likewise.
18019 * sunrpc/clnt_gen.c: Likewise.
18020 * sunrpc/clnt_perr.c: Likewise.
18021 * sunrpc/clnt_raw.c: Likewise.
18022 * sunrpc/clnt_simp.c: Likewise.
18023 * sunrpc/clnt_tcp.c: Likewise.
18024 * sunrpc/clnt_udp.c: Likewise.
18025 * sunrpc/clnt_unix.c: Likewise.
18026 * sunrpc/des_crypt.c: Likewise.
18027 * sunrpc/des_soft.c: Likewise.
18028 * sunrpc/get_myaddr.c: Likewise.
18029 * sunrpc/key_call.c: Likewise.
18030 * sunrpc/key_prot.c: Likewise.
18031 * sunrpc/netname.c: Likewise.
18032 * sunrpc/pm_getmaps.c: Likewise.
18033 * sunrpc/pm_getport.c: Likewise.
18034 * sunrpc/pmap_clnt.c: Likewise.
18035 * sunrpc/pmap_prot.c: Likewise.
18036 * sunrpc/pmap_prot2.c: Likewise.
18037 * sunrpc/pmap_rmt.c: Likewise.
18038 * sunrpc/publickey.c: Likewise.
18039 * sunrpc/rpc_cmsg.c: Likewise.
18040 * sunrpc/rpc_common.c: Likewise.
18041 * sunrpc/rpc_dtable.c: Likewise.
18042 * sunrpc/rpc_prot.c: Likewise.
18043 * sunrpc/rpc_thread.c: Likewise.
18044 * sunrpc/rtime.c: Likewise.
18045 * sunrpc/svc.c: Likewise.
18046 * sunrpc/svc_auth.c: Likewise.
18047 * sunrpc/svc_authux.c: Likewise.
18048 * sunrpc/svc_raw.c: Likewise.
18049 * sunrpc/svc_run.c: Likewise.
18050 * sunrpc/svc_simple.c: Likewise.
18051 * sunrpc/svc_tcp.c: Likewise.
18052 * sunrpc/svc_udp.c: Likewise.
18053 * sunrpc/svc_unix.c: Likewise.
18054 * sunrpc/svcauth_des.c: Likewise.
18055 * sunrpc/xcrypt.c: Likewise.
18056 * sunrpc/xdr.c: Likewise.
18057 * sunrpc/xdr_array.c: Likewise.
18058 * sunrpc/xdr_float.c: Likewise.
18059 * sunrpc/xdr_intXX_t.c: Likewise.
18060 * sunrpc/xdr_mem.c: Likewise.
18061 * sunrpc/xdr_rec.c: Likewise.
18062 * sunrpc/xdr_ref.c: Likewise.
18063 * sunrpc/xdr_sizeof.c: Likewise.
18064 * sunrpc/xdr_stdio.c: Likewise.
18065
e6c61494
UD
180662011-04-10 Ulrich Drepper <drepper@gmail.com>
18067
18068 [BZ #12650]
18069 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18070 * sysdeps/ia64/dl-tls.h: Likewise.
18071 * sysdeps/powerpc/dl-tls.h: Likewise.
18072 * sysdeps/s390/dl-tls.h: Likewise.
18073 * sysdeps/sh/dl-tls.h: Likewise.
18074 * sysdeps/sparc/dl-tls.h: Likewise.
18075 * sysdeps/x86_64/dl-tls.h: Likewise.
18076 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18077
34fe483e
AS
180782011-03-14 Andreas Schwab <schwab@redhat.com>
18079
18080 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18081 rpath element also skip the following colon.
18082 (expand_dynamic_string_token): Add is_path parameter and pass
18083 down to DL_DST_REQUIRED and _dl_dst_substitute.
18084 (decompose_rpath): Call expand_dynamic_string_token with
18085 non-zero is_path. Ignore empty rpaths.
18086 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18087 with zero is_path.
18088
f12a32e6
AS
180892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18090
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18092 Make cancelable.
18093
38a7d692
UD
180942011-04-09 Ulrich Drepper <drepper@gmail.com>
18095
18096 [BZ #12655]
18097 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18098 Patch by Filipe David Manana <fdmanana@apache.org>.
18099
e451d22b
AS
181002011-04-07 Andreas Schwab <schwab@redhat.com>
18101
18102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18103 Maintain aligned stack.
18104 (CHECK_RSP): Remove unused macro.
18105
dedc7c7b
UD
181062011-04-03 Ulrich Drepper <drepper@gmail.com>
18107
18108 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18109 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18110
94521213
UD
181112011-04-02 Ulrich Drepper <drepper@gmail.com>
18112
18113 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18114
8cb700c0 18115 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18116
0354e355
L
181172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18118
18119 [BZ #12518]
18120 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18121 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18122 * sysdeps/x86_64/memmove.c: New file.
18123 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18124 (memcpy): Renamed to ...
18125 (__new_memcpy): This.
18126 (memcpy): Provide GLIBC_2_14 memcpy.
18127 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18128 (memcpy): Provide GLIBC_2_2_5 memcpy.
18129
8593482f
UD
181302011-04-01 Ulrich Drepper <drepper@gmail.com>
18131
18132 [BZ #12631]
18133 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18134
81a5726b
AS
181352011-03-30 Andreas Schwab <schwab@redhat.com>
18136
18137 * misc/syncfs.c: New file.
18138 * misc/Makefile (routines): Add syncfs.
18139 * posix/unistd.h: Declare syncfs.
18140 * sysdeps/unix/syscalls.list: Add syncfs.
18141
00e5419f
AS
181422011-04-01 Andreas Schwab <schwab@redhat.com>
18143
18144 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18145 open_by_handle_at.
18146 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18151 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18153
748876bf
UD
181542011-04-01 Ulrich Drepper <drepper@gmail.com>
18155
658e451d
UD
18156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18163
748876bf
UD
18164 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18165 sync_file_range.c with -fexceptions.
18166 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18167 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18168 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18169 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18170 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18171 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18173 sync_file_range as cancellation point
18174 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18175 now a wrapper around __call_sync_file_range with cancellation handling.
18176 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18177 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18178 function name to __call_sync_file_range.
18179 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18180 Add call_sync_file_range.
748876bf 18181
6e63d5e1
AS
181822011-04-01 Andreas Schwab <schwab@redhat.com>
18183
18184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18185 bits/timex.h.
6e63d5e1 18186
46998f74
UD
181872011-04-01 Ulrich Drepper <drepper@gmail.com>
18188
4c1423ed
UD
18189 * iconv/iconv.h: Fix typo in comment.
18190 * io/fcntl.h: Likewise.
18191 * libio/stdio.h: Likewise.
18192 * posix/spawn.h: Likewise.
18193 * posix/unistd.h: Likewise.
18194 * stdlib/stdlib.h: Likewise.
18195 * time/time.h: Likewise.
18196 * wcsmbs/wchar.h: Likewise.
18197
158648c0
UD
18198 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18199 open_by_handle): Add.
18200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18201 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18202 Augment a few comments.
18203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18208 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18209 open_by_handle.
18210
46998f74
UD
18211 * io/fcntl.h (AT_EMPTY_PATH): Define.
18212
83fe108b
UD
182132011-03-30 Ulrich Drepper <drepper@gmail.com>
18214
18215 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18216 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18217 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18218 to...
18219 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18220 * Versions.def: Add GLIBC_2.14.
18221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18222 Export.
83fe108b 18223
bb242059
UD
182242011-03-22 Ulrich Drepper <drepper@gmail.com>
18225
18226 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18227 round counter.
18228 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18229
c97a1282
L
182302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18231
18232 [BZ #12597]
18233 * string/test-strncmp.c (do_page_test): New function.
18234 (check2): Likewise.
18235 (test_main): Call check2.
18236 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18237
2a115601
UD
182382011-03-20 Ulrich Drepper <drepper@gmail.com>
18239
18240 [BZ #12587]
18241 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18242 Handle cache information in CPU leaf 4.
18243 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18244
8126d904
UD
182452011-03-18 Ulrich Drepper <drepper@gmail.com>
18246
042c49c6 18247 [BZ #12583]
8126d904
UD
18248 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18249 character representation.
18250 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18251
ccfe366e
RA
182522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18253
18254 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18255 END(__isnan) to END(__isnanf) to match function entry point/label
18256 EALIGN(__isnanf,...).
18257
c6e13027
JJ
182582011-03-10 Jakub Jelinek <jakub@redhat.com>
18259
18260 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18261
33f85a3f
UD
182622011-03-10 Ulrich Drepper <drepper@gmail.com>
18263
028478fa
UD
18264 [BZ #12510]
18265 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18266 copy from the symbol referenced in the relocation to initialize the
18267 used variable.
18268 Patch by Piotr Bury <pbury@goahead.com>.
18269 * elf/Makefile: Add rules to build and tst-unique3.
18270 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18271 * elf/tst-unique3.cc: New file.
18272 * elf/tst-unique3.h: New file.
18273 * elf/tst-unique3lib.cc: New file.
18274 * elf/tst-unique3lib2.cc: New file.
18275
33f85a3f
UD
18276 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18277
03592fc7
MF
182782011-03-10 Mike Frysinger <vapier@gentoo.org>
18279
18280 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18281 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18282 to _start.
03592fc7 18283
6a5ee102
UD
182842011-03-06 Ulrich Drepper <drepper@gmail.com>
18285
18286 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18287 to-be-loaded object along a path to loader is ld.so.
18288
7e4ba49c
HJ
182892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18290 Ulrich Drepper <drepper@gmail.com>
18291
18292 * sysdeps/x86_64/memset.S: After aligning destination, code
18293 branches to different locations depending on the value of
18294 misalignment, when multiarch is enabled. Fix this.
18295
182962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18297
18298 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18299 Set _x86_64_preferred_memory_instruction for AMD processsors.
18300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18301 Set bit_Prefer_SSE_for_memop for AMD processors.
18302
13a804de
UD
183032011-03-04 Ulrich Drepper <drepper@gmail.com>
18304
18305 * libio/fmemopen.c (fmemopen): Optimize a bit.
18306
9d25c392
AS
183072011-03-03 Andreas Schwab <schwab@redhat.com>
18308
18309 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18310
a5543c6a
RM
183112011-03-03 Roland McGrath <roland@redhat.com>
18312
18313 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18314
012d35f7
DM
183152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18316
7e4ba49c 18317 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18318 __bzero_ultra1 instead of __memset_ultra1.
18319
4bff6e01
AS
183202011-02-23 Andreas Schwab <schwab@redhat.com>
18321 Ulrich Drepper <drepper@gmail.com>
18322
18323 [BZ #12509]
18324 * include/link.h (struct link_map): Add l_orig_initfini.
18325 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18326 returning unsuccessfully.
18327 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18328 close of a file loaded at startup, restore the original l_initfini
18329 list.
18330 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18331 list, store the pointer.
18332 * elf/Makefile ($(objpfx)noload-mem): New rule.
18333 (noload-ENV): Define.
18334 (tests): Add $(objpfx)noload-mem.
18335 * elf/noload.c: Include <memcheck.h>.
18336 (main): Call mtrace. Close all opened handles.
18337
f2092faf
AS
183382011-02-17 Andreas Schwab <schwab@redhat.com>
18339
18340 [BZ #12454]
18341 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18342 dependencies are missing.
18343
6c8a2e88
ST
183442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18345
f2092faf 18346 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18347 Hurd needs munmap.
18348 * sysdeps/mach/hurd/ifreq.h: New file.
18349
84a42118
PB
183502011-01-27 Petr Baudis <pasky@suse.cz>
18351 Ulrich Drepper <drepper@gmail.com>
18352
071f805e 18353 [BZ 12445]#
84a42118
PB
18354 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18355 to extend_alloca().
18356 * stdio-common/bug23.c: New file.
18357 * stdio-common/Makefile (tests): Add bug23.
18358
e23fe25b
AS
183592010-09-28 Andreas Schwab <schwab@redhat.com>
18360 Ulrich Drepper <drepper@gmail.com>
18361
18362 [BZ #12489]
18363 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18364 before performing relro protection. At old place add assertion
18365 to make sure nothing changed.
18366
d3f02e10
NS
183672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18368 Glauber de Oliveira Costa <glommer@gmail.com>
18369
18370 * elf/elf.h: Add new ARM TLS relocs.
18371
d55fd7a5
RA
183722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18373
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18375 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18376 cast from r3.
18377 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18378 'tests' variable.
18379 * sysdeps/wordsize-64/tst-writev.c: New file.
18380
2206397e
RA
183812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18382
18383 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18384 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18385 insns in _dl_start to prevent a TOC reference before relocs are
18386 resolved.
18387
e9433893
UD
183882011-02-15 Ulrich Drepper <drepper@gmail.com>
18389
18390 [BZ #12469]
18391 * Makeconfig: Remove RANLIB definition.
18392 * Makerules: Don't use RANLIB.
18393 * aclocal.m4: Remove ranlib test.
18394 * configure.in: No need to check for ranlib.
18395 * elf/rtld-Rules: Don't use RANLIB.
18396
f75286c6
ST
183972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18398
8e31c82d
ST
18399 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18400 protection macro.
18401 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18402 inclusion protection macro.
18403
f75286c6
ST
18404 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18405 SIGRTMIN and SIGRTMAX and print information in that case only when
18406 SIGRTMIN is defined.
18407
c1d0e639
JJ
184082011-02-11 Jakub Jelinek <jakub@redhat.com>
18409
18410 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18411 arginfo fn returning -1.
18412
18413 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18414 and thousands string is zero terminated.
18415
edf9294e
AS
184162011-02-03 Andreas Schwab <schwab@redhat.com>
18417
18418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18419 sysdeps/unix/sysv/linux/bits/socket.h.
18420
2b7e92df
ST
184212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18422
edf9294e
AS
18423 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18424 (__CPU_COUNT): Remove old macros.
18425 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18426 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18427 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18428 (__sched_cpualloc, __sched_cpufree): Add declarations.
18429
a4c7ea7b
UD
184302011-02-05 Ulrich Drepper <drepper@gmail.com>
18431
18432 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18433 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18434 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18435 (readdhstai): Return value of addhstaiX call.
18436 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18437 (addgrbyX): Return value returned by cache_addgr.
18438 (readdgrbyname): Return value returned by addgrbyX.
18439 (readdgrbygid): Likewise.
18440 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18441 (addpwbyX): Return value returned by cache_addpw.
18442 (readdpwbyname): Return value returned by addhstbyX.
18443 (readdpwbyuid): Likewise.
18444 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18445 (addservbyX): Return value returned by cache_addserv.
18446 (readdservbyname): Return value returned by addservbyX:
18447 (readdservbyport): Likewise.
18448 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18449 (addhstbyX): Return value returned by cache_addhst.
18450 (readdhstbyname): Return value returned by addhstbyX.
18451 (readdhstbyaddr): Likewise.
18452 (readdhstbynamev6): Likewise.
18453 (readdhstbyaddrv6): Likewise.
18454 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18455 (readdinitgroups): Return value returned by addinitgroupsX.
18456 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18457 (prune_cache): Keep track of timeout value of re-added entries.
18458 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18459 * nscd/nscd.h: Adjust prototypes of readd* functions.
18460
a0bf67cc
RM
184612011-02-04 Roland McGrath <roland@redhat.com>
18462
18463 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18464 (nis_stats): Likewise.
18465 * nis/nis_modify.c (nis_modify): Likewise.
18466 * nis/nis_remove.c (nis_remove): Likewise.
18467 * nis/nis_add.c (nis_add): Likewise.
18468
18469 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18470
18471 * posix/fnmatch_loop.c: Add some consts.
18472
18473 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18474
435b95eb
L
184752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 [BZ #12460]
18478 * config.make.in (config-cflags-novzeroupper): Define.
18479 * configure.in: Substitute libc_cv_cc_novzeroupper.
18480 * elf/Makefile (AVX-CFLAGS): Define.
18481 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18482 (CFLAGS-tst-auditmod4a.c): Likewise.
18483 (CFLAGS-tst-auditmod4b.c): Likewise.
18484 (CFLAGS-tst-auditmod6b.c): Likewise.
18485 (CFLAGS-tst-auditmod6c.c): Likewise.
18486 (CFLAGS-tst-auditmod7b.c): Likewise.
18487 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18488
8517b15e
UD
184892011-02-02 Ulrich Drepper <drepper@gmail.com>
18490
18491 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18492 function to the callback.
18493 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18494
10a656fe
AS
184952011-02-02 Andreas Schwab <schwab@redhat.com>
18496
18497 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18498 of errno.
18499
968dad0a
UD
185002011-01-19 Ulrich Drepper <drepper@gmail.com>
18501
9f94d2ea 18502 [BZ #11724]
968dad0a
UD
18503 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18504 of constructors.
18505 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18506 of destructors.
18507 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18508
18509 [BZ #11724]
18510 * elf/Makefile: Add rules to build and run new test.
18511 * elf/tst-initorder.c: New file.
18512 * elf/tst-initorder.exp: New file.
18513 * elf/tst-initordera1.c: New file.
18514 * elf/tst-initordera2.c: New file.
18515 * elf/tst-initordera3.c: New file.
18516 * elf/tst-initordera4.c: New file.
18517 * elf/tst-initorderb1.c: New file.
18518 * elf/tst-initorderb2.c: New file.
18519 * elf/tst-order-a1.c: New file.
18520 * elf/tst-order-a2.c: New file.
18521 * elf/tst-order-a3.c: New file.
18522 * elf/tst-order-a4.c: New file.
18523 * elf/tst-order-b1.c: New file.
18524 * elf/tst-order-b2.c: New file.
18525 * elf/tst-order-main.c: New file.
18526 New test case by George Gensure <werkt0@gmail.com>.
18527
86e92359
UD
185282010-10-01 Andreas Schwab <schwab@redhat.com>
18529
18530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18531 decoding ACE if AI_CANONIDN.
18532
5d5732b0
UD
185332011-01-18 Ulrich Drepper <drepper@gmail.com>
18534
18535 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18536
a77e8cbc
UD
185372011-01-17 Ulrich Drepper <drepper@gmail.com>
18538
6392473f
UD
18539 * version.h (RELEASE): Bump for 2.13 release.
18540 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18541
620a0529
UD
18542 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18543
18ba70a5
UD
18544 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18545 MADV_NOHUGEPAGE.
32465c3e
UD
18546 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18552
c0dafcf1
UD
18553 * posix/getconf.c: Update copyright year.
18554 * catgets/gencat.c: Likewise.
18555 * csu/version.c: Likewise.
18556 * debug/catchsegv.sh: Likewise.
18557 * debug/xtrace.sh: Likewise.
18558 * elf/ldconfig.c: Likewise.
18559 * elf/ldd.bash.in: Likewise.
18560 * elf/sprof.c (print_version): Likewise.
18561 * iconv/iconv_prog.c: Likewise.
18562 * iconv/iconvconfig.c: Likewise.
18563 * locale/programs/locale.c: Likewise.
18564 * locale/programs/localedef.c: Likewise.
18565 * malloc/memusage.sh: Likewise.
18566 * malloc/mtrace.pl: Likewise.
18567 * nscd/nscd.c (print_version): Likewise.
18568 * nss/getent.c: Likewise.
18569
a77e8cbc
UD
18570 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18571 PF_CAIF, and PF_ALG.
18572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18573
77e8bddf
AS
185742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18575
1f20b93a
AS
18576 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18577 (modules-names): Use them.
18578 (ifunc-test-modules, ifunc-pie-tests): Define.
18579 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18580 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18581 (test-extras): Likewise.
18582 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18583 $(compile-command.c).
18584 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18585 (all-built-dso): Define.
18586 (check-textrel.out, check-execstack.out): Depend on it.
18587
77e8bddf
AS
18588 * configure.in: Don't override --enable-multi-arch.
18589
bc425b33
UD
185902011-01-15 Ulrich Drepper <drepper@gmail.com>
18591
18592 [BZ #6812]
18593 * nscd/hstcache.c (tryagain): Define.
18594 (cache_addhst): Return tryagain not notfound for temporary errors.
18595 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18596 failed.
18597
794c3ad3
UD
185982011-01-14 Ulrich Drepper <drepper@gmail.com>
18599
70181fdd
UD
18600 [BZ #10563]
18601 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18602 to make the syscall.
18603 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18604
794c3ad3
UD
18605 [BZ #12378]
18606 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18607 and fall back to matching as normal character if the string ends before
18608 the matching ']' is found. This is what POSIX requires.
18609 * posix/testfnm.c: Adjust test result.
18610 * posix/globtest.sh: Adjust test result. Add new test.
18611 * posix/tst-fnmatch.input: Likewise.
18612 * posix/tst-fnmatch2.c: Add new test.
18613
68dc9497
AS
186142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18615
18616 * elf/Makefile (check-execstack): Revert last change. Depend on
18617 check-execstack.h.
18618 (check-execstack.h): New target.
18619 (generated): Add check-execstack.h.
18620 * elf/check-execstack.c: Include "check-execstack.h".
18621 (main): Revert last change.
18622 (handle_file): Return zero if GNU_STACK is absent and
18623 DEFAULT_STACK_PERMS doesn't include PF_X.
18624
451f001b
UD
186252011-01-13 Ulrich Drepper <drepper@gmail.com>
18626
cfa28e56
UD
18627 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18628 in child fails because the descriptor is already closed.
8cf8ce17
UD
18629 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18630 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18631 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18632
1086d70d
UD
18633 [BZ #12397]
18634 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18635 syscall.
18636
451f001b
UD
18637 [BZ #10484]
18638 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18639 temporary buffer used to handle multi lookups locally.
a85b5cb4 18640 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18641
08769175
UD
186422011-01-12 Ulrich Drepper <drepper@gmail.com>
18643
18644 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18645 loader is ld.so.
18646
5e49c52e
UD
186472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18648
18649 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18650 alignment for SSE2.
18651
60522a5f
UD
186522011-01-12 Ulrich Drepper <drepper@gmail.com>
18653
18654 [BZ #12394]
18655 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18656 characters. When rounding increased number of integer digits recompute
18657 number of groups.
18658 * stdio-common/tst-grouping.c: New file.
18659 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18660
f257bbd7
UD
186612011-01-09 Ulrich Drepper <drepper@gmail.com>
18662
18663 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18664 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18665
18666 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18667 void.
18668 * bits/select.h: Likewise.
18669
fa9c15cb
UD
186702011-01-08 Ulrich Drepper <drepper@gmail.com>
18671
18672 * po/ja.po: Update from translation team.
18673
16c2895f
DM
186742011-01-04 David S. Miller <davem@sunset.davemloft.net>
18675
18676 [BZ #11155]
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18678 implementation just like for lxstat, fxstatat, et al.
18679
2543fef2
JM
186802010-12-27 Jim Meyering <meyering@redhat.com>
18681
18682 [BZ #12348]
18683 * posix/regexec.c (build_trtable): Return failure indication upon
18684 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18685
98727dbe
UD
186862010-12-25 Ulrich Drepper <drepper@gmail.com>
18687
5bd6dc5c
UD
18688 [BZ #12201]
18689 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18690 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18691 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18693
97983464
UD
18694 [BZ #12207]
18695 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18696
98727dbe
UD
18697 [BZ #12204]
18698 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18699 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18700
4a531bb0
L
187012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18702
18703 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18704 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18705 script has SORT_BY_INIT_PRIORITY.
18706 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18707 NO_CTORS_DTORS_SECTIONS is defined.
18708 * elf/soinit.c: Likewise.
18709 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18710 NO_CTORS_DTORS_SECTIONS is defined.
18711 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18712 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18713 * sysdeps/sh/init-first.c: Likewise.
18714 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18715
07eb4b71
UD
187162010-12-24 Ulrich Drepper <drepper@gmail.com>
18717
18718 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18719 always use the slow path.
18720
30950a5f
RA
187212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18722
18723 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18724 similar rule which adds the sysdep directories to the header search in
18725 order to pick up the correct platform stackinfo.h.
18726 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18727 perform test if it is, otherwise return successfully without testing.
18728 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18729 DEFAULT_STACK_PERMS define in stackinfo.h.
18730 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18731 defined in stackinfo.h.
18732 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18733 DEFAULT_STACK_PERMS defined in stackinfo.h.
18734 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18735 * sysdeps/ia64/stackinfo.h: Likewise.
18736 * sysdeps/s390/stackinfo.h: Likewise.
18737 * sysdeps/sh/stackinfo.h: Likewise.
18738 * sysdeps/sparc/stackinfo.h: Likewise.
18739 * sysdeps/x86_64/stackinfo.h: Likewise.
18740 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18741 PF_X for powerpc64. Retain PF_X for powerpc32.
18742
db753e2c
UD
187432010-12-19 Ulrich Drepper <drepper@gmail.com>
18744
14b697f7
UD
18745 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18746 accurately.
db753e2c
UD
18747 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18748 GETDENTS_64BIT_ALIGNED.
18749
28300719
UD
187502010-12-14 Ulrich Drepper <dreper@gmail.com>
18751
14b697f7 18752 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18753
4f197237
AS
187542010-12-10 Andreas Schwab <schwab@redhat.com>
18755
dbb0472f
AS
18756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18757 _GNU_SOURCE.
18758
4f197237
AS
18759 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18760 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18761 Remove __restrict.
18762 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18763 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18764
fb88ac72
UD
187652010-12-09 Ulrich Drepper <drepper@gmail.com>
18766
18767 [BZ #11655]
18768 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18769 are initialized.
18770
42acbb92
JJ
187712010-12-09 Jakub Jelinek <jakub@redhat.com>
18772
18773 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18774
c038d98d
UD
187752010-12-03 Ulrich Drepper <drepper@gmail.com>
18776
18777 * po/it.po: Update from translation team.
18778
3a4a2499
L
187792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18782 unused codes.
18783
1e24cf6e
UD
187842010-11-30 Ulrich Drepper <drepper@gmail.com>
18785
18786 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18787
a7690819
AS
187882010-11-24 Andreas Schwab <schwab@redhat.com>
18789
18790 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18791 specially.
18792 (gaih_getanswer_slice): Likewise.
18793
3bf8d1b1
JJ
187942010-10-20 Jakub Jelinek <jakub@redhat.com>
18795
18796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18797
6db52fbb
PB
187982010-05-31 Petr Baudis <pasky@suse.cz>
18799
18800 [BZ #11149]
18801 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18802 silently even in the chroot mode.
18803
eaca7569
UD
188042010-11-22 Ulrich Drepper <drepper@gmail.com>
18805
18806 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18807 last patch a bit. Pretty printing
18808
3056dcdb
UD
188092010-05-31 Petr Baudis <pasky@suse.cz>
18810
18811 [BZ #10085]
18812 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18813 initialization of skip_initgroups_dyn.
18814
cf7c9078
UD
188152010-11-19 Ulrich Drepper <drepper@gmail.com>
18816
18817 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18819
a1fb5e3e
UD
188202010-11-16 Ulrich Drepper <drepper@gmail.com>
18821
18822 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18823
3540d66b
AS
188242010-11-11 Andreas Schwab <schwab@redhat.com>
18825
18826 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18827 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18828 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18829 ($(objpfx)tst-fnmatch-mem): New rule.
18830 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18831 * posix/tst-fnmatch.c (main): Call mtrace.
18832
13b69574
L
188332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18834
18835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18836 Support Intel processor model 6 and model 0x2c.
18837
da93d214
LM
188382010-11-10 Luis Machado <luisgpm@br.ibm.com>
18839
18840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18841 signed comparison.
18842
8ca52c6e
L
188432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18844
18845 [BZ #12205]
18846 * string/test-strncasecmp.c (check_result): New function.
18847 (do_one_test): Use it.
18848 (check1): New function.
18849 (test_main): Use it.
18850 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18851 Support strcasecmp and strncasecmp.
18852
69da074d
UD
188532010-11-08 Ulrich Drepper <drepper@gmail.com>
18854
18855 [BZ #12194]
18856 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18858
ff02d528
L
188592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18860
18861 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18862 IFUNC support.
18863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18864 memset-x86-64.
18865 * sysdeps/x86_64/multiarch/bzero.S: New file.
18866 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18867 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18868 * sysdeps/x86_64/multiarch/memset.S: New file.
18869 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18871 Set bit_Prefer_SSE_for_memop for Intel processors.
18872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18873 Define.
18874 (index_Prefer_SSE_for_memop): Define.
18875 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18876
344d0b54
LM
188772010-11-04 Luis Machado <luisgpm@br.ibm.com>
18878
18879 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18880 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18881
c0dde15b
UD
188822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18883
18884 [BZ #12191]
18885 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18886 (__x86_64_raw_data_cache_size_half): Likewise.
18887 (__x86_64_raw_shared_cache_size): Likewise.
18888 (__x86_64_raw_shared_cache_size_half): Likewise.
18889
18890 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18891 (__x86_64_raw_data_cache_size_half): Likewise.
18892 (__x86_64_raw_shared_cache_size): Likewise.
18893 (__x86_64_raw_shared_cache_size_half): Likewise.
18894 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18895 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18896 and __x86_64_raw_shared_cache_size_half. Round
18897 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18898 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18899 to multiple of 256 bytes.
18900
0e516e0e
MS
189012010-11-03 Ulrich Drepper <drepper@gmail.com>
18902
18903 [BZ #12167]
18904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18905 of inacessible symlinks. Verify result of symlink before returning it.
18906 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18907 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18908
0e012e87
ER
189092010-10-28 Erich Ritz <erichritz@gmail.com>
18910
18911 * math/math.h (isinf): Fix typo in comment.
18912
de0ff7bc
UD
189132010-11-01 Ulrich Drepper <drepper@gmail.com>
18914
18915 * po/da.po: Update from translation team.
18916
fa41c84d
UD
189172010-10-26 Ulrich Drepper <drepper@gmail.com>
18918
18919 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18920 is added to the list.
18921
f0967738
AK
189222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18923 Ulrich Drepper <drepper@gmail.com>
18924
18925 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18926 the global list here. Move code to...
18927 (_dl_add_to_namespace_list): ...here. New function.
18928 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18929 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18930 * elf/dl-load.c (lose): Don't remove the element from the list.
18931 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18932 (_dl_map_object): Likewise.
18933
189342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18935
18936 [BZ #12159]
18937 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18938 into all bytes of SSE register.
18939 Patch by Richard Li <richardpku@gmail.com>.
18940
f0967738 189412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18942
18943 [BZ #12140]
18944 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18945 perturbing.
18946
d0b9e94f
MB
189472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18948
18949 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18950 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18951 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18952 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18954 submachine.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18956
8e9f92e9
AS
189572010-10-22 Andreas Schwab <schwab@redhat.com>
18958
18959 * include/dlfcn.h (__RTLD_SECURE): Define.
18960 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18961 mode & __RTLD_SECURE instead.
18962 (open_path): Rename preloaded parameter to secure.
18963 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18964 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18965 * elf/dl-deps.c (openaux): Likewise.
18966 * elf/rtld.c (struct map_args): Remove is_preloaded.
18967 (map_doit): Don't use it.
18968 (dl_main): Likewise.
18969 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18970 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18971
bc96fbda
AS
189722010-09-09 Andreas Schwab <schwab@redhat.com>
18973
18974 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18975 (sysd-rules-targets): Remove duplicates.
18976 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18977 rtld-%.$o dependency.
18978
22cd1c9b
AS
189792010-10-18 Andreas Schwab <schwab@redhat.com>
18980
18981 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18982 _dl_map_object do it.
18983
18edac48
UD
189842010-10-19 Ulrich Drepper <drepper@gmail.com>
18985
18986 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18987 fast fma builtins, define the macros in the C99 standard.
18988 (FP_FAST_FMAF): Likewise.
18989 (FP_FAST_FMAL): Likewise.
18990 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18991
18992 * bits/mathdef.h: Update copyright year.
18993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18994
d2050124
MM
189952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18996
18997 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18998 builtins, define the macros in the C99 standard.
18999 (FP_FAST_FMAF): Likewise.
19000 (FP_FAST_FMAL): Likewise.
19001 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19002 multiply/add.
19003 (FP_FAST_FMAF): Likewise.
19004
475facd1
JJ
190052010-10-15 Jakub Jelinek <jakub@redhat.com>
19006
19007 [BZ #3268]
19008 * math/libm-test.inc (fma_test): Some new testcases.
19009 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19011 y and infinite z. Do multiplication by C already in long double.
19012 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19014 y and infinite z. Do bitwise or of inexact bit into u.d.
19015 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19016 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19017 * sysdeps/i386/fpu/s_fma.S: Removed.
19018 * sysdeps/i386/fpu/s_fmal.S: Removed.
19019
7c08a05c
JJ
190202010-10-16 Jakub Jelinek <jakub@redhat.com>
19021
19022 [BZ #3268]
19023 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19025 computation is not scheduled after fetestexcept. Fix value
19026 of minimum denormal long double.
19027
f3f7372d
JJ
190282010-10-14 Jakub Jelinek <jakub@redhat.com>
19029
19030 [BZ #3268]
19031 * math/libm-test.inc (fma_test): Add some more tests.
19032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19033 correctly.
19034
14d43591
AS
190352010-10-15 Andreas Schwab <schwab@redhat.com>
19036
19037 * scripts/data/localplt-s390-linux-gnu.data: New file.
19038 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19039
5e908464
JJ
190402010-10-13 Jakub Jelinek <jakub@redhat.com>
19041
19042 [BZ #3268]
19043 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19044 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19045 instead of dbl-64.
19046 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19047 inlines.
19048 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19050 if one of x and y is very large and the other is subnormal.
19051 * sysdeps/s390/fpu/s_fmaf.c: New file.
19052 * sysdeps/s390/fpu/s_fma.c: New file.
19053 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19054 * sysdeps/powerpc/fpu/s_fma.S: New file.
19055 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19056 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19057 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19058
190592010-10-12 Jakub Jelinek <jakub@redhat.com>
19060
19061 [BZ #3268]
19062 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19063 fma tests.
19064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19065 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19066 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19067 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19068 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19069 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19071
b833d51f
UD
190722010-10-12 Ulrich Drepper <drepper@redhat.com>
19073
19074 [BZ #12078]
19075 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19076 * posix/bug-regex31.input: Add test case.
19077
1751705d
UD
190782010-10-11 Ulrich Drepper <drepper@gmail.com>
19079
e9b9cbf5
UD
19080 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19081 * posix/bug-regex31.input: New file.
19082
19083 [BZ #12078]
19084 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19085 (parse_sub_exp): Fix last change, use postorder.
19086
ef06edbe
UD
19087 * posix/bug-regex31.c: New file.
19088 * posix/Makefile: Add rules to build and run bug-regex31.
19089
a129c80d
UD
19090 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19091
19092 [BZ #12078]
19093 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19094
b76b818e
UD
19095 [BZ #12108]
19096 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19097 to have entries in sys_siglist.
19098
1751705d
UD
19099 [BZ #12093]
19100 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19101 be NULL.
19102
9ff8d36f
JJ
191032010-10-07 Jakub Jelinek <jakub@redhat.com>
19104
19105 [BZ #3268]
19106 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19107 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19108 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19109 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19110 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19111 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19112 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19113 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19114 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19115 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19116 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19117 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19118 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19119 * math/ftestexcept.c (fetestexcept): Likewise.
19120 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19121 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19122 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19123 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19124 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19125 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19126 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19127
af325969
UD
191282010-10-11 Ulrich Drepper <drepper@gmail.com>
19129
c579b202 19130 [BZ #12107]
af325969
UD
19131 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19132 newline.
19133
67a67b95
UD
191342010-10-06 Ulrich Drepper <drepper@gmail.com>
19135
19136 * string/bug-strstr1.c: New file.
19137 * string/Makefile: Add rules to build and run bug-strstr1.
19138
5fb308bc
EB
191392010-10-05 Eric Blake <eblake@redhat.com>
19140
19141 [BZ #12092]
19142 * string/str-two-way.h (two_way_long_needle): Always clear memory
19143 when skipping input due to the shift table.
19144
45db99c7
UD
191452010-10-03 Ulrich Drepper <drepper@gmail.com>
19146
3b111893
UD
19147 [BZ #12005]
19148 * malloc/mcheck.c: Handle large requests.
19149
45db99c7
UD
19150 [BZ #12077]
19151 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19152 for strncmp and strncasecmp.
19153 * string/stratcliff.c: Add tests for strcmp and strncmp.
19154 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19155
cf7a1eb8
NI
191562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19157
19158 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19159 __set_fpscr.
19160
6484ba5e
AJ
191612010-09-30 Andreas Jaeger <aj@suse.de>
19162
19163 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19164 (CGROUP_SUPER_MAGIC): Define.
19165 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19166 Handle btrfs and cgroup file systems.
19167 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19168 Likewise.
19169
91c42559
LM
191702010-09-27 Luis Machado <luisgpm@br.ibm.com>
19171
19172 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19173 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19174
87a97932
AK
191752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19176
19177 [BZ #12067]
19178 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19179 trying to locate the ELF header.
19180
c21cc9bc
AS
191812010-09-27 Andreas Schwab <schwab@redhat.com>
19182
19183 [BZ #11611]
19184 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19185 Mask out sign-bit copies when constructing f_fsid.
19186
315970f6
PB
191872010-09-24 Petr Baudis <pasky@suse.cz>
19188
19189 * debug/stack_chk_fail_local.c: Add missing licence exception.
19190 * debug/warning-nop.c: Likewise.
19191
1ac7a2c7
JM
191922010-09-15 Joseph Myers <joseph@codesourcery.com>
19193
19194 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19195 implementing getdents64 using getdents syscall, set d_type if
19196 __ASSUME_GETDENTS32_D_TYPE.
19197
56801c50
AS
191982010-09-16 Andreas Schwab <schwab@redhat.com>
19199
19200 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19201 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19202
dda51327
UD
192032010-09-21 Ulrich Drepper <drepper@redhat.com>
19204
19205 [BZ #12037]
19206 * posix/unistd.h: Undo change of feature selection for ftruncate from
19207 2010-01-11.
19208
8ffcee4a
UD
192092010-09-20 Ulrich Drepper <drepper@redhat.com>
19210
a545ecd9 19211 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19212 detection.
19213
e24f0a8b
AS
192142010-09-20 Andreas Schwab <schwab@redhat.com>
19215
19216 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19217 fanotify_mark.
19218 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19219
7291c56f
AS
192202010-09-14 Andreas Schwab <schwab@redhat.com>
19221
19222 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19223 variables after CHECK_SP call.
19224 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19225
bc5fb037
AS
192262010-09-13 Andreas Schwab <schwab@redhat.com>
19227 Ulrich Drepper <drepper@redhat.com>
19228
19229 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19230 re-relocationg ld.so.
19231 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19232 _dl_init_paths call.
19233 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19234 here anymore.
19235
e66e7419
UD
192362010-09-14 Ulrich Drepper <drepper@redhat.com>
19237
19238 * resolv/res_init.c (__res_vinit): Count the default server we added.
19239
c044aa75
CLT
192402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19241 Ulrich Drepper <drepper@redhat.com>
19242
19243 [BZ #11968]
19244 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19245 (____longjmp_chk): Use %ebx for saving value across system call.
19246 Add unwind info.
19247
32cf4069
AS
192482010-09-06 Andreas Schwab <schwab@redhat.com>
19249
19250 * manual/Makefile: Don't mix pattern rules with normal rules.
19251
817328ee
AS
192522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19253
19254 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19255 operation.
19256 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19257 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19258 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19259 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19261 Likewise.
19262
29fddf61
UD
192632010-09-04 Ulrich Drepper <drepper@redhat.com>
19264
19265 [BZ #11979]
19266 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19267 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19268
0959ffc9
UD
192692010-09-02 Ulrich Drepper <drepper@redhat.com>
19270
19271 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19272 * sysdeps/x86_64/addmul_1.S: Likewise.
19273 * sysdeps/x86_64/lshift.S: Likewise.
19274 * sysdeps/x86_64/mul_1.S: Likewise.
19275 * sysdeps/x86_64/rshift.S: Likewise.
19276 * sysdeps/x86_64/sub_n.S: Likewise.
19277 * sysdeps/x86_64/submul_1.S: Likewise.
19278
ece29840
ST
192792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19280
0959ffc9
UD
19281 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19282 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19283 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19284 * bits/sched.h [__need_schedparam]
ece29840 19285 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19286 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19287 (__defined_schedparam): Define to 1.
ece29840
ST
19288 (__sched_param): New structure, identical to sched_param.
19289 (__need_schedparam): Undefine.
19290
e53a31fe
MF
192912010-08-31 Mike Frysinger <vapier@gentoo.org>
19292
fdc0c10d
MF
19293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19294 (epoll_create1): Declare.
19295
e53a31fe
MF
19296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19297
a726d796
AS
192982010-08-31 Andreas Schwab <schwab@redhat.com>
19299
19300 [BZ #7066]
19301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19302 shifting retval into place.
19303
2f3e3dc7
UD
193042010-09-01 Ulrich Drepper <drepper@redhat.com>
19305
f2933da9
UD
19306 * nis/rpcsvc/nis.h: Update copyright notice.
19307 * nis/rpcsvc/nis.x: Likewise.
19308 * nis/rpcsvc/nis_callback.h: Likewise.
19309 * nis/rpcsvc/nis_callback.x: Likewise.
19310 * nis/rpcsvc/nis_object.x: Likewise.
19311 * nis/rpcsvc/nis_tags.h: Likewise.
19312 * nis/rpcsvc/yp.h: Likewise.
19313 * nis/rpcsvc/yp.x: Likewise.
19314 * nis/rpcsvc/ypupd.h: Likewise.
19315 * nis/yp_xdr.c: Likewise.
19316 * nis/ypupdate_xdr.c: Likewise.
19317
2f3e3dc7
UD
19318 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19319 mainly the body of pmap_getport. Add parameters to specify timeouts.
19320 (pmap_getport): Use __libc_rpc_getport.
19321 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19322 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19323 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19324
f3dcc2f9
AS
193252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19326
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19328 fanotify_mark.
19329
6d34eb5b
RM
193302010-08-27 Roland McGrath <roland@redhat.com>
19331
19332 * sysdeps/i386/i686/multiarch/Makefile
19333 (CFLAGS-varshift.c): New variable.
19334
9ea3de11
UD
193352010-08-27 Ulrich Drepper <drepper@redhat.com>
19336
c96d23fc
UD
19337 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19338 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19339
9ea3de11
UD
19340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19341
19342 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19343
623aac7f
L
193442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 * sysdeps/x86_64/strlen.S: Unroll the loop.
19347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19348 strlen-sse2 strlen-sse2-bsf.
19349 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19350 __strlen_no_bsf if bit_Slow_BSF is set.
19351 (__strlen_sse42): Removed.
19352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19353 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19354
8b2b7715
RM
193552010-08-25 Roland McGrath <roland@redhat.com>
19356
19357 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19358 * sysdeps/x86_64/multiarch/varshift.c: New file.
19359 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19360 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19361 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19362 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19363
e73015f2
L
193642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19367 strlen-sse2 strlen-sse2-bsf.
19368 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19369 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19370 (__strlen_sse2): Removed.
19371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19374 bit_Slow_BSF for Atom.
19375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19376 (index_Slow_BSF): Define.
19377 (HAS_SLOW_BSF): Define.
19378
df24a73e
UD
193792010-08-25 Ulrich Drepper <drepper@redhat.com>
19380
19381 [BZ #10851]
19382 * resolv/res_init.c (__res_vinit): When no server address at all
19383 is given default to loopback.
19384
f2ac4868
RM
193852010-08-24 Roland McGrath <roland@redhat.com>
19386
09055553
RM
19387 * configure.in: Remove config-name.h generation.
19388 * configure: Regenerated.
19389 * config-name.in: File removed.
19390 * scripts/config-uname.sh: New file.
19391 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19392 ($(objdir)config-name.h): New target.
19393
f2ac4868
RM
19394 * sunrpc/rpc_parse.h: Avoid nested comment.
19395
73f27d5e
RH
193962010-08-24 Richard Henderson <rth@redhat.com>
19397 Ulrich Drepper <drepper@redhat.com>
19398 H.J. Lu <hongjiu.lu@intel.com>
19399
19400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19402 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19403 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19404 _mm_alignr_epi8 with _mm_loadu_si128.
19405 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19406 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19407 (__m128i_shift_right): Removed.
19408 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19409 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19410 * sysdeps/x86_64/multiarch/varshift.h: New file.
19411 * sysdeps/x86_64/multiarch/varshift.S: New file.
19412
84b9230c
MF
194132010-08-21 Mike Frysinger <vapier@gentoo.org>
19414
19415 * configure.in: Move assembler checks to before sysdep dir checking.
19416
9bbd0ddc
PB
194172010-08-20 Petr Baudis <pasky@suse.cz>
19418
19419 * LICENSES: Sync the sunrpc license.
19420
9da4bb31
UD
194212010-08-19 Ulrich Drepper <drepper@redhat.com>
19422
a7ab6ec8
UD
19423 * sunrpc/auth_des.c: Update copyright notice once again.
19424 * sunrpc/auth_none.c: Likewise.
19425 * sunrpc/auth_unix.c: Likewise.
19426 * sunrpc/authdes_prot.c: Likewise.
19427 * sunrpc/authuxprot.c: Likewise.
19428 * sunrpc/bindrsvprt.c: Likewise.
19429 * sunrpc/clnt_gen.c: Likewise.
19430 * sunrpc/clnt_perr.c: Likewise.
19431 * sunrpc/clnt_raw.c: Likewise.
19432 * sunrpc/clnt_simp.c: Likewise.
19433 * sunrpc/clnt_tcp.c: Likewise.
19434 * sunrpc/clnt_udp.c: Likewise.
19435 * sunrpc/clnt_unix.c: Likewise.
19436 * sunrpc/des_crypt.c: Likewise.
19437 * sunrpc/des_soft.c: Likewise.
19438 * sunrpc/get_myaddr.c: Likewise.
19439 * sunrpc/getrpcport.c: Likewise.
19440 * sunrpc/key_call.c: Likewise.
19441 * sunrpc/key_prot.c: Likewise.
19442 * sunrpc/openchild.c: Likewise.
19443 * sunrpc/pm_getmaps.c: Likewise.
19444 * sunrpc/pm_getport.c: Likewise.
19445 * sunrpc/pmap_clnt.c: Likewise.
19446 * sunrpc/pmap_prot.c: Likewise.
19447 * sunrpc/pmap_prot2.c: Likewise.
19448 * sunrpc/pmap_rmt.c: Likewise.
19449 * sunrpc/rpc/auth.h: Likewise.
19450 * sunrpc/rpc/auth_unix.h: Likewise.
19451 * sunrpc/rpc/clnt.h: Likewise.
19452 * sunrpc/rpc/des_crypt.h: Likewise.
19453 * sunrpc/rpc/key_prot.h: Likewise.
19454 * sunrpc/rpc/netdb.h: Likewise.
19455 * sunrpc/rpc/pmap_clnt.h: Likewise.
19456 * sunrpc/rpc/pmap_prot.h: Likewise.
19457 * sunrpc/rpc/pmap_rmt.h: Likewise.
19458 * sunrpc/rpc/rpc.h: Likewise.
19459 * sunrpc/rpc/rpc_des.h: Likewise.
19460 * sunrpc/rpc/rpc_msg.h: Likewise.
19461 * sunrpc/rpc/svc.h: Likewise.
19462 * sunrpc/rpc/svc_auth.h: Likewise.
19463 * sunrpc/rpc/types.h: Likewise.
19464 * sunrpc/rpc/xdr.h: Likewise.
19465 * sunrpc/rpc_clntout.c: Likewise.
19466 * sunrpc/rpc_cmsg.c: Likewise.
19467 * sunrpc/rpc_common.c: Likewise.
19468 * sunrpc/rpc_cout.c: Likewise.
19469 * sunrpc/rpc_dtable.c: Likewise.
19470 * sunrpc/rpc_hout.c: Likewise.
19471 * sunrpc/rpc_main.c: Likewise.
19472 * sunrpc/rpc_parse.c: Likewise.
19473 * sunrpc/rpc_parse.h: Likewise.
19474 * sunrpc/rpc_prot.c: Likewise.
19475 * sunrpc/rpc_sample.c: Likewise.
19476 * sunrpc/rpc_scan.c: Likewise.
19477 * sunrpc/rpc_scan.h: Likewise.
19478 * sunrpc/rpc_svcout.c: Likewise.
19479 * sunrpc/rpc_tblout.c: Likewise.
19480 * sunrpc/rpc_util.c: Likewise.
19481 * sunrpc/rpc_util.h: Likewise.
19482 * sunrpc/rpcinfo.c: Likewise.
19483 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19484 * sunrpc/rpcsvc/key_prot.x: Likewise.
19485 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19486 * sunrpc/rpcsvc/mount.x: Likewise.
19487 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19488 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19489 * sunrpc/rpcsvc/rex.x: Likewise.
19490 * sunrpc/rpcsvc/rstat.x: Likewise.
19491 * sunrpc/rpcsvc/rusers.x: Likewise.
19492 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19493 * sunrpc/rpcsvc/spray.x: Likewise.
19494 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19495 * sunrpc/rtime.c: Likewise.
19496 * sunrpc/svc.c: Likewise.
19497 * sunrpc/svc_auth.c: Likewise.
19498 * sunrpc/svc_authux.c: Likewise.
19499 * sunrpc/svc_raw.c: Likewise.
19500 * sunrpc/svc_run.c: Likewise.
19501 * sunrpc/svc_simple.c: Likewise.
19502 * sunrpc/svc_tcp.c: Likewise.
19503 * sunrpc/svc_udp.c: Likewise.
19504 * sunrpc/svc_unix.c: Likewise.
19505 * sunrpc/svcauth_des.c: Likewise.
19506 * sunrpc/xcrypt.c: Likewise.
19507 * sunrpc/xdr.c: Likewise.
19508 * sunrpc/xdr_array.c: Likewise.
19509 * sunrpc/xdr_float.c: Likewise.
19510 * sunrpc/xdr_mem.c: Likewise.
19511 * sunrpc/xdr_rec.c: Likewise.
19512 * sunrpc/xdr_ref.c: Likewise.
19513 * sunrpc/xdr_sizeof.c: Likewise.
19514 * sunrpc/xdr_stdio.c: Likewise.
19515
9da4bb31
UD
19516 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19517 handling.
19518
bdaa77bc
AS
195192010-08-19 Andreas Schwab <schwab@redhat.com>
19520
19521 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19522
fe2f79db
LM
195232010-08-19 Luis Machado <luisgpm@br.ibm.com>
19524
19525 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19526 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19527 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19528 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19529 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19530 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19532 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19533 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19534 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19535 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19536 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19537 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19538 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19539
b9b42ee0
AB
195402010-07-26 Anton Blanchard <anton@samba.org>
19541
19542 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19543 * malloc/arena.c (heap_trim): Likewise.
19544
1c06ba31
UD
195452010-08-16 Ulrich Drepper <drepper@redhat.com>
19546
19547 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19548 here. Not...
19549 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19550 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19551
f8392f40
L
195522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19553
19554 * sysdeps/i386/elf/Makefile: New file.
19555
3162f12e
AS
195562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19557
19558 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19559 from fanotify_init.
19560 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19562
28c90b2c
UD
195632010-08-15 Ulrich Drepper <drepper@redhat.com>
19564
19565 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19566 of strncasecmp_l.
1feccb6c 19567 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19568
ca6bb004
UD
195692010-08-14 Ulrich Drepper <drepper@redhat.com>
19570
e9f82e0d
UD
19571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19572 strncase_l-nonascii.
19573 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19574 Add strncase_l-ssse3.
19575 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19576 * sysdeps/x86_64/strcmp.S: Likewise.
19577 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19578 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19579 * sysdeps/x86_64/strncase.S: New file.
19580 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19581 * sysdeps/x86_64/strncase_l.S: New file.
19582 * string/Makefile (strop-tests): Add strncasecmp.
19583 * string/test-strncasecmp.c: New file.
19584
19585 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19586 warning.
19587
ca6bb004
UD
19588 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19589 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19590
052fa7b3
AS
195912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19592
19593 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19594
962dba78
UD
195952010-08-12 Ulrich Drepper <drepper@redhat.com>
19596
19597 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19598 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19599 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19600
bebff237
AM
196012010-05-01 Alan Modra <amodra@gmail.com>
19602
19603 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19604 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19605 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19606 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19607 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19608 tidying. Don't tail-call __sigjmp_save for static lib.
19609 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19610 save location.
19611 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19612 (CALL_MCOUNT): Add eh info, and nop after bl.
19613 (TAIL_CALL_SYSCALL_ERROR): New macro.
19614 (PSEUDO_RET): Use it.
19615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19616 Correct save location of integer regs and cr.
19617 (_dl_profile_resolve): Correct cr save location. Delete nops
19618 after bl when SHARED. Reduce cfi size a little by better
19619 placement of cfi directives.
19620 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19621 make a stack frame. Instead use parm save area as a temp.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19623 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19625 Don't make a stack frame for parent, use parm save area.
19626 Increase child stack frame to 112 bytes. Don't save unused reg,
19627 and adjust reg usage. Set up cfi on error recovery and
19628 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19630 (__makecontext): Add dummy nop after jump to exit.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19632 Use correct parm save area and cr save, reduce stack frame.
19633 Correct cfi for possible PSEUDO_RET frame setup.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19635 Branch to local label emitted by PSEUDO_RET rather than
19636 __syscall_error.
19637
02637374
AS
196382010-08-12 Andreas Schwab <schwab@redhat.com>
19639
19640 [BZ #11904]
19641 * locale/programs/locale.c (print_assignment): New function.
19642 (show_locale_vars): Use it.
19643
c3e2f19b
UD
196442010-08-11 Ulrich Drepper <drepper@redhat.com>
19645
3cdaa6ad
UD
19646 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19647 field.
19648 (struct statfs64): Likewise.
19649 (_STATFS_F_FLAGS): Define.
19650 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19651 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19652 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19653 (ST_VALID): Define locally.
19654 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19655 __statvfs_getflags, use the provided value.
19656 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19657 __ASSUME_STATFS_F_FLAGS.
19658
754f7da3
UD
19659 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19660
10b3bedc
UD
19661 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19662 Add sys/fanotify.h.
19663 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19664 fanotify_mask for GLIBC_2.13.
19665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19666 fanotify_init and fanotify_mark.
19667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19668 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19669
c08fb0d7
UD
19670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19671 Add prlimit.
19672 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19673 prlimit64 for GLIBC_2.13.
19674 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19675 prlimit64.
19676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19677 syscall.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19680 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19681 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19682 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19683 add prlimit alias.
19684 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19685
15bac72b
UD
19686 [BZ #11903]
19687 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19688 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19689
c3e2f19b
UD
19690 * nss/Makefile: Add rules to build and run tst-nss-test1.
19691 * shlib-versions: Add entry for libnss_test1.
19692 * nss/nss_test1.c: New file.
19693 * nss/tst-nss-test1.c: New file.
19694
19695 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19696 (__nss_configure_lookup): Set appropriate entry in
19697 __nss_configure_lookup to true.
19698 * nss/nsswitch.h: Define enum with indeces of databases in
19699 databases and __nss_database_custom arrays. Declare
19700 __nss_database_custom.
19701 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19702 to avoid using nscd when custom rules are installed.
19703 * nss/getXXbyYY_r.c: Likewise.
19704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19705
19706 * nss/nss_files/files-parse.c: Whitespace fixes.
19707
f15ce4d8
UD
197082010-08-09 Ulrich Drepper <drepper@redhat.com>
19709
19710 [BZ #11883]
19711 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19712 * posix/fnmatch_loop.c: Likewise.
19713
d22e4cc9
AK
197142010-07-17 Andi Kleen <ak@linux.intel.com>
19715
19716 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19717 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19718 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19719 * Versions.def [GLIBC_2.13]: Add.
19720
805bc17d
UD
197212010-08-06 Ulrich Drepper <drepper@redhat.com>
19722
19723 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19724 Also fail if tpwd after pwuid call is NULL.
19725
5a42321d
ST
197262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19727
19728 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19729 when converting to ms.
19730
fd3ebeda
ST
197312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19732
19733 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19734 EOPNOTSUPP errors with ENOTTY.
19735 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19736 EOPNOTSUPP errors with ENOTTY.
19737
73507d3a
UD
197382010-07-31 Ulrich Drepper <drepper@redhat.com>
19739
19740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19741 Add strcasecmp_l-ssse3.
19742 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19743 strcasecmp.
19744 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19745 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19746 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19747
fe36dd02
UD
197482010-07-30 Ulrich Drepper <drepper@redhat.com>
19749
66f6765a
UD
19750 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19751
42e08a54
UD
19752 * string/Makefile (strop-tests): Add strcasecmp.
19753 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19754 strcasecmp_l-nonascii.
19755 (gen-as-const-headers): Add locale-defines.sym.
19756 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19757 * sysdeps/x86_64/strcasecmp.S: New file.
19758 * sysdeps/x86_64/strcasecmp_l.S: New file.
19759 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19760 * sysdeps/x86_64/locale-defines.sym: New file.
19761 * string/test-strcasecmp.c: New file.
19762
fe36dd02
UD
19763 * string/test-strcasestr.c: Test both ends of the range of characters.
19764 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19765
48cbc0d6
RM
197662010-07-29 Roland McGrath <roland@redhat.com>
19767
76e6d6bc 19768 [BZ #11856]
48cbc0d6
RM
19769 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19770
880113d9
UD
197712010-07-27 Ulrich Drepper <drepper@redhat.com>
19772
19773 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19774 for ld.so.
19775
deb9cabb
AS
197762010-07-27 Andreas Schwab <schwab@redhat.com>
19777
19778 * manual/memory.texi (Malloc Tunable Parameters): Document
19779 M_PERTURB.
19780
1c7570ff
RM
197812010-07-26 Roland McGrath <roland@redhat.com>
19782
19783 [BZ #11840]
19784 * configure.in (-fgnu89-inline check): Set and substitute
19785 gnu89_inline, not libc_cv_gnu89_inline.
19786 * configure: Regenerated.
19787 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19788
24fb0f88
UD
197892010-07-26 Ulrich Drepper <drepper@redhat.com>
19790
19791 * string/test-strnlen.c: New file.
19792 * string/Makefile (strop-tests): Add strnlen.
19793 * string/tester.c (test_strnlen): Add a few more test cases.
19794 * string/tst-strlen.c: Better error reporting.
19795
19796 * sysdeps/x86_64/strnlen.S: New file.
19797
8e96b93a
UD
197982010-07-24 Ulrich Drepper <drepper@redhat.com>
19799
19800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19801 lower-latency instructions.
19802
dbc676d4
UD
198032010-07-23 Ulrich Drepper <drepper@redhat.com>
19804
19805 * string/test-strcasestr.c: New file.
19806 * string/test-strstr.c: New file.
19807 * string/Makefile (strop-tests): Add strstr and strcasestr.
19808 * string/str-two-way.h: Don't undefine MAX.
19809 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19810
f6a31e0e
AS
198112010-07-21 Andreas Schwab <schwab@redhat.com>
19812
19813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19814 strcasestr-nonascii.
19815 (CFLAGS-strcasestr-nonascii.c): Define.
19816 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19817 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19818 Remove unused attribute.
19819
5dbc3b6c
RM
198202010-07-20 Roland McGrath <roland@redhat.com>
19821
19822 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19823 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19824 ld.so.cache was broken. With it, there is no way to disable dsocaps
19825 like LD_HWCAP_MASK can disable hwcaps.
19826
23d101d8
EPM
198272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19828
19829 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19830
cc9f2e47
UD
198312010-07-16 Ulrich Drepper <drepper@redhat.com>
19832
19833 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19834 call in strcasestr.
19835 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19836 __strcasestr_sse42_nonascii.
19837 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19838 strcasestr-nonascii.c.
19839 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19840
77c1b069
LM
198412010-06-15 Luis Machado <luisgpm@br.ibm.com>
19842
19843 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19844 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19845 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19846 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19847
440566c3
UD
198482010-07-09 Ulrich Drepper <drepper@redhat.com>
19849
19850 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19851 fcntl.
19852
5be9d05d
AS
198532010-07-06 Andreas Schwab <schwab@redhat.com>
19854
c30b7ee2 19855 [BZ #11577]
5be9d05d
AS
19856 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19857 dl_signal_cerror.
19858
8a492a67
UD
198592010-07-06 Ulrich Drepper <drepper@redhat.com>
19860
19861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19862 _PC_PIPE_BUF using F_GETPIPE_SZ.
19863
713df3d5
RM
198642010-07-05 Roland McGrath <roland@redhat.com>
19865
19866 * manual/arith.texi (Rounding Functions): Fix rint description
19867 implicit in round description.
19868
702e8f14
UD
198692010-07-02 Ulrich Drepper <drepper@redhat.com>
19870
19871 * elf/Makefile: Fix linking for a few tests to make recent linker
19872 happy.
19873
52ed8be9
AS
198742010-06-30 Andreas Schwab <schwab@redhat.com>
19875
19876 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19877 $(common-objpfx)libc_nonshared.a.
19878
f47c9a11
LM
198792010-06-21 Luis Machado <luisgpm@br.ibm.com>
19880
19881 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19882 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19883 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19884 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19885 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19886 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19887 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19888 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19903 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19904 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19905 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19906 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19907 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19908 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19909 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19910 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19911 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19912 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19913 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19914 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19929
6fb8cbcb
L
199302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19931
19932 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19933 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19934 * string/memmove.c (memmove): Renamed to ...
19935 (MEMMOVE): ...this. Default to memmove.
19936 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19937 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19938 (END_CHK): Define.
19939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19940 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19941 mempcpy-ssse3-back memmove-ssse3-back.
19942 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19944 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19945 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19946 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19947 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19948 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19949 * sysdeps/x86_64/multiarch/memmove.c: New file.
19950 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19951 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19952 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19953 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19954 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19956 Define.
19957 (index_Fast_Copy_Backward): Define.
19958 (HAS_ARCH_FEATURE): Define.
19959 (HAS_FAST_REP_STRING): Define.
19960 (HAS_FAST_COPY_BACKWARD): Define.
19961
4e733bac 199622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19963
19964 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19965 Restore proper fallback handling.
19966
63c4ed22
UD
199672010-06-19 Ulrich Drepper <drepper@redhat.com>
19968
ac2b484c
UD
19969 [BZ #11701]
19970 * posix/group_member.c (__group_member): Correct checking loop.
19971
63c4ed22
UD
19972 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19973 OOM in getpwuid_r correctly. Return error number when the caller
19974 should return, otherwise -1.
19975 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19976 call returning > 0 value.
19977 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19978
765ade4b
AS
199792010-06-07 Andreas Schwab <schwab@redhat.com>
19980
19981 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19982 libc_nonshared.a from targets in modules-names.
19983
80da2e09
KS
199842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19985
19986 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19987 requires it.
19988
158db122
LM
199892010-06-10 Luis Machado <luisgpm@br.ibm.com>
19990
19991 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19992 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19994 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19995
caa78cf8
AS
199962010-06-02 Andreas Schwab <schwab@redhat.com>
19997
19998 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19999
b2ef2c01
UD
200002010-06-14 Ulrich Drepper <drepper@redhat.com>
20001
20002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20003 and F_GETPIPE_SZ.
20004 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20008 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20010
fbd643b6
RM
200112010-06-14 Roland McGrath <roland@redhat.com>
20012
20013 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20014
f32f2869
JJ
200152010-06-07 Jakub Jelinek <jakub@redhat.com>
20016
20017 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20018 __REDIRECT followed by __THROW.
20019 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20020 * posix/getopt.h (getopt): Likewise.
20021
2a50c078
EPM
200222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20023
20024 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20025 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20026 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20027 in AT_FLAGS.
20028 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20029 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20030
eb5ad2eb
LM
200312010-05-28 Luis Machado <luisgpm@br.ibm.com>
20032
20033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20034
3c88fe1e
L
200352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20036
20037 [BZ #11640]
20038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20039 Properly check family and model.
20040
d2f73151
TY
200412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20042
20043 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20044
ebd2e13d
LM
200452010-05-24 Luis Machado <luisgpm@br.ibm.com>
20046
20047 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20048
b32b8b45
UD
200492010-05-21 Ulrich Drepper <drepper@redhat.com>
20050
20051 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20052 symbol reference.
20053
9acbe24d
AS
200542010-05-19 Andreas Schwab <schwab@redhat.com>
20055
20056 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20057 symbol reference.
20058
f0ccf6ea
AS
200592010-05-21 Andreas Schwab <schwab@redhat.com>
20060
3d04ff3a
AS
20061 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20062 and internal_recvmmsg.
20063 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20064 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20065 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20066 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20067
f0ccf6ea
AS
20068 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20071
5b08ac57
AS
200722010-05-20 Andreas Schwab <schwab@redhat.com>
20073
20074 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20075
4828935d
LM
200762010-05-17 Luis Machado <luisgpm@br.ibm.com>
20077
20078 POWER7 optimizations.
20079 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20080 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20081
373d545e
UD
200822010-05-19 Ulrich Drepper <drepper@redhat.com>
20083
20084 * version.h: Update for 2.13 development version.
20085
21a2b1ae
AS
200862010-05-12 Andrew Stubbs <ams@codesourcery.com>
20087
20088 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20089 exceptions. Return 0.
20090
3f7dcb2b
RM
200912010-05-07 Roland McGrath <roland@redhat.com>
20092
20093 * elf/ldconfig.c (main): Add a const.
20094
5f24d53a 200952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20096
a160f8d8
UD
20097 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20098 (args_options): Add no-idn option.
20099 (ahosts_keys_int): Add idn_flags to ai_flags.
20100 (parse_option): Handle 'i' option to clear idn_flags.
20101
5f24d53a
UD
20102 * malloc/malloc.c (_int_free): Possible race in the most recently
20103 added check. Only act on the data if no current modification
20104 happened.
265bb1ce
UD
20105
20106See ChangeLog.17 for earlier changes.
This page took 2.795947 seconds and 5 git commands to generate.