]> sourceware.org Git - glibc.git/blame - ChangeLog
Free errstring if _dl_addr doesn't returns 0
[glibc.git] / ChangeLog
CommitLineData
273edc5e
RM
12012-10-09 Roland McGrath <roland@hack.frob.com>
2
3 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4 defined. Don't check if MAP is NULL.
5
c8450f70
JM
62012-10-09 Joseph Myers <joseph@codesourcery.com>
7
8 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9 (_G_stat64): Likewise.
10 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11 (_G_stat64): Likewise.
12 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13 instead of struct _G_stat64.
14 * libio/fileops.c (mmap_remap_check): Likewise.
15 (decide_maybe_mmap): Likewise.
16 (_IO_new_file_seekoff): Likewise.
17 (_IO_file_stat): Likewise.
18 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19 _G_off64_t.
20 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21 instead of struct _G_stat64.
22 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23
57e605ba
MK
242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25
26 [BZ #14602]
27 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28 Replace with ...
29 (CHECK_EOL): New macro.
30 (two_way_short_needle): Check beginning of haystack for EOL. Use
31 CHECK_EOL.
32 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33 Replace with CHECK_EOL.
34 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35 Replace with CHECK_EOL.
36
ef1bb361
JM
372012-10-08 Joseph Myers <joseph@codesourcery.com>
38
39 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40 type-generic.
41 * math/libm-test.inc: Update comment listing what functions and
42 macros are tested.
43 (finite_test): New function.
44 (isinf_test): Likewise.
45 (isnan_test): Likewise.
46 (fpclassify_test): Test subnormal input.
47 (isfinite_test): Likewise.
48 (isnormal_test): Likewise.
49 (main): Call the new functions.
50
55f11534
JN
512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
52
53 [BZ #14660]
54 * Makerules (%.dynsym): Force C locale when running
55 $(OBJDUMP) --dynamic-syms.
56
1ab29350
AS
572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
58
59 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60 <stdint.h>.
61
f1ecb7ef
DM
622012-10-06 David S. Miller <davem@davemloft.net>
63
64 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65 upper 32-bits of the length value in %o2 since we use branch-on-register
66 tests which consider the entire 64-bit register.
67
5d41d91a
L
682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
69
70 * string/test-strstr.c (check2): Add a test for page boundary.
71
3baddb72
DM
722012-10-05 David S. Miller <davem@davemloft.net>
73
74 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76 file.
77 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
78 sysdep_routines.
79 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
80 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
81 and bzero when HWCAP_SPARC_CRYPTO is present.
82
9cee5585
L
832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
84
d7e0dab9
L
85 [BZ #14602]
86 * string/test-strstr.c (check2): New function.
87 (test_main): Call check2.
88
03759f47
L
89 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
90 and bug-strchr1.
91 * string/bug-strcasestr1.c (do_test): Moved to ...
92 * string/test-strcasestr.c (check1): Here. New function.
93 (do_one_test): Break out result checking code into ...
94 (check_result): This. New function.
95 (do_one_test): Call check_result.
96 (test_main): Call check1.
97 * string/bug-strchr1.c (do_test): Moved to ...
98 * string/test-strchr.c (check1): Here. New function.
99 (do_one_test): Break out result checking code into ...
100 (check_result): This. New function.
101 (do_one_test): Call check_result.
102 (test_main): Call check1.
103 * string/bug-strstr1.c (main): Moved to ...
104 * string/test-strchr.c (check1): Here. New function.
105 (do_one_test): Break out result checking code into ...
106 (check_result): This. New function.
107 (do_one_test): Call check_result.
108 (test_main): Call check1.
109 * string/bug-strcasestr1.c: Removed.
110 * string/bug-strchr1.c: Likewise.
111 * string/bug-strstr1.c: Likewise.
112
53cea63e
L
113 * elf/Makefile (dl-routines): Add hwcaps.
114 * elf/dl-support.c (_dl_important_hwcaps): Removed.
115 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
116 (_dl_important_hwcaps): Moved to ...
117 * elf/dl-hwcaps.c: Here. New file.
118 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
119
9cee5585 120 [BZ #14557]
bb859b06
L
121 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
122 if IS_IN_rtld isn't defined.
123
9cee5585
L
124 * elf/dl-support.c (_dl_sysinfo_map): New.
125 Include "get-dynamic-info.h" and "setup-vdso.h".
126 (_dl_non_dynamic_init): Call setup_vdso.
127 * elf/dynamic-link.h: Don't include <assert.h>.
128 (elf_get_dynamic_info): Moved to ...
129 * elf/get-dynamic-info.h: Here. New file.
130 * elf/dynamic-link.h: Include "get-dynamic-info.h".
131 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
132 * elf/setup-vdso.h: Here. New file.
133 * elf/rtld.c: Include "setup-vdso.h".
134 (dl_main): Call setup_vdso.
135
23c31b76
JM
1362012-10-05 Joseph Myers <joseph@codesourcery.com>
137
28234b07
JM
138 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
139 creal in comment listing functions tested. List finite, isinf,
140 isnan, isless, islessequal, isgreater, isgreaterequal,
141 islessgreater, isunordered, lgamma_r and pow10 as functions and
142 macros not tested. Mention which functions not tested are aliases
143 for other functions. Fix typo. Note that signs of NaNs are not
144 tested.
145
23c31b76
JM
146 * scripts/config.guess: Update from config.git.
147 * scripts/config.sub: Likewise.
148
9043e228
RM
1492012-10-04 Roland McGrath <roland@hack.frob.com>
150
151 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
152 * misc/madvise.c (madvise): Renamed to __madvise.
153 Make madvise a weak alias.
154 * include/sys/mman.h: Declare __madvise.
155 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
156 * sysdeps/unix/syscalls.list
157 (madvise): Make __madvise the strong name, and madvise a weak alias.
158 * sysdeps/unix/sysv/linux/syscalls.list
159 (madvise, mmap): Remove redundant entries.
160 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
161 * malloc/malloc.c (mtrim): Likewise.
162 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
163
f57f8055
RM
1642012-10-03 Roland McGrath <roland@hack.frob.com>
165
166 * sysdeps/mach/hurd/dl-cache.c: File removed.
167 * config.h.in (USE_LDCONFIG): New #undef.
168 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
169 * configure: Regenerated.
170 * elf/Makefile (dl-routines): Add dl-cache only under
171 [$(use-ldconfig) = yes].
172 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
173 cache on [USE_LDCONFIG].
174 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
175 [USE_LDCONFIG].
176 * elf/rtld.c (dl_main): Likewise.
177
5bb0c10a
PT
1782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
179
180 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
181 _SC_LEVEL4_CACHE_LINESIZE.
182
010188c6
RM
1832012-10-03 Roland McGrath <roland@hack.frob.com>
184
185 * sysdeps/unix/bsd/confstr.h: File removed.
186
b6c5ec07
AO
1872012-10-02 Alexandre Oliva <aoliva@redhat.com>
188
189 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
190 sys/sdt-config.h.
191
408223d4
RM
1922012-10-02 Roland McGrath <roland@hack.frob.com>
193
194 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
195 Make 'mapoff' field ElfW(Off) rather than off_t.
196
bb9510dc
DL
1972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
198
fc997c6e
DL
199 * nscd/Makefile: Remove nscd-cflags and all its users.
200 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
201 (CFLAGS-nonlib): Add compiler flags for nscd modules.
202
bb9510dc
DL
203 [BZ #10631]
204 * malloc.c (malloc_printerr): Clarify error message.
205
05699367
L
2062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
207
208 [BZ #14648]
209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
210 Set bit_FMA_Usable if FMA is supported.
211 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
212 macro.
213 (bit_FMA4_Usable): Updated.
214 (index_FMA_Usable): New macro.
215 (CPUID_FMA): Likewise
216 (HAS_FMA): Defined with bit_FMA_Usable.
217
51367701
RM
2182012-10-01 Roland McGrath <roland@hack.frob.com>
219
220 * bits/types.h (__swblk_t): Type removed.
221 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
222 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
224 (__SWBLK_T_TYPE): Likewise.
225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
226 (__SWBLK_T_TYPE): Likewise.
227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
228 (__SWBLK_T_TYPE): Likewise.
229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
230 (__SWBLK_T_TYPE): Likewise.
231
4d57bf63
JL
2322012-10-01 Patsy Franklin <pfrankli@redhat.com>
233 Honza Horak <hhorak@redhat.com>
234
235 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
236 (xdr_mapname): Use YPMAXMAP as maxsize.
237 (xdr_peername): Use YPMAXPEER as maxsize.
238 (xdr_keydat): Use YPAXRECORD as maxsize.
239 (xdr_valdat): Use YPMAXRECORD as maxsize.
240
93c65d43
RM
2412012-10-01 Roland McGrath <roland@hack.frob.com>
242
497a03d6
RM
243 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
244
93c65d43
RM
245 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
246 * csu/init-first.c: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
248 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
249 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
250 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
251 * sysdeps/i386/init-first.c: File removed.
252 * sysdeps/sh/init-first.c: File removed.
253
bec749fd
JM
2542012-10-01 Joseph Myers <joseph@codesourcery.com>
255
256 [BZ #14645]
257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
258 if x * y might underflow to zero and z is zero.
259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
261 * math/libm-test.inc (min_subnorm_value): New variable.
262 (fma_test): Add more tests.
263 (fma_test_towardzero): Likewise.
264 (fma_test_downward): Likewise
265 (fma_test_upward): Likewise.
266 (initialize): Set min_subnorm_value.
267
8ec5b013
JM
2682012-09-29 Joseph Myers <joseph@codesourcery.com>
269
270 [BZ #14638]
271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
272 0 + 0.
273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
274 mode for addition resulting in exact zero.
275 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
277 exact 0 + 0.
278 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
280 * math/libm-test.inc (fma_test): Add more tests.
281 (fma_test_towardzero): New function.
282 (fma_test_downward): Likewise.
283 (fma_test_upward): Likewise.
284 (main): Call the new functions.
285
b1fa802e
DM
2862012-09-28 David S. Miller <davem@davemloft.net>
287
288 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
289
d3b9fd9e
RM
2902012-09-28 Roland McGrath <roland@hack.frob.com>
291
ea4d37b3
RM
292 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
293 instead of SIGALRM.
294
ac51c949
RM
295 * sysdeps/gnu/_G_config.h: Moved to ...
296 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
297 * sysdeps/mach/hurd/_G_config.h: Moved to ...
298 * sysdeps/generic/_G_config.h: ... here.
299
28c195f7
RM
300 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
301
848917f9
RM
302 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
303
6bacf05b
RM
304 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
305 Conditionalize target on [libnss_test1.so-version].
306
91363dbb
RM
307 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
308
cc87f7d8
RM
309 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
310 (elfobjdir): Move out of conditionals.
311
b1c608fe
RM
312 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
313 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
314 (__nss_lookup_function): Conditionalize label remove_from_tree on
315 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 316
1d9a6d96
DM
3172012-09-28 David S. Miller <davem@davemloft.net>
318
319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
321 file.
322 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
323 sysdep_routines.
324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
326 when HWCAP_SPARC_CRYPTO is present.
327
72581615
PT
3282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
329
330 * io/tst-mknodat.c: Create a FIFO instead of a socket.
331
715a900c
JL
3322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
333
334 [BZ #6530]
335 * stdio-common/vfprintf.c (process_string_arg): Revert
336 2000-07-22 change.
337
3382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
339
340 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
341 for testcase.
342 * stdio-common/tst-sprintf.c: Include <locale.h>
343 (main): Test sprintf's handling of incomplete multibyte
344 characters.
345
9bac1d86
L
3462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
347
348 * elf/dl-runtime.c (VERSYMIDX): Removed.
349 * elf/dl-version.c (VERSYMIDX): Likewise.
350 * elf/do-rel.h (VERSYMIDX): Likewise.
351 (VALIDX): Likewise.
352 * elf/dynamic-link.h (VERSYMIDX): Likewise.
353 * elf/rtld.c (VALIDX): Likewise.
354 (ADDRIDX): Likewise.
9bac1d86
L
355 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
356 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
357 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
358 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
359 (VALIDX): Likewise.
360 (ADDRIDX): Likewise.
9bac1d86 361
b31606c0
PT
3622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
363
364 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
365
11541177
JL
3662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
367
368 [BZ #11438]
369 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
370 to global scope.
371 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
372 addresses are in the same scope as 192.0.2/24.
373 * posix/gai.conf: Document new scope table defaults.
374
adb26fae
SP
3752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
376
377 [BZ #5298]
378 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
379 for ftell. Compute offsets from write pointers instead.
380 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
381
4573c6b0
SP
3822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 [BZ #14543]
385 * libio/Makefile (tests): New test case tst-fseek.
386 * libio/tst-fseek.c: New test case to verify that fseek/ftell
387 combination works in wide mode.
388 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
389 state when the external buffer state changes.
390
aa9bbfe6
DM
3912012-09-27 David S. Miller <davem@davemloft.net>
392
393 [BZ #14376]
394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
395 pass reloc->r_addend in as the 'high' argument to
396 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
397
784421e7
DM
398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
399
c39bc8b8
PT
4002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
401
402 * rt/tst-aio2.c: Include <pthread.h>.
403 * rt/tst-aio3.c: Likewise.
404
1ccc2399
SE
4052012-09-27 Steve Ellcey <sellcey@mips.com>
406
407 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
408
31ed4153
L
4092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
410
25f5f885
L
411 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
412 contents on [SHARED].
31ed4153 413
b7bfe116
MP
4142012-09-26 Marek Polacek <polacek@redhat.com>
415
416 [BZ #14530]
417 [BZ #13741]
418 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
419 for C++ and GCC <4.3 as well as for non GCC compilers.
420
43c4edba
MT
4212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
422
423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
424
6a1bf82f
RM
4252012-09-25 Roland McGrath <roland@hack.frob.com>
426
427 * Makefile.in (all, install): Declare with .PHONY.
428 Reported by Michael Hope <michael.hope@linaro.org>.
429
8ad11b9a
TMQMF
4302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
431
432 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
433 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
434 system header.
435 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
436 Likewise.
437 (sydep_routines): Add the new and the internal functions.
438 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
439 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
441 (GLIBC_2.17): Add the new function.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
443 (GLIBC_2.17): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
445 (GLIBC_2.17): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
447 (GLIBC_2.17): Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
449
7e2fca8d
AM
4502012-09-25 Alan Modra <amodra@gmail.com>
451
452 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
453 Add release barrier before setting once_control to say
454 initialisation is done. Add hints on lwarx. Use macro in
455 place of isync.
456 (clear_once_control): Add release barrier.
457
b87c4b24
JM
4582012-09-25 Joseph Myers <joseph@codesourcery.com>
459
d032e0d2
JM
460 [BZ #13629]
461 * math/s_clog.c (__clog): Handle more values close to |z| = 1
462 specially.
463 * math/s_clog10.c (__clog10): Likewise.
464 * math/s_clog10f.c (__clog10f): Likewise.
465 * math/s_clog10l.c (__clog10l): Likewise.
466 * math/s_clogf.c (__clogf): Likewise.
467 * math/s_clogl.c (__clogl): Likewise.
468 * math/Makefile (libm-calls): Add x2y2m1.
469 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
470 (__x2y2m1): Likewise.
471 (__x2y2m1l): Likewise.
472 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
473 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
474 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
476 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
478 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481
b87c4b24
JM
482 [BZ #14621]
483 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
484 int as type of variable DEPTH.
485 (glob): Use size_t instead of int as type of variables NEWCOUNT
486 and OLD_PATHC.
487
6d3bf199
LD
4882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
489
22bf5c17
LD
490 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
491 Add s_sincosf-sse2.
492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
493 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
494 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
495 macros for using routine as __sincosf_ia32.
496 Use macro for function declaration and weak_alias.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498
499 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
501
502 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
503 subnormal argument.
504 * math/s_cexpf.c (__cexpf): Likewise.
505 * math/s_csinf.c (__csinf): Likewise.
506 * math/s_csinhf.c (__csinhf): Likewise.
507 * math/s_ctanf.c (__ctanf): Likewise.
508 * math/s_ctanhf.c (__ctanhf): Likewise.
509 * math/s_ccosh.c (__ccoshf): Likewise.
510 * math/s_cexp.c (__cexpl): Likewise.
511 * math/s_csin.c (__csin): Likewise.
512 * math/s_csinh.c (__csinh): Likewise.
513 * math/s_ctan.c (__ctan): Likewise.
514 * math/s_ctanh.c (ctanh): Likewise.
515 * math/s_ccoshl.c (__ccoshl): Likewise.
516 * math/s_cexpl.c (__cexpl): Likewise.
517 * math/s_csinl.c (__csinl): Likewise.
518 * math/s_csinhl.c (__csinhl): Likewise.
519 * math/s_ctanl.c (__ctanl): Likewise.
520 * math/s_ctanhl.c (__ctanhl): Likewise.
521
203e5603
JM
5222012-09-25 Joseph Myers <joseph@codesourcery.com>
523
524 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
525 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
526 (_IO_off_t): Define to __off_t, not _G_off_t.
527 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
528 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
529 (_IO_wint_t): Define to wint_t, not _G_wint_t.
530 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
531 type of __dummy and __dummy2 fields.
532 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
533 (_G_ssize_t): Likewise.
534 (_G_off_t): Likewise.
535 (_G_pid_t): Likewise.
536 (_G_uid_t): Likewise.
537 (_G_wchar_t): Likewise.
538 (_G_wint_t): Likewise.
539 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
540 (_G_ssize_t): Likewise.
541 (_G_off_t): Likewise.
542 (_G_pid_t): Likewise.
543 (_G_uid_t): Likewise.
544 (_G_wchar_t): Likewise.
545 (_G_wint_t): Likewise.
546 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
547 (_G_ssize_t): Likewise.
548 (_G_off_t): Likewise.
549 (_G_pid_t): Likewise.
550 (_G_uid_t): Likewise.
551 (_G_wchar_t): Likewise.
552 (_G_wint_t): Likewise.
553
9fab36eb
SP
5542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
555
556 * malloc/arena.c: Include malloc-sysdep.h.
557 (shrink_heap): Use check_may_shrink_heap to decide if madvise
558 is sufficient to shrink the heap or an unmap is needed.
559 * sysdeps/generic/malloc-sysdep.h: New file. Define
560 new function check_may_shrink_heap.
561 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
562 new function check_may_shrink_heap.
563
2b4f00d1
SP
5642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
565
566 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
567 comments.
568
9a9028b1
DL
5692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
570
57c69bef
DL
571 * catgets/test-gencat.sh: Add "set -e".
572 * elf/tst-pathopt.sh: Likewise.
573 * grp/tst_fgetgrent.sh: Likewise.
574 * iconvdata/run-iconv-test.sh: Likewise.
575 * intl/tst-gettext.sh: Likewise.
576 * intl/tst-gettext2.sh: Likewise.
577 * intl/tst-gettext4.sh: Likewise.
578 * intl/tst-gettext6.sh: Likewise.
579 * intl/tst-translit.sh: Likewise.
580 * io/ftwtest-sh: Likewise.
581 * libio/test-freopen.sh: Likewise.
582 * malloc/tst-mtrace.sh: Likewise.
583 * posix/globtest.sh: Likewise.
584 * posix/tst-getconf.sh: Likewise.
585 * posix/wordexp-tst.sh: Likewise.
586 * stdio-common/tst-printf.sh: Likewise.
587 * stdio-common/tst-unbputc.sh: Likewise.
588 * stdlib/tst-fmtmsg.sh: Likewise.
589 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
590 * catgets/Makefile: Do not specify -e option when running
591 testsuite shell scripts.
592 * elf/Makefile: Likewise.
593 * grp/Makefile: Likewise.
594 * iconvdata/Makefile: Likewise.
595 * intl/Makefile: Likewise.
596 * io/Makefile: Likewise.
597 * libio/Makefile: Likewise.
598 * malloc/Makefile: Likewise.
599 * posix/Makefile: Likewise.
600 * stdio-common/Makefile: Likewise.
601 * stdlib/Makefile: Likewise.
602 * sysdeps/x86_64/Makefile: Likewise.
603
9a9028b1
DL
604 * io/ftwtest-sh: Add copyright header.
605 * posix/globtest.sh: Likewise.
606 * posix/tst-getconf.sh: Likewise.
607 * posix/wordexp-tst.sh: Likewise.
608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
609
ced6f16e
L
6102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
611
94b32c39
L
612 [BZ #13679]
613 * Makeconfig (+link): Defined as $(+link-static) if
614 $(build-shared) isn't yes.
615 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
616 isn't yes.
617 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
618
189e935b
L
619 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
620
ced6f16e
L
621 [BZ #14562]
622 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
623 new chunk size with MALLOC_ALIGN_MASK.
624
a9f8e53a
JM
6252012-09-24 Joseph Myers <joseph@codesourcery.com>
626
627 [BZ #5044]
628 * stdio-common/printf_fphex.c: Include <stdbool.h> and
629 <rounding-mode.h>.
630 (__printf_fphex): Determine rounding using get_rounding_mode and
631 round_away.
632 * stdio-common/tst-printf-round.c (struct hex_test): New
633 structure.
634 (hex_tests): New variable.
635 (test_hex_in_one_mode): New function.
636 (do_test): Also run tests for hex float output.
637
43153109
JM
6382012-09-21 Joseph Myers <joseph@codesourcery.com>
639
640 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
642 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
643 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
644 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
645 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
646 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
648
8a26625d
JM
6492012-09-20 Joseph Myers <joseph@codesourcery.com>
650
651 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
652 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
653 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
654 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
655
f3fd569c
DL
6562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
657
658 [BZ #14579]
659 * elf/rtld.c (dl_main): Limit the check for self loading to normal
660 mode only.
661 * elf/tst-rtld-load-self.sh: New test.
662 * elf/Makefile: Run it.
663
63bbedd4
JM
6642012-09-18 Joseph Myers <joseph@codesourcery.com>
665
666 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
667 (tst-writev-ENV): Remove.
668 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
669
626f8b6a
CM
6702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
671
672 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
673
b7aaa4d6
JM
6742012-09-17 Joseph Myers <joseph@codesourcery.com>
675
676 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
677 unconditional.
678 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
679 Likewise.
680 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
681 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
682 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
683 Likewise.
684
65513990
L
6852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
686
687 [BZ #14587]
688 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
689 * config.make.in (have-cpp-asm-debuginfo): Removed.
690 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
691 * configure: Regenerated.
692
784761be
JM
6932012-09-14 Joseph Myers <joseph@codesourcery.com>
694
695 [BZ #5044]
696 * stdio-common/printf_fp.c: Include <stdbool.h> and
697 <rounding-mode.h>.
698 (___printf_fp): Determine rounding using get_rounding_mode and
699 round_away.
700 * stdio-common/tst-printf-round.c: New file.
701 * stdio-common/Makefile (tests): Add tst-printf-round.
702 (link-libm): New variable.
703 ($(objpfx)tst-printf-round): Depend in $(link-libm).
704
9503345f
L
7052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
706
707 [BZ #14576]
708 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
709 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
710 Likewise.
711 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
712 Likewise.
713
ad35fc00
JM
7142012-09-13 Joseph Myers <joseph@codesourcery.com>
715
716 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
717 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
718 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
719 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
720
6c9b0f68
JM
7212012-09-12 Joseph Myers <joseph@codesourcery.com>
722
723 [BZ #14518]
724 * include/rounding-mode.h: New file.
725 * sysdeps/generic/get-rounding-mode.h: Likewise.
726 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
727 * stdlib/strtod_l.c: Include <rounding-mode.h>.
728 (MAX_VALUE): New macro.
729 (MIN_VALUE): Likewise.
730 (overflow_value): New function.
731 (underflow_value): Likewise.
732 (round_and_return): Use overflow_value and underflow_value to
733 determine return values in overflow and underflow cases. Use
734 round_away to determine rounding depending on rounding mode.
735 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
736 determine return values in overflow and underflow cases.
737 * stdlib/tst-strtod-round.c: Include <fenv.h>.
738 (struct test_results): New structure.
739 (struct test): Use struct test_results to store expected results
740 for all rounding modes.
741 (TEST): Include expected results for all rounding modes.
742 (test_in_one_mode): New function.
743 (do_test): Use test_in_one_mode to compute and check results.
744 Check results for all rounding modes.
745 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
746 $(link-libm).
747
19fcedd5
AM
7482012-12-09 Allan McRae <allan@archlinux.org>
749
750 * sysdeps/i386/fpu/libm-test-ulps: Update
751
8bbfd2f1
JM
7522012-09-11 Joseph Myers <joseph@codesourcery.com>
753
754 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
755 (_G_int32_t): Likewise.
756 (_G_uint16_t): Likewise.
757 (_G_uint32_t): Likewise.
758 (_G_HAVE_BOOL): Likewise.
759 (_G_HAVE_ATEXIT): Likewise.
760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
761 (_G_HAVE_IO_FILE_OPEN): Likewise.
762 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
763 (_G_int32_t): Likewise.
764 (_G_uint16_t): Likewise.
765 (_G_uint32_t): Likewise.
766 (_G_HAVE_BOOL): Likewise.
767 (_G_HAVE_ATEXIT): Likewise.
768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
769 (_G_HAVE_IO_FILE_OPEN): Likewise.
770 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
771 (_G_int32_t): Likewise.
772 (_G_uint16_t): Likewise.
773 (_G_uint32_t): Likewise.
774 (_G_HAVE_BOOL): Likewise.
775 (_G_HAVE_ATEXIT): Likewise.
776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
777 (_G_HAVE_IO_FILE_OPEN): Likewise.
778
b1dc5912
L
7792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
780
781 * csu/libc-tls.c: Update copyright years.
782
0e886ef9
JM
7832012-09-10 Joseph Myers <joseph@codesourcery.com>
784
28361c5e
JM
785 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
786 [!_G_USING_THUNKS]: Remove conditional code.
787 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
788 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
789
0e886ef9
JM
790 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
791 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
792 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
793 (_G_VTABLE_LABEL_PREFIX): Likewise.
794 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
795 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
797 (_G_VTABLE_LABEL_PREFIX): Likewise.
798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
799 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
800 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
801 (_G_VTABLE_LABEL_PREFIX): Likewise.
802 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
803
bcba7aa2
L
8042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
805
806 * libio/Makefile: Include ../Makeconfig before tests.
807 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
808 only if $(build-shared) is yes.
809
06585ee8
L
810 * iconv/gconv_db.c: Update copyright years.
811
80ccd52c
LD
8122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
813
814 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
815 unwind info if defined PIC. Fix special cases description.
816 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
817
818 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
819 DP_HI_MASK entry.
820 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
821
691bc9c1
L
8222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
823
3d9b46b3
L
824 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
825
de2139a9
L
826 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
827 is NULL.
828
5ca78dd0
L
829 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
830 (LDLIBS-tst-chk4): This.
831 (LDFLAGS-tst-chk5): Renamed to ...
832 (LDLIBS-tst-chk5): This.
833 (LDFLAGS-tst-chk6): Renamed to ...
834 (LDLIBS-tst-chk6): This.
835 (LDFLAGS-tst-lfschk4): Renamed to ...
836 (LDLIBS-tst-lfschk4): This.
837 (LDFLAGS-tst-lfschk5): Renamed to ...
838 (LDLIBS-tst-lfschk5): This.
839 (LDFLAGS-tst-lfschk6): Renamed to ...
840 (LDLIBS-tst-lfschk6): This.
841
691bc9c1
L
842 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
843 on $(common-objpfx)soversions.mk.
844
65cafb1c
JM
8452012-09-07 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #10014]
848 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
849 example host name.
850
c78ab094
SP
8512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
852
853 * malloc/arena.c (arena_get_retry): New function that gets
854 another arena for the caller to try its request on.
855 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
856 current arena cannot fulfill the request.
857 (__libc_memalign): Likewise.
858 (__libc_memalign): Likewise.
859 (__libc_pvalloc): Likewise.
860 (__libc_calloc): Likewise.
861
01f49f59
JT
8622012-09-05 John Tobey <john.tobey@gmail.com>
863
864 [BZ #13542]
865 * manual/arith.texi (Operations on Complex): Fix description
866 of carg branch cut.
867
4c23fed5
JM
8682012-09-06 Joseph Myers <joseph@codesourcery.com>
869
1d3c8572
JM
870 [BZ #10014]
871 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
872 host name.
873
4c23fed5
JM
874 [BZ #10038]
875 * manual/memory.texi (Memory): Make order of menu items match
876 order of sections.
877
04570aaa
L
8782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
879
880 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
881 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
882 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
883
b80af2f4
L
8842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
885
886 * csu/libc-tls.c (static_dtv): Renamed to ...
887 (_dl_static_dtv): This. Make it global.
888 (_dl_initial_dtv): Removed.
889 (__libc_setup_tls): Updated.
890 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
891 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
892 DL_INITIAL_DTV.
893
2abe9f15
PM
8942012-09-06 Petr Machata <pmachata@redhat.com>
895
896 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
897 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
898 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
899 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
900
0948c3af
L
9012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
902
903 [BZ #14545]
904 * csu/libc-tls.c (_dl_initial_dtv): New variable.
905 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
906 freeing dtv[-1].
907
a5055ad1
L
9082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
909
910 [BZ #14544]
911 * Makeconfig (link-static-before-libc): Replace $(+prector)
912 with $(+prectorT).
913 (link-static-after-libc): Replace $(+postctor) with
914 $(+postctorT).
915 (link-bounded): Replace $(+prector)/$(+postctor) with
916 $(+prectorT)/$(+postctorT).
917 (+prectorT): New macro.
918 (+postctorT): Likewise.
919
ed8c2ecd
JM
9202012-09-06 Joseph Myers <joseph@codesourcery.com>
921
922 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
923 (round_str): Handle values above the maximum for IBM long double
924 as inexact.
925 * stdlib/tst-strtod-round.c (tests): Regenerated.
926
14c996c8
AK
9272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
928
929 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
930 assembler flag.
931 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
932 zarch_nohighgprs around the zarch optimized routines.
933 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
934 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
935 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
936 for zarch.
937
430d6ce6
DM
9382012-09-05 David S. Miller <davem@davemloft.net>
939
940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
941
ff04dda4
DM
942 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
943 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
944 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
945 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
946 entries.
947
24d4e01b
AO
9482012-09-05 Alexandre Oliva <aoliva@redhat.com>
949
950 * malloc/arena.c: Fold copyright years.
951 * malloc/mcheck.c, malloc/memusage.c: Likewise.
952
61d58174
AO
9532012-09-05 Alexandre Oliva <aoliva@redhat.com>
954
955 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
956
20196a5e
AO
9572012-09-05 Alexandre Oliva <aoliva@redhat.com>
958
959 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
960
5c447383
AO
9612012-09-05 Alexandre Oliva <aoliva@redhat.com>
962
963 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
964 change internal state upon failure.
965
fad64255
AO
9662012-09-05 Alexandre Oliva <aoliva@redhat.com>
967
968 * malloc/mcheck.c (mcheck_check_all): Fix typo.
969 * malloc/memusage.c (mmap): Likewise.
970 (mmap64, mremap): Likewise. Adjust name in comment.
971
1ffb8c90
SP
9722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
973
974 * libio/fileops.c: Fix typos in comments.
975 * libio/oldfileops.c: Likewise.
976 * libio/wfileops.c: Likewise.
977
6ef9cc37
SP
9782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
979
980 [BZ #1349]
981 * malloc/Makefile (tests): Add tst-malloc-usable test case.
982 (tst-malloc-usable-ENV): Set environment for test case.
983 * malloc/hooks.c (malloc_check_get_size): New function to get
984 requested size.
985 * malloc/malloc.c (musable): Use malloc_check_get_size.
986 * malloc/tst-malloc-usable.c: New test case.
987
4d038ae3
AS
9882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
989
990 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
991
c4e85184
AM
9922012-09-05 Allan McRae <allan@archlinux.org>
993
b9dafc56 994 [BZ #13966]
c4e85184
AM
995 * configure.in (CXX_SYSINCLUDES): Use compiler output to
996 determine header location.
997 * configure: Regenerated.
998
e1343020
AS
9992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1000
1001 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1002 float format.
1003 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1004 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1005 format.
e1343020
AS
1006 (test): Regenerate.
1007
0a9f1987
DM
10082012-09-04 David S. Miller <davem@davemloft.net>
1009
1010 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1011 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1013
29237804
FW
10142012-09-04 Florian Weimer <fweimer@redhat.com>
1015
1016 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1017 failures.
1018
edb3cb88
FW
1019 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1020
60160d83
JM
10212012-09-04 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #9914]
1024 * libio/iogetdelim.c: Include <limits.h>.
1025 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1026 + len + 1 would overflow.
1027
bcd6c8dc
AJ
10282012-09-03 Andreas Jaeger <aj@suse.de>
1029
1030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1031 * sysdeps/i386/fpu/libm-test-ulps: Update.
1032
4ffffbd2
LD
10332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1034
1035 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1036 Add s_sinf-sse2, s_conf-sse2.
1037
1038 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1040 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1041 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1042
1043 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1044 for using routine as __sinf_ia32.
1045 Use macro for function declaration and weak_alias.
1046 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1047 for using routine as __cosf_ia32.
1048 Use macro for function declaration and weak_alias.
1049
1050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1051 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1052
1053 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1054 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1056
1057 * math/libm-test.inc (cos_test): Add more test cases.
1058 (sin_test): Likewise.
1059 (sincos_test): Likewise.
1060
511fa286
AK
10612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1062
1063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1064 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1065 hidden.
1066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1067
5f30cfec
L
10682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 [BZ #14538]
1071 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1072 first element of the GOT.
1073 (elf_machine_load_address): Return the difference between
1074 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1075
0786794f
AM
10762012-09-01 Allan McRae <allan@archlinux.org>
1077
5f30cfec
L
1078 [BZ #13412]
1079 * configure.in (AWK): Require gawk version 3.0 or later.
1080 * configure: Regenerated.
0786794f 1081
26889eac
JM
10822012-09-01 Joseph Myers <joseph@codesourcery.com>
1083
1084 * sysdeps/unix/sysv/linux/kernel-features.h
1085 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1087 [__NR_clock_getres]: Make code unconditional.
1088 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1089 (clock_getcpuclockid): Remove code left unreachable by removal of
1090 conditionals.
1091 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1092 code unconditional.
1093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1095 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1096 Make code unconditional.
1097 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1098 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1099 * sysdeps/unix/sysv/linux/clock_settime.c
1100 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1101 conditional code.
1102 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1104
d22e28b0
L
11052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 [BZ #14476]
1108 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1109 scripts/test-installation.pl.
1110
1111 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1112 and $ld_so_version if it is set.
1113
050af9c4
SP
11142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1115
1116 [BZ #14516]
1117 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1118 failure if reading from procfs failed.
1119 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1120
ad845c0b
JM
11212012-08-27 Joseph Myers <joseph@codesourcery.com>
1122
1123 * sysdeps/unix/sysv/linux/kernel-features.h
1124 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1125 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1126 Remove conditional code.
1127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1128 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1129 Remove conditional code.
1130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1131 * sysdeps/unix/sysv/linux/i386/fxstat.c
1132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1134 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1137 * sysdeps/unix/sysv/linux/i386/lxstat.c
1138 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1140 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1141 Remove conditional code.
1142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1143 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1144 Remove conditional code.
1145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1147 <kernel-features.h>.
1148 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1149 Remove.
1150 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1151 Remove conditional code.
1152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1153 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1154 Remove conditional.
1155
5dbf56af
MF
11562012-08-27 Mike Frysinger <vapier@gentoo.org>
1157
1158 [BZ #5400]
1159 * NEWS: Add fixed bug number.
1160
d6e70f43
JM
11612012-08-27 Joseph Myers <joseph@codesourcery.com>
1162
7efb4737
JM
1163 [BZ #14519]
1164 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1165 underflowing exponent in case of negative sign.
1166 * stdlib/tst-strtod-round-data: Add more tests.
1167 * stdlib/tst-strtod-round.c (tests): Regenerated.
1168
af92131a
JM
1169 [BZ #3479]
1170 * stdlib/strtod_l.c (NDIG): Remove.
1171 (HEXNDIG): Likewise.
1172 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1173 smallest representable value.
1174 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1175 lie within an exact representation of 1/2 ulp of the result.
1176 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1177 unconditionally.
1178 (TENS_P9_IDX): Define unconditionally.
1179 (TENS_P9_SIZE): Likewise.
1180 (TENS_P10_IDX): Likewise.
1181 (TENS_P10_SIZE): Likewise.
1182 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1183 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1184 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1185 entries for 10^2^13 and 10^2^14.
1186 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1187 (TENS_P13_IDX): Define.
1188 (TENS_P13_SIZE): Likewise.
1189 (TENS_P14_IDX): Likewise.
1190 (TENS_P14_SIZE): Likewise.
1191 (_fpioconst_pow10): Change array size to
1192 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1193 unconditional.
1194 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1195 1024]: Add entries for 10^2^13 and 10^2^14.
1196 [LAST_POW10 > _LAST_POW10]: Remove #error.
1197 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1198 (_fpioconst_pow10): Change array size to
1199 FPIOCONST_POW10_ARRAY_SIZE.
1200 * stdlib/gen-fpioconst.c: New file.
1201 * stdlib/gen-tst-strtod-round.c: Likewise.
1202 * stdlib/tst-strtod-round-data: Likewise.
1203 * stdlib/tst-strtod-round.c: Likewise.
1204 * stdlib/Makefile (tests): Add tst-strtod-round.
1205
d6e70f43
JM
1206 [BZ #14459]
1207 * stdlib/strtod_l.c: Include <stdint.h>.
1208 (NDEBUG): Do not define.
1209 (round_and_return): Change EXPONENT parameter to type intmax_t.
1210 Rearrange calculations to avoid internal overflow possibilities.
1211 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1212 Rearrange calculations to avoid internal overflow possibilities.
1213 Assert that number fits inside MPNSIZE limbs.
1214 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1215 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1216 calculations and add assertions to avoid internal overflow
1217 possibilities. Add casts to avoid signed/unsigned operations.
1218 * stdlib/tst-strtod-overflow.c: New file.
1219 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1220
1f529f7d
MP
12212012-08-25 Marek Polacek <polacek@redhat.com>
1222
1223 * time/time.h: Fix some typos in comments.
1224
59a629f1
RM
12252012-08-23 Roland McGrath <roland@hack.frob.com>
1226
1227 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1228 * posix/tst-rfc3484-2.c: Likewise.
1229 * posix/tst-rfc3484-3.c: Likewise.
1230
d3bafbc9
SM
12312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1232
1233 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1234 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1235
4efcc022
JM
12362012-08-23 Joseph Myers <joseph@codesourcery.com>
1237
1238 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1239 #include of fxstatat64.c.
1240
3cc3ef96
RM
12412012-08-22 Roland McGrath <roland@hack.frob.com>
1242
f04e2132
RM
1243 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1244 * shadow/getspent_r.c: Likewise.
1245 * shadow/getspnam.c: Likewise.
1246 * shadow/getspnam_r.c: Likewise.
1247 * gshadow/getsgent.c: Likewise.
1248 * gshadow/getsgent_r.c: Likewise.
1249 * gshadow/getsgnam.c: Likewise.
1250 * gshadow/getsgnam_r.c: Likewise.
1251 * inet/getnetbyad.c: Likewise.
1252 * inet/getnetbyad_r.c: Likewise.
1253 * inet/getnetbynm.c: Likewise.
1254 * inet/getnetbynm_r.c: Likewise.
1255 * inet/getnetent.c: Likewise.
1256 * inet/getnetent_r.c: Likewise.
1257 * inet/getproto.c: Likewise.
1258 * inet/getproto_r.c: Likewise.
1259 * inet/getprtent.c: Likewise.
1260 * inet/getprtent_r.c: Likewise.
1261 * inet/getprtname.c: Likewise.
1262 * inet/getprtname_r.c: Likewise.
1263 * inet/getrpcbyname.c: Likewise.
1264 * inet/getrpcbyname_r.c: Likewise.
1265 * inet/getrpcbynumber.c: Likewise.
1266 * inet/getrpcbynumber_r.c: Likewise.
1267 * inet/getrpcent.c: Likewise.
1268 * inet/getrpcent_r.c: Likewise.
1269 * inet/getaliasent.c: Likewise.
1270 * inet/getaliasent_r.c: Likewise.
1271 * inet/getaliasname.c: Likewise.
1272 * inet/getaliasname_r.c: Likewise.
1273 * nscd/getgrgid_r.c: Likewise.
1274 * nscd/getgrnam_r.c: Likewise.
1275 * nscd/gethstbyad_r.c: Likewise.
1276 * nscd/gethstbynm3_r.c: Likewise.
1277 * nscd/getpwnam_r.c: Likewise.
1278 * nscd/getpwuid_r.c: Likewise.
1279 * nscd/getsrvbynm_r.c: Likewise.
1280 * nscd/getsrvbypt_r.c: Likewise.
1281 * nscd/gai.c: Likewise.
1282
c53d909c
RM
1283 * configure.in (build_nscd): New substituted variable, set
1284 by --disable-build-nscd and defaults to $use_nscd.
1285 * configure: Regenerated.
1286 * config.make.in (build-nscd): New substituted variable.
1287 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1288 Change conditional to require [$(build-nscd) = yes] as well.
1289 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1290
3cc3ef96
RM
1291 [BZ# 13696]
1292 * configure.in (use_nscd): New substituted variable, set by
1293 --disable-nscd. If enabled, define USE_NSCD.
1294 * configure: Regenerated.
1295 * config.h.in: Add USE_NSCD.
1296 * config.make.in (use-nscd): New substituted variable.
1297 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1298 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1299 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1300 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1301 (CFLAGS-getgrnam_r.c): Likewise.
1302 (CFLAGS-initgroups.c): Likewise.
1303 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1304 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1305 Variables removed.
1306 * inet/getnetgrent_r.c
1307 (nscd_setnetgrent): New function, broken out of ...
1308 (setnetgrent): ... here. Call it.
1309 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1310 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1311 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1312 * nscd/Makefile (routines, aux): Move definitions after include of
1313 Makeconfig. Conditionalize on [$(use-nscd) != no].
1314 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1315 Conditionalize on [USE_NSCD].
1316 (is_nscd, nscd_init_cb): Likewise.
1317 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1318 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1319 * nss/nss_db/db-init.c: Likewise.
1320 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1321 [USE_NSCD].
1322 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1323 (make_request): Use it.
1324 (cache_valid_p): New function.
1325 (__check_pf): Use it.
1326 * NEWS: Add item for --disable-nscd.
1327
07e51550
DL
13282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1329
1330 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1331 to support sed >= 4.2.1-20-ga9bf076.
1332 * configure: Regenerated.
1333
35a5b08b
RM
13342012-08-22 Roland McGrath <roland@hack.frob.com>
1335
1336 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1337 Conditionalize whole body on [IREL].
1338
8479f23a
JL
13392012-08-22 Jeff Law <law@redhat.com>
1340
1341 [BZ #14505]
1342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1343 if the family is PF_UNSPEC.
1344
48da0b21
MF
13452012-08-22 Mike Frysinger <vapier@gentoo.org>
1346
1347 * Makerules (lib-version): Rename from V.
1348 (install-lib-nosubdir): Change V to lib-version.
1349
15d0da8c
WS
13502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1351
1352 [BZ #14252]
1353 * powerpc32/power6/wcschr.c: New file.
1354 * powerpc32/power6/wcscpy.c: New file.
1355 * powerpc32/power6/wcsrchr.c: New file.
1356 * powerpc64/power6/wcschr.c: New file.
1357 * powerpc64/power6/wcscpy.c: New file.
1358 * powerpc64/power6/wcsrchr.c: New file.
1359
bcca0895
MK
13602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1361
1362 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1363 (two_way_short_needle): Use it.
5a4aaa33
RM
1364 * string/strstr.c (AVAILABLE1_USES_J): Define.
1365 * string/strcasestr.c: Likewise.
99677e57
MK
1366
1367 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1368 array references.
1369 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1370
400726de
MK
1371 [BZ #11607]
1372 * NEWS: Add an entry.
1373 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1374 define their defaults.
1375 (two_way_short_needle): Detect end-of-string on-the-fly.
1376 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1377 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1378 * string/bug-strcasestr1.c: New test.
1379 * string/Makefile: Run it.
1380
20a71f2c
MK
13812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1382
1383 [BZ #11607]
1384 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1385 the first character.
1386
21ad0558
RM
13872012-08-21 Roland McGrath <roland@hack.frob.com>
1388
1389 * csu/elf-init.c (__libc_csu_irel): Function removed.
1390 * csu/libc-start.c (apply_irel): New function.
1391 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1392
0e1d9911
JM
13932012-08-21 Joseph Myers <joseph@codesourcery.com>
1394
1395 * sysdeps/unix/sysv/linux/kernel-features.h
1396 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1397 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1398 <kernel-features.h>.
1399 [__NR_fadvise64_64]: Make code unconditional.
1400 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1401 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1402 !__NR_fadvise64_64)]: Likewise.
1403 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1404 !__NR_fadvise64_64))]: Likewise.
1405 [__NR_fadvise64]: Make code unconditional.
1406 [!__NR_fadvise64]: Remove conditional code.
1407 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1408 <kernel-features.h>.
1409 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1410 unconditional.
1411 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1412 conditional code.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1414 not include <kernel-features.h>.
1415 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1416 unconditional.
1417 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1418 conditional code.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1420 include <kernel-features.h>.
1421 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1422 unconditional.
1423 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1424 conditional code.
1425
14a50c9d
WS
14262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1427
1428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1429 slight instruction rearrangements per scrollpipe analysis.
1430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1431
c0f4faf0
RM
14322012-08-20 Roland McGrath <roland@hack.frob.com>
1433
696da859
RM
1434 * manual/syslog.texi (syslog; vsyslog, closelog):
1435 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1436 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1437
c0f4faf0
RM
1438 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1439 DSOCAPS to match condition on defining it.
1440
348363b2
JM
14412012-08-20 Joseph Myers <joseph@codesourcery.com>
1442
a35cbf28
JM
1443 * sysdeps/unix/sysv/linux/kernel-features.h
1444 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1452 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1453 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1454
445f7ecd
JM
1455 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1456 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1457
348363b2
JM
1458 * sysdeps/unix/sysv/linux/kernel-features.h
1459 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1460 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1461 unconditional.
1462 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1464 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1465 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1467 Make code unconditional.
1468 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1469 (__mmap64) [!__NR_mmap2]: Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1471 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1472 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1473 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1474 [__NR_mmap2]: Make code unconditional.
1475 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1476 (__mmap64) [!__NR_mmap2]: Likewise.
1477
bc5bc0e5
AK
14782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1479
1480 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1481
88d506de
AJ
14822012-08-18 Andreas Jaeger <aj@suse.de>
1483
1484 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1485
493387d2
MF
14862012-08-18 Mike Frysinger <vapier@gentoo.org>
1487
1488 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1489 * include/unistd.h (__have_sock_cloexec): Likewise.
1490 (__have_pipe2): Likewise.
1491 (__have_dup3): Likewise.
1492
a277af22
MF
14932012-08-18 Mike Frysinger <vapier@gentoo.org>
1494
1495 [BZ #9685]
1496 * include/unistd.h (__have_pipe2): Change define into an extern int.
1497 (__have_dup3): Likewise.
1498 * socket/have_sock_cloexec.c: Include fcntl.h.
1499 (__have_pipe2): New variable.
1500 (__have_dup3): Likewise.
1501
fdab8fd3
MF
15022012-08-17 Mike Frysinger <vapier@gentoo.org>
1503
1504 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1505
31035e80
MP
15062012-08-17 Marek Polacek <polacek@redhat.com>
1507
1508 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1509 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1510
3bd9e993
RM
15112012-08-17 Roland McGrath <roland@hack.frob.com>
1512
c91c505f
RM
1513 * configure.in: Add AC_SUBST for sysheaders.
1514 * configure: Regenerated.
1515 * config.make.in (sysheaders): New substituted variable.
1516
7c6f9d53
RM
1517 * sysdeps/unix/mkfifo.c: Moved ...
1518 * sysdeps/posix/mkfifo.c: ... here.
1519 * sysdeps/unix/mkfifoat.c: Moved ...
1520 * sysdeps/posix/mkfifoat.c: ... here.
1521
1522 * sysdeps/unix/utime.c: Moved ...
1523 * sysdeps/posix/utime.c: ... here.
1524
1525 * sysdeps/unix/time.c: Moved ...
1526 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1527 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1529
1530 * sysdeps/unix/nice.c: Moved ...
1531 * sysdeps/posix/nice.c: ... here.
1532
1533 * sysdeps/unix/alarm.c: Moved ...
1534 * sysdeps/posix/alarm.c: ... here.
1535
3bd9e993
RM
1536 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1537
d1f09384
JL
15382012-08-17 Jeff Law <law@redhat.com>
1539
1540 * intl/Makefile (codeset_mo): New variable.
1541 ($(codeset_mo)): New target.
1542 (tst-codeset.out): Depend on that. Remove explicit rule.
1543 (tst-gettext3.out, tst-gettext5.out): Likewise.
1544 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1545 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1546 * intl/tst-codeset.sh: Remove.
1547 * intl/tst-gettext3.sh: Likewise.
1548 * intl/tst-gettext5.sh: Likewise.
1549
2ae1ae5c
RM
15502012-08-17 Roland McGrath <roland@hack.frob.com>
1551
c31fdb83
RM
1552 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1553 * sysdeps/unix/syscalls.list: ... here.
1554
a0844057
RM
1555 * sysdeps/posix/getaddrinfo.c
1556 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1557 (gaiconf_init, gaiconf_reload): Use them.
1558 [!_STATBUF_ST_NSEC]
1559 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1560 Define using time_t rather than struct timespec.
1561
750c1f2a
RM
1562 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1563 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1564 Macros removed.
1565 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1566 [!NO_THREADS].
1567 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1568 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1569 Likewise.
1570
2ae1ae5c
RM
1571 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1572 __libc_cleanup_push argument.
1573
e66a42f5
RM
1574 * bits/param.h: New file.
1575 * misc/sys/param.h: New file.
1576 * include/sys/param.h: New file.
1577 * misc/Makefile (headers): Add bits/param.h.
1578 * sysdeps/generic/sys/param.h: File removed.
1579 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1580 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1581 * sysdeps/mach/hurd/bits/param.h: New file.
1582 * sysdeps/mach/hurd/sys/param.h: New file.
1583
b7c08a66
RM
1584 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1585 last change.
1586
b2e1c562
RM
1587 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1588 [_IO_MTSAFE_IO].
1589 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1590 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1591 New macros.
1592
c75ccd4c
RM
1593 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1594 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1595 rather than -D_IO_MTSAFE_IO conditionally.
1596 * stdio-common/Makefile (CPPFLAGS): Likewise.
1597 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1598 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1599 Use $(libio-mtsafe).
1600 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1601 of -D_IO_MTSAFE_IO.
1602 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1603 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1604 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1605 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1606 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1607 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1608 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1609 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1610 (CFLAGS-fread_u_chk.c): Likewise.
1611 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1612 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1613 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1614 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1615 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1616 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1617 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1618 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1619 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1620
1621 * libio/Makefile: Test [$(libc-reentrant) = yes]
1622 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1623
1624 * Makeconfig
1625 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1626 * sysdeps/pthread/configure: File removed.
1627 * sysdeps/pthread/Makeconfig: New file.
1628 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1629 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1630
d9195db8
GB
16312012-08-16 Gary Benson <gbenson@redhat.com>
1632
1633 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1634 unmapping the first object in a namespace.
1635
86466cd9
RM
16362012-08-16 Roland McGrath <roland@hack.frob.com>
1637
1638 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1639 (__internal_setnetgrent): ... this. Add internal_function to
1640 definition. Add libc_hidden_def.
1641 (setnetgrent): Update caller.
1642 (internal_endnetgrent): Renamed to ...
1643 (__internal_endnetgrent): ... this. Add internal_function to
1644 definition. Add libc_hidden_def.
1645 (endnetgrent): Update caller.
1646 (internal_getnetgrent_r): Renamed to ...
1647 (__internal_getnetgrent_r): ... this. Add internal_function to
1648 definition. Add libc_hidden_def.
1649 (__getnetgrent_r): Update caller.
1650 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1651
c3c8283c
JM
16522012-08-16 Joseph Myers <joseph@codesourcery.com>
1653
1654 * stdlib/longlong.h: Update from GCC.
1655
db1ee0a8
RM
16562012-08-16 Roland McGrath <roland@hack.frob.com>
1657
1658 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1659 on _QL, which is set by umul_ppmm but never used.
1660 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1661 variables, which are set by GMP macros but never used.
1662 * stdio-common/_itowa.c (_itowa): Likewise.
1663 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1664 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1665
30f69637
CD
16662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1667
1668 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1669 struct La_sh_regs is not constant.
1670 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1671 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1672 and struct La_sparc64_regs are not constant.
1673
93a78ac4
JM
16742012-08-16 Joseph Myers <joseph@codesourcery.com>
1675
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_POSIX_TIMERS): Remove.
1678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1680 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1681 Make code unconditional.
1682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1683 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1684 Make code unconditional.
1685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1686 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1687 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1689 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1690 Make code unconditional.
1691 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1692 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1693 (__libc_missing_posix_timers): Remove.
1694
dd924cd7
RM
16952012-08-15 Roland McGrath <roland@hack.frob.com>
1696
4b4f2771
RM
1697 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1698 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1699
601c888b
RM
1700 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1701
176790a7
RM
1702 * elf/dl-sym.c: Include <stdlib.h>.
1703
329bc018
RM
1704 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1705 constants, which avoids warnings in 32-bit builds.
1706
e04e272d
RM
1707 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1708 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1709
952bf94a
RM
1710 * misc/lseek.c: File moved to ...
1711 * io/lseek.c: ... here.
1712
7c99b50a
RM
1713 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1714
dd924cd7
RM
1715 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1716 shifting LEN more than 31 bits at once.
1717
b3f479a8
LD
17182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1719
1720 [BZ #14195]
8c4ae0d4
RM
1721 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1722 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1723 * string/test-strncasecmp.c (check1): Renamed to...
1724 (bz12205): ...this.
1725 (bz14195): Add new testcase for two empty input strings and N > 0.
1726 (test_main): Call new testcase, adapt for renamed function.
1727
9c55864e
AJ
17282012-08-15 Andreas Jaeger <aj@suse.de>
1729
1730 [BZ #14090]
1731 * crypt/md5test2.c: New test, based on test supplied by Serge
1732 Belyshev <belyshev@depni.sinp.msu.ru>.
1733 * crypt/Makefile (xtests): Add md5test-giant..
1734 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1735
02dcb6c5
PE
17362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1737
1738 [BZ #14090]
1739 * crypt/md5.c (md5_process_block): Don't assume the buffer
1740 length is less than 2**32.
1741 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1742 length is less than 2**64.
1743
a3f95dcc
RM
17442012-08-15 Roland McGrath <roland@hack.frob.com>
1745
be75d758
RM
1746 * string/str-two-way.h: Include <sys/param.h>.
1747 (MAX): Macro removed.
1748
7312ca90
RM
1749 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1750 Move #define and #undef of memmove to just before and after
1751 including <string.h>.
1752
9a0a5486
RM
1753 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1754 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1755 and after including <string.h>. Move declarations of
1756 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1757 to before #include "string/memmove.c".
1758
67cc348d
RM
1759 * include/dirent.h: Declare __getdirentries.
1760
a3f95dcc
RM
1761 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1762 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1763
ca98e171
MF
17642012-08-14 Mike Frysinger <vapier@gentoo.org>
1765
1766 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1767 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1768 * sysdeps/i386/configure: Regenerated.
1769 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1770 STABS_CURRENT_FILE, and STABS_FUN.
1771 (END): Remove call to STABS_FUN_END.
1772 (STABS_CURRENT_FILE1): Delete.
1773 (STABS_CURRENT_FILE): Likewise.
1774 (STABS_FUN): Likewise.
1775 (STABS_FUN_END): Likewise.
1776 (STABS_FUN2): Likewise.
1777 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1778 * sysdeps/x86_64/configure: Regenerated.
1779
5908bf46
RM
17802012-08-14 Roland McGrath <roland@hack.frob.com>
1781
1782 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1783 * elf/dl-lookup.c: Likewise.
5908bf46 1784
f2c05b9e
JM
17852012-08-14 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/unix/sysv/linux/kernel-features.h
1788 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1789 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1790 unconditionally.
1791 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1792 unconditionally.
1793 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1794 condition on __ASSUME_CLONE_THREAD_FLAGS.
1795
e11f5155
AJ
17962012-08-14 Andreas Jaeger <aj@suse.de>
1797
1798 * sysdeps/i386/fpu/libm-test-ulps: Update.
1799
51a9ba86
MK
18002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1801
2fdd4f78
AJ
1802 * include/atomic.h (atomic_exchange_and_add): Split into ...
1803 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1804 New atomic macros.
51a9ba86 1805
ba6cba9e
MT
18062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1807
1808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1809
42443a47
JL
18102012-08-13 Jeff Law <law@redhat.com>
1811
1812 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1813 null byte in the output string.
1814
121dce05
JM
18152012-08-10 Joseph Myers <joseph@codesourcery.com>
1816
1817 * sysdeps/unix/sysv/linux/kernel-features.h
1818 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1819 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1820 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1822 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1823 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1824 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1825
bf51f568
JL
18262012-08-09 Jeff Law <law@redhat.com>
1827
1828 [BZ #13939]
1829 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1830 When avoid_arena is set, don't retry in the that arena. Pick the
1831 next one, whatever it might be.
1832 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1833 (arena_lock): Pass in new parameter to arena_get2.
1834 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1835 arena_get2.
1836 (__libc_malloc): Unify retrying after main arena failure with
1837 __libc_memalign version.
1838 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1839
f85fa270
L
18402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 [BZ #14166]
1843 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1844 to __redirect_strstr.
1845 (__strstr_sse42): Use typeof __redirect_strstr.
1846 (__strstr_ia32): Likewise.
1847 (__libc_strstr): New prototype.
1848 (strstr): Renamed to ...
1849 (__libc_strstr): This.
1850 (strstr): New strong alias of __libc_strstr.
1851 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1853 __redirect_time.
1854 Include <time.h>.
1855 (__libc_time): New prototype.
1856 (time_ifunc): Replace time with __libc_time.
1857 (time): New strong alias and hidden definition of __libc_time.
1858 (__GI_time): Remove strong alias.
1859 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1860 Include <stddef.h>.
1861 (memmove): Redefined to __redirect_memmove.
1862 (__memmove_sse2): Use typeof __redirect_memmove.
1863 (__memmove_ssse3): Likewise.
1864 (__memmove_ssse3_back): Likewise.
1865 (__libc_memmove): New prototype.
1866 (memmove): Renamed to ...
1867 (__libc_memmove): This.
1868 (memmove): New strong alias of __libc_memmove.
1869
33b4a91e
MS
18702012-08-08 Mark Salter <msalter@redhat.com>
1871
1872 * elf/elf.h
1873 (R_MN10300_TLS_GD): Define.
1874 (R_MN10300_TLS_LD): Likewise.
1875 (R_MN10300_TLS_LDO): Likewise.
1876 (R_MN10300_TLS_GOTIE): Likewise.
1877 (R_MN10300_TLS_IE): Likewise.
1878 (R_MN10300_TLS_LE): Likewise.
1879 (R_MN10300_TLS_DTPMOD): Likewise.
1880 (R_MN10300_TLS_DTPOFF): Likewise.
1881 (R_MN10300_TLS_TPOFF): Likewise.
1882 (R_MN10300_SYM_DIFF): Likewise.
1883 (R_MN10300_ALIGN): Likewise.
1884 (R_MN10300_NUM): Update.
1885
b36137f1
JM
18862012-08-08 Joseph Myers <joseph@codesourcery.com>
1887
1888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1889 Remove.
1890
cdd915fd
RM
18912012-08-08 Roland McGrath <roland@hack.frob.com>
1892
a2433aac
RM
1893 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1894
cdd915fd
RM
1895 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1896 sysdeps/unix -> sysdeps/posix move.
1897 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1898
bf9b740a
AM
18992012-08-07 Allan McRae <allan@archlinux.org>
1900
1901 [BZ #14303]
1902 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1903 (SUNOS_CPP): Likewise.
1904 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1905 not found.
1906 (open_input): Call CPP using execvp.
1907
93df14ee
JM
19082012-08-07 Joseph Myers <joseph@codesourcery.com>
1909
1910 * sysdeps/unix/sysv/linux/kernel-features.h
1911 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1914 (__ASSUME_WAITID_SYSCALL): Likewise.
1915 * sysdeps/unix/sysv/linux/dl-execstack.c
1916 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1917 code unconditional.
1918 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1919 conditional code.
1920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1921 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1922 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1923 code.
1924 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1925 unconditional.
1926 [__ASSUME_WAITID_SYSCALL]: Likewise.
1927 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1928
d34689de
RM
19292012-08-07 Roland McGrath <roland@hack.frob.com>
1930
a281decc
RM
1931 * sysdeps/unix/closedir.c: Renamed to ...
1932 * sysdeps/posix/closedir.c: ... here.
1933 * sysdeps/unix/dirfd.c: Renamed to ...
1934 * sysdeps/posix/dirfd.c: ... here.
1935 * sysdeps/unix/dirstream.h: Renamed to ...
1936 * sysdeps/posix/dirstream.h: ... here.
1937 * sysdeps/unix/fdopendir.c: Renamed to ...
1938 * sysdeps/posix/fdopendir.c: ... here.
1939 * sysdeps/unix/opendir.c: Renamed to ...
1940 * sysdeps/posix/opendir.c: ... here.
1941 * sysdeps/unix/readdir.c: Renamed to ...
1942 * sysdeps/posix/readdir.c: ... here.
1943 * sysdeps/unix/readdir_r.c: Renamed to ...
1944 * sysdeps/posix/readdir_r.c: ... here.
1945 * sysdeps/unix/rewinddir.c: Renamed to ...
1946 * sysdeps/posix/rewinddir.c: ... here.
1947 * sysdeps/unix/seekdir.c: Renamed to ...
1948 * sysdeps/posix/seekdir.c: ... here.
1949 * sysdeps/unix/telldir.c: Renamed to ...
1950 * sysdeps/posix/telldir.c: ... here.
1951 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1952 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1953 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1954 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1955
22895b47
RM
1956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1957 * bits/fcntl.h: ... here.
1958
707a53b6
RM
1959 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1960 not 0.
1961 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1962 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1963 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1964 (struct flock): Move l_start, l_len to the beginning.
1965 Use __pid_t for l_pid.
1966 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1967 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1968 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1969 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1970 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1971 [__USE_LARGEFILE64] (struct flock64): New type.
1972 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1973
f0bd3e25
RM
1974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1975 * bits/dirent.h: ... here.
1976
d34689de
RM
1977 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1978 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1979
6dad2c06
JM
19802012-08-07 Joseph Myers <joseph@codesourcery.com>
1981
1982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1983 Change from 2.6.0 to 2.6.16.
1984 * sysdeps/unix/sysv/linux/configure: Regenerated.
1985 * sysdeps/unix/sysv/linux/kernel-features.h
1986 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1987 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1988 version.
1989 (__ASSUME_UTIMES): Likewise.
1990 (__ASSUME_CLONE_STOPPED): Remove.
1991 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1992 architectures, not kernel version.
1993 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1994 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1995 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1996 (__ASSUME_WAITID_SYSCALL): Likewise.
1997 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1998 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1999 * README: State 2.6.16 as minimum Linux kernel version. Do not
2000 refer to older versions.
2001
03af9520
RM
20022012-08-06 Roland McGrath <roland@hack.frob.com>
2003
8e49df1d
RM
2004 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2005 Define alphasort64 as an alias.
2006 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2007 Define versionsort64 as an alias.
2008 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2009 Define scandir64 as an alias.
2010 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2011 Define scandirat64 as an alias.
2012 * dirent/alphasort64.c (alphasort64):
2013 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2014 * dirent/versionsort64.c: Likewise.
2015 * dirent/scandir64.c: Likewise.
2016 * dirent/scandirat64.c: Likewise.
2017 * sysdeps/wordsize-64/alphasort.c: File removed.
2018 * sysdeps/wordsize-64/alphasort64.c: File removed.
2019 * sysdeps/wordsize-64/scandir.c: File removed.
2020 * sysdeps/wordsize-64/scandir64.c: File removed.
2021 * sysdeps/wordsize-64/scandirat.c: File removed.
2022 * sysdeps/wordsize-64/scandirat64.c: File removed.
2023 * sysdeps/wordsize-64/versionsort.c: File removed.
2024 * sysdeps/wordsize-64/versionsort64.c: File removed.
2025 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2028 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2033
2034 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2036 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2038 [defined __arch64__ || defined __sparcv9]
2039 (__INO_T_MATCHES_INO64_T): New macro.
2040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2041 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2042 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2043 * sysdeps/unix/sysv/linux/bits/dirent.h
2044 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2045 (_DIRENT_MATCHES_DIRENT64): New macro.
2046
03af9520
RM
2047 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2048 Define lockf64 as an alias.
2049 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2050 Define fseeko64 as an alias.
2051 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2052 Define ftello64 as an alias.
2053 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2054 Define _IO_fgetpos64 and fgetpos64 as aliases.
2055 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2056 Define _IO_fsetpos64 and fsetpos64 as aliases.
2057 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2058 Conditionalize body on this.
2059 * libio/fseeko64.c: Likewise.
2060 * libio/ftello64.c: Likewise.
2061 * libio/iofgetpos64.c: Likewise.
2062 * libio/iofsetpos64.c: Likewise.
2063 * sysdeps/wordsize-64/lockf.c: File removed.
2064 * sysdeps/wordsize-64/lockf64.c: File removed.
2065 * sysdeps/wordsize-64/fseeko.c: File removed.
2066 * sysdeps/wordsize-64/fseeko64.c: File removed.
2067 * sysdeps/wordsize-64/ftello.c: File removed.
2068 * sysdeps/wordsize-64/ftello64.c: File removed.
2069 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2070 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2071 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2072 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2076 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2083
2084 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2086 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2088 [defined __arch64__ || defined __sparcv9]
2089 (__OFF_T_MATCHES_OFF64_T): New macro.
2090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2091 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2093 (__OFF_T_MATCHES_OFF64_T): New macro.
2094
c5757acd
L
20952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * stdlib/secure-getenv.c (__secure_getenv): Replace
2098 GLIBC_2_16 with GLIBC_2_17.
2099
3a31811e
L
21002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2104
faa2bccb
DM
21052012-08-03 David S. Miller <davem@davemloft.net>
2106
2107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2108
85fe1997
JM
21092012-08-03 Joseph Myers <joseph@codesourcery.com>
2110
2111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2112 Remove.
2113 (__ASSUME_CORRECT_SI_PID): Likewise.
2114 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2115 (__ASSUME_TMPFS_NAME): Likewise.
2116 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2117 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2119 (HAVE_AUX_SECURE): Make definition unconditional.
2120 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2121 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2122
4f75b7a0
RM
21232012-08-03 Roland McGrath <roland@hack.frob.com>
2124
2125 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2126 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2127 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2129 __eloop_threshold instead of SYMLOOP_MAX.
2130
2131 * sysdeps/generic/eloop-threshold.h: New file.
2132 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2133 of MAXSYMLINKS.
2134 * elf/chroot_canon.c (chroot_canon): Likewise.
2135
7aab07e4
JM
21362012-08-03 Joseph Myers <joseph@codesourcery.com>
2137
2138 [BZ #13717]
2139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2140 Change to 2.6.0 everywhere.
2141 * sysdeps/unix/sysv/linux/configure: Regenerated.
2142 * sysdeps/unix/sysv/linux/kernel-features.h
2143 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2144 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2145 kernel versions.
2146 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2147 (__ASSUME_FUTEX_REQUEUE): Remove.
2148 (__ASSUME_STATFS64): Define unconditionally.
2149 (__ASSUME_AT_SECURE): Likewise.
2150 (__ASSUME_CORRECT_SI_PID): Likewise.
2151 (__ASSUME_TGKILL): Define without depending on kernel version for
2152 i386.
2153 (__ASSUME_UTIMES): Likewise.
2154 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2155 kernel version.
2156 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2157 (__ASSUME_TMPFS_NAME): Likewise.
2158 * README: Update reference to Linux kernel versions.
2159
b67e9372
MP
21602012-08-02 Marek Polacek <polacek@redhat.com>
2161
1f529f7d 2162 [BZ# 14150]
b67e9372
MP
2163 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2164 libc_cv_asm_type_prefix with %.
2165 * configure: Regenerated.
d2441631
RM
2166 * include/libc-symbols.h: Remove comment about
2167 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2168 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2169 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2170 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2171 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2172 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2173 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2174 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2175 * elf/tst-unique2mod1.c: Likewise.
2176 * elf/tst-unique1mod2.c: Likewise.
2177 * elf/tst-unique1mod1.c: Likewise.
2178 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2179 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2180 Replace ASM_TYPE_DIRECTIVE with .type.
2181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2182 * sysdeps/i386/sysdep.h: Likewise.
2183 * sysdeps/x86_64/sysdep.h: Likewise.
2184 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2186 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2187 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2188 * sysdeps/powerpc/powerpc32/sysdep.h:
2189 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2190 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2192 * sysdeps/i386/fpu/e_powf.S: Likewise.
2193 * sysdeps/i386/fpu/e_expl.S: Likewise.
2194 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2195 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2196 * sysdeps/i386/fpu/e_pow.S: Likewise.
2197 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2199 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2200 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2201 * sysdeps/i386/fpu/e_log2.S: Likewise.
2202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2204 * sysdeps/i386/fpu/e_powl.S: Likewise.
2205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2206 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2207 * sysdeps/i386/fpu/e_logl.S: Likewise.
2208 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2209 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2210 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2211 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2213 * sysdeps/i386/fpu/e_log.S: Likewise.
2214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2215 * sysdeps/i386/fpu/e_logf.S: Likewise.
2216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2217 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2218 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2219 * sysdeps/i386/fpu/e_log10.S: Likewise.
2220 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2222 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2223 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2226 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2227 * sysdeps/i386/i686/strtok.S: Likewise.
2228 * sysdeps/i386/i386-mcount.S: Likewise.
2229 * sysdeps/i386/strtok.S: Likewise.
2230 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2231 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2234 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2236 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2237 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2239 * sysdeps/x86_64/_mcount.S: Likewise.
2240 * sysdeps/x86_64/strtok.S: Likewise.
2241 * sysdeps/sh/_mcount.S: Likewise.
2242
2747bf9a
RM
22432012-08-01 Roland McGrath <roland@hack.frob.com>
2244
2245 * libio/iofopen.c: Include <fcntl.h>.
2246 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2247 (_IO_fopen64, fopen64): Define as aliases.
2248 * libio/iofopen64.c: Include <fcntl.h>.
2249 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2250 Conditionalize body on this.
2251 * sysdeps/wordsize-64/iofopen.c: File removed.
2252 * sysdeps/wordsize-64/iofopen64.c: File removed.
2253
3fb791b8
MP
22542012-08-01 Marek Polacek <polacek@redhat.com>
2255
2256 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2257 Use dlfcn directly instead of a variable.
2258 (binfmt-subdir): Do not define.
2259 (dlfcn): Likewise.
2260
a9f1039f
JM
22612012-08-01 Joseph Myers <joseph@codesourcery.com>
2262
23bddc06
JM
2263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2264 Remove all definitions.
2265 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2266 <kernel-features.h>.
2267 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2268 (miss_F_GETOWN_EX): Remove all definitions.
2269 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2270 macro definition.
2271 [!__ASSUME_FCNTL64]: Remove conditional code.
2272 [__ASSUME_FCNTL64]: Make code unconditional.
2273 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2274 <kernel-features.h>.
2275 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2276 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2277 (lockf64) [__NR_fcntl64]: Make code unconditional.
2278 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2279
a9f1039f
JM
2280 * sysdeps/unix/sysv/linux/kernel-features.h
2281 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2282 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2283 Make code unconditional.
2284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2287 [__NR_vfork]: Make code unconditional.
2288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2291 [__NR_vfork]: Make code unconditional.
2292 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2293 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2294
09c0ee5f
RM
22952012-08-01 Roland McGrath <roland@hack.frob.com>
2296
48aec5b9
RM
2297 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2298 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2299
cd97c966
RM
2300 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2301 Define mkstemp64 as an alias.
3f55550c
RM
2302 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2303 Define mkstemps64 as an alias.
cd97c966
RM
2304 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2305 Define mkostemp64 as an alias.
b8625cfc
RM
2306 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2307 Define mkostemps64 as an alias.
cd97c966
RM
2308 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2309 Conditionalize body on this.
2310 * misc/mkostemp64.c: Likewise.
b8625cfc 2311 * misc/mkostemps64.c: Likewise.
3f55550c 2312 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2313 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2314 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2315 * sysdeps/wordsize-64/mkostemp.c: File removed.
2316 * sysdeps/wordsize-64/mkstemp.c: File removed.
2317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2321
09c0ee5f
RM
2322 [BZ #14138]
2323 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2324 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2325 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2326 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2327
2328 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2329 compat_symbol macros from <shlib-compat.h> rather than the underlying
2330 default_symbol_version and symbol_version macros, so that DEFAULT
2331 lines in shlib-versions are respected.
2332 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2333
7e66ee51
FW
23342012-08-01 Florian Weimer <fweimer@redhat.com>
2335
2336 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2337 Declare with warn_unused_result.
2338 (setgid, setregid, setegid, setresgid): Likewise.
2339 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2340 Likewise.
2341 * WUR-REPORT: Remove set*id functions.
2342
d2a54255
PT
23432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2344
2345 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2346
7ecdb005
RM
23472012-07-31 Roland McGrath <roland@hack.frob.com>
2348
789bd351
RM
2349 * include/sys/socket.h (__libc_accept, __libc_accept4):
2350 Add attribute_hidden.
2351 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2352
40ce302d
RM
2353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2354 use of PTR_MANGLE.
2355 * inet/getnetgrent_r.c (setup): Likewise.
2356
7ecdb005
RM
2357 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2358
e2eabb2c
DM
23592012-07-31 David S. Miller <davem@davemloft.net>
2360
2361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2362
d0419dbf
JM
23632012-07-31 Joseph Myers <joseph@codesourcery.com>
2364
2365 [BZ #13629]
2366 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2367 value between 1.0 and 2.0 and smaller part has absolute value less
2368 than 1.0.
2369 * math/s_clog10.c (__clog10): Likewise.
2370 * math/s_clog10f.c (__clog10f): Likewise.
2371 * math/s_clog10l.c (__clog10l): Likewise.
2372 * math/s_clogf.c (__clogf): Likewise.
2373 * math/s_clogl.c (__clogl): Likewise.
2374 * math/libm-test.inc (clog_test): Add more tests.
2375 (clog10_test): Likewise.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2378
2bc13872
FW
23792012-07-31 Florian Weimer <fweimer@redhat.com>
2380
2381 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2382 Exit with zero in case no suitable GID is found, and write a
2383 message to standard error.
2384
bea9b193
RM
23852012-07-30 Roland McGrath <roland@hack.frob.com>
2386
2387 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2388 rather than to 1.
2389 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2390 (MAXPATHLEN): Removed.
2391 (NOGROUP, NODEV): New macros.
2392 (setbit, clrbit, isset, isclr): New macros.
2393 (howmany, roundup, powerof2): New macros.
2394 (DEV_BSIZE): New macro.
2395
2396 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2397 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2398
2399 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2400 definition on [!__NO_LONG_DOUBLE_MATH].
2401
2402 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2403 PTR_MANGLE and PTR_DEMANGLE.
2404
2405 * socket/accept4.c (accept4): Rename to __libc_accept4.
2406 Define accept4 as a weak alias.
2407
2408 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2409 on [_DIRENT_HAVE_D_TYPE].
2410 * io/ftw.c (ftw_dir): Likewise.
2411
2412 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2413
2414 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2415
2416 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2417 Use the BSD numbers rather than the arbitrary ones we had.
2418 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2419 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2420 (SIGXCPU, SIGXFSZ): New macros.
2421 (_NSIG): Now 32.
2422
2423 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2424 initializer on [_LIBC_REENTRANT].
2425
2426 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2427 definitions inside [_POSIX_MAPPED_FILES].
2428
2429 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2430
2431 * dirent/opendir.c: Include <fcntl.h>.
2432
2433 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2434 (__libc_getspecific): Likewise.
2435 (__libc_key_create): Likewise.
2436
2437 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2438 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2439 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2440 (tmpfile64): Define as alias.
2441 * sysdeps/wordsize-64/tmpfile.c: File removed.
2442 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2445
2446 * stdio-common/vfscanf.c: Include <stdbool.h>.
2447 * nss/makedb.c: Likewise.
2448 * stdio-common/_i18n_number.h: Likewise.
2449 * argp/argp-help.c: Likewise.
2450 * posix/wordexp.c: Likewise.
2451 * sysdeps/posix/spawni.c: Likewise.
2452 * nss/nss_files/files-initgroups.c: Likewise.
2453 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2454 * nss/nss_files/files-initgroups.c: Likewise.
2455 * nss/nss_db/db-netgrp.c: Likewise.
2456 * nss/nss_db/db-initgroups.c: Likewise.
2457 * io/fchmodat.c: Include <sys/stat.h>.
2458
2459 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2460 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2461
2462 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2463 [HAVE_MMAP].
2464
2465 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2466 Add multiple inclusion protection.
2467
e5abc686
DM
24682012-07-27 David S. Miller <davem@davemloft.net>
2469
2470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2471
815e6fa3
GB
24722012-07-27 Gary Benson <gbenson@redhat.com>
2473
2474 [BZ #14298]
2475 * elf/rtld.c: Include <stap-probe.h>.
2476 (dl_main): Added static probes "init_start" and "init_complete".
2477 * elf/dl-load.c: Include <stap-probe.h>.
2478 (lose): Take new parameter "nsid".
2479 Added static probe "map_failed".
2480 (_dl_map_object_from_fd): Pass namespace id to lose.
2481 Added static probe "map_start".
2482 (open_verify): Pass namespace id to lose.
2483 * elf/dl-open.c: Include <stap-probe.h>.
2484 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2485 and "reloc_complete".
2486 * elf/dl-close.c: Include <stap-probe.h>.
2487 (_dl_close_worker): Added static probes "unmap_start" and
2488 "unmap_complete".
2489 * elf/rtld-debugger-interface.txt: New file documenting the above.
2490
9f98c16c
RM
24912012-07-26 Roland McGrath <roland@hack.frob.com>
2492
2493 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2494 rather than a string variable.
2495 * sunrpc/rpc_main.c (h_output): Likewise.
2496 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2497
f3c22df3
PT
24982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2499
2500 * inet/check_native.c: New file.
2501
3129cfc6
JM
25022012-07-26 Joseph Myers <joseph@codesourcery.com>
2503
da865e95
JM
2504 [BZ #13629]
2505 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2506 if larger part has absolute value 1.0.
2507 * math/s_clog10.c (__clog10): Likewise.
2508 * math/s_clog10f.c (__clog10f): Likewise.
2509 * math/s_clog10l.c (__clog10l): Likewise.
2510 * math/s_clogf.c (__clogf): Likewise.
2511 * math/s_clogl.c (__clogl): Likewise.
2512 * math/libm-test.inc (clog_test): Add more tests.
2513 (clog10_test): Likewise.
2514 * sysdeps/i386/fpu/libm-test-ulps: Update.
2515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2516
3129cfc6
JM
2517 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2518 (pltexit): Likewise.
2519 (La_regs): Likewise.
2520 (La_retval): Likewise.
2521 (int_retval): Likewise.
2522 Update #error for removed macros to refer only to definitions in
2523 tst-audit.h.
2524 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2525 macro.
2526 (pltexit): Likewise.
2527 (La_regs): Likewise.
2528 (La_retval): Likewise.
2529 (int_retval): Likewise.
2530 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2531 macro.
2532 (pltexit): Likewise.
2533 (La_regs): Likewise.
2534 (La_retval): Likewise.
2535 (int_retval): Likewise.
2536 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2537 macro.
2538 (pltexit): Likewise.
2539 (La_regs): Likewise.
2540 (La_retval): Likewise.
2541 (int_retval): Likewise.
2542 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2543 macro.
2544 (pltexit): Likewise.
2545 (La_regs): Likewise.
2546 (La_retval): Likewise.
2547 (int_retval): Likewise.
2548 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2549 macro.
2550 (pltexit): Likewise.
2551 (La_regs): Likewise.
2552 (La_retval): Likewise.
2553 (int_retval): Likewise.
2554 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2555 macro.
2556 (pltexit): Likewise.
2557 (La_regs): Likewise.
2558 (La_retval): Likewise.
2559 (int_retval): Likewise.
2560 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2561 macro definitions in tst-audit.h.
2562 * sysdeps/i386/tst-audit.h: New file.
2563 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2564 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2565 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2566 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2567 * sysdeps/sh/tst-audit.h: Likewise.
2568 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2569 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2570 * sysdeps/x86_64/tst-audit.h: Likewise.
2571
bfc07087
AJ
25722012-07-26 Andreas Jaeger <aj@suse.de>
2573
b1b2aaf8
AJ
2574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2575 ptrace.
2576
2577 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2578 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2579 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2580 PTRACE_O_MASK.
2581 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2584
bfc07087
AJ
2585 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2586 value.
2587
2588 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2589 _sigsys.
2590 (si_call_addr, si_syscall, si_arch): Define new macro.
2591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2592 _sigsys.
2593 (si_call_addr, si_syscall, si_arch): Define new marcro.
2594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2595 _sigsys.
2596 (si_call_addr, si_syscall, si_arch): Define new macro.
2597 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2598 _sigsys.
2599 (si_call_addr, si_syscall, si_arch): Define new macro.
2600
89b4b02f
JM
26012012-07-25 Joseph Myers <joseph@codesourcery.com>
2602
2603 [BZ #13717]
2604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2605 Change to 2.4.21 where previously 2.4.1.
2606 * sysdeps/unix/sysv/linux/configure: Regenerated.
2607 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2608 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2609 Linux kernel version.
2610 (__ASSUME_STD_AUXV): Remove.
2611 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2612 kernel version.
2613 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2614 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2615 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2616 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2617 (__ASSUME_NETLINK_SUPPORT): Likewise.
2618 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2619 (__no_netlink_support): Remove conditional definition.
2620 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2621 Remove.
2622 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2623 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2624 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2625 (if_nameindex_ioctl): Remove.
2626 (if_nameindex_netlink): Do not handle __no_netlink_support.
2627 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2628 code.
2629 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2630 Remove conditional code.
2631 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2632 code.
2633 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2634 unconditional.
2635 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2636 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2637 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2638 Remove.
2639 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2640 [!__ASSUME_STD_AUXV]: Remove conditional code.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2642 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2643 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2645 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2646 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2647 code.
2648 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2650 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2651 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2652 conditional code.
2653 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2655 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2656 code.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2658 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2659 conditional code.
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2661 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2662 code unconditional.
2663 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2664 conditional code.
2665 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2666 unconditional.
2667 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2668 conditional code.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2670 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2671 unconditional.
2672 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2673 conditional code.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2675 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2676 code unconditional.
2677 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2678 conditional code.
2679 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2680 unconditional.
2681 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2682 conditional code.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2684 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2685 code unconditional.
2686 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2687 conditional code.
2688 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2689 unconditional.
2690 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2691 conditional code.
2692
842a39cd
AS
26932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2694
2695 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2696 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2697 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2698 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2703 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2704 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2705 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2706 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2707 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2708 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2710 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2713 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2715 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2716 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2718
84b3fd84
FW
27192012-07-25 Florian Weimer <fweimer@redhat.com>
2720
2721 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2722 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2723 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2724 Introduce __libc_secure_getenv.
0c7936d5
FW
2725 * stdlib/Versions (2.17): Add secure_getenv
2726 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2727 * stdlib/secure-getenv.c: Rename __secure_getenv to
2728 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2729 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2730 * stdlib/tst-secure-getenv.c: New.
2731 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2732 * manual/startup.texi (Environment Access): Document
2733 secure_getenv.
84b3fd84
FW
2734 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2735 __libc_secure_getenv.
2736 * inet/ruserpass.c (ruserpass): Likewise.
2737 * malloc/mtrace.c (mtrace): Likewise.
2738 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2739 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2740 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2741 * sysdeps/posix/tempname.c: Likewise. Evaluate
2742 HAVE_SECURE_GETENV.
2743 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2744 __secure_getenv to __libc_secure_getenv.
84b3fd84 2745 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2747 Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2749 Likewise.
2750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2757
56e49b71
JM
27582012-07-25 Joseph Myers <joseph@codesourcery.com>
2759
2760 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2761 (struct La_i86_retval): Likewise.
2762 (struct La_x86_64_regs): Likewise.
2763 (struct La_x86_64_retval): Likewise.
2764 (struct La_x32_regs): Likewise.
2765 (struct La_x32_retval): Likewise.
2766 (struct La_ppc32_regs): Likewise.
2767 (struct La_ppc32_retval): Likewise.
2768 (struct La_ppc64_regs): Likewise.
2769 (struct La_ppc64_retval): Likewise.
2770 (struct La_sh_regs): Likewise.
2771 (struct La_sh_retval): Likewise.
2772 (struct La_s390_32_regs): Likewise.
2773 (struct La_s390_32_retval): Likewise.
2774 (struct La_s390_64_regs): Likewise.
2775 (struct La_s390_64_retval): Likewise.
2776 (struct La_sparc32_regs): Likewise.
2777 (struct La_sparc32_retval): Likewise.
2778 (struct La_sparc64_regs): Likewise.
2779 (struct La_sparc64_retval): Likewise.
2780 (struct audit_ifaces): Remove architecture-specific pltenter and
2781 pltexit members.
2782 * sysdeps/i386/ldsodefs.h: New file.
2783 * sysdeps/powerpc/ldsodefs.h: Likewise.
2784 * sysdeps/s390/ldsodefs.h: Likewise.
2785 * sysdeps/sh/ldsodefs.h: Likewise.
2786 * sysdeps/sparc/ldsodefs.h: Likewise.
2787 * sysdeps/x86_64/ldsodefs.h: Likewise.
2788
354691b7
MP
27892012-07-25 Marek Polacek <polacek@redhat.com>
2790
2791 [BZ #6808]
2792 * math/libm-test.inc (yn_test): Add another test.
2793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2794 to ERANGE when the result is +-Inf.
2795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2797 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2798 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2799
bf9e2071
JM
28002012-07-24 Joseph Myers <joseph@codesourcery.com>
2801
2802 * conform/data/time.h-data (NULL): Use macro-constant. Require
2803 equal to 0.
2804 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2805 clock_t.
2806 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2807
57633811
TS
28082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2809
2810 * configure.in <sysdeps resolving>: Correct printing
2811 Implies_before.
2812 * configure: Regenerate.
2813
c23c33b0
TS
28142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2815
2816 * math/w_ilogb.c: Include <limits.h>.
2817 * math/w_ilogbl.c: Likewise.
2818
b5982523
JM
28192012-07-20 Joseph Myers <joseph@codesourcery.com>
2820
2821 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2822 va_copy. Document allowing for unavailable va_copy only as
2823 pre-C99 compatibility.
2824 * manual/string.texi (Copying and Concatenation): Use va_copy
2825 instead of __va_copy in concat example.
2826
ac4ea442
PT
28272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2828
2829 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2830 (__sendto): Use create_address_port. Initialize APORT and deallocate
2831 it if not null.
2832
f98eafbd
PT
2833 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2834 with O_NOLINK passed to __file_name_lookup.
2835
898c7aab
PT
2836 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2837 with O_NOLINK passed to __file_name_lookup.
2838
0ced335a
PT
2839 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2840 negative N or less than NGIDS.
2841
b3404dbd
PT
2842 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2843 type to string_t. Set ERANGE as errno and return it if NAME is not big
2844 enough. Use memcpy instead of strncpy.
2845
0f48659e
JM
28462012-07-20 Joseph Myers <joseph@codesourcery.com>
2847
2848 * elf/Makefile (check-data): Remove.
2849 (localplt.data): New vpath directive.
2850 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2851 instead of $(check-data).
2852 * scripts/data/localplt-generic.data: Move to ...
2853 * sysdeps/generic/localplt.data: ... here.
2854 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2855 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2856 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2858 ... here.
2859 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2861 ... here.
2862 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2864 ... here.
2865 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2867 ... here.
2868 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2870 ... here.
2871 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2873 ... here.
2874
d37cbdaa
AZ
28752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2878 PPC32 and PPC64 files.
2879 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2880 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2881
46f85fc2
AK
28822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2883
2884 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2885 __makecontext_ret to ...
2886 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2887 ... here and call exit if uc_link is NULL. New file.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2889 __makecontext_ret.S.
2890 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2891 __makecontext_ret to ...
2892 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2893 ... here and call exit if uc_link is NULL. New file.
2894 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2895 __makecontext_ret.S.
2896
08f43f9b
AK
28972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2898
2899 * elf/elf.h (R_390_IRELATIVE): New definition.
2900 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2901 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2902 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2904 (elf_machine_lazy_rel): Likewise.
2905 * sysdeps/s390/dl-irel.h: New file.
2906 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2907 * sysdeps/s390/s390-64/memset.S: New asm code.
2908 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2909 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2910 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2911 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2912 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2913 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2915 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2916 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2917 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2918 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2919 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2920 * sysdeps/s390/s390-32/memset.S: New asm code.
2921 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2922
3b05db33
MP
29232012-07-17 Marek Polacek <polacek@redhat.com>
2924
2925 [BZ #14349]
2926 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2927 * sysdeps/s390/s390-64/configure.in: Likewise.
2928 * sysdeps/sparc/configure.in: Likewise.
2929 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2930 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2931 * sysdeps/i386/configure.in: Likewise.
2932 * sysdeps/x86_64/configure.in: Likewise.
2933 * sysdeps/sh/configure.in: Likewise.
2934 * sysdeps/s390/s390-32/configure: Regenerated.
2935 * sysdeps/s390/s390-64/configure: Likewise.
2936 * sysdeps/x86_64/configure: Likewise.
2937 * sysdeps/sh/configure: Likewise.
2938 * sysdeps/powerpc/powerpc64/configure: Likewise.
2939 * sysdeps/powerpc/powerpc32/configure: Likewise.
2940 * sysdeps/sparc/configure: Likwise.
2941 * sysdeps/i386/configure: Likewise.
2942
a66877c6
MP
2943 * elf/dl-open.c: Comment fixes.
2944
cfc82fd8
JM
29452012-07-17 Joseph Myers <joseph@codesourcery.com>
2946
bd29910a
JM
2947 * Makefile [CXX] (check-data): Remove.
2948 [CXX] (c++-types.data): New vpath directive.
2949 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2950 vpath. Do not allow for C++ type data being missing.
2951 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2952 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2953 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2954 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2955 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2956 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2957 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2959 ... here.
2960 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2962 ... here.
2963 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2965 ... here.
2966 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2968 ... here.
2969 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2971 ... here.
2972 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2974 ... here.
2975 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2977 ... here.
2978 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2980
cfc82fd8
JM
2981 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2982 definitions to architecture-specific files.
2983 (TLS_IE): Likewise.
2984 (TLS_LD): Likewise.
2985 (TLS_GD): Likewise.
2986 * sysdeps/i386/tls-macros.h: New file.
2987 * sysdeps/powerpc/tls-macros.h: Likewise.
2988 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2989 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2990 * sysdeps/sh/tls-macros.h: Likewise.
2991 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2992 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2993 * sysdeps/x86_64/tls-macros.h: Likewise.
2994
f7db3170
TS
29952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2996
07cbfc23
TS
2997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2998 zero value for regular exit case.
2999
f7db3170
TS
3000 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3001 (__start_context): Preserve zero value for regular exit case.
3002
dc97c227
TS
30032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3004 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3005
3006 * manual/setjmp.texi (setcontext): Clarify normal process
3007 termination when uc_link is the null pointer.
3008 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3009 exit call.
3010
d0cd7d02
AS
30112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3012
3013 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3014 preprocessor. Test for each exception mask separately.
3015
dd318934
AJ
30162012-07-16 Andreas Jaeger <aj@suse.de>
3017
3018 * po/ru.po: Update from translation team.
3019
8048311a
JM
30202012-07-15 Joseph Myers <joseph@codesourcery.com>
3021
3022 * conform/data/string.h-data (NULL): Use macro-constant. Require
3023 equal to 0.
3024 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3025 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3026 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3027 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3029
b637d46e
AJ
30302012-07-13 Andreas Jaeger <aj@suse.de>
3031
3032 * po/fr.po: Update from translation team.
3033
541428fe
MP
30342012-07-12 Marek Polacek <polacek@redhat.com>
3035
3036 [BZ #14173]
3037 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3039 loop condition.
3040
ec332e94
JM
30412012-07-12 Joseph Myers <joseph@codesourcery.com>
3042
3043 [BZ #13717]
3044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3045 Change to 2.4.1 where previously 2.4.0.
3046 * sysdeps/unix/sysv/linux/configure: Regenerated.
3047 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3048 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3049 version.
3050 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3051 (__ASSUME_AT_CLKTCK): Remove.
3052 (__ASSUME_AT_PAGESIZE): Likewise.
3053 (__ASSUME_AT_XID): Likewise.
3054 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3055 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3056 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3057 unconditionally.
3058 (HAVE_AUX_PAGESIZE): Likewise.
3059 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3060 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3061 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3062
7b6e99be
JB
30632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3064
3065 [BZ #14307]
3066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3067 the temporary buffer used to invoke __gethostbyname2_r,
3068 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3069 host_data / struct gaih_addrtuple.
3070 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3071 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3072 header file nss/nsswitch.h.
3073 * nss/nsswitch.h (global scope): Add definition of implementation
3074 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3075 resolv/nss_dns/dns-host.c).
3076
608404eb
AJ
30772012-07-11 Andreas Jaeger <aj@suse.de>
3078
3079 * po/fr.po: Update from translation team.
3080
71220aca
AJ
3081 * po/sv.po: Update from translation team
3082 * po/fr.po: Another update from translation team.
3083
28cfe843
AZ
30842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085
3086 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3087 for subnormals or multiply small sinh result by itself.
3088 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3090
6b90f981
DM
30912012-07-11 David S. Miller <davem@davemloft.net>
3092
3093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3094
c6825772
AS
30952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3096
3097 [BZ #14347]
3098 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3099 (INTERNAL_MARK): Shift it here.
3100
7b8e0d49
MP
31012012-07-10 Marek Polacek <polacek@redhat.com>
3102
3103 [BZ #14151]
3104 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3105 libc_cv_asm_global_directive with .globl.
3106 * configure: Regenerated.
3107 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3108 with .globl.
3109 * sysdeps/i386/configure: Regenerated.
3110 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3111 with .globl.
3112 * sysdeps/x86_64/configure: Regenerated.
3113 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3114 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3115 * elf/tst-unique2mod2.c: Likewise.
3116 * elf/tst-unique2mod1.c: Likewise.
3117 * elf/tst-unique1mod2.c: Likewise.
3118 * elf/tst-unique1mod1.c: Likewise.
3119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3120 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3122 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3123 * sysdeps/mach/sysdep.h: Likewise.
3124 * sysdeps/i386/sysdep.h: Likewise.
3125 * sysdeps/i386/i386-mcount.S: Likewise.
3126 * sysdeps/x86_64/_mcount.S: Likewise.
3127 * sysdeps/x86_64/sysdep.h: Likewise.
3128 * sysdeps/sh/_mcount.S: Likewise.
3129 * sysdeps/sh/sysdep.h: Likewise.
3130 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3131 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3132 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3134 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3136 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3137 * locale/localeinfo.h: Likewise.
3138 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3139 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3140
6c55cda3
RM
31412012-07-09 Roland McGrath <roland@hack.frob.com>
3142
3143 [BZ #14336]
3144 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3145 system".
3146 * manual/message.texi (The Uniforum approach): Likewise.
3147 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3148 (glibc iconv Implementation): Likewise.
3149
638a572e
JM
31502012-07-09 Joseph Myers <joseph@codesourcery.com>
3151
3152 [BZ #14337]
3153 * math/s_clog.c (__clog): Avoid scaling a value down where that
3154 could result in underflow.
3155 * math/s_clog10.c (__clog10): Likewise.
3156 * math/s_clog10f.c (__clog10f): Likewise.
3157 * math/s_clog10l.c (__clog10l): Likewise.
3158 * math/s_clogf.c (__clogf): Likewise.
3159 * math/s_clogl.c (__clogl): Likewise.
3160 * math/libm-test.inc (clog_test): Add more tests.
3161 (clog10_test): Likewise.
3162 * sysdeps/i386/fpu/libm-test-ulps: Update.
3163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3164
261f4859
AS
31652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3166
0abaf3e4
AS
3167 [BZ #14283]
3168 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3169 by 7 not 8 to examine high bit of fractional part.
3170
261f4859
AS
3171 [BZ #14042]
3172 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3173 for call to __mcount_internal.
3174 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3175 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3176 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3177
f17ac40d
JM
31782012-07-06 Joseph Myers <joseph@codesourcery.com>
3179
9ad63c23
JM
3180 [BZ #14154]
3181 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3182 approximation for values within 0x1p-13f of an odd multiple of
3183 pi/4.
3184 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3185 exception. Add more tests.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187
f17ac40d
JM
3188 [BZ #6778]
3189 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3190 inputs and return -1 for them. Do not check for +Inf in case not
3191 reachable for +Inf.
3192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3193 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3195 and return -1 for them. Do not check for +Inf in case not
3196 reachable for +Inf.
3197 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3198 define.
3199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3200 and return -1 for them. Do not check for +Inf in case not
3201 reachable for +Inf.
3202 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3203 spurious underflow.
3204 * sysdeps/i386/fpu/libm-test-ulps: Update.
3205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3206
fb21f89b
MF
32072012-07-06 Mike Frysinger <vapier@gentoo.org>
3208
3209 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3210
cdfe2c5e
JM
32112012-07-05 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #14157]
3214 [BZ #14331]
3215 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3216 could result in spurious underflow. Scale down values above
3217 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3218 * math/s_csqrtf.c (__csqrtf): Likewise.
3219 * math/s_csqrtl.c (__csqrtl): Likewise.
3220 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3221 spurious underflow.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3224
70d35b67
AS
32252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3226
704bc459
AS
3227 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3228 xopen-msg.sed.
3229 * catgets/xopen-msg.awk: New file.
3230 * catgets/xopen-msg.sed: Removed.
3231
70d35b67
AS
3232 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3233 po2text.sed.
3234 * intl/po2test.awk: New file.
3235 * intl/po2test.sed: Removed.
3236
ca61cf32
JM
32372012-07-04 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #14328]
3240 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3241 or multiply small sinh result by itself.
3242 * math/s_ctanf.c (__ctanf): Likewise.
3243 * math/s_ctanh.c (__ctanh): Likewise.
3244 * math/s_ctanhf.c (__ctanhf): Likewise.
3245 * math/s_ctanhl.c (__ctanhl): Likewise.
3246 * math/s_ctanl.c (__ctanl): Likewise.
3247 * math/libm-test.inc (ctan_test_tonearest): New function.
3248 (ctan_test_towardzero): Likewise.
3249 (ctan_test_downward): Likewise.
3250 (ctan_test_upward): Likewise.
3251 (ctanh_test_tonearest): Likewise.
3252 (ctanh_test_towardzero): Likewise.
3253 (ctanh_test_downward): Likewise.
3254 (ctanh_test_upward): Likewise.
3255 (main): Call these new functions.
3256 * sysdeps/i386/fpu/libm-test-ulps: Update.
3257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3258
ca48a46a
MF
32592012-07-03 Mike Frysinger <vapier@gentoo.org>
3260
3261 * .gitignore: Delete /ports entry.
3262
9d63d37d
AJ
32632012-07-03 Andreas Jaeger <aj@suse.de>
3264
3265 * po/bg.po: Update from translation team.
3266 * po/cs.po: Likewise.
3267 * po/de.po: Likewise.
3268 * po/hr.po: Likewise.
3269 * po/nl.pl: Likewise.
3270 * po/pl.po: Likewise.
3271 * po/vi.po: Likewise.
3272
370ca3d2
JM
32732012-07-03 Joseph Myers <joseph@codesourcery.com>
3274
95f5a9a8
JM
3275 * Makeconfig [!+link] (+link-before-libc): New variable.
3276 [!+link] (+link-after-libc): Likewise.
3277 [!+link] (+link-tests): Likewise.
3278 [!+link] (+link): Define in terms of $(+link-before-libc) and
3279 $(+link-after-libc).
3280 [!+link-static] (+link-static-before-libc): New variable.
3281 [!+link-static] (+link-static-after-libc): Likewise.
3282 [!+link-static] (+link-static-tests): Likewise.
3283 [!+link-static] (+link-static): Define in terms of
3284 $(+link-static-before-libc) and $(+link-static-after-libc).
3285 [build-shared] (link-libc-before-gnulib): New variable.
3286 [build-shared] (link-libc-tests): Likewise.
3287 [build-shared] (link-libc): Define in terms of
3288 $(link-libc-before-gnulib).
3289 [!build-shared] (link-libc-tests): New variable.
3290 (link-libc-static-tests): New variable.
3291 [!gnulib] (gnulib-arch): New variable.
3292 [!gnulib] (gnulib-tests): Likewise.
3293 [!gnulib] (static-gnulib-arch): Likewise.
3294 [!gnulib] (static-gnulib-tests): Likewise.
3295 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3296 Define with "=" instead of ":=".
3297 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3298 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3299 * Rules (binaries-all-notests): New variable.
3300 (binaries-all-tests): Likewise.
3301 (binaries-static-notests): Likewise.
3302 (binaries-static-tests): Likewise.
3303 (binaries-all): Define using $(binaries-all-notests) and
3304 $(binaries-all-tests).
3305 (binaries-static): Define using $(binaries-static-notests) and
3306 $(binaries-static-tests).
3307 (binaries-shared-tests): New variable.
3308 (binaries-shared-notests): Likewise.
3309 (binaries-shared): Remove variable.
3310 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3311 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3312 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3313 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3314 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3315 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3316 * elf/Makefile (sln-modules): New variable.
3317 (extra-objs): Add $(sln-modules:=.o).
3318 (ldconfig-modules): Add static-stubs.
3319 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3320 * elf/static-stubs.c: New file.
3321
7a845b2c
JM
3322 [BZ #14283]
3323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3324 by 7 not 8 to examine high bit of fractional part. Use volatile
3325 variables when splitting into final array of floats if
3326 __FLT_EVAL_METHOD__ != 0.
3327 * math/libm-test.inc (cos_test): Add another test.
3328 (sin_test): Likewise.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330
e2283f38
JM
3331 [BZ #14273]
3332 * math/libm-test.inc (cosh_test): Add more tests.
3333
370ca3d2
JM
3334 * version.h (RELEASE): Set to "development".
3335 (VERSION): Set to "2.16.90".
3336
ee9247c3
CD
33372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3338
3339 * NEWS: Update copyright. Remove last-updated date.
3340 Mention math library bug fixes and timezone data changes.
3341 * README: Mention GNU/Hurd, x32, and HPPA support status.
3342
4648c381
TS
33432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3344
3345 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3346
aac78a43
AJ
33472012-06-27 Andreas Jaeger <aj@suse.de>
3348
3349 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3350
ed3dbfad
AJ
33512012-06-25 Andreas Jaeger <aj@suse.de>
3352
3353 * sysdeps/s390/fpu/libm-test-ulps: Update.
3354
4d0ee855
AS
33552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3356 Thomas Schwinge <thomas@codesourcery.com>
3357
3358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3359 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3361 fanotify_mark.
3362
af1bce34
TS
33632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3364
a9fa33ba
TS
3365 * sysdeps/mach/start.c: Remove file.
3366 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3367 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3368 * sysdeps/sh/init-first.c: Likewise.
3369
58f902b8
TS
3370 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3371 registers for frame unwinding purposes, add CFI directives.
3372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3374 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3375 Likewise.
3376
1518f58b
TS
3377 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3378 __fortify_fail returning.
3379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3380
db9b5059
TS
3381 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3382 sysdeps/sh/____longjmp_chk.S.
3383 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3384 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3385 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3386 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3387
967705fe
TS
3388 * sysdeps/sh/abort-instr.h: New file.
3389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3390 process in case exit returns.
3391
a9def8c4
TS
3392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3393 initialize the GOT register before use.
3394
2a649725
TS
3395 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3396 calculation of ARGC > 4.
3397
af1bce34
TS
3398 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3399 meaningful names to some local labels.
3400
d230f50a
KK
34012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3402 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3403
3404 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3405 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3406 (__arch_compare_and_exchange_val_16_acq): Likewise.
3407 (__arch_compare_and_exchange_val_32_acq): Likewise.
3408 (atomic_exchange_and_add): Fix gUSA sequence.
3409 (atomic_add): Likewise.
3410 (atomic_add_negative): Likewise.
3411 (atomic_add_zero): Likewise.
3412 (atomic_bit_test_set): Likewise.
3413
0479b305
AS
34142012-06-22 Andreas Schwab <schwab@redhat.com>
3415
3416 [BZ #13579]
3417 * include/link.h (struct link_map): Add l_free_initfini.
3418 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3419 l_initfini.
3420 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3421 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3422 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3423 set.
3424
0e3933b9
CD
34252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3426
3427 * configure.in: Use AC_LANG_SOURCE.
3428 * configure: Regenerate.
3429
4248b1b1
RM
34302012-06-22 Roland McGrath <roland@hack.frob.com>
3431
3432 * configure.in (libc_cv_localstatedir): New substituted variable.
3433 * configure: Regenerated.
3434 * config.make.in (localstatedir): New variable, substituted from
3435 libc_cv_localstatedir.
3436 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3437 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3438 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3439 * sysdeps/gnu/configure: Regenerated.
3440
006dd861
JL
34412012-06-21 Jeff Law <law@redhat.com>
3442
3443 [BZ #14277]
3444 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3445 free. Simplify list management for _LIBC case.
3446
79662d42
JM
34472012-06-21 Joseph Myers <joseph@codesourcery.com>
3448
b7abb4bf
JM
3449 [BZ #14273]
3450 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3451 Clear sign bit of 64-bit integer value before comparing against
3452 overflow value.
3453
79662d42
JM
3454 * sysdeps/mach/configure: Regenerated.
3455
1f150908
L
34562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 [BZ #14278]
3459 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3460
28363bbf
JL
34612012-06-21 Jeff Law <law@redhat.com>
3462
3463 [BZ #13882]
3464 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3465 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3466 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3467 * elf/dl-open.c (dl_open_worker): Likewise.
3468
09615db4
CD
34692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3470
3471 * scripts/list-sources.sh: Scan PORTS for translations.
3472 * po/libc.pot: Regenerated.
3473
2174c6dd
AJ
34742012-06-21 Andreas Jaeger <aj@suse.de>
3475
3476 [BZ #12194]
3477 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3478 warning.
3479 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3480 * bits/byteswap-16.h (__bswap_16): Likewise.
3481 * bits/byteswap.h (__bswap_constant_16): Likewise.
3482
3ee947b1
L
34832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 [BZ #14117]
a2f34833
L
3486 * sysdeps/i386/fpu_control.h: Removed.
3487 * sysdeps/x86_64/fpu_control.h: Moved to ...
3488 * sysdeps/x86/fpu_control.h: Here.
3489
3ee947b1
L
3490 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3491 (_FPU_SETCW): Likewise.
3492
ed1825f8
L
34932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3494
25f1282a
L
3495 [BZ #14117]
3496 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3497 * sysdeps/x86/fpu/bits/mathinline.h: This.
3498 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3499
ed1825f8
L
3500 [BZ #14050]
3501 [BZ #14117]
3502 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3503 functions if __x86_64__ is defined.
3504
36d54b74
CLT
35052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3506
3507 * string/endian.h: Add !__ASSEMBLER__ condition for including
3508 conversion interfaces.
3509
10285c21
JM
35102012-06-15 Joseph Myers <joseph@codesourcery.com>
3511
3512 [BZ #14241]
3513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3514 of ABS(x) in calculating zero to negative powers other than odd
3515 integers.
3516 * math/libm-test.inc (pow_test): Add more tests.
3517
06c5abbd
AJ
35182012-06-15 Andreas Jaeger <aj@suse.de>
3519
3520 * manual/contrib.texi (Contributors): Update entry of Liubov
3521 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3522 Machado Filho.
3523
a3aeac40
CH
35242012-06-15 Cyril Hrubis <metan@ucw.cz>
3525
3526 * string/string.h: Add __wur to GNU version of strerror_r.
3527
49bdf4c1
L
35282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 [BZ #14229]
3531 * string/Makefile (tests): Add tst-strtok_r.
3532 * string/tst-strtok_r.c: New file.
3533 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3534 RAX_LP/RDX_LP on SAVE_PTR.
3535
834f9b8d
RM
35362012-06-14 Roland McGrath <roland@hack.frob.com>
3537
3538 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3539
75fa1921
JM
35402012-06-14 Joseph Myers <joseph@codesourcery.com>
3541
3542 * libm_test.inc (csqrt_test): Allow more spurious underflow
3543 exceptions.
3544 (j0_test): Likewise.
3545 (j1_test): Likewise.
3546 (y0_test): Likewise.
3547 (y1_test): Likewise.
3548
771766df
CD
35492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3550
3551 * po/Makefile (libc.pot): Use UTF-8 charset.
3552
ceb9e56b
PP
35532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3554
3555 [BZ #14210]
3556 Suppress sign-conversion warning from FD_SET.
3557 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3558 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3559 not unsigned long int.
3560 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3561
ddb28975
L
35622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3563
3564 [BZ #14050]
3565 [BZ #14117]
3566 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3567 __extern_always_inline instead of __extern_inline.
3568 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3569 (__signbit): Likewise.
3570 (__signbitl): Support C++ namespace.
3571 (lrintf): New inline function.
3572 (lrint): Likewise.
3573 (llrintf): Likewise.
3574 (llrint): Likewise.
3575 (fmaxf): Likewise.
3576 (fmax): Likewise.
3577 (fminf): Likewise.
3578 (fmin): Likewise.
3579 (rint): Likewise.
3580 (rintf): Likewise.
3581 (ceil): Likewise.
3582 (ceilf): Likewise.
3583 (floor): Likewise.
3584 (floorf): Likewise.
3585 (nearbyint): Likewise.
3586 (nearbyintf): Likewise.
3587
d7b4fb26
TS
35882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3589
3590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3591 non-default versions.
3592
eb55f5c2
RM
35932012-06-11 Roland McGrath <roland@hack.frob.com>
3594
3595 [BZ #14218]
3596 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3597
366af02c
TS
35982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3599
99ff6e5c
TS
3600 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3601 (FE_UPWARD, FE_DOWNWARD): Don't define.
3602 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3603 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3604
366af02c
TS
3605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3606 reading it.
3607 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3608 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3609
793ea851
KK
36102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3611
3612 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3614 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3616
a728a38f
L
36172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3618
3619 [BZ #14117]
c08010c7
L
3620 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3621 * sysdeps/i386/fpu/Implies: New file.
3622 * sysdeps/x86_64/fpu/Implies: Likewise.
3623 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3624 * sysdeps/x86/fpu/bits/fenv.h: This.
3625
a728a38f
L
3626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3627 __SSE_MATH__.
3628
6e230d11
SP
36292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3630
3631 [BZ #14134]
3632 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3633 character 0xffff that matches the last element of the
3634 conversion table.
3635
1b671feb
AZ
36362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3639 fmodl commit.
3640
6043738b
AZ
36412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642
3643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3644 values higher than 25.6283.
3645
34ae0b32
AZ
36462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3647
3648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3649 subnormal exponent extraction and add some __builtin_expect.
3650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3651 Fix for subnormal mantissa calculation.
3652
1214ec8f
MF
36532012-06-04 Mike Frysinger <vapier@gentoo.org>
3654
3655 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3656 cpu2 is -1 and errno is not ENOSYS.
3657
f3d1f93c
L
36582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 [BZ #14117]
0e4a3cd7
L
3661 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3662 * sysdeps/x86/bits/string.h: This.
3663 * sysdeps/x86_64/bits/string.h: Removed.
3664
6704c645
L
3665 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3666 if not compiling for x86-64, but compiling for >= i486.
3667
48495318
L
3668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3669 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3670
14adcbfc
L
3671 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3672 New macro from Linux kernel 3.4.0.
3673 (FP_XSTATE_MAGIC2): Likewise.
3674 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3675 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3676 (struct _fpx_sw_bytes): New struct.
3677 (struct _xsave_hdr): Likewise.
3678 (struct _ymmh_state): Likewise.
3679 (struct _xstate): Likewise.
3680
68e408ab
L
3681 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3682 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3684 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3685 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3686 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3687
f3d1f93c
L
3688 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3690 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3691 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3692 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3693 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3694
d9dc34cd
TMQMF
36952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3696
3697 [BZ #13743]
3698 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3699 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3700 (sysdep_headers): Include sys/platform/ppc.h.
3701 * sysdeps/powerpc/test-gettimebase.c: Test for
3702 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3703 * manual/Makefile (appendices): Include platform.texi.
3704 * manual/contrib.texi (Contributors): Update @node pointers.
3705 * manual/maint.texi (Maintenance): Likewise.
3706 (Platform): New node.
3707 * manual/platform.texi: New file. Document the new features.
3708
4af3879c
SP
37092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3710 Jakub Jelinek <jakub@redhat.com>
3711
3712 [BZ #14188]
3713 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3714 where __builtin_expect is unavailable.
3715
2fd6ff13
DM
37162012-06-03 David S. Miller <davem@davemloft.net>
3717
3718 * stdlib/longlong.h: Updated from GCC.
3719
173f7220
AS
37202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 [BZ #14042]
3723 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3724 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3725 __mcount_internal.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3727 (GLIBC_2.16): Likewise.
3728
f34a1c6f
L
37292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3730
3731 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3732
88a4576f
JM
37332012-06-01 Joseph Myers <joseph@codesourcery.com>
3734
ea32bcdd
JM
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3736 (default-abi): New variable.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3739 variable.
3740 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3745 Likewise.
3746
88a4576f
JM
3747 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3748 definition. Document in comment.
3749
402fe938
DM
37502012-06-01 David S. Miller <davem@davemloft.net>
3751
3752 * stdlib/longlong.h: Updated from GCC.
3753
3553723f
L
37542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 [BZ #14117]
3bd872c4
L
3757 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3758 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3759 sys/debugreg.h sys/io.h here.
3760 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3761 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3762 sys/io.h.
3763 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3764 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3765 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3766 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3767 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3768 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3769
3553723f
L
3770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3771 Define only if __x86_64__ is defined.
3772
4842e4fe
JM
37732012-06-01 Joseph Myers <joseph@codesourcery.com>
3774
c5bfe3d5
JM
3775 [BZ #14048]
3776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3777 Use int64_t for variable i.
3778 * math/libm-test.inc (fmod_test): Add more tests.
3779
4842e4fe
JM
3780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3781 z computation is not scheduled after fetestexcept.
3782 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3783 Use math_force_eval instead of asm to ensure calculation scheduled
3784 before exception test.
3785 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3786 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3787
efb73488
AJ
37882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3789
3790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3791 computation is not scheduled after fetestexcept.
3792
29bcce7c
L
37932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 [BZ #14117]
3796 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3797 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3798
73a68f94
AZ
37992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800
3801 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3802 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3803
67b6df78
L
38042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3805
edf2933a 3806 [BZ #14117]
ebc64a18
L
3807 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3808 <bits/wordsize.h>.
3809 (__WCHAR_MIN): Support __WORDSIZE == 64.
3810 (__WCHAR_MAX): Likewise.
3811
edf2933a
L
3812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3814
57c6cf40
L
3815 [BZ #14183]
3816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3817 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3818
67b6df78 3819 [BZ #14117]
8eb6281e
L
3820 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3822
aac639f4
L
3823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3824 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3825
67b6df78
L
3826 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3827 Defined to 1 if __x86_64__ isn't defined.
3828 (_STAT_VER_LINUX_OLD): New.
3829 (st_atime): Remove duplicate.
3830 (st_mtime): Likewise.
3831 (st_ctime): Likewise.
3832
1c2cfe81
DM
38332012-05-31 David S. Miller <davem@davemloft.net>
3834
3835 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3836 entries.
3837
5be8418c
AS
38382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3839
e7725326
AS
3840 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3841 gen-libm-test.pl.
3842
5be8418c
AS
3843 [BZ #14132]
3844 * elf/dl-reloc.c: Include <_itoa.h>.
3845 (_dl_reloc_bad_type): Remove use of INTUSE.
3846 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3847 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3848 * stdio-common/psiginfo.c (psiginfo): Likewise.
3849 * stdio-common/psignal.c (psignal): Likewise.
3850 * string/strsignal.c (strsignal): Likewise.
3851 * include/signal.h (_sys_siglist): Declare hidden proto.
3852 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3853 INTVARDEF with libc_hidden_data_def.
3854 * stdio-common/itoa-udigits.c: Likewise.
3855 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3856 (_itoa_lower_digits_internal): Remove declaration.
3857 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3858 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3859 (_sys_sigabbrev_internal): Remove aliases.
3860 (_sys_siglist): Define hidden alias.
3861
507352f1
MT
38622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3863
3864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3865 bits/sysctl.h.
3866
42bbb1c3
L
38672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 [BZ #14117]
6bd784b6
L
3870 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3871 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3872
8bca20f0
L
3873 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3874 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3875 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3876 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3878 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3879
f9e890a9
L
3880 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3881 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3882 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3883
471101a1
L
3884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3885 with __addr.
3886 (insw): Likewise.
3887 (insl): Likewise.
3888 (outsb): Likewise.
3889 (outsw): Likewise.
3890 (outsl): Likewise.
3891
6451c862
L
3892 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3895
a254b8c9
L
3896 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3899 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3900 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3901 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3902
b8dfdd92
L
3903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3904 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3905
578cd270
L
3906 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3907 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3908
de662f5f
L
3909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3911 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3912
25653439
L
3913 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3914 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3915 to ...
3916 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3917
6bad24a0
L
3918 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3919 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3920 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3921
42bbb1c3
L
3922 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3923 for x86-64.
3924 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3925
2d10d547
JM
39262012-05-31 Joseph Myers <joseph@codesourcery.com>
3927
3928 * math/math.h (M_El): Use two more decimal places.
3929 (M_LOG2El): Likewise.
3930 (M_LOG10El): Likewise.
3931 (M_LN2l): Likewise.
3932 (M_LN10l): Likewise.
3933 (M_PIl): Likewise.
3934 (M_PI_2l): Likewise.
3935 (M_PI_4l): Likewise.
3936 (M_1_PIl): Likewise.
3937 (M_2_PIl): Likewise.
3938 (M_2_SQRTPIl): Likewise.
3939 (M_SQRT2l): Likewise.
3940 (M_SQRT1_2l): Likewise.
3941
f230c29b
DM
39422012-05-31 David S. Miller <davem@davemloft.net>
3943
3944 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3945 values between float registers.
3946 * sysdeps/sparc/sparc64/memset.S: Likewise.
3947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3948
fed806c3
MF
39492012-05-31 Mike Frysinger <vapier@gentoo.org>
3950
3951 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3952 -D_FORTIFY_SOURCE=1.
3953 (CPPFLAGS-tst-longjmp_chk.c): Define.
3954 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3955 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3956 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3957 CFLAGS-tst-wchar-h.c.
3958
30917259
MP
39592012-05-31 Marek Polacek <polacek@redhat.com>
3960
3961 [BZ #14132]
3962 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3963 __endmntent_internal): Remove declaration.
3964 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3965 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3966 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3967
1c58d5dc
DM
39682012-05-30 David S. Miller <davem@davemloft.net>
3969
3970 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3971 (___Q_simulate_exceptions): Use real FP ops rather than writing
3972 into the %fsr.
3973 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3974 Likewise.
3975
7dc00e0d
L
39762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 [BZ #14117]
0bd53985
L
3979 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3980 * sysdeps/x86/bits/xtitypes.h: This.
3981
3a257e66
L
3982 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3983 * sysdeps/x86/bits/wordsize.h: This.
3984
62f62904
L
3985 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3986 * sysdeps/x86/bits/huge_vall.h: This.
3987
404fe9d9
L
3988 * sysdeps/i386/bits/select.h: Removed.
3989 * sysdeps/x86_64/bits/select.h: Renamed to ...
3990 * sysdeps/x86/bits/select.h: This.
3991
d48d0446
L
3992 * sysdeps/i386/bits/setjmp.h: Removed.
3993 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3994 * sysdeps/x86/bits/setjmp.h: This.
3995
7dc00e0d
L
3996 * sysdeps/i386/bits/mathdef.h: Removed.
3997 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3998 * sysdeps/x86/bits/mathdef.h: This.
3999
03277f8f
AS
40002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4001
4002 [BZ #14132]
4003 * include/sys/socket.h (__connect_internal)
4004 (__libc_sa_len_internal): Remove declaration.
4005 (__connect, __libc_sa_len): Declare hidden_proto.
4006 (SA_LEN): Remove use of INTUSE.
4007 * socket/connect.c: Add libc_hidden_def.
4008 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4009 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4010 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4011 alias.
4012 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4014 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4015 of adding _internal alias.
4016
13764867
L
40172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4018
4019 [BZ #14117]
6bd97696
L
4020 * sysdeps/i386/bits/link.h: Removed.
4021 * sysdeps/i386/bits/linkmap.h: Likewise.
4022 * sysdeps/x86_64/bits/link.h: Renamed to ...
4023 * sysdeps/x86/bits/link.h: This.
4024 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4025 * sysdeps/x86/bits/linkmap.h: This.
4026
f726f0bb
L
4027 * sysdeps/i386/bits/endian.h: Removed.
4028 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4029 * sysdeps/x86/bits/endian.h: This.
4030
13764867
L
4031 * sysdeps/i386/bits/byteswap.h: Removed.
4032 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4033 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4034 * sysdeps/x86/bits/byteswap.h: This.
4035 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4036 * sysdeps/x86/bits/byteswap-16.h: This.
4037 * sysdeps/i386/Implies: Add x86.
4038 * sysdeps/x86_64/Implies: Likewise.
4039
ae251b0b
DM
40402012-05-30 David S. Miller <davem@davemloft.net>
4041
4042 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4043 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4044 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4045 (FP_TRAPPING_EXCEPTIONS): Define.
4046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4047 (FP_TRAPPING_EXCEPTIONS): Define.
4048 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4049 subnormals only when inexact has been signalled or underflow
4050 exceptions are enabled.
4051 (_FP_PACK_CANONICAL): Likewise.
4052
d5c90867
L
40532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 [BZ #14183]
4056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4057 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4058
63f1549e
RH
40592012-05-30 Richard Henderson <rth@twiddle.net>
4060
8d8f2279
RH
4061 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4062 with #ifndef NOT_IN_libc.
4063
63f1549e
RH
4064 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4065 marked to avoid plt entry.
4066
0ab0291b
L
40672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 [BZ #14112]
4070 * Makeconfig (default-abi): New macro.
4071 (abi-includes): Likewise.
4072 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4073 $(abi-$(default-abi)-lib-soname) for soname if defined.
4074 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4075 abi-variants.
4076 * Makefile (installed-stubs): Likewise.
4077 * include/stubs-biarch.h: Removed.
4078 * scripts/lib-names.awk: Only handle one library at a time.
4079 * scripts/soversions.awk: Remove WORDSIZE support.
4080 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4081 entries.
4082 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4083 Removed.
4084 (syscall-list-default-condition): Likewise.
4085 (syscall-list-default-condition): Likewise.
4086 (syscall-list-includes): Likewise.
4087 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4088 syscall-list-* with abi-*. Handle undefined abi-variants.
4089 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4090 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4091 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4092 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4094 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4095 Removed.
4096 (syscall-list-32-options): Likewise.
4097 (syscall-list-32-condition): Likewise.
4098 (syscall-list-64-options): Likewise.
4099 (syscall-list-64-condition): Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4101 macro.
4102 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4103 Renamed to ...
4104 (abi-*): This.
4105 (abi-64-ld-soname): New macro.
4106 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4108 Renamed to ...
4109 (abi-*): This.
4110 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4111 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4112
4da0431d
JM
41132012-05-30 Joseph Myers <joseph@codesourcery.com>
4114
3a85279c
JM
4115 * sysdeps/unix/sysv/linux/kernel-features.h
4116 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4117 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4118 include <kernel-features.h>.
4119 [!__NR_ftruncate64]: Remove conditional code.
4120 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4121 [__NR_ftruncate64]: Make code unconditional.
4122 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4123 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4124 include <kernel-features.h>.
4125 [!__NR_ftruncate64]: Remove conditional code.
4126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4127 [__NR_ftruncate64]: Make code unconditional.
4128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4130 include <kernel-features.h>.
4131 [!__NR_ftruncate64]: Remove conditional code.
4132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4133 [__NR_ftruncate64]: Make code unconditional.
4134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4136 include <kernel-features.h>.
4137 [!__NR_ftruncate64]: Remove conditional code.
4138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4139 [__NR_ftruncate64]: Make code unconditional.
4140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4141
4da0431d
JM
4142 * configure.in (libc_cv_fpie): Weaken to a compile test using
4143 LIBC_TRY_CC_OPTION.
4144 * configure: Regenerated.
4145
11ef492c
AK
41462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4147
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4152 Refreshed.
4153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4159 Refreshed.
4160
d66ef399
DM
41612012-05-27 David S. Miller <davem@davemloft.net>
4162
4163 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4164 (___Q_zero): New.
4165 (__Q_simulate_exceptions): Return void. Change to simulate
4166 exceptions by writing into the %fsr.
4167 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4168 (__Qp_handle_exceptions): Likewise.
4169 (numbers): Delete.
4170 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4171 __Qp_handle_exceptions.
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4173 __Qp_handle_exceptions.
4174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4175 as unused and give dummy FP_RND_NEAREST initializer.
4176 (FP_INHIBIT_RESULTS): Define.
4177 (___Q_simulate_exceptions): Update declaration.
4178 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4179 formatting.
4180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4181 as unused and give dummy FP_RND_NEAREST initializer.
4182 (__Qp_handle_exceptions): Update declaration.
4183 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4184 formatting.
4185
04fb54b5
TS
41862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4187
4188 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4189 the temporary FPU control word.
4190 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4191 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4193 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4196 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4198 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4199 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4200 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4201
3f99608f
KK
42022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4203
4204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4205 fields.
4206
65a4de4e
CLT
42072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4208
4209 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4210 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4211 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4212 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4213 Likewise.
4214 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4215 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4216 Likewise.
4217
15749d40
UD
42182012-05-27 Ulrich Drepper <drepper@gmail.com>
4219
4220 * po/h.po: Update from translation team.
4221
25dbcb27
AS
42222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4223
3d3f8e55
AS
4224 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4225
25dbcb27
AS
4226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4227 handling of denormals.
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4229 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4231 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4235 Likewise.
4236
7ad47a80 42372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4238
4239 [BZ #14152]
4240 * math/libm-test.inc (fma_test): Don't always expect underflow
4241 exception.
4242
9c6ea9fa
SP
42432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4244
4245 [BZ #12416]
4246 * elf/tst-execstack.c: Include stackinfo.h.
4247 (do_test): Adjust test case to ensure that pthread_getattr_np
4248 behaviour remains the same after marking stack executable.
4249
a8239222
JM
42502012-05-25 Joseph Myers <joseph@codesourcery.com>
4251
4252 * sysdeps/unix/sysv/linux/kernel-features.h
4253 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4254 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4255 kernel-features.h.
4256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4259 kernel-features.h.
4260 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4261 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4262
918b5606
L
42632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4264
4265 * configure.in: Define the default includes to being none.
4266 * configure: Regenerated.
4267
3a097cc7
RM
42682012-05-25 Roland McGrath <roland@hack.frob.com>
4269
8422c9a5
RM
4270 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4271 * sysdeps/x86_64/setjmp.S: Likewise.
4272 * sysdeps/i386/bsd-setjmp.S: Likewise.
4273 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4274 * sysdeps/i386/setjmp.S: Likewise.
4275 * sysdeps/i386/__longjmp.S: Likewise.
4276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4277 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4278
3a097cc7
RM
4279 * include/stap-probe.h: New file.
4280 * configure.in: Handle --enable-systemtap.
4281 * configure: Regenerated.
4282 * config.h.in (USE_STAP_PROBE): New #undef.
4283 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4284 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4285 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4286
21708942
JM
42872012-05-25 Joseph Myers <joseph@codesourcery.com>
4288
4289 [BZ #13717]
4290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4291 to 2.4.0 where earlier.
4292 * sysdeps/unix/sysv/linux/configure: Regenerated.
4293 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4294 <kernel-features.h>.
4295 [__ASSUME_32BITUIDS]: Make code unconditional.
4296 [!__ASSUME_32BITUIDS]: Remove conditional code.
4297 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4298 <kernel-features.h>.
4299 [__ASSUME_32BITUIDS]: Make code unconditional.
4300 [!__ASSUME_32BITUIDS]: Remove conditional code.
4301 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4302 [__ASSUME_32BITUIDS]: Make code unconditional.
4303 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4304 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4305 <kernel-features.h>.
4306 [__ASSUME_32BITUIDS]: Make code unconditional.
4307 [!__ASSUME_32BITUIDS]: Remove conditional code.
4308 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4309 <kernel-features.h>.
4310 [__ASSUME_32BITUIDS]: Make code unconditional.
4311 [!__ASSUME_32BITUIDS]: Remove conditional code.
4312 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4313 <kernel-features.h>.
4314 [__ASSUME_32BITUIDS]: Make code unconditional.
4315 [!__ASSUME_32BITUIDS]: Remove conditional code.
4316 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4317 <kernel-features.h>.
4318 [__ASSUME_32BITUIDS]: Make code unconditional.
4319 [!__ASSUME_32BITUIDS]: Remove conditional code.
4320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4321 <kernel-features.h>.
4322 [__ASSUME_32BITUIDS]: Make code unconditional.
4323 [!__ASSUME_32BITUIDS]: Remove conditional code.
4324 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4325 <kernel-features.h>.
4326 [__ASSUME_32BITUIDS]: Make code unconditional.
4327 [!__ASSUME_32BITUIDS]: Remove conditional code.
4328 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4329 <kernel-features.h>.
4330 [__ASSUME_32BITUIDS]: Make code unconditional.
4331 [!__ASSUME_32BITUIDS]: Remove conditional code.
4332 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4333 <kernel-features.h>.
4334 [__ASSUME_32BITUIDS]: Make code unconditional.
4335 [!__ASSUME_32BITUIDS]: Remove conditional code.
4336 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4337 <kernel-features.h>.
4338 [__ASSUME_32BITUIDS]: Make code unconditional.
4339 [!__ASSUME_32BITUIDS]: Remove conditional code.
4340 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4341 <kernel-features.h>.
4342 [__ASSUME_32BITUIDS]: Make code unconditional.
4343 [!__ASSUME_32BITUIDS]: Remove conditional code.
4344 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4345 <kernel-features.h>.
4346 [__NR_setresgid] (__setresgid): Do not declare.
4347 [__ASSUME_32BITUIDS]: Make code unconditional.
4348 [!__ASSUME_32BITUIDS]: Remove conditional code.
4349 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4350 <kernel-features.h>.
4351 [__NR_setresuid] (__setresuid): Do not declare.
4352 [__ASSUME_32BITUIDS]: Make code unconditional.
4353 [!__ASSUME_32BITUIDS]: Remove conditional code.
4354 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4355 <kernel-features.h>.
4356 [__ASSUME_32BITUIDS]: Make code unconditional.
4357 [!__ASSUME_32BITUIDS]: Remove conditional code.
4358 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4359 <kernel-features.h>.
4360 [__ASSUME_32BITUIDS]: Make code unconditional.
4361 [!__ASSUME_32BITUIDS]: Remove conditional code.
4362 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4363 <kernel-features.h>.
4364 [__ASSUME_32BITUIDS]: Make code unconditional.
4365 [!__ASSUME_32BITUIDS]: Remove conditional code.
4366 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
4395 (__ASSUME_SETRESUID_SYSCALL): Remove.
4396 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4397 (__ASSUME_32BITUIDS): Likewise.
4398 (__ASSUME_LDT_WORKS): Likewise.
4399 (__ASSUME_O_DIRECTORY): Likewise.
4400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4401 architecture but not kernel version.
4402 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4403 (__ASSUME_MMAP2_SYSCALL): Likewise.
4404 (__ASSUME_STAT64_SYSCALL): Likewise.
4405 (__ASSUME_IPC64): Likewise.
4406 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4407 <kernel-features.h>.
4408 [__ASSUME_32BITUIDS]: Make code unconditional.
4409 [!__ASSUME_32BITUIDS]: Remove conditional code.
4410 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4411 <kernel-features.h>.
4412 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4413 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4414 132096]: Remove conditional code.
4415 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
4425 <kernel-features.h>.
4426 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4427 unconditional.
4428 (__setresgid): Do not declare.
4429 [__ASSUME_32BITUIDS]: Make code unconditional.
4430 [!__ASSUME_32BITUIDS]: Remove conditional code.
4431 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4432 <kernel-features.h>.
4433 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4434 unconditional.
4435 (__setresuid): Do not declare.
4436 [__ASSUME_32BITUIDS]: Make code unconditional.
4437 [!__ASSUME_32BITUIDS]: Remove conditional code.
4438 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4439 <kernel-features.h>.
4440 [__ASSUME_32BITUIDS]: Make code unconditional.
4441 [!__ASSUME_32BITUIDS]: Remove conditional code.
4442 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4443 <kernel-features.h>.
4444 [__ASSUME_32BITUIDS]: Make code unconditional.
4445 [!__ASSUME_32BITUIDS]: Remove conditional code.
4446
a386f1cc
RH
44472012-05-25 Richard Henderson <rth@twiddle.net>
4448
4449 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4450 dl_hwcap to ifunc resolver.
4451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4452 elf_ifunc_invoke.
4453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4454 dl_hwcap to ifunc resolver.
4455 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4456
b6550497
JM
44572012-05-24 Joseph Myers <joseph@codesourcery.com>
4458
4459 [BZ #14153]
4460 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4461 for |x| <= 2**-26, not 2**-57.
4462 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4463 exception.
4464
b0bc23a1
JL
44652012-05-24 Jeff Law <law@redhat.com>
4466
4467 * stdio-common/Makefile (tests): Add bug25.
4468 * stdio-common/bug25.c: New test.
4469
347c92e9
L
44702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 [BZ #13576]
4473 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4474 multiple of MALLOC_ALIGNMENT in size.
4475 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4476
6bcc8b3f
JM
44772012-05-24 Joseph Myers <joseph@codesourcery.com>
4478
4479 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4480 Require >= 256.
4481 (FILENAME_MAX): Use macro-int-constant.
4482 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4483 (_IOFBF): Use macro-int-constant.
4484 (_IOLBF): Likewise.
4485 (_IONBF): Likewise.
4486 (SEEK_CUR): Likewise.
4487 (SEEK_END): Likewise.
4488 (SEEK_SET): Likewise.
4489 (TMP_MAX): Likewise.
4490 (EOF): Use macro-int-constant. Require < 0.
4491 (NULL): Use macro-constant. Require == 0.
4492 (stdin): Require type to be FILE *.
4493 (stdout): Likewise.
4494 (stderr): Likewise.
4495 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4496 macro-int-constant.
4497 (EXIT_SUCCESS): Likewise.
4498 (NULL): Use macro-constant. Require == 0.
4499 (RAND_MAX): Use macro-int-constant.
4500 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4501 [C99-based standards] (strtof): Require function.
4502 [C99-based standards] (strtold): Likewise.
4503 [C99-based standards] (strtoll): Likewise.
4504 [C99-based standards] (strtoull): Likewise.
4505 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4506 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4507 [ISO || ISO99 || ISO11] (math.h): Likewise.
4508 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4509 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4511
d18ea0c5
AS
45122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4513
4514 [BZ #14132]
56d25bb8
AS
4515 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4516 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4517 * intl/dgettext.c (DCGETTEXT): Likewise.
4518 * intl/gettext.c (DCGETTEXT): Likewise.
4519 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4520 * posix/regex_internal.h (gettext): Likewise.
4521 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4522 Remove declaration.
4523 * include/argz.h (__argz_count_internal)
4524 (__argz_stringify_internal): Remove declaration.
4525 (__argz_count, __argz_stringify): Declare hidden proto.
4526 * intl/dcgettext.c: Remove use of INTDEF.
4527 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4528 * string/argz-stringify.c: Likewise.
4529 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4530 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4531 Declare hidden proto.
d18ea0c5
AS
4532 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4533 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4534 Declare hidden proto.
4535 * include/stdio.h (__asprintf_internal): Don't declare.
4536 (__asprintf): Don't define as macro. Declare hidden proto.
4537 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4538 (__fsetlocking): Declare hidden proto.
4539 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4540 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4541 hidden proto.
4542 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4543 (_IO_setlinebuf): Remove use of INTUSE.
4544 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4545 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4546 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4547 Remove declaration.
4548 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4549 (_IO_do_flush): Remove use of INTUSE.
4550 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4551 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4552 (_IO_adjust_column, _IO_least_wmarker)
4553 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4554 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4555 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4556 (_IO_default_doallocate, _IO_wdefault_doallocate)
4557 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4558 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4559 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4560 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4561 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4562 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4563 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4564 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4565 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4566 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4567 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4568 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4569 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4570 proto.
4571 (_IO_flush_all_internal, _IO_adjust_column_internal)
4572 (_IO_default_uflow_internal, _IO_default_finish_internal)
4573 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4574 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4575 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4576 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4577 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4578 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4579 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4580 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4581 (_IO_file_close_internal, _IO_file_close_it_internal)
4582 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4583 (_IO_file_init_internal, _IO_file_attach_internal)
4584 (_IO_file_fopen_internal, _IO_file_read_internal)
4585 (_IO_file_sync_internal, _IO_file_seek_internal)
4586 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4587 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4588 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4589 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4590 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4591 (_IO_list_all_internal, _IO_link_in_internal)
4592 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4593 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4594 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4595 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4596 (_IO_do_write_internal, _IO_padn_internal)
4597 (_IO_getline_info_internal, _IO_getline_internal)
4598 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4599 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4600 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4601 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4602 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4603 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4604 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4605 with libc_hidden_ver, remove use of INTUSE.
4606 * libio/genops.c: Likewise.
4607 * libio/freopen.c: Likewise.
4608 * libio/freopen64.c: Likewise.
4609 * libio/iofclose.c: Likewise.
4610 * libio/iofdopen.c: Likewise.
4611 * libio/iofflush.c: Likewise.
4612 * libio/iofflush_u.c: Likewise.
4613 * libio/iofgets.c: Likewise.
4614 * libio/iofgets_u.c: Likewise.
4615 * libio/iofopen.c: Likewise.
4616 * libio/iofopncook.c: Likewise.
4617 * libio/iofread.c: Likewise.
4618 * libio/iofread_u.c: Likewise.
4619 * libio/ioftell.c: Likewise.
4620 * libio/iofwrite.c: Likewise.
4621 * libio/iogetline.c: Likewise.
4622 * libio/iogets.c: Likewise.
4623 * libio/iogetwline.c: Likewise.
4624 * libio/iopadn.c: Likewise.
4625 * libio/iopopen.c: Likewise.
4626 * libio/ioseekoff.c: Likewise.
4627 * libio/ioseekpos.c: Likewise.
4628 * libio/iosetbuffer.c: Likewise.
4629 * libio/iosetvbuf.c: Likewise.
4630 * libio/ioungetc.c: Likewise.
4631 * libio/ioungetwc.c: Likewise.
4632 * libio/iovdprintf.c: Likewise.
4633 * libio/iovsprintf.c: Likewise.
4634 * libio/iovsscanf.c: Likewise.
4635 * libio/memstream.c: Likewise.
4636 * libio/obprintf.c: Likewise.
4637 * libio/oldfileops.c: Likewise.
4638 * libio/oldiofclose.c: Likewise.
4639 * libio/oldiofdopen.c: Likewise.
4640 * libio/oldiofopen.c: Likewise.
4641 * libio/oldiopopen.c: Likewise.
4642 * libio/oldstdfiles.c: Likewise.
4643 * libio/putc.c: Likewise.
4644 * libio/setbuf.c: Likewise.
4645 * libio/setlinebuf.c: Likewise.
4646 * libio/stdfiles.c: Likewise.
4647 * libio/strops.c: Likewise.
4648 * libio/vasprintf.c: Likewise.
4649 * libio/vscanf.c: Likewise.
4650 * libio/vsnprintf.c: Likewise.
4651 * libio/vswprintf.c: Likewise.
4652 * libio/wfiledoalloc.c: Likewise.
4653 * libio/wfileops.c: Likewise.
4654 * libio/wgenops.c: Likewise.
4655 * libio/wmemstream.c: Likewise.
4656 * libio/wstrops.c: Likewise.
4657 * libio/__fpurge.c: Likewise.
4658 * libio/__fsetlocking.c: Likewise.
4659 * assert/assert.c: Likewise.
4660 * debug/fgets_chk.c: Likewise.
4661 * debug/fgets_u_chk.c: Likewise.
4662 * debug/fread_chk.c: Likewise.
4663 * debug/fread_u_chk.c: Likewise.
4664 * debug/gets_chk.c: Likewise.
4665 * debug/obprintf_chk.c: Likewise.
4666 * debug/vasprintf_chk.c: Likewise.
4667 * debug/vdprintf_chk.c: Likewise.
4668 * debug/vsnprintf_chk.c: Likewise.
4669 * debug/vsprintf_chk.c: Likewise.
4670 * malloc/mtrace.c: Likewise.
4671 * misc/error.c: Likewise.
4672 * misc/syslog.c: Likewise.
4673 * stdio-common/asprintf.c: Likewise.
4674 * stdio-common/fxprintf.c: Likewise.
4675 * stdio-common/getw.c: Likewise.
4676 * stdio-common/isoc99_fscanf.c: Likewise.
4677 * stdio-common/isoc99_scanf.c: Likewise.
4678 * stdio-common/isoc99_vfscanf.c: Likewise.
4679 * stdio-common/isoc99_vscanf.c: Likewise.
4680 * stdio-common/isoc99_vsscanf.c: Likewise.
4681 * stdio-common/printf-prs.c: Likewise.
4682 * stdio-common/printf_fp.c: Likewise.
4683 * stdio-common/printf_fphex.c: Likewise.
4684 * stdio-common/printf_size.c: Likewise.
4685 * stdio-common/putw.c: Likewise.
4686 * stdio-common/scanf.c: Likewise.
4687 * stdio-common/sprintf.c: Likewise.
4688 * stdio-common/tmpfile.c: Likewise.
4689 * stdio-common/vfprintf.c: Likewise.
4690 * stdio-common/vfscanf.c: Likewise.
4691 * stdlib/strfmon_l.c: Likewise.
4692 * sunrpc/openchild.c: Likewise.
4693 * sunrpc/xdr_stdio.c: Likewise.
4694 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4695 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4696
d6c33fda
RM
46972012-05-24 Roland McGrath <roland@hack.frob.com>
4698
c1487492
RM
4699 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4700
4701 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4702 in the third column, to generate for the shared library an IFUNC
4703 that uses _dl_vdso_vsym.
4704 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4705 * Makeconfig (object-suffixes-noshared): New variable.
4706
4707 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4708 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4709 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4710 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4711
d6c33fda
RM
4712 [BZ #14132]
4713 * include/sys/time.h (__gettimeofday): Remove macro.
4714 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4715 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4716 Remove INTDEF.
4717 (__gettimeofday): Add libc_hidden_def.
4718 (gettimeofday): Add libc_hidden_weak.
4719 * sysdeps/mach/gettimeofday.c: Likewise.
4720 * sysdeps/posix/gettimeofday.c: Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4724 (__gettimeofday_internal): Remove strong_alias.
4725 (__gettimeofday): Add libc_hidden_def.
4726 (gettimeofday): Add libc_hidden_weak.
4727 * sysdeps/unix/syscalls.list (gettimeofday):
4728 Remove __gettimeofday_internal alias.
4729
b5a2bbe6
L
47302012-05-24 Daniel Jacobowitz <drow@false.org>
4731 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 [BZ #12495]
4734 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4735 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4736 (largebin_index_32_big): New.
4737 (largebin_index): Use it for 16-byte alignment.
4738 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4739 correction with front_misalign.
4740
cfba4fda
L
47412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4742
7f907421
L
4743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4745 Likewise.
4746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4747 Likewise.
4748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4749 Likewise.
4750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4751 Likewise.
4752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4753 Likewise.
4754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4755 Likewise.
4756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4757 Likewise.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4759 Likewise.
4760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4761 Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4763 Likewise.
4764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4765 Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4767 Likewise.
4768
cfba4fda
L
4769 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4770 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4771
80bad0cc
JM
47722012-05-24 Joseph Myers <joseph@codesourcery.com>
4773
7a25eb06
JM
4774 [BZ #10846]
4775 [BZ #14036]
4776 * math/libm-test.inc (exp_test): Add test from bug 14036.
4777 (pow_test): Add test from bug 10846.
4778
795405f9
JM
4779 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4780 and other flags.
4781 (special_function): Do not include flags in test name.
4782 (parse_args): Likewise.
4783 * sysdeps/i386/fpu/libm-test-ulps: Update.
4784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4785 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788
80bad0cc
JM
4789 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4790 exceptions.
4791 * math/libm-test.inc ("Philosophy"): Update comment about
4792 exception testing.
4793 (UNDERFLOW_EXCEPTION): New macro.
4794 (UNDERFLOW_EXCEPTION_OK): Likewise.
4795 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4796 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4797 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4798 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4799 (INVALID_EXCEPTION_OK): Update value.
4800 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4801 (OVERFLOW_EXCEPTION_OK): Likewise.
4802 (IGNORE_ZERO_INF_SIGN): Likewise.
4803 (test_exceptions): Handle underflow exceptions.
4804 (acos_test): Update for underflow exception expectations.
4805 (cexp_test): Likewise.
4806 (clog_test): Likewise.
4807 (clog10_test): Likewise.
4808 (csqrt_test): Likewise.
4809 (ctan_test): Likewise.
4810 (ctanh_test): Likewise.
4811 (exp_test): Likewise.
4812 (exp10_test): Likewise.
4813 (exp2_test): Likewise.
4814 (expm1_test): Likewise.
4815 (fma_test): Likewise.
4816 (j0_test): Likewise.
4817 (jn_test): Likewise.
4818 (nexttoward_test): Likewise.
4819 (pow_test): Likewise.
4820 (scalbn_test): Likewise.
4821 (scalbln_test): Likewise.
4822 (tan_test): Likewise.
4823 (y1_test): Likewise.
4824 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4826
9e0e3d0b
DM
48272012-05-23 David S. Miller <davem@davemloft.net>
4828
4829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4830 (__libc_sigaction): Remove unused local variables.
4831
ccd0a08f
L
48322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4833
4834 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4835
62bdf9a6
PE
48362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4837
f8591f80
PE
4838 mktime: avoid signed integer overflow
4839 * time/mktime.c (__mktime_internal): Do not mishandle the case
4840 where diff == INT_MIN.
4841
94c7d826
PE
4842 mktime: simplify computation of average
4843 * time/mktime.c (ranged_convert): Use new time_t_avg function
4844 instead of rolling our own (probably-slower) code.
4845
ce73d683
PE
4846 mktime: do not assume signed right shift propagates sign bit
4847 * time/mktime.c (isdst_differ): New static function.
4848 (__mktime_internal): No need to normalize tm_isdst now.
4849 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4850 tm_isdst values.
4851
72a22e59
PE
4852 mktime: merge another wrapv change from gnulib
4853 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4854 from some compilers.
4855
68605433
PE
4856 mktime: remove incorrect attempt at unusual arithmetics
4857 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4858 The code didn't really work on such machines anyway.
4859 (TYPE_MINIMUM): Assume two's complement.
4860 (twos_complement_arithmetic): Verify that long_int and time_t
4861 are two's complement (or unsigned, in the latter case).
4862
03cf7fe3
PE
4863 mktime: check signed shifts on long_int and time_t, too
4864 * time/mktime.c (SHR): Check that shifts work as desired
4865 on the types long_int and time_t too, as SHR is used on
4866 such types.
4867
f04dfbc2
PE
4868 mktime: do not assume 'long' is wide enough
4869 * time/mktime.c (verify): Move decl up.
4870 (long_int): New type.
4871 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4872 to remove assumption in the code that 'long' is wide enough to
4873 store year values. This assumption is not true on x32 and on
4874 some non-glibc platforms.
4875
62bdf9a6
PE
4876 mktime: merge wrapv change from gnulib
4877 * time/mktime.c (WRAPV): New macro.
4878 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4879 (guess_time_tm, __mktime_internal): Do not assume that signed
4880 integer overflow wraps around; modern compilers generate code
4881 where this assumption is no longer valid.
4882
5e292e4f
L
48832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4886 Replace "jmp L(pseudo_end)" with "ret".
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4888 Likewise.
4889
8caf8c87
AJ
48902012-05-23 Andreas Jaeger <aj@suse.de>
4891
4892 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4893 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4894
1a09dc56
AJ
48952012-05-23 Andreas Jaeger <aj@suse.de>
4896 Maximilian Attems <max@stro.at>
4897
4898 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4899 New macros.
4900
1c87aba0
L
49012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4902
4903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4904 code so that pseudo_end is just ret and the stack pointer is
4905 correct also for static library in error case.
4906
40e45bd5
JM
49072012-05-23 Joseph Myers <joseph@codesourcery.com>
4908
c2670533
JM
4909 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4910 move to syscalls.list.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4915
40e45bd5
JM
4916 * manual/install.texi (Running make install): Do not mention Linux
4917 kernel version for which pt_chown is not needed.
4918 (Linux): Do not mention problems with nscd with 2.0 kernels.
4919 * INSTALL: Regenerated.
4920
be08eda5
AJ
49212012-05-23 Andreas Jaeger <aj@suse.de>
4922
4923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4924 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4925 macro.
4926 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4928 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4930 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4936 * sysdeps/unix/sysv/linux/bits/in.h
4937 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4938
a6a056bb
RM
49392012-05-22 Roland McGrath <roland@hack.frob.com>
4940
4941 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4942 (PREPARE_VERSION): Just use assert instead, it will be elided
4943 under [NDEBUG] anyway.
4944
c9009328
L
49452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4946
4947 * sysdeps/unix/sysv/linux/Makefile: Include
4948 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4949 (sysdep_routines): Remove sysctl.
c9009328
L
4950 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4951 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4954 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4955
73338355
AJ
49562012-05-22 Andreas Jaeger <aj@suse.de>
4957
4958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4959 that pseudo_end is just ret and the stack pointer is correct also
4960 for static library in error case.
4961
d44638b0
PP
49622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4963
4964 [BZ #14122]
4965 * nss/nsswitch.c (defconfig_entries): New variable.
4966 (__nss_database_lookup): Don't leak defconfig entries.
4967 (nss_parse_service_list): Don't leak on error paths.
4968 (free_database_entries): New function.
4969 (free_defconfig): New function.
4970 (free_mem): Move common code to free_database_entries.
4971
31a39bd8
L
49722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4973
da0331a8
L
4974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4975 Add arch_prctl.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4977
31a39bd8
L
4978 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4979 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4981 New macro.
4982 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4983 (INTERNAL_SYSCALL_TYPES): Likewise.
4984 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4985 (LOAD_REGS_TYPES_[1-6]): Likewise.
4986 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4987 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4988
45470df3
AZ
49892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990
4991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4992 copysignl for GLIBC_2_0.
4993 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4994 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4996 logbl for GLIBC_2_0.
4997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4998 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4999
98a61bcb
L
50002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5001
a4f6e481
L
5002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5004
f63d5db6
L
5005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5006 Use "neg %eax".
5007
98a61bcb
L
5008 * time/mktime.c: Update copyright years.
5009
95770f14
PE
50102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5011
6226efbd
PE
5012 mktime: merge comment-quoting-style change from gnulib
5013 * time/mktime.c: Quote 'like this' in comments.
5014 The GNU coding standards suggest that we no longer quote `like this',
5015 as "`" and "'" are typically rendered asymmetrically nowadays.
5016 The typical gnulib style is to quote 'like this' when quoting
5017 code, and "like this" when quoting English.
5018
b99e4f78
PE
5019 * time/mktime.c (compile-command): Add "-I.".
5020
643e01e6
PE
5021 mktime: merge mktime-internal.h change from gnulib
5022 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5023
2554247d
PE
5024 mktime: merge time_r change from gnulib
5025 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5026
826dd0ab
PE
5027 mktime: merge DEBUG change from gnulib
5028 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5029 case system <time.h> has a #define.
5030
bd83aabe
PE
5031 mktime: merge <sys/types.h> change from gnulib
5032 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5033 since <time.t> is now guaranteed to define time_t.
5034
95770f14
PE
5035 mktime: merge HAVE_CONFIG_H change from gnulib
5036 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5037
5e1a27a9
L
50382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5039
0e44a77e
L
5040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5041 Use "neg %eax".
5042
5e1a27a9
L
5043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5044 __rlim_t cast.
5045 (struct rusage): Use anonymous union to pad each field to
5046 __syscall_slong_t.
5047
46259bec
DM
50482012-05-21 David S. Miller <davem@davemloft.net>
5049
5050 * Makefules (o-iterator): Remove .s cases.
5051 (compile-command.s): Delete.
5052 (COMPILE.s): Delete.
5053 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5054
59f0c22e
JM
50552012-05-21 Joseph Myers <joseph@codesourcery.com>
5056
5057 * configure.in (libc_cv_predef_stack_protector): Only consider
5058 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5059 * configure: Regenerated.
5060
20c07380
L
50612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5062
bbb3154b
L
5063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5064 New macro. Use R*LP on int and pointer.
5065 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5066 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5067 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5068 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5069
20c07380
L
5070 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5071 [__WORDSIZE_TIME64_COMPAT32] instead of
5072 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5073 (struct utmp): Likewise.
5074 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5075 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5076 Renamed to ...
5077 (__WORDSIZE_TIME64_COMPAT32): This.
5078 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5079 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5080 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5082 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5083 (__WORDSIZE_TIME64_COMPAT32): New macro.
5084
d8d1017e
AJ
50852012-05-21 Andreas Jaeger <aj@suse.de>
5086
5087 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5088 only if [SHARED]. Add prototype for __wcschr_ia32.
5089
6c7fb145
RM
50902012-05-21 Roland McGrath <roland@hack.frob.com>
5091
5092 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5093 of %rbp unmolested in the jmp_buf while mangling the low bits.
5094 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5095 unmolested high bits of %rbp while demangling the low bits.
5096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5097
66274218
AJ
50982012-05-21 Andreas Jaeger <aj@suse.de>
5099
07c58f8f
AJ
5100 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5101 * sunrpc/svc_simple.c: Use it for registerrpc.
5102 * sunrpc/xcrypt.c: Use it for passwd2des.
5103
66274218
AJ
5104 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5105
61f65140
L
51062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5107
5108 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5109 Don't define if [__SYSCALL_WORDSIZE != 32].
5110 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5111 New macro.
5112
5fefb436
AJ
51132012-05-21 Bruno Haible <bruno@clisp.org>
5114 Andreas Jaeger <aj@suse.de>
5115
5116 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5117 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5118 inptr and inend for must_buffer_ch.
5119 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5120 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5121 * stdio-common/Makefile (tests): Remove bug15.
5122 (bug15-ENV): Remove macro.
5123 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5124 anymore.
5125
d8e272ab
AJ
51262012-05-19 Andreas Jaeger <aj@suse.de>
5127 Roland McGrath <roland@hack.frob.com>
5128
5129 * manual/contrib.texi: Completely rewritten. It contains now an
5130 alphabetical list of contributors and their contributions.
5131
4a56a162
RH
51322012-05-21 Richard Henderson <rth@twiddle.net>
5133
5134 * misc/getauxval.c (__getauxval): Use unsigned long int.
5135 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5136 (getauxval): Use unsigned long int.
5137
d024d23c
L
51382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5139
5140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5141
cbc00a03
RM
51422012-05-21 Roland McGrath <roland@hack.frob.com>
5143
5144 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5145 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5146 __alignof__ (long double).
5147
478143fa
AZ
51482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5151
c7683a6d
RH
51522012-05-20 Richard Henderson <rth@twiddle.net>
5153
5154 * misc/getauxval.c: New file.
5155 * misc/sys/auxv.h: New file.
5156 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5157 (routines): Add getauxval.
5158 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5159 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5160 * elf/dl-sysdep.c (_dl_auxv): Remove.
5161 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5162 * elf/dl-support.c (_dl_auxv): New variable.
5163 (_dl_aux_init): Initialize it.
5164 * manual/startup.texi (Auxiliary Vector): New node.
5165 * sysdeps/generic/bits/hwcap.h: New file.
5166 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5167 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5168 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5169 * sysdeps/sparc/sysdep.h: ... here. Include it.
5170 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5171 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5173 Update.
c7683a6d
RH
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5182
a6f1845d
AZ
51832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5184
5185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5186
cbcbe830
DM
51872012-05-19 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5190
e0b16cc2
JM
51912012-05-19 Joseph Myers <joseph@codesourcery.com>
5192
5193 [BZ #14123]
5194 * math/s_ccosh.c: Include <float.h>
5195 (__ccosh): Avoid internal overflow calculating sinh and cosh
5196 values before multiplying by sin and cos values.
5197 * math/s_ccoshf.c: Likewise.
5198 * math/s_ccoshl.c: Likewise.
5199 * math/s_csin.c: Likewise.
5200 * math/s_csinf.c: Likewise.
5201 * math/s_csinl.c: Likewise.
5202 * math/s_csinh.c: Likewise.
5203 * math/s_csinhf.c: Likewise.
5204 * math/s_csinhl.c: Likewise.
5205 * math/libm-test.inc (ccos_test): Add more tests.
5206 (ccosh_test): Likewise.
5207 (csin_test): Likewise.
5208 (csinh_test): Likewise.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5211
6ad13e08
L
52122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5213
f66f0ce8
L
5214 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5215 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5216
6ad13e08
L
5217 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5218
b1d072a7
JM
52192012-05-19 Joseph Myers <joseph@codesourcery.com>
5220
5221 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5222 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5223 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5224 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5225 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5226 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5227 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5228 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5229 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5230 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5231 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5232 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5233 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5234 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5235 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5236 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5237 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5238 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5239 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5240 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5241 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5242 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5243 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5244 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5245 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5246 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5247 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5248 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5249 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5250 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5251 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5252
9eae47cb
AJ
52532012-05-18 Andreas Jaeger <aj@suse.de>
5254
5255 * csu/.gitignore: Delete.
5256
bb07f69f
L
52572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5258
5259 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5260 (timex): Use __syscall_slong_t.
5261
e6bdb741
AJ
52622012-05-18 Andreas Jaeger <aj@suse.de>
5263 Carlos O'Donell <carlos_odonell@mentor.com>
5264
5265 * manual/install.texi (Configuring and compiling): Update
5266 description about files modified in the source directory.
d6c33fda 5267 * INSTALL: Regenerated.
e6bdb741 5268
1b74487e
L
52692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5270
5271 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5272 value. Use "or" to set return value to -1.
5273 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5274 negate return value.
5275
a88b64b9
TMQMF
52762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5277
5278 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5279 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5280 failure if the compiler has Graphite support disabled.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5282 Likewise.
5283 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5284 CFLAGS-memmove.c): Likewise.
5285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5286 Likewise.
5287
3707636e
L
52882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5289
610b8622
L
5290 * sysdeps/x86_64/x32/_itoa.h: New file.
5291
7cd195df
L
5292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5293 getdents system call only if kernel and user dirents have the
5294 same d_ino and d_off.
5295
94b07d20
L
5296 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5297 LLONG_MAX != LONG_MAX.
5298 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5299 (_fitoa_word): Likewise.
5300
18298070
L
5301 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5302 years.
5303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5306
553c7ea4
L
5307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5308 include <bits/wordsize.h>. Check __x86_64__ instead of
5309 __WORDSIZE.
5310 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5311 if __x86_64__ is defined. Use anonymous union on fpstate.
5312
3707636e
L
5313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5314 anonymous union.
5315
b53ef01a
AS
53162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5317
37fb1dc0
AS
5318 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5319 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5321 Refer to _rtld_local_ro instead of _rtld_global_ro.
5322 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5323 Likewise.
5324 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5325 Likewise.
5326 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5327 Likewise.
5328 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5329 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5330 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5331
b53ef01a
AS
5332 * sysdeps/powerpc/powerpc32/dl-machine.c
5333 (__elf_machine_runtime_setup) [PROF]: Don't reference
5334 _dl_prof_resolve.
5335
7a185db2
AJ
53362012-05-18 Andreas Jaeger <aj@suse.de>
5337
5338 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5339 function only available for GCCs before 3.4 since GCC 3.4
5340 introduced a builtin.
5341 (lrint): Likewise.
5342 (llrintf): Likewise.
5343 (llrint): Likewise.
5344 (fmaxf): Likewise.
5345 (fmax): Likewise.
5346 (fminf): Likewise.
5347 (fmin): Likewise.
5348 (rint): Likewise.
5349 (rintf): Likewise.
5350 (nearbyint): Likewise.
5351 (nearbyintf): Likewise.
5352 (ceil): Likewise.
5353 (ceilf): Likewise.
5354 (floor): Likewise.
5355 (floorf): Likewise.
5356
3e5aef87
L
53572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5358
428bd707
L
5359 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5360 on both fields and cast pointer to __syscall_ulong_t.
5361
3e5aef87
L
5362 * bits/types.h (__fsword_t): New type.
5363 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5364 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5366 (__FSWORD_T_TYPE): Likewise.
5367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5368 (__FSWORD_T_TYPE): Likewise.
5369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5370 (__FSWORD_T_TYPE): Likewise.
5371 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5372 (__FSWORD_T_TYPE): Likewise.
5373 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5374 __SWORD_TYPE with __fsword_t.
5375 (statfs64): Likewise.
5376
1ba7c3dc
DM
53772012-05-17 David S. Miller <davem@davemloft.net>
5378
5379 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5380
59910343
AJ
53812012-05-17 Andreas Jaeger <aj@suse.de>
5382
5383 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5384 warning.
5385
2e4c1e9e
L
53862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5387
5388 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5389
de7f5ce7
AJ
53902012-05-17 Andreas Jaeger <aj@suse.de>
5391
5392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5393 when it is used.
5394
286abc3d
CM
53952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5396
5397 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5398
477cc68e
L
53992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5402 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5403
1a0994f5
CD
54042012-05-17 Andreas Jaeger <aj@suse.de>
5405 Carlos O'Donell <carlos_odonell@mentor.com>
5406
5407 [BZ #14059]
5408 * sysdeps/x86_64/multiarch/init-arch.h
5409 (bit_YMM_Usable): Rename to...
5410 (bit_AVX_Usable): ... this.
5411 (bit_FMA4_Usable): New macro.
5412 (bit_XMM_state): New macro.
5413 (bit_YMM_state): New macro.
5414 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5415 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5416 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5417 (CPUID_OSXSAVE): New macro.
5418 (CPUID_AVX): New macro.
5419 (CPUID_FMA4): New macro.
5420 (index_YMM_Usable): Rename to...
5421 (index_AVX_Usable): ... this.
5422 (HAS_AVX): Use HAS_ARCH_FEATURE.
5423 (HAS_FMA4): Likewise.
5424 (HAS_YMM_USABLE): Remove.
5425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5426 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5427 are present.
5428 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5429 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5430 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5431 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5432 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5433
0af797de
CM
54342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5435
5436 * math/libm-test.c: Support platforms without multiple rounding modes.
5437 * math/bug-nextafter.c: Support platforms without FP exceptions.
5438 * math/bug-nexttoward.c: Likewise.
5439 * math/test-fenv.c: Likewise.
5440 * math/test-misc.c: Likewise.
5441 * stdlib/bug-getcontext.c: Likewise.
5442
e39745ff
AJ
54432012-05-17 Andreas Jaeger <aj@suse.de>
5444
5445 * manual/examples/search.c (critter_cmp): Change signature to
5446 avoid warnings.
5447 * manual/string.texi (Collation Functions): Likewise.
5448
48970aba
L
54492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5450
5451 * bits/types.h: Fold copyright years.
5452 * bits/typesizes.h: Likewise.
5453 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5457 * time/time.h: Likewise.
5458
bedee953
PP
54592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5460
5461 [BZ #208]
5462 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5463 in instead of returning them. Return void.
5464 (__libc_mallinfo): Accumulate over all arenas.
5465 (__malloc_stats): Adjust for change in int_mallinfo interface.
5466
61653dfb
RM
54672012-05-16 Roland McGrath <roland@hack.frob.com>
5468
30b99d79
RM
5469 [BZ #10375]
5470 * configure.in (NM): Add AC_CHECK_TOOL for it.
5471 (libc_extra_cflags): New substituted variable.
5472 Check for -fstack-protector being used implicitly.
5473 * configure: Regenerated.
5474 * config.make.in (config-extra-cflags): New variable,
5475 gets @libc_extra_cflags@.
5476 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5477
61653dfb
RM
5478 [BZ #10375]
5479 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5480 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5481 * configure: Regenerated.
5482 * config.make.in (CPPUNDEFS): New substituted variable.
5483 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5484 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5485 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5486
661768bb
L
54872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5488
5489 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5490 (mq_attr): Use __syscall_slong_t.
5491
d4261567
L
54922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5495 Check __x86_64__ instead of __WORDSIZE.
5496 (_STAT_VER_LINUX): Likewise.
5497 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5498 __syscall_ulong_t and __syscall_slong_t.
5499 (stat64): Likewise.
5500
cf3ff365
L
55012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5502
5503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5504
76cf3e4d
L
55052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5506
5507 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5508
a637753a
L
55092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5510
5511 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5512 __syscall_ulong_t.
5513
d5e05119
L
5514 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5515 include <bits/wordsize.h>. Check __x86_64__ instead of
5516 __WORDSIZE.
5517 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5518 defined.
5519 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5520
f62ee380
L
5521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5522 include <bits/wordsize.h>. Check __x86_64__ instead of
5523 __WORDSIZE.
5524 (user_regs_struct): Use "__extension__ unsigned long long"
5525 instead of "unsigned long" if __x86_64__ is defined.
5526 (user): Likewise. Pad after pointer field if __ILP32__ is
5527 defined.
5528
4e124ced
JM
55292012-05-16 Joseph Myers <joseph@codesourcery.com>
5530
6a3951a0
JM
5531 * configure.in (makeinfo): Require version 4.5 or later. Allow
5532 versions 5 to 9.
5533 * configure: Regenerated.
5534 * manual/install.texi (texinfo): Increase version requirement to
5535 4.5 or later.
5536 * INSTALL: Regenerated.
5537
4e124ced
JM
5538 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5539
953ca31a
L
55402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5543
617aca05
L
5544 * sysdeps/x86_64/x32/ffs.c: New file.
5545
5762f7ae
L
5546 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5547 __syscall_ulong_t.
5548 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5549 defined. Use __syscall_ulong_t.
5550 (shminfo): Use __syscall_ulong_t.
5551 (shm_info): Likewise.
5552
a26b6856
L
5553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5554 __syscall_ulong_t.
5555
cb2b9ef7
L
5556 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5557 <bits/wordsize.h>.
5558 (msgqnum_t): Use __syscall_ulong_t.
5559 (msglen_t): Likewise.
5560 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5561 __syscall_ulong_t.
5562
34683bb0
L
5563 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5565
84a68786
L
5566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5567
48baa5f1
L
5568 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5569 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5570
180be88b
L
5571 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5572 __syscall_slong_t.
5573
5e90c8ad
L
5574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5575 include <bits/wordsize.h>. Check __x86_64__ instead of
5576 __WORDSIZE.
5577
23dfb58b
L
5578 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5579 "unsigned long long int" if __x86_64__ is defined.
5580 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5581
ce5d54b0
L
5582 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5584 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5585
13dc9eac
L
5586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5587 <stdint.h>.
5588 (GET_PC): Cast to uintptr_t first.
5589 (GET_FRAME): Likewise.
5590 (GET_STACK): Likewise.
5591
a7895d15
L
5592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5598 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5600 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5621
656416c9
AS
56222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5623
5bd66283
AS
5624 * Makerules (+depfiles): Also collect depfiles from .oS in
5625 $(extra-objs).
5626 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5627 .oS, $(libnldbl-routines)).
5628
656416c9
AS
5629 * Makerules (native-compile-mkdep-flags): Define.
5630 * sunrpc/Makefile (extra-objs): Add $(addprefix
5631 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5632 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5633 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5634 calling $(make-target-directory).
5635
a46f2169
L
56362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * bits/types.h (__snseconds_t): Removed.
5639 * time/time.h (struct timespec): Replace __snseconds_t with
5640 __syscall_slong_t.
5641 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5642 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5643 Likewise.
5644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5645 (__SNSECONDS_T_TYPE): Likewise.
5646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5647 (__SNSECONDS_T_TYPE): Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5649 (__SNSECONDS_T_TYPE): Likewise.
5650
6af6528b
L
56512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5652
5653 * sysdeps/mach/hurd/bits/typesizes.h
5654 (__SYSCALL_SLONG_TYPE): New macro.
5655 (__SYSCALL_ULONG_TYPE): Likewise.
5656
de986b56
L
56572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5658
5659 * bits/types.h (__syscall_slong_t): New type.
5660 (__syscall_ulong_t): Likewise.
5661
5662 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5663 (__SYSCALL_ULONG_TYPE): Likewise.
5664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5665 (__SYSCALL_SLONG_TYPE): Likewise.
5666 (__SYSCALL_ULONG_TYPE): Likewise.
5667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5668 (__SYSCALL_SLONG_TYPE): Likewise.
5669 (__SYSCALL_ULONG_TYPE): Likewise.
5670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5671 (__SYSCALL_SLONG_TYPE): Likewise.
5672 (__SYSCALL_ULONG_TYPE): Likewise.
5673
85736dc7
L
56742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5675
5676 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5677 Add sigaltstack-offsets.sym.
5678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5679 <sigaltstack-offsets.h>.
5680 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5681 longjmp_msg pointer.
5682 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5683 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5684 signal stack.
5685 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5686
cc03b296
JM
56872012-05-15 Joseph Myers <joseph@codesourcery.com>
5688
a9538892
JM
5689 * elf/stackguard-macros.h: Remove file.
5690 * sysdeps/generic/stackguard-macros.h: New file.
5691 * sysdeps/i386/stackguard-macros.h: Likewise.
5692 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5693 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5694 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5695 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5696 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5697 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5698 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5699 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5700 <elf/stackguard-macros.h>.
5701
cc03b296
JM
5702 [BZ #14109]
5703 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5704 __aligned__ in attribute.
5705 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5706 (gregset_t): Likewise.
5707
93171016
L
57082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5709
5710 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5711 * sysdeps/x86_64/64/Implies-after: Here. New file.
5712 * sysdeps/x86_64/x32/Implies-after: New file.
5713
d86813a0
L
57142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5717 and access return value for _dl_profile_fixup. Use R10_LP to
5718 load frame size.
5719
2953ec75
L
57202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5723
3b550e9e
L
57242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5727 * sysdeps/x86_64/x32/sysdep.h: New file.
5728
eda41706
L
57292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5732 * sysdeps/x86_64/setjmp.S: Likewise.
5733
9ea01d93
AZ
57342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5738 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5740 remove unused global constant.
5741
02a91938
CM
57422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5743
5744 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5745 include of <not-cancel.h>.
5746
6540185f
RM
57472012-05-15 Roland McGrath <roland@hack.frob.com>
5748
5749 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5750
509072a0
AJ
57512012-05-15 Jeff Law <law@redhat.com>
5752 Andreas Jaeger <aj@suse.de>
5753
5754 [BZ #13594]
5755 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5756 out from...
5757 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5758 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5760 code changing __hst_map_handle.map.
5761
ba75122d
RM
57622012-05-15 Roland McGrath <roland@hack.frob.com>
5763
5764 * configure.in (sysnames): Look for Implies-before and Implies-after
5765 files.
5766 * configure: Regenerated.
5767
890d8bd8
L
57682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5771 8-byte data alignment with LP_SIZE alignment.
5772
f6ee6623
L
57732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5774
5775 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5776 into R10_LP.
5777
ea2626f6
L
57782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5779
5780 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5781
085f715e
L
57822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5783
5784 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5785 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5787 Likewise.
5788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5789
be8498fc
L
57902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5793 (stackinfo_sub_sp): Likewise.
5794
70bc83b9
L
57952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5796
5797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5798 RAX_LP.
5799
9bc0b730
L
58002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5801
5802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5803 into R*_LP.
5804
6d2850e7
L
58052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5806
5807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5808 sizes into R*_LP.
5809
3cb84561
L
58102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5811
5812 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5813
54e2ed81
L
58142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5815
5816 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5817 into R11_LP and load __x86_64_shared_cache_size_half into
5818 R8_LP.
5819
8a17f349
L
58202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5821
5822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5823 R8_LP.
5824
777b1eea
AZ
58252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5826
5827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5828 logb for POWER7.
5829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5830 logbf for POWER7.
5831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5832 logbl for POWER7.
5833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5834 powerpc32/power7/fpu/s_logb.c via #include.
5835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5836 powerpc32/power7/fpu/s_logbf.c via #include.
5837 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5838 powerpc32/power7/fpu/s_logbl.c via #include.
5839
d20d4ac2
JM
58402012-05-15 Joseph Myers <joseph@codesourcery.com>
5841
5842 * README.libm: Remove file.
5843
6cdef1ab
L
58442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5847 count for x32. Use R*_LP and omit operand-size suffix.
5848
0b254d8f
L
58492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5850
5851 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5852 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5853 * sysdeps/x86_64/x32/shlib-versions: New file.
5854
ceb809dc
RM
58552012-05-14 Roland McGrath <roland@hack.frob.com>
5856
5857 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5858 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5859 Use _dl_fatal_printf instead.
5860
37f1abd4
JM
58612012-05-14 Joseph Myers <joseph@codesourcery.com>
5862
5863 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5864 set if not set by the user. Do not allow for being unset.
5865 * sysdeps/unix/sysv/linux/configure: Regenerated.
5866
11de3a33
L
58672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5870 the `q' suffix from lea and replace .quad with ASM_ADDR.
5871
e02f153a
L
58722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5875 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5876 instead of $17.
5877 (PTR_DEMANGLE): Likewise.
5878
520ae0fd
L
58792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5882 (LP_OP): Likewise.
5883 (ASM_ADDR): Likewise.
5884 (RAX_LP): Likewise.
5885 (RBP_LP): Likewise.
5886 (RBX_LP): Likewise.
5887 (RCX_LP): Likewise.
5888 (RDI_LP): Likewise.
5889 (RSI_LP): Likewise.
5890 (RSP_LP): Likewise.
5891 (R8_LP): Likewise.
5892 (R9_LP): Likewise.
5893 (R10_LP): Likewise.
5894 (R10_LP): Likewise.
5895 (R11_LP): Likewise.
5896 (R12_LP): Likewise.
5897 (R13_LP): Likewise.
5898 (R14_LP): Likewise.
5899 (R15_LP): Likewise.
5900
b985be81
L
59012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5902
5903 * sysdeps/x86_64/x32/dl-machine.h: New file.
5904
6a4888ff
AJ
59052012-05-14 Andreas Jaeger <aj@suse.de>
5906
5907 * manual/Makefile (subdir): Remove export of subdir.
5908 (all): Remove target.
5909 (.PHONY): Remove all from list.
5910 (mkinstalldirs): Remove.
5911 (.PHONY): Remove installdirs from list.
5912 ($(inst_infodir)/libc.info): Use make-target-directory.
5913 (installdirs): Remove.
5914 (subdir_%): Remove.
5915 (glibc-targets): Remove.
5916 (lib): Remove.
5917 (stubs): Remove.
5918 ($(objpfx)stubs ../po/manual.pot): Remove.
5919 ($(objpfx)stamp%): Remove.
5920 (make-target-directory): Remove.
5921 (subdir_install): Remove.
5922 (routines): Remove.
5923 (aux): Remove.
5924 (sources): Remove.
5925 (objects): Remove.
5926 (headers): Remove.
5927
5928 [BZ #13750]
5929 * manual/.gitignore: Remove, it's not needed anymore.
5930 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5931 all files in it.
5932 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5933 directory.
5934 (texis): Renamed to $(objpfx)texis.
5935 (texis-path): New, contains path to generated files.
5936 (chapters.%): Use texis-path for complete path, add extra argument
5937 libc-texinfo.sh.
5938 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5939 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5940 (summary,texi, stamp-summary): Use complete path of
5941 files. Generate files in build dir.
5942 (dir-add.texi): Build in build dir.
5943 (libm-err.texi,stamp-libm-err): Likewise.
5944 (version.texi, stamp-version): Likewise.
5945 (.%c.texi): Likewise.
5946 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5947 (mostlyclean): Remove target.
5948 (realclean): Remove target.
5949 (generated): Add new variable with contents from mostlyclean and
5950 realclean, remove entries duplicated in common-mostlyclean, add
5951 stamp-libm-err and stamp-version.
5952 (generated-dirs): Add libc directory.
5953 ($(inst_infodir)/libc.info): Install files from build dir.
5954
5955 * manual/install.texi (Configuring and compiling): Adjust since
5956 the info files are not part of the tar ball anymore.
5957
7ac77294
AJ
59582012-05-14 Andreas Jaeger <aj@suse.de>
5959
5960 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5961 variable.
5962
ffb7875d
JM
59632012-05-14 Joseph Myers <joseph@codesourcery.com>
5964
5965 [BZ #13717]
5966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5967 to 2.2.0 where earlier.
5968 * sysdeps/unix/sysv/linux/configure: Regenerated.
5969 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5970 Remove conditional code.
5971 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5972 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5973 Remove conditional code.
5974 [!__NR_lchown]: Likewise.
5975 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5976 [__NR_lchown]: Likewise.
5977 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5978 comment referencing __ASSUME_LCHOWN_SYSCALL.
5979 * sysdeps/unix/sysv/linux/i386/sigaction.c
5980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5982 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5983 Remove conditional code.
5984 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5985 (__protocol_available): Remove #if 0 code.
5986 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5987 conditional code.
5988 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5989 * sysdeps/unix/sysv/linux/kernel-features.h
5990 (__ASSUME_GETCWD_SYSCALL): Don't define.
5991 (__ASSUME_REALTIME_SIGNALS): Likewise.
5992 (__ASSUME_PREAD_SYSCALL): Likewise.
5993 (__ASSUME_PWRITE_SYSCALL): Likewise.
5994 (__ASSUME_POLL_SYSCALL): Likewise.
5995 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5996 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5997 non-SPARC.
5998 (__ASSUME_SIOCGIFNAME): Don't define.
5999 (__ASSUME_MSG_NOSIGNAL): Likewise.
6000 (__ASSUME_SENDFILE): Define unconditionally.
6001 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6002 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6003 conditional code.
6004 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6005 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6006 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6007 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6008 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6009 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6010 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6035 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6036 Remove conditional code.
6037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6038 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6039 Remove conditional code.
6040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6041 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6042 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6043 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6044 Remove conditional code.
6045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6046 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6047 Remove conditional code.
6048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6049 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6050 Remove conditional code.
6051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6052 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6053 Remove conditional code.
6054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6055 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6056 Remove conditional code.
6057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6058 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6061 * sysdeps/unix/sysv/linux/sigaction.c
6062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6064 * sysdeps/unix/sysv/linux/sigpending.c
6065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6067 * sysdeps/unix/sysv/linux/sigprocmask.c
6068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6070 * sysdeps/unix/sysv/linux/sigsuspend.c
6071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6074 (__libc_missing_rt_sigs): Remove.
6075 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6076 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6077 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6078 Remove conditional code.
6079 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6080 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6081 return 1.
6082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6083 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6085 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6086
1bfb7291
AJ
60872012-05-14 Andreas Jaeger <aj@suse.de>
6088
caae5a81
AJ
6089 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6090 it's not used in glibc.
6091 (__coshm1): Likewise.
6092 (__acosh1p): Likewise.
6093 (__sgn): Likewise.
6094
1bfb7291
AJ
6095 * manual/string.texi (Copying and Concatenation): Add missing
6096 variable in concat example.
6097 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6098
c044d724
L
60992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6100
144c5467 6101 [BZ #14103]
c044d724
L
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6103 __builtin_clzl with __builtin_clzll.
6104
2523c62b
L
61052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6106
6107 [BZ #14104]
6108 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6109 libc_freeres_ptr.
6110
d7bb4c42
LD
61112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6112
6113 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6114 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6115 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6116 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6117
9dc4e1fb
MF
61182012-05-14 Mike Frysinger <vapier@gentoo.org>
6119
6120 * NEWS: Update ia64 info.
6121
c7df0112
AS
61222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6123
6124 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6125 used as bcopy.
6126
dc70356c
TS
61272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6128
6129 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6130 * sysdeps/unix/syscalls.list (dup3): Likewise.
6131 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6132 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6133
9fb1a21f
L
61342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6137 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6138
4822a2a5
L
61392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6140
6141 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6142 thread pointer.
6143 (TLS_IE): Use mov/add instead of movq/addq to load thread
6144 pointer.
6145 (TLS_GD_PREFIX): New.
6146 (TLS_GD): Use it.
6147
842b81d6
DM
61482012-05-11 David S. Miller <davem@davemloft.net>
6149
6150 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6151 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6152 (_FPU_SETCW): Likewise.
6153
1cf463cd
L
61542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6157 is 32-byte aligned.
6158
60cc4a18
AS
61592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6160
6161 [BZ #11837]
6162 * iconvdata/gb18030.c: Update tables.
6163 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6164 characters specially.
6165 (BODY for TO_LOOP): Add encoding of missing ranges.
6166
febb44a4
TS
61672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6168
6169 [BZ #13673]
6170 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6171 * sysdeps/mach/hurd/dup3.c: Likewise.
6172 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6173 * sysdeps/powerpc/memmove.c:: Likewise.
6174
0a10fb9e
L
61752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6178 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6179
df8a552f
L
61802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6181
6182 * elf/elf.h (R_X86_64_RELATIVE64): New.
6183 (R_X86_64_NUM): Updated.
6184 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6185 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6186 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6187 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6188 tst-quad1pie tst-quad2pie
6189 (modules-names): Add tst-quadmod1 tst-quadmod2.
6190 ($(objpfx)tst-quad1): New dependency.
6191 ($(objpfx)tst-quad2): Likewise.
6192 ($(objpfx)tst-quad1pie): Likewise.
6193 ($(objpfx)tst-quad2pie): Likewise.
6194 * sysdeps/x86_64/tst-quad1.c: New file.
6195 * sysdeps/x86_64/tst-quad1pie.c: New file.
6196 * sysdeps/x86_64/tst-quad2.c: Likewise.
6197 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6198 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6199 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6200 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6201 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6202
f34d6f84
ST
62032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6204
f42d41d1
ST
6205 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6206 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6207 * streams/stropts.h (t_scalar_t): Define type.
6208
3c3571fc
ST
6209 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6210 (_PATH_PRESERVE): Set to "/var/lib".
6211 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6212
61f06bd3
ST
6213 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6214 instead of int.
6215
918d4d71
ST
6216 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6217 if __dir_mkfile succeeded.
6218
f34d6f84
ST
6219 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6220 checking for _hurd_dtablesize. Unlock it right after having
6221 finished _hurd_dtable allocation.
6222
10589b4a
TS
62232012-05-10 Thomas Schwinge <thomas@schwinge.name>
6224
674cdbc7
TS
6225 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6226 * sysdeps/mach/hurd/configure: Regenerated.
6227 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6228 special-casing to...
6229 * sysdeps/gnu/configure.in: ... this new file.
6230 * sysdeps/unix/sysv/linux/configure: Regenerated.
6231 * sysdeps/gnu/configure: New generated file.
6232
8e41b99f
TS
6233 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6234 for Linux: use nsec instead of usec, as well as:
6235 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6236 members of type struct timespec.
6237 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6238 New macros.
6239 (struct stat64): Likewise.
6240 (_STATBUF_ST_NSEC): New macro.
6241 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6242
10589b4a
TS
6243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6244 __strtoul_internal rather than strtoul.
6245
63643c85
PT
62462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6247
6248 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6249 and reject them.
6250
3faebe6a
ST
62512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6252
6253 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6254 which preserves existing values.
6255 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6256
c6474b07
PT
62572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6258
6259 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6260 TIMEOUT values. Return EINVAL for NFDS values either negative or
6261 greater than FD_SETSIZE.
6262
1043890b
ST
62632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6264
6265 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6266 allocated, call __vm_protect to finish enabling the existing space, and
6267 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6268 allocate the remainder.
6269
37ed8b9b
PT
62702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6271
6272 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6273 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6274
db653660
ST
62752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6276
37ed8b9b
PT
6277 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6278 sysdeps/mach/hurd/readlink.c.
b29d4053 6279
db653660
ST
6280 * posix/tst-sysconf.c (posix_options): Only use
6281 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6282 _POSIX_SYNCHRONIZED_IO when they are defined
6283 * sysdeps/mach/hurd/bits/posix_opt.h:
6284 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6285 (_XOPEN_REALTIME): Undefine macro.
6286 (_XOPEN_REALTIME_THREADS): Undefine macro.
6287 (_XOPEN_SHM): Undefine macro.
6288 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6289 macro to -1.
6290 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6291 macro to -1.
6292 (_POSIX_ASYNC_IO): Undefine macro.
6293 (_POSIX_PRIORITIZED_IO): Undefine macro.
6294 (_POSIX_SPIN_LOCKS): Define macro to -1.
6295
ee16e894
ST
6296 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6297 SA_NODEFER, SA_RESETHAND.
6298 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6299 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6300 F_DUPFD_CLOEXEC.
6301
6103ae3b
TS
63022012-05-10 Thomas Schwinge <thomas@schwinge.name>
6303
6304 * elf/Makefile (pldd-modules): Define unconditionally.
6305
80b4e5f3
TS
63062012-05-10 Thomas Schwinge <thomas@schwinge.name>
6307
6308 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6309
edadcbd6
ST
63102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6311
6312 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6313 Return ENOENT when name is empty.
6314 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6315
80694780
TS
63162012-05-10 Thomas Schwinge <thomas@schwinge.name>
6317
1792c087
TS
6318 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6319
80694780
TS
6320 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6321
6b645f0d
ST
63222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6323
80694780
TS
6324 Fix mlock in all cases except non-readable pages.
6325 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6326 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6327
6b645f0d
ST
6328 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6329 (__mkdir): When path is `/', just fail with EEXIST.
6330 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6331
e468f8a3
TS
63322012-05-10 Thomas Schwinge <thomas@schwinge.name>
6333
6334 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6335 <sys/uio.h> (for writev).
6336 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6337 and <sys/param.h> (for MIN).
6338
a4186cff
PT
63392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6340
6341 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6342 REQUESTED_TIME. Properly set the remaining time and return EINTR
6343 if interrupted.
6344
510bbf14
TS
63452012-05-10 Thomas Schwinge <thomas@schwinge.name>
6346
6347 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6348 Depend on against $(link-rpcuserlibs).
6349
5d5722e8
ST
63502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6351
a4186cff
PT
6352 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6353 (__libc_stack_end): Do not use attribute_relro.
6354 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6355 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6356 to libthread-provided value.
a4186cff
PT
6357 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6358 attribute_relro.
5d5722e8 6359
37233df9
TS
63602012-05-10 Thomas Schwinge <thomas@schwinge.name>
6361
be971a2b
TS
6362 [BZ #3748]
6363 * bits/libc-lock.h (__libc_once_get): New macro.
6364 * sysdeps/mach/bits/libc-lock.h: Likewise.
6365 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6367 instead of using implementation details.
6368
37233df9
TS
6369 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6370 * libio/freopen.c: Likewise.
6371 * libio/freopen64.c: Likewise.
6372 * misc/syslog.c: Likewise.
6373 * nscd/connections.c: Likewise.
6374 * nscd/netgroupcache.c: Likewise.
6375 * sysdeps/posix/getcwd.c: Likewise.
6376
38de94a5
RM
63772012-05-10 Roland McGrath <roland@hack.frob.com>
6378
6379 * math/w_ilogbf.c: Add #include <limits.h>.
6380
67530489
ST
63812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6382
a4186cff 6383 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6384 path instead of returning without unlocking.
6385
67530489
ST
6386 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6387 immediate-write ioctls.
6388 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6389
5aa3a74a
TS
63902012-05-10 Thomas Schwinge <thomas@schwinge.name>
6391
18bad2ae
TS
6392 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6393 __builtin_frame_address instead of making assumptions about the
6394 location of the return address relative to DATA. Force early load of
6395 the return address.
6396 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6397 __builtin_frame_address.
6398
5aa3a74a
TS
6399 dup3 for GNU Hurd.
6400 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6401 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6402 implement dup3 and do some further code clean-ups.
6403 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6404 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6405
ecd0de9a
ST
64062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6407
cd9fa985
ST
6408 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6409
a4186cff
PT
6410 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6411 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6412 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6413 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6414 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6415 d->port.lock.
802ca5a5 6416
a4186cff
PT
6417 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6418 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6419 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6420
bcf55240
TS
64212012-05-10 Thomas Schwinge <thomas@schwinge.name>
6422
6960eb42
TS
6423 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6424 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6425 definitions.
6426
eb43375f
TS
6427 accept4 for GNU Hurd.
6428 * include/sys/socket.h (__libc_accept4): New prototype.
6429 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6430 to implement __libc_accept4.
6431 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6432 __libc_accept4.
6433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6434
bcf55240
TS
6435 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6436 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6437 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6438 signal-defines.sym.
6439
6178c55b
ST
64402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6441
a4186cff 6442 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6443
6f080c2f
TS
64442012-05-10 Thomas Schwinge <thomas@schwinge.name>
6445
6446 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6447 assertion on O_CLOEXEC flag.
6448 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6449 * hurd/intern-fd.c: Likewise.
6450 * hurd/port2fd.c: Likewise.
6451
bcfe3a54
ST
64522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6453
6454 [BZ #3906]
6455 * bits/in.h (IPV6_PKTINFO): Define new macro.
6456 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6457
89c9aa49
AZ
64582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459
6460 [BZ #13954]
6461 [BZ #13955]
6462 [BZ #13956]
6463 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6465 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6469 * math/libm-test.inc (logb_test) : Additional logb tests.
6470
021db4be
AJ
64712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6472 Andreas Jaeger <aj@suse.de>
6473
6474 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6475 * configure: Regenerated.
6476 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6477 * config.make.in (link-obsolete-rpc): New substituted variable.
6478 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6479 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6480 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6481 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6482 so that libc.a contains the symbols.
6483 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6484 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6485 * sunrpc/auth_none.c: Likewise.
6486 * sunrpc/auth_unix.c: Likewise.
6487 * sunrpc/authdes_prot.c: Likewise.
6488 * sunrpc/authuxprot.c: Likewise.
6489 * sunrpc/clnt_gen.c: Likewise.
6490 * sunrpc/clnt_perr.c: Likewise.
6491 * sunrpc/clnt_raw.c: Likewise.
6492 * sunrpc/clnt_simp.c: Likewise.
6493 * sunrpc/clnt_tcp.c: Likewise.
6494 * sunrpc/clnt_udp.c: Likewise.
6495 * sunrpc/clnt_unix.c: Likewise.
6496 * sunrpc/des_crypt.c: Likewise.
6497 * sunrpc/des_soft.c: Likewise.
6498 * sunrpc/get_myaddr.c: Likewise.
6499 * sunrpc/key_call.c: Likewise.
6500 * sunrpc/key_prot.c: Likewise.
6501 * sunrpc/netname.c: Likewise.
6502 * sunrpc/pm_getmaps.c: Likewise.
6503 * sunrpc/pm_getport.c: Likewise.
6504 * sunrpc/pmap_clnt.c: Likewise.
6505 * sunrpc/pmap_prot.c: Likewise.
6506 * sunrpc/pmap_prot2.c: Likewise.
6507 * sunrpc/pmap_rmt.c: Likewise.
6508 * sunrpc/publickey.c: Likewise.
6509 * sunrpc/rpc_cmsg.c: Likewise.
6510 * sunrpc/rpc_common.c: Likewise.
6511 * sunrpc/rpc_dtable.c: Likewise.
6512 * sunrpc/rpc_prot.c: Likewise.
6513 * sunrpc/rpc_thread.c: Likewise.
6514 * sunrpc/rtime.c: Likewise.
6515 * sunrpc/svc.c: Likewise.
6516 * sunrpc/svc_auth.c: Likewise.
6517 * sunrpc/svc_raw.c: Likewise.
6518 * sunrpc/svc_run.c: Likewise.
6519 * sunrpc/svc_tcp.c: Likewise.
6520 * sunrpc/svc_udp.c: Likewise.
6521 * sunrpc/svc_unix.c: Likewise.
6522 * sunrpc/svcauth_des.c: Likewise.
6523 * sunrpc/xcrypt.c: Likewise.
6524 * sunrpc/xdr.c: Likewise.
6525 * sunrpc/xdr_array.c: Likewise.
6526 * sunrpc/xdr_float.c: Likewise.
6527 * sunrpc/xdr_intXX_t.c: Likewise.
6528 * sunrpc/xdr_mem.c: Likewise.
6529 * sunrpc/xdr_rec.c: Likewise.
6530 * sunrpc/xdr_ref.c: Likewise.
6531 * sunrpc/xdr_sizeof.c: Likewise.
6532 * sunrpc/xdr_stdio.c: Likewise.
6533
b5c086a2
RM
65342012-05-10 Roland McGrath <roland@hack.frob.com>
6535
6536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6537 change. Update copyright years.
6538
6d74dd09
JM
65392012-05-10 Joseph Myers <joseph@codesourcery.com>
6540
6541 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6542
28e72501
MK
65432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6544 Joseph Myers <joseph@codesourcery.com>
6545 Paul Pluzhnikov <ppluzhnikov@google.com>
6546
6547 [BZ #14012]
6548 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6549 requiring rpcgen.
6550 [cross-compiling] (extra-libs): Likewise.
6551 [cross-compiling] (extra-libs-others): Likewise.
6552 [cross-compiling] (librpcsvc-routines): Likewise.
6553 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6554 [cross-compiling] (omit-deps): Likewise.
6555 (sunrpc-CPPFLAGS): New variable.
6556 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6557 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6558 (cross-rpcgen-objs): New variable.
6559 (extra-objs): Append $(cross-rpcgen-objs).
6560 ($(cross-rpcgen-objs)): New rule.
6561 ($(objpfx)cross-rpcgen): Likewise.
6562 (rpcgen-cmd): Define to use $(built-program-file). Expand
6563 comment.
6564 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6565 ($(objpfx)x%.stmp): Likewise.
6566 * sunrpc/proto.h [IS_IN_build] (_): Define.
6567 [IS_IN_build] (_libc_intl_domainname): Likewise.
6568
c8c59454
L
65692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6570
6571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6572 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6573 and R_X86_64_TPOFF64.
6574
6f27cd16
JM
65752012-05-10 Joseph Myers <joseph@codesourcery.com>
6576
6577 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6578 sysdeps/unix/sysv/syscalls.list.
6579 (stime): Likewise.
6580 (utime): Likewise.
6581 * sysdeps/unix/sysv/syscalls.list: Remove file.
6582
02467e1c
PE
65832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6584
6585 [BZ #3440]
6586 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6587 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6588 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6589 (__LC_IDENTIFICATION): Make these macros useful in #if
6590 expressions, as required by C99.
6591
da392631
AS
65922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6593
6594 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6595 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6596 after this.
6597
8115f29b
L
65982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6599
6600 * stdlib/longlong.h: Updated from GCC.
6601
bdd74070
AJ
66022012-05-09 Andreas Jaeger <aj@suse.de>
6603
edfe0dbe
AJ
6604 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6605 default is first entry.
6606 (run_mode): Set type.
6607 (main): Remove informal message about syslog.
6608 (options): Fix typo.
6609
bcfe3a54
ST
6610 [BZ #14053]
6611 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6612 to asm.
bcfe3a54
ST
6613 (lrint): Likewise.
6614 (llrintf): Likewise.
6615 (llrint): Likewise.
6616 (rint): Likewise.
6617 (rintf): Likewise.
6618 (nearbyint): Likewise.
6619 (nearbyintf): Likewise.
bdd74070 6620
91d8d69e
AJ
66212012-05-09 Andreas Jaeger <aj@suse.de>
6622 Pedro Alves <palves@redhat.com>
6623
6624 * nscd/nscd.c (run_mode): Use enum.
6625 (main): Cleanup coding style issue.
6626
bb90b80b
AJ
66272012-05-09 Alexandre Oliva <aoliva@redhat.com>
6628 Andreas Jaeger <aj@suse.de>
6629
bcfe3a54
ST
6630 * nscd/nscd.c (go_background): Replaced with...
6631 (run_mode): ... this.
bb90b80b 6632 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6633 (options): Add -F --foreground.
6634 (main): Implement it.
6635 (parse_opt): Parse it.
bb90b80b 6636
1a4b75a1
AJ
66372012-05-09 Andreas Jaeger <aj@suse.de>
6638
6639 [BZ #14083]
6640 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6641 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6642 -Wconversion warning.
6643 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6644 Likewise.
6645
b1cc2472
JM
66462012-05-09 Joseph Myers <joseph@codesourcery.com>
6647
6648 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6649 == 0.
6650 (LC_ALL): Use macro-int-constant.
6651 (LC_COLLATE): Likewise.
6652 (LC_CTYPE): Likewise.
6653 (LC_MESSAGES): Likewise.
6654 (LC_MONETARY): Likewise.
6655 (LC_NUMERIC): Likewise.
6656 (LC_TIME): Likewise.
6657 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6658 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6660 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6661 Specify type.
6662 [C99-based standards] (float_t): Expect type.
6663 [C99-based standards] (double_t): Expect type.
6664 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6665 type.
6666 [C99-based standards] (HUGE_VALL): Likewise.
6667 [C99-based standards] (INFINITY): Likewise.
6668 [C99-based standards] (NAN): Likewise.
6669 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6670 [C99-based standards] (FP_NAN): Likewise.
6671 [C99-based standards] (FP_NORMAL): Likewise.
6672 [C99-based standards] (FP_SUBNORMAL): Likewise.
6673 [C99-based standards] (FP_ZERO): Likewise.
6674 [C99-based standards] (FP_FAST_FMA): Use
6675 optional-macro-int-constant. Specify type. Require == 1.
6676 [C99-based standards] (FP_FAST_FMAF): Likewise.
6677 [C99-based standards] (FP_FAST_FMAL): Likewise.
6678 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6679 [C99-based standards] (FP_ILOGBNAN): Likewise.
6680 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6681 Specify type.
6682 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6683 [C99-based standards] (math_errhandling): Specify type.
6684 [ISO99 || ISO11] (signgam): Do not allow.
6685 [non-C99-based standards] (copysignf): Do not allow.
6686 [non-C99-based standards] (exp2f): Likewise.
6687 [non-C99-based standards] (log2f): Likewise.
6688 [non-C99-based standards] (modff): Allow.
6689 [non-C99-based standards] (erff): Do not allow.
6690 [non-C99-based standards] (erfcf): Likewise.
6691 [non-C99-based standards] (gammaf): Likewise.
6692 [non-C99-based standards] (hypotf): Likewise.
6693 [non-C99-based standards] (j0f): Likewise.
6694 [non-C99-based standards] (j1f): Likewise.
6695 [non-C99-based standards] (jnf): Likewise.
6696 [non-C99-based standards] (lgammaf): Likewise.
6697 [non-C99-based standards] (tgammaf): Likewise.
6698 [non-C99-based standards] (y0f): Likewise.
6699 [non-C99-based standards] (y1f): Likewise.
6700 [non-C99-based standards] (ynf): Likewise.
6701 [non-C99-based standards] (isnanf): Likewise.
6702 [non-C99-based standards] (acoshf): Likewise.
6703 [non-C99-based standards] (asinhf): Likewise.
6704 [non-C99-based standards] (atanhf): Likewise.
6705 [non-C99-based standards] (cbrtf): Likewise.
6706 [non-C99-based standards] (expm1f): Likewise.
6707 [non-C99-based standards] (ilogbf): Likewise.
6708 [non-C99-based standards] (log1pf): Likewise.
6709 [non-C99-based standards] (logbf): Likewise.
6710 [non-C99-based standards] (nextafterf): Likewise.
6711 [non-C99-based standards] (remainderf): Likewise.
6712 [non-C99-based standards] (rintf): Likewise.
6713 [non-C99-based standards] (scalbf): Likewise.
6714 [non-C99-based standards] (copysignl): Likewise.
6715 [non-C99-based standards] (exp2l): Likewise.
6716 [non-C99-based standards] (log2l): Likewise.
6717 [non-C99-based standards] (modfl): Allow.
6718 [non-C99-based standards] (erfl): Do not allow.
6719 [non-C99-based standards] (erfcl): Likewise.
6720 [non-C99-based standards] (gammal): Likewise.
6721 [non-C99-based standards] (hypotl): Likewise.
6722 [non-C99-based standards] (j0l): Likewise.
6723 [non-C99-based standards] (j1l): Likewise.
6724 [non-C99-based standards] (jnl): Likewise.
6725 [non-C99-based standards] (lgammal): Likewise.
6726 [non-C99-based standards] (tgammal): Likewise.
6727 [non-C99-based standards] (y0l): Likewise.
6728 [non-C99-based standards] (y1l): Likewise.
6729 [non-C99-based standards] (ynl): Likewise.
6730 [non-C99-based standards] (isnanl): Likewise.
6731 [non-C99-based standards] (acoshl): Likewise.
6732 [non-C99-based standards] (asinhl): Likewise.
6733 [non-C99-based standards] (atanhl): Likewise.
6734 [non-C99-based standards] (cbrtl): Likewise.
6735 [non-C99-based standards] (expm1l): Likewise.
6736 [non-C99-based standards] (ilogbl): Likewise.
6737 [non-C99-based standards] (log1pl): Likewise.
6738 [non-C99-based standards] (logbl): Likewise.
6739 [non-C99-based standards] (nextafterl): Likewise.
6740 [non-C99-based standards] (remainderl): Likewise.
6741 [non-C99-based standards] (rintl): Likewise.
6742 [non-C99-based standards] (scalbl): Likewise.
6743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6744 [non-C99-based standards] (FP_*): Do not allow.
6745 [C99-based standards] (FP_*): Change to
6746 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6747 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6748 allow.
6749 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6750 (SIG_ERR): Likewise.
6751 [X/Open-based standards] (SIG_HOLD): Likewise.
6752 (SIG_IGN): Likewise.
6753 (SIGABRT): Use macro-int-constant. Specify type. Require
6754 positive value.
6755 (SIGFPE): Likewise.
6756 (SIGILL): Likewise.
6757 (SIGINT): Likewise.
6758 (SIGSEGV): Likewise.
6759 (SIGTER): Likewise.
6760 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6761 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6762 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6764 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6765 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6766 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6767 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6768 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6769 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6770 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6771 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6772 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6773 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6774 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6775 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6776 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6777 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6778 [X/Open-based standards] (SIGTRAP): Likewise.
6779 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6780 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6781 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6782 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6783 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6784 allow.
6785
b9f1922d
IW
67862012-05-08 Ian Wienand <ianw@vmware.com>
6787
6788 [BZ #14080]
6789 * time/tzset.c (__tzset_parse_tz): Update default rules for
6790 daylight time changes in the Energy Policy Act of 2005.
6791
1db86e88
AJ
67922012-05-09 Andreas Jaeger <aj@suse.de>
6793
6794 [BZ #13983]
6795 * elf/ldconfig.c (parse_conf): Change string to make clear that
6796 ldconfig only issued a warning if ld.so.conf does not exist.
6797
dee4a4e3
DM
67982012-05-08 David S. Miller <davem@davemloft.net>
6799
ee0db190
DM
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6801 movxtod instead of popping the value on the stack.
6802
dee4a4e3
DM
6803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6804
6a43ec98
CD
68052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6806
6807 * config.h.in: Add HAVE_ARM_PCS_VFP.
6808
05c2c961
RMG
68092012-05-08 Roland Mc Grath <roland@hack.frob.com>
6810
bcfe3a54
ST
6811 [BZ #13979]
6812 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6813 checking but the checks are disabled for any reason.
05c2c961 6814
4b30f61a
L
68152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6818 and ELF64_R_TYPE with ELFW(R_TYPE).
6819
eee2bc67
JM
68202012-05-08 Joseph Myers <joseph@codesourcery.com>
6821
7ea5391a
JM
6822 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6823 (ulimit): Likewise.
6824
eee2bc67
JM
6825 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6826 (settimeofday): Likewise.
6827
abb66a67
MF
68282012-05-08 Mike Frysinger <vapier@gentoo.org>
6829
6830 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6831 a struct th_u2 inside the union, and move tu_block/tu_code into
6832 a new th_u3 union of tu_block/tu_code inside of that. Move
6833 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6834 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6835 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6836 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6837 (th_stuff): Change to th_u1.tu_stuff.
6838 (th_data): Define.
6839 (th_msg): Change to th_u1.th_u2.tu_data.
6840
7f18b530
DM
68412012-05-07 David S. Miller <davem@davemloft.net>
6842
05760585
DM
6843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6844
7f18b530
DM
6845 [BZ #14074]
6846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6847 (SETUP_PIC_REG): Use it.
6848 (SETUP_PIC_REG_LEAF): Use it.
6849
495fd99f
JM
68502012-05-07 Joseph Myers <joseph@codesourcery.com>
6851
6852 [BZ #13885]
6853 [BZ #13923]
6854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6855 USE_AS_EXPM1L.
6856 (EXPL_FINITE): Likewise.
6857 (FLDLOG): Likewise.
6858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6859 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6860 e_expl.S.
6861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6862 USE_AS_EXPM1L.
6863 (EXPL_FINITE): Likewise.
6864 (FLDLOG): Likewise.
6865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6866 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6867 e_expl.S.
6868 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6869 test of -max_value argument for long double.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872
6693d694
DM
68732012-05-06 David S. Miller <davem@davemloft.net>
6874
6875 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6876 quad soft-float symbols whose references which are compiler
6877 generated.
6878 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6879
6c23e11c
JM
68802012-05-06 Joseph Myers <joseph@codesourcery.com>
6881
d8b82cad
JM
6882 [BZ #13884]
6883 [BZ #13914]
6884 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6885 USE_AS_EXP10L.
6886 (EXPL_FINITE): Likewise.
6887 (FLDLOG): Likewise.
6888 (c0): Likewise.
6889 (c1): Likewise.
6890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6891 Adjust comments for base varying.
6892 (__expl_finite): Change alias to EXPL_FINITE.
6893 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6894 e_expl.S.
6895 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6896 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6898 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6900 USE_AS_EXP10L.
6901 (EXPL_FINITE): Likewise.
6902 (FLDLOG): Likewise.
6903 (c0): Likewise.
6904 (c1): Likewise.
6905 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6906 Adjust comments for base varying.
6907 (__expl_finite): Change alias to EXPL_FINITE.
6908 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6909 tests for bugs.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6911
6c23e11c
JM
6912 [BZ #14064]
6913 * math/libm-test.inc (check_float_internal): Correct ulp
6914 calculation for subnormal expected results.
6915
29ba805c
AJ
69162012-05-06 Andreas Jaeger <aj@suse.de>
6917
6918 * Makeconfig (+math-flags): New, set to -frounding-math.
6919 (+cflags): Add +math-flags so that all of glibc gets compiled with
6920 it.
6921
6922 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6923
7b17aeda
JM
69242012-05-05 Joseph Myers <joseph@codesourcery.com>
6925
5779f134
JM
6926 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6927 Disable one test.
6928
41498f4d
JM
6929 [BZ #13787]
6930 [BZ #13922]
6931 [BZ #14036]
6932 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6933 (__ieee754_expl): Allow for and saturate large arguments.
6934 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6935 (u_threshold): Likewise.
6936 (__exp): Call __ieee754_exp before checking for overflow and
6937 underflow.
6938 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6939 (u_threshold): Likewise.
6940 (__expf): Call __ieee754_expf before checking for overflow and
6941 underflow.
6942 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6943 (u_threshold): Likewise.
6944 (__expl): Call __ieee754_expl before checking for overflow and
6945 underflow.
6946 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6947 (__ieee754_expl): Allow for and saturate large arguments.
6948 * math/libm-test.inc (exp_test): Add another test. Do not allow
6949 missing overflow exception on overflow.
6950 (expm1_test): Do not allow missing overflow exception on overflow.
6951
6698b8bf
JM
6952 * sysdeps/i386/fpu/e_expl.c: Move to ...
6953 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6954 rather than using inline asm.
6955 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6956 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6957 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6958
7b17aeda
JM
6959 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6960 (nice): Likewise.
6961 (poll): Likewise.
6962 (signal): Likewise.
6963 (time): Likewise.
6964 (times): Likewise.
6965
f7c85819
JM
69662012-05-04 Joseph Myers <joseph@codesourcery.com>
6967
6968 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6969 sysdeps/unix/common/syscalls.list.
6970 (fchmod): Likewise.
6971 (fchown): Likewise.
6972 (ftruncate): Likewise.
6973 (getrusage): Likewise.
6974 (gettimeofday): Likewise.
6975 (setpgid): Likewise.
6976 (setregid): Likewise.
6977 (setreuid): Likewise.
6978 (sigaction): Likewise.
6979 (truncate): Likewise.
6980 (vhangup): Likewise.
6981 * sysdeps/unix/common/syscalls.list: Remove file.
6982 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6983 * sysdeps/unix/sysv/linux/Implies: Likewise.
6984
336270d0
L
69852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6986
6987 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6989 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6990 Moved to ...
6991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6992 Here.
6993 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6994 to ...
6995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6996 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6997 to ...
6998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6999 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7000 to ...
7001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7003 to ...
7004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7006 to ...
7007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7009 to ...
7010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7011 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7012 to ...
7013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7014 Here.
7015 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7016 to ...
7017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7018 Here.
7019 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7020 to ...
7021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7023 Moved to ...
7024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7025 Here.
7026 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7027 to ...
7028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7029
d128e450
JM
70302012-05-04 Joseph Myers <joseph@codesourcery.com>
7031
fa8ee516
JM
7032 * sysdeps/unix/common/bits/dirent.h: Remove file.
7033 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7034
d128e450
JM
7035 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7036 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7037 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7038 * sysdeps/unix/bsd/isatty.c: Likewise.
7039 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7040 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7041 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7042
ff8faaf0 70432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7044
62881be4 7045 [BZ #13563]
31dc8730
AZ
7046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7047 long double comparison inaccuracies.
7048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7050
6fef930c
AS
70512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7052
7053 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7055
8f203e6c
JM
70562012-05-04 Joseph Myers <joseph@codesourcery.com>
7057
7058 [BZ #14049]
7059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7060 nonzero digits before rounding a hex value.
7061 * stdlib/tst-strtod.c (tests): Add another test.
7062
5197d9c2
AK
70632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7064
7065 * sysdeps/s390/fpu/libm-test-ulps: Update.
7066
f0c1dedf
AJ
70672012-05-03 Andreas Jaeger <aj@suse.de>
7068
7069 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7070 does not get optimized out.
7071 (malloc_opt_barrier): New.
7072
a65ef2ae 70732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7074 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7075
2b942cb7 7076 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7077 intermediate file deletion.
2b942cb7 7078 (generated): Add .symlist files.
a65ef2ae 7079
54b71e02
JM
70802012-05-03 Joseph Myers <joseph@codesourcery.com>
7081
7082 [BZ #13775]
7083 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7084 Redirect under this condition.
7085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7086 [__USE_GNU] (__dprintf_chk): Not under this condition.
7087 [__USE_GNU] (__vdprintf_chk): Likewise.
7088 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7089 under this condition.
7090 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7091 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7092 [__USE_XOPEN2K8] (vdprintf): Likewise.
7093 [__USE_GNU] (__dprintf_chk): Not under this condition.
7094 [__USE_GNU] (__vdprintf_chk): Likewise.
7095 [__USE_GNU] (dprintf): Likewise.
7096 [__USE_GNU] (vdprintf): Likewise.
7097
d3dfcc41
RM
70982012-05-03 Roland McGrath <roland@hack.frob.com>
7099
7100 * elf/Makefile (common-generated): Set this instead of generated for
7101 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7102 $(all-built-dso)-derived lists.
7103
7ac30cc5
AJ
71042012-05-03 Andreas Jaeger <aj@suse.de>
7105
0c51e550
AJ
7106 * sysdeps/i386/fpu/libm-test-ulps: Update.
7107
7ac30cc5
AJ
7108 * FAQ: Removed.
7109 * FAQ.in: Likewise.
7110 * scripts/gen-FAQ.pl: Likewise.
7111 * manual/install.texi (Installation): Point to online location of
7112 FAQ.
7113 * Makefile (files-for-dist): Remove FAQ.
7114 (FAQ): Remove.
7115
d4c2917f
AM
71162012-05-02 Allan McRae <allan@archlinux.org>
7117
7118 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7119 (LDFLAGS-reldepmod5.so): Likewise.
7120 (LDFLAGS-reldep6mod1.so): Likewise.
7121 (LDFLAGS-reldep6mod4.so): Likewise.
7122 (LDFLAGS-reldep8mod3.so): Likewise.
7123 (LDFLAGS-unload4mod1.so): Likewise.
7124 (LDFLAGS-unload4mod2.so): Likewise.
7125 (LDFLAGS-tst-initorder): Likewise.
7126 (LDFLAGS-tst-initordera2.so): Likewise.
7127 (LDFLAGS-tst-initordera3.so): Likewise.
7128 (LDFLAGS-tst-initordera4.so): Likewise.
7129 (LDFLAGS-tst-initorderb2.so): Likewise.
7130 (LDFLAGS-noload): Likewise.
7131 (LDFLAGS-next): Likewise.
7132 (LDFLAGS-order2mod1.so): Likewise.
7133 (LDFLAGS-order2mod2.so): Likewise.
7134 (LDFLAGS-tst-initorder2): Likewise.
7135 (LDFLAGS-tst-initorder2a.so): Likewise.
7136 (LDFLAGS-tst-initorder2b.so): Likewise.
7137 (LDFLAGS-tst-initorder2c.so): Likewise.
7138 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7139
d77f993f
DM
71402012-05-02 David S. Miller <davem@davemloft.net>
7141
7142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7143
171a70b4
PP
71442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7145
7146 [BZ #14055]
7147 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7148
0be196ad
AJ
71492012-05-02 Andreas Jaeger <aj@suse.de>
7150
7151 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7152 since we manipulate rounding mode.
7153 (CPPFLAGS-test-idouble.c): Likewise.
7154 (CPPFLAGS-test-ifloat.c): Likewise.
7155 (CFLAGS-test-ldouble.c): Likewise.
7156 (CFLAGS-test-double.c): Likewise.
7157 (CFLAGS-test-float.c): Likewise.
7158 (CFLAGS-test-misc.c): Likewise.
7159 (CFLAGS-test-test-fenv.c): Likewise.
7160
4f9d04aa
AZ
71612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7162
2b942cb7
RM
7163 [BZ #2550]
7164 [BZ #2570]
7165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7166 comparisons to determine direction to adjust input.
4f9d04aa 7167
82a79e7d
RM
71682012-05-01 Roland McGrath <roland@hack.frob.com>
7169
f5a01ca9
RM
7170 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7171 output to the target.
7172
90fe4186
RM
7173 * scripts/localplt.awk: New file.
7174 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7175 (check-localplt-CFLAGS): Variable removed.
7176 ($(all-built-dso:=.jmprel)): New static pattern rule.
7177 (generated): Add those targets.
7178 (localplt-built-dso): New variable.
7179 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7180
7181 * elf/check-localplt.c: File removed.
7182
82397ed6
RM
7183 * scripts/check-execstack.awk: New file.
7184 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7185 (check-execstack-CFLAGS): Variable removed.
7186 ($(objpfx)check-execstack.h): Target removed.
7187 ($(objpfx)execstack-default): New target.
7188 (generated): Add that instead of check-execstack.h.
7189 ($(all-built-dso:=.phdr)): New static pattern rule.
7190 (generated): Add those targets.
7191 * elf/check-execstack.c: File removed.
7192
82a79e7d
RM
7193 * scripts/check-textrel.awk: New file.
7194 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7195 (check-textrel-CFLAGS): Variable removed.
7196 (all-built-dso): Use := to define.o
7197 ($(all-built-dso:=.dyn)): New static pattern rule.
7198 (generated): Add those targets.
7199 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7200 * config.make.in (READELF): New substituted variable.
7201 * elf/check-textrel.c: File removed.
7202
62fde54f 72032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7204
615605c9
JM
7205 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7206 allow.
7207 * conform/data/ctype.h-data [C99-based standards] (isblank):
7208 Expect function.
7209 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7210 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7212 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7213 Specify type. Require positive value.
7214 (EILSEQ): Likewise.
7215 (ERANGE): Likewise.
7216 [ISO || POSIX] (EILSEQ): Do not expect.
7217 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7218 Specify type. Require positive value.
7219 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7221 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7223 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7224 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7225 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7226 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7228 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7229 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7230 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7231 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7232 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7233 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7234 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7235 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7236 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7237 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7242 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7243 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7244 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7245 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7246 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7247 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7252 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7288 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7291 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7293 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7294 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7295 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7296 Require >= 2.
7297 (FLT_ROUNDS): Expect as macro, not constant.
7298 (FLT_MANT_DIG): Use macro-int-constant.
7299 (DBL_MANT_DIG): Likewise.
7300 (LDBL_MANT_DIG): Likewise.
7301 (FLT_DIG): Likewise.
7302 (DBL_DIG): Likewise.
7303 (LDBL_DIG): Likewise.
7304 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7305 (DBL_MIN_EXP): Likewise.
7306 (LDBL_MIN_EXP): Likewise.
7307 (FLT_MAX_EXP): Use macro-int-constant.
7308 (DBL_MAX_EXP): Likewise.
7309 (LDBL_MAX_EXP): Likewise.
7310 (FLT_MAX_10_EXP): Likewise.
7311 (DBL_MAX_10_EXP): Likewise.
7312 (LDBL_MAX_10_EXP): Likewise.
7313 (FLT_MAX): Use macro-constant.
7314 (DBL_MAX): Likewise.
7315 (LDBL_MAX): Likewise.
7316 (FLT_EPSILON): Use macro-constant. Give upper bound.
7317 (DBL_EPSILON): Likewise.
7318 (LDBL_EPSILON): Likewise.
7319 (FLT_MIN): Likewise.
7320 (DBL_MIN): Likewise.
7321 (LDBL_MIN): Likewise.
7322 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7323 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7324 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7325 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7326 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7327 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7328 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7329 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7330 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7331 [ISO11] (FLT_TRUE_MIN): Likewise.
7332 [ISO11] (LDBL_TRUE_MIN): Likewise.
7333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7334 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7335 (SCHAR_MIN): Use macro-int-constant. Specify type.
7336 (SCHAR_MAX): Likewise.
7337 (UCHAR_MAX): Likewise.
7338 (CHAR_MIN): Likewise.
7339 (CHAR_MAX): Likewise.
7340 (MB_LEN_MAX): Use macro-int-constant.
7341 (SHRT_MIN): Use macro-int-constant. Specify type.
7342 (SHRT_MAX): Likewise.
7343 (USHRT_MAX): Likewise.
7344 (INT_MAX): Likewise.
7345 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7346 bound negative.
7347 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7348 bound with "U".
7349 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7350 bound with "L".
7351 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7352 bound negative. Suffix upper bound with "L".
7353 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7354 bound with "UL".
7355 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7356 Specify type.
7357 [C99-based standards] (LLONG_MAX): Likewise.
7358 [C99-based standards] (ULLONG_MAX): Likewise.
7359 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7360 == 0.
7361 [ISO11] (max_align_t): Require type.
7362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7363
c9140a62
JM
7364 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7365 from $CFLAGS, without defining away __attribute__ calls.
7366 (checknamespace): Use $CFLAGS_namespace.
7367
9af0bf29
JM
7368 * conform/conformtest.pl (@keywords): Only include C99 keywords
7369 for standards based on C99 or C11.
7370
343222a2
JM
7371 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7372 Disable tests.
7373 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7374 UNIX98]: Likewise.
7375
661f8cf0
JM
7376 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7377 usability of symbols in #if.
7378
ee74b9cb
JM
7379 * conform/conformtest.pl: If macro or constant types start
7380 "promoted:", expect the symbol to be of the following type
7381 promoted by the integer promotions.
62fde54f 7382
aafc49b3
JM
7383 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7384 in one place. Also handle "macro-constant".
7385
fefdf574
JM
7386 * conform/conformtest.pl: Only accept expected macro values with
7387 "==". Parse all "macro" lines in one place.
7388 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7389
f2d922fe
JM
7390 * conform/conformtest.pl: Handle braced types on "constant" lines
7391 instead of handling "typed-constant".
7392 * conform/data/signal.h-data: Use "constant" instead of
7393 "typed-constant".
7394
d22956c9
JM
7395 * conform/conformtest.pl: Handle "optional-" at start of lines in
7396 one place rather than duplicating several cases. Handle each
7397 format of "macro" line with initial "optional-".
7398
028e2e38
JM
7399 * conform/conformtest.pl: Only accept expected constant or
7400 optional-constant values with "==". Parse all "constant" lines in
7401 one place. Parse all "optional-constant" lines in one place.
7402 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7403 * conform/data/fmtmsg.h-data: Likewise.
7404 * conform/data/netinet/in.h-data: Likewise.
7405 * conform/data/tar.h-data: Likewise.
7406 * conform/data/limits.h-data: Use "==" form on "constant" and
7407 "optional-constant" lines.
7408
1b8f2850
JM
7409 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7410 Use -std=c99 for XOPEN2K.
7411 (@knownproblems): Remove.
7412 (newtoken): Don't check %isknown.
7413
a05a144b
JM
7414 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7415 Do not expect macro.
7416 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7428 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7429 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7446 [XPG3] (acosh): Likewise.
7447 [XPG3] (asinh): Likewise.
7448 [XPG3] (atanh): Likewise.
7449 [XPG3] (cbrt): Likewise.
7450 [XPG3] (expm1): Likewise.
7451 [XPG3] (ilogb): Likewise.
7452 [XPG3] (log1p): Likewise.
7453 [XPG3] (logb): Likewise.
7454 [XPG3] (nextafter): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7457 [XPG3] (remainder): Likewise.
7458 [XPG3] (rint): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7466 [UNIX98 || XOPEN2K] (scalb): Expect.
7467 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7468 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7604
73c5ebe3
JM
7605 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7606 _XOPEN_SOURCE_EXTENDED for XPG4.
7607
39c33b6c
JM
7608 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7609
62fde54f
JM
7610 * Makeconfig (localtime): Remove variable.
7611 (inst_localtime-file): Likewise.
7612
0741d64c
AS
76132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7614
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7616 Update.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7618 Update.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7620 Update.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7622 Update.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7624 Update.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7626 Update.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7628 Update.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7630 Update.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7632 Update.
7633
7cb029ee
JM
76342012-05-01 Joseph Myers <joseph@codesourcery.com>
7635
7636 [BZ #2550]
7637 [BZ #2570]
7638 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7639 comparisons to determine direction to adjust input.
7640 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7641 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7643 Likewise.
7644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7645 Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7647 Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7650 Likewise.
7651 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7652 Likewise.
7653 * math/libm-test.inc (nexttoward_test): Add more tests.
7654
412bd966
AS
76552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7656
7657 [BZ #14040]
7658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7659 in version GLIBC_2.1, not GLIBC_2.0.
7660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7661 Likewise.
7662
9568c0c2
JM
76632012-04-30 Joseph Myers <joseph@codesourcery.com>
7664
adfbc8ac
JM
7665 [BZ #13942]
7666 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7667 (1 - x) * (1 + x).
7668 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7669 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7670 * math/libm-test.inc (acos_test): Add more tests.
7671 (asin_test): Likewise.
7672 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674
5ba3cc69
JM
7675 [BZ #14034]
7676 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7677 of square root.
7678 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7679 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7680 * math/libm-test.inc (acos_test_tonearest): New function.
7681 (acos_test_towardzero): Likewise.
7682 (acos_test_downward): Likewise.
7683 (acos_test_upward): Likewise.
7684 (asin_test_tonearest): Likewise.
7685 (asin_test_towardzero): Likewise.
7686 (asin_test_downward): Likewise.
7687 (asin_test_upward): Likewise.
7688 (main): Call the new functions.
7689 * sysdeps/i386/fpu/libm-test-ulps: Update.
7690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7691
9568c0c2
JM
7692 [BZ #13884]
7693 [BZ #13924]
7694 * math/e_exp10.c: Include <float.h>.
7695 (__ieee754_exp10): Handle underflow here rather than multiplying
7696 large negative argument by M_LN10.
7697 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7698 of __ieee754_expf.
7699 * math/e_exp10l.c: Include <float.h>.
7700 (__ieee754_exp10l): Handle underflow here rather than multiplying
7701 large negative argument by M_LN10l.
7702 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7703 spurious overflow exception on underflow.
7704
5ac3ea17
MP
77052012-04-29 Marek Polacek <polacek@redhat.com>
7706
7707 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7708 (__fortify_function): New macro.
7709 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7710 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7711 __extern_always_inline.
7712 * libio/bits/stdio2.h: Likewise.
7713 * libio/bits/stdio.h: Likewise.
7714 * string/string.h: Likewise.
7715 * string/bits/string3.h: Likewise.
7716 * include/stdio.h: Likewise.
7717 * stdlib/bits/stdlib.h: Likewise.
7718 * stdlib/stdlib.h: Likewise.
7719 * rt/bits/mqueue2.h: Likewise.
7720 * rt/mqueue.h: Likewise.
7721 * posix/bits/unistd.h: Likewise.
7722 * posix/unistd.h: Likewise.
7723 * io/bits/poll2.h: Likewise.
7724 * io/bits/fcntl2.h: Likewise.
7725 * io/fcntl.h: Likewise.
7726 * io/sys/poll.h: Likewise.
7727 * misc/bits/syslog.h: Likewise.
7728 * misc/bits/syslog-ldbl.h: Likewise.
7729 * misc/sys/syslog.h: Likewise.
7730 * socket/bits/socket2.h: Likewise.
7731 * socket/sys/socket.h: Likewise.
7732 * debug/tst-chk1.c: Likewise.
7733 * wcsmbs/bits/wchar2.h: Likewise.
7734 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7735 * wcsmbs/wchar.h: Likewise.
7736
ecf0ebfb
AJ
77372012-04-29 Andreas Jaeger <aj@suse.de>
7738
7739 * Makerules (tests): Remove enable-check-abi protection.
7740 (check-abi-warn): Remove.
7741 (check-abi-%): Remove check-abi-warn usage.
7742
7743 * configure.in: Remove check-abi configure option.
7744 * configure: Regenerated.
7745 * config.make.in (enable-check-abi): Remove.
7746
6d5c57fa
AS
77472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7748
24c5d07e 7749 [BZ #14033]
ded5180a
AS
7750 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7751 double functions to double *_finite functions.
7752
7e0d315d
AS
7753 [BZ #13941]
7754 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7755 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7756 LDBL_MIN_EXP.
7757 * stdio-common/Makefile (tests): Add tst-sprintf3.
7758 * stdio-common/tst-sprintf3.c: New file.
7759
6d5c57fa
AS
7760 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7761 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7762
0749ff8b
JM
77632012-04-28 Joseph Myers <joseph@codesourcery.com>
7764
7765 * conform/conformtest.pl: Remove duplicate typed-constant
7766 handling.
7767
8dbd5d7b
DM
77682012-04-28 David S. Miller <davem@davemloft.net>
7769
7770 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7771 (check-abi-%): Remove AWK script prerequisite and explicit
7772 abilist directory.
7773 (check-abi): Rewrite to just diff the symlist with the abilist.
7774 (config-tls, config-abi-config): Delete, no longer used.
7775 (update-abi-%): Remove AWK script and explicit abilist directory.
7776 (update-abi): Rewrite to simply compare and conditionally copy the
7777 symlist and the sysdep abilist file. Remove update-abi-config
7778 checks.
7779 * abilist/ld.abilist: Remove.
7780 * abilist/libBrokenLocale.abilist: Remove.
7781 * abilist/libanl.abilist: Remove.
7782 * abilist/libcrypt.abilist: Remove.
7783 * abilist/libdl.abilist: Remove.
7784 * abilist/librt.abilist: Remove.
7785 * abilist/libthread_db.abilist: Remove.
7786 * abilist/libutil.abilist: Remove.
7787 * scripts/extract-abilist.awk: Remove.
7788 * scripts/merge-abilist.awk: Remove.
7789 * sysdeps/generic/libcidn.abilist: New file.
7790 * sysdeps/generic/libnss_compat.abilist: New file.
7791 * sysdeps/generic/libnss_db.abilist: New file.
7792 * sysdeps/generic/libnss_dns.abilist: New file.
7793 * sysdeps/generic/libnss_files.abilist: New file.
7794 * sysdeps/generic/libnss_hesiod.abilist: New file.
7795 * sysdeps/generic/libnss_nis.abilist: New file.
7796 * sysdeps/generic/libnss_nisplus.abilist: New file.
7797 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7798 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7799 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7800 file.
7801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7802 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7803 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7804 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7805 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7807 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7808 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7809 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7810 file.
7811 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7812 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7814 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7815 file.
7816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7818 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7820 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7821 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7822 file.
7823 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7825 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7826 file.
7827 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7829 New file.
7830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7831 New file.
7832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7833 New file.
7834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7835 New file.
7836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7837 New file.
7838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7839 New file.
7840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7841 New file.
7842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7843 New file.
7844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7845 New file.
7846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7847 New file.
7848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7849 New file.
7850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7851 New file.
7852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7853 New file.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7855 file.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7857 New file.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7859 New file.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7861 file.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7863 New file.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7865 New file.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7867 file.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7869 New file.
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7871 New file.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7873 New file.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7875 New file.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7877 New file.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7879 New file.
7880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7882 file.
7883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7884 New file.
7885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7886 file.
7887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7888 file.
7889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7890 file.
7891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7892 file.
7893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7894 file.
7895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7896 New file.
7897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7898 file.
7899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7900 file.
7901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7902 New file.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7904 file.
7905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7907 file.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7909 New file.
7910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7911 file.
7912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7913 file.
7914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7915 file.
7916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7917 file.
7918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7919 file.
7920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7921 New file.
7922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7923 file.
7924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7925 file.
7926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7927 New file.
7928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7929 file.
7930 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7931 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7932 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7933 file.
7934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7935 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7936 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7937 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7938 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7940 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7941 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7942 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7943 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7946 file.
7947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7948 New file.
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7950 file.
7951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7952 file.
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7954 file.
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7956 file.
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7958 file.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7960 New file.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7962 New file.
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7964 file.
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7966 New file.
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7968 file.
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7971 file.
7972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7973 New file.
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7975 file.
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7977 file.
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7979 file.
7980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7981 file.
7982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7983 file.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7985 New file.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7987 New file.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7989 file.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7991 New file.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7993 file.
7994
41d73a1b
JM
79952012-04-28 Joseph Myers <joseph@codesourcery.com>
7996
7997 * conform/conformtest.pl: Fix typo in handling typed-constant from
7998 allow-header.
7999
28aeeda4
JM
80002012-04-27 Joseph Myers <joseph@codesourcery.com>
8001
adae8f5e
JM
8002 * README: Cut down references to pre-2.6 Linux kernels and
8003 Linuxthreads. Update lists of configurations in libc and ports
8004 and sort alphabetically. Say "or newer" with Linux kernel version
8005 requirements.
8006
28aeeda4
JM
8007 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8008
a462cb63
RA
80092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8010
8011 [BZ #887]
8012 * math/libm-test.inc (logb_test_downward): New test to expose
8013 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8014 rounding mode.
8015
6ad3493e
JM
80162012-04-27 Joseph Myers <joseph@codesourcery.com>
8017
8018 [BZ #14027]
8019 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8020 to be done.
8021 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8022 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8023
2ce4f015
JM
80242012-04-26 Joseph Myers <joseph@codesourcery.com>
8025
5aeb141a
JM
8026 * sysdeps/unix/i386/brk.S: Remove file.
8027 * sysdeps/unix/i386/dl-brk.S: Likewise.
8028 * sysdeps/unix/i386/pipe.S: Likewise.
8029 * sysdeps/unix/i386/sigreturn.S: Likewise.
8030 * sysdeps/unix/i386/syscall.S: Likewise.
8031 * sysdeps/unix/i386/vfork.S: Likewise.
8032 * sysdeps/unix/i386/wait.S: Likewise.
8033
7143acae
JM
8034 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8035 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8036
2ce4f015
JM
8037 * configure.in (arm*-none*): Do not allow without
8038 --enable-hacker-mode.
8039 (netbsd*): Remove case setting base_os.
8040 (386bsd*): Likewise.
8041 (freebsd*): Likewise.
8042 (bsdi*): Likewise.
8043 (osf*): Likewise.
8044 (sunos*): Likewise.
8045 (ultrix*): Likewise.
8046 (newsos*): Likewise.
8047 (dynix*): Likewise.
8048 (*bsd*): Likewise.
8049 (sysv*): Likewise.
8050 (isc*): Likewise.
8051 (esix*): Likewise.
8052 (sco*): Likewise.
8053 (minix*): Likewise.
8054 (irix4*): Likewise.
8055 (irix6*): Likewise.
8056 (solaris[2-9]*): Likewise.
8057 (none): Likewise.
8058 * configure: Regenerated.
8059
0ac229c8
AZ
80602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8061
8062 [BZ #11521]
8063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8064 overflow or cancellation in calculating denominator.
8065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8067 down expression to avoid unexpected rounding in newer GCCs.
8068 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8069
33f244f4
DM
80702012-04-26 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8073 long-double compat symbols.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8087
cfa1f3e8
DM
80882012-04-25 David S. Miller <davem@davemloft.net>
8089
8090 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8091 HWCAP_* values only after the memory barriers have been defined.
8092 (atomic_full_barrier): Define.
8093 (atomic_read_barrier): Define.
8094 (atomic_write_barrier): Define.
8095
6e236b92
SP
80962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8097
8098 * shlib-versions: Add libgcc_s version information.
8099 * sysdeps/generic/libgcc_s.h: Remove.
8100 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8101 libgcc_s.h.
8102 * sysdeps/gnu/unwind-resume.c: Likewise.
8103 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8104
aab39a09
DM
81052012-04-25 David S. Miller <davem@davemloft.net>
8106
8107 * sysdeps/unix/sparc/brk.S: Delete.
8108 * sysdeps/unix/sparc/dl-brk.S: Delete.
8109 * sysdeps/unix/sparc/pipe.S: Delete.
8110 * sysdeps/unix/sparc/sysdep.S: Delete.
8111 * sysdeps/unix/sparc/sysdep.h: Delete.
8112 * sysdeps/unix/sparc/vfork.S: Delete.
8113 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8114 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8116 ret_ERRVAL, r0, r1, MOVE): Define.
8117 (JUMPTARGET): Remove.
8118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8119 sysdeps/unix/sparc/sysdep.h
8120 (ENTRY, END): Remove.
8121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8122
a3cc4f48
JM
81232012-04-25 Joseph Myers <joseph@codesourcery.com>
8124
2ed8cda2
JM
8125 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8126 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8127 -DIS_IN_build.
8128
35d76d59
JM
8129 * timezone/README: Update upstream location and email address for
8130 tzcode and tzdata.
8131 * timezone/zdump.c: Update from tzcode 2012b.
8132 * timezone/zic.c: Likewise.
8133
a3cc4f48
JM
8134 * configure.in (libc_cv_as_needed): Remove test.
8135 * configure: Regenerated.
8136 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8137 conditional definition.
8138 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8139 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8140 * config.make.in (have-as-needed): Remove variable.
8141
ceab42c3
SP
81422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8143 Paul Pluzhnikov <ppluzhnikov@google.com>
8144
8145 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8146 strings correctly.
8147
3ce2865f
CLT
81482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8149
8150 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8151 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8152 * sysdeps/sh/strlen.S: Likewise.
8153
f37e0d68
JM
81542012-04-24 Joseph Myers <joseph@codesourcery.com>
8155
ae186e9a
JM
8156 * sysdeps/unix/fork.S: Remove file.
8157 * sysdeps/unix/i386/fork.S: Likewise.
8158 * sysdeps/unix/sparc/fork.S: Likewise.
8159
b96914af
JM
8160 * sysdeps/unix/system.c: Remove file.
8161 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8162
f37e0d68
JM
8163 * sysdeps/unix/getegid.S: Remove file.
8164 * sysdeps/unix/geteuid.S: Likewise.
8165
87ef29ca
RM
81662012-04-24 Roland McGrath <roland@hack.frob.com>
8167
83bcd236
RM
8168 * scripts/check-localplt.awk: New file.
8169 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8170 of diff.
8171 * scripts/data/localplt-generic.data: Add a comment.
8172
87ef29ca
RM
8173 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8174 NODE when __dir_mkfile failed.
8175 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8176 Reported by Ludovic Courtès <ludo@gnu.org>.
8177
e5a6e567
AJ
81782012-04-24 Andreas Jaeger <aj@suse.de>
8179
8180 * Makerules (common-clean): Also remove gen-as-const-headers
8181 files.
8182
c1820385
JM
81832012-04-24 Joseph Myers <joseph@codesourcery.com>
8184
8185 * Makerules (native-compile): Do not change working directory for
8186 build. Use $(OUTPUT_OPTION) in command.
8187 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8188
94e02fc4
AZ
81892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8190
8191 [BZ #13886]
8192 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8193 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8194 * math/libm-test.inc (floor_test): Add more tests.
8195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8196
3a533ca3
JM
81972012-04-24 Joseph Myers <joseph@codesourcery.com>
8198
940ab4b3
JM
8199 * sysdeps/unix/getdents.c: Remove file.
8200 * sysdeps/unix/sysv/getdents.c: Likewise.
8201 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8202
90e037bd
JM
8203 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8204 sysdeps/unix/mman/syscalls.list.
8205 (mmap): Likewise.
8206 (mprotect): Likewise.
8207 (msync): Likewise.
8208 (munmap): Likewise.
8209 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8210 * sysdeps/unix/mman/syscalls.list: Remove.
8211 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8212
3a533ca3
JM
8213 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8214 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8215 * configure: Regenerated.
8216 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8217 $(libgcc_s_suffix).
8218 * config.make.in (libgcc_s_suffix): Remove variable.
8219
1ad743de
JM
82202012-04-23 Joseph Myers <joseph@codesourcery.com>
8221
4ad451e2
JM
8222 * sysdeps/unix/sysv/gethostname.c: Move to ...
8223 * sysdeps/posix/gethostname.c: ... here.
8224
5e37ce39
JM
8225 * sysdeps/unix/execve.S: Remove file.
8226
1ad743de
JM
8227 * sysdeps/unix/_exit.S: Remove file.
8228
4e681b5b
AJ
82292012-04-23 Andreas Jaeger <aj@suse.de>
8230
8231 [BZ #13739]
8232 * manual/Makefile: Remove make dist support, there's no
8233 need for a stand-alone documentation tar ball.
8234 (TEXI2DVI): Define always, it's not in Makeconfig.
8235 (dist): Removed.
8236 (tar-it): Removed.
8237 (edition): Removed.
8238 (glibc-doc-$(edition).tar): Removed
8239 (%.Z): Removed.
8240 (%.gz): Removed.
8241 (%.uu): Removed.
8242 (ETAGS): Remove, it's in Makeconfig.
8243 (move-if-change): Remove, it's in Makeconfig.
8244
c0baea34
PE
82452013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8246
8247 [BZ #13970]
8248 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8249 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8250 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8251 (strtod_l, strtof_l, strtold_l): Remove __wur.
8252 It is not necessarily an error to ignore strtol's return value.
8253 One can reliably look at the stored endptr to decide whether
8254 the number had valid syntax.
8255
7c0616fa
AJ
82562012-04-21 Andreas Jaeger <aj@suse.de>
8257
803cb6b7 8258 [BZ #13739]
7c0616fa
AJ
8259 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8260
b0fe253f
JM
82612012-04-21 Joseph Myers <joseph@codesourcery.com>
8262
8263 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8264 * sysdeps/unix/sysv/Versions: Remove file.
8265
8280f22d
MT
82662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8267
8268 [BZ #13927]
8269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8270
75ce411f 82712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8272
8273 [BZ #7064]
8274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8275 version from __vm86.
8276
097d59fa
JM
82772012-04-20 Joseph Myers <joseph@codesourcery.com>
8278
a90f3bcb
JM
8279 * sysdeps/unix/common/lxstat.c: Remove file.
8280 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8281
edc7ea78
JM
8282 * sysdeps/unix/sysv/Makefile: Remove file.
8283
cb78c221
JM
8284 * sysdeps/unix/sysv/direct.h: Remove file.
8285
efa6a45f
JM
8286 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8287 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8288 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8289 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8290 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8291 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8292 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8293
9c9f2d0c
JM
8294 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8295
4541c83b
JM
8296 * sysdeps/unix/xmknod.c: Remove file.
8297 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8298
f5d153a0
JM
8299 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8300
aa746595
JM
8301 * sysdeps/unix/sysv/i386/time.S: Remove file.
8302
cce5905e
JM
8303 * sysdeps/unix/fxstat.c: Remove file.
8304 * sysdeps/unix/xstat.c: Likewise.
8305 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8306
37fa3841
JM
8307 * sysdeps/unix/sysv/sigaction.c: Remove file.
8308
ff1962a3
JM
8309 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8310 (sysdep_headers): Remove variable.
8311 [termio.h not in sysdep_headers] (generated): Likewise.
8312 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8313 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8314 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8315 * sysdeps/unix/sysv/tcflow.c: Likewise.
8316 * sysdeps/unix/sysv/tcflush.c: Likewise.
8317 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8318 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8319 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8320 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8321 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8322
e7740d31
JM
8323 * sysdeps/unix/siglist.c: Remove file.
8324
ee06f18b
JM
8325 * sysdeps/unix/getppid.S: Remove file.
8326
097d59fa
JM
8327 * sysdeps/unix/mkdir.c: Remove file.
8328 * sysdeps/unix/rmdir.c: Likewise.
8329
ff3d51ec
AS
83302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8331
8332 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8333 ERR_MAX value.
8334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8335 errlist-compat value.
8336
50f81fd7
DM
83372012-04-18 David S. Miller <davem@davemloft.net>
8338
8339 * sysdeps/generic/memcopy.h (reg_char): Delete.
8340 * debug/strcat_chk.c: Use char, not reg_char.
8341 * debug/strcpy_chk.c: Likewise.
8342 * debug/strncat_chk.c: Likewise.
8343 * debug/strncpy_chk.c: Likewise.
8344 * string/memchr.c: Likewise.
8345 * string/memrchr.c: Likewise.
8346 * string/rawmemchr.c: Likewise.
8347 * string/strcat.c: Likewise.
8348 * string/strchr.c: Likewise.
8349 * string/strchrnul.c: Likewise.
8350 * string/strcmp.c: Likewise.
8351 * string/strcpy.c: Likewise.
8352 * string/strncat.c: Likewise.
8353 * string/strncmp.c: Likewise.
8354 * string/strncpy.c: Likewise.
8355
8ff41c46
WS
83562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8357
8358 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8359 __builtin_memcopy is called when src and dest ranges are known to not
8360 overlap.
8361
6b652f46
WS
83622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8363
8364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8365 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8366 fwd_align_merge macro call.
8367 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8368 bwd_align_merge macro call.
8369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8370
b282631e
WS
83712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8372
8373 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8374 bwd_align_merge macros.
8375 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8376 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8377 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8378
95aa737c
DM
83792012-04-18 David S. Miller <davem@davemloft.net>
8380
8381 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8382
7a99a614
AJ
83832012-04-18 Andreas Jaeger <aj@suse.de>
8384
8385 [BZ# 6794]
8386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8387 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8389
8390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8391 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8392 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8393
8394 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8395 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8396 Adjust for changed ldbl-128 files.
8397
8398 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8399 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8400 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8401
e5270c23
DM
84022012-04-17 David S. Miller <davem@davemloft.net>
8403
8404 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8405
fb5e92c9
AS
84062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8407
8408 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8409 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8410 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8411 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8413 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8414
76da7265
AZ
84152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8416
8417 [BZ #6794]
8418 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8419 * math/libm-test.inc: Add ilogb errno and exception tests.
8420 * math/w_ilogb.c: New file: ilogb wrapper.
8421 * math/w_ilogbf.c: New file: ilogbf wrapper.
8422 * math/w_ilogbl.c: New file: ilogbl wrapper.
8423 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8424 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8425 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8426 exception being thrown with 0.0 as argument.
8427 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8428 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8429 exception being thrown with 0.0 as argument.
8430 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8431 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8432 exception being thrown with 0.0 as argument.
8433 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8434 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8435 exception being thrown with 0.0 as argument.
8436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8437 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8439 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8441 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8442 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8443 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8444 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8445
0396e69d
PB
84462012-04-17 Petr Baudis <pasky@ucw.cz>
8447
8448 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8449 with altivec.
8450
750b5926
MP
84512012-04-16 Marek Polacek <polacek@redhat.com>
8452
8453 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8454
751728a1
MP
84552012-04-16 Marek Polacek <polacek@redhat.com>
8456
8457 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8458 operands of fdivp instruction.
8459
34a27407
L
84602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8463 * elf/tst-auditmod3b.c: Likewise.
8464 * elf/tst-auditmod4b.c: Likewise.
8465 * elf/tst-auditmod5b.c: Likewise.
8466 * elf/tst-auditmod6b.c: Likewise.
8467 * elf/tst-auditmod6c.c: Likewise.
8468 * elf/tst-auditmod7b.c: Likewise.
8469 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8470 * sysdeps/x86_64/preconfigure.in: Likewise.
8471 * sysdeps/x86_64/preconfigure: Regenerated.
8472
7e73e17d
L
84732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8474
8475 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8476 __ILP32__.
8477
c7a6ab72
AB
84782012-04-13 Antoine Balestrat <merkil33@gmail.com>
8479
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8481 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8482
a9e8e0e0
CL
84832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8484
8485 [BZ #13973]
8486 * locale/iso-639.def: Fix gl language name. Spotted by
8487 Yaron Shahrabani.
8488
ec98af7d
RM
84892012-04-12 Roland McGrath <roland@hack.frob.com>
8490
8491 [BZ #2074]
8492 * libio/libio.h (__io_write_fn): Update comment.
8493
247c3ede
PB
84942012-04-12 Petr Baudis <pasky@ucw.cz>
8495
8496 [BZ #2074]
8497 * stdio.texi (Hook Functions): The user provided writer function
8498 is not allowed to return -1.
8499
55939d6d
DM
85002012-04-11 David S. Miller <davem@davemloft.net>
8501
8502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8503
90020f5a
MF
85042012-04-11 Mike Frysinger <vapier@gentoo.org>
8505
8506 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8507 Add a leading slash to rtkaio.
8508
288f9098
JM
85092012-04-11 Jim Meyering <meyering@redhat.com>
8510
90020f5a
MF
8511 [BZ #11959]
8512 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8513 It is not necessarily an error to ignore fwrite's return
8514 value. One can reliably use ferror to test for errors after
8515 the fact.
288f9098 8516
4be2b570
L
85172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 * bits/types.h (__snseconds_t): New type.
8520 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8521
8522 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8524 (__SNSECONDS_T_TYPE): Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8526 (__SNSECONDS_T_TYPE): Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8528 (__SNSECONDS_T_TYPE): Likewise.
8529
288f9098 85302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8531
8532 [BZ #2636]
8533 * manual/time.texi (Processor Time): Return type of times is
8534 elapsed real time since an arbitrary point in the past.
8535 (CPU Time): Move CLK_TCK from here...
8536 (Processor Time): ...to here. Correct description.
8537 * manual/conf.texi (Constants for Sysconf): Correct description of
8538 _SC_CLK_TCK.
8539
d7dd4413
DM
85402012-04-10 David S. Miller <davem@davemloft.net>
8541
8542 [BZ #13967]
8543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8544 where the is a gap between DT_REL(A) and DT_JMPREL.
8545
b46068fc
L
85462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8547
8548 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8549 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8550 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8551
73d65cc3
SP
85522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8553
8554 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8555 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8556 (dl_main): Handle --inhibit-cache.
8557 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8558 _dl_inhibit_cache.
8559 * elf/dl-load.c (_dl_map_object): Use it.
8560 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8561
bcc8d661
JM
85622012-04-09 Joseph Myers <joseph@codesourcery.com>
8563
8f9a2fae
JM
8564 [BZ #13872]
8565 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8566 (__ieee754_powl): Saturate large exponents rather than testing for
8567 overflow of y*log2(x).
8568 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8569 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8570 exceptions.
8571
bcc8d661
JM
8572 [BZ #11521]
8573 * math/s_ctan.c: Include <float.h>.
8574 (__ctan): Avoid internal overflow or cancellation in calculating
8575 denominator.
8576 * math/s_ctanf.c: Likewise.
8577 * math/s_ctanl.c: Likewise.
8578 * math/s_ctanh.c: Likewise.
8579 * math/s_ctanhf.c: Likewise.
8580 * math/s_ctanhl.c: Likewise.
8581 * math/libm-test.inc (ctan_test): Add more tests.
8582 (ctanh_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585
823fbbb4
AJ
85862012-04-09 Andreas Jaeger <aj@suse.de>
8587
03879793
AJ
8588 [BZ #6894]
8589 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8590 is an optional BSD extension.
8591
823fbbb4
AJ
8592 [BZ #10254]
8593 * manual/stdio.texi (Opening Streams): Document additional fopen
8594 parameters.
8595
8de131cb
RM
85962012-04-09 Roland McGrath <roland@hack.frob.com>
8597
8598 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8599 %eax without telling the compiler.
8600
c0ed9d7d
CD
86012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8602
8603 [BZ # 13963]
8604 * manual/install.texi: Use sourceware.org.
8605
c483f6b4
JM
86062012-04-09 Joseph Myers <joseph@codesourcery.com>
8607
d7dd9453
JM
8608 [BZ #13873]
8609 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8610 (__ieee754_pow): Generate overflow and underflow using huge*huge
8611 and tiny*tiny rather than just returning constant infinity or zero
8612 for large exponents.
8613 * math/libm-test.inc (pow_test): Require overflow exceptions for
8614 applicable cases of large exponents.
8615
c483f6b4
JM
8616 [BZ #706]
8617 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8618 (__ieee754_pow): Use iterative multiplication algorithm only for
8619 integer exponents with absolute value below 1024. Check for odd
8620 integer exponents when using algorithm for real exponents.
8621 * math/libm-test.inc (pow_test): Add more tests.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8623
d2de7579
JM
86242012-04-08 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #13705]
8627 * math/libm-test.inc (exp_test): Do not allow overflow exception
8628 on underflow test.
8629
f77f1232
AJ
86302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8631
8632 [BZ #13705]
8633 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8634 instead of __kernel_standard_f.
8635
3884932b
MF
86362012-04-08 Mike Frysinger <vapier@gentoo.org>
8637
8638 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8639 * sysdeps/x86_64/memset_chk.S: Likewise.
8640
54472e9c
AJ
86412012-04-08 Andreas Jaeger <aj@suse.de>
8642
6ab0fbfc
AJ
8643 [BZ #10153]
8644 * manual/startup.texi (Environment Access): Describe return value
8645 for putenv and setenv.
8646
61efba8c
AJ
8647 [BZ #6895]
8648 * manual/filesys.texi (Directory Entries): Add description for
8649 DT_LNK.
8650
95c3f29a
AJ
8651 [BZ #6890]
8652 * manual/filesys.texi (Directory Entries): Clarify that it's file
8653 system not operating system in the description of DT_UNKNOWN.
8654
54472e9c
AJ
8655 [BZ #6578]
8656 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8657
624254b1
SC
86582012-04-08 Stephen Compall <s11@member.fsf.org>
8659
8660 [BZ #6649]
8661 * manual/llio.texi (Opening and Closing Files): Add cross
8662 reference to explain mode argument.
8663
1e4920e0
MF
86642012-04-07 Mike Frysinger <vapier@gentoo.org>
8665
8666 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8667 * sysdeps/x86_64/memset_chk.S: Likewise.
8668
5ed848f3
DM
86692012-04-07 David S. Miller <davem@davemloft.net>
8670
8671 * elf/elf.h (R_SPARC_WDISP10): Define.
8672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8673 R_SPARC_SIZE32.
8674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8675 R_SPARC_SIZE64 and R_SPARC_H34.
8676
96154cd8
CD
86772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8678
8679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8680 conditions and remove no longer applicable assertion.
8681
9904dc47
L
86822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8683
8684 * bits/byteswap.h: Include <features.h>.
8685 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8686 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8687
f8887d0a
L
86882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 * bits/byteswap.h (__bswap_16): Removed.
8691 Include <bits/byteswap-16.h> to get __bswap_16.
8692 * sysdeps/i386/bits/byteswap.h: Likewise.
8693 * sysdeps/s390/bits/byteswap.h: Likewise.
8694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8695 * bits/byteswap-16.h: New file.
8696 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8697 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8698 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8699 * string/Makefile (headers): Add bits/byteswap-16.h.
8700
62470f60
PP
87012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8702
8703 [BZ #13895]
8704 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8705 extra indirection.
8706 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8707 * nss/tst-nss-static.c: New.
8708
4dad7bab
RM
87092012-04-06 Robert Millan <rmh@gnu.org>
8710
8711 [BZ #6486]
8712 * manual/llio.texi (File Position Primitive): lseek
8713 refers to WHENCE when it really means OFFSET.
8714
e9142a17
AJ
87152012-04-06 Andreas Jaeger <aj@suse.de>
8716
2c040eff
AJ
8717 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8718 strncmp declarations.
8719
e9142a17
AJ
8720 * abilist/libc.abilist: Add __poll and __ppoll.
8721
ff9f1c5f
DM
87222012-04-05 David S. Miller <davem@davemloft.net>
8723
dcd2ae90
DM
8724 * scripts/check-local-headers.sh: Accept a host triplet in the
8725 path matched by the exclude regexp.
8726
993eb054
DM
8727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8728 definition.
8729 * sysdeps/powerpc/powerpc32/dl-machine.h
8730 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8731 * sysdeps/s390/s390-32/dl-machine.h
8732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8733 * sysdeps/sparc/sparc32/dl-machine.h
8734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8735 * sysdeps/sparc/sparc64/dl-machine.h
8736 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8737
ff9f1c5f
DM
8738 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8739 lazy binding.
48e2e132 8740 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8741 undefined symbol errors.
8742
48e2e132 8743 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8744 DT_NEEDED entries.
8745
e80d6f94
MM
87462012-04-05 Michael Matz <matz@suse.de>
8747
8748 [BZ #13592]
8749 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8750
349fa79f
AJ
87512012-04-05 Andreas Jaeger <aj@suse.de>
8752
8753 [BZ #13908]
8754 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8755 comment.
8756
f402708f
KK
87572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8758
8759 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8760 which ROUND is no valid rounding mode.
8761
2ecccfc9
KK
87622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8763
8764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8765 read again.
8766 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8767
8a53f50f
KK
87682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8769
8770 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8771 an exception using FPU order intentionally.
8772
87732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8774
8775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8776 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8777 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8778 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8779
d653abb7
SJ
87802012-04-05 Simon Josefsson <simon@josefsson.org>
8781
8782 [BZ #12340]
8783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8784 EINVAL when BUFLEN is too smal.
8785
c3b1bf7d
TS
87862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8787
8788 [BZ #13553]
8789 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8790 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8791
b1aa60f3
AJ
87922012-04-03 Andreas Jaeger <aj@suse.de>
8793
c3b1bf7d 8794 [BZ #13938]
67f60a26
AJ
8795 * manual/setjmp.texi (System V contexts): Fix sentence.
8796
b1aa60f3
AJ
8797 [BZ #13926]
8798 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8799 New macro for this case.
8800 [!__GNUC__] (__bswap_64): New inline function for this case.
8801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8802 * bits/byteswap.h: Likewise.
8803 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8804 ull, guard with __GLIBC_HAVE_LONG_LONG.
8805
8806 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8807 __GLIBC_HAVE_LONG_LONG.
8808
8809 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8810 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8811
39c59c35
TMQMF
88122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8813
8814 [BZ #13691]
8815 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8816 inptr and inend, rather than using last_ch.
8817
135ffda8
DM
88182012-04-02 David S. Miller <davem@davemloft.net>
8819
8820 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8821 * stdio-common/printf-parse.h (read_int): Change return type to
8822 'int', return -1 on INT_MAX overflow.
8823 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8824 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8825 overflows INT_MAX. Check for overflow of in-format-string precision
8826 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8827 SIZE_MAX not INT_MAX for integer overflow test.
8828 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8829 skip the construct in the format string but do not record anything.
8830 * stdio-common/bug22.c: Adjust to test both width/prevision
8831 INT_MAX overflow as well as total length INT_MAX overflow. Check
8832 explicitly for proper errno values.
8833
228c019e
TS
88342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8835
302cadd3
TS
8836 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8837 CHAR_MAX.
8838 * string/test-strcmp.c [! WIDE]: Likewise.
8839 * time/tst-mktime2.c: Likewise for INT_MAX.
8840 * string/test-string.h: #include <sys/param.h> for MIN.
8841
228c019e
TS
8842 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8843 * sysdeps/i386/init-first.c (init): Likewise.
8844 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8845 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8846 * sysdeps/sh/init-first.c (init): Likewise.
8847
cfa633f5
UD
88482012-04-01 Ulrich Drepper <drepper@gmail.com>
8849
8850 * po/ru.po: Update from translation team.
d1635ef8 8851 * po/vi.po: Likewise.
cfa633f5 8852
6cd0a5ea
SP
88532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
8855 * resolv/nss_dns/dns-host.c: Merge copyright years.
8856
4b43400f
LD
88572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8858
8859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8860 Optimize memcpy with prefetch if
8861 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8862 src, dst pointers have unequal 16 byte alignments.
8863
48c41d04
SP
88642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8865
8866 [BZ #13928]
8867 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8868 from a CNAME entry and return the minimum ttl for the query.
8869 (gaih_getanswer_slice): Likewise.
8870
b8dc394d
JL
88712012-03-30 Jeff Law <law@redhat.com>
8872
8873 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8874 due to long keys.
8875 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8876 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8877
2f5a5ed0
JL
8878 * resolv/nss_dns/dns-host.c: Update copyright year.
8879
1d39e359
UD
88802012-03-30 Ulrich Drepper <drepper@gmail.com>
8881
c030f70c 8882 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8883 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8884
1d39e359
UD
8885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8886 comments for sendmmsg.
8887
88882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8889
8890 [BZ #13691]
8891 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8892 with only 1 character between 0x0041 and 0x01b0.
8893 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8894 * wcsmbs/tst-mbsnrtowcs.c: New file.
8895
20fde227
DM
88962012-03-29 David S. Miller <davem@davemloft.net>
8897
8898 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8899 small copies by hand.
8900
984a4237
JL
89012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
8903 [BZ #13761]
8904 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8905 _nss_compat_initgroups_dyn): Fall back to malloc/free
8906 for large group memberships.
8907
18c9d62b
DM
89082012-03-28 David S. Miller <davem@davemloft.net>
8909
88d85d4f
DM
8910 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8911 that branches into memcpy.
8912 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8915 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8917 bits.
8918 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8919 implementation too.
8920 * sysdeps/sparc/mempcpy.S: New file.
8921
e5aa83e1
DM
8922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8923 the IFUNC routine in the libc case.
8924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8925
88570753
DM
8926 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8928 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8929 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8930 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8931 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8932 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8933 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8934
249d7567
DM
8935 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8936 loop to 256 bytes instead of 64 bytes and fix test signedness.
8937
18c9d62b
DM
8938 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8939 * sysdeps/sparc/sparc32/Makefile: rather than here...
8940 * sysdeps/sparc/sparc64/Makefile: and here.
8941
05f3d1f6
UD
89422012-03-28 Ulrich Drepper <drepper@gmail.com>
8943
8944 * malloc/mallocbug.c: Avoid warnings about unused variables.
8945
86ae07a8
JL
89462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8947
8948 [BZ #13760]
8949 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8950 in the right place. Discard and retry query if response is
8951 larger than input buffer size.
8952
41bf21a1
JM
89532012-03-28 Joseph Myers <joseph@codesourcery.com>
8954
d6270972
JM
8955 [BZ #369]
8956 [BZ #2678]
8957 [BZ #3866]
8958 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8959 x for large integer exponent.
8960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8961 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8962 sign of result as needed afterwards.
8963 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8964 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8965 result for underflowing pow the same as for overflow.
8966 (__kernel_standard_l): Handle powl overflow and underflow here
8967 rather than calling __kernel_standard.
8968 * math/libm-test.inc (pow_test): Add more tests.
8969
414fca03 8970 [BZ #3868]
41bf21a1
JM
8971 [BZ #13879]
8972 [BZ #13910]
8973 [BZ #13911]
8974 [BZ #13912]
8975 [BZ #13913]
8976 [BZ #13915]
8977 [BZ #13916]
8978 [BZ #13917]
8979 [BZ #13918]
8980 [BZ #13919]
8981 [BZ #13920]
8982 [BZ #13921]
8983 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8984 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8985 (__kernel_standard_l): New function.
8986 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8987 __kernel_standard.
8988 * math/w_acosl.c (__acosl): Likewise.
8989 * math/w_asinl.c (__asinl): Likewise.
8990 * math/w_atan2l.c (__atan2l): Likewise.
8991 * math/w_atanhl.c (__atanhl): Likewise.
8992 * math/w_coshl.c (__coshl): Likewise.
8993 * math/w_exp10l.c (__exp10l): Likewise.
8994 * math/w_exp2l.c (__exp2l): Likewise.
8995 * math/w_fmodl.c (__fmodl): Likewise.
8996 * math/w_hypotl.c (__hypotl): Likewise.
8997 * math/w_j0l.c (__j0l, __y0l): Likewise.
8998 * math/w_j1l.c (__j1l, __y1l): Likewise.
8999 * math/w_jnl.c (__jnl, __ynl): Likewise.
9000 * math/w_lgammal.c (__lgammal): Likewise.
9001 * math/w_log10l.c (__log10l): Likewise.
9002 * math/w_log2l.c (__log2l): Likewise.
9003 * math/w_logl.c (__logl): Likewise.
9004 * math/w_powl.c (__powl): Likewise.
9005 * math/w_remainderl.c (__remainderl): Likewise.
9006 * math/w_scalbl.c (sysv_scalbl): Likewise.
9007 * math/w_sinhl.c (__sinhl): Likewise.
9008 * math/w_sqrtl.c (__sqrtl): Likewise.
9009 * math/w_tgammal.c (__tgammal): Likewise.
9010 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9011 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9012 * math/libm-test.inc (acos_test): Add more tests.
9013 (acosh_test): Likewise.
9014 (asin_test): Likewise.
9015 (atanh_test): Likewise.
9016 (exp_test): Likewise.
9017 (exp10_test): Likewise.
9018 (exp2_test): Likewise.
9019 (expm1_test): Likewise.
9020 (lgamma_test): Likewise.
9021 (log_test): Likewise.
9022 (log10_test): Likewise.
9023 (log1p_test): Likewise.
9024 (log2_test): Likewise.
9025 (pow_test): Do not allow some spurious overflow exceptions.
9026 (sqrt_test): Add more tests.
9027 (tgamma_test): Likewise.
9028 (y0_test): Likewise.
9029 (y1_test): Likewise.
9030 (yn_test): Likewise.
9031
dd62fda6
AB
90322012-03-27 Anton Blanchard <anton@samba.org>
9033
9034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9035 MAP_HUGETLB.
9036 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9037 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9039
1e3cdfda
AJ
90402012-03-27 David S. Miller <davem@davemloft.net>
9041
b855ab85
DM
9042 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9043
1e3cdfda
AJ
9044 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9045 have-as-vis3 check.
9046
90472012-03-27 Andreas Jaeger <aj@suse.de>
9048
9049 * sysdeps/x86_64/elf/configure.in: Moved to ...
9050 * sysdeps/x86_64/configure.in: ... here.
9051 * sysdeps/x86_64/elf/start.S: Moved to ...
9052 * sysdeps/x86_64/start.S: ... here.
9053 * sysdeps/x86_64/elf/configure: Delete.
9054
9055 * sysdeps/x86_64/configure.in: Merge contents from
9056 sysdeps/i386/configure.in (without i686 check).
9057
9058 * sysdeps/i386/elf/Versions: Merge into ...
9059 * sysdeps/i386/Versions: ... this.
9060 * sysdeps/i386/elf/Versions: Delete file.
9061 * sysdeps/i386/elf/start.S: Moved to ...
9062 * sysdeps/i386/start.S: ...here.
9063 * sysdeps/i386/elf/configure.in: Merge into...
9064 * sysdeps/i386/configure.in: ...here.
9065 * sysdeps/i386/elf/configure.in: Delete file.
9066 * sysdeps/i386/elf/configure: Delete file.
9067
9068 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9069 * debug/backtracesyms.c: ... here.
9070 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9071 * debug/backtracesymsfd.c: ... here.
9072 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9073 * sysdeps/generic/ifunc-sel.h: ... here.
9074
9075 * sysdeps/unix/i386/start.c: Delete file.
9076 * sysdeps/unix/sparc/start.c: Delete file.
9077 * sysdeps/unix/start.c: Delete file.
9078
9079 * sysdeps/sh/elf/configure.in: Moved to ...
9080 * sysdeps/sh/configure.in: ... here.
9081 * sysdeps/sh/elf/start.S: Moved to ...
9082 * sysdeps/sh/start.S: ... here.
9083 * sysdeps/sh/elf/configure: Delete file.
9084
9085 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9086 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9087 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9088 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9089 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9090 * sysdeps/powerpc/powerpc64/start.S: here.
9091 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9092 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9093 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9094 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9095 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9096
9097 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9098 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9099 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9100 * sysdeps/powerpc/powerpc32/start.S: ... here.
9101 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9102 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9103 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9104
9105 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9106 * sysdeps/powerpc/ifunc-sel.h: ... here.
9107 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9108 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9109
9110 * sysdeps/sparc/elf/configure.in: Moved to ...
9111 * sysdeps/sparc/configure.in: ... here.
9112 * sysdeps/sparc/elf/configure: Delete file.
9113 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9114 * sysdeps/sparc/sparc32/start.S: ... here.
9115 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9116 * sysdeps/sparc/sparc64/start.S: ... here.
9117 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9118 * sysdeps/sparc/sparc32/Makefile: ... this.
9119 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9120 * sysdeps/sparc/sparc64/Makefile: ... this.
9121
9122 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9123 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9124 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9125 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9126 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9127 * sysdeps/s390/s390-32/setjmp.S: ... here.
9128 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9129 * sysdeps/s390/s390-32/configure.in: ... here.
9130 * sysdeps/s390/s390-32/elf/configure: Delete file.
9131 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9132 * sysdeps/s390/s390-32/start.S: ... here.
9133
9134 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9135 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9136 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9137 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9138 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9139 * sysdeps/s390/s390-64/setjmp.S: ... here.
9140 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9141 * sysdeps/s390/s390-64/configure.in: ... here
9142 * sysdeps/s390/s390-64/elf/configure: Delete file.
9143 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9144 * sysdeps/s390/s390-64/start.S: ... here.
9145 * sysdeps/s390/s390-64/elf/configure: Delete.
9146
9147 * configure.in: Remove support for elf directories in sysdeps.
9148
9149 * configure: Regenerated.
9150 * sysdeps/i386/configure: Regenerated.
9151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9153 * sysdeps/s390/s390-32/configure: Regenerated.
9154 * sysdeps/s390/s390-64/configure: Regenerated.
9155 * sysdeps/sh/configure: Regenerated.
9156 * sysdeps/sparc/configure: Regenerated.
9157 * sysdeps/x86_64/configure: Regenerated.
9158
a3f61311
AS
91592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9160
c876e002
AS
9161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9162
a3f61311
AS
9163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9164 denormal result into account.
9165
ac4c54f0
RM
91662012-03-25 Roland McGrath <roland@hack.frob.com>
9167
9168 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9169 Reported by Allan McRae <allan@archlinux.org>.
9170
6a9b9c02
JL
91712012-03-23 Jeff Law <law@redhat.com>
9172
9173 * nss/getnssent.c (__nss_getent): Fix typo.
9174
4c42a0c1
DM
91752012-03-23 David S. Miller <davem@davemloft.net>
9176
9177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178
1532c7ac
L
91792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9182 to pad to uint64_t for each field.
9183 (dl_tls_index): Replace unsigned long with uint64_t.
9184
3ff42526
PP
91852012-03-23 Daniel Jacobowitz <dmj@google.com>
9186 Paul Pluzhnikov <ppluzhnikov@google.com>
9187
9188 [BZ #6528]
9189 * grp/Makefile (otherlibs): Don't set it.
9190 * inet/Makefile (otherlibs): Likewise.
9191 * login/Makefile (otherlibs): Likewise.
9192 * nscd/Makefile (otherlibs): Likewise.
9193 * posix/Makefile (otherlibs): Likewise.
9194 * pwd/Makefile (otherlibs): Likewise.
9195 * rt/Makefile (otherlibs): Likewise.
9196 * sunrpc/Makefile (otherlibs): Likewise.
9197 * nss/Makefile (otherlibs): Likewise.
9198 Add libnss_files to routines and static-only-routines.
9199 ($(objpfx)getent): Remove rule.
9200 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9201 static-only-routines.
9202
7c69cd14
JM
92032012-03-22 Joseph Myers <joseph@codesourcery.com>
9204
9205 [BZ #13892]
9206 * math/s_cexp.c: Include <float.h>.
9207 (__cexp): Handle exp result overflowing not necessarily
9208 overflowing both real and imaginary parts of result.
9209 * math/s_cexpf.c: Likewise.
9210 * math/s_cexpl.c: Likewise.
9211 * math/libm-test.inc (cexp_test): Add more tests.
9212 * sysdeps/i386/fpu/libm-test-ulps: Update.
9213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9214
81b035fe
L
92152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * include/link.h (ELFW): New macro.
9218 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9219 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9220
1da7940c
L
92212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9224 with uint64_t.
9225
b749dbb9
L
92262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9229 declaration.
9230 (struct La_x32_retval): Likewise.
9231
2ff87f3f
L
92322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9233
9234 * sysdeps/x86_64/preconfigure.in: New file.
9235 * sysdeps/x86_64/preconfigure: New generated file.
9236
c0df8e69
JM
92372012-03-22 Joseph Myers <joseph@codesourcery.com>
9238
48e44791
JM
9239 [BZ #13824]
9240 * math/e_exp2l.c: Include <float.h>.
9241 (__ieee754_exp2l): Handle overflow and underflow cases
9242 separately. Only pass fractional part of argument to
9243 __ieee754_expl.
9244 * math/libm-test.inc (exp2_test): Add more tests.
9245
c0df8e69
JM
9246 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9247 negating x to take absolute value.
9248 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9249 Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9252 Likewise.
9253 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9254 computing low part if x was negated.
9255 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9256
c8e43ba7
L
92572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9258
9259 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9260 la_x32_gnu_pltexit.
9261 (pltexit): Cast int_retval to ptrdiff_t.
9262 * elf/tst-auditmod3b.c: Likewise.
9263 * elf/tst-auditmod4b.c: Likewise.
9264 * elf/tst-auditmod5b.c: Likewise.
9265 * elf/tst-auditmod6b.c: Likewise.
9266 * elf/tst-auditmod6c.c: Likewise.
9267 * elf/tst-auditmod7b.c: Likewise.
9268
9269 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9270 and x32_gnu_pltexit.
9271
9272 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9273 __ELF_NATIVE_CLASS.
9274 (La_x32_regs): New macro.
9275 (La_x32_retval): Likewise.
9276 (la_x32_gnu_pltenter): New function prototype.
9277 (la_x32_gnu_pltexit): Likewise.
9278
7998fa78
AS
92792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9280
dcb33988
AS
9281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9282 exponent.
9283
233fc563
AS
9284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9285
7998fa78
AS
9286 * configure.in (libc_cv_cc_nofma): Check for option to disable
9287 generation of FMA instructions.
9288 * configure: Regenerate.
9289 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9290 * sysdeps/ieee754/dbl-64/Makefile: New file.
9291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9292 Remove brandred-fma4.
9293 (CFLAGS-brandred-fma4.c): Remove.
9294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9296 define.
9297 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9298 define.
9299
8e95c99a
L
93002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9303 LLONG_MAX != LONG_MAX.
9304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9305 (_fitoa_word): Likewise.
9306 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9307 LLONG_MAX != LONG_MAX.
9308 * stdio-common/_itowa.h: Include <_itoa.h>.
9309 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9310 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9311 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9312 only if not defined.
9313 (_ITOA_WORD_TYPE): Likewise.
9314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9315 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9316
6f4db457
DM
93172012-03-21 David S. Miller <davem@davemloft.net>
9318
9319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9320
7785fe5a
L
93212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9322
9323 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9324 of x86_64 when setting libc_cv_slibdir, libdir and
9325 libc_cv_localedir.
9326 * sysdeps/unix/sysv/linux/configure: Regenerated.
9327
4535cd55
JM
93282012-03-21 Joseph Myers <joseph@codesourcery.com>
9329
9330 * manual/lang.texi (Old Varargs): Remove section.
9331 (How Variadic): Update menu.
9332 (va_start): Do not mention varargs.h.
9333
17228132
TS
93342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9335 Joseph Myers <joseph@codesourcery.com>
9336
9337 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9338 link test.
9339 * configure: Regenerated.
9340
8149f976
TS
93412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9342
05f3d1f6
UD
9343 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9344 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9345 conformtest.pl
8149f976 9346
1a4ac776
JM
93472012-03-21 Joseph Myers <joseph@codesourcery.com>
9348
be22ce65
JM
9349 * NOTES: Remove.
9350 * Makefile (files-for-dist): Remove NOTES.
9351 (NOTES): Remove rule.
9352 * README: Don't refer to NOTES.
9353 * manual/creature.texi: Don't include macros.texi.
9354 * manual/intro.texi (creature.texi): Remove comment referring to
9355 NOTES.
9356
40b601fb
JM
9357 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9358 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9359 * configure: Regenerated.
9360 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9361 LIBC_TRY_CC_OPTION.
9362 (libc_cv_as_i686): Likewise.
9363 (libc_cv_cc_avx): Likewise.
9364 (libc_cv_cc_sse2avx): Likewise.
9365 (libc_cv_cc_fma4): Likewise.
9366 (libc_cv_cc_novzeroupper): Likewise.
9367 * sysdeps/i386/configure: Regenerated.
9368
1a4ac776
JM
9369 [BZ #13883]
9370 * sysdeps/i386/fpu/s_cexp.S: Remove.
9371 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9372 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9373 * math/libm-test.inc (cexp_test): Add more tests.
9374 * sysdeps/i386/fpu/libm-test-ulps: Update.
9375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9376
a458e7fe
AM
93772012-03-21 Allan McRae <allan@archlinux.org>
9378
9379 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9380
0cb7efc5
JM
93812012-03-21 Joseph Myers <joseph@codesourcery.com>
9382
9383 [BZ #13871]
9384 * math/w_exp2.c: Do not include <float.h>.
9385 (o_threshold, u_threshold): Remove.
9386 (__exp2): Calculate result before checking finiteness and calling
9387 __kernel_standard.
9388 * math/w_exp2f.c: Likewise.
9389 * math/w_exp2l.c: Likewise.
9390 * math/libm-test.inc (exp2_test): Require overflow exception for
9391 1e6 input.
2460d3aa
JM
9392
9393 [BZ #3866]
9394 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9395 range of signed 64-bit integers before using fistpll. Remove
9396 checks for whether integers fit in mantissa bits.
9397 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9398 the range of signed 32-bit integers before using fistpl. Remove
9399 checks for whether integers fit in mantissa bits.
9400 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9401 (__ieee754_powl): Test for y outside the range of signed 64-bit
9402 integers before using fistpll. Reduce 64-bit values to 63-bit
9403 ones as needed.
9404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9405 divide-by-zero is raised for zero to large negative powers.
9406 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9407 (__ieee754_powl): Test for y outside the range of signed 64-bit
9408 integers before using fistpll. Reduce 64-bit values to 63-bit
9409 ones as needed.
9410 * math/libm-test.inc (pow_test): Add more tests.
9411
eb96ffb0
L
94122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9413
9414 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9415 <stdio-common/_itoa.h>.
9416 * debug/segfault.c: Likewise.
9417 * elf/dl-cache.c: Likewise.
9418 * elf/dl-minimal.c: Likewise.
9419 * elf/dl-misc.c: Likewise.
9420 * elf/dl-sysdep.c: Likewise.
9421 * elf/dl-version.c: Likewise.
9422 * elf/rtld.c: Likewise.
9423 * hurd/hurdsock.c: Likewise.
9424 * hurd/lookup-retry.c: Likewise.
9425 * malloc/malloc.c: Likewise.
9426 * malloc/mtrace.c: Likewise.
9427 * nscd/nscd_getgr_r.c: Likewise.
9428 * nscd/nscd_getpw_r.c: Likewise.
9429 * nscd/nscd_getserv_r.c: Likewise.
9430 * posix/getopt_init.c: Likewise.
9431 * posix/wordexp.c: Likewise.
9432 * stdio-common/_itoa.c: Likewise.
9433 * stdio-common/printf_fphex.c: Likewise.
9434 * stdio-common/vfprintf.c: Likewise.
9435 * string/_strerror.c: Likewise.
9436 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9437 * sysdeps/i386/i686/hp-timing.h: Likewise.
9438 * sysdeps/mach/_strerror.c: Likewise.
9439 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9440 * sysdeps/mach/hurd/sethostid.c: Likewise.
9441 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9442 * sysdeps/mach/xpg-strerror.c: Likewise.
9443 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9445 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9446 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9448 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9449 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9450 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9451 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9452 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9453 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9454 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9456 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9457 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9458 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9459 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9461 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9462 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9463 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9464
9465 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9466
9467 * stdio-common/_itoa.h: Moved to ...
9468 * sysdeps/generic/_itoa.h: Here.
9469
9470 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9471
9472 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9473 instead of "_itoa.h" and "_itowa.h".
9474 * stdio-common/vfprintf.: Likewise.
9475
d1af992d
L
94762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9477
9478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9479 <bits/wordsize.h>.
9480 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9481 (__signbit): Likwise.
9482 (llrintf): Likwise.
9483 (llrint): Likwise.
9484
114883e0
L
94852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9488 __WORDSIZE != 64.
9489
c135cc1b
JM
94902012-03-20 Joseph Myers <joseph@codesourcery.com>
9491
9492 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9493 OVERFLOW_EXCEPTION_OK.
9494 * math/libm-test.inc ("Philosophy"): Update comment about
9495 exception testing.
9496 (OVERFLOW_EXCEPTION): Define.
9497 (OVERFLOW_EXCEPTION_OK): Likewise.
9498 (INVALID_EXCEPTION_OK): Renumber.
9499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9500 (IGNORE_ZERO_INF_SIGN): Likewise.
9501 (test_exceptions): Handle FE_OVERFLOW.
9502 (exp10_test): Expect overflow exceptions.
9503 (exp2_test): Likewise.
9504 (expm1_test): Likewise.
9505 (nextafter_test): Likewise.
9506 (pow_test): Likewise.
9507 (scalbn_test): Likewise.
9508 (scalbln_test): Likewise.
9509
95443d88
L
95102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9511
9512 * sysdeps/x86_64/bits/atomic.h
9513 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9514 64bit integer.
9515 (atomic_exchange_acq): Likewise.
9516 (__arch_exchange_and_add_body): Likewise.
9517 (__arch_add_body): Likewise.
9518 (atomic_add_negative): Likewise.
9519 (atomic_add_zero): Likewise.
9520
490df6c4
L
95212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9522
c2722551 9523 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9524 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9525
5e52b189
L
95262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9529 Check __x86_64__ instead of __WORDSIZE.
9530
a9879d4c
L
95312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9532
9533 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9534
5df98260
DM
95352012-03-19 David S. Miller <davem@davemloft.net>
9536
e1497744
DM
9537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9538
5df98260
DM
9539 * sysdeps/sparc/fpu/fenv_private.h: New file.
9540 * sysdeps/sparc/fpu/math_private.h: Use it.
9541 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9542 Remove.
9543 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9544 (libc_feholdexcept_setroundl): Remove.
9545 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9546 Remove.
9547 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9548 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9549
b4c35121
L
95502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9553 int64_t instead of long int.
9554 (INSERT_WORDS64): Likwise.
9555
56965fd7
L
95562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9559 _Unwind_GetCFA return to _Unwind_Ptr first.
9560
83d1aec8
JM
95612012-03-19 Joseph Myers <joseph@codesourcery.com>
9562
1897ad44
JM
9563 [BZ #13629]
9564 * math/s_clog.c: Include <float.h>.
9565 (__clog): Scale large or subnormal inputs.
9566 * math/s_clogf.c: Likewise.
9567 * math/s_clogl.c: Likewise.
9568 * math/s_clog10.c: Include <float.h>.
9569 (M_LOG10_2): Define.
9570 (__clog10): Scale large or subnormal inputs.
9571 * math/s_clog10f.c: Likewise.
9572 * math/s_clog10l.c: Likewise.
9573 * math/libm-test.inc (clog_test): Add more tests.
9574 (clog10_test): Likewise.
9575 * sysdeps/i386/fpu/libm-test-ulps: Update.
9576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9577
7726d6a9
JM
9578 [BZ #11451]
9579 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9580 x and y.
9581 * math/libm-test.inc (atan2_test): Add another test.
9582
83d1aec8
JM
9583 * Makerules (common-objdir-compile): Remove.
9584 * sysdeps/unix/Makefile (config-generated): Do not add
9585 $(unix-generated) to variable.
9586 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9587 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9588 Remove rule.
9589 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9590 Likewise.
9591 [generic bits/local_lim.h] (before-compile): Do not append to
9592 variable.
9593 [generic bits/local_lim.h] (common-generated): Likewise.
9594 [generic sys/param.h] (before-compile): Do not append to variable.
9595 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9596 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9597 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9599 include.
9600 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9601 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9602 [generic sys/param.h] ($(addprefix
9603 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9604 [generic sys/param.h] (common-generated): Do not append to
9605 variable.
9606 [generic sys/param.h] (sysdep_headers): Likewise.
9607 [generic bits/errno.h] (before-compile): Do not append to
9608 variable.
9609 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9610 rule.
9611 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9612 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9613 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9614 [generic bits/errno.h] (common-generated): Do not append to
9615 variable.
9616 [generic bits/ioctls.h] (before-compile): Do not append to
9617 variable.
9618 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9619 rule.
9620 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9621 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9622 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9623 rule.
9624 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9625 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9626 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9627 [generic bits/ioctls.h] (common-generated): Do not append to
9628 variable.
9629 [generic sys/syscall.h] (syscall.h): Remove variable.
9630 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9631 rule.
9632 [generic sys/syscall.h] (before-compile): Do not append to
9633 variable.
9634 [generic sys/syscall.h] (common-generated): Likewise.
9635 * sysdeps/unix/errnos-tmpl.c: Remove file.
9636 * sysdeps/unix/errnos.awk: Likewise.
9637 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9638 * sysdeps/unix/ioctls.awk: Likewise.
9639 * sysdeps/unix/mk-local_lim.c: Likewise.
9640 * sysdeps/unix/snarf-ioctls: Likewise.
9641
4851a949
RH
96422012-03-19 Richard Henderson <rth@twiddle.net>
9643
bd37f2ee
RH
9644 * sysdeps/i386/fpu/fenv_private.h: New file.
9645 * sysdeps/i386/fpu/math_private.h: Use it.
9646 (math_opt_barrier, math_force_eval): Remove.
9647 (libc_feholdexcept_setround_53bit): Remove.
9648 (libc_feupdateenv_53bit): Remove.
9649 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9650 (math_opt_barrier, math_force_eval): Remove.
9651 (libc_feholdexcept): Remove.
9652 (libc_feholdexcept_setround): Remove.
9653 (libc_fetestexcept, libc_fesetenv): Remove.
9654 (libc_feupdateenv_test): Remove.
9655 (libc_feupdateenv, libc_feholdsetround): Remove.
9656 (libc_feresetround): Remove.
9657
d0adc922
RH
9658 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9659 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9660
0fe0f1f8
RH
9661 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9662 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9663 (libc_feupdateenv_testl): New.
9664 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9665 (libc_feupdateenv_testf): New.
9666 (libc_feupdateenv): Use libc_feupdateenv_test.
9667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9669
eb92c487
RH
9670 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9671 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9672 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9673 (libc_feresetround_noex): New.
9674 (libc_feresetround_noexf): New.
9675 (libc_feresetround_noexl): New.
9676 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9677 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9678 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9680 SET_RESTORE_ROUND.
9681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9683 (__cos): Likewise.
9684 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9686 SET_RESTORE_ROUND_NOEX.
9687 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9688 SET_RESTORE_ROUND_NOEXF.
9689 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9690 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9691 (libc_feholdsetroundf): New.
9692 (libc_feresetround, libc_feresetroundf): New.
9693
7d2e8012
RH
9694 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9695 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9696 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9697
b4dabbb4
RH
9698 * sysdeps/generic/math_private.h: Include <fenv.h>.
9699 (default_libc_feholdexcept): New.
9700 (default_libc_feholdexcept_setround): New.
9701 (default_libc_fesetenv, default_libc_feupdateenv): New.
9702 (libc_feholdexcept): Only define if undefined.
9703 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9705 (libc_feholdexcept_setroundl): Likewise.
9706 (libc_feholdexcept_setround_53bit): Likewise.
9707 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9710 (libc_feupdateenv_53bit): Likewise.
9711 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9712 (libc_feholdexcept): Convert from macro to inline function.
9713 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9714 (libc_fesetenv, libc_feupdateenv): Likewise.
9715
4851a949
RH
9716 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9717 not previously defined.
9718 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9719 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9720 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9721 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9722 * sysdeps/ieee754/flt-32/math_private.h: New file.
9723 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9724 math_private.h below SET_FLOAT_WORD.
9725 (__isnan, __isinf_ns, __finite): Remove.
9726 (__isnanf, __isinf_nsf, __finitef): Remove.
9727
e79d442e
AS
97282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9729
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9731
90b80344
DM
97322012-03-17 David S. Miller <davem@davemloft.net>
9733
9734 [BZ #6471]
9735 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9736 for 2.16.
9737
edc21804
DM
97382012-03-16 David S. Miller <davem@davemloft.net>
9739
77e927af
DM
9740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9741 warnings.
9742
374976dd
DM
9743 [BZ #6471]
9744 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9745 properly.
9746 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9747 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9748 sysdep_routines when subdir is sysvipc.
9749 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9750 __getshmlba helper.
9751
edc21804
DM
9752 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9753
473c3ef3
L
97542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9757 [__LP64__].
9758
eb0f39b6
L
97592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9762 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9763 (__lround): Renamed to ...
9764 (__llround): This. Replace long int with long long int.
9765 Define lround functions as aliases of llround functions.
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9767
6b6cd74b
L
97682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9771 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9772 adresses to uintptr_t. Replace "long int" and "unsigned long
9773 int" with "greg_t" on va_arg.
9774
f1a77b01
L
97752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9778 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9779
9780 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9781 Move e_machine check before EI_CLASS check. Handle x32
9782 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9783 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9784 SKIP_EM_IA_64 and include
9785 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9786
9787 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9788 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9789 (add_system_dir): New macro.
9790
9791 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9793
11b90b9f
JM
97942012-03-16 Joseph Myers <joseph@codesourcery.com>
9795
c36e1d23
JM
9796 [BZ #2551]
9797 [BZ #2552]
9798 [BZ #2553]
9799 [BZ #2554]
9800 [BZ #2562]
9801 [BZ #2563]
9802 [BZ #2565]
9803 [BZ #2566]
9804 [BZ #2576]
9805 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9806 (y0): Likewise.
9807 * math/w_j0f.c (j0f): Likewise.
9808 (y0f): Likewise.
9809 * math/w_j0l.c (__j0l): Likewise.
9810 (__y0l): Likewise.
9811 * math/w_j1.c (j1): Likewise.
9812 (y1): Likewise.
9813 * math/w_j1f.c (j1f): Likewise.
9814 (y1f): Likewise.
9815 * math/w_j1l.c (__j1l): Likewise.
9816 (__y1l): Likewise.
9817 * math/w_jn.c (jn): Likewise.
9818 (yn): Likewise.
9819 * math/w_jnf.c (jnf): Likewise.
9820 (ynf): Likewise.
9821 * math/w_jnl.c (__jnl): Likewise.
9822 (__ynl): Likewise.
9823 * math/libm-test.inc (j0_test): Add more tests.
9824 (j1_test): Likewise.
9825 (jn_test): Likewise. Add trailing semicolon to existing test.
9826 (y0_test): Likewise.
9827 (y1_test): Likewise.
9828 * sysdeps/i386/fpu/libm-test-ulps: Update.
9829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9830
11b90b9f
JM
9831 [BZ #13851]
9832 [BZ #13854]
9833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9834 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9835 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9836 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9837 (__tanl): Set errno for infinite argument.
9838 * sysdeps/i386/fpu/mptan.c: Remove.
9839 * sysdeps/i386/fpu/s_tan.S: Likewise.
9840 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9841 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9842 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9843 * math/libm-test.inc (tan_test): Add more tests and enable more
9844 tests for double and long double.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9847
6a1bd2a1
JK
98482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9849
9850 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9851 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9852
10a803e0
RM
98532012-03-16 Roland McGrath <roland@hack.frob.com>
9854
9855 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9856 * configure.in: Use it for both main tree and add-ons.
9857 * configure: Regenerated.
9858
f196c7f7
L
98592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9862
8848d99d
JM
98632012-03-16 Joseph Myers <joseph@codesourcery.com>
9864
96cbe7f4
JM
9865 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9866 in comment.
9867
8848d99d
JM
9868 [BZ #13851]
9869 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9870 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9874 infinite argument.
9875 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9877 != 0 for prec == 2.
9878 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9879 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9880 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9881 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9882 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9883 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9884 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9885 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9886 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9887 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9888 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9889 * math/libm-test.inc (cos_test): Add more tests and enable more
9890 tests for long double.
9891 (sin_test): Likewise.
9892 (sincos_test): Likewise.
9893 * sysdeps/i386/fpu/libm-test-ulps: Update.
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9895
dd7f4703
DM
98962012-03-16 David S. Miller <davem@davemloft.net>
9897
9898 * sysdeps/sparc/fpu/math_private.h: New file.
9899
006f1daa
DM
99002012-03-15 David S. Miller <davem@davemloft.net>
9901
c0c83bc8
DM
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9903 file.
e6a62e18 9904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9906 file.
e6a62e18
DM
9907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9913 sysdep routines.
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9915
88cb87d9
DM
9916 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9917 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9918
006f1daa 9919 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9921 sparc-ifunc.h
006f1daa 9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9924 Likewise.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9926 Likewise.
006f1daa
DM
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9931 Likewise.
006f1daa
DM
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9937 Likewise.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9939 Likewise.
006f1daa
DM
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9964
11e0098e
AS
99652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9966
9967 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9968 scaling.
9969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9970
e85b09d0
AJ
99712012-03-15 Andreas Jaeger <aj@suse.de>
9972
9973 [BZ #13852]
9974 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9975 ieee754/flt-32 implementation for sin, cos and sincos.
9976 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9977 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9978 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9979 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9980 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9981 ieee754/flt-32 implementation for tan.
9982
9983 * math/libm-test.inc (cos_test): Enable some large input tests for
9984 float as well
9985 (sin_test): Likewise.
9986 (sincos_test): Likewise.
9987 (tan_test): Add tests for large input.
9988
9989 * sysdeps/i386/fpu/libm-test-ulps: Update.
9990
81c64153
AJ
99912012-03-15 Andreas Jaeger <aj@suse.de>
9992
9993 [BZ #13658]
9994 * math/libm-test.inc (cos_test): Add more test cases.
9995 (sin_test): Likewise.
9996 (sincos_test): Likewise.
9997
7bbfa5c6
AJ
99982012-03-15 Andreas Jaeger <aj@suse.de>
9999
10000 [BZ #13837]
10001 * math/libm-test.inc (cos_test): Add a test case for large input
10002 value.
10003 (sin_test): Likewise.
10004 (sincos_test): Likewise.
10005
100062012-03-15 Andreas Jaeger <aj@suse.de>,
10007 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #13658]
0671f479 10010 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10011 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10012 * sysdeps/i386/fpu/branred.c: Likewise.
10013 * sysdeps/i386/fpu/dosincos.c: Likewise.
10014 * sysdeps/i386/fpu/mpa.c: Likewise.
10015 * sysdeps/i386/fpu/s_cos.S: Likewise.
10016 * sysdeps/i386/fpu/s_sin.S: Likewise.
10017 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10018 * sysdeps/i386/fpu/sincos32.c: Likewise.
10019
10020 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10021 Define.
10022 (libc_feupdateenv_53bit): Define.
10023 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10024 Define.
10025 (libc_feupdateenv_53bit): Define.
10026
10027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10028 53 bit (without extend i386 double precision).
10029
10030 * math/libm-test.inc (sincos_test): Add tests for large input.
10031 (sin): Likewise.
10032 (cos): Likewise.
10033
10034 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10035
9cad04ea
AS
100362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10037
10038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10039
f7062b9a
DM
100402012-03-15 David S. Miller <davem@davemloft.net>
10041
10042 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10043 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10044 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10045 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10058 file.
f7062b9a 10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10061 file.
f7062b9a 10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10064 file.
f7062b9a 10065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10067 file.
f7062b9a
DM
10068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10070 fmin/fmax sysdep routines.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10072
7bd951ff
DM
100732012-03-14 David S. Miller <davem@davemloft.net>
10074
559398ab
DM
10075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10104 routines.
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10106 file.
559398ab 10107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10109 file.
559398ab 10110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10112 file.
559398ab 10113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10115 file.
559398ab 10116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10118 file.
559398ab 10119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10121 file.
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10123 file.
10124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10125 file.
10126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10127 file.
10128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10129 New file.
10130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10131 file.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10133 file.
559398ab 10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10136 file.
559398ab 10137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10139 file.
559398ab 10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10142 file.
559398ab 10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10145 VIS3 routines.
559398ab
DM
10146
10147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10148 New file.
10149
5a1c1e32
DM
10150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10151
eae47a36
DM
10152 * sysdeps/sparc/configure.in: New file.
10153 * sysdeps/sparc/configure: Generate.
10154 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10155 * configure: Regenerate.
10156 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10157 * config.make.in (have-as-vis3): New.
10158 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10159 available use -Av9d instead of -Av9a.
10160 * sysdeps/sparc/sparc64/Makefile: Likewise.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10163 New file.
10164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10165 file.
10166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10167 New file.
10168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10169 file.
eae47a36
DM
10170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10175
c0c83bc8
DM
10176 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10177 fzeros/fnegs to load 0x80000000 into a float register instead of
10178 using the stack.
7bd951ff
DM
10179 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10180
bd951ccb
JM
101812012-03-14 Joseph Myers <joseph@codesourcery.com>
10182
10183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10184 bits/syscall.h.
10185 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10186 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10187 ($(inst_includedir)/bits/syscall.h): Remove rule.
10188 ($(objpfx)bits/syscall.d): Include instead of
10189 $(objpfx)syscall-list.d.
10190 (generated): Change syscall-list.h and syscall-list.d to
10191 bits/syscall.h and bits/syscall.d.
10192
bb4e6db2
RM
101932012-03-14 Roland McGrath <roland@hack.frob.com>
10194
10195 [BZ #13846]
10196 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10197
aa4a2ae1
JM
101982012-03-14 Joseph Myers <joseph@codesourcery.com>
10199
e456826d
JM
10200 [BZ #13841]
10201 * math/s_csqrt.c: Include <float.h>.
10202 (__csqrt): Scale large or subnormal inputs.
10203 * math/s_csqrtf.c: Likewise.
10204 * math/s_csqrtl.c: Likewise.
10205 * math/libm-test.inc (csqrt_test): Add more tests.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10208
aa4a2ae1
JM
10209 [BZ #13840]
10210 * math/libm-test.inc (hypot_test): Add more tests.
10211
7c10fd35
DM
102122012-03-13 David S. Miller <davem@davemloft.net>
10213
10214 [BZ #13840]
10215 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10216 double-precision for the calculation instead of scaling.
10217
f453b98b
JM
102182012-03-13 Joseph Myers <joseph@codesourcery.com>
10219
10220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10221 manipulate bits before adding and subtracting TWO52[sx].
10222 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10224 Likewise.
10225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10226
09a3453f
DM
102272012-03-13 David S. Miller <davem@davemloft.net>
10228
8e59da90
DM
10229 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10230 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10232 rtld-global-offsets.h
10233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10234
2a8ab7f2
DM
10235 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10236 large parameters.
10237
10f62770
DM
10238 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10239
5f0bdb18
DM
10240 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10241 'err' in the ifdef scope in which it is actually used.
10242
09a3453f
DM
10243 * nss/nss_db/db-init.c: Include string.h
10244
b4b2eb5e
DM
102452012-03-12 David S. Miller <davem@davemloft.net>
10246
98bb2f1c
DM
10247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10248 masking out of the most significant byte of random value used.
10249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10250 Fix coding style in previous change.
10251
b4b2eb5e
DM
10252 * sysdeps/unix/sysv/linux/kernel-features.h
10253 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10254 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10255 expression.
10256 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10257 later.
10258
6e226b09
DM
102592012-03-11 David S. Miller <davem@davemloft.net>
10260
a1bcbd40
DM
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10262 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10264 for 'resultvar' otherwise things get truncated on 64-bit.
10265
cb9d6174
DM
10266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10267 Fix masking out of the most significant byte of random value used.
10268
6e226b09
DM
10269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10270
058c132d
AS
102712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10272
10273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10274
2d2cd515
DM
102752012-03-09 David S. Miller <davem@davemloft.net>
10276
10277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10278 variables with appropriate CPP guards.
10279 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10280 frame pointer, not the stack pointer. Correct layout comments. Fix test
10281 on resulting framesize and the management of the outregs buffer for pltexit.
10282 Preserve floating point return values across _dl_call_pltexit call.
10283 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10284 framesize and the management of the outregs buffer for pltexit.
10285 Preserve floating point return values across _dl_call_pltexit
10286 call.
10287 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10288 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10289 (print_exit): Fix format string for return register value.
10290
9a07f9d0
JM
102912012-03-10 Joseph Myers <joseph@codesourcery.com>
10292
10293 * sunrpc/Makefile (others): Add rpcgen.
10294 ($(objpfx)rpcgen): Remove special build rule and dependency on
10295 libc.
10296 * sunrpc/rpcgen.c: New file.
10297
547b5e30
PE
102982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10299
c524201a
PE
10300 [BZ #13673]
10301 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10302 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10303 * sysdeps/i386/crti.S: Likewise.
10304 * sysdeps/i386/crtn.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10306 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10307 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10308 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10309 * sysdeps/sh/crti.S: Likewise.
10310 * sysdeps/sh/crtn.S: Likewise.
10311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10312
7b6235f2
PE
10313 [BZ #13673]
10314 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10315 with URL.
10316 * locale/programs/locfile-kw.gperf: Likewise.
10317 * locale/programs/charmap-kw.h: Regenerated.
10318 * locale/programs/locfile-kw.h: Likewise.
10319
547b5e30
PE
10320 [BZ #13673]
10321 * intl/plural.y: Replace FSF snail mail address with URL.
10322 * intl/plural.c: Regenerated.
10323
5f0a5dae
RH
103242012-03-09 Richard Henderson <rth@twiddle.net>
10325
10326 * include/math_private.h: Remove file.
10327 * math/math_private.h: Move file ...
10328 * sysdeps/generic/math_private.h: ... here.
10329
b8c03620
RH
10330 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10331 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10333
4e234f5d 10334 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10335 and <math_private.h>.
10336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10450 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10460 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10463 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10465 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10466 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10469 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10473 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10474 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10477 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10479 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10480 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10484 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10485 * sysdeps/ieee754/k_standard.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10646 * sysdeps/ieee754/s_lib_version.c: Likewise.
10647 * sysdeps/ieee754/s_matherr.c: Likewise.
10648 * sysdeps/ieee754/s_signgam.c: Likewise.
10649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10652 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10653 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10655 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10656 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10657 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10658 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10659 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10660 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10665 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10667 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10670
1991fa03
JM
106712012-03-09 Joseph Myers <joseph@codesourcery.com>
10672
10673 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10674 * sunrpc/rpc_main.c: Likewise.
10675 * sunrpc/rpc_svcout.c: Likewise.
10676
60d6f5a6
DM
106772012-03-09 David S. Miller <davem@davemloft.net>
10678
10679 * include/math_private.h: New file.
10680
4962050e
JM
106812012-03-09 Joseph Myers <joseph@codesourcery.com>
10682
02a6f887
JM
10683 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10684 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10685 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10686 from <bits/socket_type.h>.
10687 (enum __socket_type): Don't define here.
10688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10690 bits/socket_type.h.
10691
c6e013c1
JM
10692 [BZ #13566]
10693 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10694 checking __USE_GNU.
10695
4962050e
JM
10696 * Makerules ($(inst_includedir)/%.h): New rule.
10697 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10698 (install-others): Remove variable setting.
10699 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10700
38842f45
RH
107012012-03-08 Richard Henderson <rth@twiddle.net>
10702
67bb6da6
RH
10703 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10704 from macro to inline function; merge with the
10705 !__LIBC_INTERNAL_MATH_INLINES version.
10706 (__ieee754_sqrtf): Likewise.
10707
15194b4b
RH
10708 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10709 to inline function.
10710 (__rintf, __floor, __floorf): Likewise.
10711
64e21ede
RH
10712 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10713 macro to inline function.
10714 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10715
38842f45
RH
10716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10717 not <math/math_private.h>.
10718
c64bf5fe
DM
107192012-03-08 David S. Miller <davem@davemloft.net>
10720
10721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10722 copyright year.
10723 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10724
82d86f28
TS
107252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10726
10727 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10728 normalization.
10729 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10731
aea5d727
UD
107322012-03-08 Ulrich Drepper <drepper@gmail.com>
10733
10734 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10735 be defined individually, they must be defined as a block. Define
10736 S for printing a string instead of hidint the different by using a
10737 macro for adding the 'l'.
10738 * stdio-common/tst-fphex-wide.c: Adjust.
10739
70bca0a3
MP
107402012-03-07 Marek Polacek <polacek@redhat.com>
10741
10742 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10743
65b81130
MP
107442012-03-08 Marek Polacek <polacek@redhat.com>
10745
10746 [BZ #13806]
10747 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10748 * stdio-common/tst-fphex.c: Define a few macros to make the
10749 test reusable. Use them.
10750 * stdio-common/tst-fphex-wide.c: New file.
10751
07037eeb
JM
107522012-03-08 Joseph Myers <joseph@codesourcery.com>
10753
a7a93d50
JM
10754 [BZ #6911]
10755 * manual/macros.texi (gnusystems): New macro.
10756 (nongnusystems): Likewise.
10757 (gnulinuxhurdsystems): Likewise.
10758 (gnuhurdsystems): Likewise..
10759 (gnulinuxsystems): Likewise.
10760 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10761 variants of the GNU system, not "GNU system".
10762 * manual/conf.texi: Likewise.
10763 * manual/errno.texi: Likewise. Update example of errno macro
10764 expansion.
10765 * manual/filesys.texi: Likewise.
10766 (getumask): Document as specific to GNU/Hurd.
10767 * manual/install.texi: Likewise. Reword some references to
10768 GNU/Linux.
10769 * manual/intro.texi: Likewise.
10770 * manual/io.texi: Likewise.
10771 (File Name Portability): Detail which constraints are inapplicable
10772 to all GNU systems and which are only inapplicable to GNU/Hurd.
10773 * manual/job.texi: Likewise.
10774 * manual/llio.texi: Likewise.
10775 (O_NOCTTY): Document as present on GNU/Linux.
10776 * manual/maint.texi: Likewise.
10777 * manual/memory.texi: Likewise.
10778 * manual/pattern.texi: Likewise.
10779 * manual/pipe.texi: Likewise.
10780 * manual/process.texi: Likewise.
10781 * manual/resource.texi: Likewise.
10782 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10783 child on GNU/Hurd.
10784 * manual/setjmp.texi: Likewise.
10785 * manual/signal.texi: Likewise.
10786 * manual/startup.texi: Likewise.
10787 * manual/stdio.texi: Likewise.
10788 * manual/terminal.texi: Likewise.
10789 (ONLCR): Document as POSIX.
10790 (OXTABS): Document availability on GNU/Linux as XTABS.
10791 (ONOEOT): Document availability separately from other bits.
10792 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10793 * manual/time.texi: Likewise.
10794 * manual/users.texi: Likewise.
10795 * INSTALL: Regenerated.
10796 * sysdeps/gnu/errlist.c: Regenerated.
10797
07037eeb
JM
10798 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10799 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10800 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10801 puts.
10802 * configure: Regenerated.
10803
d1d3431a
JM
108042012-03-07 Joseph Myers <joseph@codesourcery.com>
10805
af6a1e37
JM
10806 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10807 default includes instead of AC_HEADER_CHECK.
10808 * sysdeps/i386/configure: Regenerated.
10809
d1d3431a
JM
10810 [BZ #10716]
10811 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10812 * math/s_cacoshf.c (__cacoshf): Likewise.
10813 * math/s_cacoshl.c (__cacoshl): Likewise.
10814 * math/s_casinh.c (__casinh): Set signs of result from argument.
10815 * math/s_casinhf.c (__casinhf): Likewise.
10816 * math/s_casinhl.c (__casinhl): Likewise.
10817 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10818 (casinh_test): Add more tests.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update.
10820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10821
482ff4da
UD
108222012-03-07 Ulrich Drepper <drepper@gmail.com>
10823
872fda05
UD
10824 * po/zh_TW.po: Update from translation team.
10825
a4300c7a
UD
10826 * login/Makefile (distribute): Remove variable.
10827 * catgets/Makefile: Likewise.
10828 * mach/Makefile: Likewise.
10829 * malloc/Makefile: Likewise.
10830 * misc/Makefile: Likewise.
10831 * iconv/Makefile: Likewise.
10832 * nscd/Makefile: Likewise.
10833 * hurd/Makefile: Likewise.
10834 * manual/Makefile: Likewise.
10835 * locale/Makefile: Likewise.
10836 * intl/Makefile: Likewise.
10837 * conform/Makefile: Likewise.
10838 * nss/Makefile: Likewise.
10839 * time/Makefile: Likewise.
10840 * soft-fp/Makefile: Likewise.
10841 * dirent/Makefile: Likewise.
10842 * gmon/Makefile: Likewise.
10843 * po/Makefile: Likewise.
10844 * rt/Makefile: Likewise.
10845 * socket/Makefile: Likewise.
10846 * math/Makefile: Likewise.
10847 * signal/Makefile: Likewise.
10848 * debug/Makefile: Likewise.
10849 * elf/Makefile: Likewise.
10850 * timezone/Makefile: Likewise.
10851 * stdlib/Makefile: Likewise.
10852 * iconvdata/Makefile: Likewise.
10853 * sunrpc/Makefile: Likewise.
10854 * io/Makefile: Likewise.
10855 * argp/Makefile: Likewise.
10856 * inet/Makefile: Likewise.
10857 * hesiod/Makefile: Likewise.
10858 * grp/Makefile: Likewise.
10859 * csu/Makefile: Likewise.
10860 * wctype/Makefile: Likewise.
10861 * crypt/Makefile: Likewise.
10862 * libio/Makefile: Likewise.
10863 * string/Makefile: Likewise.
10864 * nis/Makefile: Likewise.
10865 * resolv/Makefile: Likewise.
10866 * stdio-common/Makefile: Likewise.
10867 * wcsmbs/Makefile: Likewise.
10868 * dlfcn/Makefile: Likewise.
10869 * posix/Makefile: Likewise.
10870
3b7c4e74 10871 [BZ #6959]
482ff4da
UD
10872 * timezone/Makefile: Don't install timezone files, just the programs
10873 and scripts.
10874
f72ed77d
UD
108752012-03-06 Ulrich Drepper <drepper@gmail.com>
10876
a000466f
UD
10877 * nss/databases.def: Add missing gshadow entry.
10878
f72ed77d
UD
10879 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10880
a53b7a4e
MP
108812012-03-06 Marek Polacek <polacek@redhat.com>
10882
10883 [BZ #13726]
10884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10886 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10887 * stdio-common/tst-long-dbl-fphex.c: New file.
10888
e9258400
DM
108892012-03-06 David S. Miller <davem@davemloft.net>
10890
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10892 (set_obp_int): New function.
10893 (get_obp_int): New function.
10894 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10896 Avoid unused variable warnings on 'val' and use builtin_expect.
10897 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10898 __builtin_expect.
e9258400
DM
10899 (INLINE_CLONE_SYSCALL): Likewise.
10900
3bd2c723
DM
109012012-03-05 David S. Miller <davem@davemloft.net>
10902
10903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10904
bbb78d03
AS
109052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10906
884c5db4
AS
10907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10908
bbb78d03
AS
10909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10910 only for |x| >= 40.
10911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10912
1c9f702a 109132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10914
10915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10916 Replace gettimeofday with __vdso_gettimeofday.
10917
7be16f82
RM
10918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10919 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10920 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10921
10922 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10923 time with __vdso_time.
10924
ed58a00f
JM
109252012-03-05 Joseph Myers <joseph@codesourcery.com>
10926
10927 * manual/lang.texi (size_t): Note types to which size_t may be
10928 equivalent with the GNU C Library, but do not describe when
10929 differences between them are significant.
10930
30ee4ced
AJ
109312012-03-05 Andreas Jaeger <aj@suse.de>
10932
10933 * sysdeps/i386/fpu/libm-test-ulps: Update.
10934
b7cd39e8
JM
109352012-03-05 Joseph Myers <joseph@codesourcery.com>
10936
10937 [BZ #3976]
10938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10939 (__ieee754_pow): Save and restore rounding mode and use
10940 round-to-nearest for main computations.
10941 * math/libm-test.inc (pow_test_tonearest): New function.
10942 (pow_test_towardzero): Likewise.
10943 (pow_test_downward): Likewise.
10944 (pow_test_upward): Likewise.
10945 (main): Call the new functions.
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10948
10949 [BZ #3976]
10950 * math/libm-test.inc (cosh_test_tonearest): New function.
10951 (cosh_test_towardzero): Likewise.
10952 (cosh_test_downward): Likewise.
10953 (cosh_test_upward): Likewise.
10954 (sinh_test_tonearest): Likewise.
10955 (sinh_test_towardzero): Likewise.
10956 (sinh_test_downward): Likewise.
10957 (sinh_test_upward): Likewise.
10958 (main): Call the new functions.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10961
6c6a98c9
TV
109622012-03-05 Tom de Vries <tom@codesourcery.com>
10963
10964 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10965 default stack guard is set in last bytes.
10966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10967
21bb2d2e 109682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10969
21bb2d2e 10970 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10971
21bb2d2e
AJ
10972 [BZ #13656]
10973 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10974 possibly allocate from heap instead of stack.
10975 * stdio-common/bug-vfprintf-nargs.c: New file.
10976 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10977
c6922934
AS
109782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10981
bc957d53
MP
109822012-03-03 Marek Polacek <polacek@redhat.com>
10983
10984 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10985 * math/math_private.h: Likewise.
10986 * stdlib/tst-strtod.c: Likewise.
10987 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10988 * sysdeps/x86_64/bits/atomic.h: Likewise.
10989
6358490d
DM
109902012-03-02 David S. Miller <davem@davemloft.net>
10991
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10996 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10997 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10998 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10999 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11000
01ae168d
RM
110012012-03-02 Roland McGrath <roland@hack.frob.com>
11002
d9a17c07
RM
11003 [BZ #13792]
11004 * manual/examples/README: New file, says the example source files
11005 can be used under GPL>=2.
11006 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11007 line containing just "*/".
11008 * manual/examples/add.c: Add copyright header (GPL>=2).
11009 * manual/examples/argp-ex1.c: Likewise.
11010 * manual/examples/argp-ex2.c: Likewise.
11011 * manual/examples/argp-ex3.c: Likewise.
11012 * manual/examples/argp-ex4.c: Likewise.
11013 * manual/examples/atexit.c: Likewise.
11014 * manual/examples/db.c: Likewise.
11015 * manual/examples/dir.c: Likewise.
11016 * manual/examples/dir2.c: Likewise.
11017 * manual/examples/execinfo.c: Likewise.
11018 * manual/examples/filecli.c: Likewise.
11019 * manual/examples/filesrv.c: Likewise.
11020 * manual/examples/fmtmsgexpl.c: Likewise.
11021 * manual/examples/genpass.c: Likewise.
11022 * manual/examples/inetcli.c: Likewise.
11023 * manual/examples/inetsrv.c: Likewise.
11024 * manual/examples/isockad.c: Likewise.
11025 * manual/examples/longopt.c: Likewise.
11026 * manual/examples/memopen.c: Likewise.
11027 * manual/examples/memstrm.c: Likewise.
11028 * manual/examples/mkfsock.c: Likewise.
11029 * manual/examples/mkisock.c: Likewise.
11030 * manual/examples/mygetpass.c: Likewise.
11031 * manual/examples/pipe.c: Likewise.
11032 * manual/examples/popen.c: Likewise.
11033 * manual/examples/rprintf.c: Likewise.
11034 * manual/examples/search.c: Likewise.
11035 * manual/examples/select.c: Likewise.
11036 * manual/examples/setjmp.c: Likewise.
11037 * manual/examples/sigh1.c: Likewise.
11038 * manual/examples/sigusr.c: Likewise.
11039 * manual/examples/stpcpy.c: Likewise.
11040 * manual/examples/strdupa.c: Likewise.
11041 * manual/examples/strftim.c: Likewise.
11042 * manual/examples/strncat.c: Likewise.
11043 * manual/examples/subopt.c: Likewise.
11044 * manual/examples/swapcontext.c: Likewise.
11045 * manual/examples/termios.c: Likewise.
11046 * manual/examples/testopt.c: Likewise.
11047 * manual/examples/testpass.c: Likewise.
11048 * manual/examples/timeval_subtract.c: Likewise.
11049
01ae168d
RM
11050 [BZ #13792]
11051 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11052 function to ...
11053 * manual/timeval_subtract.c.texi: ... here, new file.
11054
49efa33d
DM
110552012-03-02 David S. Miller <davem@davemloft.net>
11056
11057 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11058
28afd92d
JM
110592012-03-02 Joseph Myers <joseph@codesourcery.com>
11060
804360ed
JM
11061 [BZ #3976]
11062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11063 (__sin): Save and restore rounding mode and use round-to-nearest
11064 for all computations.
11065 (__cos): Save and restore rounding mode and use round-to-nearest
11066 for all computations.
11067 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11068 <fenv.h>.
11069 (tan): Save and restore rounding mode and use round-to-nearest for
11070 all computations.
11071 * math/libm-test.inc (cos_test_tonearest): New function.
11072 (cos_test_towardzero): Likewise.
11073 (cos_test_downward): Likewise.
11074 (cos_test_upward): Likewise.
11075 (sin_test_tonearest): Likewise.
11076 (sin_test_towardzero): Likewise.
11077 (sin_test_downward): Likewise.
11078 (sin_test_upward): Likewise.
11079 (tan_test_tonearest): Likewise.
11080 (tan_test_towardzero): Likewise.
11081 (tan_test_downward): Likewise.
11082 (tan_test_upward): Likewise.
11083 (main): Call the new functions.
11084 * sysdeps/i386/fpu/libm-test-ulps: Update.
11085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11086
a6d06d7b
JM
11087 [BZ #10135]
11088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11089 small n, then large n, before computing and testing k+n.
11090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11092 Likewise.
11093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11094 Likewise.
11095 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11096 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11103 * math/libm-test.inc (scalbn_test): Add more tests.
11104 (scalbln_test): Likewise.
11105
07e12bb3
JM
11106 * manual/filesys.texi (mode_t): Describe constraints on size and
11107 signedness, not exact equivalence to a particular type.
11108 (ino_t): Likewise.
11109 (ino64_t): Likewise.
11110 (dev_t): Likewise.
11111 (nlink_t): Likewise.
11112 (blkcnt_t): Likewise.
11113 (blkcnt64_t): Likewise.
11114 * manual/llio.texi (off_t): Likewise.
11115
28afd92d
JM
11116 [BZ #3976]
11117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11118 (__ieee754_exp): Save and restore rounding mode and use
11119 round-to-nearest for all computations.
11120 * math/libm-test.inc (exp_test_tonearest): New function.
11121 (exp_test_towardzero): Likewise.
11122 (exp_test_downward): Likewise.
11123 (exp_test_upward): Likewise.
11124 (main): Call the new functions.
11125 * sysdeps/i386/fpu/libm-test-ulps: Update.
11126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11127
b1eeb65d
CD
111282012-03-01 Chris Demetriou <cgd@google.com>
11129
11130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11131 have predictable order.
11132
53362a4b
DM
111332012-03-01 David S. Miller <davem@davemloft.net>
11134
3c969083
DM
11135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11136
759707de
DM
11137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11141
dfdb8ff2
DM
11142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11151
ead89f96
DM
11152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11153
7f66bd07
DM
11154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11157
53362a4b
DM
11158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11176 * sysdeps/sparc/elf/configure: Regenerated.
11177
7b1902cb
JM
111782012-03-01 Joseph Myers <joseph@codesourcery.com>
11179
bec039bc
JM
11180 * configure.in (AS, LD): Require binutils 2.20 or later.
11181 * configure: Regenerated.
11182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11183 as required minimum version.
11184 * INSTALL: Regenerated.
11185
7b1902cb
JM
11186 [BZ #2541]
11187 [BZ #4108]
11188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11189 before squaring exponent.
11190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11191 bottom long double and 27 bits of top long double before squaring
11192 exponent.
11193 * math/libm-test.inc (erfc_test): Add more tests.
11194 * sysdeps/i386/fpu/libm-test-ulps: Update.
11195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11197
f775c276
KT
111982012-03-01 Kai Tietz <ktietz@redhat.com>
11199
11200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11202 containing bit-fields.
11203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11204 * soft-fp/single.h (_FP_UNION_S): Likewise.
11205 * soft-fp/double.h (_FP_UNION_D): Likewise.
11206
5b8a4d4a
JM
112072012-02-29 Joseph Myers <joseph@codesourcery.com>
11208
0bab47b6
JM
11209 [BZ #13786]
11210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11211 not include ../strcmp.S.
11212 [USE_AS_STRNCASECMP_L]: Likewise.
11213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11216 (__strncasecmp_l_ia32): Define as alias to
11217 __strncasecmp_l_nonascii.
11218
0fcad3e2
JM
11219 [BZ #5794]
11220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11221 * sysdeps/i386/fpu/libm-test-ulps: Update.
11222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11223
5b8a4d4a
JM
11224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11226
8fdceb2e
JL
112272012-02-29 Jeff Law <law@redhat.com>
11228
11229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11230 out of bounds read.
11231
1f393a11
MP
112322012-02-29 Marek Polacek <polacek@redhat.com>
11233
11234 [BZ #13706]
11235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11236 * elf/Makefile: Add rules to run tst-unused-dep.out.
11237
8847f037
DM
112382012-02-28 David S. Miller <davem@davemloft.net>
11239
11240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11246
169d7f11
JM
112472012-02-29 Joseph Myers <joseph@codesourcery.com>
11248
11249 * math/libm-test.inc (llround_test): Move one test from
11250 lround_test. Use TEST_f_L in moved test.
11251 (lround_test): Move misplaced test to llround_test. Add testcase
11252 from bug 2561.
11253
39adf059
UD
112542012-02-28 Ulrich Drepper <drepper@gmail.com>
11255
11256 * sysdeps/x86_64/fpu/e_expf.S: New file.
11257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11258
71b5d1c5
SB
112592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11260
11261 [BZ #13637]
11262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11263 of remain_len that may cause incomplete multi-byte character and
11264 false match.
11265 * posix/bug-regex33.c: New file.
11266 * posix/Makefile (tests): Add bug-regex33.
11267
1f77f049
JM
112682012-02-28 Joseph Myers <joseph@codesourcery.com>
11269
11270 * manual/macros.texi: New file.
11271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11272 * manual/libc.texinfo: Include macros.texi.
11273 * manual/creatute.texi: Likewise.
11274 * manual/install.texi: Likewise.
11275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11276 @glibcadj{} in references to the GNU C Library.
11277 * manual/charset.texi: Likewise.
11278 * manual/conf.texi: Likewise.
11279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11280 when not using those macros.
11281 * manual/creature.texi: Likewise.
11282 * manual/crypt.texi: Likewise.
11283 * manual/errno.texi: Likewise.
11284 * manual/filesys.texi: Likewise.
11285 * manual/header.texi: Likewise.
11286 * manual/install.texi: Likewise.
11287 * manual/intro.texi: Likewise.
11288 * manual/io.texi: Likewise.
11289 * manual/job.texi: Likewise.
11290 * manual/lang.texi: Likewise.
11291 * manual/libc.texiinfo: Likewise.
11292 * manual/llio.texi: Likewise.
11293 * manual/locale.texi: Likewise.
11294 * manual/maint.texi: Likewise.
11295 * manual/math.texi: Likewise.
11296 * manual/memory.texi: Likewise.
11297 * manual/message.texi: Likewise.
11298 * manual/nss.texi: Likewise.
11299 * manual/pattern.texi: Likewise.
11300 * manual/process.texi: Likewise.
11301 * manual/resource.texi: Likewise.
11302 * manual/search.texi: Likewise.
11303 * manual/setjmp.texi: Likewise.
11304 * manual/signal.texi: Likewise.
11305 * manual/socket.texi: Likewise.
11306 * manual/startup.texi: Likewise.
11307 * manual/stdio.texi: Likewise.
11308 * manual/string.texi: Likewise.
11309 * manual/sysinfo.texi: Likewise.
11310 * manual/syslog.texi: Likewise.
11311 * manual/terminal.texi: Likewise.
11312 * manual/time.texi: Likewise.
11313 * manual/users.texi: Likewise.
11314 * INSTALL: Regenerated.
11315 * NOTES: Regenerated.
d40c5d54 11316 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11317
450bf206
AS
113182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11319
11320 * include/dirent.h: Include <dirstream.h> before
11321 <dirent/dirent.h>.
11322
741a235b
DM
113232012-02-28 David S. Miller <davem@davemloft.net>
11324
11325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11329
d6b5aa58
DM
113302012-02-27 David S. Miller <davem@davemloft.net>
11331
1aff59a3
DM
11332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11336
d6b5aa58
DM
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11338 frame pointer instead of stack pointer relative arg slot.
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11342
433f48bf
CD
113432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11344
11345 [BZ #3992]
11346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11347
d674b76d
DM
113482012-02-27 David S. Miller <davem@davemloft.net>
11349
11350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11358
0e7727f7
JM
113592012-02-27 Joseph Myers <joseph@codesourcery.com>
11360
11361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11362 later. Allow versions 5-9.
43be4ca2 11363 * configure: Regenerated.
0e7727f7
JM
11364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11365 required minimum version and 4.6 as recommended version. Do not
11366 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11367 * INSTALL: Regenerated.
0e7727f7 11368
a78bc654
DM
113692012-02-27 David S. Miller <davem@davemloft.net>
11370
428d5830
DM
11371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11379
a78bc654
DM
11380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11381 manipulate bits before adding and subtracting TWO112[sx].
11382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11383
4579f81c
RM
113842012-02-27 Roland McGrath <roland@hack.frob.com>
11385
36c8acb4
RM
11386 [BZ #13775]
11387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11390 being in POSIX, because they are in 1003.1-2008.
11391
84ad622b
RM
11392 * rt/tst-aio.c: Include <fcntl.h>.
11393 * rt/tst-aio7.c: Likewise.
11394 * rt/tst-aio64.c: Likewise.
11395
4579f81c
RM
11396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11397
abd923db
JM
113982012-02-27 Joseph Myers <joseph@codesourcery.com>
11399
11400 * manual/install.texi (--with-headers): Describe headers as
11401 interface headers, not private headers.
11402 (Specific advice for GNU/Linux systems): Describe use of headers
11403 from "make headers_install", not private headers from older
11404 kernels.
43be4ca2 11405 * INSTALL: Regenerated.
abd923db
JM
11406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11407 Change to 2.6.19.
11408 * sysdeps/unix/sysv/linux/configure: Regenerated.
11409
6664049b
JM
11410 * manual/llio.texi (fclean): Remove documentation.
11411
bb8b6697
JM
11412 * manual/Makefile (libc-texi-generated): New variable. Include
11413 version.texi.
11414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11415 $(libc-texi-generated), not duplicated list of files.
11416 (version.texi, stamp-version): New rules.
11417 (realclean): Remove $(libc-texi-generated), not individual files
11418 from that list. Do not remove dir-add.texinfo.
11419 * manual/libc.texinfo: Comment out uses of edition numbers and
11420 references to printed manual. Remove last-updated dates.
11421 (EDITION): Comment out.
11422 (ISBN): Likewise.
11423 (VERSION, UPDATED): Remove.
11424 (version.texi): Include.
11425
12e5c3b9
AS
114262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * sysdeps/posix/spawni.c: Include <signal.h>.
11429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11430 * sysdeps/pthread/aio_fsync.c: Likewise.
11431
4efeffc1 114322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11433
ba63ba08
UD
11434 * conform/Makefile (tests): Run only when not cross-compiling and
11435 when fast-check is not defined.
11436
d94a4670
UD
11437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11438 * conform/data/limits.h-data: Fixes for POSIX2008.
11439 * conform/run-conformtest.sh: Run all tests.
11440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11441 headers.
11442 * include/bits/dlfcn.h: Likewise.
11443 * include/langinfo.h: Likewise.
11444 * include/monetary.h: Likewise.
11445 * include/sys/poll.h: Likewise.
11446
11447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11448 for __USE_GNU.
11449 * posix/spawn.h: Define __need_sigset_t.
11450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11453 to get sigevent_t only.
11454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11455 only for __USE_GNU.
11456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11458 process_vm_writev only for __USE_GNU.
11459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11460
11461 * conform/Makefile: For now ignore errors from run-conformtest.
11462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11463 POSIX to avoid namespace pollution. Don't prepend headers.
11464 * conform/data/aio.h-data: Fixes for POSIX testing.
11465 * conform/data/fcntl.h-data: Likewise.
11466 * conform/data/glob.h-data: Likewise.
11467 * conform/data/grp.h-data: Likewise.
11468 * conform/data/pthread.h-data: Likewise.
11469 * conform/data/pwd.h-data: Likewise.
11470 * conform/data/signal.h-data: Likewise.
11471 * conform/data/spawn.h-data: Likewise.
11472 * conform/data/stdio.h-data: Likewise.
11473 * conform/data/stdlib.h-data: Likewise.
11474 * conform/data/stropts.h-data: Likewise.
11475 * conform/data/sys/mman.h-data: Likewise.
11476 * conform/data/sys/stat.h-data: Likewise.
11477 * conform/data/sys/types.h-data: Likewise.
11478 * conform/data/sys/wait.h-data: Likewise.
11479 * conform/data/time.h-data: Likewise.
11480 * conform/data/unistd.h-data: Likewise.
11481 * conform/data/utime.h-data: Likewise.
11482
11483 * io/sys/stat.h: fchmod was always in POSIX.
11484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11486 * rt/aio.h: Define __need_timespec before including <time.h>.
11487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11488 struct. Add forward declaration of pthread_attr_t and use it in
11489 sigevent.
11490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11493 always remove CLK_TCK definition.
11494
c20105c3
AS
114952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11496
11497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11498
7a270350
UD
114992012-02-25 Ulrich Drepper <drepper@gmail.com>
11500
31341567
UD
11501 * conform/run-conformtest.sh: New file.
11502 * conform/Makefile: Run run-conformtest for tests.
11503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11504 support.
11505
11506 * conform/data/uchar.h-data: New file.
11507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11508 * conform/data/arpa/inet.h-data: Likewise.
11509 * conform/data/assert.h-data: Likewise.
11510 * conform/data/complex.h-data: Likewise.
11511 * conform/data/cpio.h-data: Likewise.
11512 * conform/data/ctype.h-data: Likewise.
11513 * conform/data/dirent.h-data: Likewise.
11514 * conform/data/dlfcn.h-data: Likewise.
11515 * conform/data/errno.h-data: Likewise.
11516 * conform/data/fcntl.h-data: Likewise.
11517 * conform/data/float.h-data: Likewise.
11518 * conform/data/fmtmsg.h-data: Likewise.
11519 * conform/data/fnmatch.h-data: Likewise.
11520 * conform/data/ftw.h-data: Likewise.
11521 * conform/data/glob.h-data: Likewise.
11522 * conform/data/grp.h-data: Likewise.
11523 * conform/data/iconv.h-data: Likewise.
11524 * conform/data/inttypes.h-data: Likewise.
11525 * conform/data/langinfo.h-data: Likewise.
11526 * conform/data/libgen.h-data: Likewise.
11527 * conform/data/limits.h-data: Likewise.
11528 * conform/data/locale.h-data: Likewise.
11529 * conform/data/math.h-data: Likewise.
11530 * conform/data/monetary.h-data: Likewise.
11531 * conform/data/mqueue.h-data: Likewise.
11532 * conform/data/ndbm.h-data: Likewise.
11533 * conform/data/net/if.h-data: Likewise.
11534 * conform/data/netdb.h-data: Likewise.
11535 * conform/data/netinet/in.h-data: Likewise.
11536 * conform/data/nl_types.h-data: Likewise.
11537 * conform/data/poll.h-data: Likewise.
11538 * conform/data/pthread.h-data: Likewise.
11539 * conform/data/pwd.h-data: Likewise.
11540 * conform/data/regex.h-data: Likewise.
11541 * conform/data/sched.h-data: Likewise.
11542 * conform/data/search.h-data: Likewise.
11543 * conform/data/semaphore.h-data: Likewise.
11544 * conform/data/setjmp.h-data: Likewise.
11545 * conform/data/signal.h-data: Likewise.
11546 * conform/data/spawn.h-data: Likewise.
11547 * conform/data/stdarg.h-data: Likewise.
11548 * conform/data/stdio.h-data: Likewise.
11549 * conform/data/stdlib.h-data: Likewise.
11550 * conform/data/string.h-data: Likewise.
11551 * conform/data/strings.h-data: Likewise.
11552 * conform/data/stropts.h-data: Likewise.
11553 * conform/data/sys/ipc.h-data: Likewise.
11554 * conform/data/sys/mman.h-data: Likewise.
11555 * conform/data/sys/msg.h-data: Likewise.
11556 * conform/data/sys/resource.h-data: Likewise.
11557 * conform/data/sys/select.h-data: Likewise.
11558 * conform/data/sys/sem.h-data: Likewise.
11559 * conform/data/sys/shm.h-data: Likewise.
11560 * conform/data/sys/socket.h-data: Likewise.
11561 * conform/data/sys/stat.h-data: Likewise.
11562 * conform/data/sys/statvfs.h-data: Likewise.
11563 * conform/data/sys/time.h-data: Likewise.
11564 * conform/data/sys/timeb.h-data: Likewise.
11565 * conform/data/sys/times.h-data: Likewise.
11566 * conform/data/sys/types.h-data: Likewise.
11567 * conform/data/sys/uio.h-data: Likewise.
11568 * conform/data/sys/un.h-data: Likewise.
11569 * conform/data/sys/utsname.h-data: Likewise.
11570 * conform/data/sys/wait.h-data: Likewise.
11571 * conform/data/syslog.h-data: Likewise.
11572 * conform/data/tar.h-data: Likewise.
11573 * conform/data/termios.h-data: Likewise.
11574 * conform/data/utime.h-data: Likewise.
11575 * conform/data/utmpx.h-data: Likewise.
11576 * conform/data/varargs.h-data: Likewise.
11577 * conform/data/wchar.h-data: Likewise.
11578 * conform/data/wctype.h-data: Likewise.
11579 * conform/data/wordexp.h-data: Likewise.
11580
11581 * include/stropts.h: New file.
11582 * include/uchar.h: New file.
11583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11584 * include/assert.h: Likewise.
11585 * include/ctype.h: Likewise.
11586 * include/dirent.h: Likewise.
11587 * include/dlfcn.h: Likewise.
11588 * include/fcntl.h: Likewise.
11589 * include/fnmatch.h: Likewise.
11590 * include/glob.h: Likewise.
11591 * include/grp.h: Likewise.
11592 * include/libio.h: Likewise.
11593 * include/locale.h: Likewise.
11594 * include/math.h: Likewise.
11595 * include/net/if.h: Likewise.
11596 * include/netdb.h: Likewise.
11597 * include/netinet/in.h: Likewise.
11598 * include/pthread.h: Likewise.
11599 * include/pwd.h: Likewise.
11600 * include/regex.h: Likewise.
11601 * include/sched.h: Likewise.
11602 * include/search.h: Likewise.
11603 * include/setjmp.h: Likewise.
11604 * include/signal.h: Likewise.
11605 * include/stdio.h: Likewise.
11606 * include/stdlib.h: Likewise.
11607 * include/string.h: Likewise.
11608 * include/sys/cdefs.h: Likewise.
11609 * include/sys/mman.h: Likewise.
11610 * include/sys/msg.h: Likewise.
11611 * include/sys/resource.h: Likewise.
11612 * include/sys/select.h: Likewise.
11613 * include/sys/socket.h: Likewise.
11614 * include/sys/stat.h: Likewise.
11615 * include/sys/statvfs.h: Likewise.
11616 * include/sys/time.h: Likewise.
11617 * include/sys/times.h: Likewise.
11618 * include/sys/uio.h: Likewise.
11619 * include/sys/utsname.h: Likewise.
11620 * include/sys/wait.h: Likewise.
11621 * include/termios.h: Likewise.
11622 * include/time.h: Likewise.
11623 * include/ulimit.h: Likewise.
11624 * include/unistd.h: Likewise.
11625 * include/utime.h: Likewise.
11626 * include/wchar.h: Likewise.
11627 * include/wctype.h: Likewise.
11628 * include/wordexp.h: Likewise.
11629
11630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11631
7a270350
UD
11632 * time/time.h: TIME_UTC must be a macro.
11633 Make timespec_get available for ISO C11 only as well.
11634
7724defc
UD
116352012-02-24 Ulrich Drepper <drepper@gmail.com>
11636
11637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11639
6b1d1d46
JM
116402012-02-24 Joseph Myers <joseph@codesourcery.com>
11641
11642 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11643
0f8bbd69
JM
116442012-02-24 Joseph Myers <joseph@codesourcery.com>
11645
11646 * manual/texinfo.tex: Update to version 2012-01-19.16.
11647
66ab80bc
JM
116482012-02-24 Joseph Myers <joseph@codesourcery.com>
11649
11650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11651
74981cc5
RM
116522012-02-24 Roland McGrath <roland@hack.frob.com>
11653
ee968201
RM
11654 [BZ #13738]
11655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11656 * manual/fdl-1.3.texi: New file.
11657 * manual/fdl-1.1.texi: File removed.
11658
74981cc5
RM
11659 [BZ #13738]
11660 * manual/libc.texinfo (FDL_VERSION): New @set.
11661 Use it for mention of FDL in cover text.
11662 (Documentation License): Use it in @include file name.
11663
7bb764bc
JM
116642012-02-22 Joseph Myers <joseph@codesourcery.com>
11665 Roland McGrath <roland@hack.frob.com>
11666
11667 [BZ #5461]
11668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11669 not LONG_LONG_MAX and LONG_LONG_MIN.
11670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11672 name.
11673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11674
6cbeae47
JM
116752012-02-22 Joseph Myers <joseph@codesourcery.com>
11676
11677 [BZ #2547]
11678 [BZ #11365]
11679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11680 manipulate bits before adding and subtracting TWO23[sx].
11681 * math/libm-test.inc (nearbyint_test): Add more tests.
11682
fe45ce09
JM
116832012-02-22 Joseph Myers <joseph@codesourcery.com>
11684
11685 [BZ #2548]
11686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11687 bits before adding and subtracting TWO23[sx].
11688 * math/libm-test.inc (rint_test): Add more tests.
11689 (rint_test_tonearest): Likewise.
11690 (rint_test_towardzero): Likewise.
11691 (rint_test_downward): Likewise.
11692 (rint_test_upward: Likewise.
11693
ff3b3d82
JM
116942012-02-22 Joseph Myers <joseph@codesourcery.com>
11695
11696 [BZ #10110]
11697 * include/stdc-predef.h: New file. Extracted from features.h.
11698 * include/features.h: Include stdc-predef.h.
11699 * Makefile (headers): Add stdc-predef.h.
11700 * CONFORMANCE (Compiler limitations): Update.
11701
ef0aab35
JM
117022012-02-22 Joseph Myers <joseph@codesourcery.com>
11703
11704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11705
58639409
DM
117062012-02-21 David S. Miller <davem@davemloft.net>
11707
11708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11710
c0e70b25
DM
117112012-02-20 David S. Miller <davem@davemloft.net>
11712
11713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11714 using a normal save/restore sequence, rather than allocating a
11715 dummy stack frame just to store a frame pointer and restore.
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11717
fb06851d
JM
117182012-02-21 Joseph Myers <joseph@codesourcery.com>
11719
11720 * manual/install.texi: Fix stray word in line-wrapped comment.
11721
7a8b71c3
DM
117222012-02-20 David S. Miller <davem@davemloft.net>
11723
d510c123
DM
11724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11725 both binutils and gcc support GOTDATA.
11726
0722d7c2
DM
11727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11728 "rd %pc" in the PIC register setup sequences.
11729
3d2b3019
DM
11730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11739 (SYSCALL_ERROR_HANDLER): Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11743 (SYSCALL_ERROR_HANDLER): Likewise.
11744
c80098a9
DM
11745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11746 (HAVE_GCC_GOTDATA): New.
11747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11748 relocation support in both binutils and gcc.
11749 * sysdeps/sparc/elf/configure: Regenerate.
11750
3a2545a0
DM
11751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11752 * sysdeps/sparc/sparc32/elf/configure: Delete.
11753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11754 * sysdeps/sparc/sparc64/elf/configure: Delete.
11755 * sysdeps/sparc/elf/configure.in: New file.
11756 * sysdeps/sparc/elf/configure: Generate.
11757
7a8b71c3
DM
11758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11763
f1e86fca
JM
117642012-02-21 Joseph Myers <joseph@codesourcery.com>
11765
11766 * manual/install.texi: Do not mention specific glibc version
11767 numbers.
11768 * manual/libc.texinfo (VERSION, UPDATED): Update.
11769 (@copying): Use @copyright{} and range of years.
11770
0e7dfaef
JM
117712012-02-21 Joseph Myers <joseph@codesourcery.com>
11772
11773 [BZ #13695]
11774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11775 [crti.S not in sysdirs] (generated): Do not append.
11776 [crti.S not in sysdirs] (omit-deps): Likewise.
11777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11782 Likewise.
11783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11786 * csu/defs.awk: Remove file.
11787 * sysdeps/generic/initfini.c: Likewise.
11788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11789 variable.
11790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11791 Likewise.
11792
599af3ca
JM
117932012-02-20 Joseph Myers <joseph@codesourcery.com>
11794
11795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11801 <bits/epoll.h>.
11802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11803 (__EPOLL_PACKED): Define to empty if not defined by
11804 <bits/epoll.h>.
11805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11807 bits/epoll.h.
11808
0e499750
JM
118092012-02-20 Joseph Myers <joseph@codesourcery.com>
11810
11811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11815 <bits/timerfd.h>.
11816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11818 bits/timerfd.h.
11819
5ad91f6e
JM
118202012-02-20 Joseph Myers <joseph@codesourcery.com>
11821
11822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11823 in C locale.
11824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11828
06b99b02
AJ
118292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11830
11831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11833
7638c0fd
AS
118342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11835
11836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11838 defined.
11839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11840 Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11842 entry for 2.16.
11843
92221550
AJ
118442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11845
11846 * math/w_acos.c: Use non-signaling floating-point comparisons.
11847 * math/w_acosf.c: Likewise.
11848 * math/w_acosh.c: Likewise.
11849 * math/w_acoshf.c: Likewise.
11850 * math/w_acoshl.c: Likewise.
11851 * math/w_acosl.c: Likewise.
11852 * math/w_asin.c: Likewise.
11853 * math/w_asinf.c: Likewise.
11854 * math/w_asinl.c: Likewise.
11855 * math/w_atanh.c: Likewise.
11856 * math/w_atanhf.c: Likewise.
11857 * math/w_atanhl.c: Likewise.
11858 * math/w_exp2.c: Likewise.
11859 * math/w_exp2f.c: Likewise.
11860 * math/w_exp2l.c: Likewise.
11861 * math/w_j0.c: Likewise.
11862 * math/w_j0f.c: Likewise.
11863 * math/w_j0l.c: Likewise.
11864 * math/w_j1.c: Likewise.
11865 * math/w_j1f.c: Likewise.
11866 * math/w_j1l.c: Likewise.
11867 * math/w_jn.c: Likewise.
11868 * math/w_jnf.c: Likewise.
11869 * math/w_log.c: Likewise.
11870 * math/w_log10.c: Likewise.
11871 * math/w_log10f.c: Likewise.
11872 * math/w_log10l.c: Likewise.
11873 * math/w_log2.c: Likewise.
11874 * math/w_log2f.c: Likewise.
11875 * math/w_log2l.c: Likewise.
11876 * math/w_logf.c: Likewise.
11877 * math/w_logl.c: Likewise.
11878 * math/w_sqrt.c: Likewise.
11879 * math/w_sqrtf.c: Likewise.
11880 * math/w_sqrtl.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11886
ebaf36eb
JM
118872012-02-19 Joseph Myers <joseph@codesourcery.com>
11888
11889 [BZ #9739]
11890 * manual/string.texi (strnlen): Use correct parameter name in
11891 equivalent expression.
11892
71c254a6
JM
118932012-02-19 Joseph Myers <joseph@codesourcery.com>
11894
11895 [BZ #11174]
11896 * manual/users.texi (seteuid): Consistently use neweuid for
11897 argument name.
11898
16d2c631
JM
118992012-02-19 Joseph Myers <joseph@codesourcery.com>
11900
11901 [BZ #13704]
11902 * manual/nss.texi (Services in the NSS configuration): Correct
11903 list of services in example configuration file.
11904
cd837b09
NB
119052012-02-19 Nick Bowler <nbowler@draconx.ca>
11906
11907 [BZ #11322]
11908 * manual/arith.texi: Remove statements about negative zero
11909 behaving identically to zero.
11910
02c4bbad
JM
119112012-02-18 Joseph Myers <joseph@codesourcery.com>
11912
11913 [BZ #5993]
11914 * manual/install.texi: Do not document upgrading from libc5.
11915
366842e7
JM
119162012-02-18 Joseph Myers <joseph@codesourcery.com>
11917
11918 [BZ #4596]
11919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11920
dd54084d
DM
119212012-02-18 David S. Miller <davem@davemloft.net>
11922
11923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11925 %o7 across the call.
11926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11927 instead.
11928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11929 SETUP_PIC_REG_LEAF.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11932 * sysdeps/sparc/crtn.S: Likewise.
11933
2bcc53a3
UD
119342012-02-17 Ulrich Drepper <drepper@gmail.com>
11935
11936 * aout/Makefile: Remove.
11937
09c093b5
RK
119382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11939
11940 [BZ #13058]
11941 * manual/examples/argp-ex1.c (main): Format definition in GNU
11942 style.
11943 * manual/examples/argp-ex2.c (main): Likewise.
11944 * manual/examples/argp-ex3.c (main): Likewise.
11945 * manual/examples/argp-ex4.c (main): Likewise.
11946 * manual/examples/longopt.c (main): Use new-style prototype
11947 definition.
11948 * manual/examples/strncat.c (main): Specify return type and use
11949 (void) for arguments.
11950 * manual/examples/subopt.c (main): Use char **argv argument.
11951
2ee633a2
JM
119522012-02-17 Joseph Myers <joseph@codesourcery.com>
11953
11954 [BZ #5077]
11955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11956 rounding modes.
11957
0520adde
FB
119582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11959
11960 [BZ #6907]
11961 * manual/string.texi (strchr): Change when strchrnul is
11962 recommended.
11963
3f4081cd
DGM
119642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11965
11966 [BZ #174]
11967 * manual/locale.texi (setlocale): Document LOCPATH.
11968
d1b10e78
JM
119692012-02-17 Joseph Myers <joseph@codesourcery.com>
11970
11971 [BZ #10210]
11972 * manual/process.texi (execle): Move @dots{} before last argument.
11973
79c6869c
PB
119742012-02-17 Paul Bolle <pebolle@tiscali.nl>
11975
11976 [BZ #12047]
11977 * manual/charset.texi (Generic Charset Conversion): Fix typo
11978 (LC_TYPE -> LC_CTYPE).
11979
cc6e48bc
NB
119802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11981
11982 [BZ #5805]
11983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11984 (scalbnf): Likewise.
11985 (scalbnl): Likewise.
11986 (scalbln): Likewise.
11987 (scalblnf): Likewise.
11988 (scalblnl): Likewise.
11989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11990 (vwarnx): Likewise.
11991 (verr): Likewise.
11992 (verrx): Likewise.
11993 * manual/filesys.texi (telldir): Use braces around return type.
11994 * manual/llio.texi (mmap): Add space after comma.
11995 (mmap64): Likewise.
11996 * manual/math.texi (jn): Use @var{} on parameter names.
11997 (jnf): Likewise.
11998 (jnl): Likewise.
11999 (yn): Likewise.
12000 (ynf): Likewise.
12001 (ynl): Likewise.
12002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12003 line.
12004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12005 "...".
12006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12007 (sched_get_priority_max): Likewise.
12008 * manual/signal.texi (sigvec): Add space after comma.
12009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12010 names.
12011 (if_indextoname): Likewise.
12012 (if_freenameindex): Likewise.
12013 (sendto): Use ',' instead of '.' in prototype.
12014 * manual/startup.texi (syscall): Use @dots{} instead of literal
12015 "...".
12016 * manual/stdio.texi (__fpending): Separate initial words of
12017 paragraph from @deftypefun line.
12018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12019 "...".
12020 (vsyslog): Use @var{} on parameter names.
12021 * manual/terminal.texi (stty): Use @var{} on parameter names.
12022 * manual/users.texi (getutmp): Use @var{} on parameter names.
12023 (getutmpx): Likewise.
12024
5b23062f
JM
120252012-02-17 Joseph Myers <joseph@codesourcery.com>
12026
12027 [BZ #6884]
12028 * manual/stdio.texi (fopen): Fix typos in description of
12029 ",ccs=STRING".
12030
8dee4833
AJ
120312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12032
12033 [BZ #4026]
12034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12035 get clock_id definition.
12036
9078ce93
TS
120372012-02-17 Thomas Schwinge <thomas@schwinge.name>
12038
12039 [BZ #4822]
12040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12041 (madvise): Cast every argument to void on its own.
12042
3835c55f
JM
120432012-02-17 Joseph Myers <joseph@codesourcery.com>
12044
12045 [BZ #9902]
12046 * manual/startup.texi (Exit Status): Fix typo.
12047
35c47e37
JM
120482012-02-17 Joseph Myers <joseph@codesourcery.com>
12049
12050 [BZ #10140]
12051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12052 * manual/examples/argp-ex2.c: Likewise.
12053 * manual/examples/argp-ex3.c: Likewise.
12054
e3b69ca7
RH
120552012-02-16 Richard Henderson <rth@redhat.com>
12056
12057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12058 * sysdeps/s390/s390-32/initfini.c: Remove.
12059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12060 * sysdeps/s390/s390-64/initfini.c: Remove.
12061
df83af67
KK
120622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12063
12064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12065 compiler output for sysdeps/generic/initfini.c.
12066 * sysdeps/sh/elf/initfini.c: Remove file.
12067
f63f3380
DM
120682012-02-16 David S. Miller <davem@davemloft.net>
12069
fb59b3a4
DM
12070 [BZ #11494]
12071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12072
f63f3380
DM
12073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12074 * sysdeps/sparc/crti.S: New file.
12075 * sysdeps/sparc/crtn.S: New file.
12076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12077 * sysdeps/sparc/sparc64/Makefile: Likewise.
12078
df6a4a4a
MF
120792012-02-15 Mike Frysinger <vapier@gentoo.org>
12080
6dd8f3dc 12081 [BZ #3335]
df6a4a4a
MF
12082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12083
1cac7236
RM
120842012-02-15 Roland McGrath <roland@hack.frob.com>
12085
d2c736f8
RM
12086 [BZ #4822]
12087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12088
1cac7236
RM
12089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12090 (write, read, close): Likewise.
12091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12092
8e475601
JM
120932012-02-15 Joseph Myers <joseph@codesourcery.com>
12094
12095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12099 <bits/signalfd.h>.
12100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12102 bits/signalfd.h.
12103
ed656b40
MP
121042012-02-14 Marek Polacek <polacek@redhat.com>
12105
12106 * sysdeps/x86_64/crti.S: New file.
12107 * sysdeps/x86_64/crtn.S: New file.
12108 * sysdeps/x86_64/elf/initfini.c: Remove file.
12109
2a979d3a
JM
121102012-02-13 Joseph Myers <joseph@codesourcery.com>
12111
12112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12116 <bits/inotify.h>.
12117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12119 bits/inotify.h.
12120
2a418ac3
JM
121212012-02-13 Joseph Myers <joseph@codesourcery.com>
12122
12123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12127 <bits/eventfd.h>.
12128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12130 bits/eventfd.h.
12131
fb779be7
TS
121322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12133
e19e83c5
RM
12134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12135 __feraiseexcept instead of feraiseexcept.
7c35ffed 12136
fb779be7
TS
12137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12138 nanosleep invocations.
12139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12140 strings, and add error checking for a nanosleep invocations.
12141
59ba27a6
PE
121422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12143
12144 Replace FSF snail mail address with URLs, as per GNU coding standards.
12145 Most of the snail mail addresses were wrong anyway, and omitting
12146 them makes the source code easier to maintain. Almost all of the
12147 changes are to license notices and to locale LC_IDENTIFICATION
12148 addresses, except for this one:
12149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12150 not its snail mail address.
12151
57b957eb
RH
121522012-02-09 Richard Henderson <rth@twiddle.net>
12153
af850b1c
RH
12154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12155 of kernel-features.h.
12156
57b957eb
RH
12157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12158
6b73181a
MP
121592012-02-08 Marek Polacek <polacek@redhat.com>
12160
12161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12163 * sysdeps/gnu/_G_config.h: Likewise.
12164 * sysdeps/generic/_G_config.h: Likewise.
12165
26ecc33a
AS
121662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12167
6c6dbc63
AS
12168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12169 tests.
12170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12171
e216c012
AS
12172 * sysdeps/powerpc/powerpc32/crti.S: New file.
12173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12174 * sysdeps/powerpc/powerpc64/crti.S: New file.
12175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12176
26ecc33a
AS
12177 * Makeconfig (have-initfini): Don't set.
12178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12179 * configure.in (nopic_initfini): Don't substitute.
12180 * config.h.in (HAVE_INITFINI): Don't #undef.
12181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12183
3add8e13
JM
121842012-02-08 Joseph Myers <joseph@codesourcery.com>
12185
12186 Support crti.S and crtn.S provided directly by architectures.
12187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12188 [crti.S in sysdirs] (omit-deps): Likewise.
12189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12198 compiler output for sysdeps/generic/initfini.c.
12199 * sysdeps/i386/elf/Makefile: Remove file.
12200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12201
a22f12b4
MP
122022012-02-07 Marek Polacek <polacek@redhat.com>
12203
12204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12205 * sysdeps/gnu/_G_config.h: Likewise.
12206 * sysdeps/mach/hurd/_G_config.h: Likewise.
12207
148cf100
MP
122082012-02-07 Marek Polacek <polacek@redhat.com>
12209
12210 * math/Makefile (tests): Add tst-CMPLX2.
12211 * math/tst-CMPLX2.c: New file.
12212
cfdc0dd7
AS
122132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12214
84ba42c4
AS
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12216
cfdc0dd7
AS
12217 * math/libm-test.inc (jn_test): Add missing L suffix.
12218
622c86f4
MP
122192012-02-06 Marek Polacek <polacek@redhat.com>
12220
12221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12222 * sysdeps/i386/fpu/e_powf.S: Likewise.
12223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12226 * sysdeps/i386/fpu/e_pow.S: Likewise.
12227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12231 * sysdeps/i386/fpu/e_log2.S: Likewise.
12232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12234 * sysdeps/i386/fpu/e_powl.S: Likewise.
12235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12238 * sysdeps/i386/fpu/e_logl.S: Likewise.
12239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12245 * sysdeps/i386/fpu/e_log.S: Likewise.
12246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12249 * sysdeps/i386/fpu/e_logf.S: Likewise.
12250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12255 * sysdeps/i386/fpu/e_log10.S: Likewise.
12256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12262 * sysdeps/i386/asm-syntax.h: Likewise.
12263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12272 * sysdeps/powerpc/sysdep.h: Likewise.
12273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12275
d4a54ac6
JM
122762012-02-06 Joseph Myers <joseph@codesourcery.com>
12277
12278 [BZ #411]
12279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12280
314054ea
JM
122812012-02-06 Joseph Myers <joseph@codesourcery.com>
12282
12283 * sysdeps/i386/sysdep.h: Include <features.h>.
12284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12285 version.
12286
d8e0ca50
JM
122872012-02-05 Joseph Myers <joseph@codesourcery.com>
12288
12289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12290 Define.
12291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12292 LOAD_PIC_REG_STR.
12293
b1da7dd9
JM
122942012-02-03 Joseph Myers <joseph@codesourcery.com>
12295
12296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12297 (SETUP_PIC_REG): Use GET_PC_THUNK.
12298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12299 macro.
12300
9a1d9254
JM
123012012-02-03 Joseph Myers <joseph@codesourcery.com>
12302
12303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12304 for non-PIC compilation.
12305 (SETUP_PIC_REG): Add .p2align directive.
12306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12347
65dc3b75
JM
123482012-02-03 Joseph Myers <joseph@codesourcery.com>
12349
12350 * math/tst-CMPLX.c: Include <stdio.h>.
12351
d55bf177
JM
123522012-01-31 Joseph Myers <joseph@codesourcery.com>
12353
12354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12355 float.
12356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12357 * sysdeps/sparc/bits/mathdef.h: Likewise.
12358
69db4f8f
MP
123592012-01-31 Marek Polacek <polacek@redhat.com>
12360
12361 * libio/libio.h: Don't define _PARAMS.
12362 * locale/programs/config.h: Don't define PARAMS.
12363 * stdlib/strtol_l.c: Likewise.
12364 (__strtol_l): Remove PARAMS from the prototype.
12365
41b81892
UD
123662012-01-31 Ulrich Drepper <drepper@gmail.com>
12367
3b49edc0
UD
12368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12369 names. Just use the correct names. Remove unnecessary wrapper
12370 functions.
12371 * malloc/arena.c: Likewise.
12372 * malloc/hooks.c: Likewise.
12373
41b81892
UD
12374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12375 ARENA_TEST says not to. Simplify test for creation of a new arena.
12376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12377
27a25b6e
UD
123782012-01-30 Ulrich Drepper <drepper@gmail.com>
12379
12380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12381 into tail calls.
12382 (update_get_addr): New function.
12383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12384 GET_ADDR_MODULE parameter.
12385
c8a89e7d
JM
123862012-01-30 Joseph Myers <joseph@codesourcery.com>
12387
12388 * crypt/cert.c: Remove __STDC__ conditionals.
12389 * crypt/crypt-entry.c: Likewise.
12390 * crypt/crypt_util.c: Likewise.
12391 * libio/filedoalloc.c: Likewise.
12392 * libio/fileops.c: Likewise.
12393 * libio/genops.c: Likewise.
12394 * libio/iofclose.c: Likewise.
12395 * libio/iofdopen.c: Likewise.
12396 * libio/iofopen.c: Likewise.
12397 * libio/iofopen64.c: Likewise.
12398 * libio/iogetdelim.c: Likewise.
12399 * libio/iopopen.c: Likewise.
12400 * libio/obprintf.c: Likewise.
12401 * libio/oldfileops.c: Likewise.
12402 * libio/oldiofclose.c: Likewise.
12403 * libio/oldiofdopen.c: Likewise.
12404 * libio/oldiofopen.c: Likewise.
12405 * libio/oldiopopen.c: Likewise.
12406 * libio/wfiledoalloc.c: Likewise.
12407 * libio/wgenops.c: Likewise.
12408 * locale/programs/xmalloc.c: Likewise.
12409 * misc/syslog.c: Likewise.
12410 * stdio-common/xbug.c: Likewise.
12411 * string/memchr.c: Likewise.
12412 * string/memcmp.c: Likewise.
12413 * string/memrchr.c: Likewise.
12414 * string/rawmemchr.c: Likewise.
12415 * sysdeps/posix/getcwd.c: Likewise.
12416 * time/strftime_l.c: Likewise.
12417
3b100462
JM
124182012-01-30 Joseph Myers <joseph@codesourcery.com>
12419
12420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12421 * config.make.in (config-cflags-sse2avx): Define.
12422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12423 Fix typo.
12424
607998af
CM
124252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12426
12427 * scripts/config.guess: Update from upstream config git repository.
12428 * scripts/config.sub: Likewise.
12429
3601428f
CM
124302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12431
3ac8b282
CM
12432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12433 (EM_NUM): Update.
12434 (R_TILEPRO_*, R_TILEGX_*): New macros.
12435
e034841e
CM
12436 * scripts/firstversions.awk: Fix bug in version range handling.
12437
540d7568
CM
12438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12439
3601428f
CM
12440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12441
463de862
CM
12442 * include/sys/epoll.h: New file.
12443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12444 libc_hidden_def.
12445
73139a76
UD
124462012-01-28 Ulrich Drepper <drepper@gmail.com>
12447
96bc5b45
UD
12448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12449 Avoid unnecessary __WORDSIZE == 64 test.
12450 (fmaxf): Use VEX format if possible.
12451 (fmax): Likewise.
12452 (fminf): Likewise.
12453 (fmin): Likewise.
12454
56f6f6a2
UD
12455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12456 * math/math_private.h: Remove libc_fegetround* and
12457 libc_fesetround*.
12458 * sysdeps/i386/configure.in: Check for -msse2avx.
12459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12460 also if SSE2AVX is defined.
12461 Remove libc_fegetround* and libc_fesetround*.
12462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12465 of HAS_YMM_USABLE.
12466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12471
73139a76
UD
12472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12473
d73f93a4
AZ
124742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12475
12476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12477 size is not set.
12478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12479
6ee65ed6
UD
124802012-01-27 Ulrich Drepper <drepper@gmail.com>
12481
12482 [BZ #13618]
12483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12484 relocation.
12485 * Makeconfig (libm): Define.
12486 * elf/Makefile: Add rules to build and run tst-relsort1.
12487 * elf/tst-relsort1.c: New file.
12488 * elf/tst-relsort1mod1.c: New file.
12489 * elf/tst-relsort1mod2.c: New file.
12490
8db21882
JM
124912012-01-27 Joseph Myers <joseph@codesourcery.com>
12492
12493 * math/s_ldexp.c: Remove __STDC__ conditionals.
12494 * math/s_ldexpf.c: Likewise.
12495 * math/s_ldexpl.c: Likewise.
12496 * math/s_nextafter.c: Likewise.
12497 * math/s_nexttowardf.c: Likewise.
12498 * math/s_significand.c: Likewise.
12499 * math/s_significandf.c: Likewise.
12500 * math/s_significandl.c: Likewise.
12501 * math/w_jnl.c: Likewise.
12502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12542 * sysdeps/ieee754/k_standard.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12622 * sysdeps/ieee754/s_matherr.c: Likewise.
12623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12627
965a54a4
JM
126282012-01-26 Joseph Myers <joseph@codesourcery.com>
12629
12630 * crypt/md5.h: Remove __STDC__ conditionals.
12631 * libio/libioP.h: Likewise.
12632 * locale/programs/config.h: Likewise.
12633 * sysdeps/generic/sysdep.h: Likewise.
12634 * sysdeps/i386/asm-syntax.h: Likewise.
12635 * sysdeps/s390/asm-syntax.h: Likewise.
12636 * sysdeps/unix/sysdep.h: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12639
7071ad79
JM
126402012-01-26 Joseph Myers <joseph@codesourcery.com>
12641
12642 * libio/libio.h: Remove __STDC__ conditionals.
12643 * malloc/obstack.h: Likewise.
12644 * math/complex.h: Likewise.
12645 * math/math.h: Likewise.
12646 * sysdeps/generic/_G_config.h: Likewise.
12647 * sysdeps/gnu/_G_config.h: Likewise.
12648 * sysdeps/mach/hurd/_G_config.h: Likewise.
12649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12651 * sysdeps/sparc/bits/mathdef.h: Likewise.
12652
afc5ed09
UD
126532012-01-26 Ulrich Drepper <drepper@gmail.com>
12654
12655 [BZ #13583]
12656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12657 Clean up HAS_* macros.
afc5ed09 12658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12660 possible.
12661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12662 HAS_AVX.
12663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12668
bdb6de1d
JM
126692012-01-25 Joseph Myers <joseph@codesourcery.com>
12670
12671 * elf/tst-unique3.cc (gets): Remove declaration.
12672 * elf/tst-unique3lib.cc (gets): Likewise.
12673 * elf/tst-unique3lib2.cc (gets): Likewise.
12674 * elf/tst-unique4.cc (gets): Likewise.
12675
b15549e6
UD
126762012-01-24 Ulrich Drepper <drepper@gmail.com>
12677
12678 * include/stdio.h: Add C++ protection. Add gets declarations and
12679 definitions.
12680 * debug/tst-chk1.c: Don't declare gets here.
12681 * stdio-common/tst-gets.c: Likewise.
12682
a037381f
JM
126832012-01-24 Joseph Myers <joseph@codesourcery.com>
12684
12685 * posix/glob: Remove directory.
12686
f1d4aa75
JM
126872012-01-24 Joseph Myers <joseph@codesourcery.com>
12688
12689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12690
81c0c964
PT
126912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12692
12693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12694 of the non-standard EPFNOSUPPORT.
12695
0ea698ae
ST
126962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12697
12698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12701
d220b117
UD
127022012-01-21 Ulrich Drepper <drepper@gmail.com>
12703
12704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12705
3e1aa84e
UD
127062012-01-20 Ulrich Drepper <drepper@gmail.com>
12707
12708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12709 transient errors.
12710 * nscd/grpcache.c (cache_addgr): Likewise.
12711 * nscd/hstcache.c (cache_addhst): Likewise.
12712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12713 * nscd/pwdcache.c (cache_addpw): Likewise.
12714 * nscd/servicescache.c (cache_addserv): Likewise.
12715
400aa020
UD
127162012-01-16 Ulrich Drepper <drepper@gmail.com>
12717
d77e7869
UD
12718 * malloc/malloc.c: Various cleanups.
12719 * malloc/hooks.c: Likewise.
12720
400aa020
UD
12721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12722 * stdlib/bug-fmtmsg1.c: New file.
12723
12724 * stdlib/fmtmsg.c (init): Add missing unlock.
12725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12726
e0a309cf
MP
127272012-01-12 Marek Polacek <polacek@redhat.com>
12728
12729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12730 and _GNU_SOURCE.
12731
929d11c7
WS
127322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12733
12734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12736 macro to ensure uniqueness of label name.
12737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12739
41d0e869
UD
127402012-01-11 Ulrich Drepper <drepper@gmail.com>
12741
0cc5ed3b
UD
12742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12743
41d0e869
UD
12744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12748
a47a831a
UD
127492012-01-10 Ulrich Drepper <drepper@gmail.com>
12750
daa891c0
UD
12751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12752
12753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12756
e58ef0f2
UD
12757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12758
a47a831a 12759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12763
12764 * math/bits/math-finite.h: Add ldexp support.
12765
a0bfc9c7
MP
127662012-01-10 Marek Polacek <polacek@redhat.com>
12767
12768 * locale/programs/localedef.h (show_archive_content): Add noreturn
12769 attribute.
12770
d6e97a1d
UD
127712012-01-09 Ulrich Drepper <drepper@gmail.com>
12772
12773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12774
d5835c26
UD
127752012-01-08 Ulrich Drepper <drepper@gmail.com>
12776
e5f484c6
UD
12777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12778
d5835c26
UD
12779 * io/Makefile (headers): Add bits/poll2.h.
12780
d1f741e9
WS
127812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12782
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12784 typo #include statement.
12785
ec09c1c4
UD
127862012-01-08 Ulrich Drepper <drepper@gmail.com>
12787
12788 * include/sys/cdefs.h: Define __attribute_alloc_size.
12789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12791 * elf/pldd.c: Likewise.
12792 * iconv/iconv_charmap.c: Likewise.
12793 * iconv/iconvconfig.c: Likewise.
12794 * iconv/strtab.c: Likewise.
12795 * locale/programs/locale.c: Likewise.
12796 * locale/programs/localedef.h: Likewise.
12797 * locale/programs/simple-hash.c: Likewise.
12798 * nscd/nscd.h: Likewise.
12799 * nss/makedb.c: Likewise.
12800 * sysdeps/generic/ldconfig.h: Likewise.
12801 * locale/programs/localedef.c: Remove xmalloc prototype.
12802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12803
20b38e03
PP
128042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12805
12806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12807 appropriate.
12808
a0da5fe1
UD
128092012-01-08 Ulrich Drepper <drepper@gmail.com>
12810
1d5a644a 12811 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12812 * math/tst-CMPLX.c: New file.
1d5a644a 12813
8784a6db
UD
12814 * math/complex.h (CMPLXL): Fix typo.
12815
d9a216c0
UD
12816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12818 GLIBC_2.16.
12819 * debug/tst-chk1.c: Add poll and ppoll tests.
12820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12821 * include/sys/poll.h: Add hidden proto for ppoll.
12822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12823 * sysdeps/mach/hurd/ppoll.c: Likewise.
12824 * io/ppoll.c: Likewise.
12825 * debug/poll_chk.c: New file.
12826 * debug/ppoll_chk.c: New file.
12827 * include/bits/poll2.h: New file.
12828 * io/bits/poll2.h: New file.
12829
ac097f5c
UD
12830 [BZ #1350]
12831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12832
2119dcfa
UD
12833 * configure.in: static is always set to yes. Remove.
12834 * config.make.in: Don't set build-static.
12835 * Makeconfig: Remove use of build-static.
12836 * dlfcn/Makefile: Likewise.
12837 * elf/Makefile: Likewise.
12838 * math/Makefile: Likewise.
12839 * misc/Makefile: Likewise.
12840 * nptl/Makefile: Likewise.
12841 * sysdeps/mach/hurd/Makefile: Likewise.
12842
121766a9
UD
12843 * configure.in: PWD_P is not used anymore.
12844 * config.make.in: Remove PWD_P entry.
12845
51a1d39c 12846 * configure.in: Remove last remnants of RANLIB.
8720d066 12847 No need to check for signed size_t anymore.
215f4bdc
UD
12848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12849 and IA-64.
3857022a 12850 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12851 * aclocal.m4: Likewise.
12852
d3ed7225
UD
12853 * wcsmbs/mbrtoc16.c: Implement using towc function.
12854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12855 * wcsmbs/wcsmbsload.c: Likewise.
12856 * iconv/gconv_simple.c: Likewise.
12857 * iconv/gconv_int.h: Likewise.
12858 * iconv/gconv_builtin.h: Likewise.
12859 * iconv/iconv_prog.c: Remove CHAR16 handling.
12860
12861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12862
12863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12864
a0da5fe1
UD
12865 * configure.in: Remove --with-elf and --enable-bounded options.
12866 Dont set base_machine for ia64. More non-ELF conditions removed.
12867 Remove testing and setting of leading underscore information.
12868 * config.make.in (build-bounded): Set to no.
12869 * config.h.in: Remove NO_UNDERSCORES entry.
12870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12871 them.
12872 * csu/start.c: Remove !NO_UNDERSCORE code.
12873 * locale/localeinfo.h: Likewise.
12874 * sysdeps/generic/machine-gmon.h: Likewise.
12875 * sysdeps/generic/sysdep.h: Likewise.
12876 * sysdeps/i386/sysdep.h: Likewise.
12877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12878 * sysdeps/mach/sysdep.h: Likewise.
12879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12881 * sysdeps/sh/sysdep.h: Likewise.
12882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12883 * sysdeps/unix/i386/sysdep.S: Likewise.
12884 * sysdeps/unix/sparc/start.c: Likewise.
12885 * sysdeps/unix/sparc/sysdep.S: Likewise.
12886 * sysdeps/unix/sparc/sysdep.h: Likewise.
12887 * sysdeps/unix/start.c: Likewise.
12888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12889 * sysdeps/x86_64/sysdep.h: Likewise.
12890
df78418a
UD
128912012-01-07 Ulrich Drepper <drepper@gmail.com>
12892
a784e502
UD
12893 [BZ #13553]
12894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12895 for non-gcc.
12896 * argp/argp-fmtstream.h: Use const instead __const.
12897 * argp/argp.h: Likewise.
12898 * assert/assert.h: Likewise.
12899 * bits/fenv.h: Likewise.
12900 * bits/sched.h: Likewise.
12901 * bits/sigset.h: Likewise.
12902 * bits/sigthread.h: Likewise.
12903 * catgets/nl_types.h: Likewise.
12904 * conform/data/pthread.h-data: Likewise.
12905 * crypt/crypt-private.h: Likewise.
12906 * crypt/crypt.h: Likewise.
12907 * crypt/crypt_util.c: Likewise.
12908 * ctype/ctype.h: Likewise.
12909 * debug/execinfo.h: Likewise.
12910 * debug/mbsnrtowcs_chk.c: Likewise.
12911 * debug/mbsrtowcs_chk.c: Likewise.
12912 * debug/wcsnrtombs_chk.c: Likewise.
12913 * debug/wcsrtombs_chk.c: Likewise.
12914 * debug/wcstombs_chk.c: Likewise.
12915 * dirent/dirent.h: Likewise.
12916 * dlfcn/dlfcn.h: Likewise.
12917 * elf/neededtest4.c: Likewise.
12918 * grp/grp.h: Likewise.
12919 * gshadow/gshadow.h: Likewise.
12920 * iconv/gconv.h: Likewise.
12921 * iconv/gconv_int.h: Likewise.
12922 * iconv/gconv_simple.c: Likewise.
12923 * iconv/iconv.h: Likewise.
12924 * iconv/loop.c: Likewise.
12925 * iconv/skeleton.c: Likewise.
12926 * include/aio.h: Likewise.
12927 * include/aliases.h: Likewise.
12928 * include/argz.h: Likewise.
12929 * include/arpa/inet.h: Likewise.
12930 * include/assert.h: Likewise.
12931 * include/dirent.h: Likewise.
12932 * include/dlfcn.h: Likewise.
12933 * include/execinfo.h: Likewise.
12934 * include/fcntl.h: Likewise.
12935 * include/fenv.h: Likewise.
12936 * include/glob.h: Likewise.
12937 * include/grp.h: Likewise.
12938 * include/libintl.h: Likewise.
12939 * include/mntent.h: Likewise.
12940 * include/netdb.h: Likewise.
12941 * include/pwd.h: Likewise.
12942 * include/rpc/netdb.h: Likewise.
12943 * include/sched.h: Likewise.
12944 * include/search.h: Likewise.
12945 * include/shadow.h: Likewise.
12946 * include/signal.h: Likewise.
12947 * include/stdio.h: Likewise.
12948 * include/stdlib.h: Likewise.
12949 * include/string.h: Likewise.
12950 * include/sys/socket.h: Likewise.
12951 * include/sys/stat.h: Likewise.
12952 * include/sys/statfs.h: Likewise.
12953 * include/sys/statvfs.h: Likewise.
12954 * include/sys/syslog.h: Likewise.
12955 * include/sys/time.h: Likewise.
12956 * include/sys/uio.h: Likewise.
12957 * include/time.h: Likewise.
12958 * include/unistd.h: Likewise.
12959 * include/utmp.h: Likewise.
12960 * include/wchar.h: Likewise.
12961 * include/wctype.h: Likewise.
12962 * inet/aliases.h: Likewise.
12963 * inet/arpa/inet.h: Likewise.
12964 * inet/netinet/ether.h: Likewise.
12965 * inet/netinet/in.h: Likewise.
12966 * intl/libintl.h: Likewise.
12967 * io/bits/fcntl2.h: Likewise.
12968 * io/fcntl.h: Likewise.
12969 * io/ftw.h: Likewise.
12970 * io/sys/poll.h: Likewise.
12971 * io/sys/stat.h: Likewise.
12972 * io/sys/statfs.h: Likewise.
12973 * io/sys/statvfs.h: Likewise.
12974 * io/utime.h: Likewise.
12975 * libio/bits/stdio.h: Likewise.
12976 * libio/bits/stdio2.h: Likewise.
12977 * libio/libio.h: Likewise.
12978 * libio/libioP.h: Likewise.
12979 * libio/stdio.h: Likewise.
12980 * locale/lc-ctype.c: Likewise.
12981 * locale/locale.h: Likewise.
12982 * login/utmp.h: Likewise.
12983 * malloc/arena.c: Likewise.
12984 * malloc/malloc.c: Likewise.
12985 * malloc/malloc.h: Likewise.
12986 * malloc/mcheck.c: Likewise.
12987 * malloc/mtrace.c: Likewise.
12988 * math/bits/mathcalls.h: Likewise.
12989 * math/fenv.h: Likewise.
12990 * math/math_private.h: Likewise.
12991 * misc/bits/error.h: Likewise.
12992 * misc/bits/syslog.h: Likewise.
12993 * misc/err.h: Likewise.
12994 * misc/error.h: Likewise.
12995 * misc/fstab.h: Likewise.
12996 * misc/mntent.h: Likewise.
12997 * misc/regexp.h: Likewise.
12998 * misc/search.h: Likewise.
12999 * misc/sgtty.h: Likewise.
13000 * misc/sys/mman.h: Likewise.
13001 * misc/sys/syslog.h: Likewise.
13002 * misc/sys/uio.h: Likewise.
13003 * misc/sys/xattr.h: Likewise.
13004 * misc/ttyent.h: Likewise.
13005 * nis/rpcsvc/ypclnt.h: Likewise.
13006 * nss/nss.h: Likewise.
13007 * posix/bits/unistd.h: Likewise.
13008 * posix/fnmatch.h: Likewise.
13009 * posix/glob.h: Likewise.
13010 * posix/sched.h: Likewise.
13011 * posix/spawn.h: Likewise.
13012 * posix/sys/wait.h: Likewise.
13013 * posix/unistd.h: Likewise.
13014 * posix/wordexp.h: Likewise.
13015 * pwd/pwd.h: Likewise.
13016 * resolv/netdb.h: Likewise.
13017 * resource/sys/resource.h: Likewise.
13018 * rt/aio.h: Likewise.
13019 * rt/bits/mqueue2.h: Likewise.
13020 * rt/mqueue.h: Likewise.
13021 * shadow/shadow.h: Likewise.
13022 * signal/signal.h: Likewise.
13023 * socket/send.c: Likewise.
13024 * socket/sendto.c: Likewise.
13025 * socket/sys/socket.h: Likewise.
13026 * stdio-common/printf.h: Likewise.
13027 * stdlib/bits/stdlib.h: Likewise.
13028 * stdlib/fmtmsg.h: Likewise.
13029 * stdlib/monetary.h: Likewise.
13030 * stdlib/stdlib.h: Likewise.
13031 * stdlib/ucontext.h: Likewise.
13032 * streams/stropts.h: Likewise.
13033 * string/argz.h: Likewise.
13034 * string/bits/string2.h: Likewise.
13035 * string/string.h: Likewise.
13036 * string/strings.h: Likewise.
13037 * sunrpc/rpc/auth.h: Likewise.
13038 * sunrpc/rpc/auth_des.h: Likewise.
13039 * sunrpc/rpc/clnt.h: Likewise.
13040 * sunrpc/rpc/netdb.h: Likewise.
13041 * sunrpc/rpc/pmap_clnt.h: Likewise.
13042 * sunrpc/rpc/xdr.h: Likewise.
13043 * sysdeps/generic/inttypes.h: Likewise.
13044 * sysdeps/generic/net/if.h: Likewise.
13045 * sysdeps/generic/sys/swap.h: Likewise.
13046 * sysdeps/gnu/net/if.h: Likewise.
13047 * sysdeps/gnu/utmpx.h: Likewise.
13048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13049 * sysdeps/i386/i486/bits/string.h: Likewise.
13050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13051 * sysdeps/s390/bits/string.h: Likewise.
13052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13083 * sysvipc/sys/ipc.h: Likewise.
13084 * sysvipc/sys/msg.h: Likewise.
13085 * sysvipc/sys/sem.h: Likewise.
13086 * sysvipc/sys/shm.h: Likewise.
13087 * termios/termios.h: Likewise.
13088 * time/sys/time.h: Likewise.
13089 * time/time.h: Likewise.
13090 * wcsmbs/bits/wchar2.h: Likewise.
13091 * wcsmbs/uchar.h: Likewise.
13092 * wcsmbs/wchar.h: Likewise.
13093 * wctype/wctype.h: Likewise.
13094
0269750c
UD
13095 [BZ #13551]
13096 * Makeconfig: Remove all but ELF support including AIX support.
13097 * Makerules: Likewise.
13098 * config.h.in: Likewise.
13099 * config.make.in: Likewise.
13100 * configure: Likewise.
13101 * configure.in: Likewise.
13102 * csu/Makefile: Likewise.
13103 * csu/version.c: Likewise.
13104 * debug/Makefile: Likewise.
13105 * dlfcn/Makefile: Likewise.
13106 * elf/Makefile: Likewise.
13107 * extra-lib.mk: Likewise.
13108 * iconv/Makefile: Likewise.
13109 * include/libc-symbols.h: Likewise.
13110 * include/shlib-compat.h: Likewise.
13111 * resolv/Makefile: Likewise.
13112 * resolv/res_libc.c: Likewise.
13113 * rt/Makefile: Likewise.
13114 * sysdeps/i386/asm-syntax.h: Likewise.
13115 * sysdeps/i386/sysdep.h: Likewise.
13116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13117 * sysdeps/mach/sysdep.h: Likewise.
13118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13120 * sysdeps/s390/asm-syntax.h: Likewise.
13121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13123 * sysdeps/sh/sysdep.h: Likewise.
13124 * sysdeps/unix/sparc/sysdep.h: Likewise.
13125 * sysdeps/wordsize-32/divdi3.c: Likewise.
13126 * sysdeps/x86_64/sysdep.h: Likewise.
13127
00bbd29b
UD
13128 * argp/Versions: Remove _argp_unlock_xxx.
13129
13130 [BZ #13559]
13131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13132 * abilist/libBrokenLocale.abilist: Likewise.
13133 * abilist/libanl.abilist: Likewise.
13134 * abilist/libc.abilist: Likewise.
13135 * abilist/libcrypt.abilist: Likewise.
13136 * abilist/libdl.abilist: Likewise.
13137 * abilist/libm.abilist: Likewise.
13138 * abilist/libnsl.abilist: Likewise.
13139 * abilist/libpthread.abilist: Likewise.
13140 * abilist/libresolv.abilist: Likewise.
13141 * abilist/librt.abilist: Likewise.
13142 * abilist/libthread_db.abilist: Likewise.
13143 * abilist/libutil.abilist: Likewise.
13144 * abilist/libnss_db.abilist: New file.
13145
13146 * scripts/abilist.awk: Add support for indirect functions.
13147
a2693a0e
UD
13148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13149
3f05895f
UD
13150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13151
ecb6fb48
UD
13152 * shlib-versions: Remove entries for ports architectures.
13153
664f8cb9
UD
13154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13155 files in ports.
13156 * elf/stackguard-macros.h: Remove support for IA-64.
13157 * elf/tst-auditmod1.c: Likewise.
13158 * sysdeps/generic/ldsodefs.h: Likewise.
13159
7ae81d88
UD
13160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13162 configure files.
13163
bdeba135
UD
13164 [BZ #13552]
13165 * configure.in: Remove --enable-omitfp support.
13166 * FAQ.in: Adjust.
13167 * config.make.in: Likewise.
13168 * Makeconfig: Likewise.
13169 * manual/install.texi: Likewise.
13170
d75a0a62
UD
13171 In case anyone cares, the IA-64 architecture could move to ports.
13172 * sysdeps/ia64/*: Removed.
13173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13175
dcc9756b
UD
13176 [BZ #13555]
13177 * configure.in: Remove entries for unsupported architectures.
13178
d3761ebc 13179 [BZ #13533]
9954432e
UD
13180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13182 routines.
13183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13186 fall back to using wcrtomb.
13187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13189 renaming.
13190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13191 * wcsmbs/tst-c16c32-1.c: New file.
13192
13193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13194 local variable.
13195
c3a87236
UD
13196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13197
28926a1b
UD
13198 * elf/tst-unique3.cc: Add explicit declaration of gets.
13199 * elf/tst-unique3lib.cc: Likewise.
13200 * elf/tst-unique3lib2.cc: Likewise.
13201 * elf/tst-unique4.cc: Likewise.
13202
df78418a
UD
13203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13204
8ecd6b2a
JM
132052012-01-06 Joseph Myers <joseph@codesourcery.com>
13206
13207 [BZ #13566]
13208 * assert/assert.h (static_assert): Don't define for C++.
13209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13211
9f115170
UD
132122012-01-03 Ulrich Drepper <drepper@gmail.com>
13213
5e0d0300
UD
13214 * iconv/loop.c (single loop): Fix assertion in storing of
13215 remaining bytes.
13216
9f115170
UD
13217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13218
81fb02b0
UD
132192012-01-01 Ulrich Drepper <drepper@gmail.com>
13220
13221 * posix/getconf.c: Update copyright year.
13222 * nss/getent.c: Likewise.
a316c1f6 13223 * nss/makedb.c: Likewise.
81fb02b0
UD
13224 * iconv/iconvconfig.c: Likewise.
13225 * iconv/iconv_prog.c: Likewise.
13226 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13227 * elf/pldd.c: Likewise.
13228 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13229 * catgets/gencat.c: Likewise.
13230 * csu/version.c: Likewise.
13231 * elf/ldd.bash.in: Likewise.
13232 * elf/sprof.c (print_version): Likewise.
13233 * locale/programs/locale.c: Likewise.
13234 * locale/programs/localedef.c: Likewise.
a316c1f6 13235 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13236 * nscd/nscd.c (print_version): Likewise.
13237 * debug/xtrace.sh: Likewise.
13238 * malloc/memusage.sh: Likewise.
13239 * malloc/mtrace.pl: Likewise.
13240 * debug/catchsegv.sh: Likewise.
13241
2ba92745
JJ
132422011-12-30 Jakub Jelinek <jakub@redhat.com>
13243
13244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13245 pure attribute.
13246
dadebdae
UD
132472011-12-24 Ulrich Drepper <drepper@gmail.com>
13248
d3761ebc 13249 [BZ #13533]
db6af3eb
UD
13250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13252 transformations.
13253 * iconv/gconv_int.h: Likewise.
13254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13256 from libc for GLIBC_2.16.
13257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13259 * wcsmbs/uchar.h: Really define mbstate_t.
13260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13261 * wcsmbs/c16rtomb.c: New file.
13262 * wcsmbs/mbrtoc16.c: New file.
13263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13264 for C/POSIX locale.
13265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13267
dadebdae
UD
13268 * wcsmbs/wchar.h: Add missing __restrict.
13269
67371b56
UD
132702011-12-23 Ulrich Drepper <drepper@gmail.com>
13271
74033a25
UD
13272 [BZ #13532]
13273 * time/Makefile (routines): Add timespec_get.
13274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13276 timespec for ISO C11.
13277 * time/timespec_get.c: New file.
13278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13280
380d7e87
UD
13281 [BZ #13531]
13282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13283 * stdlib/stdlib.h: Declare aligned_alloc.
13284 * Versions.def: Add GLIBC_2.16 for libc.
13285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13286
4e9e7a35
UD
13287 [BZ 13527]
13288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13289 ISO C11.
13290
380d7e87 13291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13292 code.
13293
03a71829
UD
13294 [BZ #13528]
13295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13296
839e283e
UD
13297 [BZ #13529]
13298 * assert/assert.h (static_assert): Define.
13299
ce5294e2 13300 * version.h: Update for 2.16 development version.
90fa7312 13301
8d44e150 13302 [BZ #13526]
d7809905
UD
13303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13304 _ISOC11_SOURCE.
13305
c0da14cd
UD
13306 * version.h (RELEASE): Bump for 2.15 release.
13307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13308
530a3249
MP
13309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13310 Patch by Marek Polacek <mpolacek@redhat.com>.
13311
67371b56
UD
13312 * bits/byteswap.h: Protect long long constants with __extension__.
13313 * sysdeps/i386/bits/byteswap.h: Likewise.
13314 * sysdeps/ia64/bits/byteswap.h: Likewise.
13315 * sysdeps/s390/bits/byteswap.h: Likewise.
13316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13317
15db4de1
LD
133182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13319
13320 [BZ #13540]
bbe315ea
LD
13321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13322 destination buffer.
15db4de1
LD
13323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13324
2b2596b1
MP
133252011-12-23 Marek Polacek <polacek@redhat.com>
13326
13327 * elf/dl-addr.c (determine_info): Add inline keyword.
13328 * elf/tst-auditmod4b.c (check_avx): Likewise.
13329 * elf/tst-auditmod6b.c (check_avx): Likewise.
13330 * elf/tst-auditmod6c.c (check_avx): Likewise.
13331 * elf/tst-auditmod7b.c (check_avx): Likewise.
13332
70c6c246
UD
133332011-12-23 Ulrich Drepper <drepper@gmail.com>
13334
13335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13336 !__SSE_MATH__.
13337
c044cf14
LD
133382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13339
15db4de1 13340 [BZ #13540]
c044cf14
LD
13341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13342 processing for last bytes.
13343
6b13d9d9
BH
133442011-08-06 Bruno Haible <bruno@clisp.org>
13345
d455f537
BH
13346 [BZ #13061]
13347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13348 U+0385, not to U+1FEE.
13349
6b13d9d9
BH
13350 [BZ #13062]
13351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13352 entry for U+00A5 U+0301.
13353
db910efd
UD
133542011-12-22 Ulrich Drepper <drepper@gmail.com>
13355
27deeafc
UD
13356 [BZ #13166]
13357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13358 buffer for the output is too small.
13359
aed9d171
UD
13360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13361 optimization.
13362
db910efd
UD
13363 [BZ #13185]
13364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13365 SSE flags if possible.
13366
2bd779ae
LD
133672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13368
e7f9dac3 13369 [BZ #13540]
2bd779ae
LD
13370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13371 processing for last bytes.
13372
154bfc16
JM
133732011-12-22 Joseph Myers <joseph@codesourcery.com>
13374
13375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13376 (syscall-list-default-options, syscall-list-default-condition)
13377 (syscall-list-includes): Define.
13378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13379 list of ABIs and options and #if conditions for each ABI. Do not
13380 handle common syscalls between ABIs specially.
13381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13382 Remove.
13383 (syscall-list-variants, syscall-list-32bit-options)
13384 (syscall-list-32bit-condition, syscall-list-64bit-options)
13385 (syscall-list-64bit-condition): Define.
13386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13387 (syscall-list-variants, syscall-list-32bit-options)
13388 (syscall-list-32bit-condition, syscall-list-64bit-options)
13389 (syscall-list-64bit-condition): Define.
13390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13391 Remove.
13392 (syscall-list-variants, syscall-list-32bit-options)
13393 (syscall-list-32bit-condition, syscall-list-64bit-options)
13394 (syscall-list-64bit-condition): Define.
13395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13396 Remove.
13397 (syscall-list-variants, syscall-list-32bit-options)
13398 (syscall-list-32bit-condition, syscall-list-64bit-options)
13399 (syscall-list-64bit-condition): Define.
13400
21eaf3a5
UD
134012011-12-22 Ulrich Drepper <drepper@gmail.com>
13402
16c6f992
UD
13403 * locale/iso-639.def: Add brx entry.
13404
41043168
UD
13405 [BZ #13328]
13406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13408
21eaf3a5
UD
13409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13410 __feraiseexcept_renamed.
13411
e3a851a2
UD
134122011-12-21 Ulrich Drepper <drepper@gmail.com>
13413
4920765e
UD
13414 [BZ #13538]
13415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13416 EPOLLET with unsigned values.
13417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13419
e3a851a2
UD
13420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13421 to large cancellation.
13422 * math/s_cacoshf.c: Likewise.
13423 * math/s_cacoshl.c: Likewise.
13424
b27e24b8
RK
134252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13426
13427 [BZ #13305]
aebefeee 13428 [BZ #12786]
b27e24b8
RK
13429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13430 * math/s_cacoshf.c: Likewise.
13431 * math/s_cacoshl.c: Likewise.
13432
ee190f67
UD
134332011-12-21 Ulrich Drepper <drepper@gmail.com>
13434
13435 [BZ #13439]
13436 * iconv/gconv.h: Define __GCONV_SWAP.
13437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13438 * iconvdata/utf-16.c: Likewise.
13439 * iconvdata/utf-32.c: Likewise.
13440
707f25df
AS
134412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13442
13443 [BZ #13524]
13444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13445 numerator after shifting it by one limb.
13446
d2daaa1e
RÁE
134472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13448
13449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13450 under [__USE_EXTERN_INLINES].
13451
a4647e72
UD
134522011-12-17 Ulrich Drepper <drepper@gmail.com>
13453
13454 [BZ #13446]
13455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13456
f0b264f1
AZ
134572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13458
13459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13461 optimized code.
13462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13466 for strncasecmp/strncasecmp_l compilation.
13467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13469
8ef4f244
MP
134702011-12-08 Marek Polacek <mpolacek@redhat.com>
13471
13472 [BZ #13484]
13473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13474 of __asm__.
13475
97ac2654
UD
134762011-12-17 Ulrich Drepper <drepper@gmail.com>
13477
13478 [BZ #13506]
13479 * time/tzfile.c (__tzfile_read): Check values from file header.
13480
91d2a845
WS
134812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13482
13483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13485 * powerpc/powerpc32/dl-start.S: Likewise.
13486 * powerpc/powerpc32/elf/start.S: Likewise.
13487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13500 * powerpc/powerpc32/memset.S: Likewise.
13501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13514
a1267ba1
AZ
135152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516
13517 * math/libm-test.inc: Added more nearbyint tests.
13518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13522
ad8ac1bd
RL
135232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13524
13525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13526 FD_CLOEXEC.
13527
1d3e4b61
UD
135282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13529
13530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13531 Add wcscpy-ssse3 wcscpy-c.
13532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13535 * sysdeps/x86_64/wcschr.S: New file.
13536 * sysdeps/x86_64/wcsrchr.S: New file.
13537 * string/test-strcmp.c: Remove checking of wcscmp function for
13538 wrong alignments.
13539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13541 wcsrchr-sse2 wcsrchr-c.
13542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13551 * wcsmbc/wcschr.c (WCSCHR): New macro.
13552
5b330a2d
UD
135532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13554
13555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13556 * wcsmbs/test-wcsrchr.c: New file.
13557 * string/test-strrchr.c: Add wcsrchr support.
13558 (WIDE): New macro.
13559 * wcsmbs/test-wcscpy.c: New file.
13560 * string/test-strcpy.c: Add wcscpy support.
13561 (WIDE): New macro.
26428b7c 13562
f039c043
UD
135632011-12-10 Ulrich Drepper <drepper@gmail.com>
13564
13565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13566 the inner loop.
13567
850fb039
AS
135682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13569
13570 [BZ #13472]
13571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13572
4efbd5cb
UD
135732011-12-04 Ulrich Drepper <drepper@gmail.com>
13574
52ff5dd0 13575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13576 Minor optimizations.
52ff5dd0 13577
4efbd5cb
UD
13578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13581
8a426e12
UD
135822011-12-03 Ulrich Drepper <drepper@gmail.com>
13583
aff2453d
UD
13584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13587 for gcc to avoid warnings.
13588 * inet/Makefile (tests): Add tst-checks.
13589 * inet/tst-checks.c: New file.
13590
13591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13592 warning.
13593
13594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13595 __wmemcmp_sse2.
13596
13597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13599
8a426e12
UD
13600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13601
9bea3473
UD
136022011-12-02 Ulrich Drepper <drepper@gmail.com>
13603
3a965496
UD
13604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13605 problem.
13606
9bea3473
UD
13607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13608
f101631b
UD
136092011-11-29 Joseph Myers <joseph@codesourcery.com>
13610
13611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13612 conditional on GCC version.
13613 (__arch_compare_and_exchange_val_8_acq)
13614 (__arch_compare_and_exchange_val_16_acq)
13615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13618
a98275aa
UD
136192011-12-02 Joseph Myers <joseph@codesourcery.com>
13620
13621 * sysdeps/sh/backtrace.c: New file.
13622
d4cc29a2
AS
136232011-12-02 Andreas Schwab <schwab@redhat.com>
13624
13625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13626 parenthesis.
13627
6257af2d
AS
136282011-12-01 Andreas Schwab <schwab@redhat.com>
13629
13630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13631 falling back to utime.
13632
b5f44c1a
AS
136332011-11-30 Andreas Schwab <schwab@redhat.com>
13634
13635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13636 expectations for float.
13637
f3a6cc0a
AS
136382011-11-29 Andreas Schwab <schwab@redhat.com>
13639
13640 * locale/weight.h (findidx): Add parameter len.
13641 * locale/weightwc.h (findidx): Likewise.
13642 * posix/fnmatch_loop.c (FCT): Adjust caller.
13643 * posix/regcomp.c (build_equiv_class): Likewise.
13644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13645 * posix/regexec.c (check_node_accept_bytes): Likewise.
13646 * string/strcoll_l.c (STRCOLL): Likewise.
13647 * string/strxfrm_l.c (STRXFRM): Likewise.
13648
9d65ea3a
UD
136492011-11-17 Ulrich Drepper <drepper@gmail.com>
13650
13651 * Makefile.in: Remove CVSOPT handling.
13652 * configure.in: Remove use of AC_REVISION.
13653 * iconvdata/Makefile (distribute): No need to filter out CVS.
13654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13655 handling.
13656
5583a086
AS
136572011-11-16 Andreas Schwab <schwab@redhat.com>
13658
13659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13661 [USE_AS_STRNCASECMP_L]: Likewise.
13662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13663 NO_TLS_DIRECT_SEG_REFS.
13664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13665 Fix argument offsets for non-PIC.
13666 [USE_AS_STRNCASECMP_L]: Likewise.
13667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13668 NO_TLS_DIRECT_SEG_REFS.
13669
d62a8200
UD
136702011-11-15 Ulrich Drepper <drepper@gmail.com>
13671
9d65ea3a 13672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13673 O_CLOEXEC.
13674 * locale/loadlocale.c (_nl_load_locale): Likewise.
13675
09f93bd3
AS
136762011-11-15 Andreas Schwab <schwab@redhat.com>
13677
446514f9
AS
13678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13681 (SYSCALL_GETTIME): Set errno on error.
13682
09f93bd3
AS
13683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13684 count references to noai6ai_cached.
13685
312be3f9
UD
136862011-11-15 Ulrich Drepper <drepper@gmail.com>
13687
13688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13689
13690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13691 FD_CLOEXEC for /proc/self/maps.
13692
13693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13694 FD_CLOEXEC for /proc/meminfo.
13695
13696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13697 gai.conf.
13698
13699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13700 FD_CLOEXEC for given file.
13701
13702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13703
13704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13705 FD_CLOEXEC for /etc/hosts.
13706 (_gethtent): Likewise.
13707
13708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13709
13710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13711 cancellation and set FD_CLOEXEC for /etc/netgroup.
13712
13713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13714 reading /etc/publickey.
13715
13716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13717 allow cancellation when reading /etc/group.
13718
13719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13720 cancellation.
13721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13722
13723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13724 when using data file.
13725
13726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13727
13728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13729 (write_nis_obj): Use "c" and "e" in fopen.
13730
13731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13732
13733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13734
13735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13736
13737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13738
13739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13740 locale.alias.
13741
13742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13743
13744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13745
13746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13747
13748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13749 file parsing and set FD_CLOEXEC.
13750
82af0fa8
UD
137512011-11-14 Ulrich Drepper <drepper@gmail.com>
13752
13753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13754
a5fb313c
AS
137552011-11-14 Andreas Schwab <schwab@redhat.com>
13756
13757 * malloc/arena.c (arena_get2): Don't call reused_arena when
13758 _int_new_arena failed.
13759
6abf3465
UD
137602011-11-14 Ulrich Drepper <drepper@gmail.com>
13761
13762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13768 to compile strcasecmp and strncasecmp.
13769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13771
13772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13773
76e3966e
UD
137742011-11-13 Ulrich Drepper <drepper@gmail.com>
13775
13776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13777 locale-defines.sym to gen-as-const-headers.
13778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13781 to compile strcasecmp and strncasecmp.
13782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13783 strcasecmp_l and strncasecmp_l.
13784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13795
ab26144e
UD
137962011-11-12 Ulrich Drepper <drepper@gmail.com>
13797
7edb22ef
UD
13798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13799 result of SYSDEP_GETTIME_CPU to retval.
13800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13801 parameter list to macro. Remove trailing semicolon. Adjust users.
13802
9694fc44
UD
13803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13804 variable.
13805
8ad89ef8
UD
13806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13807 mantissa words.
13808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13809
0c822ef9
UD
13810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13811 from unused variable.
13812
874e0564
UD
13813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13814 DWARF definitions.
13815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13816 for assembling.
13817
3a2edc79
UD
13818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13819 over namespaces.
13820
f3c2577f
UD
13821 * sunrpc/rpc_prot.c (rejected): Fix case value.
13822
294ce126
UD
13823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13824 unsigned long long int to avoid warnings in shift.
13825
5e2b63c6
UD
13826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13827 of use of trans.
13828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13829 variable tmp.
13830
e7f4b08e
UD
13831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13834
ab26144e
UD
13835 * nis/nis_table.c (nis_list): Use variable of correct type for
13836 result of __follow_path call.
13837
8a6d5255
AZ
138382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13839
13840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13841 of math functions ceil, trunc, floor, round, and sqrt, when
13842 avaliable on the platform.
13843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13844 name clash.
13845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13848
aaddc98c
MP
138492011-10-30 Marek Polacek <mpolacek@redhat.com>
13850
13851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13853
95b7042b
RM
138542011-11-11 Roland McGrath <roland@hack.frob.com>
13855
13856 * include/unistd.h: Fix __readlink return type.
13857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13858
57769839
UD
138592011-11-11 Ulrich Drepper <drepper@gmail.com>
13860
13861 * stdlib/ucontext.h: Undo last change for makecontext.
13862
edc5984d
AS
138632011-11-11 Andreas Schwab <schwab@redhat.com>
13864
98591e58
AS
13865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13866
edc5984d
AS
13867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13868 * setjmp/setjmp.h: Mark functions as non-leaf.
13869 * setjmp/bits/setjmp2.h: Likewise.
13870 * stdlib/ucontext.h: Likewise.
13871
77cdc054
AS
138722011-11-10 Andreas Schwab <schwab@redhat.com>
13873
13874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13875 (reused_arena): Don't check arena limit.
13876 (arena_get2): Atomically check arena limit.
13877
fe72eebd
UD
138782011-11-08 Ulrich Drepper <drepper@gmail.com>
13879
5f078c32
UD
13880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13882
fe72eebd
UD
13883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13884 instructions.
13885
ae1bc2fa
AS
138862011-11-07 Andreas Schwab <schwab@redhat.com>
13887
7583a88d
AS
13888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13889 handler when locking.
13890
ae1bc2fa
AS
13891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13892 Fix size of allocated buffer.
13893
10fb0bfa
AS
138942011-11-04 Andreas Schwab <schwab@redhat.com>
13895
998832a4
AS
13896 [BZ #10103]
13897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13898 declarations for long double functions.
13899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13900
10fb0bfa
AS
13901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13902
3d7ba52b
AS
139032011-11-03 Andreas Schwab <schwab@redhat.com>
13904
a9ae54a1
AS
13905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13906 installed.
13907
3d7ba52b
AS
13908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13909 is disabled.
13910
bc8db248
ST
139112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13912
13913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13914
45b96dd6
AS
139152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13916
647776f6
AS
13917 * include/alloca.h (stackinfo_alloca_round): Define.
13918 (extend_alloca): Use it.
13919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13921 here.
13922
d91a8b93
AS
13923 * scripts/check-local-headers.sh: Ignore libaudit.h.
13924
45b96dd6
AS
13925 * nscd/Makefile (extra-objs): Make recursively expanded.
13926
432d41ce
UD
139272011-11-01 Ulrich Drepper <drepper@gmail.com>
13928
34372fc6
UD
13929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13931
fadb59f8
UD
13932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13933 * posix/tst-rfc3484-2.c: Likewise.
13934 * posix/tst-rfc3484-3.c: Likewise.
13935
78239589
UD
13936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13937 process_vm_writev.
13938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13939 process_vm_writev.
13940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13941 process_vm_writev from libc using GLIBC_2.15 version.
13942
432d41ce
UD
13943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13944
02f9c6cf
PP
139452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13946
13947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13948 stack usage.
13949
3a2c0242
UD
139502011-10-31 Ulrich Drepper <drepper@gmail.com>
13951
f4ec4833
UD
13952 [BZ #13367]
13953 * nss/getent.c (initgroups_keys): Show error message in case no group
13954 names are given.
13955
3a2c0242
UD
13956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13958 __bump_nl_timestamp.
13959 * nscd/connections (nscd_init): When host database is served open
13960 netlink socket and request notification about configuration changes.
13961 (main_loop_poll): Track netlink file descriptor and bump timestamp
13962 in case data becomes available.
13963 (main_loop_epoll): Likewise.
13964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13965 (database_pers_head): Add extra_data fileds.
13966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13969 Adjust caller.
13970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13971 in6ai data, call __free_in6ai.
13972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13973 Add -DHAVE_NETLINK.
13974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13975 interface information. Reuse previous data if netlink timestamp
13976 is not changed.
13977 (__bump_nl_timestamp): New function.
13978 (__free_in6ai): New function.
13979
636064eb
UD
139802011-10-30 Ulrich Drepper <drepper@gmail.com>
13981
13982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13983 close_not_cancel_no_status here.
13984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13985
9beb2334
UD
139862011-10-29 Ulrich Drepper <drepper@gmail.com>
13987
6ef76f3b
UD
13988 [BZ #13276]
13989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13990 return value.
13991
0ffc4f3e 13992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13995
cb95113e
UD
139962011-07-03 Andreas Jaeger <aj@suse.de>
13997
13998 [BZ #10709]
13999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14001 * math/libm-test.inc (sin_test): Add test case.
14002
a1b560ff
UD
140032011-10-29 Ulrich Drepper <drepper@gmail.com>
14004
c9aaface
UD
14005 [BZ #13337]
14006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14008
d272e7f1
UD
14009 * elf/chroot_canon.c (chroot_canon): Cleanups.
14010
1bc33071
UD
14011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14012
1760874d
TJ
14013 [BZ #13335]
14014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14016
51d91b18
UD
14017 * string/test-strchr.c: Make usable for strchrnul testing.
14018 * string/test-strchrnul.c: New file.
14019 * string/Makefile (strop-tests): Add strchrnul.
14020
a1b560ff 14021 * po/it.po: Update from translation team.
b611fb81 14022 * po/es.po: Likewise.
a1b560ff 14023
a5b81e1f
UD
140242011-10-28 Ulrich Drepper <drepper@gmail.com>
14025
fd52bc6d
UD
14026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14027 the three constants needed as parameters. Drop the others.
14028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14029 __m128i_strloadu_tolower.
52e4b9eb
UD
14030 Create and initialize variable zero and use it in all the places
14031 where _mm_setzero_si128 was used.
fd52bc6d 14032
a5b81e1f
UD
14033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14037 anymore.
14038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14043 __mpranred, __mptan.
14044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14053
b4343346
AS
140542011-10-28 Andreas Schwab <schwab@redhat.com>
14055
0c92d8a8
AS
14056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14057 redefine if SHARED.
14058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14059
b4343346
AS
14060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14061 wide char related routines to wcsmbs subdir.
14062
3871f58f
AS
140632011-10-27 Andreas Schwab <schwab@redhat.com>
14064
14065 [BZ #13344]
14066 * misc/sys/cdefs.h (__THROWNL): Define.
14067 * posix/unistd.h: Use __THREADNL instead of __THREAD
14068 for memory synchronization functions.
14069
94d44d9f
RM
140702011-10-26 Roland McGrath <roland@hack.frob.com>
14071
21b64b15 14072 [BZ #13349]
94d44d9f
RM
14073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14074 doesn't exist.
14075 * manual/stdio.texi (Obstack Streams): Node removed.
14076
f6ce9294
AS
140772011-10-26 Andreas Schwab <schwab@redhat.com>
14078
80479147
AS
14079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14082
f6ce9294
AS
14083 * math/math_private.h (math_force_eval): Allow non-addressable
14084 arguments.
14085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14086
618280a1
UD
140872011-10-25 Ulrich Drepper <drepper@gmail.com>
14088
e0016b11
UD
14089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14090 file is not needed.
14091
14092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14100 Add AVX variants.
14101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14120
14121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14123
618280a1
UD
14124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14125 place. Use VEX encoding when compiling for AVX.
14126
37822576
AS
141272011-10-25 Andreas Schwab <schwab@redhat.com>
14128
1f1e1947
AS
14129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14131
37822576
AS
14132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14133
31ea014d
UD
141342011-10-25 Ulrich Drepper <drepper@gmail.com>
14135
d7826aa1 14136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14137 useless if() expression.
d7826aa1
UD
14138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14157
31ea014d
UD
14158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14159
16437fec
AS
141602011-10-25 Andreas Schwab <schwab@redhat.com>
14161
14162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14163 condition.
14164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14165
31d3cc00
UD
141662011-10-25 Ulrich Drepper <drepper@gmail.com>
14167
14168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14169 .text section. Avoid duplicate constants.
14170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14215
58985aa9
UD
142162011-10-24 Ulrich Drepper <drepper@gmail.com>
14217
202c9deb
UD
14218 * sysdeps/x86_64/dla.h: Move to ...
14219 * sysdeps/x86_64/fpu/dla.h: ...here.
14220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14221 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14222
af968f62
UD
14223 * config.make.in: Add have-mfma4 entry.
14224 * configure.in: Substitute libc_cv_cc_fma4.
14225 * math/Makefile (dbl-only-routines): Add sincostab.
14226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14227 Use __sincostab not sincos.
14228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14229 name is a macro.
14230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14234 using __copysign.
14235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14239 and __inv.
14240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14242 __copysign.
14243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14244 define aliases when function name is a macro.
14245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14246 sysdeps/ieee754/dbl-64/sincos.tbl.
14247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14248 fma4-enabled routines.
14249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14279
58985aa9
UD
14280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14281 rename.
14282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14290
a201fbcf
AS
142912011-10-24 Andreas Schwab <schwab@redhat.com>
14292
14293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14294
fc2ee42a
LD
142952011-10-23 Ulrich Drepper <drepper@gmail.com>
14296
bb3129bd
UD
14297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14298
0275fff8
UD
14299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14300 prediction.
14301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14302
2fa2ae85
UD
14303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14304 Remove unused variable magic_bits.
14305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14306
fc2ee42a
LD
14307 * string/strnlen.c: Define and use STRNLEN macro.
14308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14311 * wcsmbs/wcslen.c: Define and use WCSLEN.
14312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14319
ce7dd29f
LD
143202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14321
14322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14323 strnlen-sse2-no-bsf.
14324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14327 Add strnlen support.
14328 (USE_AS_STRNLEN): New macro.
14329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14332 * sysdeps/x86_64/wcslen.S: New file.
14333
979c70a3
MZ
143342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14335
14336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14337 XMM-moves are used for copying on small sizes.
14338
2d09f82f
LD
143392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14340
14341 * wcsmbs/Makefile (strop-tests): Add wcschr.
14342 * wcsmbs/test-wcschr.c: New file.
14343 * string/test-strchr.c: Update.
14344 Add wcschr support.
14345 (WIDE): New macro.
14346
619fccca
LD
143472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14348
2d09f82f 14349 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14350 * wcsmbs/test-wcslen.c: New file.
14351 * string/test-strlen.c: Update.
14352 Add wcslen support.
14353 (WIDE): New macro.
14354
09f699ea
UD
143552011-10-23 Ulrich Drepper <drepper@gmail.com>
14356
14357 * po/it.po: Update from translation team.
14358
95584d3b
LD
143592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14360
14361 * sysdeps/x86_64/wcscmp.S: Update.
14362 Fix wrong comparison semantics.
14363 wcscmp shall use signed comparison not unsigned.
14364 Don't use substraction to avoid overflow bug.
14365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14366 * wcsmbc/wcscmp.c: Likewise.
14367 * string/test-strcmp.c: Likewise.
14368 Add new tests to check cases with negative values.
14369
c8b3296b
UD
143702011-10-23 Ulrich Drepper <drepper@gmail.com>
14371
14372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14373 * sysdeps/x86_64/dla.h: ...here. New file.
14374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14383
246ad57a
AS
143842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14385
14386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14387 __ynl_finite aliases.
14388
a1a87169
UD
143892011-10-22 Ulrich Drepper <drepper@gmail.com>
14390
0d355eb7
UD
14391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14392
a1a87169
UD
14393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14394 define DLA_FMA.
14395 [DLA_FMA] (EMULV): Use DLA_FMA.
14396 [DLA_FMA] (MUL12): Use EMULV.
14397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14398 that are not needed.
14399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14406
ee2aafe0
AS
144072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14408
14409 * math/s_nan.c: Undef __nan.
14410 * math/s_nanf.c: Undef __nanf.
14411 * math/s_nanl.c: Undef __nanl.
14412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14413 "math_private.h".
14414
bc62c2fb
UD
144152011-10-22 Ulrich Drepper <drepper@gmail.com>
14416
77425c63
UD
14417 * math/s_catan.c: Add branch predictions.
14418 * math/s_catanf.c: Likewise.
14419 * math/s_catanh.c: Likewise.
14420 * math/s_catanhf.c: Likewise.
14421 * math/s_catanhl.c: Likewise.
14422 * math/s_catanl.c: Likewise.
14423 * math/s_cexp.c: Likewise.
14424 * math/s_cexpf.c: Likewise.
14425 * math/s_cexpl.c: Likewise.
14426 * math/s_clog.c: Likewise.
14427 * math/s_clog10.c: Likewise.
14428 * math/s_clog10f.c: Likewise.
14429 * math/s_clog10l.c: Likewise.
14430 * math/s_clogf.c: Likewise.
14431 * math/s_clogl.c: Likewise.
14432 * math/s_csqrt.c: Likewise.
14433 * math/s_csqrtf.c: Likewise.
14434 * math/s_csqrtl.c: Likewise.
14435 * math/s_ctanf.c: Likewise.
14436 * math/s_ctanh.c: Likewise.
14437 * math/s_ctanhf.c: Likewise.
14438 * math/s_ctanhl.c: Likewise.
14439 * math/s_ctanl.c: Likewise.
14440
bc62c2fb
UD
14441 * math/math_private.h: Define __nan, __nanf, __nanl.
14442 * math/s_cacosh.c: Include <math_private.h>.
14443 * math/s_cacoshl.c: Likewise.
14444 * math/s_casinh.c: Likewise.
14445 * math/s_casinhf.c: Likewise.
14446 * math/s_casinhl.c: Likewise.
14447 * math/s_ccos.c: Rely entire on ccosh.
14448 * math/s_ccosf.c: Rely entire on ccoshf.
14449 * math/s_ccosl.c: Rely entirely on ccoshl.
14450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14451 Remove tests for FE_INVALID.
14452 * math/s_ccoshf.c: Likewise.
14453 * math/s_ccoshl.c: Likewise.
14454 * math/s_csin.c: Likewise.
14455 * math/s_csinf.c: Likewise.
14456 * math/s_csinh.c Likewise.
14457 * math/s_csinhf.c: Likewise.
14458 * math/s_csinhl.c: Likewise.
14459 * math/s_csinl.c: Likewise.
14460 * math/s_ctan.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14464
8ec250a4
UD
144652011-10-21 Ulrich Drepper <drepper@gmail.com>
14466
c196fed8
UD
14467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14468 compilation problems.
14469
8ec250a4
UD
14470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14471 __builtin_expect.
14472
8d4f46c6
UD
144732011-10-20 Ulrich Drepper <drepper@gmail.com>
14474
ed72b654
UD
14475 * sysdeps/i386/configure.in: Test for -mfma4 option.
14476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14478 COMMON_CPUID_INDEX_80000001.
14479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14481 use it if FMA3 is not supported.
14482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14483
8d4f46c6
UD
14484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14486
d45c60c2
AS
144872011-10-20 Andreas Schwab <schwab@redhat.com>
14488
14489 [BZ #12892]
14490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14491 it would create a cycle with a link time dependency.
14492
d9a4d2ab
UD
144932011-10-19 Ulrich Drepper <drepper@gmail.com>
14494
855d1560
UD
14495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14496 instruction.
14497 * string/Makefile (strop-tests): Add rawmemchr.
14498 * string/test-rawmemchr.c: New file.
14499
d9a4d2ab
UD
14500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14503 when compiling str{,n}casecmp and when AVX is available. Hook up
14504 new optimized code in initializers.
14505
8f3b1ffe
AS
145062011-10-19 Andreas Schwab <schwab@redhat.com>
14507
14508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14509 __feraiseexcept instead of feraiseexcept.
14510
d38f1dba
UD
145112011-10-18 Ulrich Drepper <drepper@gmail.com>
14512
d9a8d0ab
UD
14513 * math/math_private.h: Define defaults for libc_fetestexcept and
14514 libc_feupdateenv.
14515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14521 libc_fetestexcept and libc_feupdateenv.
14522
4855e3dd
UD
14523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14527 libc_feholdexcept_setround.
14528
581d30e3
UD
14529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14530 Add s_nearbyint-c and s_nearbyintf-c.
14531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14532 nearbyintf inlines.
14533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14537
d38f1dba
UD
14538 * math/math_private.h: Define defaults for libc_fegetround,
14539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14544 standard functions.
14545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14546 Remove comments and hacks for old compiler versions.
14547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14549 libc_feholdexceptl.
14550
caa6c9d8
AS
145512011-10-18 Andreas Schwab <schwab@redhat.com>
14552
14553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14554 (__feraiseexcept_renamed): Add __NTH.
14555 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14556 namespace violations.
14557
97c066e6
UD
145582011-10-17 Ulrich Drepper <drepper@gmail.com>
14559
99ce7b04
UD
14560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14561
1004d182
UD
14562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14563
228a984d
UD
14564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14565 recently added interfaces.
14566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14567
c8553a6a
UD
14568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14569 about macro parameter expansion.
14570
ed22dcf6
UD
14571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14572 __NO_MATH_INLINES is defined. Cleanups.
14573
14574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14575 and __floorf is target has SSE4.1.
14576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14580
b171c137
UD
14581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14582 name.
14583 (floorf): Likewise.
14584
97c066e6
UD
14585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14586
629f62ef
AS
145872011-10-17 Andreas Schwab <schwab@redhat.com>
14588
49a43d80
AS
14589 * misc/sys/cdefs.h: Fix last change.
14590
629f62ef
AS
14591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14592 database lookup.
14593
e453f6cd
UD
145942011-10-16 Ulrich Drepper <drepper@gmail.com>
14595
aa78043a
UD
14596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14597
ad0f5cad
UD
14598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14620
14621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14622 ceil, ceilf, floor, floorf.
14623
14624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14625 Perform IRELATIVE relocations last.
14626
e453f6cd
UD
14627 * elf/do-rel.h: Add another parameter nrelative, replacing the
14628 local variable with the same name. Change name of the function
14629 to end in Rel or Rela (uppercase).
14630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14632 elf_dynamic_do_##reloc function.
14633
fd5bdc09
UD
146342011-10-15 Ulrich Drepper <drepper@gmail.com>
14635
79b195b5
UD
14636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14637 is sufficient, at least on modern CPUs.
14638
d4a28569
UD
14639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14640
b61099b5
UD
14641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14643
bcf01e6d
UD
14644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14645 __expl_finite.
14646 * math/bits/math-finite.h: Add entries for exp.
14647 * math/e_expl.c: Add __*_finite alias.
14648 * sysdeps/i386/fpu/e_exp.S: Likewise.
14649 * sysdeps/i386/fpu/e_expf.S: Likewise.
14650 * sysdeps/i386/fpu/e_expl.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14658
ba1a0d59
UD
14659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14660 is sufficient, at least on modern CPUs.
14661
fd5bdc09
UD
14662 * ctype/ctype-info.c (__ctype_init): Define.
14663 * include/ctype.h (__ctype_init): Declare.
14664 (__ctype_b_loc): The variable is always initialized.
14665 (__ctype_toupper_loc): Likewise.
14666 (__ctype_tolower_loc): Likewise.
14667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14669
7872cfb0
AS
146702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14671
b468825a
AS
14672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14673
7872cfb0
AS
14674 * configure.in: Also look in $cxxmachine/include for C++ system
14675 headers.
14676
be13f7bf
LD
146772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14678
14679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14684 (USE_AS_WMEMCMP): New macro.
14685 Fixing indents.
14686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14697 (USE_AS_WMEMCMP): New macro.
14698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14699 * sysdeps/string/test-memcmp.c: Update.
14700 Fix simple_wmemcmp.
14701 Add new tests.
14702 * wcsmbs/wmemcmp.c: Update.
14703 (WMEMCMP): New macro.
14704 Fix overflow bug.
14705
556a2007
AJ
147062011-10-12 Andreas Jaeger <aj@suse.de>
14707
14708 [BZ #13268]
14709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14710
538faaa7
UD
147112011-10-15 Ulrich Drepper <drepper@gmail.com>
14712
ab6737ff
UD
14713 * libio/iofwide.c (do_length): Avoid warning.
14714
538faaa7
UD
14715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14716
396a21b1
UD
147172011-10-14 Ulrich Drepper <drepper@gmail.com>
14718
cdf2901f
UD
14719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14720
38ad40ce
UD
14721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14724 * sysdeps/i386/i686/fpu/e_log.S: New file.
14725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14727
396a21b1
UD
14728 * ctype/ctype.h: Add support for inlined isXXX functions when
14729 compiling C++ code.
14730
6b1f68c9
AS
147312011-10-14 Andreas Schwab <schwab@redhat.com>
14732
349290c0
AS
14733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14734
6b1f68c9
AS
14735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14736
f2282d42
RM
147372011-10-13 Roland McGrath <roland@hack.frob.com>
14738
14739 [BZ #13291]
14740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14741
5298ffa8
AS
147422011-10-13 Andreas Schwab <schwab@redhat.com>
14743
714fad23
AS
14744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14746 feraiseexcept.
14747
81dcc7fb
AS
14748 * sysdeps/x86_64/memrchr.S: Check for zero size.
14749
5298ffa8
AS
14750 * string/stratcliff.c: Add memrchr tests.
14751
951fbcec
LD
147522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14753
14754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14756 rawmemchr-sse2 rawmemchr-sse2-bsf.
14757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14767 * string/memrchr.c (MEMRCHR): New macro.
14768
0ac5ae23
UD
147692011-10-12 Ulrich Drepper <drepper@gmail.com>
14770
14771 Add integration with gcc's -ffinite-math-only and optimize wrapper
14772 functions in libm.
14773 * Versions.def: Define GLIBC_2.15 version for libm.
14774 * math/Makefile (headers): Add bits/math-finite.h.
14775 * math/bits/math-finite.h: New file.
14776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14778 * math/e_acoshl.c: Add __*_finite alias.
14779 * math/e_acosl.c: Likewise.
14780 * math/e_asinl.c: Likewise.
14781 * math/e_atan2l.c: Likewise.
14782 * math/e_atanhl.c: Likewise.
14783 * math/e_coshl.c: Likewise.
14784 * math/e_exp10.c: Likewise.
14785 * math/e_exp10f.c: Likewise.
14786 * math/e_exp10l.c: Likewise.
14787 * math/e_exp2l.c: Likewise.
14788 * math/e_fmodl.c: Likewise.
14789 * math/e_gammal_r.c: Likewise.
14790 * math/e_hypotl.c: Likewise.
14791 * math/e_j0l.c: Likewise.
14792 * math/e_j1l.c: Likewise.
14793 * math/e_jnl.c: Likewise.
14794 * math/e_lgammal_r.c: Likewise.
14795 * math/e_log10l.c: Likewise.
14796 * math/e_log2l.c: Likewise.
14797 * math/e_logl.c: Likewise.
14798 * math/e_powl.c: Likewise.
14799 * math/e_sinhl.c: Likewise.
14800 * math/e_sqrtl.c: Likewise.
14801 * math/e_scalb.c: Completely rewritten and optimized.
14802 * math/e_scalbf.c: Likewise.
14803 * math/e_scalbl.c: Likewise.
14804 * math/w_acos.c: Likewise.
14805 * math/w_acosf.c: Likewise.
14806 * math/w_acosl.c: Likewise.
14807 * math/w_acosh.c: Likewise.
14808 * math/w_acoshf.c: Likewise.
14809 * math/w_acoshl.c: Likewise.
14810 * math/w_asin.c: Likewise.
14811 * math/w_asinf.c: Likewise.
14812 * math/w_asinl.c: Likewise.
14813 * math/w_atan2.c: Likewise.
14814 * math/w_atan2f.c: Likewise.
14815 * math/w_atan2l.c: Likewise.
14816 * math/w_atanh.c: Likewise.
14817 * math/w_atanhf.c: Likewise.
14818 * math/w_atanhl.c: Likewise.
14819 * math/w_exp10.c: Likewise.
14820 * math/w_exp10f.c: Likewise.
14821 * math/w_exp10l.c: Likewise.
14822 * math/w_fmod.c: Likewise.
14823 * math/w_fmodf.c: Likewise.
14824 * math/w_fmodl.c: Likewise.
14825 * math/w_j0.c: Likewise.
14826 * math/w_j0f.c: Likewise.
14827 * math/w_j0l.c: Likewise.
14828 * math/w_j1.c: Likewise.
14829 * math/w_j1f.c: Likewise.
14830 * math/w_j1l.c: Likewise.
14831 * math/w_jn.c: Likewise.
14832 * math/w_jnf.c: Likewise.
14833 * math/w_log.c: Likewise.
14834 * math/w_logf.c: Likewise.
14835 * math/w_logl.c: Likewise.
14836 * math/w_log10.c: Likewise.
14837 * math/w_log10f.c: Likewise.
14838 * math/w_log10l.c: Likewise.
14839 * math/w_log2.c: Likewise.
14840 * math/w_log2f.c: Likewise.
14841 * math/w_log2l.c: Likewise.
14842 * math/w_pow.c: Likewise.
14843 * math/w_powf.c: Likewise.
14844 * math/w_powl.c: Likewise.
14845 * math/w_remainder.c: Likewise.
14846 * math/w_remainderf.c: Likewise.
14847 * math/w_remainderl.c: Likewise.
14848 * math/w_scalb.c: Likewise.
14849 * math/w_scalbf.c: Likewise.
14850 * math/w_scalbl.c: Likewise.
14851 * math/w_sqrt.c: Likewise.
14852 * math/w_sqrtf.c: Likewise.
14853 * math/w_sqrtl.c: Likewise.
14854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14856 used.
14857 * math/math_private.h: Declare __kernel_standard_f.
14858 * math/w_cosh.c: Remove cruft and optimize a bit.
14859 * math/w_coshf.c: Likewise.
14860 * math/w_coshl.c: Likewise.
14861 * math/w_exp2.c: Likewise.
14862 * math/w_exp2f.c: Likewise.
14863 * math/w_exp2l.c: Likewise.
14864 * math/w_hypot.c: Likewise.
14865 * math/w_hypotf.c: Likewise.
14866 * math/w_hypotl.c: Likewise.
14867 * math/w_lgamma.c: Likewise.
14868 * math/w_lgamma_r.c: Likewise.
14869 * math/w_lgammaf.c: Likewise.
14870 * math/w_lgammaf_r.c: Likewise.
14871 * math/w_lgammal.c: Likewise.
14872 * math/w_lgammal_r.c: Likewise.
14873 * math/w_sinh.c: Likewise.
14874 * math/w_sinhf.c: Likewise.
14875 * math/w_sinhl.c: Likewise.
14876 * math/w_tgamma.c: Likewise.
14877 * math/w_tgammaf.c: Likewise.
14878 * math/w_tgammal.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14882 Minor optimizations. Pretty printing. Remove cruft.
14883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14888 * sysdeps/i386/fpu/e_asin.S: Likewise.
14889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14907 * sysdeps/i386/fpu/e_log.S: Likewise.
14908 * sysdeps/i386/fpu/e_log10.S: Likewise.
14909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14911 * sysdeps/i386/fpu/e_log2.S: Likewise.
14912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14914 * sysdeps/i386/fpu/e_logf.S: Likewise.
14915 * sysdeps/i386/fpu/e_logl.S: Likewise.
14916 * sysdeps/i386/fpu/e_pow.S: Likewise.
14917 * sysdeps/i386/fpu/e_powf.S: Likewise.
14918 * sysdeps/i386/fpu/e_powl.S: Likewise.
14919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15041 (__isnanf): Likewise.
15042 (__isinf_ns): Likewise.
15043 (__isinf_nsf): Likewise.
15044 (__finite): Likewise.
15045 (__finitef): Likewise.
15046 (__ieee754_sqrt): Define as macro.
15047 (__ieee754_sqrtf): Define as macro.
15048 (__ieee754_sqrtl): Define as macro.
15049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15050 inlined copy.
15051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15052 __FINITE_MATH_ONLY__ consistent.
15053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15054
12cc2fcd
AS
150552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15056
a843a204
AS
15057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15058 of rawmemchr.
15059
12cc2fcd
AS
15060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15061
c853acd5
UD
150622011-10-09 Ulrich Drepper <drepper@gmail.com>
15063
15064 * po/ja.po: Update from translation team.
15065
c658d255
RM
150662011-10-08 Roland McGrath <roland@hack.frob.com>
15067
110946e4
RM
15068 * locale/programs/locarchive.c (prepare_address_space): New function.
15069 (create_archive, enlarge_archive, open_archive): Use it.
15070
50604220
RM
15071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15072 inside [SHARED], where it is used.
15073
c658d255
RM
15074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15075
15076 * nss/getent.c (netgroup_keys): Remove unused variable.
15077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15078
6a621eb7
UD
150792011-10-08 Ulrich Drepper <drepper@gmail.com>
15080
7edb55ce
UD
15081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15087 * math/Makefile (libm-calls): Add s_isinf_ns.
15088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15089 * math/multc3.c: Likewise.
15090 * math/s_casin.c: Likewise.
15091 * math/s_casinf.c: Likewise.
15092 * math/s_casinl.c: Likewise.
15093 * math/s_ccos.c: Likewise.
15094 * math/s_ccosf.c: Likewise.
15095 * math/s_ccosl.c: Likewise.
15096 * math/s_ctan.c: Likewise.
15097 * math/s_ctanf.c: Likewise.
15098 * math/s_ctanh.c: Likewise.
15099 * math/s_ctanhf.c: Likewise.
15100 * math/s_ctanhl.c: Likewise.
15101 * math/s_ctanl.c: Likewise.
15102 * math/w_fmod.c: Likewise.
15103 * math/w_fmodf.c: Likewise.
15104 * math/w_fmodl.c: Likewise.
15105 * math/w_remainder.c: Likewise.
15106 * math/w_remainderf.c: Likewise.
15107 * math/w_remainderl.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15116
187da0ae
UD
15117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15118 of the number.
15119 * stdio-common/printf_fphex.c: Likewise.
15120 * stdio-common/printf_size.c: Likewise.
15121
9277c064
UD
15122 * math/e_exp10.c: Include math_private.h using <...> not "...".
15123 * math/e_exp10f.c: Likewise.
15124 * math/e_exp10l.c: Likewise.
15125 * math/e_exp2l.c: Likewise.
15126 * math/e_j0l.c: Likewise.
15127 * math/e_j1l.c: Likewise.
15128 * math/e_jnl.c: Likewise.
15129 * math/e_lgammal_r.c: Likewise.
15130 * math/e_rem_pio2l.c: Likewise.
15131 * math/e_scalb.c: Likewise.
15132 * math/e_scalbf.c: Likewise.
15133 * math/e_scalbl.c: Likewise.
15134 * math/k_cosl.c: Likewise.
15135 * math/k_sinl.c: Likewise.
15136 * math/k_tanl.c: Likewise.
15137 * math/s_cacoshf.c: Likewise.
15138 * math/s_catan.c: Likewise.
15139 * math/s_catanf.c: Likewise.
15140 * math/s_catanh.c: Likewise.
15141 * math/s_catanhf.c: Likewise.
15142 * math/s_catanhl.c: Likewise.
15143 * math/s_catanl.c: Likewise.
15144 * math/s_ccosh.c: Likewise.
15145 * math/s_ccoshf.c: Likewise.
15146 * math/s_ccoshl.c: Likewise.
15147 * math/s_cexp.c: Likewise.
15148 * math/s_cexpf.c: Likewise.
15149 * math/s_cexpl.c: Likewise.
15150 * math/s_clog.c: Likewise.
15151 * math/s_clog10.c: Likewise.
15152 * math/s_clog10f.c: Likewise.
15153 * math/s_clog10l.c: Likewise.
15154 * math/s_clogf.c: Likewise.
15155 * math/s_clogl.c: Likewise.
15156 * math/s_csin.c: Likewise.
15157 * math/s_csinf.c: Likewise.
15158 * math/s_csinh.c: Likewise.
15159 * math/s_csinhf.c: Likewise.
15160 * math/s_csinhl.c: Likewise.
15161 * math/s_csinl.c: Likewise.
15162 * math/s_csqrt.c: Likewise.
15163 * math/s_csqrtf.c: Likewise.
15164 * math/s_csqrtl.c: Likewise.
15165 * math/s_ctan.c: Likewise.
15166 * math/s_ctanf.c: Likewise.
15167 * math/s_ctanh.c: Likewise.
15168 * math/s_ctanhf.c: Likewise.
15169 * math/s_ctanhl.c: Likewise.
15170 * math/s_ctanl.c: Likewise.
15171 * math/s_ldexp.c: Likewise.
15172 * math/s_ldexpf.c: Likewise.
15173 * math/s_ldexpl.c: Likewise.
15174 * math/s_significand.c: Likewise.
15175 * math/s_significandf.c: Likewise.
15176 * math/s_significandl.c: Likewise.
15177 * math/w_acos.c: Likewise.
15178 * math/w_acosf.c: Likewise.
15179 * math/w_acosh.c: Likewise.
15180 * math/w_acoshf.c: Likewise.
15181 * math/w_acoshl.c: Likewise.
15182 * math/w_acosl.c: Likewise.
15183 * math/w_asin.c: Likewise.
15184 * math/w_asinf.c: Likewise.
15185 * math/w_asinl.c: Likewise.
15186 * math/w_atan2.c: Likewise.
15187 * math/w_atan2f.c: Likewise.
15188 * math/w_atan2l.c: Likewise.
15189 * math/w_atanh.c: Likewise.
15190 * math/w_atanhf.c: Likewise.
15191 * math/w_atanhl.c: Likewise.
15192 * math/w_cosh.c: Likewise.
15193 * math/w_coshf.c: Likewise.
15194 * math/w_coshl.c: Likewise.
15195 * math/w_dremf.c: Likewise.
15196 * math/w_exp10.c: Likewise.
15197 * math/w_exp10f.c: Likewise.
15198 * math/w_exp10l.c: Likewise.
15199 * math/w_exp2.c: Likewise.
15200 * math/w_exp2f.c: Likewise.
15201 * math/w_fmod.c: Likewise.
15202 * math/w_fmodf.c: Likewise.
15203 * math/w_fmodl.c: Likewise.
15204 * math/w_hypot.c: Likewise.
15205 * math/w_hypotf.c: Likewise.
15206 * math/w_hypotl.c: Likewise.
15207 * math/w_j0.c: Likewise.
15208 * math/w_j0f.c: Likewise.
15209 * math/w_j0l.c: Likewise.
15210 * math/w_j1.c: Likewise.
15211 * math/w_j1f.c: Likewise.
15212 * math/w_j1l.c: Likewise.
15213 * math/w_jn.c: Likewise.
15214 * math/w_jnf.c: Likewise.
15215 * math/w_jnl.c: Likewise.
15216 * math/w_lgamma.c: Likewise.
15217 * math/w_lgamma_r.c: Likewise.
15218 * math/w_lgammaf.c: Likewise.
15219 * math/w_lgammaf_r.c: Likewise.
15220 * math/w_lgammal.c: Likewise.
15221 * math/w_lgammal_r.c: Likewise.
15222 * math/w_log.c: Likewise.
15223 * math/w_log10.c: Likewise.
15224 * math/w_log10f.c: Likewise.
15225 * math/w_log10l.c: Likewise.
15226 * math/w_log2.c: Likewise.
15227 * math/w_log2f.c: Likewise.
15228 * math/w_log2l.c: Likewise.
15229 * math/w_logf.c: Likewise.
15230 * math/w_logl.c: Likewise.
15231 * math/w_pow.c: Likewise.
15232 * math/w_powf.c: Likewise.
15233 * math/w_powl.c: Likewise.
15234 * math/w_remainder.c: Likewise.
15235 * math/w_remainderf.c: Likewise.
15236 * math/w_remainderl.c: Likewise.
15237 * math/w_scalb.c: Likewise.
15238 * math/w_scalbf.c: Likewise.
15239 * math/w_scalbl.c: Likewise.
15240 * math/w_sinh.c: Likewise.
15241 * math/w_sinhf.c: Likewise.
15242 * math/w_sinhl.c: Likewise.
15243 * math/w_sqrt.c: Likewise.
15244 * math/w_sqrtf.c: Likewise.
15245 * math/w_sqrtl.c: Likewise.
15246 * math/w_tgamma.c: Likewise.
15247 * math/w_tgammaf.c: Likewise.
15248 * math/w_tgammal.c: Likewise.
15249
6a621eb7
UD
15250 * po/ja.po: Update from translation team.
15251
bf582445
AJ
152522011-09-29 Andreas Jaeger <aj@suse.de>
15253
f9efbf3a
AJ
15254 [BZ #13179]
15255 * sunrpc/netname.c (netname2host): Fix logic.
15256
bf582445
AJ
15257 [BZ #6779]
15258 [BZ #6783]
15259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15260 correctly.
15261 * math/w_remainder.c (__remainder): Likewise.
15262 * math/w_remainderf.c (__remainderf): Likewise.
15263 * math/libm-test.inc (remainder_test): Add test cases.
15264
48693bea
AK
152652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15266
15267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15268 sdiv_qrnnd.
15269
42622229
LD
152702011-10-07 Ulrich Drepper <drepper@gmail.com>
15271
15272 * string/test-memcmp.c: Avoid unncessary #defines.
15273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15274
093ecf92
LD
152752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15276
15277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15278 Use new sse2 version for core i3 - i7 as it's faster
15279 than sse42 version.
15280 (bit_Prefer_PMINUB_for_stringop): New.
15281 * sysdeps/x86_64/rawmemchr.S: Update.
15282 Replace with faster SSE2 version.
15283 * sysdeps/x86_64/memrchr.S: New file.
15284 * sysdeps/x86_64/memchr.S: Update.
15285 Replace with faster SSE2 version.
15286
fde56e5c
MP
152872011-09-12 Marek Polacek <mpolacek@redhat.com>
15288
15289 * elf/dl-load.c (lose): Add cast to avoid warning.
15290
21fd49a9
UD
152912011-10-07 Ulrich Drepper <drepper@gmail.com>
15292
5a06e643
UD
15293 * po/ca.po: Update from translation team.
15294
684ae515
UD
15295 * inet/getnetgrent_r.c: Hook up nscd.
15296 * nscd/Makefile (routines): Add nscd_netgroup.
15297 (nscd-modules): Add netgroupcache.
15298 (CFLAGS-netgroupcache.c): Define.
15299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15300 (cache_search): Add const to second parameter.
15301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15302 INNETGR.
15303 (dbs): Add netgrdb entry.
15304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15305 (verify_persistent_db): Handle netgrdb.
15306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15308 GETFDNETGR.
15309 (netgroup_response_header): Define.
15310 (innetgroup_response_header): Define.
15311 (datahead): Add netgroup_response_header and innetgroup_response_header
15312 elements.
15313 * nscd/nscd.conf: Add entries for netgroup cache.
15314 * nscd/nscd.h (dbtype): Add netgrdb.
15315 (_PATH_NSCD_NETGROUP_DB): Define.
15316 (netgroup_iov_disabled): Declare.
15317 (xmalloc, xcalloc, xrealloc): Move declarations here.
15318 (cache_search): Adjust prototype.
15319 Add netgroup-related prototypes.
15320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15322 (__nscd_innetgr): Declare.
15323 * nscd/selinux.c (perms): Use access_vector_t as element type and
15324 add netgroup-related initializers.
15325 * nscd/netgroupcache.c: New file.
15326 * nscd/nscd_netgroup.c: New file.
15327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15329 For four parameters use innetgr.
15330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15334
21fd49a9
UD
15335 * nscd/connections.c (register_traced_file): Don't register file
15336 for disabled databases.
15337
054c0457
UD
153382011-10-06 Ulrich Drepper <drepper@gmail.com>
15339
32b63198
UD
15340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15341
054c0457
UD
15342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15343 from tree and freeing node.
15344
64031225
JO
153452011-09-25 Jiri Olsa <jolsa@redhat.com>
15346
15347 * nss/nsswitch.c (__nss_database_lookup): Handle
15348 nss_parse_service_list out of memory case.
15349
0490345c
JO
153502011-09-15 Jiri Olsa <jolsa@redhat.com>
15351
15352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15353 out of memory case.
15354
3a62d00d
AS
153552011-10-04 Andreas Schwab <schwab@redhat.com>
15356
15357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15359 pass it down.
15360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15361 elf_machine_rela, elf_machine_lazy_rel.
15362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15363 (ELF_DYNAMIC_DO_REL): Likewise.
15364 (ELF_DYNAMIC_DO_RELA): Likewise.
15365 (ELF_DYNAMIC_RELOCATE): Likewise.
15366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15367 to ELF_DYNAMIC_DO_REL.
15368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15371 elf_machine_rela.
15372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15373 skip_ifunc, don't call ifunc function if non-zero.
15374 (elf_machine_rela): Likewise.
15375 (elf_machine_lazy_rel): Likewise.
15376 (elf_machine_lazy_rela): Likewise.
15377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15378 (elf_machine_lazy_rel): Likewise.
15379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15380 Likewise.
15381 (elf_machine_lazy_rel): Likewise.
15382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15383 Likewise.
15384 (elf_machine_lazy_rel): Likewise.
15385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15386 (elf_machine_lazy_rel): Likewise.
15387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15388 (elf_machine_lazy_rel): Likewise.
15389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15390 (elf_machine_lazy_rel): Likewise.
15391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15392 (elf_machine_lazy_rel): Likewise.
15393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15394 (elf_machine_lazy_rel): Likewise.
15395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15396 (elf_machine_lazy_rel): Likewise.
15397
68577918
UD
153982011-09-28 Ulrich Drepper <drepper@gmail.com>
15399
15400 * nss/nss_files/files-init.c (_nss_files_init): Use static
15401 initialization for all the *_traced_file variables.
15402
68822d74
AS
154032011-09-28 Andreas Schwab <schwab@redhat.com>
15404
15405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15406
2056100b
RM
154072011-09-27 Roland McGrath <roland@hack.frob.com>
15408
15409 [BZ #13226]
15410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15411
32c76b63
AS
154122011-09-27 Andreas Schwab <schwab@redhat.com>
15413
15414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15415 Reread the line before reparsing it.
15416
bf972c9d
AS
154172011-09-26 Andreas Schwab <schwab@redhat.com>
15418
15419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15420
e057a1b5
JM
154212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15422 Maxim Kuvyrkov <maxim@codesourcery.com>
15423 Joseph Myers <joseph@codesourcery.com>
15424
15425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15426 if needed for __stack_chk_guard.
15427
bc7e1c36
RM
154282011-09-19 Roland McGrath <roland@hack.frob.com>
15429
ecb1482f
RM
15430 * sysdeps/posix/spawni.c (script_execute): Always define it.
15431 It will be optimized away if unused.
15432 (maybe_script_execute): New function.
15433 (__spawni): Call it.
15434
bc7e1c36
RM
15435 * Makerules: Don't include tls.make.
15436 (config-tls): Always set to thread.
15437 * tls.make.c: File removed.
15438
1c3b002b
MF
154392011-09-19 Mike Frysinger <vapier@gentoo.org>
15440
15441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15442 * config.make.in (CPPFLAGS-config): New substituted variable.
15443
2840865d
UD
154442011-09-15 Ulrich Drepper <drepper@gmail.com>
15445
88738eb6
UD
15446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15447
cbf645a6 15448 [BZ #13192]
2840865d
UD
15449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15451
b402e91a
RM
154522011-09-15 Roland McGrath <roland@hack.frob.com>
15453
15454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15457 (CALL_FAIL): Likewise.
15458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15459 (CALL_FAIL): Macro removed.
15460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15461
4c1a1f71
UD
154622011-09-15 Ulrich Drepper <drepper@gmail.com>
15463
15464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15465 for __FINITE_MATH_ONLY__ == 1.
15466
edc121be
AS
154672011-09-15 Andreas Schwab <schwab@redhat.com>
15468
15469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15470 __ieee754_sqrt instead of sqrt.
15471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15472 __ieee754_sqrtf instead of sqrtf.
15473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15474 __floorf instead of floorf.
15475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15476 __floorf, __truncf instead of floorf, truncf.
15477
cd205654
UD
154782011-09-14 Ulrich Drepper <drepper@gmail.com>
15479
ee4d0315
UD
15480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15481
cd205654
UD
15482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15483 __extern_always_inline.
15484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15485 32-bit.
15486
48b67d71
AS
154872011-09-14 Andreas Schwab <schwab@redhat.com>
15488
15489 * elf/rtld.c (dl_main): Also relocate in dependency order when
15490 doing symbol dependency testing.
15491
1ae12c75
AS
154922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15493
15494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15495 Always define `refsym'.
15496
995a80df
AS
154972011-09-13 Andreas Schwab <schwab@redhat.com>
15498
e529793b
AS
15499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15500 (__FD_ELT): Renamed from __FDELT.
15501 * misc/bits/select2.h (__FD_ELT): Likewise.
15502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15503 __FD_MASK instead of __FDELT, __FDMASK.
15504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15505 Likewise.
15506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15507 Likewise.
15508
52d4fef8
AS
15509 * elf/Makefile (gen-ldd): Fix pattern.
15510
995a80df
AS
15511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15512 (init_tls): Likewise.
15513
8682f8b0
UD
155142011-09-12 Ulrich Drepper <drepper@gmail.com>
15515
15516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15517
de82006d
AS
155182011-09-12 Andreas Schwab <schwab@redhat.com>
15519
a7c8e6a1
AS
15520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15521 `struct cmsghdr *' instead of `void *'.
15522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15523 Likewise.
15524
0f31fe77
AS
155252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15526
15527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15528 if non-absolute.
15529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15530 ldd_rewrite_script.
0f31fe77 15531
32b4c839
UD
155322011-09-11 Ulrich Drepper <drepper@gmail.com>
15533
83cd1420
UD
15534 * configure.in: Remove --with-tls option.
15535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15537 out in case it is missing.
15538 * sysdeps/ia64/elf/configure.in: Likewise.
15539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15543 * sysdeps/sh/elf/configure.in: Likewise.
15544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15546 * sysdeps/x86_64/elf/configure.in: Likewise.
15547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15548 * sysdeps/mach/hurd/tls.h: Likewise.
15549
633f745d
UD
15550 [BZ #13067]
15551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15552
f318beb8
UD
15553 [BZ #13090]
15554 * configure.in: Fix use of AC_INIT.
15555
32b4c839
UD
15556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15557
3ce1f295
UD
155582011-09-10 Ulrich Drepper <drepper@gmail.com>
15559
bb016596
UD
15560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15561 __set_errno.
8e58439c
UD
15562 * malloc/hooks.c: Likewise.
15563
aebae053 15564 [BZ #11929]
02d46fc4
UD
15565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15566 variables statically.
15567 (narenas): Initialize.
15568 (list_lock): Initialize.
bb016596
UD
15569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15570 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15573 Add initializers to main_arena and mp_.
15574 (malloc_state): Remove pagesize member. Change all users to use
15575 GLRO(dl_pagesize).
15576
15577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15579 is always initialized.
15580
22a89187
UD
15581 * malloc/malloc.c: Removed unused configurations and dead code.
15582 * malloc/arena.c: Likewise.
15583 * malloc/hooks.c: Likewise.
02d46fc4 15584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15585
d063d164
UD
15586 * include/tls.h: Removed. USE___THREAD must always be defined.
15587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15588 * elf/dl-libc.c: Likewise.
15589 * elf/dl-tsd.c: Likewise.
15590 * include/errno.h: Likewise.
15591 * include/netdb.h: Likewise.
15592 * include/resolv.h: Likewise.
15593 * inet/herrno-loc.c: Likewise.
15594 * inet/herrno.c: Likewise.
15595 * malloc/arena.c: Likewise.
15596 * malloc/hooks.c: Likewise.
15597 * malloc/malloc.c: Likewise.
15598 * resolv/res-state.c: Likewise.
15599 * resolv/res_libc.c: Likewise.
15600 * sysdeps/i386/dl-machine.h: Likewise.
15601 * sysdeps/ia64/dl-machine.h: Likewise.
15602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15606 * sysdeps/sh/dl-machine.h: Likewise.
15607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15609 * sysdeps/unix/i386/sysdep.S: Likewise.
15610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15621 * sysdeps/x86_64/dl-machine.h: Likewise.
15622 * tls.make.c: Likewise.
15623
3ce1f295
UD
15624 * configure.in: Remove --with-__thread option. Make tests for
15625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15626 tls_model attribute fail if no support is available. Remove
15627 USE_IN_LIBIO.
15628 * Makeconfig: Adjust for dropped configure option. All features are
15629 now mandatory.
15630 * Makerules: Likewise.
15631 * Versions.def: Likewise.
15632 * argp/argp-fmtstream.c: Likewise.
15633 * argp/argp-fmtstream.h: Likewise.
15634 * argp/argp-help.c: Likewise.
15635 * assert/assert.c: Likewise.
15636 * config.h.in: Likewise.
15637 * config.make.in: Likewise.
15638 * configure: Likewise.
15639 * configure.in: Likewise.
15640 * csu/Versions: Likewise.
15641 * csu/init.c: Likewise.
15642 * elf/tst-audit2.c: Likewise.
15643 * elf/tst-tls10.c: Likewise.
15644 * elf/tst-tls10.h: Likewise.
15645 * elf/tst-tls11.c: Likewise.
15646 * elf/tst-tls12.c: Likewise.
15647 * elf/tst-tls14.c: Likewise.
15648 * elf/tst-tlsmod11.c: Likewise.
15649 * elf/tst-tlsmod12.c: Likewise.
15650 * elf/tst-tlsmod13.c: Likewise.
15651 * elf/tst-tlsmod13a.c: Likewise.
15652 * elf/tst-tlsmod14a.c: Likewise.
15653 * elf/tst-tlsmod15b.c: Likewise.
15654 * elf/tst-tlsmod16a.c: Likewise.
15655 * elf/tst-tlsmod16b.c: Likewise.
15656 * elf/tst-tlsmod7.c: Likewise.
15657 * elf/tst-tlsmod8.c: Likewise.
15658 * elf/tst-tlsmod9.c: Likewise.
15659 * gmon/gmon.c: Likewise.
15660 * grp/fgetgrent_r.c: Likewise.
15661 * grp/putgrent.c: Likewise.
15662 * hurd/fopenport.c: Likewise.
15663 * include/libc-symbols.h: Likewise.
15664 * include/tls.h: Likewise.
15665 * intl/gettextP.h: Likewise.
15666 * intl/loadinfo.h: Likewise.
15667 * locale/global-locale.c: Likewise.
15668 * locale/localeinfo.h: Likewise.
15669 * mach/devstream.c: Likewise.
15670 * malloc/arena.c: Likewise.
15671 * malloc/set-freeres.c: Likewise.
15672 * misc/err.c: Likewise.
15673 * misc/getttyent.c: Likewise.
15674 * misc/mntent_r.c: Likewise.
15675 * posix/getopt.c: Likewise.
15676 * posix/wordexp.c: Likewise.
15677 * pwd/fgetpwent_r.c: Likewise.
15678 * resolv/Versions: Likewise.
15679 * resolv/res_hconf.c: Likewise.
15680 * shadow/fgetspent_r.c: Likewise.
15681 * shadow/putspent.c: Likewise.
15682 * stdio-common/printf_fphex.c: Likewise.
15683 * stdio-common/tmpfile.c: Likewise.
15684 * stdlib/abort.c: Likewise.
15685 * stdlib/fmtmsg.c: Likewise.
15686 * sunrpc/auth_unix.c: Likewise.
15687 * sunrpc/clnt_perr.c: Likewise.
15688 * sunrpc/clnt_tcp.c: Likewise.
15689 * sunrpc/clnt_udp.c: Likewise.
15690 * sunrpc/clnt_unix.c: Likewise.
15691 * sunrpc/openchild.c: Likewise.
15692 * sunrpc/svc_simple.c: Likewise.
15693 * sunrpc/svc_tcp.c: Likewise.
15694 * sunrpc/svc_udp.c: Likewise.
15695 * sunrpc/svc_unix.c: Likewise.
15696 * sunrpc/xdr.c: Likewise.
15697 * sunrpc/xdr_array.c: Likewise.
15698 * sunrpc/xdr_rec.c: Likewise.
15699 * sunrpc/xdr_ref.c: Likewise.
15700 * sunrpc/xdr_stdio.c: Likewise.
15701
1248c1c4
PB
157022011-09-09 Ulrich Drepper <drepper@gmail.com>
15703
15704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15705
157062011-07-03 Andreas Jaeger <aj@suse.de>
15707
15708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15710 regenerate with gen-libm-tests.pl.
15711
157122010-05-12 Petr Baudis <pasky@suse.cz>
15713
15714 [BZ #11589]
15715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15716 around j0() zero points by switching to j1().
15717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15721
f22e1074
UD
157222011-09-09 Ulrich Drepper <drepper@gmail.com>
15723
f19009c1
UD
15724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15725 instead of 0.
15726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15727 instead of 0. .
15728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15729 Patch in part by Pavel Roskin <proski@gnu.org>.
15730
3f8cc204
UD
15731 [BZ #13138]
15732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15733 realloc.
15734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15735 Free memory block if necessary.
15736
f22e1074
UD
15737 [BZ #12847]
15738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15739 be NULL. Don't lock in this case.
15740
0a2349f9
RM
157412011-09-09 Roland McGrath <roland@hack.frob.com>
15742
15743 * elf/elf.h (ELFOSABI_GNU): New macro.
15744 (ELFOSABI_LINUX): Define to that.
15745
f3cdd467
DZ
157462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15747
15748 * string/strncat.c (strncat): Undef the symbol in case it has been
15749 defined in bits/string.h.
15750
74718d13
UD
157512011-09-09 Ulrich Drepper <drepper@gmail.com>
15752
633e9e0f
UD
15753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15754
0a2349f9 15755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15756 link map.
15757
f9924780
AJ
157582011-08-17 Andreas Jaeger <aj@suse.de>
15759
15760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15761
7f5517aa
PP
157622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15763 Ian Lance Taylor <iant@google.com>
15764
15765 * math/libm-test.inc (lround_test): New testcase.
15766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15767
762011fe
UD
157682011-09-08 Ulrich Drepper <drepper@gmail.com>
15769
92963737
UD
15770 * Makefile: Remove support for automatic cvs check-ins.
15771 * Makerules: Likewise.
15772 * config.make.in: Likewise.
15773 * configure.in: Likewise.
15774 * intl/Makefile: Likewise.
15775 * locale/Makefile: Likewise.
15776 * po/Makefile: Likewise.
15777 * posix/Makefile: Likewise.
15778 * sysdeps/gnu/Makefile: Likewise.
15779 * sysdeps/mach/hurd/Makefile: Likewise.
15780 * sysdeps/sparc/sparc32/Makefile: Likewise.
15781
b0727fd8
JS
15782 [BZ #13118]
15783 * posix/Makefile (bug-regex32-ENV): Define.
15784 Patch by John Stanley <jpsinthemix@verizon.net>.
15785
a0f33f99
UD
15786 * misc/Makefile (headers): Add bits/select2.h.
15787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15788 * misc/bits/select2.h: New file.
15789 * include/bits/select2.h: New file.
15790 * debug/Makefile (routines): Add fdelt_chk.
15791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15793 FD_ISSET.
15794 * debug/fdelt_chk.c: New file.
15795
762011fe
UD
15796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15797 * wcsmbs/test-wmemcmp.c: Likewise.
15798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15800
158012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15802
15803 * string/Makefile (strop-tests): Add memcmp.
15804 * string/test-wmemcmp.c: New file.
15805 * string/test-memcmp.c: Add wmemcmp support.
15806
7f513ec8
RM
158072011-09-08 Roland McGrath <roland@hack.frob.com>
15808
0442afb4
RM
15809 [BZ #13153]
15810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15811 2011-07-19 change.
15812
7f513ec8
RM
15813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15814 garbage value in a __mach_port_mod_refs call in the cases of the
15815 task-self and thread-self ports.
15816
a12b2239
ST
158172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15818
15819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15820
610f9ab4
AS
158212011-09-08 Andreas Schwab <schwab@redhat.com>
15822
7f513ec8 15823 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15824
48882a1a
LD
158252011-09-07 Ulrich Drepper <drepper@gmail.com>
15826
b49865be
UD
15827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15828
fdc86bc9
UD
15829 * elf/dl-libc.c (dlerror_run): Pass back error code from
15830 dl_catch_error.
15831
c966526a
UD
15832 [BZ #13123]
15833 * elf/dl-load.c (lose): Free l_origin if it is valid.
15834
48882a1a
LD
15835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15836 names.
15837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15843
77a2a8b4
AZ
158442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
15846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15856
24f579d8
AM
158572011-08-15 Alan Modra <amodra@gmail.com>
15858
15859 [BZ #13092]
15860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15863 ppc_mcount to static-only-routines.
15864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15865 __mcount_internal.
15866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15868
3d4837df
UD
158692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15870
15871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15872 for finite and infinity parameters.
15873
22700377
WS
158742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15875
15876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15877 and add nop instructions for throughput optimization.
15878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15879
5025581e
WS
158802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15881
15882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15883 aligned copy for power7 with vector-scalar instructions.
15884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15885
08a300c9
L
158862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15887
15888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15889 AVX check.
15890
59178ef9
AS
158912011-09-07 Andreas Schwab <schwab@redhat.com>
15892
15893 [BZ #13144]
15894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15895 last change.
15896
e38ba7ab
UD
158972011-09-07 Ulrich Drepper <drepper@gmail.com>
15898
15899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15903 clock_gettime.
15904
d53a73ac
UD
159052011-09-06 Ulrich Drepper <drepper@gmail.com>
15906
fc8bffcc
UD
15907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15908 Forgot to demangle the pointer.
15909
ceaa0c5d
UD
15910 * sysdeps/i386/sysdep.h: Define atom_text_section.
15911 * sysdeps/x86_64/sysdep.h: Likewise.
15912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15913 section with atom_text_section.
15914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15919
a77d3c17
UD
15920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15922 already be defined. Change to take two parameters and don't assign
15923 result to variable. Adjust all users.
15924 Define INTERNAL_GETTIME if not already defined.
15925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15926 call.
15927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15928 HAVE_CLOCK_GETTIME_VSYSCALL.
15929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15930
d53a73ac
UD
15931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15932 gettimeofday vsyscall, just use time.
15933
a8f84144
AS
159342011-09-06 Andreas Schwab <schwab@redhat.com>
15935
15936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15937 <errno.h>.
15938
ef606249
UD
159392011-09-06 Ulrich Drepper <drepper@gmail.com>
15940
15941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15942 syscall on x86-64.
15943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15944 syscall.
15945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15947 syscall if possible.
15948
6585cb60
UD
159492011-09-05 Ulrich Drepper <drepper@gmail.com>
15950
15951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15952 e_ident. Don't pass to find_mapsXX.
15953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15954
a5f524e4
LD
159552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15956
15957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15959 * sysdeps/x86_64/multiarch/strchr.S: Update.
15960 Check bit_slow_BSF bit.
15961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15964
554881ef
UD
159652011-09-05 Ulrich Drepper <drepper@gmail.com>
15966
d96de963
UD
15967 [BZ #13134]
15968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15969 before glibc 2.15.
15970 (tryshell): Define.
15971 (__spawni): Change last parameter to be flag. Test
15972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15975 * posix/spawni.c: Likewise.
15976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15977 * posix/spawnp.c: Likewise. Change normal version to use
15978 SPAWN_XFLAGS_USE_PATH.
15979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15980 SPAWN_XFLAGS_TRY_SHELL.
15981
d48e5868
UD
15982 [BZ #13150]
15983 * posix/glob.h: Remove gcc 1.x support.
15984
554881ef
UD
15985 [BZ #13068]
15986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15987
693fb948
LD
159882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15989
15990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15992 strrchr-sse2-bsf
15993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15999
1b48c537
UD
160002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16001
49d42c37
UD
16002 * sysdeps/x86_64/wcscmp.S: New file.
16003
1b48c537
UD
16004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16005 wcscmp-c wcscmp-sse2
16006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16009 * wcsmbs/wcscmp.c: Allow renaming.
16010
15c95c5d
DM
160112011-09-05 David S. Miller <davem@davemloft.net>
16012
16013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16014 stack slot, rather than the struct return pointer slot.
16015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16019
2f0ad8f3
UD
160202011-09-05 Ulrich Drepper <drepper@gmail.com>
16021
d88ae418
UD
16022 * po/ja.po: Update from translation team.
16023
2f0ad8f3
UD
16024 [BZ #13144]
16025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16026 kernel in 64-bit binaries.
16027
5f4318d1
DM
160282011-09-01 David S. Miller <davem@davemloft.net>
16029
16030 * elf/elf.h (HWCAP_SPARC_*): Move to..
16031 * sysdeps/sparc/sysdep.h: this new file and add new values.
16032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16034 _DL_HWCAP_COUNT to 24.
16035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16036 entries.
16037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16041 instead of magic constants.
16042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16043
3ba57516
DM
160442011-08-31 David S. Miller <davem@davemloft.net>
16045
16046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16048 Reimplement to do errno handling inline.
16049 (SYSCALL_ERROR_HANDLER): New macro.
16050 (__SYSCALL_STRING): Do not do errno handling in asm.
16051 (__CLONE_SYSCALL_STRING): Delete.
16052 (__INTERNAL_SYSCALL_STRING): Delete.
16053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16055 (PSEUDO): Reimplement to do errno handling inline.
16056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16057 (SYSCALL_ERROR_HANDLER): New macro.
16058 (__SYSCALL_STRING): Do not do errno handling in asm.
16059 (__CLONE_SYSCALL_STRING): Delete.
16060 (__INTERNAL_SYSCALL_STRING): Delete.
16061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16063 i386.
16064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16065 (inline_syscall*): Add 'err' argument.
16066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16070
16071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16073
2bc17433
AS
160742011-08-30 Andreas Schwab <schwab@redhat.com>
16075
16076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16077
fbeb5f4d
JO
160782011-08-29 Jiri Olsa <jolsa@redhat.com>
16079
16080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16081 directive.
16082
ad69cc26
DM
160832011-08-24 David S. Miller <davem@davemloft.net>
16084
16085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16086
39dd69df
AS
160872011-08-24 Andreas Schwab <schwab@redhat.com>
16088
16089 * elf/Makefile: Add rules to build and run unload8 test.
16090 * elf/unload8.c: New file.
16091 * elf/unload8mod1.c: New file.
16092 * elf/unload8mod1x.c: New file.
16093 * elf/unload8mod2.c: New file.
16094 * elf/unload8mod3.c: New file.
16095
16096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16097 it wasn't used.
16098
2c0b250a
DM
160992011-08-23 David S. Miller <davem@davemloft.net>
16100
16101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16102 subtract stack bias.
16103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16104 %sp not %fp in calculations.
16105 (_JMPBUF_UNWINDS_ADJ): Likewise.
16106
22044b48
DM
16107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16108 (aio_suspend): Call it to force an exception region around the
16109 AIO_MISC_WAIT() invocation.
16110
2cae4995
AS
161112011-08-23 Andreas Schwab <schwab@redhat.com>
16112
16113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16114 backslash.
16115
873a772e
AJ
161162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16117
16118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16119 protection macro.
16120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16121 and <dl-machine.h>.
16122 (Elf64_FuncDesc): Remove.
16123
25ad0df1
DM
161242011-08-22 David S. Miller <davem@davemloft.net>
16125
16126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16127 sigaltstack check, add missing cfi directives.
16128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16129 missing cfi directives, and sigaltstack handling.
16130
e888bcbe
AS
161312011-08-16 Andreas Schwab <schwab@redhat.com>
16132
16133 [BZ #11724]
16134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16135 object is seen twice.
16136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16137
16138 * elf/Makefile (distribute): Add tst-initorder2.c.
16139 (tests): Add tst-initorder2.
16140 (modules-names): Add tst-initorder2a tst-initorder2b
16141 tst-initorder2c tst-initorder2d. Add rules to build them.
16142 ($(objpfx)tst-initorder2.out): New rule.
16143 * elf/tst-initorder2.c: New file.
16144 * elf/tst-initorder2.exp: New file.
16145
87162f46
AS
161462011-08-22 Andreas Schwab <schwab@redhat.com>
16147
70538b7f
AS
16148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16149
f55ffe58
AS
16150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16151 dependencies back to end of function.
16152
87162f46
AS
16153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16154 $(elfobjdir)/ld.so.
16155
91b392a4
UD
161562011-08-21 Ulrich Drepper <drepper@gmail.com>
16157
16158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16163 of __vdso_gettimeofday.
16164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16166 attribute_hidden.
16167 (_libc_vdso_platform_setup): Remove initialization of
16168 __vdso_gettimeofday and __vdso_time.
16169
5c43483f
UD
161702011-08-20 Ulrich Drepper <drepper@gmail.com>
16171
775a77e7
UD
16172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16173 and fgetc_unlocked.
16174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16175 getc_unlocked.
89f447ed 16176
49c74ba9
UD
16177 * elf/dl-open.c (add_to_global): Report additions to the global scope
16178 for LD_DEBUG=scopes.
16179 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16180 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16181
5c43483f
UD
16182 [BZ #13114]
16183 * stdio-common/Makefile (tests): Add bug24.
16184 * stdio-common/bug24.c: New file.
16185
a101b025
AJ
161862011-08-19 Andreas Jaeger <aj@suse.de>
16187
16188 [BZ #13114]
16189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16190 non-existant file when using close-on-exec mode.
16191
c88f1766
UD
161922011-08-20 Ulrich Drepper <drepper@gmail.com>
16193
0276a718
UD
16194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16195 the very first instruction.
16196
c88f1766
UD
16197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16198 the CFI state in the end.
16199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16200 inclusion of dl-trampoline.h.
16201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16202
51ccffa0
AS
162032011-08-19 Andreas Schwab <schwab@redhat.com>
16204
94d7165f
AS
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16206 expectations for long double.
16207
51ccffa0
AS
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16210
fd708658 162112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16212
16213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16214 artificual limit depends upon the system page size.
16215
44f0a71e
UD
162162011-08-17 Ulrich Drepper <drepper@gmail.com>
16217
16218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16219 * resolv/Makefile: Define CFLAGS-libresolv.
16220
8de79a24
AS
162212011-08-17 Andreas Schwab <schwab@redhat.com>
16222
16223 * nss/makedb.c (compute_tables): Make variables used in nested
16224 function static.
16225
27724598
UD
162262011-08-17 Ulrich Drepper <drepper@gmail.com>
16227
c5305d88
UD
16228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16230 if buffer was too small.
16231
27724598
UD
16232 * elf/pldd.c (main): Attach to all threads in the process.
16233 Rewrite /proc handling to use *at functions.
16234
076fe015
UD
162352011-08-16 Ulrich Drepper <drepper@gmail.com>
16236
174baab3
UD
16237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16238 specifies first scope to show.
16239 (dl_open_worker): Update callers. Move printing scope of new
16240 object to before the relocation.
44f0a71e 16241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16242 * sysdeps/generic/ldsodefs.h: Update declaration.
16243
076fe015
UD
16244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16245 string for the scope number.
16246
a60df2c3
UD
162472011-08-14 Ulrich Drepper <drepper@gmail.com>
16248
16249 * nscd/servicescache.c (cache_addserv): Make sure written is always
16250 initialized.
16251
5e4287d1
RM
162522011-08-14 Roland McGrath <roland@hack.frob.com>
16253
85ae0589
RM
16254 * sysdeps/i386/i486/bits/atomic.h
16255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16256 statement expression, so as to suppress "set but not used" warning.
16257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16258
69f63097
RM
16259 * string/strncat.c (STRNCAT): Use prototype definition.
16260
675456ef
RM
16261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16263 -Iprograms here.
16264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16265 (localedef-modules): Add localedef.
16266 (locale-modules): Add locale.
16267
5e4287d1
RM
16268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16270 to avoid a warning.
16271
9c96ff23
DM
162722011-08-14 David S. Miller <davem@davemloft.net>
16273
16274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16276
f9ddf089
UD
162772011-08-13 Ulrich Drepper <drepper@gmail.com>
16278
44f0a71e 16279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16281 * elf/rtld.c (dl_main): Set l_name of vDSO.
16282 Call _dl_show_scope when DL_DEBUG_SCOPES.
16283 (process_dl_debug): Recognize scopes flag and also set it for all.
16284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16285 Declare _dl_show_scope.
16286
1dc27704
UD
16287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16288 (do_dlopen): Pass caller_dlopen to dl_open.
16289 (__libc_dlopen_mode): Initialize caller_dlopen.
16290
f9ddf089
UD
16291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16292 of libc. Make tolower call locale-independent. Optimize a bit by
16293 using isdigit instead of isalnum.
16294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16295
9ac533d3
UD
162962011-08-12 Ulrich Drepper <drepper@gmail.com>
16297
16298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16299 was a dependency or dynamically loaded.
16300
89edf2e9
UD
163012011-08-11 Ulrich Drepper <drepper@gmail.com>
16302
8e999d29
UD
16303 * intl/l10nflist.c: Allow architecture-specific pop function.
16304 * sysdeps/x86_64/l10nflist.c: New file.
16305
89edf2e9
UD
16306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16307 classification.
16308
14d96785
AS
163092011-08-10 Andreas Schwab <schwab@redhat.com>
16310
16311 * include/dirent.h: Add libc_hidden_proto for scandirat and
16312 scandirat64. Don't declare __scandirat64.
16313 * dirent/scandirat.c: Add libc_hidden_def.
16314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16316
6761ac04
DM
163172011-08-10 David S. Miller <davem@davemloft.net>
16318
16319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16320 enum.
16321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16324
c55fbd1e
UD
163252011-08-09 Ulrich Drepper <drepper@gmail.com>
16326
16327 * Versions.def [libc]: Add GLIBC_2.15.
16328 * dirent/Makefile (routines): Add scandirat and scandirat64.
16329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16330 GLIBC_2.15.
16331 * dirent/dirent.h: Declare scandirat and scandirat64.
16332 * dirent/scandirat.c: New file.
16333 * dirent/scandirat64.c: New file.
16334 * sysdeps/wordsize-64/scandirat.c: New file.
16335 * sysdeps/wordsize-64/scandirat64.c: New file.
16336 * dirent/opendir.c: Define opendirat.
16337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16338 using scandirat.
16339 * dirent/scandir64.c: Adjust for scandir.c change.
16340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16341 __scandirat64, and __scandir_cancel_handler.
16342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16343 additional parameter and use openat instead of open (outside of ld.so).
16344 Add new __opendir as wrapper around __opendirat.
16345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16346 here without requiring old scandirat implementation.
16347
879165f2
UD
163482011-08-08 Ulrich Drepper <drepper@gmail.com>
16349
16350 * dirent/scandir.c (cancel_handler): Renamed to
16351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16352 defined. Adjust users.
16353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16355
cb7e923b
UD
163562011-08-04 Ulrich Drepper <drepper@gmail.com>
16357
16292edd
UD
16358 * string/test-string.h (IMPL): Use __STRING to expand name and then
16359 stringify it.
16360
cb7e923b
UD
16361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16362 of cleanups.
16363
cff82933
LD
163642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16365
16366 * string/Makefile: Update.
16367 (strop-tests): Append strncat.
16368 * string/test-wcscmp.c: New file.
16369 New comprehensive test for wcscmp.
16370 * string/test-strcmp.c: Update.
16371 (WIDE): New define.
16372
9be9bfcc
AS
163732011-07-22 Andreas Schwab <schwab@redhat.com>
16374
16375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16376 line.
16377
2e96f1c7
AS
163782011-07-26 Andreas Schwab <schwab@redhat.com>
16379
16380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16381 encoding to ACE if AI_IDN.
16382
85188888
JJ
163832011-08-01 Jakub Jelinek <jakub@redhat.com>
16384
16385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16387
5fa16e9b
LD
163882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16389
16390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16391 Fix overflow bug in strncat.
16392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16393
16394 * string/test-strncat.c: Update.
16395 Add new tests for checking overflow bugs.
16396
163972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16398
16399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16408
16409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16410 (USE_AS_STRCAT): Define.
16411 Add strcat and strncat support.
16412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16413
8c1a459f
AS
164142011-07-25 Andreas Schwab <schwab@redhat.com>
16415
16416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16417 __n bigger than INT_MAX+1.
16418 (__strncmp_g): Likewise.
16419
bba33c28
UD
164202011-07-23 Ulrich Drepper <drepper@gmail.com>
16421
798be72d
UD
16422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16423 * libio/stido.h: Likewise.
16424
8accd4dc
UD
16425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16426 (AF_NFC): Define.
16427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16428 (AF_NFC): Define.
16429
cbff0d96
UD
16430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16435
9191c04a
UD
16436 [BZ #13021]
16437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16438 installed.
16439
bba33c28
UD
16440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16441 typo.
16442 (_dl_x86_64_save_sse): Likewise.
16443
90f139dd
UD
164442011-07-22 Ulrich Drepper <drepper@gmail.com>
16445
1aae088a
UD
16446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16447 OSXSAVE.
16448 (_dl_x86_64_save_sse): Likewise.
16449
8e2045f5
UD
16450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16451
90f139dd
UD
16452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16453
1d002f25
AS
164542011-07-21 Andreas Schwab <schwab@redhat.com>
16455
16456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16457 change.
16458 (_dl_x86_64_save_sse): Use correct AVX check.
16459
21137f89
UD
164602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16461
16462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16463 bug in strncpy/strncat.
16464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16465
a65c0b7a
UD
164662011-07-21 Ulrich Drepper <drepper@gmail.com>
16467
16468 * string/tester.c (test_strcat): Add tests for different alignments
16469 of source and destination.
16470 (test_strncat): Likewise.
16471
6986b98a
UD
164722011-07-20 Ulrich Drepper <drepper@gmail.com>
16473
90bb2039
UD
16474 [BZ #12852]
16475 * posix/glob.c (glob): Check passed in values before using them in
16476 expressions to avoid some overflows.
16477 (glob_in_dir): Likewise.
16478
5644ef54
UD
16479 [BZ #13007]
16480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16481 check for AVX enablement so that we don't crash with old kernels and
16482 new hardware.
16483 * elf/tst-audit4.c: Add same checks here.
16484 * elf/tst-audit6.c: Likewise.
16485
16486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16487
bfc9dc9b
AS
164882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16489
16490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16491
702e64bb
UD
164922011-07-20 Ulrich Drepper <drepper@gmail.com>
16493
16494 * po/cs.po: Update from translation team.
16495 * po/bg.po: Likewise.
16496
295e904f
MP
164972011-07-12 Marek Polacek <mpolacek@redhat.com>
16498
16499 * misc/sys/cdefs.h: Add support for const attribute.
16500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16501 to gnu_dev_{major,minor,makedev} functions.
16502
3ff94596
MP
165032011-07-20 Marek Polacek <mpolacek@redhat.com>
16504
16505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16506
28b59fca
AS
165072011-07-20 Andreas Schwab <schwab@redhat.com>
16508
16509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16510 strlen results.
16511
19df733e
AK
165122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16513
16514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16516 register in order to avoid conflicts with the soft frame pointer
16517 being held in r11 when necessary.
16518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16519 (INTERNAL_VSYSCALL_NCS): Likewise.
16520
c8835729
MP
165212011-07-14 Marek Polacek <mpolacek@redhat.com>
16522
16523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16524 * elf/dl-fini.c (_dl_fini): Adjust caller.
16525 * elf/dl-close.c (_dl_close_worker): Likewise.
16526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16527
b902330c
MP
165282011-07-15 Marek Polacek <mpolacek@redhat.com>
16529
8991e135
MP
16530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16531 "aux_cache->nlibs < 0".
16532
b902330c
MP
16533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16534 in the reload-count case.
16535
99710781
LD
165362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16537
16538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16542 * sysdeps/x86_64/multiarch/strcat.S: New file.
16543 * sysdeps/x86_64/multiarch/strncat.S: New file.
16544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16549 (USE_AS_STRCAT): Define.
16550 Add strcat and strncat support.
16551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16554 * string/strncat.c: Update.
16555 (USE_AS_STRNCAT): Define.
16556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16558 and i7.
16559 * sysdeps/x86_64/multiarch/init-arch.h
16560 (bit_Prefer_PMINUB_for_stringop): New.
16561 (index_Prefer_PMINUB_for_stringop): Likewise.
16562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16563 bit_Prefer_PMINUB_for_stringop.
16564
7dc6bd90
UD
165652011-07-19 Ulrich Drepper <drepper@gmail.com>
16566
16567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16568 buffer64.
16569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16570 of casting of buffer.
16571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16572 buffer32 and buffer64.
16573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16574 writes instead of casting of buffer.
16575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16576 buffer32.
16577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16578 casting of buffer.
16579
e0e72284
AS
165802011-07-19 Andreas Schwab <schwab@redhat.com>
16581
16582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16583
feb1eb0b
UD
165842011-07-19 Ulrich Drepper <drepper@gmail.com>
16585
16586 * nscd/nscd.c (termination_handler): Don't do anything for a database
16587 if it has not yet been initialized.
16588
298711ff
UD
165892011-07-18 Ulrich Drepper <drepper@gmail.com>
16590
16591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16592
165932011-07-15 Marek Polacek <mpolacek@redhat.com>
16594
16595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16596
f9d68389
UD
165972011-07-18 Ulrich Drepper <drepper@gmail.com>
16598
16599 * po/nl.po: Update from translation team.
16600 * po/sv.po: Likewise.
16601
db290cf5
RM
166022011-07-16 Roland McGrath <roland@hack.frob.com>
16603
16604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16605 now disallowed by GCC.
5c550700 16606
fd5e21c7
RM
16607 * configure.in (use-default-link): Default to yes if a test -shared
16608 link meets our qualifications.
16609 * configure: Regenerated.
16610
5c550700
RM
16611 * config.make.in (output-format): New variable.
16612 * configure.in: Check for ld --print-output-format support.
16613 * configure: Regenerated.
16614 * Makerules ($(common-objpfx)format.lds)
16615 [$(output-format) != unknown]: Just use $(output-format),
16616 instead of the linker-script munging.
16617
9fa2c032
RM
166182011-07-14 Roland McGrath <roland@hack.frob.com>
16619
a6928d51
RM
16620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16621 of $(common-objpfx)shlib.lds.
16622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16623
661607b3
RM
16624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16626
9fa2c032
RM
16627 * configure.in (-z relro check): Adjust test code to add a large
16628 writable data section after it.
16629 * configure: Regenerated.
16630
defe9061
RM
166312011-07-11 Roland McGrath <roland@hack.frob.com>
16632
16633 * configure.in (-z relro check): Fix test code to make the variable
16634 truly const.
16635 * configure: Regenerated.
16636
319b9ad4
UD
166372011-07-11 Ulrich Drepper <drepper@gmail.com>
16638
16639 * nscd/nscd.h (struct traced_file): Define.
16640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16641 elements. Add traced_files.
16642 (inotify_fd): Declare.
16643 (register_traced_file): Declare.
16644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16645 (inotify_fd): Export.
16646 (resolv_conf_descr): Remove.
16647 (nscd_init): Move inotify descriptor creation to main.
16648 Don't register files for notification here.
16649 (register_traced_file): New function.
16650 (invalidate_cache): Don't use reset_res to determine whether to call
16651 res_init, go through the list of registered files.
16652 (main_loop_poll): The inotify descriptors are now stored in the
16653 structures for the traced files.
16654 (main_loop_epoll): Likewise
16655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16656 to __nss_disable_nscd.
16657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16658 for a database anymore. Check the records for all the registered
16659 files instead.
16660 * nss/Makefile (libnss_files-routines): Add files-init.
16661 (libnss_db-routines): Add db-init.
16662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16664 * nss/nss_db/db-init.c: New file.
16665 * nss/nss_files/files-init.c: New file.
16666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16667 __nss_lookup_function.
16668 (__nss_lookup_function): Call nss_load_library.
16669 (nss_load_all_libraries): New function.
16670 (__nss_disable_nscd): Take parameter with callback function for files
16671 to register. Set is_nscd. Load all the DSOs for the NSS modules
16672 used for the cached services.
16673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16675 options for features to all the files in nscd.
16676
16677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16678
23bee3e8
RM
166792011-07-10 Roland McGrath <roland@hack.frob.com>
16680
16681 * csu/elf-init.c (__libc_csu_init): Comment typo.
16682
46a5b7f0
UD
166832011-07-09 Ulrich Drepper <drepper@gmail.com>
16684
16685 * po/pl.po: Update from translation team.
16686 * po/ja.po: Likewise.
16687 * po/ru.po: Likewise.
16688 * po/ko.po: Likewise.
16689 * po/fr.po: Likewise.
16690
d30cf5bb
RM
166912011-07-09 Roland McGrath <roland@hack.frob.com>
16692
113ddea4
RM
16693 * configure.in (.ctors/.dtors header and trailer check):
16694 Use an empirical test on a built program.
16695 * configure: Regenerated.
16696
574920b4
RM
16697 * configure.in (-z relro check): Use an empirical test on a built DSO.
16698 Detect, but do not require, on ia64.
16699 * configure: Regenerated.
16700
d30cf5bb
RM
16701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16702 Update tests that use readelf to use $READELF instead.
16703 * configure: Regenerated.
16704
8538fdb3
UD
167052011-07-08 Ulrich Drepper <drepper@gmail.com>
16706
16707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16708 if the result is not used.
16709
04d08991
AJ
167102011-07-05 Andreas Jaeger <aj@suse.de>
16711
16712 [BZ#9696]
16713 * stdlib/tst-strtod.c: Add testcase.
16714
de283087
AD
167152011-07-07 Ulrich Drepper <drepper@gmail.com>
16716
4e5f31c8 16717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16719 The latter has a higher limit. Take additional parameter to pass to
16720 the new function.
16721 (__pathconf): Pass file to __statfs_link_max.
16722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16723 __statfs_link_max.
16724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16725 __statfs_link_max.
16726
de283087
AD
16727 [BZ #12868]
16728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16730 Handle Lustre.
16731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16732 (__statfs_filesize_max): Likewise.
16733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16734
c75fa153
AJ
167352011-07-05 Andreas Jaeger <aj@suse.de>
16736
16737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16738
1a544854
UD
167392011-07-06 Marek Polacek <mpolacek@redhat.com>
16740
16741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16742 `status' variable.
16743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16744 Likewise.
16745
6f0eec67
UD
167462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16747
16748 * Makefile (strop-tests): Add strncat.
16749 * string/test-strncat.c: New file.
16750
aae30307
UD
167512011-06-30 Marek Polacek <mpolacek@redhat.com>
16752
16753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16754
c0cfb5eb
UD
167552011-06-21 Andreas Jaeger <aj@suse.de>
16756
16757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16758 Copy rule from iconvdata/Makefile.
16759
01636b21
UD
167602011-07-06 Ulrich Drepper <drepper@gmail.com>
16761
16762 [BZ #12922]
16763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16764 but no long options are defined, just return 'W'.
16765
9895c8bc
UD
167662011-06-22 Marek Polacek <mpolacek@redhat.com>
16767
16768 [BZ #9696]
16769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16770
5d4cf042
UD
167712011-07-06 Ulrich Drepper <drepper@gmail.com>
16772
16773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16774 netgroups to read.
960e5535 16775 (innetgr): Likewise.
5d4cf042 16776
751eb97e
RM
167772011-07-05 Roland McGrath <roland@hack.frob.com>
16778
16779 * config.make.in (install_root): Default to $(DESTDIR).
16780
f15f1e45
UD
167812011-07-05 Ulrich Drepper <drepper@gmail.com>
16782
16783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16784
4e34ac6a
RM
167852011-07-02 Roland McGrath <roland@hack.frob.com>
16786
5e9b6af4
RM
16787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16788
84f9ea0f
RM
16789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16790 containing directory rather than embedding absolute directory names.
16791
ea5ee9f7
RM
16792 * scripts/check-local-headers.sh: Rewritten using awk.
16793 Match by word, not by line. Print error messages for matches.
16794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16795
1b74661a
RM
16796 * Makerules [shlib-lds-flags empty]:
16797 ($(common-objpfx)libc_pic.opts): New target.
16798 ($(common-objpfx)libc_pic.os.clean): New target.
16799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16800
16801 * config.make.in (OBJCOPY): New variable.
16802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16803 * configure: Regenerated.
16804
f781ef40
RM
16805 * config.make.in (use-default-link): New variable.
16806 * configure.in (use_default_link): Grok --with-default-link to set it.
16807 * configure: Regenerated.
16808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16809 (shlib-lds, shlib-lds-flags): Define to empty.
16810
2d4fa81e
RM
16811 * Makerules (shlib-lds): New variable.
16812 (shlib-lds-flags): New variable.
16813 (build-shlib, build-moduile, build-module-asneeded): Use it.
16814 ($(common-objpfx)libc.so): Use $(shlib-lds).
16815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16817
31fffa6b
RM
16818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16819 DT_FLAGS/DT_FLAGS_1 with zero flags.
16820
4e34ac6a
RM
16821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16822 linker script munging.
16823
fcfc776b
UD
168242011-07-02 Ulrich Drepper <drepper@gmail.com>
16825
16826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16827 as 128-bit value.
16828 * crypt/sha512.c (sha512_process_block): Perform total addition using
16829 128-bit if possible.
16830 (__sha512_finish_ctx): Likewise.
16831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16832 as 64-bit value.
16833 * crypt/sha256.c (SWAP64): Define.
16834 (sha256_process_block): Perform total addition using 64-bit if
16835 possible.
16836 (__sha256_finish_ctx): Likewise.
16837
99231d9a
UD
168382011-07-01 Ulrich Drepper <drepper@gmail.com>
16839
16840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16842 * nscd/hstcache.c (cache_addhst): Likewise.
16843 * nscd/grpcache.c (cache_addgr): Likewise.
16844 * nscd/aicache.c (addhstaiX): Likewise
16845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16846
445b4a53
TK
168472011-07-01 Thorsten Kukuk <kukuk@suse.de>
16848
16849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16851 * nscd/hstcache.c (cache_addhst): Likewise.
16852 * nscd/grpcache.c (cache_addgr): Likewise.
16853 * nscd/aicache.c (addhstaiX): Likewise
16854
6d4d8e8e
AS
168552011-07-01 Andreas Schwab <schwab@redhat.com>
16856
16857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16858 domain only when needed.
16859
89f654c5
AS
168602011-06-30 Andreas Schwab <schwab@redhat.com>
16861
16862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16863 is always restored.
16864
cf3b23ff
UD
168652011-06-29 Ulrich Drepper <drepper@gmail.com>
16866
16867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16868 are re-adding the entry.
16869 * nscd/servicescache.c (cache_addserv): Likewise.
16870
751626f9
AJ
168712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16872
16873 * sysdeps/generic/dl-irel.h: fix protection against multiple
16874 inclusions.
16875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16876
9113ea1f
UD
168772011-06-28 Ulrich Drepper <drepper@gmail.com>
16878
5c0b8d90
UD
16879 [BZ #12935]
16880 * malloc/memusage.sh: Fix quoting in message.
16881 * debug/xtrace.sh: Likewise.
16882
9113ea1f
UD
16883 * configure.in: Remove support for --experimental-malloc option, make
16884 it the default.
16885 * config.make.in: Likewise.
16886 * malloc/Makefile: Likewise.
16887
a4172181
AS
168882011-06-27 Andreas Schwab <schwab@redhat.com>
16889
16890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16891 two-byte characters.
16892
78a7eee7
RM
168932011-06-27 Roland McGrath <roland@hack.frob.com>
16894
62bede13
RM
16895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16896 AC_CACHE_CHECK invocation.
16897 * configure: Regenerated.
16898
78a7eee7
RM
16899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16900
5ce33a62
UD
169012011-06-27 Ulrich Drepper <drepper@gmail.com>
16902
034807a9
UD
16903 [BZ #12350]
16904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16905 bit from old_res_options.
16906
4902da17
UD
16907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16908
5ce33a62
UD
16909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16910 value type for setfct.
16911
c2344f56
L
169122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16915 __gettimeofday instead of gettimeofday.
16916
68468076
UD
169172011-06-26 Ulrich Drepper <drepper@gmail.com>
16918
16919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16920
acb0d739
L
169212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16924
16925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16926 info.
16927
8912479f
L
169282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16929
16930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16932 strcpy-sse2-unaligned strncpy-sse2-unaligned
16933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16943 (STRCPY): Support SSE2 and SSSE3 versions.
16944
d5495a11
UD
169452011-06-24 Ulrich Drepper <drepper@gmail.com>
16946
16947 [BZ #12874]
16948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16950 kernels which artificially limit size of requests.
16951
0b1cbaae
L
169522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16953
16954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16970 Enable unaligned load optimization for Intel Core i3, i5 and i7
16971 processors.
16972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16973 Define.
16974 (index_Fast_Unaligned_Load): Define.
16975 (HAS_FAST_UNALIGNED_LOAD): Define.
16976
07f494a0
MP
169772011-06-23 Marek Polacek <mpolacek@redhat.com>
16978
16979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16980
fa3fc0fe
UD
169812011-06-22 Ulrich Drepper <drepper@gmail.com>
16982
16983 [BZ #12907]
16984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16985 until it is clear that the information is realy needed.
16986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16987
e12df166
AS
169882011-06-22 Andreas Schwab <schwab@redhat.com>
16989
16990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16991
852eb34d
UD
169922011-06-22 Ulrich Drepper <drepper@gmail.com>
16993
84e2a551
UD
16994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16995 /sys/devices/system/cpu/online if it is usable.
16996
852eb34d
UD
16997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16998 reading the information from the /proc filesystem to once a second.
16999
6e502e19
UD
170002011-06-21 Andreas Jaeger <aj@suse.de>
17001
17002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17003 NULL after inclusion of kernel headers.
17004
75d39ff2
UD
170052011-06-21 Ulrich Drepper <drepper@gmail.com>
17006
51f9aa6a
UD
17007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17008 calls to internal_setent.
17009
c0244a9d
UD
17010 [BZ #12885]
17011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17012 addresses using gethostbyname4_r ignore IPv4 addresses.
17013
c5e3c2ae
UD
17014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17016
75d39ff2
UD
17017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17018
42675c6f
DM
170192011-06-20 David S. Miller <davem@davemloft.net>
17020
17021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17022 inclusions.
17023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17024
17025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17026 (elf_irel): Use it.
17027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17031 * sysdeps/x86_64/dl-irel.h: Likewise.
17032
17033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17034 * elf/dl-sym.c: Likewise.
17035
57912a71
UD
170362011-06-15 Ulrich Drepper <drepper@gmail.com>
17037
17038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17039 need to dereference resplen2.
17040
ee22793d
AS
170412011-06-14 Andreas Schwab <schwab@redhat.com>
17042
17043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17044
a9e836b0
UD
170452011-06-15 Ulrich Drepper <drepper@gmail.com>
17046
77fb9117
UD
17047 * Makeconfig: Define vardbdir and inst_vardbdir.
17048 * nss/Makefile: Add rules to install db-Makefile.
17049
40c1b22c
UD
17050 * nss/nss_db/db-XXX.c: Cleanup.
17051
9f2da732
UD
17052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17054 GLIBC_PRIVATE.
17055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17056 * nss/makedb.c: Implement -g option to specify that value strings
17057 are generated and should not be added to table iterated over for
17058 get*ent calls.
17059 * nss/nss_db/db-initgroups.c: New file.
17060
82e9a1f7
UD
17061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17062 interface.
17063
c41af17e
UD
17064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17065 (internal_getgrouplist): Adjust to name change.
17066 Update use_initgroups_entry if this is not the first call.
17067 * nss/databases.def: Add initgroups entry.
17068
a9e836b0
UD
17069 * nss/makedb.c (compute_tables): Check result of multiple hash table
17070 sizes to minimize maximum chain length.
17071
2666d441
UD
170722011-06-14 Ulrich Drepper <drepper@gmail.com>
17073
17074 * Versions.def: Add entry for libnss_db.
17075 * shlib-versions: Likewise.
17076 * nss/Makefile: Add rules to build libnss_db.
17077 * nss/Versions: Add libnss_db information. Organize libnss_files
17078 entries better.
17079 * nss/db-Makefile: Add gshadow support. Change rules for the new
17080 makedb progra. Some minor improvements to generate smaller files.
17081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17082 here from...
17083 * nss/makedb.c: ...here.
17084 Improve database format to be smaller and require less memory at
17085 runtime.
17086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17087 db anymore.
17088 * nss/nss_db/db-netgrp.c: Likewise.
17089 * nss/nss_db/db-open.c: Likewise.
17090 * nss/nss_files/flies-XXX.x: Adjust comments.
17091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17092 * nss/nss_files/files-grp.c: Likewise.
17093 * nss/nss_files/files-hosts.c: Likewise.
17094 * nss/nss_files/files-network.c: Likewise.
17095 * nss/nss_files/files-proto.c: Likewise.
17096 * nss/nss_files/files-pwd.c: Likewise.
17097 * nss/nss_files/files-rpc.c: Likewise.
17098 * nss/nss_files/files-service.c: Likewise.
17099 * nss/nss_files/files-sgrp.c: Likewise.
17100 * nss/nss_files/files-spwd.c: Likewise.
17101 * nss/nss_db/db-alias.c: Removed.
17102 * nss/nss_db/dummy-db.h: Removed.
17103
9ee76b5a
UD
171042011-06-02 Ulrich Drepper <drepper@gmail.com>
17105
17106 * nss/makedb.c: Rewritten to not use database library.
17107 * nss/Makefile: Update to build new makedb program.
17108
c71ca1f8
AJ
171092011-06-14 Andreas Jaeger <aj@suse.de>
17110
17111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17112 memset declaration.
17113
3154bfb8
UD
171142011-06-10 Andreas Schwab <schwab@redhat.com>
17115
17116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17117 tmpbuf.
17118
b350afab
RM
171192011-06-10 Roland McGrath <roland@hack.frob.com>
17120
decd4e50
RM
17121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17122 * elf/Makefile ($(objpfx)ld.so): Likewise.
17123
5615eaf2
RM
17124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17125 Don't list ld.so twice in dependencies.
17126
17127 * posix/bug-regex31.c: Include <stdlib.h>.
17128
17129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17130
17131 * nis/nss_compat/compat-spwd.c
17132 (getspent_next_nss_netgr): Remove unused variable.
17133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17134
17135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17136 nonmembers" output to use the right array.
17137
17138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17139
17140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17141
17142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17144 * catgets/gencat.c (read_input_file): Likewise.
17145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17146
17147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17148 variable definition inside #if's controlling its use.
17149
17150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17151
17152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17153
17154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17155
17156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17157 unreachable code.
17158
17159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17160
b68e08db
RM
17161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17162 * configure: Regenerated.
17163
b350afab
RM
17164 * Makerules: Revert last change.
17165 * elf/Makefile: Likewise.
17166
28368601
RM
171672011-06-09 Roland McGrath <roland@hack.frob.com>
17168
17169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17171 (reloc-link): Likewise.
17172
11988f8f
UD
171732011-06-09 Ulrich Drepper <drepper@gmail.com>
17174
17175 * elf/Makefile: Add rules to build pldd.
17176 * elf/pldd.c: New file.
17177 * elf/pldd-xx.c: New file.
17178
e80fab37
UD
171792011-06-07 Ulrich Drepper <drepper@gmail.com>
17180
17181 * version.h: Update for 2.15 development version.
17182
9b849836
DM
171832011-06-07 David S. Miller <davem@davemloft.net>
17184
17185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17186 ifuncs.
17187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17188 elf_machine_lazy_rel): Likewise.
17189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17191 elf_machine_lazy_rel): Likewise.
17192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17193 dl_hwcap via passed in argument.
17194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17195 Likewise.
17196
5a31b283
AK
171972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17198
17199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17200
069e52f8
RM
172012011-06-06 Roland McGrath <roland@hack.frob.com>
17202
17203 [BZ #12849]
17204 * manual/fdl-1.1.texi: New file, verbatim from:
17205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17206 * manual/lgpl-2.1.texi: New file, verbatim from:
17207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17208 * manual/Makefile (licenses): New variable, list those new file names.
17209 (texis): Use it.
17210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17211
17212 * manual/fdl.texi: File removed.
17213 * manual/lesser.texi: File removed.
17214 * manual/libc.texinfo (Copying, Documentation License):
17215 Use new @include file names, put @appendix directive before @include.
17216
f16846a5
JJ
172172011-06-04 Jakub Jelinek <jakub@redhat.com>
17218
17219 [BZ #12841]
17220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17222 (mq_open): Add __NTH.
17223
3d29045b
L
172242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17225
17226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17227 Assume Intel Core i3/i5/i7 processor if AVX is available.
17228
8c297311
UD
172292011-05-31 Ulrich Drepper <drepper@gmail.com>
17230
17231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17232 typo.
17233
c8fc0c91
UD
172342011-05-31 Andreas Schwab <schwab@redhat.com>
17235
17236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17237 memory. Use alloca_account. Fix memory leak when retrying.
17238
5b27a807
UD
172392011-05-31 Ulrich Drepper <drepper@gmail.com>
17240
356f8bc6
UD
17241 * version.h (RELEASE): Bump for 2.14 release.
17242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17243
5b27a807
UD
17244 * config.make.in (RANLIB): Remove entry.
17245
01f16ab0
UD
172462011-05-30 Ulrich Drepper <drepper@gmail.com>
17247
41fce8bd
UD
17248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17249 (libc.pot): Work around missing support for .ksh extension in xgettext.
17250
4769ae77
UD
17251 [BZ #12684]
17252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17253 if both request failed.
17254 (send_dg): In case of server errors clear resplen or *resplen2.
17255
6b1e7d19
UD
17256 [BZ #12454]
17257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17258 when there are multiple maps.
17259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17260 (_dl_fini): Remove test here.
17261
01f16ab0
UD
17262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17263
b1ebd700
UD
172642011-05-29 Ulrich Drepper <drepper@gmail.com>
17265
7ae22829
UD
17266 [BZ #12350]
17267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17268 bit from old_res_options.
17269 (gaih_inet): Likewise.
17270
553149f6 17271 [BZ #11099]
18a84741 17272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17273 as signed.
17274
652ffab1
UD
17275 * resolv/res_init.c (res_setoptions): Make the code more compact.
17276
16985fd0
UD
17277 [BZ #11558]
17278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17279 set RES_USEVC.
17280
0464f746
UD
17281 [BZ #11634]
17282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17283
7d17596c
UD
17284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17285
cf6bbbd7
UD
17286 [BZ #11781]
17287 * malloc/malloc.h: Declare malloc hook variables as volatile.
17288
13f1ab36
UD
17289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17290 in last patch.
17291
b1ebd700
UD
17292 [BZ #11799]
17293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17294 raise in the comment.
80e2212d
UD
17295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17298
ce67228d
UD
172992011-05-28 Ulrich Drepper <drepper@gmail.com>
17300
8887a920
UD
17301 [BZ #12811]
17302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17303 grow the buffers more if it already has to be sufficient.
17304 (build_wcs_upper_buffer): Likewise.
17305 * posix/regexec.c (check_matching): Likewise.
17306 (clean_state_log_if_needed): Likewise.
17307 (extend_buffers): Don't enlarge buffers beyond size of the input
17308 buffer.
17309 Patches mostly by Emil Wojak <emil@wojak.eu>.
17310 * posix/bug-regex32.c: New file.
17311 * posix/Makefile (tests): Add bug-regex32.
17312
4f031072
UD
17313 * locale/findlocale.c (_nl_find_locale): Return right away if
17314 _nl_explode_name failed.
17315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17316
d0478f0c
UD
17317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17318
de81b246
UD
17319 * debug/xtrace.sh: Unify messages.
17320 * malloc/memusage.sh: Likewise.
17321
c738465a
UD
17322 [BZ #12813]
17323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17324 time symbol from vDSO. Substitute with vsyscall if not available.
17325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17326 __vdso_time.
17327
f1f929d7
UD
17328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17331 Add sendmmsg and internal_sendmmsg.
17332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17335
ce67228d
UD
17336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17339
e57420c6
UD
173402011-05-27 Ulrich Drepper <drepper@gmail.com>
17341
a8509ca5
UD
17342 [BZ #12813]
17343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17345 available.
17346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17347 __vdso_getcpu.
17348
e57420c6
UD
17349 [BZ #12814]
17350 * iconvdata/Makefile (tests): Add bug-iconv9.
17351 * iconvdata/bug-iconv9.c: New file.
17352
4d07db15
AS
173532011-05-27 Andreas Schwab <schwab@redhat.com>
17354
17355 [BZ #12814]
17356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17357
ea486f69
JJ
173582011-05-25 Jakub Jelinek <jakub@redhat.com>
17359
17360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17361 (struct user_regs_struct): Change intcs field back to cs.
17362
6f038433
UD
173632011-05-25 Ulrich Drepper <drepper@gmail.com>
17364
17365 * po/ja.po: Update from translation team.
17366
67f86a25
UD
173672011-05-23 Ulrich Drepper <drepper@gmail.com>
17368
17369 [BZ #12795]
17370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17372
def7fbd6
AS
173732011-05-20 Andreas Schwab <schwab@redhat.com>
17374
17375 * stdlib/longlong.h: Update from GCC.
17376
f50ef8f1
AS
173772011-05-23 Andreas Schwab <schwab@redhat.com>
17378
17379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17380 parameter name.
17381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17382 Add parameter name.
17383 (__sysconf): Pass it down.
17384
de7ce8f1
UD
173852011-05-22 Ulrich Drepper <drepper@gmail.com>
17386
f2962a71
UD
17387 [BZ #12671]
17388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17389 some situations.
17390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17392 add in in __libc_use_alloca calls. Adjust callers.
17393 (glob): Use malloc in some situations.
17394
de7ce8f1
UD
17395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17397 pltexit.
17398
aec84f53
UD
173992011-05-21 Ulrich Drepper <drepper@gmail.com>
17400
05bb4a68
UD
17401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17402 and CLOCK_BOOTTIME_ALARM.
17403
7ea72f99
UD
17404 [BZ #12782]
17405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17406 is returned.
17407
7e4afad5
UD
17408 * string/_strerror.c (__strerror_r): Print negative errors as signed
17409 numbers.
17410
8e211fec
UD
17411 [BZ #12777]
17412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17415
f7d82dc9
UD
17416 * configure.in: Fix typo in redirection and correct removal of test
17417 files in two cases.
17418
cc9e536d
UD
17419 [BZ #12788]
17420 * locale/setlocale.c (new_composite_name): Fix test to check for
17421 identical name of all categories.
17422
aec84f53
UD
17423 [BZ #12792]
17424 * libio/filedoalloc.c (local_isatty): New function.
17425 (_IO_file_doallocate): Use local_isatty.
17426 * stdio-common/perror.c (perror): In case a new stream is used
17427 forward the stream error.
17428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17429 error flag.
17430
78e64fdc
RT
174312011-05-20 Ulrich Drepper <drepper@gmail.com>
17432
34a9094f
UD
17433 [BZ #11869]
17434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17435 alloca.
17436 * include/alloca.h (extend_alloca_account): Define.
17437
78e64fdc
RT
17438 [BZ #11857]
17439 * posix/regex.h: Fix comments with documentation of user-accessible
17440 fields after compilation and describe correct free'ing of pattern
17441 after re_compile_pattern.
17442 Patch by Reuben Thomas <rrt@sc3d.org>.
17443
457bddfc
RA
174442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17445
17446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17447 and -mno-altivec to prevent the compiler from using Altivec and/or
17448 VSX instructions when the corresponding registers are not available.
17449
a4527b51
AS
174502011-05-19 Andreas Schwab <schwab@redhat.com>
17451
17452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17453
ed690b2f
UD
174542011-05-19 Ulrich Drepper <drepper@gmail.com>
17455
17456 * libio/freopen.c (freopen): Use __dup2, not dup2.
17457 * libio/freopen64.c (freopen64): Likewise.
17458
8db73634
L
174592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 [BZ #12775]
17462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17463 * math/Makefile (tests): Add test-powl.
17464 (CFLAGS-test-powl.c): Define.
17465 * math/test-powl.c: New file.
17466
0a197a9d
L
174672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17470
ee30c380
UD
174712011-05-17 Ulrich Drepper <drepper@gmail.com>
17472
17473 [BZ #11837]
17474 * iconvdata/gb18030.c: Update to GB18020-2005.
17475
6ce75379
UD
174762011-05-16 Ulrich Drepper <drepper@gmail.com>
17477
a4b89fd8
AR
17478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17480 Patch by Aharon Robbins <arnold@skeeve.com>.
17481
ea389b12
UD
17482 [BZ #11892]
17483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17484 on the stack.
17485
68a3f91f
UD
17486 [BZ #11895]
17487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17488 through underflows.
17489
15cc7dd1
UD
17490 [BZ #12766]
17491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17492 point to strings before performing equality test for error_one_per_line
17493 mode.
17494
f3799213
UD
17495 [BZ #11697]
17496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17497
d79a9c94
UD
17498 [BZ #11820]
17499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17500 (struct user_fpregs_struct): Avoid __uint*_t types.
17501
56e5eb46
UD
17502 [BZ #6420]
17503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17504 symbol info. Use it instead of calling _dl_addr locally.
17505 (lock_and_info): New function.
17506 (tr_freehook): Call lock_and_info and pass symbol info as additional
17507 parameter to tr_where.
17508 (tr_mallochook): Likewise.
17509 (tr_reallochook): Likewise.
17510 (tr_memalignhook): Likewise.
17511
6ce75379
UD
17512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17513 used and couldn't be at all thread-safe.
17514
f8a3b5bf
UD
175152011-05-15 Ulrich Drepper <drepper@gmail.com>
17516
94b7cc37
UD
17517 * libio/freopen.c (freopen): Don't close old file descriptor
17518 before the new one is opened. Instead dup the new file descriptor
17519 to the old one after the new stream is created.
17520 * libio/freopen64.c (freopen64): Likewise.
17521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17522 * libio/fileops.c (_IO_new_file_close_it): Handle new
17523 _IO_FLAGS2_NOCLOSE flag.
17524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17527 _IO_FLAGS2_NOCLOSE flag.
17528 * include/unistd.h: Add hidden_proto for dup3.
17529 Define __have_dup3.
17530 * io/dup3.c: Define hidden symbol.
17531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17532
bd25564e
UD
17533 [BZ #7101]
17534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17535 when an incomplete long option is used.
17536 * posix/tst-getopt_long1.c: New file.
17537 * posix/Makefile (tests): Add tst-getopt_long1.
17538
c84cfef4
UD
17539 [BZ #10138]
17540 * scripts/config.guess: Update from autoconf-2.68.
17541 * scripts/config.sub: Likewise.
17542
3b85df27
UD
17543 [BZ #10157]
17544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17545 tests into ...
17546 (has_cpuclock): ...this. New function.
17547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17548 macro here based on has_cpuclock code.
17549
15a856b1
UD
17550 [BZ #10149]
17551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17552 First byte (not low byte) is now always NUL.
17553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17554
05f399e6
UD
17555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17556 Use non-cancelable interfaces.
17557
10a52685 17558 [BZ #9809]
94ecc67d
UD
17559 * locale/iso-639.def: Add entry for Sorani.
17560
f8a3b5bf
UD
17561 [BZ #11901]
17562 * include/stdlib.h: Move include protection to the right place.
17563 Define abort_msg_s. Declare __abort_msg with it.
17564 * stdlib/abort.c (__abort_msg): Adjust type.
17565 * assert/assert.c (__assert_fail_base): New function. Majority
17566 of code from __assert_fail. Allocate memory for __abort_msg with
17567 mmap.
17568 (__assert_fail): Now call __assert_fail_base.
17569 * assert/assert-perr.c: Remove bulk of implementation. Use
17570 __assert_fail_base.
17571 * include/assert.hL Declare __assert_fail_base.
17572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17573 mmap.
17574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17575
1af4e298
UD
175762011-05-14 Ulrich Drepper <drepper@gmail.com>
17577
f8a3b5bf 17578 [BZ #11952]
d26dfc60
MG
17579 [BZ #12453]
17580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17581 until all modules are registered in the DTV.
17582 * elf/Makefile: Add rules to build and run tst-tls19.
17583 * elf/tst-tls19.c: New file.
17584 * elf/tst-tls19mod1.c: New file.
17585 * elf/tst-tls19mod2.c: New file.
17586 * elf/tst-tls19mod3.c: New file.
17587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17588
2fc54d6f
UD
17589 [BZ #12083]
17590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17591 correctly.
17592
98d76b46
UD
17593 [BZ #12601]
17594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17595 two-byte sequence errors.
17596 * iconvdata/Makefile (tests): Add bug-iconv8.
17597 * iconvdata/bug-iconv8.c: New file.
17598
da3c19ef
UD
17599 [BZ #12626]
17600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17601 buf2 definition.
17602
ca408c15
UD
17603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17604
d6f67f7d
UD
17605 [BZ #12432]
17606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17607 (dummy_getcfa): New function.
17608 (init): Get _Unwind_GetCFA address, use dummy if not found.
17609 (backtrace_helper): In recursion check, also check whether CFA changes.
17610 (__backtrace): Completely initialize arg.
17611
1af4e298 17612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17613 storing incomplete byte sequence in state object. Avoid testing for
17614 guaranteed too small input if we know there is enough data available.
1af4e298 17615
da62f81b
AS
176162011-05-11 Andreas Schwab <schwab@redhat.com>
17617
17618 * Makeconfig (+link-pie): Indent.
17619 * Rules (binaries-pie): Define if $(have-fpie) and
17620 $(build-shared).
17621 (binaries-shared): Also filter out $(binaries-pie).
17622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17623 * nscd/Makefile (others-pie): Add nscd.
17624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17625 ($(objpfx)nscd): Remove command override.
17626 * login/Makefile (others-pie): Add pt_chown.
17627 ($(objpfx)pt_chown): Remove command override.
17628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17629 remove command overrides.
17630
fcabc0f8
UD
176312011-05-13 Ulrich Drepper <drepper@gmail.com>
17632
20030ae6
UD
17633 * libio/tst_putwc.c: Fix error messages.
17634
fcabc0f8
UD
17635 [BZ #12724]
17636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17637 currently writing and seek to current position when not.
17638 * libio/Makefile (tests): Add bug-fclose1.
17639 * libio/bug-fclose1.c: New file.
17640
320a5dc0
PB
176412011-05-12 Ulrich Drepper <drepper@gmail.com>
17642
17643 [BZ #12511]
17644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17645 don't set DF_1_NODELETE here.
17646 (do_lookup_x): When entering new entry test for copy relocation
17647 and if necessary set DF_1_NODELETE flag.
17648 * elf/tst-unique4.cc: New file.
17649 * elf/tst-unique4.h: New file.
17650 * elf/tst-unique4lib.cc: New file.
17651 * elf/Makefile: Add rules to build and run tst-unique4.
17652 Patch by Piotr Bury <pbury@goahead.com>.
17653
22836f52
UD
176542011-05-11 Ulrich Drepper <drepper@gmail.com>
17655
f574184a
UD
17656 [BZ #12052]
17657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17658
e1fb097f
UD
17659 [BZ #12625]
17660 * misc/mntent_r.c (addmntent): Flush the stream after the output
17661
22836f52
UD
17662 [BZ #12393]
17663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17664 (is_trusted_path_normalize): Skip initial colon. Append slash
17665 to empty buffer. Duplicate is_trusted_path code but allow
17666 constructed patch to be prefix.
17667 (is_dst): Allow $ORIGIN followed by /.
17668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17669 Correct testing of result of is_trusted_path_normalize
17670 (decompose_rpath): Fix warning.
17671
7b3b0b2a
UD
176722011-05-10 Ulrich Drepper <drepper@gmail.com>
17673
17674 [BZ #11257]
17675 * grp/initgroups.c (internal_getgrouplist): When we found the service
17676 list through the initgroups entry in nsswitch.conf do not always
17677 continue on a successful lookup. Don't always use the
eac80ce2 17678 __nss_group_database value if it is set.
7b3b0b2a
UD
17679 * nss/nsswitch.conf (initgroups): Change action for successful db
17680 lookup to continue for compatibility.
17681
2a81eaa5
UD
176822011-05-09 Ulrich Drepper <drepper@gmail.com>
17683
be97a69e
UD
17684 [BZ #11532]
17685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17686 and CP774 modules.
17687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17688 and CP774 modules.
17689 * iconvdata/tst-tables.sh: Likewise.
17690 * iconvdata/cp770.c: New file.
17691 * iconvdata/cp771.c: New file.
17692 * iconvdata/cp772.c: New file.
17693 * iconvdata/cp773.c: New file.
17694 * iconvdata/cp774.c: New file.
17695 * iconvdata/testdata/CP770: New file.
17696 * iconvdata/testdata/CP770..UTF8: New file.
17697 * iconvdata/testdata/CP771: New file.
17698 * iconvdata/testdata/CP771..UTF8: New file.
17699 * iconvdata/testdata/CP772: New file.
17700 * iconvdata/testdata/CP772..UTF8: New file.
17701 * iconvdata/testdata/CP773: New file.
17702 * iconvdata/testdata/CP773..UTF8: New file.
17703 * iconvdata/testdata/CP774: New file.
17704 * iconvdata/testdata/CP774..UTF8: New file.
17705
17706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17707 END CHARMAP line.
17708 * iconvdata/gen-8bit-gap.sh: Likewise.
17709 * iconvdata/gen-8bit.sh: Likewise.
17710
c1e9e399
UD
17711 * locale/iso-639.def: Add ary entry.
17712
24c55fb3 17713 [BZ #11258]
96b4b1b0
UD
17714 * locale/C-translit.h.in: Add U20A1 transliteration.
17715
bdc2f971
KB
17716 [BZ #12178]
17717 * locale/iso-639.def: Add wae entry.
17718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17719
2952b117
UD
17720 [BZ #12545]
17721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17722 for n.
17723
2a81eaa5
UD
17724 [BZ #12711]
17725 * locale/C-translit.h.in: Add entry for U20B9.
17726 Patch by pravin.d.s@gmail.com.
17727
28377d1b
UD
177282011-05-08 Ulrich Drepper <drepper@gmail.com>
17729
7fb90fb8
UD
17730 [BZ #12713]
17731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17732 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17734 in rtld. Use *stat64.
7fb90fb8 17735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17742 __fstatat64 macros.
7fb90fb8
UD
17743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17744 * dirent/rewinddir.c: Add libc_hidden_def.
17745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17747
28377d1b
UD
17748 * include/dirent.h (__alloc_dir): Add flags parameter.
17749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17751 __alloc_dir.
17752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17753 from fdopendir if O_CLOEXEC is already set.
17754
66bdbaa4
AM
177552011-03-15 Alan Modra <amodra@gmail.com>
17756
17757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17758 l_tls_firstbyte_offset non-zero. Save padding offset in
17759 l_tls_firstbyte_offset for later use.
17760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17761 freeing static tls block.
17762
95721191
JN
177632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17764
17765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17766 where #ifdef was intended. The intent is to prevent ARG_MAX from
17767 being defined by the kernel headers.
17768
f87dfb1f
UD
177692011-05-07 Ulrich Drepper <drepper@gmail.com>
17770
17771 [BZ #12734]
17772 * resolv/resolv.h: Define RES_NOTLDQUERY.
17773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17774 no-tld-query and set RES_NOTLDQUERY.
17775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17777 modern BIND to search name as TLD unless forbidden.
17778
47c3cd7a
UD
177792011-05-07 Petr Baudis <pasky@suse.cz>
17780 Ulrich Drepper <drepper@gmail.com>
17781
17782 [BZ #12393]
17783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17784 (is_trusted_path): ...to here.
c1e9ea35 17785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17787 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17788
8a35c912
PP
177892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17790
17791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17792 __BEGIN/__END_DECLS.
17793
acd41f47
UD
177942011-05-06 Ulrich Drepper <drepper@gmail.com>
17795
17796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17797 NSS_STATUS_NOTFOUND if no record was found.
17798
597df647
AS
177992011-05-05 Andreas Schwab <schwab@redhat.com>
17800
17801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17802 (headers-not-in-tirpc): Remove rpc/netdb.h
17803 * resolv/netdb.h: Revert last change.
17804
b9af1301
PP
178052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17806
17807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17808 circular dependency between libgcc.a and libc.a.
17809
4e34d5f5
AS
178102011-05-05 Andreas Schwab <schwab@redhat.com>
17811
17812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17813 * nis/Makefile: Don't install rpcsvc/*.
17814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17815 instead of <rpc/types.h>.
17816 (MAXHOSTNAMELEN): Define.
17817
00ee369c
AS
178182011-05-03 Andreas Schwab <schwab@redhat.com>
17819
17820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17821
0b592a30
MB
178222011-04-28 Maciej Babinski <mbabinski@google.com>
17823
17824 [BZ #12714]
17825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17826 gethostbyname4_r when IPv6 results are possible.
17827
6e04cbbe
UD
178282011-05-02 Ulrich Drepper <drepper@gmail.com>
17829
17830 [BZ #12723]
17831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17832 _PC_PIPE_BUF handling.
17833
e4ecafe0
BH
178342011-04-30 Bruno Haible <bruno@clisp.org>
17835
17836 [BZ #12717]
17837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17839 to 'int'.
17840 * inet/getnameinfo.c (getnameinfo): Likewise.
17841
125ee683
UD
178422011-04-29 Ulrich Drepper <drepper@gmail.com>
17843
17844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17845 to groups setting in database lookup.
17846 * nss/nsswitch.conf: Add initgroups entry.
17847
b722481a
EB
178482011-04-22 Ulrich Drepper <drepper@gmail.com>
17849
17850 [BZ #12685]
17851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17852 mode string.
17853 Patch by Eric Blake <eblake@redhat.com>.
17854
4df46dbd
L
178552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * sunrpc/Makefile (need-export-routines): Add svc_run.
17858 (routines): Remove svc_run.
17859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17861 * sunrpc/svc_run.c (svc_run): Likewise.
17862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17863
e84142d2
UD
178642011-04-21 Ulrich Drepper <drepper@gmail.com>
17865
17866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17867 problem in reallocation in last patch.
17868
877175d8
UD
178692011-04-20 Ulrich Drepper <drepper@gmail.com>
17870
17871 * sunrpc/Makefile: Move inclusion of Rules.
17872
ab8eed78
UD
178732011-04-19 Ulrich Drepper <drepper@gmail.com>
17874
17875 * nss/nss_files/files-initgroups.c: New file.
17876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17878 _nss_files_initgroups_dyn.
17879
e3d8f584
RS
178802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17881
17882 * elf/elf.h (R_ARM_IRELATIVE): Define.
17883
af190f45
UD
178842011-04-19 Ulrich Drepper <drepper@gmail.com>
17885
17886 * po/ru.po: Update from translation team.
17887
53cf59ef
UD
178882011-04-17 Ulrich Drepper <drepper@gmail.com>
17889
17890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17891 dependencies.
17892
4c559bcd
MF
178932011-02-06 Mike Frysinger <vapier@gentoo.org>
17894
17895 [BZ #12653]
17896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17901
4420675c
AS
179022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17903
17904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17905 differing bytes.
17906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17909
75ea32ab
UD
179102011-04-17 Ulrich Drepper <drepper@gmail.com>
17911
17912 [BZ #12420]
17913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17914 storing it.
17915 * stdlib/bug-getcontext.c: New file.
17916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17917
27390476
AK
179182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17919
17920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17921 instructions into .machine "z9-109".
17922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17924
10442705
AK
179252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17926
17927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17928 between environment variables and auxiliary vector.
17929
7b57bfe5
UD
179302011-04-16 Ulrich Drepper <drepper@gmail.com>
17931
17932 * Makefile: Add rules to build linkobj/libc.so.
17933 * include/libc-symbols.h: Define libc_hidden_nolink.
17934 * include/rpc/auth.h: Mark functions which are to be hidden.
17935 * include/rpc/auth_des.h: Likewise.
17936 * include/rpc/auth_unix.h: Likewise.
17937 * include/rpc/clnt.h: Likewise.
17938 * include/rpc/des_crypt.h: Likewise.
17939 * include/rpc/key_prot.h: Likewise.
17940 * include/rpc/pmap_clnt.h: Likewise.
17941 * include/rpc/pmap_prot.h: Likewise.
17942 * include/rpc/pmap_rmt.h: Likewise.
17943 * include/rpc/rpc_msg.h: Likewise.
17944 * include/rpc/svc.h: Likewise.
17945 * include/rpc/svc_auth.h: Likewise.
17946 * include/rpc/xdr.h: Likewise.
17947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17948 * nss/Makefile: Likewise.
17949 * sunrpc/Makefile: Don't install headers. Build library with normal
17950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17952 for the compat linking library. Remove use of INTDEF/INTUSE.
17953 * sunrpc/auth_none.c: Likewise.
17954 * sunrpc/auth_unix.c: Likewise.
17955 * sunrpc/authdes_prot.c: Likewise.
17956 * sunrpc/authuxprot.c: Likewise.
17957 * sunrpc/clnt_gen.c: Likewise.
17958 * sunrpc/clnt_perr.c: Likewise.
17959 * sunrpc/clnt_raw.c: Likewise.
17960 * sunrpc/clnt_simp.c: Likewise.
17961 * sunrpc/clnt_tcp.c: Likewise.
17962 * sunrpc/clnt_udp.c: Likewise.
17963 * sunrpc/clnt_unix.c: Likewise.
17964 * sunrpc/des_crypt.c: Likewise.
17965 * sunrpc/des_soft.c: Likewise.
17966 * sunrpc/get_myaddr.c: Likewise.
17967 * sunrpc/key_call.c: Likewise.
17968 * sunrpc/key_prot.c: Likewise.
17969 * sunrpc/netname.c: Likewise.
17970 * sunrpc/pm_getmaps.c: Likewise.
17971 * sunrpc/pm_getport.c: Likewise.
17972 * sunrpc/pmap_clnt.c: Likewise.
17973 * sunrpc/pmap_prot.c: Likewise.
17974 * sunrpc/pmap_prot2.c: Likewise.
17975 * sunrpc/pmap_rmt.c: Likewise.
17976 * sunrpc/publickey.c: Likewise.
17977 * sunrpc/rpc_cmsg.c: Likewise.
17978 * sunrpc/rpc_common.c: Likewise.
17979 * sunrpc/rpc_dtable.c: Likewise.
17980 * sunrpc/rpc_prot.c: Likewise.
17981 * sunrpc/rpc_thread.c: Likewise.
17982 * sunrpc/rtime.c: Likewise.
17983 * sunrpc/svc.c: Likewise.
17984 * sunrpc/svc_auth.c: Likewise.
17985 * sunrpc/svc_authux.c: Likewise.
17986 * sunrpc/svc_raw.c: Likewise.
17987 * sunrpc/svc_run.c: Likewise.
17988 * sunrpc/svc_simple.c: Likewise.
17989 * sunrpc/svc_tcp.c: Likewise.
17990 * sunrpc/svc_udp.c: Likewise.
17991 * sunrpc/svc_unix.c: Likewise.
17992 * sunrpc/svcauth_des.c: Likewise.
17993 * sunrpc/xcrypt.c: Likewise.
17994 * sunrpc/xdr.c: Likewise.
17995 * sunrpc/xdr_array.c: Likewise.
17996 * sunrpc/xdr_float.c: Likewise.
17997 * sunrpc/xdr_intXX_t.c: Likewise.
17998 * sunrpc/xdr_mem.c: Likewise.
17999 * sunrpc/xdr_rec.c: Likewise.
18000 * sunrpc/xdr_ref.c: Likewise.
18001 * sunrpc/xdr_sizeof.c: Likewise.
18002 * sunrpc/xdr_stdio.c: Likewise.
18003
e6c61494
UD
180042011-04-10 Ulrich Drepper <drepper@gmail.com>
18005
18006 [BZ #12650]
18007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18008 * sysdeps/ia64/dl-tls.h: Likewise.
18009 * sysdeps/powerpc/dl-tls.h: Likewise.
18010 * sysdeps/s390/dl-tls.h: Likewise.
18011 * sysdeps/sh/dl-tls.h: Likewise.
18012 * sysdeps/sparc/dl-tls.h: Likewise.
18013 * sysdeps/x86_64/dl-tls.h: Likewise.
18014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18015
34fe483e
AS
180162011-03-14 Andreas Schwab <schwab@redhat.com>
18017
18018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18019 rpath element also skip the following colon.
18020 (expand_dynamic_string_token): Add is_path parameter and pass
18021 down to DL_DST_REQUIRED and _dl_dst_substitute.
18022 (decompose_rpath): Call expand_dynamic_string_token with
18023 non-zero is_path. Ignore empty rpaths.
18024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18025 with zero is_path.
18026
f12a32e6
AS
180272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18028
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18030 Make cancelable.
18031
38a7d692
UD
180322011-04-09 Ulrich Drepper <drepper@gmail.com>
18033
18034 [BZ #12655]
18035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18036 Patch by Filipe David Manana <fdmanana@apache.org>.
18037
e451d22b
AS
180382011-04-07 Andreas Schwab <schwab@redhat.com>
18039
18040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18041 Maintain aligned stack.
18042 (CHECK_RSP): Remove unused macro.
18043
dedc7c7b
UD
180442011-04-03 Ulrich Drepper <drepper@gmail.com>
18045
18046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18048
94521213
UD
180492011-04-02 Ulrich Drepper <drepper@gmail.com>
18050
18051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18052
8cb700c0 18053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18054
0354e355
L
180552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18056
18057 [BZ #12518]
18058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18060 * sysdeps/x86_64/memmove.c: New file.
18061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18062 (memcpy): Renamed to ...
18063 (__new_memcpy): This.
18064 (memcpy): Provide GLIBC_2_14 memcpy.
18065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18066 (memcpy): Provide GLIBC_2_2_5 memcpy.
18067
8593482f
UD
180682011-04-01 Ulrich Drepper <drepper@gmail.com>
18069
18070 [BZ #12631]
18071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18072
81a5726b
AS
180732011-03-30 Andreas Schwab <schwab@redhat.com>
18074
18075 * misc/syncfs.c: New file.
18076 * misc/Makefile (routines): Add syncfs.
18077 * posix/unistd.h: Declare syncfs.
18078 * sysdeps/unix/syscalls.list: Add syncfs.
18079
00e5419f
AS
180802011-04-01 Andreas Schwab <schwab@redhat.com>
18081
18082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18083 open_by_handle_at.
18084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18091
748876bf
UD
180922011-04-01 Ulrich Drepper <drepper@gmail.com>
18093
658e451d
UD
18094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18101
748876bf
UD
18102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18103 sync_file_range.c with -fexceptions.
18104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18111 sync_file_range as cancellation point
18112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18113 now a wrapper around __call_sync_file_range with cancellation handling.
18114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18116 function name to __call_sync_file_range.
18117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18118 Add call_sync_file_range.
748876bf 18119
6e63d5e1
AS
181202011-04-01 Andreas Schwab <schwab@redhat.com>
18121
18122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18123 bits/timex.h.
6e63d5e1 18124
46998f74
UD
181252011-04-01 Ulrich Drepper <drepper@gmail.com>
18126
4c1423ed
UD
18127 * iconv/iconv.h: Fix typo in comment.
18128 * io/fcntl.h: Likewise.
18129 * libio/stdio.h: Likewise.
18130 * posix/spawn.h: Likewise.
18131 * posix/unistd.h: Likewise.
18132 * stdlib/stdlib.h: Likewise.
18133 * time/time.h: Likewise.
18134 * wcsmbs/wchar.h: Likewise.
18135
158648c0
UD
18136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18137 open_by_handle): Add.
18138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18140 Augment a few comments.
18141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18147 open_by_handle.
18148
46998f74
UD
18149 * io/fcntl.h (AT_EMPTY_PATH): Define.
18150
83fe108b
UD
181512011-03-30 Ulrich Drepper <drepper@gmail.com>
18152
18153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18156 to...
18157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18158 * Versions.def: Add GLIBC_2.14.
18159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18160 Export.
83fe108b 18161
bb242059
UD
181622011-03-22 Ulrich Drepper <drepper@gmail.com>
18163
18164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18165 round counter.
18166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18167
c97a1282
L
181682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 [BZ #12597]
18171 * string/test-strncmp.c (do_page_test): New function.
18172 (check2): Likewise.
18173 (test_main): Call check2.
18174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18175
2a115601
UD
181762011-03-20 Ulrich Drepper <drepper@gmail.com>
18177
18178 [BZ #12587]
18179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18180 Handle cache information in CPU leaf 4.
18181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18182
8126d904
UD
181832011-03-18 Ulrich Drepper <drepper@gmail.com>
18184
042c49c6 18185 [BZ #12583]
8126d904
UD
18186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18187 character representation.
18188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18189
ccfe366e
RA
181902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18191
18192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18193 END(__isnan) to END(__isnanf) to match function entry point/label
18194 EALIGN(__isnanf,...).
18195
c6e13027
JJ
181962011-03-10 Jakub Jelinek <jakub@redhat.com>
18197
18198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18199
33f85a3f
UD
182002011-03-10 Ulrich Drepper <drepper@gmail.com>
18201
028478fa
UD
18202 [BZ #12510]
18203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18204 copy from the symbol referenced in the relocation to initialize the
18205 used variable.
18206 Patch by Piotr Bury <pbury@goahead.com>.
18207 * elf/Makefile: Add rules to build and tst-unique3.
18208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18209 * elf/tst-unique3.cc: New file.
18210 * elf/tst-unique3.h: New file.
18211 * elf/tst-unique3lib.cc: New file.
18212 * elf/tst-unique3lib2.cc: New file.
18213
33f85a3f
UD
18214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18215
03592fc7
MF
182162011-03-10 Mike Frysinger <vapier@gentoo.org>
18217
18218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18220 to _start.
03592fc7 18221
6a5ee102
UD
182222011-03-06 Ulrich Drepper <drepper@gmail.com>
18223
18224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18225 to-be-loaded object along a path to loader is ld.so.
18226
7e4ba49c
HJ
182272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18228 Ulrich Drepper <drepper@gmail.com>
18229
18230 * sysdeps/x86_64/memset.S: After aligning destination, code
18231 branches to different locations depending on the value of
18232 misalignment, when multiarch is enabled. Fix this.
18233
182342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18235
18236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18237 Set _x86_64_preferred_memory_instruction for AMD processsors.
18238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18239 Set bit_Prefer_SSE_for_memop for AMD processors.
18240
13a804de
UD
182412011-03-04 Ulrich Drepper <drepper@gmail.com>
18242
18243 * libio/fmemopen.c (fmemopen): Optimize a bit.
18244
9d25c392
AS
182452011-03-03 Andreas Schwab <schwab@redhat.com>
18246
18247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18248
a5543c6a
RM
182492011-03-03 Roland McGrath <roland@redhat.com>
18250
18251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18252
012d35f7
DM
182532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18254
7e4ba49c 18255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18256 __bzero_ultra1 instead of __memset_ultra1.
18257
4bff6e01
AS
182582011-02-23 Andreas Schwab <schwab@redhat.com>
18259 Ulrich Drepper <drepper@gmail.com>
18260
18261 [BZ #12509]
18262 * include/link.h (struct link_map): Add l_orig_initfini.
18263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18264 returning unsuccessfully.
18265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18266 close of a file loaded at startup, restore the original l_initfini
18267 list.
18268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18269 list, store the pointer.
18270 * elf/Makefile ($(objpfx)noload-mem): New rule.
18271 (noload-ENV): Define.
18272 (tests): Add $(objpfx)noload-mem.
18273 * elf/noload.c: Include <memcheck.h>.
18274 (main): Call mtrace. Close all opened handles.
18275
f2092faf
AS
182762011-02-17 Andreas Schwab <schwab@redhat.com>
18277
18278 [BZ #12454]
18279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18280 dependencies are missing.
18281
6c8a2e88
ST
182822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18283
f2092faf 18284 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18285 Hurd needs munmap.
18286 * sysdeps/mach/hurd/ifreq.h: New file.
18287
84a42118
PB
182882011-01-27 Petr Baudis <pasky@suse.cz>
18289 Ulrich Drepper <drepper@gmail.com>
18290
071f805e 18291 [BZ 12445]#
84a42118
PB
18292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18293 to extend_alloca().
18294 * stdio-common/bug23.c: New file.
18295 * stdio-common/Makefile (tests): Add bug23.
18296
e23fe25b
AS
182972010-09-28 Andreas Schwab <schwab@redhat.com>
18298 Ulrich Drepper <drepper@gmail.com>
18299
18300 [BZ #12489]
18301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18302 before performing relro protection. At old place add assertion
18303 to make sure nothing changed.
18304
d3f02e10
NS
183052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18306 Glauber de Oliveira Costa <glommer@gmail.com>
18307
18308 * elf/elf.h: Add new ARM TLS relocs.
18309
d55fd7a5
RA
183102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18311
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18314 cast from r3.
18315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18316 'tests' variable.
18317 * sysdeps/wordsize-64/tst-writev.c: New file.
18318
2206397e
RA
183192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18320
18321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18323 insns in _dl_start to prevent a TOC reference before relocs are
18324 resolved.
18325
e9433893
UD
183262011-02-15 Ulrich Drepper <drepper@gmail.com>
18327
18328 [BZ #12469]
18329 * Makeconfig: Remove RANLIB definition.
18330 * Makerules: Don't use RANLIB.
18331 * aclocal.m4: Remove ranlib test.
18332 * configure.in: No need to check for ranlib.
18333 * elf/rtld-Rules: Don't use RANLIB.
18334
f75286c6
ST
183352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18336
8e31c82d
ST
18337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18338 protection macro.
18339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18340 inclusion protection macro.
18341
f75286c6
ST
18342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18343 SIGRTMIN and SIGRTMAX and print information in that case only when
18344 SIGRTMIN is defined.
18345
c1d0e639
JJ
183462011-02-11 Jakub Jelinek <jakub@redhat.com>
18347
18348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18349 arginfo fn returning -1.
18350
18351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18352 and thousands string is zero terminated.
18353
edf9294e
AS
183542011-02-03 Andreas Schwab <schwab@redhat.com>
18355
18356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18357 sysdeps/unix/sysv/linux/bits/socket.h.
18358
2b7e92df
ST
183592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18360
edf9294e
AS
18361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18362 (__CPU_COUNT): Remove old macros.
18363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18365 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18366 (__sched_cpualloc, __sched_cpufree): Add declarations.
18367
a4c7ea7b
UD
183682011-02-05 Ulrich Drepper <drepper@gmail.com>
18369
18370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18373 (readdhstai): Return value of addhstaiX call.
18374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18375 (addgrbyX): Return value returned by cache_addgr.
18376 (readdgrbyname): Return value returned by addgrbyX.
18377 (readdgrbygid): Likewise.
18378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18379 (addpwbyX): Return value returned by cache_addpw.
18380 (readdpwbyname): Return value returned by addhstbyX.
18381 (readdpwbyuid): Likewise.
18382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18383 (addservbyX): Return value returned by cache_addserv.
18384 (readdservbyname): Return value returned by addservbyX:
18385 (readdservbyport): Likewise.
18386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18387 (addhstbyX): Return value returned by cache_addhst.
18388 (readdhstbyname): Return value returned by addhstbyX.
18389 (readdhstbyaddr): Likewise.
18390 (readdhstbynamev6): Likewise.
18391 (readdhstbyaddrv6): Likewise.
18392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18393 (readdinitgroups): Return value returned by addinitgroupsX.
18394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18395 (prune_cache): Keep track of timeout value of re-added entries.
18396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18397 * nscd/nscd.h: Adjust prototypes of readd* functions.
18398
a0bf67cc
RM
183992011-02-04 Roland McGrath <roland@redhat.com>
18400
18401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18402 (nis_stats): Likewise.
18403 * nis/nis_modify.c (nis_modify): Likewise.
18404 * nis/nis_remove.c (nis_remove): Likewise.
18405 * nis/nis_add.c (nis_add): Likewise.
18406
18407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18408
18409 * posix/fnmatch_loop.c: Add some consts.
18410
18411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18412
435b95eb
L
184132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18414
18415 [BZ #12460]
18416 * config.make.in (config-cflags-novzeroupper): Define.
18417 * configure.in: Substitute libc_cv_cc_novzeroupper.
18418 * elf/Makefile (AVX-CFLAGS): Define.
18419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18420 (CFLAGS-tst-auditmod4a.c): Likewise.
18421 (CFLAGS-tst-auditmod4b.c): Likewise.
18422 (CFLAGS-tst-auditmod6b.c): Likewise.
18423 (CFLAGS-tst-auditmod6c.c): Likewise.
18424 (CFLAGS-tst-auditmod7b.c): Likewise.
18425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18426
8517b15e
UD
184272011-02-02 Ulrich Drepper <drepper@gmail.com>
18428
18429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18430 function to the callback.
18431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18432
10a656fe
AS
184332011-02-02 Andreas Schwab <schwab@redhat.com>
18434
18435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18436 of errno.
18437
968dad0a
UD
184382011-01-19 Ulrich Drepper <drepper@gmail.com>
18439
9f94d2ea 18440 [BZ #11724]
968dad0a
UD
18441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18442 of constructors.
18443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18444 of destructors.
18445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18446
18447 [BZ #11724]
18448 * elf/Makefile: Add rules to build and run new test.
18449 * elf/tst-initorder.c: New file.
18450 * elf/tst-initorder.exp: New file.
18451 * elf/tst-initordera1.c: New file.
18452 * elf/tst-initordera2.c: New file.
18453 * elf/tst-initordera3.c: New file.
18454 * elf/tst-initordera4.c: New file.
18455 * elf/tst-initorderb1.c: New file.
18456 * elf/tst-initorderb2.c: New file.
18457 * elf/tst-order-a1.c: New file.
18458 * elf/tst-order-a2.c: New file.
18459 * elf/tst-order-a3.c: New file.
18460 * elf/tst-order-a4.c: New file.
18461 * elf/tst-order-b1.c: New file.
18462 * elf/tst-order-b2.c: New file.
18463 * elf/tst-order-main.c: New file.
18464 New test case by George Gensure <werkt0@gmail.com>.
18465
86e92359
UD
184662010-10-01 Andreas Schwab <schwab@redhat.com>
18467
18468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18469 decoding ACE if AI_CANONIDN.
18470
5d5732b0
UD
184712011-01-18 Ulrich Drepper <drepper@gmail.com>
18472
18473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18474
a77e8cbc
UD
184752011-01-17 Ulrich Drepper <drepper@gmail.com>
18476
6392473f
UD
18477 * version.h (RELEASE): Bump for 2.13 release.
18478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18479
620a0529
UD
18480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18481
18ba70a5
UD
18482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18483 MADV_NOHUGEPAGE.
32465c3e
UD
18484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18490
c0dafcf1
UD
18491 * posix/getconf.c: Update copyright year.
18492 * catgets/gencat.c: Likewise.
18493 * csu/version.c: Likewise.
18494 * debug/catchsegv.sh: Likewise.
18495 * debug/xtrace.sh: Likewise.
18496 * elf/ldconfig.c: Likewise.
18497 * elf/ldd.bash.in: Likewise.
18498 * elf/sprof.c (print_version): Likewise.
18499 * iconv/iconv_prog.c: Likewise.
18500 * iconv/iconvconfig.c: Likewise.
18501 * locale/programs/locale.c: Likewise.
18502 * locale/programs/localedef.c: Likewise.
18503 * malloc/memusage.sh: Likewise.
18504 * malloc/mtrace.pl: Likewise.
18505 * nscd/nscd.c (print_version): Likewise.
18506 * nss/getent.c: Likewise.
18507
a77e8cbc
UD
18508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18509 PF_CAIF, and PF_ALG.
18510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18511
77e8bddf
AS
185122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18513
1f20b93a
AS
18514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18515 (modules-names): Use them.
18516 (ifunc-test-modules, ifunc-pie-tests): Define.
18517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18519 (test-extras): Likewise.
18520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18521 $(compile-command.c).
18522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18523 (all-built-dso): Define.
18524 (check-textrel.out, check-execstack.out): Depend on it.
18525
77e8bddf
AS
18526 * configure.in: Don't override --enable-multi-arch.
18527
bc425b33
UD
185282011-01-15 Ulrich Drepper <drepper@gmail.com>
18529
18530 [BZ #6812]
18531 * nscd/hstcache.c (tryagain): Define.
18532 (cache_addhst): Return tryagain not notfound for temporary errors.
18533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18534 failed.
18535
794c3ad3
UD
185362011-01-14 Ulrich Drepper <drepper@gmail.com>
18537
70181fdd
UD
18538 [BZ #10563]
18539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18540 to make the syscall.
18541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18542
794c3ad3
UD
18543 [BZ #12378]
18544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18545 and fall back to matching as normal character if the string ends before
18546 the matching ']' is found. This is what POSIX requires.
18547 * posix/testfnm.c: Adjust test result.
18548 * posix/globtest.sh: Adjust test result. Add new test.
18549 * posix/tst-fnmatch.input: Likewise.
18550 * posix/tst-fnmatch2.c: Add new test.
18551
68dc9497
AS
185522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * elf/Makefile (check-execstack): Revert last change. Depend on
18555 check-execstack.h.
18556 (check-execstack.h): New target.
18557 (generated): Add check-execstack.h.
18558 * elf/check-execstack.c: Include "check-execstack.h".
18559 (main): Revert last change.
18560 (handle_file): Return zero if GNU_STACK is absent and
18561 DEFAULT_STACK_PERMS doesn't include PF_X.
18562
451f001b
UD
185632011-01-13 Ulrich Drepper <drepper@gmail.com>
18564
cfa28e56
UD
18565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18566 in child fails because the descriptor is already closed.
8cf8ce17
UD
18567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18570
1086d70d
UD
18571 [BZ #12397]
18572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18573 syscall.
18574
451f001b
UD
18575 [BZ #10484]
18576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18577 temporary buffer used to handle multi lookups locally.
a85b5cb4 18578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18579
08769175
UD
185802011-01-12 Ulrich Drepper <drepper@gmail.com>
18581
18582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18583 loader is ld.so.
18584
5e49c52e
UD
185852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18586
18587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18588 alignment for SSE2.
18589
60522a5f
UD
185902011-01-12 Ulrich Drepper <drepper@gmail.com>
18591
18592 [BZ #12394]
18593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18594 characters. When rounding increased number of integer digits recompute
18595 number of groups.
18596 * stdio-common/tst-grouping.c: New file.
18597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18598
f257bbd7
UD
185992011-01-09 Ulrich Drepper <drepper@gmail.com>
18600
18601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18603
18604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18605 void.
18606 * bits/select.h: Likewise.
18607
fa9c15cb
UD
186082011-01-08 Ulrich Drepper <drepper@gmail.com>
18609
18610 * po/ja.po: Update from translation team.
18611
16c2895f
DM
186122011-01-04 David S. Miller <davem@sunset.davemloft.net>
18613
18614 [BZ #11155]
18615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18616 implementation just like for lxstat, fxstatat, et al.
18617
2543fef2
JM
186182010-12-27 Jim Meyering <meyering@redhat.com>
18619
18620 [BZ #12348]
18621 * posix/regexec.c (build_trtable): Return failure indication upon
18622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18623
98727dbe
UD
186242010-12-25 Ulrich Drepper <drepper@gmail.com>
18625
5bd6dc5c
UD
18626 [BZ #12201]
18627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18631
97983464
UD
18632 [BZ #12207]
18633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18634
98727dbe
UD
18635 [BZ #12204]
18636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18638
4a531bb0
L
186392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18640
18641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18643 script has SORT_BY_INIT_PRIORITY.
18644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18645 NO_CTORS_DTORS_SECTIONS is defined.
18646 * elf/soinit.c: Likewise.
18647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18648 NO_CTORS_DTORS_SECTIONS is defined.
18649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18651 * sysdeps/sh/init-first.c: Likewise.
18652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18653
07eb4b71
UD
186542010-12-24 Ulrich Drepper <drepper@gmail.com>
18655
18656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18657 always use the slow path.
18658
30950a5f
RA
186592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18660
18661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18662 similar rule which adds the sysdep directories to the header search in
18663 order to pick up the correct platform stackinfo.h.
18664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18665 perform test if it is, otherwise return successfully without testing.
18666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18667 DEFAULT_STACK_PERMS define in stackinfo.h.
18668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18669 defined in stackinfo.h.
18670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18671 DEFAULT_STACK_PERMS defined in stackinfo.h.
18672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18673 * sysdeps/ia64/stackinfo.h: Likewise.
18674 * sysdeps/s390/stackinfo.h: Likewise.
18675 * sysdeps/sh/stackinfo.h: Likewise.
18676 * sysdeps/sparc/stackinfo.h: Likewise.
18677 * sysdeps/x86_64/stackinfo.h: Likewise.
18678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18679 PF_X for powerpc64. Retain PF_X for powerpc32.
18680
db753e2c
UD
186812010-12-19 Ulrich Drepper <drepper@gmail.com>
18682
14b697f7
UD
18683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18684 accurately.
db753e2c
UD
18685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18686 GETDENTS_64BIT_ALIGNED.
18687
28300719
UD
186882010-12-14 Ulrich Drepper <dreper@gmail.com>
18689
14b697f7 18690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18691
4f197237
AS
186922010-12-10 Andreas Schwab <schwab@redhat.com>
18693
dbb0472f
AS
18694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18695 _GNU_SOURCE.
18696
4f197237
AS
18697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18699 Remove __restrict.
18700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18702
fb88ac72
UD
187032010-12-09 Ulrich Drepper <drepper@gmail.com>
18704
18705 [BZ #11655]
18706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18707 are initialized.
18708
42acbb92
JJ
187092010-12-09 Jakub Jelinek <jakub@redhat.com>
18710
18711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18712
c038d98d
UD
187132010-12-03 Ulrich Drepper <drepper@gmail.com>
18714
18715 * po/it.po: Update from translation team.
18716
3a4a2499
L
187172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18718
18719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18720 unused codes.
18721
1e24cf6e
UD
187222010-11-30 Ulrich Drepper <drepper@gmail.com>
18723
18724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18725
a7690819
AS
187262010-11-24 Andreas Schwab <schwab@redhat.com>
18727
18728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18729 specially.
18730 (gaih_getanswer_slice): Likewise.
18731
3bf8d1b1
JJ
187322010-10-20 Jakub Jelinek <jakub@redhat.com>
18733
18734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18735
6db52fbb
PB
187362010-05-31 Petr Baudis <pasky@suse.cz>
18737
18738 [BZ #11149]
18739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18740 silently even in the chroot mode.
18741
eaca7569
UD
187422010-11-22 Ulrich Drepper <drepper@gmail.com>
18743
18744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18745 last patch a bit. Pretty printing
18746
3056dcdb
UD
187472010-05-31 Petr Baudis <pasky@suse.cz>
18748
18749 [BZ #10085]
18750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18751 initialization of skip_initgroups_dyn.
18752
cf7c9078
UD
187532010-11-19 Ulrich Drepper <drepper@gmail.com>
18754
18755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18757
a1fb5e3e
UD
187582010-11-16 Ulrich Drepper <drepper@gmail.com>
18759
18760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18761
3540d66b
AS
187622010-11-11 Andreas Schwab <schwab@redhat.com>
18763
18764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18767 ($(objpfx)tst-fnmatch-mem): New rule.
18768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18769 * posix/tst-fnmatch.c (main): Call mtrace.
18770
13b69574
L
187712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18772
18773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18774 Support Intel processor model 6 and model 0x2c.
18775
da93d214
LM
187762010-11-10 Luis Machado <luisgpm@br.ibm.com>
18777
18778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18779 signed comparison.
18780
8ca52c6e
L
187812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 [BZ #12205]
18784 * string/test-strncasecmp.c (check_result): New function.
18785 (do_one_test): Use it.
18786 (check1): New function.
18787 (test_main): Use it.
18788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18789 Support strcasecmp and strncasecmp.
18790
69da074d
UD
187912010-11-08 Ulrich Drepper <drepper@gmail.com>
18792
18793 [BZ #12194]
18794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18796
ff02d528
L
187972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18798
18799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18800 IFUNC support.
18801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18802 memset-x86-64.
18803 * sysdeps/x86_64/multiarch/bzero.S: New file.
18804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18806 * sysdeps/x86_64/multiarch/memset.S: New file.
18807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18809 Set bit_Prefer_SSE_for_memop for Intel processors.
18810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18811 Define.
18812 (index_Prefer_SSE_for_memop): Define.
18813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18814
344d0b54
LM
188152010-11-04 Luis Machado <luisgpm@br.ibm.com>
18816
18817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18819
c0dde15b
UD
188202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 [BZ #12191]
18823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18824 (__x86_64_raw_data_cache_size_half): Likewise.
18825 (__x86_64_raw_shared_cache_size): Likewise.
18826 (__x86_64_raw_shared_cache_size_half): Likewise.
18827
18828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18829 (__x86_64_raw_data_cache_size_half): Likewise.
18830 (__x86_64_raw_shared_cache_size): Likewise.
18831 (__x86_64_raw_shared_cache_size_half): Likewise.
18832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18834 and __x86_64_raw_shared_cache_size_half. Round
18835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18837 to multiple of 256 bytes.
18838
0e516e0e
MS
188392010-11-03 Ulrich Drepper <drepper@gmail.com>
18840
18841 [BZ #12167]
18842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18843 of inacessible symlinks. Verify result of symlink before returning it.
18844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18846
0e012e87
ER
188472010-10-28 Erich Ritz <erichritz@gmail.com>
18848
18849 * math/math.h (isinf): Fix typo in comment.
18850
de0ff7bc
UD
188512010-11-01 Ulrich Drepper <drepper@gmail.com>
18852
18853 * po/da.po: Update from translation team.
18854
fa41c84d
UD
188552010-10-26 Ulrich Drepper <drepper@gmail.com>
18856
18857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18858 is added to the list.
18859
f0967738
AK
188602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18861 Ulrich Drepper <drepper@gmail.com>
18862
18863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18864 the global list here. Move code to...
18865 (_dl_add_to_namespace_list): ...here. New function.
18866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18868 * elf/dl-load.c (lose): Don't remove the element from the list.
18869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18870 (_dl_map_object): Likewise.
18871
188722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18873
18874 [BZ #12159]
18875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18876 into all bytes of SSE register.
18877 Patch by Richard Li <richardpku@gmail.com>.
18878
f0967738 188792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18880
18881 [BZ #12140]
18882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18883 perturbing.
18884
d0b9e94f
MB
188852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18886
18887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18892 submachine.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18894
8e9f92e9
AS
188952010-10-22 Andreas Schwab <schwab@redhat.com>
18896
18897 * include/dlfcn.h (__RTLD_SECURE): Define.
18898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18899 mode & __RTLD_SECURE instead.
18900 (open_path): Rename preloaded parameter to secure.
18901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18903 * elf/dl-deps.c (openaux): Likewise.
18904 * elf/rtld.c (struct map_args): Remove is_preloaded.
18905 (map_doit): Don't use it.
18906 (dl_main): Likewise.
18907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18909
bc96fbda
AS
189102010-09-09 Andreas Schwab <schwab@redhat.com>
18911
18912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18913 (sysd-rules-targets): Remove duplicates.
18914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18915 rtld-%.$o dependency.
18916
22cd1c9b
AS
189172010-10-18 Andreas Schwab <schwab@redhat.com>
18918
18919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18920 _dl_map_object do it.
18921
18edac48
UD
189222010-10-19 Ulrich Drepper <drepper@gmail.com>
18923
18924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18925 fast fma builtins, define the macros in the C99 standard.
18926 (FP_FAST_FMAF): Likewise.
18927 (FP_FAST_FMAL): Likewise.
18928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18929
18930 * bits/mathdef.h: Update copyright year.
18931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18932
d2050124
MM
189332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18934
18935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18936 builtins, define the macros in the C99 standard.
18937 (FP_FAST_FMAF): Likewise.
18938 (FP_FAST_FMAL): Likewise.
18939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18940 multiply/add.
18941 (FP_FAST_FMAF): Likewise.
18942
475facd1
JJ
189432010-10-15 Jakub Jelinek <jakub@redhat.com>
18944
18945 [BZ #3268]
18946 * math/libm-test.inc (fma_test): Some new testcases.
18947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18949 y and infinite z. Do multiplication by C already in long double.
18950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18952 y and infinite z. Do bitwise or of inexact bit into u.d.
18953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18955 * sysdeps/i386/fpu/s_fma.S: Removed.
18956 * sysdeps/i386/fpu/s_fmal.S: Removed.
18957
7c08a05c
JJ
189582010-10-16 Jakub Jelinek <jakub@redhat.com>
18959
18960 [BZ #3268]
18961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18963 computation is not scheduled after fetestexcept. Fix value
18964 of minimum denormal long double.
18965
f3f7372d
JJ
189662010-10-14 Jakub Jelinek <jakub@redhat.com>
18967
18968 [BZ #3268]
18969 * math/libm-test.inc (fma_test): Add some more tests.
18970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18971 correctly.
18972
14d43591
AS
189732010-10-15 Andreas Schwab <schwab@redhat.com>
18974
18975 * scripts/data/localplt-s390-linux-gnu.data: New file.
18976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18977
5e908464
JJ
189782010-10-13 Jakub Jelinek <jakub@redhat.com>
18979
18980 [BZ #3268]
18981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18983 instead of dbl-64.
18984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18985 inlines.
18986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18988 if one of x and y is very large and the other is subnormal.
18989 * sysdeps/s390/fpu/s_fmaf.c: New file.
18990 * sysdeps/s390/fpu/s_fma.c: New file.
18991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18992 * sysdeps/powerpc/fpu/s_fma.S: New file.
18993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18996
189972010-10-12 Jakub Jelinek <jakub@redhat.com>
18998
18999 [BZ #3268]
19000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19001 fma tests.
19002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19009
b833d51f
UD
190102010-10-12 Ulrich Drepper <drepper@redhat.com>
19011
19012 [BZ #12078]
19013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19014 * posix/bug-regex31.input: Add test case.
19015
1751705d
UD
190162010-10-11 Ulrich Drepper <drepper@gmail.com>
19017
e9b9cbf5
UD
19018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19019 * posix/bug-regex31.input: New file.
19020
19021 [BZ #12078]
19022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19023 (parse_sub_exp): Fix last change, use postorder.
19024
ef06edbe
UD
19025 * posix/bug-regex31.c: New file.
19026 * posix/Makefile: Add rules to build and run bug-regex31.
19027
a129c80d
UD
19028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19029
19030 [BZ #12078]
19031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19032
b76b818e
UD
19033 [BZ #12108]
19034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19035 to have entries in sys_siglist.
19036
1751705d
UD
19037 [BZ #12093]
19038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19039 be NULL.
19040
9ff8d36f
JJ
190412010-10-07 Jakub Jelinek <jakub@redhat.com>
19042
19043 [BZ #3268]
19044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19057 * math/ftestexcept.c (fetestexcept): Likewise.
19058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19065
af325969
UD
190662010-10-11 Ulrich Drepper <drepper@gmail.com>
19067
c579b202 19068 [BZ #12107]
af325969
UD
19069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19070 newline.
19071
67a67b95
UD
190722010-10-06 Ulrich Drepper <drepper@gmail.com>
19073
19074 * string/bug-strstr1.c: New file.
19075 * string/Makefile: Add rules to build and run bug-strstr1.
19076
5fb308bc
EB
190772010-10-05 Eric Blake <eblake@redhat.com>
19078
19079 [BZ #12092]
19080 * string/str-two-way.h (two_way_long_needle): Always clear memory
19081 when skipping input due to the shift table.
19082
45db99c7
UD
190832010-10-03 Ulrich Drepper <drepper@gmail.com>
19084
3b111893
UD
19085 [BZ #12005]
19086 * malloc/mcheck.c: Handle large requests.
19087
45db99c7
UD
19088 [BZ #12077]
19089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19090 for strncmp and strncasecmp.
19091 * string/stratcliff.c: Add tests for strcmp and strncmp.
19092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19093
cf7a1eb8
NI
190942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19095
19096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19097 __set_fpscr.
19098
6484ba5e
AJ
190992010-09-30 Andreas Jaeger <aj@suse.de>
19100
19101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19102 (CGROUP_SUPER_MAGIC): Define.
19103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19104 Handle btrfs and cgroup file systems.
19105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19106 Likewise.
19107
91c42559
LM
191082010-09-27 Luis Machado <luisgpm@br.ibm.com>
19109
19110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19112
87a97932
AK
191132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19114
19115 [BZ #12067]
19116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19117 trying to locate the ELF header.
19118
c21cc9bc
AS
191192010-09-27 Andreas Schwab <schwab@redhat.com>
19120
19121 [BZ #11611]
19122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19123 Mask out sign-bit copies when constructing f_fsid.
19124
315970f6
PB
191252010-09-24 Petr Baudis <pasky@suse.cz>
19126
19127 * debug/stack_chk_fail_local.c: Add missing licence exception.
19128 * debug/warning-nop.c: Likewise.
19129
1ac7a2c7
JM
191302010-09-15 Joseph Myers <joseph@codesourcery.com>
19131
19132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19133 implementing getdents64 using getdents syscall, set d_type if
19134 __ASSUME_GETDENTS32_D_TYPE.
19135
56801c50
AS
191362010-09-16 Andreas Schwab <schwab@redhat.com>
19137
19138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19140
dda51327
UD
191412010-09-21 Ulrich Drepper <drepper@redhat.com>
19142
19143 [BZ #12037]
19144 * posix/unistd.h: Undo change of feature selection for ftruncate from
19145 2010-01-11.
19146
8ffcee4a
UD
191472010-09-20 Ulrich Drepper <drepper@redhat.com>
19148
a545ecd9 19149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19150 detection.
19151
e24f0a8b
AS
191522010-09-20 Andreas Schwab <schwab@redhat.com>
19153
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19155 fanotify_mark.
19156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19157
7291c56f
AS
191582010-09-14 Andreas Schwab <schwab@redhat.com>
19159
19160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19161 variables after CHECK_SP call.
19162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19163
bc5fb037
AS
191642010-09-13 Andreas Schwab <schwab@redhat.com>
19165 Ulrich Drepper <drepper@redhat.com>
19166
19167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19168 re-relocationg ld.so.
19169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19170 _dl_init_paths call.
19171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19172 here anymore.
19173
e66e7419
UD
191742010-09-14 Ulrich Drepper <drepper@redhat.com>
19175
19176 * resolv/res_init.c (__res_vinit): Count the default server we added.
19177
c044aa75
CLT
191782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19179 Ulrich Drepper <drepper@redhat.com>
19180
19181 [BZ #11968]
19182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19183 (____longjmp_chk): Use %ebx for saving value across system call.
19184 Add unwind info.
19185
32cf4069
AS
191862010-09-06 Andreas Schwab <schwab@redhat.com>
19187
19188 * manual/Makefile: Don't mix pattern rules with normal rules.
19189
817328ee
AS
191902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19191
19192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19193 operation.
19194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19199 Likewise.
19200
29fddf61
UD
192012010-09-04 Ulrich Drepper <drepper@redhat.com>
19202
19203 [BZ #11979]
19204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19206
0959ffc9
UD
192072010-09-02 Ulrich Drepper <drepper@redhat.com>
19208
19209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19210 * sysdeps/x86_64/addmul_1.S: Likewise.
19211 * sysdeps/x86_64/lshift.S: Likewise.
19212 * sysdeps/x86_64/mul_1.S: Likewise.
19213 * sysdeps/x86_64/rshift.S: Likewise.
19214 * sysdeps/x86_64/sub_n.S: Likewise.
19215 * sysdeps/x86_64/submul_1.S: Likewise.
19216
ece29840
ST
192172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19218
0959ffc9
UD
19219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19220 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19221 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19222 * bits/sched.h [__need_schedparam]
ece29840 19223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19225 (__defined_schedparam): Define to 1.
ece29840
ST
19226 (__sched_param): New structure, identical to sched_param.
19227 (__need_schedparam): Undefine.
19228
e53a31fe
MF
192292010-08-31 Mike Frysinger <vapier@gentoo.org>
19230
fdc0c10d
MF
19231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19232 (epoll_create1): Declare.
19233
e53a31fe
MF
19234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19235
a726d796
AS
192362010-08-31 Andreas Schwab <schwab@redhat.com>
19237
19238 [BZ #7066]
19239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19240 shifting retval into place.
19241
2f3e3dc7
UD
192422010-09-01 Ulrich Drepper <drepper@redhat.com>
19243
f2933da9
UD
19244 * nis/rpcsvc/nis.h: Update copyright notice.
19245 * nis/rpcsvc/nis.x: Likewise.
19246 * nis/rpcsvc/nis_callback.h: Likewise.
19247 * nis/rpcsvc/nis_callback.x: Likewise.
19248 * nis/rpcsvc/nis_object.x: Likewise.
19249 * nis/rpcsvc/nis_tags.h: Likewise.
19250 * nis/rpcsvc/yp.h: Likewise.
19251 * nis/rpcsvc/yp.x: Likewise.
19252 * nis/rpcsvc/ypupd.h: Likewise.
19253 * nis/yp_xdr.c: Likewise.
19254 * nis/ypupdate_xdr.c: Likewise.
19255
2f3e3dc7
UD
19256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19257 mainly the body of pmap_getport. Add parameters to specify timeouts.
19258 (pmap_getport): Use __libc_rpc_getport.
19259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19262
f3dcc2f9
AS
192632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19264
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19266 fanotify_mark.
19267
6d34eb5b
RM
192682010-08-27 Roland McGrath <roland@redhat.com>
19269
19270 * sysdeps/i386/i686/multiarch/Makefile
19271 (CFLAGS-varshift.c): New variable.
19272
9ea3de11
UD
192732010-08-27 Ulrich Drepper <drepper@redhat.com>
19274
c96d23fc
UD
19275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19277
9ea3de11
UD
19278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19279
19280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19281
623aac7f
L
192822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19283
19284 * sysdeps/x86_64/strlen.S: Unroll the loop.
19285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19286 strlen-sse2 strlen-sse2-bsf.
19287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19288 __strlen_no_bsf if bit_Slow_BSF is set.
19289 (__strlen_sse42): Removed.
19290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19292
8b2b7715
RM
192932010-08-25 Roland McGrath <roland@redhat.com>
19294
19295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19296 * sysdeps/x86_64/multiarch/varshift.c: New file.
19297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19301
e73015f2
L
193022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19303
19304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19305 strlen-sse2 strlen-sse2-bsf.
19306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19308 (__strlen_sse2): Removed.
19309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19312 bit_Slow_BSF for Atom.
19313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19314 (index_Slow_BSF): Define.
19315 (HAS_SLOW_BSF): Define.
19316
df24a73e
UD
193172010-08-25 Ulrich Drepper <drepper@redhat.com>
19318
19319 [BZ #10851]
19320 * resolv/res_init.c (__res_vinit): When no server address at all
19321 is given default to loopback.
19322
f2ac4868
RM
193232010-08-24 Roland McGrath <roland@redhat.com>
19324
09055553
RM
19325 * configure.in: Remove config-name.h generation.
19326 * configure: Regenerated.
19327 * config-name.in: File removed.
19328 * scripts/config-uname.sh: New file.
19329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19330 ($(objdir)config-name.h): New target.
19331
f2ac4868
RM
19332 * sunrpc/rpc_parse.h: Avoid nested comment.
19333
73f27d5e
RH
193342010-08-24 Richard Henderson <rth@redhat.com>
19335 Ulrich Drepper <drepper@redhat.com>
19336 H.J. Lu <hongjiu.lu@intel.com>
19337
19338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19342 _mm_alignr_epi8 with _mm_loadu_si128.
19343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19345 (__m128i_shift_right): Removed.
19346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19348 * sysdeps/x86_64/multiarch/varshift.h: New file.
19349 * sysdeps/x86_64/multiarch/varshift.S: New file.
19350
84b9230c
MF
193512010-08-21 Mike Frysinger <vapier@gentoo.org>
19352
19353 * configure.in: Move assembler checks to before sysdep dir checking.
19354
9bbd0ddc
PB
193552010-08-20 Petr Baudis <pasky@suse.cz>
19356
19357 * LICENSES: Sync the sunrpc license.
19358
9da4bb31
UD
193592010-08-19 Ulrich Drepper <drepper@redhat.com>
19360
a7ab6ec8
UD
19361 * sunrpc/auth_des.c: Update copyright notice once again.
19362 * sunrpc/auth_none.c: Likewise.
19363 * sunrpc/auth_unix.c: Likewise.
19364 * sunrpc/authdes_prot.c: Likewise.
19365 * sunrpc/authuxprot.c: Likewise.
19366 * sunrpc/bindrsvprt.c: Likewise.
19367 * sunrpc/clnt_gen.c: Likewise.
19368 * sunrpc/clnt_perr.c: Likewise.
19369 * sunrpc/clnt_raw.c: Likewise.
19370 * sunrpc/clnt_simp.c: Likewise.
19371 * sunrpc/clnt_tcp.c: Likewise.
19372 * sunrpc/clnt_udp.c: Likewise.
19373 * sunrpc/clnt_unix.c: Likewise.
19374 * sunrpc/des_crypt.c: Likewise.
19375 * sunrpc/des_soft.c: Likewise.
19376 * sunrpc/get_myaddr.c: Likewise.
19377 * sunrpc/getrpcport.c: Likewise.
19378 * sunrpc/key_call.c: Likewise.
19379 * sunrpc/key_prot.c: Likewise.
19380 * sunrpc/openchild.c: Likewise.
19381 * sunrpc/pm_getmaps.c: Likewise.
19382 * sunrpc/pm_getport.c: Likewise.
19383 * sunrpc/pmap_clnt.c: Likewise.
19384 * sunrpc/pmap_prot.c: Likewise.
19385 * sunrpc/pmap_prot2.c: Likewise.
19386 * sunrpc/pmap_rmt.c: Likewise.
19387 * sunrpc/rpc/auth.h: Likewise.
19388 * sunrpc/rpc/auth_unix.h: Likewise.
19389 * sunrpc/rpc/clnt.h: Likewise.
19390 * sunrpc/rpc/des_crypt.h: Likewise.
19391 * sunrpc/rpc/key_prot.h: Likewise.
19392 * sunrpc/rpc/netdb.h: Likewise.
19393 * sunrpc/rpc/pmap_clnt.h: Likewise.
19394 * sunrpc/rpc/pmap_prot.h: Likewise.
19395 * sunrpc/rpc/pmap_rmt.h: Likewise.
19396 * sunrpc/rpc/rpc.h: Likewise.
19397 * sunrpc/rpc/rpc_des.h: Likewise.
19398 * sunrpc/rpc/rpc_msg.h: Likewise.
19399 * sunrpc/rpc/svc.h: Likewise.
19400 * sunrpc/rpc/svc_auth.h: Likewise.
19401 * sunrpc/rpc/types.h: Likewise.
19402 * sunrpc/rpc/xdr.h: Likewise.
19403 * sunrpc/rpc_clntout.c: Likewise.
19404 * sunrpc/rpc_cmsg.c: Likewise.
19405 * sunrpc/rpc_common.c: Likewise.
19406 * sunrpc/rpc_cout.c: Likewise.
19407 * sunrpc/rpc_dtable.c: Likewise.
19408 * sunrpc/rpc_hout.c: Likewise.
19409 * sunrpc/rpc_main.c: Likewise.
19410 * sunrpc/rpc_parse.c: Likewise.
19411 * sunrpc/rpc_parse.h: Likewise.
19412 * sunrpc/rpc_prot.c: Likewise.
19413 * sunrpc/rpc_sample.c: Likewise.
19414 * sunrpc/rpc_scan.c: Likewise.
19415 * sunrpc/rpc_scan.h: Likewise.
19416 * sunrpc/rpc_svcout.c: Likewise.
19417 * sunrpc/rpc_tblout.c: Likewise.
19418 * sunrpc/rpc_util.c: Likewise.
19419 * sunrpc/rpc_util.h: Likewise.
19420 * sunrpc/rpcinfo.c: Likewise.
19421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19422 * sunrpc/rpcsvc/key_prot.x: Likewise.
19423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19424 * sunrpc/rpcsvc/mount.x: Likewise.
19425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19427 * sunrpc/rpcsvc/rex.x: Likewise.
19428 * sunrpc/rpcsvc/rstat.x: Likewise.
19429 * sunrpc/rpcsvc/rusers.x: Likewise.
19430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19431 * sunrpc/rpcsvc/spray.x: Likewise.
19432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19433 * sunrpc/rtime.c: Likewise.
19434 * sunrpc/svc.c: Likewise.
19435 * sunrpc/svc_auth.c: Likewise.
19436 * sunrpc/svc_authux.c: Likewise.
19437 * sunrpc/svc_raw.c: Likewise.
19438 * sunrpc/svc_run.c: Likewise.
19439 * sunrpc/svc_simple.c: Likewise.
19440 * sunrpc/svc_tcp.c: Likewise.
19441 * sunrpc/svc_udp.c: Likewise.
19442 * sunrpc/svc_unix.c: Likewise.
19443 * sunrpc/svcauth_des.c: Likewise.
19444 * sunrpc/xcrypt.c: Likewise.
19445 * sunrpc/xdr.c: Likewise.
19446 * sunrpc/xdr_array.c: Likewise.
19447 * sunrpc/xdr_float.c: Likewise.
19448 * sunrpc/xdr_mem.c: Likewise.
19449 * sunrpc/xdr_rec.c: Likewise.
19450 * sunrpc/xdr_ref.c: Likewise.
19451 * sunrpc/xdr_sizeof.c: Likewise.
19452 * sunrpc/xdr_stdio.c: Likewise.
19453
9da4bb31
UD
19454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19455 handling.
19456
bdaa77bc
AS
194572010-08-19 Andreas Schwab <schwab@redhat.com>
19458
19459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19460
fe2f79db
LM
194612010-08-19 Luis Machado <luisgpm@br.ibm.com>
19462
19463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19477
b9b42ee0
AB
194782010-07-26 Anton Blanchard <anton@samba.org>
19479
19480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19481 * malloc/arena.c (heap_trim): Likewise.
19482
1c06ba31
UD
194832010-08-16 Ulrich Drepper <drepper@redhat.com>
19484
19485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19486 here. Not...
19487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19489
f8392f40
L
194902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19491
19492 * sysdeps/i386/elf/Makefile: New file.
19493
3162f12e
AS
194942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19495
19496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19497 from fanotify_init.
19498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19500
28c90b2c
UD
195012010-08-15 Ulrich Drepper <drepper@redhat.com>
19502
19503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19504 of strncasecmp_l.
1feccb6c 19505 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19506
ca6bb004
UD
195072010-08-14 Ulrich Drepper <drepper@redhat.com>
19508
e9f82e0d
UD
19509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19510 strncase_l-nonascii.
19511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19512 Add strncase_l-ssse3.
19513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19514 * sysdeps/x86_64/strcmp.S: Likewise.
19515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19517 * sysdeps/x86_64/strncase.S: New file.
19518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19519 * sysdeps/x86_64/strncase_l.S: New file.
19520 * string/Makefile (strop-tests): Add strncasecmp.
19521 * string/test-strncasecmp.c: New file.
19522
19523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19524 warning.
19525
ca6bb004
UD
19526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19528
052fa7b3
AS
195292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19530
19531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19532
962dba78
UD
195332010-08-12 Ulrich Drepper <drepper@redhat.com>
19534
19535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19538
bebff237
AM
195392010-05-01 Alan Modra <amodra@gmail.com>
19540
19541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19546 tidying. Don't tail-call __sigjmp_save for static lib.
19547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19548 save location.
19549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19550 (CALL_MCOUNT): Add eh info, and nop after bl.
19551 (TAIL_CALL_SYSCALL_ERROR): New macro.
19552 (PSEUDO_RET): Use it.
19553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19554 Correct save location of integer regs and cr.
19555 (_dl_profile_resolve): Correct cr save location. Delete nops
19556 after bl when SHARED. Reduce cfi size a little by better
19557 placement of cfi directives.
19558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19559 make a stack frame. Instead use parm save area as a temp.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19563 Don't make a stack frame for parent, use parm save area.
19564 Increase child stack frame to 112 bytes. Don't save unused reg,
19565 and adjust reg usage. Set up cfi on error recovery and
19566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19568 (__makecontext): Add dummy nop after jump to exit.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19570 Use correct parm save area and cr save, reduce stack frame.
19571 Correct cfi for possible PSEUDO_RET frame setup.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19573 Branch to local label emitted by PSEUDO_RET rather than
19574 __syscall_error.
19575
02637374
AS
195762010-08-12 Andreas Schwab <schwab@redhat.com>
19577
19578 [BZ #11904]
19579 * locale/programs/locale.c (print_assignment): New function.
19580 (show_locale_vars): Use it.
19581
c3e2f19b
UD
195822010-08-11 Ulrich Drepper <drepper@redhat.com>
19583
3cdaa6ad
UD
19584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19585 field.
19586 (struct statfs64): Likewise.
19587 (_STATFS_F_FLAGS): Define.
19588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19591 (ST_VALID): Define locally.
19592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19593 __statvfs_getflags, use the provided value.
19594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19595 __ASSUME_STATFS_F_FLAGS.
19596
754f7da3
UD
19597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19598
10b3bedc
UD
19599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19600 Add sys/fanotify.h.
19601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19602 fanotify_mask for GLIBC_2.13.
19603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19604 fanotify_init and fanotify_mark.
19605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19607
c08fb0d7
UD
19608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19609 Add prlimit.
19610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19611 prlimit64 for GLIBC_2.13.
19612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19613 prlimit64.
19614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19615 syscall.
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19621 add prlimit alias.
19622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19623
15bac72b
UD
19624 [BZ #11903]
19625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19627
c3e2f19b
UD
19628 * nss/Makefile: Add rules to build and run tst-nss-test1.
19629 * shlib-versions: Add entry for libnss_test1.
19630 * nss/nss_test1.c: New file.
19631 * nss/tst-nss-test1.c: New file.
19632
19633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19634 (__nss_configure_lookup): Set appropriate entry in
19635 __nss_configure_lookup to true.
19636 * nss/nsswitch.h: Define enum with indeces of databases in
19637 databases and __nss_database_custom arrays. Declare
19638 __nss_database_custom.
19639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19640 to avoid using nscd when custom rules are installed.
19641 * nss/getXXbyYY_r.c: Likewise.
19642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19643
19644 * nss/nss_files/files-parse.c: Whitespace fixes.
19645
f15ce4d8
UD
196462010-08-09 Ulrich Drepper <drepper@redhat.com>
19647
19648 [BZ #11883]
19649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19650 * posix/fnmatch_loop.c: Likewise.
19651
d22e4cc9
AK
196522010-07-17 Andi Kleen <ak@linux.intel.com>
19653
19654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19657 * Versions.def [GLIBC_2.13]: Add.
19658
805bc17d
UD
196592010-08-06 Ulrich Drepper <drepper@redhat.com>
19660
19661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19662 Also fail if tpwd after pwuid call is NULL.
19663
5a42321d
ST
196642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19665
19666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19667 when converting to ms.
19668
fd3ebeda
ST
196692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19670
19671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19672 EOPNOTSUPP errors with ENOTTY.
19673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19674 EOPNOTSUPP errors with ENOTTY.
19675
73507d3a
UD
196762010-07-31 Ulrich Drepper <drepper@redhat.com>
19677
19678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19679 Add strcasecmp_l-ssse3.
19680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19681 strcasecmp.
19682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19685
fe36dd02
UD
196862010-07-30 Ulrich Drepper <drepper@redhat.com>
19687
66f6765a
UD
19688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19689
42e08a54
UD
19690 * string/Makefile (strop-tests): Add strcasecmp.
19691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19692 strcasecmp_l-nonascii.
19693 (gen-as-const-headers): Add locale-defines.sym.
19694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19695 * sysdeps/x86_64/strcasecmp.S: New file.
19696 * sysdeps/x86_64/strcasecmp_l.S: New file.
19697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19698 * sysdeps/x86_64/locale-defines.sym: New file.
19699 * string/test-strcasecmp.c: New file.
19700
fe36dd02
UD
19701 * string/test-strcasestr.c: Test both ends of the range of characters.
19702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19703
48cbc0d6
RM
197042010-07-29 Roland McGrath <roland@redhat.com>
19705
76e6d6bc 19706 [BZ #11856]
48cbc0d6
RM
19707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19708
880113d9
UD
197092010-07-27 Ulrich Drepper <drepper@redhat.com>
19710
19711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19712 for ld.so.
19713
deb9cabb
AS
197142010-07-27 Andreas Schwab <schwab@redhat.com>
19715
19716 * manual/memory.texi (Malloc Tunable Parameters): Document
19717 M_PERTURB.
19718
1c7570ff
RM
197192010-07-26 Roland McGrath <roland@redhat.com>
19720
19721 [BZ #11840]
19722 * configure.in (-fgnu89-inline check): Set and substitute
19723 gnu89_inline, not libc_cv_gnu89_inline.
19724 * configure: Regenerated.
19725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19726
24fb0f88
UD
197272010-07-26 Ulrich Drepper <drepper@redhat.com>
19728
19729 * string/test-strnlen.c: New file.
19730 * string/Makefile (strop-tests): Add strnlen.
19731 * string/tester.c (test_strnlen): Add a few more test cases.
19732 * string/tst-strlen.c: Better error reporting.
19733
19734 * sysdeps/x86_64/strnlen.S: New file.
19735
8e96b93a
UD
197362010-07-24 Ulrich Drepper <drepper@redhat.com>
19737
19738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19739 lower-latency instructions.
19740
dbc676d4
UD
197412010-07-23 Ulrich Drepper <drepper@redhat.com>
19742
19743 * string/test-strcasestr.c: New file.
19744 * string/test-strstr.c: New file.
19745 * string/Makefile (strop-tests): Add strstr and strcasestr.
19746 * string/str-two-way.h: Don't undefine MAX.
19747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19748
f6a31e0e
AS
197492010-07-21 Andreas Schwab <schwab@redhat.com>
19750
19751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19752 strcasestr-nonascii.
19753 (CFLAGS-strcasestr-nonascii.c): Define.
19754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19756 Remove unused attribute.
19757
5dbc3b6c
RM
197582010-07-20 Roland McGrath <roland@redhat.com>
19759
19760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19762 ld.so.cache was broken. With it, there is no way to disable dsocaps
19763 like LD_HWCAP_MASK can disable hwcaps.
19764
23d101d8
EPM
197652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19766
19767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19768
cc9f2e47
UD
197692010-07-16 Ulrich Drepper <drepper@redhat.com>
19770
19771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19772 call in strcasestr.
19773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19774 __strcasestr_sse42_nonascii.
19775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19776 strcasestr-nonascii.c.
19777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19778
77c1b069
LM
197792010-06-15 Luis Machado <luisgpm@br.ibm.com>
19780
19781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19785
440566c3
UD
197862010-07-09 Ulrich Drepper <drepper@redhat.com>
19787
19788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19789 fcntl.
19790
5be9d05d
AS
197912010-07-06 Andreas Schwab <schwab@redhat.com>
19792
c30b7ee2 19793 [BZ #11577]
5be9d05d
AS
19794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19795 dl_signal_cerror.
19796
8a492a67
UD
197972010-07-06 Ulrich Drepper <drepper@redhat.com>
19798
19799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19800 _PC_PIPE_BUF using F_GETPIPE_SZ.
19801
713df3d5
RM
198022010-07-05 Roland McGrath <roland@redhat.com>
19803
19804 * manual/arith.texi (Rounding Functions): Fix rint description
19805 implicit in round description.
19806
702e8f14
UD
198072010-07-02 Ulrich Drepper <drepper@redhat.com>
19808
19809 * elf/Makefile: Fix linking for a few tests to make recent linker
19810 happy.
19811
52ed8be9
AS
198122010-06-30 Andreas Schwab <schwab@redhat.com>
19813
19814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19815 $(common-objpfx)libc_nonshared.a.
19816
f47c9a11
LM
198172010-06-21 Luis Machado <luisgpm@br.ibm.com>
19818
19819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19867
6fb8cbcb
L
198682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19869
19870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19872 * string/memmove.c (memmove): Renamed to ...
19873 (MEMMOVE): ...this. Default to memmove.
19874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19876 (END_CHK): Define.
19877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19879 mempcpy-ssse3-back memmove-ssse3-back.
19880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19887 * sysdeps/x86_64/multiarch/memmove.c: New file.
19888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19894 Define.
19895 (index_Fast_Copy_Backward): Define.
19896 (HAS_ARCH_FEATURE): Define.
19897 (HAS_FAST_REP_STRING): Define.
19898 (HAS_FAST_COPY_BACKWARD): Define.
19899
4e733bac 199002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19901
19902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19903 Restore proper fallback handling.
19904
63c4ed22
UD
199052010-06-19 Ulrich Drepper <drepper@redhat.com>
19906
ac2b484c
UD
19907 [BZ #11701]
19908 * posix/group_member.c (__group_member): Correct checking loop.
19909
63c4ed22
UD
19910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19911 OOM in getpwuid_r correctly. Return error number when the caller
19912 should return, otherwise -1.
19913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19914 call returning > 0 value.
19915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19916
765ade4b
AS
199172010-06-07 Andreas Schwab <schwab@redhat.com>
19918
19919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19920 libc_nonshared.a from targets in modules-names.
19921
80da2e09
KS
199222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19923
19924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19925 requires it.
19926
158db122
LM
199272010-06-10 Luis Machado <luisgpm@br.ibm.com>
19928
19929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19933
caa78cf8
AS
199342010-06-02 Andreas Schwab <schwab@redhat.com>
19935
19936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19937
b2ef2c01
UD
199382010-06-14 Ulrich Drepper <drepper@redhat.com>
19939
19940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19941 and F_GETPIPE_SZ.
19942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19948
fbd643b6
RM
199492010-06-14 Roland McGrath <roland@redhat.com>
19950
19951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19952
f32f2869
JJ
199532010-06-07 Jakub Jelinek <jakub@redhat.com>
19954
19955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19956 __REDIRECT followed by __THROW.
19957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19958 * posix/getopt.h (getopt): Likewise.
19959
2a50c078
EPM
199602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19961
19962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19965 in AT_FLAGS.
19966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19968
eb5ad2eb
LM
199692010-05-28 Luis Machado <luisgpm@br.ibm.com>
19970
19971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19972
3c88fe1e
L
199732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19974
19975 [BZ #11640]
19976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19977 Properly check family and model.
19978
d2f73151
TY
199792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19980
19981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19982
ebd2e13d
LM
199832010-05-24 Luis Machado <luisgpm@br.ibm.com>
19984
19985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19986
b32b8b45
UD
199872010-05-21 Ulrich Drepper <drepper@redhat.com>
19988
19989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19990 symbol reference.
19991
9acbe24d
AS
199922010-05-19 Andreas Schwab <schwab@redhat.com>
19993
19994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19995 symbol reference.
19996
f0ccf6ea
AS
199972010-05-21 Andreas Schwab <schwab@redhat.com>
19998
3d04ff3a
AS
19999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20000 and internal_recvmmsg.
20001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20005
f0ccf6ea
AS
20006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20009
5b08ac57
AS
200102010-05-20 Andreas Schwab <schwab@redhat.com>
20011
20012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20013
4828935d
LM
200142010-05-17 Luis Machado <luisgpm@br.ibm.com>
20015
20016 POWER7 optimizations.
20017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20019
373d545e
UD
200202010-05-19 Ulrich Drepper <drepper@redhat.com>
20021
20022 * version.h: Update for 2.13 development version.
20023
21a2b1ae
AS
200242010-05-12 Andrew Stubbs <ams@codesourcery.com>
20025
20026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20027 exceptions. Return 0.
20028
3f7dcb2b
RM
200292010-05-07 Roland McGrath <roland@redhat.com>
20030
20031 * elf/ldconfig.c (main): Add a const.
20032
5f24d53a 200332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20034
a160f8d8
UD
20035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20036 (args_options): Add no-idn option.
20037 (ahosts_keys_int): Add idn_flags to ai_flags.
20038 (parse_option): Handle 'i' option to clear idn_flags.
20039
5f24d53a
UD
20040 * malloc/malloc.c (_int_free): Possible race in the most recently
20041 added check. Only act on the data if no current modification
20042 happened.
265bb1ce
UD
20043
20044See ChangeLog.17 for earlier changes.
This page took 2.748979 seconds and 5 git commands to generate.