]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix Niagara-4 memcpy bug on 32-bit.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f1ecb7ef
DM
12012-10-06 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4 upper 32-bits of the length value in %o2 since we use branch-on-register
5 tests which consider the entire 64-bit register.
6
5d41d91a
L
72012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8
9 * string/test-strstr.c (check2): Add a test for page boundary.
10
3baddb72
DM
112012-10-05 David S. Miller <davem@davemloft.net>
12
13 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15 file.
16 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17 sysdep_routines.
18 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20 and bzero when HWCAP_SPARC_CRYPTO is present.
21
9cee5585
L
222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23
d7e0dab9
L
24 [BZ #14602]
25 * string/test-strstr.c (check2): New function.
26 (test_main): Call check2.
27
03759f47
L
28 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29 and bug-strchr1.
30 * string/bug-strcasestr1.c (do_test): Moved to ...
31 * string/test-strcasestr.c (check1): Here. New function.
32 (do_one_test): Break out result checking code into ...
33 (check_result): This. New function.
34 (do_one_test): Call check_result.
35 (test_main): Call check1.
36 * string/bug-strchr1.c (do_test): Moved to ...
37 * string/test-strchr.c (check1): Here. New function.
38 (do_one_test): Break out result checking code into ...
39 (check_result): This. New function.
40 (do_one_test): Call check_result.
41 (test_main): Call check1.
42 * string/bug-strstr1.c (main): Moved to ...
43 * string/test-strchr.c (check1): Here. New function.
44 (do_one_test): Break out result checking code into ...
45 (check_result): This. New function.
46 (do_one_test): Call check_result.
47 (test_main): Call check1.
48 * string/bug-strcasestr1.c: Removed.
49 * string/bug-strchr1.c: Likewise.
50 * string/bug-strstr1.c: Likewise.
51
53cea63e
L
52 * elf/Makefile (dl-routines): Add hwcaps.
53 * elf/dl-support.c (_dl_important_hwcaps): Removed.
54 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55 (_dl_important_hwcaps): Moved to ...
56 * elf/dl-hwcaps.c: Here. New file.
57 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58
9cee5585 59 [BZ #14557]
bb859b06
L
60 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61 if IS_IN_rtld isn't defined.
62
9cee5585
L
63 * elf/dl-support.c (_dl_sysinfo_map): New.
64 Include "get-dynamic-info.h" and "setup-vdso.h".
65 (_dl_non_dynamic_init): Call setup_vdso.
66 * elf/dynamic-link.h: Don't include <assert.h>.
67 (elf_get_dynamic_info): Moved to ...
68 * elf/get-dynamic-info.h: Here. New file.
69 * elf/dynamic-link.h: Include "get-dynamic-info.h".
70 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71 * elf/setup-vdso.h: Here. New file.
72 * elf/rtld.c: Include "setup-vdso.h".
73 (dl_main): Call setup_vdso.
74
23c31b76
JM
752012-10-05 Joseph Myers <joseph@codesourcery.com>
76
28234b07
JM
77 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
78 creal in comment listing functions tested. List finite, isinf,
79 isnan, isless, islessequal, isgreater, isgreaterequal,
80 islessgreater, isunordered, lgamma_r and pow10 as functions and
81 macros not tested. Mention which functions not tested are aliases
82 for other functions. Fix typo. Note that signs of NaNs are not
83 tested.
84
23c31b76
JM
85 * scripts/config.guess: Update from config.git.
86 * scripts/config.sub: Likewise.
87
9043e228
RM
882012-10-04 Roland McGrath <roland@hack.frob.com>
89
90 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
91 * misc/madvise.c (madvise): Renamed to __madvise.
92 Make madvise a weak alias.
93 * include/sys/mman.h: Declare __madvise.
94 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
95 * sysdeps/unix/syscalls.list
96 (madvise): Make __madvise the strong name, and madvise a weak alias.
97 * sysdeps/unix/sysv/linux/syscalls.list
98 (madvise, mmap): Remove redundant entries.
99 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
100 * malloc/malloc.c (mtrim): Likewise.
101 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
102
f57f8055
RM
1032012-10-03 Roland McGrath <roland@hack.frob.com>
104
105 * sysdeps/mach/hurd/dl-cache.c: File removed.
106 * config.h.in (USE_LDCONFIG): New #undef.
107 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
108 * configure: Regenerated.
109 * elf/Makefile (dl-routines): Add dl-cache only under
110 [$(use-ldconfig) = yes].
111 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
112 cache on [USE_LDCONFIG].
113 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
114 [USE_LDCONFIG].
115 * elf/rtld.c (dl_main): Likewise.
116
5bb0c10a
PT
1172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
118
119 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
120 _SC_LEVEL4_CACHE_LINESIZE.
121
010188c6
RM
1222012-10-03 Roland McGrath <roland@hack.frob.com>
123
124 * sysdeps/unix/bsd/confstr.h: File removed.
125
b6c5ec07
AO
1262012-10-02 Alexandre Oliva <aoliva@redhat.com>
127
128 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
129 sys/sdt-config.h.
130
408223d4
RM
1312012-10-02 Roland McGrath <roland@hack.frob.com>
132
133 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
134 Make 'mapoff' field ElfW(Off) rather than off_t.
135
bb9510dc
DL
1362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
137
fc997c6e
DL
138 * nscd/Makefile: Remove nscd-cflags and all its users.
139 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
140 (CFLAGS-nonlib): Add compiler flags for nscd modules.
141
bb9510dc
DL
142 [BZ #10631]
143 * malloc.c (malloc_printerr): Clarify error message.
144
05699367
L
1452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
146
147 [BZ #14648]
148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
149 Set bit_FMA_Usable if FMA is supported.
150 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
151 macro.
152 (bit_FMA4_Usable): Updated.
153 (index_FMA_Usable): New macro.
154 (CPUID_FMA): Likewise
155 (HAS_FMA): Defined with bit_FMA_Usable.
156
51367701
RM
1572012-10-01 Roland McGrath <roland@hack.frob.com>
158
159 * bits/types.h (__swblk_t): Type removed.
160 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
161 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
163 (__SWBLK_T_TYPE): Likewise.
164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
165 (__SWBLK_T_TYPE): Likewise.
166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
167 (__SWBLK_T_TYPE): Likewise.
168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
169 (__SWBLK_T_TYPE): Likewise.
170
4d57bf63
JL
1712012-10-01 Patsy Franklin <pfrankli@redhat.com>
172 Honza Horak <hhorak@redhat.com>
173
174 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
175 (xdr_mapname): Use YPMAXMAP as maxsize.
176 (xdr_peername): Use YPMAXPEER as maxsize.
177 (xdr_keydat): Use YPAXRECORD as maxsize.
178 (xdr_valdat): Use YPMAXRECORD as maxsize.
179
93c65d43
RM
1802012-10-01 Roland McGrath <roland@hack.frob.com>
181
497a03d6
RM
182 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
183
93c65d43
RM
184 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
185 * csu/init-first.c: ... here.
186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
187 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
188 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
190 * sysdeps/i386/init-first.c: File removed.
191 * sysdeps/sh/init-first.c: File removed.
192
bec749fd
JM
1932012-10-01 Joseph Myers <joseph@codesourcery.com>
194
195 [BZ #14645]
196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
197 if x * y might underflow to zero and z is zero.
198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
200 * math/libm-test.inc (min_subnorm_value): New variable.
201 (fma_test): Add more tests.
202 (fma_test_towardzero): Likewise.
203 (fma_test_downward): Likewise
204 (fma_test_upward): Likewise.
205 (initialize): Set min_subnorm_value.
206
8ec5b013
JM
2072012-09-29 Joseph Myers <joseph@codesourcery.com>
208
209 [BZ #14638]
210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
211 0 + 0.
212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
213 mode for addition resulting in exact zero.
214 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
216 exact 0 + 0.
217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
219 * math/libm-test.inc (fma_test): Add more tests.
220 (fma_test_towardzero): New function.
221 (fma_test_downward): Likewise.
222 (fma_test_upward): Likewise.
223 (main): Call the new functions.
224
b1fa802e
DM
2252012-09-28 David S. Miller <davem@davemloft.net>
226
227 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
228
d3b9fd9e
RM
2292012-09-28 Roland McGrath <roland@hack.frob.com>
230
ea4d37b3
RM
231 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
232 instead of SIGALRM.
233
ac51c949
RM
234 * sysdeps/gnu/_G_config.h: Moved to ...
235 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
236 * sysdeps/mach/hurd/_G_config.h: Moved to ...
237 * sysdeps/generic/_G_config.h: ... here.
238
28c195f7
RM
239 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
240
848917f9
RM
241 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
242
6bacf05b
RM
243 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
244 Conditionalize target on [libnss_test1.so-version].
245
91363dbb
RM
246 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
247
cc87f7d8
RM
248 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
249 (elfobjdir): Move out of conditionals.
250
b1c608fe
RM
251 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
252 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
253 (__nss_lookup_function): Conditionalize label remove_from_tree on
254 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 255
1d9a6d96
DM
2562012-09-28 David S. Miller <davem@davemloft.net>
257
258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
260 file.
261 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
262 sysdep_routines.
263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
265 when HWCAP_SPARC_CRYPTO is present.
266
72581615
PT
2672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
268
269 * io/tst-mknodat.c: Create a FIFO instead of a socket.
270
715a900c
JL
2712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
272
273 [BZ #6530]
274 * stdio-common/vfprintf.c (process_string_arg): Revert
275 2000-07-22 change.
276
2772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
278
279 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
280 for testcase.
281 * stdio-common/tst-sprintf.c: Include <locale.h>
282 (main): Test sprintf's handling of incomplete multibyte
283 characters.
284
9bac1d86
L
2852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
286
287 * elf/dl-runtime.c (VERSYMIDX): Removed.
288 * elf/dl-version.c (VERSYMIDX): Likewise.
289 * elf/do-rel.h (VERSYMIDX): Likewise.
290 (VALIDX): Likewise.
291 * elf/dynamic-link.h (VERSYMIDX): Likewise.
292 * elf/rtld.c (VALIDX): Likewise.
293 (ADDRIDX): Likewise.
9bac1d86
L
294 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
295 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
296 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
297 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
298 (VALIDX): Likewise.
299 (ADDRIDX): Likewise.
9bac1d86 300
b31606c0
PT
3012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
302
303 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
304
11541177
JL
3052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
306
307 [BZ #11438]
308 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
309 to global scope.
310 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
311 addresses are in the same scope as 192.0.2/24.
312 * posix/gai.conf: Document new scope table defaults.
313
adb26fae
SP
3142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
315
316 [BZ #5298]
317 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
318 for ftell. Compute offsets from write pointers instead.
319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
320
4573c6b0
SP
3212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
322
323 [BZ #14543]
324 * libio/Makefile (tests): New test case tst-fseek.
325 * libio/tst-fseek.c: New test case to verify that fseek/ftell
326 combination works in wide mode.
327 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
328 state when the external buffer state changes.
329
aa9bbfe6
DM
3302012-09-27 David S. Miller <davem@davemloft.net>
331
332 [BZ #14376]
333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
334 pass reloc->r_addend in as the 'high' argument to
335 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
336
784421e7
DM
337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
338
c39bc8b8
PT
3392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
340
341 * rt/tst-aio2.c: Include <pthread.h>.
342 * rt/tst-aio3.c: Likewise.
343
1ccc2399
SE
3442012-09-27 Steve Ellcey <sellcey@mips.com>
345
346 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
347
31ed4153
L
3482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
349
25f5f885
L
350 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
351 contents on [SHARED].
31ed4153 352
b7bfe116
MP
3532012-09-26 Marek Polacek <polacek@redhat.com>
354
355 [BZ #14530]
356 [BZ #13741]
357 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
358 for C++ and GCC <4.3 as well as for non GCC compilers.
359
43c4edba
MT
3602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
361
362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
363
6a1bf82f
RM
3642012-09-25 Roland McGrath <roland@hack.frob.com>
365
366 * Makefile.in (all, install): Declare with .PHONY.
367 Reported by Michael Hope <michael.hope@linaro.org>.
368
8ad11b9a
TMQMF
3692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
370
371 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
372 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
373 system header.
374 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
375 Likewise.
376 (sydep_routines): Add the new and the internal functions.
377 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
380 (GLIBC_2.17): Add the new function.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
382 (GLIBC_2.17): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
384 (GLIBC_2.17): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
386 (GLIBC_2.17): Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
388
7e2fca8d
AM
3892012-09-25 Alan Modra <amodra@gmail.com>
390
391 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
392 Add release barrier before setting once_control to say
393 initialisation is done. Add hints on lwarx. Use macro in
394 place of isync.
395 (clear_once_control): Add release barrier.
396
b87c4b24
JM
3972012-09-25 Joseph Myers <joseph@codesourcery.com>
398
d032e0d2
JM
399 [BZ #13629]
400 * math/s_clog.c (__clog): Handle more values close to |z| = 1
401 specially.
402 * math/s_clog10.c (__clog10): Likewise.
403 * math/s_clog10f.c (__clog10f): Likewise.
404 * math/s_clog10l.c (__clog10l): Likewise.
405 * math/s_clogf.c (__clogf): Likewise.
406 * math/s_clogl.c (__clogl): Likewise.
407 * math/Makefile (libm-calls): Add x2y2m1.
408 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
409 (__x2y2m1): Likewise.
410 (__x2y2m1l): Likewise.
411 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
412 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
413 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
415 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
416 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
417 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
418 * sysdeps/i386/fpu/libm-test-ulps: Update.
419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
420
b87c4b24
JM
421 [BZ #14621]
422 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
423 int as type of variable DEPTH.
424 (glob): Use size_t instead of int as type of variables NEWCOUNT
425 and OLD_PATHC.
426
6d3bf199
LD
4272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
428
22bf5c17
LD
429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
430 Add s_sincosf-sse2.
431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
432 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
433 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
434 macros for using routine as __sincosf_ia32.
435 Use macro for function declaration and weak_alias.
436 * sysdeps/i386/fpu/libm-test-ulps: Update.
437
438 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
440
441 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
442 subnormal argument.
443 * math/s_cexpf.c (__cexpf): Likewise.
444 * math/s_csinf.c (__csinf): Likewise.
445 * math/s_csinhf.c (__csinhf): Likewise.
446 * math/s_ctanf.c (__ctanf): Likewise.
447 * math/s_ctanhf.c (__ctanhf): Likewise.
448 * math/s_ccosh.c (__ccoshf): Likewise.
449 * math/s_cexp.c (__cexpl): Likewise.
450 * math/s_csin.c (__csin): Likewise.
451 * math/s_csinh.c (__csinh): Likewise.
452 * math/s_ctan.c (__ctan): Likewise.
453 * math/s_ctanh.c (ctanh): Likewise.
454 * math/s_ccoshl.c (__ccoshl): Likewise.
455 * math/s_cexpl.c (__cexpl): Likewise.
456 * math/s_csinl.c (__csinl): Likewise.
457 * math/s_csinhl.c (__csinhl): Likewise.
458 * math/s_ctanl.c (__ctanl): Likewise.
459 * math/s_ctanhl.c (__ctanhl): Likewise.
460
203e5603
JM
4612012-09-25 Joseph Myers <joseph@codesourcery.com>
462
463 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
464 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
465 (_IO_off_t): Define to __off_t, not _G_off_t.
466 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
467 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
468 (_IO_wint_t): Define to wint_t, not _G_wint_t.
469 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
470 type of __dummy and __dummy2 fields.
471 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
472 (_G_ssize_t): Likewise.
473 (_G_off_t): Likewise.
474 (_G_pid_t): Likewise.
475 (_G_uid_t): Likewise.
476 (_G_wchar_t): Likewise.
477 (_G_wint_t): Likewise.
478 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
479 (_G_ssize_t): Likewise.
480 (_G_off_t): Likewise.
481 (_G_pid_t): Likewise.
482 (_G_uid_t): Likewise.
483 (_G_wchar_t): Likewise.
484 (_G_wint_t): Likewise.
485 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
486 (_G_ssize_t): Likewise.
487 (_G_off_t): Likewise.
488 (_G_pid_t): Likewise.
489 (_G_uid_t): Likewise.
490 (_G_wchar_t): Likewise.
491 (_G_wint_t): Likewise.
492
9fab36eb
SP
4932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
494
495 * malloc/arena.c: Include malloc-sysdep.h.
496 (shrink_heap): Use check_may_shrink_heap to decide if madvise
497 is sufficient to shrink the heap or an unmap is needed.
498 * sysdeps/generic/malloc-sysdep.h: New file. Define
499 new function check_may_shrink_heap.
500 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
501 new function check_may_shrink_heap.
502
2b4f00d1
SP
5032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
504
505 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
506 comments.
507
9a9028b1
DL
5082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
509
57c69bef
DL
510 * catgets/test-gencat.sh: Add "set -e".
511 * elf/tst-pathopt.sh: Likewise.
512 * grp/tst_fgetgrent.sh: Likewise.
513 * iconvdata/run-iconv-test.sh: Likewise.
514 * intl/tst-gettext.sh: Likewise.
515 * intl/tst-gettext2.sh: Likewise.
516 * intl/tst-gettext4.sh: Likewise.
517 * intl/tst-gettext6.sh: Likewise.
518 * intl/tst-translit.sh: Likewise.
519 * io/ftwtest-sh: Likewise.
520 * libio/test-freopen.sh: Likewise.
521 * malloc/tst-mtrace.sh: Likewise.
522 * posix/globtest.sh: Likewise.
523 * posix/tst-getconf.sh: Likewise.
524 * posix/wordexp-tst.sh: Likewise.
525 * stdio-common/tst-printf.sh: Likewise.
526 * stdio-common/tst-unbputc.sh: Likewise.
527 * stdlib/tst-fmtmsg.sh: Likewise.
528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
529 * catgets/Makefile: Do not specify -e option when running
530 testsuite shell scripts.
531 * elf/Makefile: Likewise.
532 * grp/Makefile: Likewise.
533 * iconvdata/Makefile: Likewise.
534 * intl/Makefile: Likewise.
535 * io/Makefile: Likewise.
536 * libio/Makefile: Likewise.
537 * malloc/Makefile: Likewise.
538 * posix/Makefile: Likewise.
539 * stdio-common/Makefile: Likewise.
540 * stdlib/Makefile: Likewise.
541 * sysdeps/x86_64/Makefile: Likewise.
542
9a9028b1
DL
543 * io/ftwtest-sh: Add copyright header.
544 * posix/globtest.sh: Likewise.
545 * posix/tst-getconf.sh: Likewise.
546 * posix/wordexp-tst.sh: Likewise.
547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
548
ced6f16e
L
5492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
550
94b32c39
L
551 [BZ #13679]
552 * Makeconfig (+link): Defined as $(+link-static) if
553 $(build-shared) isn't yes.
554 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
555 isn't yes.
556 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
557
189e935b
L
558 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
559
ced6f16e
L
560 [BZ #14562]
561 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
562 new chunk size with MALLOC_ALIGN_MASK.
563
a9f8e53a
JM
5642012-09-24 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #5044]
567 * stdio-common/printf_fphex.c: Include <stdbool.h> and
568 <rounding-mode.h>.
569 (__printf_fphex): Determine rounding using get_rounding_mode and
570 round_away.
571 * stdio-common/tst-printf-round.c (struct hex_test): New
572 structure.
573 (hex_tests): New variable.
574 (test_hex_in_one_mode): New function.
575 (do_test): Also run tests for hex float output.
576
43153109
JM
5772012-09-21 Joseph Myers <joseph@codesourcery.com>
578
579 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
581 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
582 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
583 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
584 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
585 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
587
8a26625d
JM
5882012-09-20 Joseph Myers <joseph@codesourcery.com>
589
590 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
591 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
592 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
593 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
594
f3fd569c
DL
5952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
596
597 [BZ #14579]
598 * elf/rtld.c (dl_main): Limit the check for self loading to normal
599 mode only.
600 * elf/tst-rtld-load-self.sh: New test.
601 * elf/Makefile: Run it.
602
63bbedd4
JM
6032012-09-18 Joseph Myers <joseph@codesourcery.com>
604
605 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
606 (tst-writev-ENV): Remove.
607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
608
626f8b6a
CM
6092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
610
611 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
612
b7aaa4d6
JM
6132012-09-17 Joseph Myers <joseph@codesourcery.com>
614
615 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
616 unconditional.
617 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
618 Likewise.
619 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
620 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
622 Likewise.
623
65513990
L
6242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
625
626 [BZ #14587]
627 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
628 * config.make.in (have-cpp-asm-debuginfo): Removed.
629 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
630 * configure: Regenerated.
631
784761be
JM
6322012-09-14 Joseph Myers <joseph@codesourcery.com>
633
634 [BZ #5044]
635 * stdio-common/printf_fp.c: Include <stdbool.h> and
636 <rounding-mode.h>.
637 (___printf_fp): Determine rounding using get_rounding_mode and
638 round_away.
639 * stdio-common/tst-printf-round.c: New file.
640 * stdio-common/Makefile (tests): Add tst-printf-round.
641 (link-libm): New variable.
642 ($(objpfx)tst-printf-round): Depend in $(link-libm).
643
9503345f
L
6442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
645
646 [BZ #14576]
647 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
648 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
649 Likewise.
650 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
651 Likewise.
652
ad35fc00
JM
6532012-09-13 Joseph Myers <joseph@codesourcery.com>
654
655 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
656 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
657 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
659
6c9b0f68
JM
6602012-09-12 Joseph Myers <joseph@codesourcery.com>
661
662 [BZ #14518]
663 * include/rounding-mode.h: New file.
664 * sysdeps/generic/get-rounding-mode.h: Likewise.
665 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
666 * stdlib/strtod_l.c: Include <rounding-mode.h>.
667 (MAX_VALUE): New macro.
668 (MIN_VALUE): Likewise.
669 (overflow_value): New function.
670 (underflow_value): Likewise.
671 (round_and_return): Use overflow_value and underflow_value to
672 determine return values in overflow and underflow cases. Use
673 round_away to determine rounding depending on rounding mode.
674 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
675 determine return values in overflow and underflow cases.
676 * stdlib/tst-strtod-round.c: Include <fenv.h>.
677 (struct test_results): New structure.
678 (struct test): Use struct test_results to store expected results
679 for all rounding modes.
680 (TEST): Include expected results for all rounding modes.
681 (test_in_one_mode): New function.
682 (do_test): Use test_in_one_mode to compute and check results.
683 Check results for all rounding modes.
684 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
685 $(link-libm).
686
19fcedd5
AM
6872012-12-09 Allan McRae <allan@archlinux.org>
688
689 * sysdeps/i386/fpu/libm-test-ulps: Update
690
8bbfd2f1
JM
6912012-09-11 Joseph Myers <joseph@codesourcery.com>
692
693 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
694 (_G_int32_t): Likewise.
695 (_G_uint16_t): Likewise.
696 (_G_uint32_t): Likewise.
697 (_G_HAVE_BOOL): Likewise.
698 (_G_HAVE_ATEXIT): Likewise.
699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
700 (_G_HAVE_IO_FILE_OPEN): Likewise.
701 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
702 (_G_int32_t): Likewise.
703 (_G_uint16_t): Likewise.
704 (_G_uint32_t): Likewise.
705 (_G_HAVE_BOOL): Likewise.
706 (_G_HAVE_ATEXIT): Likewise.
707 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
708 (_G_HAVE_IO_FILE_OPEN): Likewise.
709 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
710 (_G_int32_t): Likewise.
711 (_G_uint16_t): Likewise.
712 (_G_uint32_t): Likewise.
713 (_G_HAVE_BOOL): Likewise.
714 (_G_HAVE_ATEXIT): Likewise.
715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
716 (_G_HAVE_IO_FILE_OPEN): Likewise.
717
b1dc5912
L
7182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
719
720 * csu/libc-tls.c: Update copyright years.
721
0e886ef9
JM
7222012-09-10 Joseph Myers <joseph@codesourcery.com>
723
28361c5e
JM
724 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
725 [!_G_USING_THUNKS]: Remove conditional code.
726 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
727 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
728
0e886ef9
JM
729 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
730 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
731 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
732 (_G_VTABLE_LABEL_PREFIX): Likewise.
733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
734 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
736 (_G_VTABLE_LABEL_PREFIX): Likewise.
737 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
738 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
740 (_G_VTABLE_LABEL_PREFIX): Likewise.
741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
742
bcba7aa2
L
7432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
744
745 * libio/Makefile: Include ../Makeconfig before tests.
746 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
747 only if $(build-shared) is yes.
748
06585ee8
L
749 * iconv/gconv_db.c: Update copyright years.
750
80ccd52c
LD
7512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
752
753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
754 unwind info if defined PIC. Fix special cases description.
755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
756
757 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
758 DP_HI_MASK entry.
759 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
760
691bc9c1
L
7612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
762
3d9b46b3
L
763 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
764
de2139a9
L
765 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
766 is NULL.
767
5ca78dd0
L
768 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
769 (LDLIBS-tst-chk4): This.
770 (LDFLAGS-tst-chk5): Renamed to ...
771 (LDLIBS-tst-chk5): This.
772 (LDFLAGS-tst-chk6): Renamed to ...
773 (LDLIBS-tst-chk6): This.
774 (LDFLAGS-tst-lfschk4): Renamed to ...
775 (LDLIBS-tst-lfschk4): This.
776 (LDFLAGS-tst-lfschk5): Renamed to ...
777 (LDLIBS-tst-lfschk5): This.
778 (LDFLAGS-tst-lfschk6): Renamed to ...
779 (LDLIBS-tst-lfschk6): This.
780
691bc9c1
L
781 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
782 on $(common-objpfx)soversions.mk.
783
65cafb1c
JM
7842012-09-07 Joseph Myers <joseph@codesourcery.com>
785
786 [BZ #10014]
787 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
788 example host name.
789
c78ab094
SP
7902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 * malloc/arena.c (arena_get_retry): New function that gets
793 another arena for the caller to try its request on.
794 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
795 current arena cannot fulfill the request.
796 (__libc_memalign): Likewise.
797 (__libc_memalign): Likewise.
798 (__libc_pvalloc): Likewise.
799 (__libc_calloc): Likewise.
800
01f49f59
JT
8012012-09-05 John Tobey <john.tobey@gmail.com>
802
803 [BZ #13542]
804 * manual/arith.texi (Operations on Complex): Fix description
805 of carg branch cut.
806
4c23fed5
JM
8072012-09-06 Joseph Myers <joseph@codesourcery.com>
808
1d3c8572
JM
809 [BZ #10014]
810 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
811 host name.
812
4c23fed5
JM
813 [BZ #10038]
814 * manual/memory.texi (Memory): Make order of menu items match
815 order of sections.
816
04570aaa
L
8172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
818
819 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
820 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
821 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
822
b80af2f4
L
8232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
824
825 * csu/libc-tls.c (static_dtv): Renamed to ...
826 (_dl_static_dtv): This. Make it global.
827 (_dl_initial_dtv): Removed.
828 (__libc_setup_tls): Updated.
829 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
830 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
831 DL_INITIAL_DTV.
832
2abe9f15
PM
8332012-09-06 Petr Machata <pmachata@redhat.com>
834
835 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
836 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
837 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
838 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
839
0948c3af
L
8402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
841
842 [BZ #14545]
843 * csu/libc-tls.c (_dl_initial_dtv): New variable.
844 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
845 freeing dtv[-1].
846
a5055ad1
L
8472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
848
849 [BZ #14544]
850 * Makeconfig (link-static-before-libc): Replace $(+prector)
851 with $(+prectorT).
852 (link-static-after-libc): Replace $(+postctor) with
853 $(+postctorT).
854 (link-bounded): Replace $(+prector)/$(+postctor) with
855 $(+prectorT)/$(+postctorT).
856 (+prectorT): New macro.
857 (+postctorT): Likewise.
858
ed8c2ecd
JM
8592012-09-06 Joseph Myers <joseph@codesourcery.com>
860
861 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
862 (round_str): Handle values above the maximum for IBM long double
863 as inexact.
864 * stdlib/tst-strtod-round.c (tests): Regenerated.
865
14c996c8
AK
8662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
867
868 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
869 assembler flag.
870 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
871 zarch_nohighgprs around the zarch optimized routines.
872 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
873 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
875 for zarch.
876
430d6ce6
DM
8772012-09-05 David S. Miller <davem@davemloft.net>
878
879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
880
ff04dda4
DM
881 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
882 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
885 entries.
886
24d4e01b
AO
8872012-09-05 Alexandre Oliva <aoliva@redhat.com>
888
889 * malloc/arena.c: Fold copyright years.
890 * malloc/mcheck.c, malloc/memusage.c: Likewise.
891
61d58174
AO
8922012-09-05 Alexandre Oliva <aoliva@redhat.com>
893
894 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
895
20196a5e
AO
8962012-09-05 Alexandre Oliva <aoliva@redhat.com>
897
898 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
899
5c447383
AO
9002012-09-05 Alexandre Oliva <aoliva@redhat.com>
901
902 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
903 change internal state upon failure.
904
fad64255
AO
9052012-09-05 Alexandre Oliva <aoliva@redhat.com>
906
907 * malloc/mcheck.c (mcheck_check_all): Fix typo.
908 * malloc/memusage.c (mmap): Likewise.
909 (mmap64, mremap): Likewise. Adjust name in comment.
910
1ffb8c90
SP
9112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
912
913 * libio/fileops.c: Fix typos in comments.
914 * libio/oldfileops.c: Likewise.
915 * libio/wfileops.c: Likewise.
916
6ef9cc37
SP
9172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 [BZ #1349]
920 * malloc/Makefile (tests): Add tst-malloc-usable test case.
921 (tst-malloc-usable-ENV): Set environment for test case.
922 * malloc/hooks.c (malloc_check_get_size): New function to get
923 requested size.
924 * malloc/malloc.c (musable): Use malloc_check_get_size.
925 * malloc/tst-malloc-usable.c: New test case.
926
4d038ae3
AS
9272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
928
929 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
930
c4e85184
AM
9312012-09-05 Allan McRae <allan@archlinux.org>
932
b9dafc56 933 [BZ #13966]
c4e85184
AM
934 * configure.in (CXX_SYSINCLUDES): Use compiler output to
935 determine header location.
936 * configure: Regenerated.
937
e1343020
AS
9382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
939
940 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
941 float format.
942 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
943 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
944 format.
e1343020
AS
945 (test): Regenerate.
946
0a9f1987
DM
9472012-09-04 David S. Miller <davem@davemloft.net>
948
949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
952
29237804
FW
9532012-09-04 Florian Weimer <fweimer@redhat.com>
954
955 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
956 failures.
957
edb3cb88
FW
958 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
959
60160d83
JM
9602012-09-04 Joseph Myers <joseph@codesourcery.com>
961
962 [BZ #9914]
963 * libio/iogetdelim.c: Include <limits.h>.
964 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
965 + len + 1 would overflow.
966
bcd6c8dc
AJ
9672012-09-03 Andreas Jaeger <aj@suse.de>
968
969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971
4ffffbd2
LD
9722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
973
974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
975 Add s_sinf-sse2, s_conf-sse2.
976
977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
978 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
979 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
980 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
981
982 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
983 for using routine as __sinf_ia32.
984 Use macro for function declaration and weak_alias.
985 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
986 for using routine as __cosf_ia32.
987 Use macro for function declaration and weak_alias.
988
989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
990 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
991
992 * sysdeps/x86_64/fpu/s_sinf.S: New file.
993 * sysdeps/x86_64/fpu/s_cosf.S: New file.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
995
996 * math/libm-test.inc (cos_test): Add more test cases.
997 (sin_test): Likewise.
998 (sincos_test): Likewise.
999
511fa286
AK
10002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1001
1002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1003 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1004 hidden.
1005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1006
5f30cfec
L
10072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 [BZ #14538]
1010 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1011 first element of the GOT.
1012 (elf_machine_load_address): Return the difference between
1013 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1014
0786794f
AM
10152012-09-01 Allan McRae <allan@archlinux.org>
1016
5f30cfec
L
1017 [BZ #13412]
1018 * configure.in (AWK): Require gawk version 3.0 or later.
1019 * configure: Regenerated.
0786794f 1020
26889eac
JM
10212012-09-01 Joseph Myers <joseph@codesourcery.com>
1022
1023 * sysdeps/unix/sysv/linux/kernel-features.h
1024 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1026 [__NR_clock_getres]: Make code unconditional.
1027 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1028 (clock_getcpuclockid): Remove code left unreachable by removal of
1029 conditionals.
1030 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1031 code unconditional.
1032 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1033 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1034 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1035 Make code unconditional.
1036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/clock_settime.c
1039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1040 conditional code.
1041 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1042 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1043
d22e28b0
L
10442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1045
1046 [BZ #14476]
1047 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1048 scripts/test-installation.pl.
1049
1050 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1051 and $ld_so_version if it is set.
1052
050af9c4
SP
10532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1054
1055 [BZ #14516]
1056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1057 failure if reading from procfs failed.
1058 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1059
ad845c0b
JM
10602012-08-27 Joseph Myers <joseph@codesourcery.com>
1061
1062 * sysdeps/unix/sysv/linux/kernel-features.h
1063 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1064 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1065 Remove conditional code.
1066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1067 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1068 Remove conditional code.
1069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1070 * sysdeps/unix/sysv/linux/i386/fxstat.c
1071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1073 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1076 * sysdeps/unix/sysv/linux/i386/lxstat.c
1077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1079 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1080 Remove conditional code.
1081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1082 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1083 Remove conditional code.
1084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1086 <kernel-features.h>.
1087 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1088 Remove.
1089 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1090 Remove conditional code.
1091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1092 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1093 Remove conditional.
1094
5dbf56af
MF
10952012-08-27 Mike Frysinger <vapier@gentoo.org>
1096
1097 [BZ #5400]
1098 * NEWS: Add fixed bug number.
1099
d6e70f43
JM
11002012-08-27 Joseph Myers <joseph@codesourcery.com>
1101
7efb4737
JM
1102 [BZ #14519]
1103 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1104 underflowing exponent in case of negative sign.
1105 * stdlib/tst-strtod-round-data: Add more tests.
1106 * stdlib/tst-strtod-round.c (tests): Regenerated.
1107
af92131a
JM
1108 [BZ #3479]
1109 * stdlib/strtod_l.c (NDIG): Remove.
1110 (HEXNDIG): Likewise.
1111 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1112 smallest representable value.
1113 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1114 lie within an exact representation of 1/2 ulp of the result.
1115 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1116 unconditionally.
1117 (TENS_P9_IDX): Define unconditionally.
1118 (TENS_P9_SIZE): Likewise.
1119 (TENS_P10_IDX): Likewise.
1120 (TENS_P10_SIZE): Likewise.
1121 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1122 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1124 entries for 10^2^13 and 10^2^14.
1125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1126 (TENS_P13_IDX): Define.
1127 (TENS_P13_SIZE): Likewise.
1128 (TENS_P14_IDX): Likewise.
1129 (TENS_P14_SIZE): Likewise.
1130 (_fpioconst_pow10): Change array size to
1131 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1132 unconditional.
1133 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1134 1024]: Add entries for 10^2^13 and 10^2^14.
1135 [LAST_POW10 > _LAST_POW10]: Remove #error.
1136 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1137 (_fpioconst_pow10): Change array size to
1138 FPIOCONST_POW10_ARRAY_SIZE.
1139 * stdlib/gen-fpioconst.c: New file.
1140 * stdlib/gen-tst-strtod-round.c: Likewise.
1141 * stdlib/tst-strtod-round-data: Likewise.
1142 * stdlib/tst-strtod-round.c: Likewise.
1143 * stdlib/Makefile (tests): Add tst-strtod-round.
1144
d6e70f43
JM
1145 [BZ #14459]
1146 * stdlib/strtod_l.c: Include <stdint.h>.
1147 (NDEBUG): Do not define.
1148 (round_and_return): Change EXPONENT parameter to type intmax_t.
1149 Rearrange calculations to avoid internal overflow possibilities.
1150 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1151 Rearrange calculations to avoid internal overflow possibilities.
1152 Assert that number fits inside MPNSIZE limbs.
1153 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1154 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1155 calculations and add assertions to avoid internal overflow
1156 possibilities. Add casts to avoid signed/unsigned operations.
1157 * stdlib/tst-strtod-overflow.c: New file.
1158 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1159
1f529f7d
MP
11602012-08-25 Marek Polacek <polacek@redhat.com>
1161
1162 * time/time.h: Fix some typos in comments.
1163
59a629f1
RM
11642012-08-23 Roland McGrath <roland@hack.frob.com>
1165
1166 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1167 * posix/tst-rfc3484-2.c: Likewise.
1168 * posix/tst-rfc3484-3.c: Likewise.
1169
d3bafbc9
SM
11702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1171
1172 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1173 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1174
4efcc022
JM
11752012-08-23 Joseph Myers <joseph@codesourcery.com>
1176
1177 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1178 #include of fxstatat64.c.
1179
3cc3ef96
RM
11802012-08-22 Roland McGrath <roland@hack.frob.com>
1181
f04e2132
RM
1182 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1183 * shadow/getspent_r.c: Likewise.
1184 * shadow/getspnam.c: Likewise.
1185 * shadow/getspnam_r.c: Likewise.
1186 * gshadow/getsgent.c: Likewise.
1187 * gshadow/getsgent_r.c: Likewise.
1188 * gshadow/getsgnam.c: Likewise.
1189 * gshadow/getsgnam_r.c: Likewise.
1190 * inet/getnetbyad.c: Likewise.
1191 * inet/getnetbyad_r.c: Likewise.
1192 * inet/getnetbynm.c: Likewise.
1193 * inet/getnetbynm_r.c: Likewise.
1194 * inet/getnetent.c: Likewise.
1195 * inet/getnetent_r.c: Likewise.
1196 * inet/getproto.c: Likewise.
1197 * inet/getproto_r.c: Likewise.
1198 * inet/getprtent.c: Likewise.
1199 * inet/getprtent_r.c: Likewise.
1200 * inet/getprtname.c: Likewise.
1201 * inet/getprtname_r.c: Likewise.
1202 * inet/getrpcbyname.c: Likewise.
1203 * inet/getrpcbyname_r.c: Likewise.
1204 * inet/getrpcbynumber.c: Likewise.
1205 * inet/getrpcbynumber_r.c: Likewise.
1206 * inet/getrpcent.c: Likewise.
1207 * inet/getrpcent_r.c: Likewise.
1208 * inet/getaliasent.c: Likewise.
1209 * inet/getaliasent_r.c: Likewise.
1210 * inet/getaliasname.c: Likewise.
1211 * inet/getaliasname_r.c: Likewise.
1212 * nscd/getgrgid_r.c: Likewise.
1213 * nscd/getgrnam_r.c: Likewise.
1214 * nscd/gethstbyad_r.c: Likewise.
1215 * nscd/gethstbynm3_r.c: Likewise.
1216 * nscd/getpwnam_r.c: Likewise.
1217 * nscd/getpwuid_r.c: Likewise.
1218 * nscd/getsrvbynm_r.c: Likewise.
1219 * nscd/getsrvbypt_r.c: Likewise.
1220 * nscd/gai.c: Likewise.
1221
c53d909c
RM
1222 * configure.in (build_nscd): New substituted variable, set
1223 by --disable-build-nscd and defaults to $use_nscd.
1224 * configure: Regenerated.
1225 * config.make.in (build-nscd): New substituted variable.
1226 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1227 Change conditional to require [$(build-nscd) = yes] as well.
1228 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1229
3cc3ef96
RM
1230 [BZ# 13696]
1231 * configure.in (use_nscd): New substituted variable, set by
1232 --disable-nscd. If enabled, define USE_NSCD.
1233 * configure: Regenerated.
1234 * config.h.in: Add USE_NSCD.
1235 * config.make.in (use-nscd): New substituted variable.
1236 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1237 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1238 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1239 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1240 (CFLAGS-getgrnam_r.c): Likewise.
1241 (CFLAGS-initgroups.c): Likewise.
1242 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1243 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1244 Variables removed.
1245 * inet/getnetgrent_r.c
1246 (nscd_setnetgrent): New function, broken out of ...
1247 (setnetgrent): ... here. Call it.
1248 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1249 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1250 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1251 * nscd/Makefile (routines, aux): Move definitions after include of
1252 Makeconfig. Conditionalize on [$(use-nscd) != no].
1253 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1254 Conditionalize on [USE_NSCD].
1255 (is_nscd, nscd_init_cb): Likewise.
1256 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1257 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1258 * nss/nss_db/db-init.c: Likewise.
1259 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1260 [USE_NSCD].
1261 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1262 (make_request): Use it.
1263 (cache_valid_p): New function.
1264 (__check_pf): Use it.
1265 * NEWS: Add item for --disable-nscd.
1266
07e51550
DL
12672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1268
1269 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1270 to support sed >= 4.2.1-20-ga9bf076.
1271 * configure: Regenerated.
1272
35a5b08b
RM
12732012-08-22 Roland McGrath <roland@hack.frob.com>
1274
1275 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1276 Conditionalize whole body on [IREL].
1277
8479f23a
JL
12782012-08-22 Jeff Law <law@redhat.com>
1279
1280 [BZ #14505]
1281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1282 if the family is PF_UNSPEC.
1283
48da0b21
MF
12842012-08-22 Mike Frysinger <vapier@gentoo.org>
1285
1286 * Makerules (lib-version): Rename from V.
1287 (install-lib-nosubdir): Change V to lib-version.
1288
15d0da8c
WS
12892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1290
1291 [BZ #14252]
1292 * powerpc32/power6/wcschr.c: New file.
1293 * powerpc32/power6/wcscpy.c: New file.
1294 * powerpc32/power6/wcsrchr.c: New file.
1295 * powerpc64/power6/wcschr.c: New file.
1296 * powerpc64/power6/wcscpy.c: New file.
1297 * powerpc64/power6/wcsrchr.c: New file.
1298
bcca0895
MK
12992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1300
1301 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1302 (two_way_short_needle): Use it.
5a4aaa33
RM
1303 * string/strstr.c (AVAILABLE1_USES_J): Define.
1304 * string/strcasestr.c: Likewise.
99677e57
MK
1305
1306 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1307 array references.
1308 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1309
400726de
MK
1310 [BZ #11607]
1311 * NEWS: Add an entry.
1312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1313 define their defaults.
1314 (two_way_short_needle): Detect end-of-string on-the-fly.
1315 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1316 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1317 * string/bug-strcasestr1.c: New test.
1318 * string/Makefile: Run it.
1319
20a71f2c
MK
13202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1321
1322 [BZ #11607]
1323 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1324 the first character.
1325
21ad0558
RM
13262012-08-21 Roland McGrath <roland@hack.frob.com>
1327
1328 * csu/elf-init.c (__libc_csu_irel): Function removed.
1329 * csu/libc-start.c (apply_irel): New function.
1330 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1331
0e1d9911
JM
13322012-08-21 Joseph Myers <joseph@codesourcery.com>
1333
1334 * sysdeps/unix/sysv/linux/kernel-features.h
1335 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1337 <kernel-features.h>.
1338 [__NR_fadvise64_64]: Make code unconditional.
1339 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1340 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1341 !__NR_fadvise64_64)]: Likewise.
1342 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1343 !__NR_fadvise64_64))]: Likewise.
1344 [__NR_fadvise64]: Make code unconditional.
1345 [!__NR_fadvise64]: Remove conditional code.
1346 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1347 <kernel-features.h>.
1348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1349 unconditional.
1350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1351 conditional code.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1353 not include <kernel-features.h>.
1354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1355 unconditional.
1356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1357 conditional code.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1359 include <kernel-features.h>.
1360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1361 unconditional.
1362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1363 conditional code.
1364
14a50c9d
WS
13652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1366
1367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1368 slight instruction rearrangements per scrollpipe analysis.
1369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1370
c0f4faf0
RM
13712012-08-20 Roland McGrath <roland@hack.frob.com>
1372
696da859
RM
1373 * manual/syslog.texi (syslog; vsyslog, closelog):
1374 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1375 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1376
c0f4faf0
RM
1377 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1378 DSOCAPS to match condition on defining it.
1379
348363b2
JM
13802012-08-20 Joseph Myers <joseph@codesourcery.com>
1381
a35cbf28
JM
1382 * sysdeps/unix/sysv/linux/kernel-features.h
1383 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1393
445f7ecd
JM
1394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1395 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1396
348363b2
JM
1397 * sysdeps/unix/sysv/linux/kernel-features.h
1398 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1399 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1400 unconditional.
1401 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1402 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1403 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1404 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1405 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1406 Make code unconditional.
1407 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1408 (__mmap64) [!__NR_mmap2]: Likewise.
1409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1413 [__NR_mmap2]: Make code unconditional.
1414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1415 (__mmap64) [!__NR_mmap2]: Likewise.
1416
bc5bc0e5
AK
14172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1418
1419 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1420
88d506de
AJ
14212012-08-18 Andreas Jaeger <aj@suse.de>
1422
1423 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1424
493387d2
MF
14252012-08-18 Mike Frysinger <vapier@gentoo.org>
1426
1427 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1428 * include/unistd.h (__have_sock_cloexec): Likewise.
1429 (__have_pipe2): Likewise.
1430 (__have_dup3): Likewise.
1431
a277af22
MF
14322012-08-18 Mike Frysinger <vapier@gentoo.org>
1433
1434 [BZ #9685]
1435 * include/unistd.h (__have_pipe2): Change define into an extern int.
1436 (__have_dup3): Likewise.
1437 * socket/have_sock_cloexec.c: Include fcntl.h.
1438 (__have_pipe2): New variable.
1439 (__have_dup3): Likewise.
1440
fdab8fd3
MF
14412012-08-17 Mike Frysinger <vapier@gentoo.org>
1442
1443 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1444
31035e80
MP
14452012-08-17 Marek Polacek <polacek@redhat.com>
1446
1447 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1448 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1449
3bd9e993
RM
14502012-08-17 Roland McGrath <roland@hack.frob.com>
1451
c91c505f
RM
1452 * configure.in: Add AC_SUBST for sysheaders.
1453 * configure: Regenerated.
1454 * config.make.in (sysheaders): New substituted variable.
1455
7c6f9d53
RM
1456 * sysdeps/unix/mkfifo.c: Moved ...
1457 * sysdeps/posix/mkfifo.c: ... here.
1458 * sysdeps/unix/mkfifoat.c: Moved ...
1459 * sysdeps/posix/mkfifoat.c: ... here.
1460
1461 * sysdeps/unix/utime.c: Moved ...
1462 * sysdeps/posix/utime.c: ... here.
1463
1464 * sysdeps/unix/time.c: Moved ...
1465 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1466 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1468
1469 * sysdeps/unix/nice.c: Moved ...
1470 * sysdeps/posix/nice.c: ... here.
1471
1472 * sysdeps/unix/alarm.c: Moved ...
1473 * sysdeps/posix/alarm.c: ... here.
1474
3bd9e993
RM
1475 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1476
d1f09384
JL
14772012-08-17 Jeff Law <law@redhat.com>
1478
1479 * intl/Makefile (codeset_mo): New variable.
1480 ($(codeset_mo)): New target.
1481 (tst-codeset.out): Depend on that. Remove explicit rule.
1482 (tst-gettext3.out, tst-gettext5.out): Likewise.
1483 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1484 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1485 * intl/tst-codeset.sh: Remove.
1486 * intl/tst-gettext3.sh: Likewise.
1487 * intl/tst-gettext5.sh: Likewise.
1488
2ae1ae5c
RM
14892012-08-17 Roland McGrath <roland@hack.frob.com>
1490
c31fdb83
RM
1491 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1492 * sysdeps/unix/syscalls.list: ... here.
1493
a0844057
RM
1494 * sysdeps/posix/getaddrinfo.c
1495 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1496 (gaiconf_init, gaiconf_reload): Use them.
1497 [!_STATBUF_ST_NSEC]
1498 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1499 Define using time_t rather than struct timespec.
1500
750c1f2a
RM
1501 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1502 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1503 Macros removed.
1504 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1505 [!NO_THREADS].
1506 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1507 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1508 Likewise.
1509
2ae1ae5c
RM
1510 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1511 __libc_cleanup_push argument.
1512
e66a42f5
RM
1513 * bits/param.h: New file.
1514 * misc/sys/param.h: New file.
1515 * include/sys/param.h: New file.
1516 * misc/Makefile (headers): Add bits/param.h.
1517 * sysdeps/generic/sys/param.h: File removed.
1518 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1519 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1520 * sysdeps/mach/hurd/bits/param.h: New file.
1521 * sysdeps/mach/hurd/sys/param.h: New file.
1522
b7c08a66
RM
1523 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1524 last change.
1525
b2e1c562
RM
1526 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1527 [_IO_MTSAFE_IO].
1528 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1529 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1530 New macros.
1531
c75ccd4c
RM
1532 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1533 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1534 rather than -D_IO_MTSAFE_IO conditionally.
1535 * stdio-common/Makefile (CPPFLAGS): Likewise.
1536 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1537 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1538 Use $(libio-mtsafe).
1539 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1540 of -D_IO_MTSAFE_IO.
1541 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1542 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1543 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1544 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1545 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1546 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1547 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1548 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1549 (CFLAGS-fread_u_chk.c): Likewise.
1550 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1551 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1552 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1553 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1554 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1555 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1556 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1557 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1558 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1559
1560 * libio/Makefile: Test [$(libc-reentrant) = yes]
1561 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1562
1563 * Makeconfig
1564 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1565 * sysdeps/pthread/configure: File removed.
1566 * sysdeps/pthread/Makeconfig: New file.
1567 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1568 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1569
d9195db8
GB
15702012-08-16 Gary Benson <gbenson@redhat.com>
1571
1572 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1573 unmapping the first object in a namespace.
1574
86466cd9
RM
15752012-08-16 Roland McGrath <roland@hack.frob.com>
1576
1577 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1578 (__internal_setnetgrent): ... this. Add internal_function to
1579 definition. Add libc_hidden_def.
1580 (setnetgrent): Update caller.
1581 (internal_endnetgrent): Renamed to ...
1582 (__internal_endnetgrent): ... this. Add internal_function to
1583 definition. Add libc_hidden_def.
1584 (endnetgrent): Update caller.
1585 (internal_getnetgrent_r): Renamed to ...
1586 (__internal_getnetgrent_r): ... this. Add internal_function to
1587 definition. Add libc_hidden_def.
1588 (__getnetgrent_r): Update caller.
1589 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1590
c3c8283c
JM
15912012-08-16 Joseph Myers <joseph@codesourcery.com>
1592
1593 * stdlib/longlong.h: Update from GCC.
1594
db1ee0a8
RM
15952012-08-16 Roland McGrath <roland@hack.frob.com>
1596
1597 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1598 on _QL, which is set by umul_ppmm but never used.
1599 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1600 variables, which are set by GMP macros but never used.
1601 * stdio-common/_itowa.c (_itowa): Likewise.
1602 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1603 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1604
30f69637
CD
16052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1606
1607 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1608 struct La_sh_regs is not constant.
1609 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1610 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1611 and struct La_sparc64_regs are not constant.
1612
93a78ac4
JM
16132012-08-16 Joseph Myers <joseph@codesourcery.com>
1614
1615 * sysdeps/unix/sysv/linux/kernel-features.h
1616 (__ASSUME_POSIX_TIMERS): Remove.
1617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1619 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1620 Make code unconditional.
1621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1622 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1623 Make code unconditional.
1624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1625 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1626 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1629 Make code unconditional.
1630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1632 (__libc_missing_posix_timers): Remove.
1633
dd924cd7
RM
16342012-08-15 Roland McGrath <roland@hack.frob.com>
1635
4b4f2771
RM
1636 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1637 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1638
601c888b
RM
1639 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1640
176790a7
RM
1641 * elf/dl-sym.c: Include <stdlib.h>.
1642
329bc018
RM
1643 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1644 constants, which avoids warnings in 32-bit builds.
1645
e04e272d
RM
1646 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1647 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1648
952bf94a
RM
1649 * misc/lseek.c: File moved to ...
1650 * io/lseek.c: ... here.
1651
7c99b50a
RM
1652 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1653
dd924cd7
RM
1654 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1655 shifting LEN more than 31 bits at once.
1656
b3f479a8
LD
16572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1658
1659 [BZ #14195]
8c4ae0d4
RM
1660 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1661 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1662 * string/test-strncasecmp.c (check1): Renamed to...
1663 (bz12205): ...this.
1664 (bz14195): Add new testcase for two empty input strings and N > 0.
1665 (test_main): Call new testcase, adapt for renamed function.
1666
9c55864e
AJ
16672012-08-15 Andreas Jaeger <aj@suse.de>
1668
1669 [BZ #14090]
1670 * crypt/md5test2.c: New test, based on test supplied by Serge
1671 Belyshev <belyshev@depni.sinp.msu.ru>.
1672 * crypt/Makefile (xtests): Add md5test-giant..
1673 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1674
02dcb6c5
PE
16752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1676
1677 [BZ #14090]
1678 * crypt/md5.c (md5_process_block): Don't assume the buffer
1679 length is less than 2**32.
1680 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1681 length is less than 2**64.
1682
a3f95dcc
RM
16832012-08-15 Roland McGrath <roland@hack.frob.com>
1684
be75d758
RM
1685 * string/str-two-way.h: Include <sys/param.h>.
1686 (MAX): Macro removed.
1687
7312ca90
RM
1688 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1689 Move #define and #undef of memmove to just before and after
1690 including <string.h>.
1691
9a0a5486
RM
1692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1693 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1694 and after including <string.h>. Move declarations of
1695 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1696 to before #include "string/memmove.c".
1697
67cc348d
RM
1698 * include/dirent.h: Declare __getdirentries.
1699
a3f95dcc
RM
1700 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1701 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1702
ca98e171
MF
17032012-08-14 Mike Frysinger <vapier@gentoo.org>
1704
1705 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1706 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1707 * sysdeps/i386/configure: Regenerated.
1708 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1709 STABS_CURRENT_FILE, and STABS_FUN.
1710 (END): Remove call to STABS_FUN_END.
1711 (STABS_CURRENT_FILE1): Delete.
1712 (STABS_CURRENT_FILE): Likewise.
1713 (STABS_FUN): Likewise.
1714 (STABS_FUN_END): Likewise.
1715 (STABS_FUN2): Likewise.
1716 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1717 * sysdeps/x86_64/configure: Regenerated.
1718
5908bf46
RM
17192012-08-14 Roland McGrath <roland@hack.frob.com>
1720
1721 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1722 * elf/dl-lookup.c: Likewise.
5908bf46 1723
f2c05b9e
JM
17242012-08-14 Joseph Myers <joseph@codesourcery.com>
1725
1726 * sysdeps/unix/sysv/linux/kernel-features.h
1727 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1728 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1729 unconditionally.
1730 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1731 unconditionally.
1732 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1733 condition on __ASSUME_CLONE_THREAD_FLAGS.
1734
e11f5155
AJ
17352012-08-14 Andreas Jaeger <aj@suse.de>
1736
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738
51a9ba86
MK
17392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1740
2fdd4f78
AJ
1741 * include/atomic.h (atomic_exchange_and_add): Split into ...
1742 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1743 New atomic macros.
51a9ba86 1744
ba6cba9e
MT
17452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1746
1747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1748
42443a47
JL
17492012-08-13 Jeff Law <law@redhat.com>
1750
1751 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1752 null byte in the output string.
1753
121dce05
JM
17542012-08-10 Joseph Myers <joseph@codesourcery.com>
1755
1756 * sysdeps/unix/sysv/linux/kernel-features.h
1757 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1758 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1759 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1761 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1762 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1763 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1764
bf51f568
JL
17652012-08-09 Jeff Law <law@redhat.com>
1766
1767 [BZ #13939]
1768 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1769 When avoid_arena is set, don't retry in the that arena. Pick the
1770 next one, whatever it might be.
1771 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1772 (arena_lock): Pass in new parameter to arena_get2.
1773 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1774 arena_get2.
1775 (__libc_malloc): Unify retrying after main arena failure with
1776 __libc_memalign version.
1777 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1778
f85fa270
L
17792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1780
1781 [BZ #14166]
1782 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1783 to __redirect_strstr.
1784 (__strstr_sse42): Use typeof __redirect_strstr.
1785 (__strstr_ia32): Likewise.
1786 (__libc_strstr): New prototype.
1787 (strstr): Renamed to ...
1788 (__libc_strstr): This.
1789 (strstr): New strong alias of __libc_strstr.
1790 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1791 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1792 __redirect_time.
1793 Include <time.h>.
1794 (__libc_time): New prototype.
1795 (time_ifunc): Replace time with __libc_time.
1796 (time): New strong alias and hidden definition of __libc_time.
1797 (__GI_time): Remove strong alias.
1798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1799 Include <stddef.h>.
1800 (memmove): Redefined to __redirect_memmove.
1801 (__memmove_sse2): Use typeof __redirect_memmove.
1802 (__memmove_ssse3): Likewise.
1803 (__memmove_ssse3_back): Likewise.
1804 (__libc_memmove): New prototype.
1805 (memmove): Renamed to ...
1806 (__libc_memmove): This.
1807 (memmove): New strong alias of __libc_memmove.
1808
33b4a91e
MS
18092012-08-08 Mark Salter <msalter@redhat.com>
1810
1811 * elf/elf.h
1812 (R_MN10300_TLS_GD): Define.
1813 (R_MN10300_TLS_LD): Likewise.
1814 (R_MN10300_TLS_LDO): Likewise.
1815 (R_MN10300_TLS_GOTIE): Likewise.
1816 (R_MN10300_TLS_IE): Likewise.
1817 (R_MN10300_TLS_LE): Likewise.
1818 (R_MN10300_TLS_DTPMOD): Likewise.
1819 (R_MN10300_TLS_DTPOFF): Likewise.
1820 (R_MN10300_TLS_TPOFF): Likewise.
1821 (R_MN10300_SYM_DIFF): Likewise.
1822 (R_MN10300_ALIGN): Likewise.
1823 (R_MN10300_NUM): Update.
1824
b36137f1
JM
18252012-08-08 Joseph Myers <joseph@codesourcery.com>
1826
1827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1828 Remove.
1829
cdd915fd
RM
18302012-08-08 Roland McGrath <roland@hack.frob.com>
1831
a2433aac
RM
1832 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1833
cdd915fd
RM
1834 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1835 sysdeps/unix -> sysdeps/posix move.
1836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1837
bf9b740a
AM
18382012-08-07 Allan McRae <allan@archlinux.org>
1839
1840 [BZ #14303]
1841 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1842 (SUNOS_CPP): Likewise.
1843 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1844 not found.
1845 (open_input): Call CPP using execvp.
1846
93df14ee
JM
18472012-08-07 Joseph Myers <joseph@codesourcery.com>
1848
1849 * sysdeps/unix/sysv/linux/kernel-features.h
1850 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1853 (__ASSUME_WAITID_SYSCALL): Likewise.
1854 * sysdeps/unix/sysv/linux/dl-execstack.c
1855 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1856 code unconditional.
1857 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1858 conditional code.
1859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1860 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1861 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1862 code.
1863 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1864 unconditional.
1865 [__ASSUME_WAITID_SYSCALL]: Likewise.
1866 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1867
d34689de
RM
18682012-08-07 Roland McGrath <roland@hack.frob.com>
1869
a281decc
RM
1870 * sysdeps/unix/closedir.c: Renamed to ...
1871 * sysdeps/posix/closedir.c: ... here.
1872 * sysdeps/unix/dirfd.c: Renamed to ...
1873 * sysdeps/posix/dirfd.c: ... here.
1874 * sysdeps/unix/dirstream.h: Renamed to ...
1875 * sysdeps/posix/dirstream.h: ... here.
1876 * sysdeps/unix/fdopendir.c: Renamed to ...
1877 * sysdeps/posix/fdopendir.c: ... here.
1878 * sysdeps/unix/opendir.c: Renamed to ...
1879 * sysdeps/posix/opendir.c: ... here.
1880 * sysdeps/unix/readdir.c: Renamed to ...
1881 * sysdeps/posix/readdir.c: ... here.
1882 * sysdeps/unix/readdir_r.c: Renamed to ...
1883 * sysdeps/posix/readdir_r.c: ... here.
1884 * sysdeps/unix/rewinddir.c: Renamed to ...
1885 * sysdeps/posix/rewinddir.c: ... here.
1886 * sysdeps/unix/seekdir.c: Renamed to ...
1887 * sysdeps/posix/seekdir.c: ... here.
1888 * sysdeps/unix/telldir.c: Renamed to ...
1889 * sysdeps/posix/telldir.c: ... here.
1890 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1891 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1892 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1893 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1894
22895b47
RM
1895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1896 * bits/fcntl.h: ... here.
1897
707a53b6
RM
1898 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1899 not 0.
1900 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1901 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1902 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1903 (struct flock): Move l_start, l_len to the beginning.
1904 Use __pid_t for l_pid.
1905 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1906 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1907 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1908 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1909 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1910 [__USE_LARGEFILE64] (struct flock64): New type.
1911 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1912
f0bd3e25
RM
1913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1914 * bits/dirent.h: ... here.
1915
d34689de
RM
1916 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1917 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1918
6dad2c06
JM
19192012-08-07 Joseph Myers <joseph@codesourcery.com>
1920
1921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1922 Change from 2.6.0 to 2.6.16.
1923 * sysdeps/unix/sysv/linux/configure: Regenerated.
1924 * sysdeps/unix/sysv/linux/kernel-features.h
1925 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1926 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1927 version.
1928 (__ASSUME_UTIMES): Likewise.
1929 (__ASSUME_CLONE_STOPPED): Remove.
1930 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1931 architectures, not kernel version.
1932 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1935 (__ASSUME_WAITID_SYSCALL): Likewise.
1936 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1937 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1938 * README: State 2.6.16 as minimum Linux kernel version. Do not
1939 refer to older versions.
1940
03af9520
RM
19412012-08-06 Roland McGrath <roland@hack.frob.com>
1942
8e49df1d
RM
1943 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1944 Define alphasort64 as an alias.
1945 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1946 Define versionsort64 as an alias.
1947 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1948 Define scandir64 as an alias.
1949 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1950 Define scandirat64 as an alias.
1951 * dirent/alphasort64.c (alphasort64):
1952 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1953 * dirent/versionsort64.c: Likewise.
1954 * dirent/scandir64.c: Likewise.
1955 * dirent/scandirat64.c: Likewise.
1956 * sysdeps/wordsize-64/alphasort.c: File removed.
1957 * sysdeps/wordsize-64/alphasort64.c: File removed.
1958 * sysdeps/wordsize-64/scandir.c: File removed.
1959 * sysdeps/wordsize-64/scandir64.c: File removed.
1960 * sysdeps/wordsize-64/scandirat.c: File removed.
1961 * sysdeps/wordsize-64/scandirat64.c: File removed.
1962 * sysdeps/wordsize-64/versionsort.c: File removed.
1963 * sysdeps/wordsize-64/versionsort64.c: File removed.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1972
1973 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1975 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1977 [defined __arch64__ || defined __sparcv9]
1978 (__INO_T_MATCHES_INO64_T): New macro.
1979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1980 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1981 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1982 * sysdeps/unix/sysv/linux/bits/dirent.h
1983 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1984 (_DIRENT_MATCHES_DIRENT64): New macro.
1985
03af9520
RM
1986 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1987 Define lockf64 as an alias.
1988 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1989 Define fseeko64 as an alias.
1990 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1991 Define ftello64 as an alias.
1992 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1993 Define _IO_fgetpos64 and fgetpos64 as aliases.
1994 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1995 Define _IO_fsetpos64 and fsetpos64 as aliases.
1996 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1997 Conditionalize body on this.
1998 * libio/fseeko64.c: Likewise.
1999 * libio/ftello64.c: Likewise.
2000 * libio/iofgetpos64.c: Likewise.
2001 * libio/iofsetpos64.c: Likewise.
2002 * sysdeps/wordsize-64/lockf.c: File removed.
2003 * sysdeps/wordsize-64/lockf64.c: File removed.
2004 * sysdeps/wordsize-64/fseeko.c: File removed.
2005 * sysdeps/wordsize-64/fseeko64.c: File removed.
2006 * sysdeps/wordsize-64/ftello.c: File removed.
2007 * sysdeps/wordsize-64/ftello64.c: File removed.
2008 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2009 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2010 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2011 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2022
2023 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2025 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2027 [defined __arch64__ || defined __sparcv9]
2028 (__OFF_T_MATCHES_OFF64_T): New macro.
2029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2030 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2032 (__OFF_T_MATCHES_OFF64_T): New macro.
2033
c5757acd
L
20342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 * stdlib/secure-getenv.c (__secure_getenv): Replace
2037 GLIBC_2_16 with GLIBC_2_17.
2038
3a31811e
L
20392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2043
faa2bccb
DM
20442012-08-03 David S. Miller <davem@davemloft.net>
2045
2046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2047
85fe1997
JM
20482012-08-03 Joseph Myers <joseph@codesourcery.com>
2049
2050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2051 Remove.
2052 (__ASSUME_CORRECT_SI_PID): Likewise.
2053 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2054 (__ASSUME_TMPFS_NAME): Likewise.
2055 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2056 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2057 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2058 (HAVE_AUX_SECURE): Make definition unconditional.
2059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2060 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2061
4f75b7a0
RM
20622012-08-03 Roland McGrath <roland@hack.frob.com>
2063
2064 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2065 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2066 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2068 __eloop_threshold instead of SYMLOOP_MAX.
2069
2070 * sysdeps/generic/eloop-threshold.h: New file.
2071 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2072 of MAXSYMLINKS.
2073 * elf/chroot_canon.c (chroot_canon): Likewise.
2074
7aab07e4
JM
20752012-08-03 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #13717]
2078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2079 Change to 2.6.0 everywhere.
2080 * sysdeps/unix/sysv/linux/configure: Regenerated.
2081 * sysdeps/unix/sysv/linux/kernel-features.h
2082 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2083 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2084 kernel versions.
2085 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2086 (__ASSUME_FUTEX_REQUEUE): Remove.
2087 (__ASSUME_STATFS64): Define unconditionally.
2088 (__ASSUME_AT_SECURE): Likewise.
2089 (__ASSUME_CORRECT_SI_PID): Likewise.
2090 (__ASSUME_TGKILL): Define without depending on kernel version for
2091 i386.
2092 (__ASSUME_UTIMES): Likewise.
2093 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2094 kernel version.
2095 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2096 (__ASSUME_TMPFS_NAME): Likewise.
2097 * README: Update reference to Linux kernel versions.
2098
b67e9372
MP
20992012-08-02 Marek Polacek <polacek@redhat.com>
2100
1f529f7d 2101 [BZ# 14150]
b67e9372
MP
2102 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2103 libc_cv_asm_type_prefix with %.
2104 * configure: Regenerated.
d2441631
RM
2105 * include/libc-symbols.h: Remove comment about
2106 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2107 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2108 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2109 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2110 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2111 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2112 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2113 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2114 * elf/tst-unique2mod1.c: Likewise.
2115 * elf/tst-unique1mod2.c: Likewise.
2116 * elf/tst-unique1mod1.c: Likewise.
2117 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2118 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2119 Replace ASM_TYPE_DIRECTIVE with .type.
2120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2121 * sysdeps/i386/sysdep.h: Likewise.
2122 * sysdeps/x86_64/sysdep.h: Likewise.
2123 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2125 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2126 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2127 * sysdeps/powerpc/powerpc32/sysdep.h:
2128 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2131 * sysdeps/i386/fpu/e_powf.S: Likewise.
2132 * sysdeps/i386/fpu/e_expl.S: Likewise.
2133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2135 * sysdeps/i386/fpu/e_pow.S: Likewise.
2136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2140 * sysdeps/i386/fpu/e_log2.S: Likewise.
2141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2143 * sysdeps/i386/fpu/e_powl.S: Likewise.
2144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2146 * sysdeps/i386/fpu/e_logl.S: Likewise.
2147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2152 * sysdeps/i386/fpu/e_log.S: Likewise.
2153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2154 * sysdeps/i386/fpu/e_logf.S: Likewise.
2155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2157 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2158 * sysdeps/i386/fpu/e_log10.S: Likewise.
2159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2165 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2166 * sysdeps/i386/i686/strtok.S: Likewise.
2167 * sysdeps/i386/i386-mcount.S: Likewise.
2168 * sysdeps/i386/strtok.S: Likewise.
2169 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2178 * sysdeps/x86_64/_mcount.S: Likewise.
2179 * sysdeps/x86_64/strtok.S: Likewise.
2180 * sysdeps/sh/_mcount.S: Likewise.
2181
2747bf9a
RM
21822012-08-01 Roland McGrath <roland@hack.frob.com>
2183
2184 * libio/iofopen.c: Include <fcntl.h>.
2185 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2186 (_IO_fopen64, fopen64): Define as aliases.
2187 * libio/iofopen64.c: Include <fcntl.h>.
2188 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2189 Conditionalize body on this.
2190 * sysdeps/wordsize-64/iofopen.c: File removed.
2191 * sysdeps/wordsize-64/iofopen64.c: File removed.
2192
3fb791b8
MP
21932012-08-01 Marek Polacek <polacek@redhat.com>
2194
2195 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2196 Use dlfcn directly instead of a variable.
2197 (binfmt-subdir): Do not define.
2198 (dlfcn): Likewise.
2199
a9f1039f
JM
22002012-08-01 Joseph Myers <joseph@codesourcery.com>
2201
23bddc06
JM
2202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2203 Remove all definitions.
2204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2205 <kernel-features.h>.
2206 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2207 (miss_F_GETOWN_EX): Remove all definitions.
2208 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2209 macro definition.
2210 [!__ASSUME_FCNTL64]: Remove conditional code.
2211 [__ASSUME_FCNTL64]: Make code unconditional.
2212 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2213 <kernel-features.h>.
2214 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2215 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2216 (lockf64) [__NR_fcntl64]: Make code unconditional.
2217 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2218
a9f1039f
JM
2219 * sysdeps/unix/sysv/linux/kernel-features.h
2220 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2221 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2222 Make code unconditional.
2223 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2224 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2226 [__NR_vfork]: Make code unconditional.
2227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2230 [__NR_vfork]: Make code unconditional.
2231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2233
09c0ee5f
RM
22342012-08-01 Roland McGrath <roland@hack.frob.com>
2235
48aec5b9
RM
2236 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2237 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2238
cd97c966
RM
2239 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2240 Define mkstemp64 as an alias.
3f55550c
RM
2241 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2242 Define mkstemps64 as an alias.
cd97c966
RM
2243 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2244 Define mkostemp64 as an alias.
b8625cfc
RM
2245 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2246 Define mkostemps64 as an alias.
cd97c966
RM
2247 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2248 Conditionalize body on this.
2249 * misc/mkostemp64.c: Likewise.
b8625cfc 2250 * misc/mkostemps64.c: Likewise.
3f55550c 2251 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2252 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2253 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2254 * sysdeps/wordsize-64/mkostemp.c: File removed.
2255 * sysdeps/wordsize-64/mkstemp.c: File removed.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2260
09c0ee5f
RM
2261 [BZ #14138]
2262 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2264 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2265 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2266
2267 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2268 compat_symbol macros from <shlib-compat.h> rather than the underlying
2269 default_symbol_version and symbol_version macros, so that DEFAULT
2270 lines in shlib-versions are respected.
2271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2272
7e66ee51
FW
22732012-08-01 Florian Weimer <fweimer@redhat.com>
2274
2275 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2276 Declare with warn_unused_result.
2277 (setgid, setregid, setegid, setresgid): Likewise.
2278 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2279 Likewise.
2280 * WUR-REPORT: Remove set*id functions.
2281
d2a54255
PT
22822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2283
2284 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2285
7ecdb005
RM
22862012-07-31 Roland McGrath <roland@hack.frob.com>
2287
789bd351
RM
2288 * include/sys/socket.h (__libc_accept, __libc_accept4):
2289 Add attribute_hidden.
2290 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2291
40ce302d
RM
2292 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2293 use of PTR_MANGLE.
2294 * inet/getnetgrent_r.c (setup): Likewise.
2295
7ecdb005
RM
2296 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2297
e2eabb2c
DM
22982012-07-31 David S. Miller <davem@davemloft.net>
2299
2300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2301
d0419dbf
JM
23022012-07-31 Joseph Myers <joseph@codesourcery.com>
2303
2304 [BZ #13629]
2305 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2306 value between 1.0 and 2.0 and smaller part has absolute value less
2307 than 1.0.
2308 * math/s_clog10.c (__clog10): Likewise.
2309 * math/s_clog10f.c (__clog10f): Likewise.
2310 * math/s_clog10l.c (__clog10l): Likewise.
2311 * math/s_clogf.c (__clogf): Likewise.
2312 * math/s_clogl.c (__clogl): Likewise.
2313 * math/libm-test.inc (clog_test): Add more tests.
2314 (clog10_test): Likewise.
2315 * sysdeps/i386/fpu/libm-test-ulps: Update.
2316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2317
2bc13872
FW
23182012-07-31 Florian Weimer <fweimer@redhat.com>
2319
2320 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2321 Exit with zero in case no suitable GID is found, and write a
2322 message to standard error.
2323
bea9b193
RM
23242012-07-30 Roland McGrath <roland@hack.frob.com>
2325
2326 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2327 rather than to 1.
2328 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2329 (MAXPATHLEN): Removed.
2330 (NOGROUP, NODEV): New macros.
2331 (setbit, clrbit, isset, isclr): New macros.
2332 (howmany, roundup, powerof2): New macros.
2333 (DEV_BSIZE): New macro.
2334
2335 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2336 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2337
2338 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2339 definition on [!__NO_LONG_DOUBLE_MATH].
2340
2341 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2342 PTR_MANGLE and PTR_DEMANGLE.
2343
2344 * socket/accept4.c (accept4): Rename to __libc_accept4.
2345 Define accept4 as a weak alias.
2346
2347 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2348 on [_DIRENT_HAVE_D_TYPE].
2349 * io/ftw.c (ftw_dir): Likewise.
2350
2351 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2352
2353 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2354
2355 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2356 Use the BSD numbers rather than the arbitrary ones we had.
2357 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2358 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2359 (SIGXCPU, SIGXFSZ): New macros.
2360 (_NSIG): Now 32.
2361
2362 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2363 initializer on [_LIBC_REENTRANT].
2364
2365 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2366 definitions inside [_POSIX_MAPPED_FILES].
2367
2368 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2369
2370 * dirent/opendir.c: Include <fcntl.h>.
2371
2372 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2373 (__libc_getspecific): Likewise.
2374 (__libc_key_create): Likewise.
2375
2376 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2377 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2378 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2379 (tmpfile64): Define as alias.
2380 * sysdeps/wordsize-64/tmpfile.c: File removed.
2381 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2384
2385 * stdio-common/vfscanf.c: Include <stdbool.h>.
2386 * nss/makedb.c: Likewise.
2387 * stdio-common/_i18n_number.h: Likewise.
2388 * argp/argp-help.c: Likewise.
2389 * posix/wordexp.c: Likewise.
2390 * sysdeps/posix/spawni.c: Likewise.
2391 * nss/nss_files/files-initgroups.c: Likewise.
2392 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2393 * nss/nss_files/files-initgroups.c: Likewise.
2394 * nss/nss_db/db-netgrp.c: Likewise.
2395 * nss/nss_db/db-initgroups.c: Likewise.
2396 * io/fchmodat.c: Include <sys/stat.h>.
2397
2398 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2399 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2400
2401 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2402 [HAVE_MMAP].
2403
2404 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2405 Add multiple inclusion protection.
2406
e5abc686
DM
24072012-07-27 David S. Miller <davem@davemloft.net>
2408
2409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2410
815e6fa3
GB
24112012-07-27 Gary Benson <gbenson@redhat.com>
2412
2413 [BZ #14298]
2414 * elf/rtld.c: Include <stap-probe.h>.
2415 (dl_main): Added static probes "init_start" and "init_complete".
2416 * elf/dl-load.c: Include <stap-probe.h>.
2417 (lose): Take new parameter "nsid".
2418 Added static probe "map_failed".
2419 (_dl_map_object_from_fd): Pass namespace id to lose.
2420 Added static probe "map_start".
2421 (open_verify): Pass namespace id to lose.
2422 * elf/dl-open.c: Include <stap-probe.h>.
2423 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2424 and "reloc_complete".
2425 * elf/dl-close.c: Include <stap-probe.h>.
2426 (_dl_close_worker): Added static probes "unmap_start" and
2427 "unmap_complete".
2428 * elf/rtld-debugger-interface.txt: New file documenting the above.
2429
9f98c16c
RM
24302012-07-26 Roland McGrath <roland@hack.frob.com>
2431
2432 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2433 rather than a string variable.
2434 * sunrpc/rpc_main.c (h_output): Likewise.
2435 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2436
f3c22df3
PT
24372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2438
2439 * inet/check_native.c: New file.
2440
3129cfc6
JM
24412012-07-26 Joseph Myers <joseph@codesourcery.com>
2442
da865e95
JM
2443 [BZ #13629]
2444 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2445 if larger part has absolute value 1.0.
2446 * math/s_clog10.c (__clog10): Likewise.
2447 * math/s_clog10f.c (__clog10f): Likewise.
2448 * math/s_clog10l.c (__clog10l): Likewise.
2449 * math/s_clogf.c (__clogf): Likewise.
2450 * math/s_clogl.c (__clogl): Likewise.
2451 * math/libm-test.inc (clog_test): Add more tests.
2452 (clog10_test): Likewise.
2453 * sysdeps/i386/fpu/libm-test-ulps: Update.
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2455
3129cfc6
JM
2456 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2457 (pltexit): Likewise.
2458 (La_regs): Likewise.
2459 (La_retval): Likewise.
2460 (int_retval): Likewise.
2461 Update #error for removed macros to refer only to definitions in
2462 tst-audit.h.
2463 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2464 macro.
2465 (pltexit): Likewise.
2466 (La_regs): Likewise.
2467 (La_retval): Likewise.
2468 (int_retval): Likewise.
2469 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2470 macro.
2471 (pltexit): Likewise.
2472 (La_regs): Likewise.
2473 (La_retval): Likewise.
2474 (int_retval): Likewise.
2475 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2476 macro.
2477 (pltexit): Likewise.
2478 (La_regs): Likewise.
2479 (La_retval): Likewise.
2480 (int_retval): Likewise.
2481 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2482 macro.
2483 (pltexit): Likewise.
2484 (La_regs): Likewise.
2485 (La_retval): Likewise.
2486 (int_retval): Likewise.
2487 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2488 macro.
2489 (pltexit): Likewise.
2490 (La_regs): Likewise.
2491 (La_retval): Likewise.
2492 (int_retval): Likewise.
2493 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2494 macro.
2495 (pltexit): Likewise.
2496 (La_regs): Likewise.
2497 (La_retval): Likewise.
2498 (int_retval): Likewise.
2499 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2500 macro definitions in tst-audit.h.
2501 * sysdeps/i386/tst-audit.h: New file.
2502 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2503 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2504 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2505 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2506 * sysdeps/sh/tst-audit.h: Likewise.
2507 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2508 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2509 * sysdeps/x86_64/tst-audit.h: Likewise.
2510
bfc07087
AJ
25112012-07-26 Andreas Jaeger <aj@suse.de>
2512
b1b2aaf8
AJ
2513 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2514 ptrace.
2515
2516 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2517 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2518 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2519 PTRACE_O_MASK.
2520 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2523
bfc07087
AJ
2524 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2525 value.
2526
2527 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2528 _sigsys.
2529 (si_call_addr, si_syscall, si_arch): Define new macro.
2530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2531 _sigsys.
2532 (si_call_addr, si_syscall, si_arch): Define new marcro.
2533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2534 _sigsys.
2535 (si_call_addr, si_syscall, si_arch): Define new macro.
2536 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2537 _sigsys.
2538 (si_call_addr, si_syscall, si_arch): Define new macro.
2539
89b4b02f
JM
25402012-07-25 Joseph Myers <joseph@codesourcery.com>
2541
2542 [BZ #13717]
2543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2544 Change to 2.4.21 where previously 2.4.1.
2545 * sysdeps/unix/sysv/linux/configure: Regenerated.
2546 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2547 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2548 Linux kernel version.
2549 (__ASSUME_STD_AUXV): Remove.
2550 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2551 kernel version.
2552 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2553 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2554 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2555 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2556 (__ASSUME_NETLINK_SUPPORT): Likewise.
2557 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2558 (__no_netlink_support): Remove conditional definition.
2559 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2560 Remove.
2561 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2562 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2563 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2564 (if_nameindex_ioctl): Remove.
2565 (if_nameindex_netlink): Do not handle __no_netlink_support.
2566 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2567 code.
2568 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2569 Remove conditional code.
2570 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2571 code.
2572 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2573 unconditional.
2574 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2575 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2576 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2577 Remove.
2578 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2579 [!__ASSUME_STD_AUXV]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2581 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2582 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2584 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2585 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2586 code.
2587 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2589 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2590 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2591 conditional code.
2592 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2594 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2595 code.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2597 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2598 conditional code.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2600 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2601 code unconditional.
2602 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2603 conditional code.
2604 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2605 unconditional.
2606 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2607 conditional code.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2609 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2610 unconditional.
2611 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2612 conditional code.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2614 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2615 code unconditional.
2616 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2617 conditional code.
2618 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2619 unconditional.
2620 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2621 conditional code.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2623 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2624 code unconditional.
2625 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2626 conditional code.
2627 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2628 unconditional.
2629 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2630 conditional code.
2631
842a39cd
AS
26322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2633
2634 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2635 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2636 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2637 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2638 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2639 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2640 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2641 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2642 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2643 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2644 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2645 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2646 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2647 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2648 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2649 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2650 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2654 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2655 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2656 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2657
84b3fd84
FW
26582012-07-25 Florian Weimer <fweimer@redhat.com>
2659
2660 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2661 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2662 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2663 Introduce __libc_secure_getenv.
0c7936d5
FW
2664 * stdlib/Versions (2.17): Add secure_getenv
2665 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2666 * stdlib/secure-getenv.c: Rename __secure_getenv to
2667 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2668 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2669 * stdlib/tst-secure-getenv.c: New.
2670 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2671 * manual/startup.texi (Environment Access): Document
2672 secure_getenv.
84b3fd84
FW
2673 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2674 __libc_secure_getenv.
2675 * inet/ruserpass.c (ruserpass): Likewise.
2676 * malloc/mtrace.c (mtrace): Likewise.
2677 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2678 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2679 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2680 * sysdeps/posix/tempname.c: Likewise. Evaluate
2681 HAVE_SECURE_GETENV.
2682 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2683 __secure_getenv to __libc_secure_getenv.
84b3fd84 2684 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2688 Likewise.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2696
56e49b71
JM
26972012-07-25 Joseph Myers <joseph@codesourcery.com>
2698
2699 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2700 (struct La_i86_retval): Likewise.
2701 (struct La_x86_64_regs): Likewise.
2702 (struct La_x86_64_retval): Likewise.
2703 (struct La_x32_regs): Likewise.
2704 (struct La_x32_retval): Likewise.
2705 (struct La_ppc32_regs): Likewise.
2706 (struct La_ppc32_retval): Likewise.
2707 (struct La_ppc64_regs): Likewise.
2708 (struct La_ppc64_retval): Likewise.
2709 (struct La_sh_regs): Likewise.
2710 (struct La_sh_retval): Likewise.
2711 (struct La_s390_32_regs): Likewise.
2712 (struct La_s390_32_retval): Likewise.
2713 (struct La_s390_64_regs): Likewise.
2714 (struct La_s390_64_retval): Likewise.
2715 (struct La_sparc32_regs): Likewise.
2716 (struct La_sparc32_retval): Likewise.
2717 (struct La_sparc64_regs): Likewise.
2718 (struct La_sparc64_retval): Likewise.
2719 (struct audit_ifaces): Remove architecture-specific pltenter and
2720 pltexit members.
2721 * sysdeps/i386/ldsodefs.h: New file.
2722 * sysdeps/powerpc/ldsodefs.h: Likewise.
2723 * sysdeps/s390/ldsodefs.h: Likewise.
2724 * sysdeps/sh/ldsodefs.h: Likewise.
2725 * sysdeps/sparc/ldsodefs.h: Likewise.
2726 * sysdeps/x86_64/ldsodefs.h: Likewise.
2727
354691b7
MP
27282012-07-25 Marek Polacek <polacek@redhat.com>
2729
2730 [BZ #6808]
2731 * math/libm-test.inc (yn_test): Add another test.
2732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2733 to ERANGE when the result is +-Inf.
2734 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2735 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2736 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2737 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2738
bf9e2071
JM
27392012-07-24 Joseph Myers <joseph@codesourcery.com>
2740
2741 * conform/data/time.h-data (NULL): Use macro-constant. Require
2742 equal to 0.
2743 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2744 clock_t.
2745 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2746
57633811
TS
27472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2748
2749 * configure.in <sysdeps resolving>: Correct printing
2750 Implies_before.
2751 * configure: Regenerate.
2752
c23c33b0
TS
27532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2754
2755 * math/w_ilogb.c: Include <limits.h>.
2756 * math/w_ilogbl.c: Likewise.
2757
b5982523
JM
27582012-07-20 Joseph Myers <joseph@codesourcery.com>
2759
2760 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2761 va_copy. Document allowing for unavailable va_copy only as
2762 pre-C99 compatibility.
2763 * manual/string.texi (Copying and Concatenation): Use va_copy
2764 instead of __va_copy in concat example.
2765
ac4ea442
PT
27662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2767
2768 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2769 (__sendto): Use create_address_port. Initialize APORT and deallocate
2770 it if not null.
2771
f98eafbd
PT
2772 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2773 with O_NOLINK passed to __file_name_lookup.
2774
898c7aab
PT
2775 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2776 with O_NOLINK passed to __file_name_lookup.
2777
0ced335a
PT
2778 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2779 negative N or less than NGIDS.
2780
b3404dbd
PT
2781 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2782 type to string_t. Set ERANGE as errno and return it if NAME is not big
2783 enough. Use memcpy instead of strncpy.
2784
0f48659e
JM
27852012-07-20 Joseph Myers <joseph@codesourcery.com>
2786
2787 * elf/Makefile (check-data): Remove.
2788 (localplt.data): New vpath directive.
2789 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2790 instead of $(check-data).
2791 * scripts/data/localplt-generic.data: Move to ...
2792 * sysdeps/generic/localplt.data: ... here.
2793 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2794 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2795 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2797 ... here.
2798 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2800 ... here.
2801 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2803 ... here.
2804 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2806 ... here.
2807 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2809 ... here.
2810 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2812 ... here.
2813
d37cbdaa
AZ
28142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815
2816 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2817 PPC32 and PPC64 files.
2818 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2819 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2820
46f85fc2
AK
28212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2822
2823 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2824 __makecontext_ret to ...
2825 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2826 ... here and call exit if uc_link is NULL. New file.
2827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2828 __makecontext_ret.S.
2829 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2830 __makecontext_ret to ...
2831 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2832 ... here and call exit if uc_link is NULL. New file.
2833 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2834 __makecontext_ret.S.
2835
08f43f9b
AK
28362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2837
2838 * elf/elf.h (R_390_IRELATIVE): New definition.
2839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2840 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2841 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2843 (elf_machine_lazy_rel): Likewise.
2844 * sysdeps/s390/dl-irel.h: New file.
2845 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2846 * sysdeps/s390/s390-64/memset.S: New asm code.
2847 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2848 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2849 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2850 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2851 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2852 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2854 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2855 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2856 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2857 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2858 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2859 * sysdeps/s390/s390-32/memset.S: New asm code.
2860 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2861
3b05db33
MP
28622012-07-17 Marek Polacek <polacek@redhat.com>
2863
2864 [BZ #14349]
2865 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2866 * sysdeps/s390/s390-64/configure.in: Likewise.
2867 * sysdeps/sparc/configure.in: Likewise.
2868 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2869 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2870 * sysdeps/i386/configure.in: Likewise.
2871 * sysdeps/x86_64/configure.in: Likewise.
2872 * sysdeps/sh/configure.in: Likewise.
2873 * sysdeps/s390/s390-32/configure: Regenerated.
2874 * sysdeps/s390/s390-64/configure: Likewise.
2875 * sysdeps/x86_64/configure: Likewise.
2876 * sysdeps/sh/configure: Likewise.
2877 * sysdeps/powerpc/powerpc64/configure: Likewise.
2878 * sysdeps/powerpc/powerpc32/configure: Likewise.
2879 * sysdeps/sparc/configure: Likwise.
2880 * sysdeps/i386/configure: Likewise.
2881
a66877c6
MP
2882 * elf/dl-open.c: Comment fixes.
2883
cfc82fd8
JM
28842012-07-17 Joseph Myers <joseph@codesourcery.com>
2885
bd29910a
JM
2886 * Makefile [CXX] (check-data): Remove.
2887 [CXX] (c++-types.data): New vpath directive.
2888 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2889 vpath. Do not allow for C++ type data being missing.
2890 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2891 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2892 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2893 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2894 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2895 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2896 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2898 ... here.
2899 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2901 ... here.
2902 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2904 ... here.
2905 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2907 ... here.
2908 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2910 ... here.
2911 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2913 ... here.
2914 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2916 ... here.
2917 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2919
cfc82fd8
JM
2920 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2921 definitions to architecture-specific files.
2922 (TLS_IE): Likewise.
2923 (TLS_LD): Likewise.
2924 (TLS_GD): Likewise.
2925 * sysdeps/i386/tls-macros.h: New file.
2926 * sysdeps/powerpc/tls-macros.h: Likewise.
2927 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2928 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2929 * sysdeps/sh/tls-macros.h: Likewise.
2930 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2931 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2932 * sysdeps/x86_64/tls-macros.h: Likewise.
2933
f7db3170
TS
29342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2935
07cbfc23
TS
2936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2937 zero value for regular exit case.
2938
f7db3170
TS
2939 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2940 (__start_context): Preserve zero value for regular exit case.
2941
dc97c227
TS
29422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2943 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2944
2945 * manual/setjmp.texi (setcontext): Clarify normal process
2946 termination when uc_link is the null pointer.
2947 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2948 exit call.
2949
d0cd7d02
AS
29502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2951
2952 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2953 preprocessor. Test for each exception mask separately.
2954
dd318934
AJ
29552012-07-16 Andreas Jaeger <aj@suse.de>
2956
2957 * po/ru.po: Update from translation team.
2958
8048311a
JM
29592012-07-15 Joseph Myers <joseph@codesourcery.com>
2960
2961 * conform/data/string.h-data (NULL): Use macro-constant. Require
2962 equal to 0.
2963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2964 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2965 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2966 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2968
b637d46e
AJ
29692012-07-13 Andreas Jaeger <aj@suse.de>
2970
2971 * po/fr.po: Update from translation team.
2972
541428fe
MP
29732012-07-12 Marek Polacek <polacek@redhat.com>
2974
2975 [BZ #14173]
2976 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2977 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2978 loop condition.
2979
ec332e94
JM
29802012-07-12 Joseph Myers <joseph@codesourcery.com>
2981
2982 [BZ #13717]
2983 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2984 Change to 2.4.1 where previously 2.4.0.
2985 * sysdeps/unix/sysv/linux/configure: Regenerated.
2986 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2987 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2988 version.
2989 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2990 (__ASSUME_AT_CLKTCK): Remove.
2991 (__ASSUME_AT_PAGESIZE): Likewise.
2992 (__ASSUME_AT_XID): Likewise.
2993 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2994 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2995 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2996 unconditionally.
2997 (HAVE_AUX_PAGESIZE): Likewise.
2998 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2999 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3000 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3001
7b6e99be
JB
30022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3003
3004 [BZ #14307]
3005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3006 the temporary buffer used to invoke __gethostbyname2_r,
3007 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3008 host_data / struct gaih_addrtuple.
3009 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3010 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3011 header file nss/nsswitch.h.
3012 * nss/nsswitch.h (global scope): Add definition of implementation
3013 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3014 resolv/nss_dns/dns-host.c).
3015
608404eb
AJ
30162012-07-11 Andreas Jaeger <aj@suse.de>
3017
3018 * po/fr.po: Update from translation team.
3019
71220aca
AJ
3020 * po/sv.po: Update from translation team
3021 * po/fr.po: Another update from translation team.
3022
28cfe843
AZ
30232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3024
3025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3026 for subnormals or multiply small sinh result by itself.
3027 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3029
6b90f981
DM
30302012-07-11 David S. Miller <davem@davemloft.net>
3031
3032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3033
c6825772
AS
30342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3035
3036 [BZ #14347]
3037 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3038 (INTERNAL_MARK): Shift it here.
3039
7b8e0d49
MP
30402012-07-10 Marek Polacek <polacek@redhat.com>
3041
3042 [BZ #14151]
3043 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3044 libc_cv_asm_global_directive with .globl.
3045 * configure: Regenerated.
3046 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3047 with .globl.
3048 * sysdeps/i386/configure: Regenerated.
3049 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3050 with .globl.
3051 * sysdeps/x86_64/configure: Regenerated.
3052 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3053 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3054 * elf/tst-unique2mod2.c: Likewise.
3055 * elf/tst-unique2mod1.c: Likewise.
3056 * elf/tst-unique1mod2.c: Likewise.
3057 * elf/tst-unique1mod1.c: Likewise.
3058 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3059 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3061 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3062 * sysdeps/mach/sysdep.h: Likewise.
3063 * sysdeps/i386/sysdep.h: Likewise.
3064 * sysdeps/i386/i386-mcount.S: Likewise.
3065 * sysdeps/x86_64/_mcount.S: Likewise.
3066 * sysdeps/x86_64/sysdep.h: Likewise.
3067 * sysdeps/sh/_mcount.S: Likewise.
3068 * sysdeps/sh/sysdep.h: Likewise.
3069 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3070 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3071 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3073 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3074 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3075 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3076 * locale/localeinfo.h: Likewise.
3077 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3078 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3079
6c55cda3
RM
30802012-07-09 Roland McGrath <roland@hack.frob.com>
3081
3082 [BZ #14336]
3083 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3084 system".
3085 * manual/message.texi (The Uniforum approach): Likewise.
3086 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3087 (glibc iconv Implementation): Likewise.
3088
638a572e
JM
30892012-07-09 Joseph Myers <joseph@codesourcery.com>
3090
3091 [BZ #14337]
3092 * math/s_clog.c (__clog): Avoid scaling a value down where that
3093 could result in underflow.
3094 * math/s_clog10.c (__clog10): Likewise.
3095 * math/s_clog10f.c (__clog10f): Likewise.
3096 * math/s_clog10l.c (__clog10l): Likewise.
3097 * math/s_clogf.c (__clogf): Likewise.
3098 * math/s_clogl.c (__clogl): Likewise.
3099 * math/libm-test.inc (clog_test): Add more tests.
3100 (clog10_test): Likewise.
3101 * sysdeps/i386/fpu/libm-test-ulps: Update.
3102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103
261f4859
AS
31042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3105
0abaf3e4
AS
3106 [BZ #14283]
3107 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3108 by 7 not 8 to examine high bit of fractional part.
3109
261f4859
AS
3110 [BZ #14042]
3111 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3112 for call to __mcount_internal.
3113 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3114 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3115 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3116
f17ac40d
JM
31172012-07-06 Joseph Myers <joseph@codesourcery.com>
3118
9ad63c23
JM
3119 [BZ #14154]
3120 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3121 approximation for values within 0x1p-13f of an odd multiple of
3122 pi/4.
3123 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3124 exception. Add more tests.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update.
3126
f17ac40d
JM
3127 [BZ #6778]
3128 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3129 inputs and return -1 for them. Do not check for +Inf in case not
3130 reachable for +Inf.
3131 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3132 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3134 and return -1 for them. Do not check for +Inf in case not
3135 reachable for +Inf.
3136 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3137 define.
3138 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3139 and return -1 for them. Do not check for +Inf in case not
3140 reachable for +Inf.
3141 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3142 spurious underflow.
3143 * sysdeps/i386/fpu/libm-test-ulps: Update.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3145
fb21f89b
MF
31462012-07-06 Mike Frysinger <vapier@gentoo.org>
3147
3148 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3149
cdfe2c5e
JM
31502012-07-05 Joseph Myers <joseph@codesourcery.com>
3151
3152 [BZ #14157]
3153 [BZ #14331]
3154 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3155 could result in spurious underflow. Scale down values above
3156 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3157 * math/s_csqrtf.c (__csqrtf): Likewise.
3158 * math/s_csqrtl.c (__csqrtl): Likewise.
3159 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3160 spurious underflow.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163
70d35b67
AS
31642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3165
704bc459
AS
3166 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3167 xopen-msg.sed.
3168 * catgets/xopen-msg.awk: New file.
3169 * catgets/xopen-msg.sed: Removed.
3170
70d35b67
AS
3171 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3172 po2text.sed.
3173 * intl/po2test.awk: New file.
3174 * intl/po2test.sed: Removed.
3175
ca61cf32
JM
31762012-07-04 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #14328]
3179 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3180 or multiply small sinh result by itself.
3181 * math/s_ctanf.c (__ctanf): Likewise.
3182 * math/s_ctanh.c (__ctanh): Likewise.
3183 * math/s_ctanhf.c (__ctanhf): Likewise.
3184 * math/s_ctanhl.c (__ctanhl): Likewise.
3185 * math/s_ctanl.c (__ctanl): Likewise.
3186 * math/libm-test.inc (ctan_test_tonearest): New function.
3187 (ctan_test_towardzero): Likewise.
3188 (ctan_test_downward): Likewise.
3189 (ctan_test_upward): Likewise.
3190 (ctanh_test_tonearest): Likewise.
3191 (ctanh_test_towardzero): Likewise.
3192 (ctanh_test_downward): Likewise.
3193 (ctanh_test_upward): Likewise.
3194 (main): Call these new functions.
3195 * sysdeps/i386/fpu/libm-test-ulps: Update.
3196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3197
ca48a46a
MF
31982012-07-03 Mike Frysinger <vapier@gentoo.org>
3199
3200 * .gitignore: Delete /ports entry.
3201
9d63d37d
AJ
32022012-07-03 Andreas Jaeger <aj@suse.de>
3203
3204 * po/bg.po: Update from translation team.
3205 * po/cs.po: Likewise.
3206 * po/de.po: Likewise.
3207 * po/hr.po: Likewise.
3208 * po/nl.pl: Likewise.
3209 * po/pl.po: Likewise.
3210 * po/vi.po: Likewise.
3211
370ca3d2
JM
32122012-07-03 Joseph Myers <joseph@codesourcery.com>
3213
95f5a9a8
JM
3214 * Makeconfig [!+link] (+link-before-libc): New variable.
3215 [!+link] (+link-after-libc): Likewise.
3216 [!+link] (+link-tests): Likewise.
3217 [!+link] (+link): Define in terms of $(+link-before-libc) and
3218 $(+link-after-libc).
3219 [!+link-static] (+link-static-before-libc): New variable.
3220 [!+link-static] (+link-static-after-libc): Likewise.
3221 [!+link-static] (+link-static-tests): Likewise.
3222 [!+link-static] (+link-static): Define in terms of
3223 $(+link-static-before-libc) and $(+link-static-after-libc).
3224 [build-shared] (link-libc-before-gnulib): New variable.
3225 [build-shared] (link-libc-tests): Likewise.
3226 [build-shared] (link-libc): Define in terms of
3227 $(link-libc-before-gnulib).
3228 [!build-shared] (link-libc-tests): New variable.
3229 (link-libc-static-tests): New variable.
3230 [!gnulib] (gnulib-arch): New variable.
3231 [!gnulib] (gnulib-tests): Likewise.
3232 [!gnulib] (static-gnulib-arch): Likewise.
3233 [!gnulib] (static-gnulib-tests): Likewise.
3234 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3235 Define with "=" instead of ":=".
3236 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3237 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3238 * Rules (binaries-all-notests): New variable.
3239 (binaries-all-tests): Likewise.
3240 (binaries-static-notests): Likewise.
3241 (binaries-static-tests): Likewise.
3242 (binaries-all): Define using $(binaries-all-notests) and
3243 $(binaries-all-tests).
3244 (binaries-static): Define using $(binaries-static-notests) and
3245 $(binaries-static-tests).
3246 (binaries-shared-tests): New variable.
3247 (binaries-shared-notests): Likewise.
3248 (binaries-shared): Remove variable.
3249 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3250 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3251 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3252 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3253 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3254 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3255 * elf/Makefile (sln-modules): New variable.
3256 (extra-objs): Add $(sln-modules:=.o).
3257 (ldconfig-modules): Add static-stubs.
3258 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3259 * elf/static-stubs.c: New file.
3260
7a845b2c
JM
3261 [BZ #14283]
3262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3263 by 7 not 8 to examine high bit of fractional part. Use volatile
3264 variables when splitting into final array of floats if
3265 __FLT_EVAL_METHOD__ != 0.
3266 * math/libm-test.inc (cos_test): Add another test.
3267 (sin_test): Likewise.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269
e2283f38
JM
3270 [BZ #14273]
3271 * math/libm-test.inc (cosh_test): Add more tests.
3272
370ca3d2
JM
3273 * version.h (RELEASE): Set to "development".
3274 (VERSION): Set to "2.16.90".
3275
ee9247c3
CD
32762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3277
3278 * NEWS: Update copyright. Remove last-updated date.
3279 Mention math library bug fixes and timezone data changes.
3280 * README: Mention GNU/Hurd, x32, and HPPA support status.
3281
4648c381
TS
32822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3283
3284 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3285
aac78a43
AJ
32862012-06-27 Andreas Jaeger <aj@suse.de>
3287
3288 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3289
ed3dbfad
AJ
32902012-06-25 Andreas Jaeger <aj@suse.de>
3291
3292 * sysdeps/s390/fpu/libm-test-ulps: Update.
3293
4d0ee855
AS
32942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3295 Thomas Schwinge <thomas@codesourcery.com>
3296
3297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3298 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3300 fanotify_mark.
3301
af1bce34
TS
33022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3303
a9fa33ba
TS
3304 * sysdeps/mach/start.c: Remove file.
3305 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3306 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3307 * sysdeps/sh/init-first.c: Likewise.
3308
58f902b8
TS
3309 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3310 registers for frame unwinding purposes, add CFI directives.
3311 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3312 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3313 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3314 Likewise.
3315
1518f58b
TS
3316 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3317 __fortify_fail returning.
3318 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3319
db9b5059
TS
3320 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3321 sysdeps/sh/____longjmp_chk.S.
3322 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3323 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3324 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3325 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3326
967705fe
TS
3327 * sysdeps/sh/abort-instr.h: New file.
3328 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3329 process in case exit returns.
3330
a9def8c4
TS
3331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3332 initialize the GOT register before use.
3333
2a649725
TS
3334 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3335 calculation of ARGC > 4.
3336
af1bce34
TS
3337 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3338 meaningful names to some local labels.
3339
d230f50a
KK
33402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3341 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3342
3343 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3344 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3345 (__arch_compare_and_exchange_val_16_acq): Likewise.
3346 (__arch_compare_and_exchange_val_32_acq): Likewise.
3347 (atomic_exchange_and_add): Fix gUSA sequence.
3348 (atomic_add): Likewise.
3349 (atomic_add_negative): Likewise.
3350 (atomic_add_zero): Likewise.
3351 (atomic_bit_test_set): Likewise.
3352
0479b305
AS
33532012-06-22 Andreas Schwab <schwab@redhat.com>
3354
3355 [BZ #13579]
3356 * include/link.h (struct link_map): Add l_free_initfini.
3357 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3358 l_initfini.
3359 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3360 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3361 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3362 set.
3363
0e3933b9
CD
33642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3365
3366 * configure.in: Use AC_LANG_SOURCE.
3367 * configure: Regenerate.
3368
4248b1b1
RM
33692012-06-22 Roland McGrath <roland@hack.frob.com>
3370
3371 * configure.in (libc_cv_localstatedir): New substituted variable.
3372 * configure: Regenerated.
3373 * config.make.in (localstatedir): New variable, substituted from
3374 libc_cv_localstatedir.
3375 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3376 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3377 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3378 * sysdeps/gnu/configure: Regenerated.
3379
006dd861
JL
33802012-06-21 Jeff Law <law@redhat.com>
3381
3382 [BZ #14277]
3383 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3384 free. Simplify list management for _LIBC case.
3385
79662d42
JM
33862012-06-21 Joseph Myers <joseph@codesourcery.com>
3387
b7abb4bf
JM
3388 [BZ #14273]
3389 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3390 Clear sign bit of 64-bit integer value before comparing against
3391 overflow value.
3392
79662d42
JM
3393 * sysdeps/mach/configure: Regenerated.
3394
1f150908
L
33952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 [BZ #14278]
3398 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3399
28363bbf
JL
34002012-06-21 Jeff Law <law@redhat.com>
3401
3402 [BZ #13882]
3403 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3404 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3406 * elf/dl-open.c (dl_open_worker): Likewise.
3407
09615db4
CD
34082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3409
3410 * scripts/list-sources.sh: Scan PORTS for translations.
3411 * po/libc.pot: Regenerated.
3412
2174c6dd
AJ
34132012-06-21 Andreas Jaeger <aj@suse.de>
3414
3415 [BZ #12194]
3416 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3417 warning.
3418 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3419 * bits/byteswap-16.h (__bswap_16): Likewise.
3420 * bits/byteswap.h (__bswap_constant_16): Likewise.
3421
3ee947b1
L
34222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 [BZ #14117]
a2f34833
L
3425 * sysdeps/i386/fpu_control.h: Removed.
3426 * sysdeps/x86_64/fpu_control.h: Moved to ...
3427 * sysdeps/x86/fpu_control.h: Here.
3428
3ee947b1
L
3429 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3430 (_FPU_SETCW): Likewise.
3431
ed1825f8
L
34322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3433
25f1282a
L
3434 [BZ #14117]
3435 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3436 * sysdeps/x86/fpu/bits/mathinline.h: This.
3437 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3438
ed1825f8
L
3439 [BZ #14050]
3440 [BZ #14117]
3441 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3442 functions if __x86_64__ is defined.
3443
36d54b74
CLT
34442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3445
3446 * string/endian.h: Add !__ASSEMBLER__ condition for including
3447 conversion interfaces.
3448
10285c21
JM
34492012-06-15 Joseph Myers <joseph@codesourcery.com>
3450
3451 [BZ #14241]
3452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3453 of ABS(x) in calculating zero to negative powers other than odd
3454 integers.
3455 * math/libm-test.inc (pow_test): Add more tests.
3456
06c5abbd
AJ
34572012-06-15 Andreas Jaeger <aj@suse.de>
3458
3459 * manual/contrib.texi (Contributors): Update entry of Liubov
3460 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3461 Machado Filho.
3462
a3aeac40
CH
34632012-06-15 Cyril Hrubis <metan@ucw.cz>
3464
3465 * string/string.h: Add __wur to GNU version of strerror_r.
3466
49bdf4c1
L
34672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3468
3469 [BZ #14229]
3470 * string/Makefile (tests): Add tst-strtok_r.
3471 * string/tst-strtok_r.c: New file.
3472 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3473 RAX_LP/RDX_LP on SAVE_PTR.
3474
834f9b8d
RM
34752012-06-14 Roland McGrath <roland@hack.frob.com>
3476
3477 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3478
75fa1921
JM
34792012-06-14 Joseph Myers <joseph@codesourcery.com>
3480
3481 * libm_test.inc (csqrt_test): Allow more spurious underflow
3482 exceptions.
3483 (j0_test): Likewise.
3484 (j1_test): Likewise.
3485 (y0_test): Likewise.
3486 (y1_test): Likewise.
3487
771766df
CD
34882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3489
3490 * po/Makefile (libc.pot): Use UTF-8 charset.
3491
ceb9e56b
PP
34922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3493
3494 [BZ #14210]
3495 Suppress sign-conversion warning from FD_SET.
3496 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3497 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3498 not unsigned long int.
3499 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3500
ddb28975
L
35012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 [BZ #14050]
3504 [BZ #14117]
3505 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3506 __extern_always_inline instead of __extern_inline.
3507 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3508 (__signbit): Likewise.
3509 (__signbitl): Support C++ namespace.
3510 (lrintf): New inline function.
3511 (lrint): Likewise.
3512 (llrintf): Likewise.
3513 (llrint): Likewise.
3514 (fmaxf): Likewise.
3515 (fmax): Likewise.
3516 (fminf): Likewise.
3517 (fmin): Likewise.
3518 (rint): Likewise.
3519 (rintf): Likewise.
3520 (ceil): Likewise.
3521 (ceilf): Likewise.
3522 (floor): Likewise.
3523 (floorf): Likewise.
3524 (nearbyint): Likewise.
3525 (nearbyintf): Likewise.
3526
d7b4fb26
TS
35272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3528
3529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3530 non-default versions.
3531
eb55f5c2
RM
35322012-06-11 Roland McGrath <roland@hack.frob.com>
3533
3534 [BZ #14218]
3535 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3536
366af02c
TS
35372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3538
99ff6e5c
TS
3539 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3540 (FE_UPWARD, FE_DOWNWARD): Don't define.
3541 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3542 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3543
366af02c
TS
3544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3545 reading it.
3546 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3548
793ea851
KK
35492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3550
3551 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3554 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3555
a728a38f
L
35562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3557
3558 [BZ #14117]
c08010c7
L
3559 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3560 * sysdeps/i386/fpu/Implies: New file.
3561 * sysdeps/x86_64/fpu/Implies: Likewise.
3562 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3563 * sysdeps/x86/fpu/bits/fenv.h: This.
3564
a728a38f
L
3565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3566 __SSE_MATH__.
3567
6e230d11
SP
35682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3569
3570 [BZ #14134]
3571 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3572 character 0xffff that matches the last element of the
3573 conversion table.
3574
1b671feb
AZ
35752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3576
3577 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3578 fmodl commit.
3579
6043738b
AZ
35802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3581
3582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3583 values higher than 25.6283.
3584
34ae0b32
AZ
35852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3588 subnormal exponent extraction and add some __builtin_expect.
3589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3590 Fix for subnormal mantissa calculation.
3591
1214ec8f
MF
35922012-06-04 Mike Frysinger <vapier@gentoo.org>
3593
3594 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3595 cpu2 is -1 and errno is not ENOSYS.
3596
f3d1f93c
L
35972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3598
3599 [BZ #14117]
0e4a3cd7
L
3600 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3601 * sysdeps/x86/bits/string.h: This.
3602 * sysdeps/x86_64/bits/string.h: Removed.
3603
6704c645
L
3604 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3605 if not compiling for x86-64, but compiling for >= i486.
3606
48495318
L
3607 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3608 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3609
14adcbfc
L
3610 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3611 New macro from Linux kernel 3.4.0.
3612 (FP_XSTATE_MAGIC2): Likewise.
3613 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3614 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3615 (struct _fpx_sw_bytes): New struct.
3616 (struct _xsave_hdr): Likewise.
3617 (struct _ymmh_state): Likewise.
3618 (struct _xstate): Likewise.
3619
68e408ab
L
3620 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3621 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3622 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3623 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3624 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3625 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3626
f3d1f93c
L
3627 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3628 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3629 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3630 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3631 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3632 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3633
d9dc34cd
TMQMF
36342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3635
3636 [BZ #13743]
3637 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3638 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3639 (sysdep_headers): Include sys/platform/ppc.h.
3640 * sysdeps/powerpc/test-gettimebase.c: Test for
3641 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3642 * manual/Makefile (appendices): Include platform.texi.
3643 * manual/contrib.texi (Contributors): Update @node pointers.
3644 * manual/maint.texi (Maintenance): Likewise.
3645 (Platform): New node.
3646 * manual/platform.texi: New file. Document the new features.
3647
4af3879c
SP
36482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3649 Jakub Jelinek <jakub@redhat.com>
3650
3651 [BZ #14188]
3652 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3653 where __builtin_expect is unavailable.
3654
2fd6ff13
DM
36552012-06-03 David S. Miller <davem@davemloft.net>
3656
3657 * stdlib/longlong.h: Updated from GCC.
3658
173f7220
AS
36592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3660
3661 [BZ #14042]
3662 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3663 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3664 __mcount_internal.
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3666 (GLIBC_2.16): Likewise.
3667
f34a1c6f
L
36682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3669
3670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3671
88a4576f
JM
36722012-06-01 Joseph Myers <joseph@codesourcery.com>
3673
ea32bcdd
JM
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3675 (default-abi): New variable.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3677 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3678 variable.
3679 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3684 Likewise.
3685
88a4576f
JM
3686 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3687 definition. Document in comment.
3688
402fe938
DM
36892012-06-01 David S. Miller <davem@davemloft.net>
3690
3691 * stdlib/longlong.h: Updated from GCC.
3692
3553723f
L
36932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 [BZ #14117]
3bd872c4
L
3696 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3697 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3698 sys/debugreg.h sys/io.h here.
3699 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3700 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3701 sys/io.h.
3702 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3703 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3704 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3705 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3706 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3707 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3708
3553723f
L
3709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3710 Define only if __x86_64__ is defined.
3711
4842e4fe
JM
37122012-06-01 Joseph Myers <joseph@codesourcery.com>
3713
c5bfe3d5
JM
3714 [BZ #14048]
3715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3716 Use int64_t for variable i.
3717 * math/libm-test.inc (fmod_test): Add more tests.
3718
4842e4fe
JM
3719 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3720 z computation is not scheduled after fetestexcept.
3721 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3722 Use math_force_eval instead of asm to ensure calculation scheduled
3723 before exception test.
3724 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3725 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3726
efb73488
AJ
37272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3728
3729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3730 computation is not scheduled after fetestexcept.
3731
29bcce7c
L
37322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 [BZ #14117]
3735 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3736 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3737
73a68f94
AZ
37382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739
3740 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3741 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3742
67b6df78
L
37432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3744
edf2933a 3745 [BZ #14117]
ebc64a18
L
3746 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3747 <bits/wordsize.h>.
3748 (__WCHAR_MIN): Support __WORDSIZE == 64.
3749 (__WCHAR_MAX): Likewise.
3750
edf2933a
L
3751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3752 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3753
57c6cf40
L
3754 [BZ #14183]
3755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3756 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3757
67b6df78 3758 [BZ #14117]
8eb6281e
L
3759 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3761
aac639f4
L
3762 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3763 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3764
67b6df78
L
3765 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3766 Defined to 1 if __x86_64__ isn't defined.
3767 (_STAT_VER_LINUX_OLD): New.
3768 (st_atime): Remove duplicate.
3769 (st_mtime): Likewise.
3770 (st_ctime): Likewise.
3771
1c2cfe81
DM
37722012-05-31 David S. Miller <davem@davemloft.net>
3773
3774 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3775 entries.
3776
5be8418c
AS
37772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3778
e7725326
AS
3779 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3780 gen-libm-test.pl.
3781
5be8418c
AS
3782 [BZ #14132]
3783 * elf/dl-reloc.c: Include <_itoa.h>.
3784 (_dl_reloc_bad_type): Remove use of INTUSE.
3785 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3786 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3787 * stdio-common/psiginfo.c (psiginfo): Likewise.
3788 * stdio-common/psignal.c (psignal): Likewise.
3789 * string/strsignal.c (strsignal): Likewise.
3790 * include/signal.h (_sys_siglist): Declare hidden proto.
3791 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3792 INTVARDEF with libc_hidden_data_def.
3793 * stdio-common/itoa-udigits.c: Likewise.
3794 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3795 (_itoa_lower_digits_internal): Remove declaration.
3796 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3797 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3798 (_sys_sigabbrev_internal): Remove aliases.
3799 (_sys_siglist): Define hidden alias.
3800
507352f1
MT
38012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3802
3803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3804 bits/sysctl.h.
3805
42bbb1c3
L
38062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 [BZ #14117]
6bd784b6
L
3809 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3810 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3811
8bca20f0
L
3812 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3813 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3814 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3815 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3817 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3818
f9e890a9
L
3819 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3820 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3821 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3822
471101a1
L
3823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3824 with __addr.
3825 (insw): Likewise.
3826 (insl): Likewise.
3827 (outsb): Likewise.
3828 (outsw): Likewise.
3829 (outsl): Likewise.
3830
6451c862
L
3831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3833 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3834
a254b8c9
L
3835 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3836 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3837 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3838 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3839 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3840 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3841
b8dfdd92
L
3842 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3843 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3844
578cd270
L
3845 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3846 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3847
de662f5f
L
3848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3851
25653439
L
3852 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3853 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3854 to ...
3855 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3856
6bad24a0
L
3857 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3858 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3859 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3860
42bbb1c3
L
3861 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3862 for x86-64.
3863 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3864
2d10d547
JM
38652012-05-31 Joseph Myers <joseph@codesourcery.com>
3866
3867 * math/math.h (M_El): Use two more decimal places.
3868 (M_LOG2El): Likewise.
3869 (M_LOG10El): Likewise.
3870 (M_LN2l): Likewise.
3871 (M_LN10l): Likewise.
3872 (M_PIl): Likewise.
3873 (M_PI_2l): Likewise.
3874 (M_PI_4l): Likewise.
3875 (M_1_PIl): Likewise.
3876 (M_2_PIl): Likewise.
3877 (M_2_SQRTPIl): Likewise.
3878 (M_SQRT2l): Likewise.
3879 (M_SQRT1_2l): Likewise.
3880
f230c29b
DM
38812012-05-31 David S. Miller <davem@davemloft.net>
3882
3883 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3884 values between float registers.
3885 * sysdeps/sparc/sparc64/memset.S: Likewise.
3886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3887
fed806c3
MF
38882012-05-31 Mike Frysinger <vapier@gentoo.org>
3889
3890 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3891 -D_FORTIFY_SOURCE=1.
3892 (CPPFLAGS-tst-longjmp_chk.c): Define.
3893 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3894 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3895 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3896 CFLAGS-tst-wchar-h.c.
3897
30917259
MP
38982012-05-31 Marek Polacek <polacek@redhat.com>
3899
3900 [BZ #14132]
3901 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3902 __endmntent_internal): Remove declaration.
3903 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3904 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3905 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3906
1c58d5dc
DM
39072012-05-30 David S. Miller <davem@davemloft.net>
3908
3909 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3910 (___Q_simulate_exceptions): Use real FP ops rather than writing
3911 into the %fsr.
3912 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3913 Likewise.
3914
7dc00e0d
L
39152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 [BZ #14117]
0bd53985
L
3918 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3919 * sysdeps/x86/bits/xtitypes.h: This.
3920
3a257e66
L
3921 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3922 * sysdeps/x86/bits/wordsize.h: This.
3923
62f62904
L
3924 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3925 * sysdeps/x86/bits/huge_vall.h: This.
3926
404fe9d9
L
3927 * sysdeps/i386/bits/select.h: Removed.
3928 * sysdeps/x86_64/bits/select.h: Renamed to ...
3929 * sysdeps/x86/bits/select.h: This.
3930
d48d0446
L
3931 * sysdeps/i386/bits/setjmp.h: Removed.
3932 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3933 * sysdeps/x86/bits/setjmp.h: This.
3934
7dc00e0d
L
3935 * sysdeps/i386/bits/mathdef.h: Removed.
3936 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3937 * sysdeps/x86/bits/mathdef.h: This.
3938
03277f8f
AS
39392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3940
3941 [BZ #14132]
3942 * include/sys/socket.h (__connect_internal)
3943 (__libc_sa_len_internal): Remove declaration.
3944 (__connect, __libc_sa_len): Declare hidden_proto.
3945 (SA_LEN): Remove use of INTUSE.
3946 * socket/connect.c: Add libc_hidden_def.
3947 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3948 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3949 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3950 alias.
3951 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3952 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3953 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3954 of adding _internal alias.
3955
13764867
L
39562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 [BZ #14117]
6bd97696
L
3959 * sysdeps/i386/bits/link.h: Removed.
3960 * sysdeps/i386/bits/linkmap.h: Likewise.
3961 * sysdeps/x86_64/bits/link.h: Renamed to ...
3962 * sysdeps/x86/bits/link.h: This.
3963 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3964 * sysdeps/x86/bits/linkmap.h: This.
3965
f726f0bb
L
3966 * sysdeps/i386/bits/endian.h: Removed.
3967 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3968 * sysdeps/x86/bits/endian.h: This.
3969
13764867
L
3970 * sysdeps/i386/bits/byteswap.h: Removed.
3971 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3972 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3973 * sysdeps/x86/bits/byteswap.h: This.
3974 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3975 * sysdeps/x86/bits/byteswap-16.h: This.
3976 * sysdeps/i386/Implies: Add x86.
3977 * sysdeps/x86_64/Implies: Likewise.
3978
ae251b0b
DM
39792012-05-30 David S. Miller <davem@davemloft.net>
3980
3981 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3982 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3983 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3984 (FP_TRAPPING_EXCEPTIONS): Define.
3985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3986 (FP_TRAPPING_EXCEPTIONS): Define.
3987 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3988 subnormals only when inexact has been signalled or underflow
3989 exceptions are enabled.
3990 (_FP_PACK_CANONICAL): Likewise.
3991
d5c90867
L
39922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 [BZ #14183]
3995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3996 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3997
63f1549e
RH
39982012-05-30 Richard Henderson <rth@twiddle.net>
3999
8d8f2279
RH
4000 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4001 with #ifndef NOT_IN_libc.
4002
63f1549e
RH
4003 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4004 marked to avoid plt entry.
4005
0ab0291b
L
40062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 [BZ #14112]
4009 * Makeconfig (default-abi): New macro.
4010 (abi-includes): Likewise.
4011 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4012 $(abi-$(default-abi)-lib-soname) for soname if defined.
4013 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4014 abi-variants.
4015 * Makefile (installed-stubs): Likewise.
4016 * include/stubs-biarch.h: Removed.
4017 * scripts/lib-names.awk: Only handle one library at a time.
4018 * scripts/soversions.awk: Remove WORDSIZE support.
4019 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4020 entries.
4021 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4022 Removed.
4023 (syscall-list-default-condition): Likewise.
4024 (syscall-list-default-condition): Likewise.
4025 (syscall-list-includes): Likewise.
4026 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4027 syscall-list-* with abi-*. Handle undefined abi-variants.
4028 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4029 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4030 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4031 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4032 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4033 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4034 Removed.
4035 (syscall-list-32-options): Likewise.
4036 (syscall-list-32-condition): Likewise.
4037 (syscall-list-64-options): Likewise.
4038 (syscall-list-64-condition): Likewise.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4040 macro.
4041 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4042 Renamed to ...
4043 (abi-*): This.
4044 (abi-64-ld-soname): New macro.
4045 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4046 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4047 Renamed to ...
4048 (abi-*): This.
4049 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4050 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4051
4da0431d
JM
40522012-05-30 Joseph Myers <joseph@codesourcery.com>
4053
3a85279c
JM
4054 * sysdeps/unix/sysv/linux/kernel-features.h
4055 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4056 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4057 include <kernel-features.h>.
4058 [!__NR_ftruncate64]: Remove conditional code.
4059 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4060 [__NR_ftruncate64]: Make code unconditional.
4061 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4062 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4063 include <kernel-features.h>.
4064 [!__NR_ftruncate64]: Remove conditional code.
4065 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4066 [__NR_ftruncate64]: Make code unconditional.
4067 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4069 include <kernel-features.h>.
4070 [!__NR_ftruncate64]: Remove conditional code.
4071 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4072 [__NR_ftruncate64]: Make code unconditional.
4073 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4075 include <kernel-features.h>.
4076 [!__NR_ftruncate64]: Remove conditional code.
4077 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4078 [__NR_ftruncate64]: Make code unconditional.
4079 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4080
4da0431d
JM
4081 * configure.in (libc_cv_fpie): Weaken to a compile test using
4082 LIBC_TRY_CC_OPTION.
4083 * configure: Regenerated.
4084
11ef492c
AK
40852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4086
4087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4091 Refreshed.
4092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4098 Refreshed.
4099
d66ef399
DM
41002012-05-27 David S. Miller <davem@davemloft.net>
4101
4102 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4103 (___Q_zero): New.
4104 (__Q_simulate_exceptions): Return void. Change to simulate
4105 exceptions by writing into the %fsr.
4106 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4107 (__Qp_handle_exceptions): Likewise.
4108 (numbers): Delete.
4109 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4110 __Qp_handle_exceptions.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4112 __Qp_handle_exceptions.
4113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4114 as unused and give dummy FP_RND_NEAREST initializer.
4115 (FP_INHIBIT_RESULTS): Define.
4116 (___Q_simulate_exceptions): Update declaration.
4117 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4118 formatting.
4119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4120 as unused and give dummy FP_RND_NEAREST initializer.
4121 (__Qp_handle_exceptions): Update declaration.
4122 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4123 formatting.
4124
04fb54b5
TS
41252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4126
4127 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4128 the temporary FPU control word.
4129 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4130 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4132 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4134 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4135 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4136 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4137 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4138 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4139 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4140
3f99608f
KK
41412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4142
4143 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4144 fields.
4145
65a4de4e
CLT
41462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4147
4148 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4149 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4150 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4151 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4154 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4155 Likewise.
4156
15749d40
UD
41572012-05-27 Ulrich Drepper <drepper@gmail.com>
4158
4159 * po/h.po: Update from translation team.
4160
25dbcb27
AS
41612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4162
3d3f8e55
AS
4163 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4164
25dbcb27
AS
4165 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4166 handling of denormals.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4168 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4169 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4170 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4174 Likewise.
4175
7ad47a80 41762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4177
4178 [BZ #14152]
4179 * math/libm-test.inc (fma_test): Don't always expect underflow
4180 exception.
4181
9c6ea9fa
SP
41822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 [BZ #12416]
4185 * elf/tst-execstack.c: Include stackinfo.h.
4186 (do_test): Adjust test case to ensure that pthread_getattr_np
4187 behaviour remains the same after marking stack executable.
4188
a8239222
JM
41892012-05-25 Joseph Myers <joseph@codesourcery.com>
4190
4191 * sysdeps/unix/sysv/linux/kernel-features.h
4192 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4193 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4194 kernel-features.h.
4195 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4196 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4197 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4198 kernel-features.h.
4199 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4200 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4201
918b5606
L
42022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 * configure.in: Define the default includes to being none.
4205 * configure: Regenerated.
4206
3a097cc7
RM
42072012-05-25 Roland McGrath <roland@hack.frob.com>
4208
8422c9a5
RM
4209 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4210 * sysdeps/x86_64/setjmp.S: Likewise.
4211 * sysdeps/i386/bsd-setjmp.S: Likewise.
4212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4213 * sysdeps/i386/setjmp.S: Likewise.
4214 * sysdeps/i386/__longjmp.S: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4216 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4217
3a097cc7
RM
4218 * include/stap-probe.h: New file.
4219 * configure.in: Handle --enable-systemtap.
4220 * configure: Regenerated.
4221 * config.h.in (USE_STAP_PROBE): New #undef.
4222 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4223 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4224 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4225
21708942
JM
42262012-05-25 Joseph Myers <joseph@codesourcery.com>
4227
4228 [BZ #13717]
4229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4230 to 2.4.0 where earlier.
4231 * sysdeps/unix/sysv/linux/configure: Regenerated.
4232 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4233 <kernel-features.h>.
4234 [__ASSUME_32BITUIDS]: Make code unconditional.
4235 [!__ASSUME_32BITUIDS]: Remove conditional code.
4236 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4237 <kernel-features.h>.
4238 [__ASSUME_32BITUIDS]: Make code unconditional.
4239 [!__ASSUME_32BITUIDS]: Remove conditional code.
4240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4241 [__ASSUME_32BITUIDS]: Make code unconditional.
4242 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4243 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4244 <kernel-features.h>.
4245 [__ASSUME_32BITUIDS]: Make code unconditional.
4246 [!__ASSUME_32BITUIDS]: Remove conditional code.
4247 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4248 <kernel-features.h>.
4249 [__ASSUME_32BITUIDS]: Make code unconditional.
4250 [!__ASSUME_32BITUIDS]: Remove conditional code.
4251 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4252 <kernel-features.h>.
4253 [__ASSUME_32BITUIDS]: Make code unconditional.
4254 [!__ASSUME_32BITUIDS]: Remove conditional code.
4255 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4256 <kernel-features.h>.
4257 [__ASSUME_32BITUIDS]: Make code unconditional.
4258 [!__ASSUME_32BITUIDS]: Remove conditional code.
4259 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4260 <kernel-features.h>.
4261 [__ASSUME_32BITUIDS]: Make code unconditional.
4262 [!__ASSUME_32BITUIDS]: Remove conditional code.
4263 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4264 <kernel-features.h>.
4265 [__ASSUME_32BITUIDS]: Make code unconditional.
4266 [!__ASSUME_32BITUIDS]: Remove conditional code.
4267 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4268 <kernel-features.h>.
4269 [__ASSUME_32BITUIDS]: Make code unconditional.
4270 [!__ASSUME_32BITUIDS]: Remove conditional code.
4271 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4272 <kernel-features.h>.
4273 [__ASSUME_32BITUIDS]: Make code unconditional.
4274 [!__ASSUME_32BITUIDS]: Remove conditional code.
4275 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4276 <kernel-features.h>.
4277 [__ASSUME_32BITUIDS]: Make code unconditional.
4278 [!__ASSUME_32BITUIDS]: Remove conditional code.
4279 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4280 <kernel-features.h>.
4281 [__ASSUME_32BITUIDS]: Make code unconditional.
4282 [!__ASSUME_32BITUIDS]: Remove conditional code.
4283 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4284 <kernel-features.h>.
4285 [__NR_setresgid] (__setresgid): Do not declare.
4286 [__ASSUME_32BITUIDS]: Make code unconditional.
4287 [!__ASSUME_32BITUIDS]: Remove conditional code.
4288 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4289 <kernel-features.h>.
4290 [__NR_setresuid] (__setresuid): Do not declare.
4291 [__ASSUME_32BITUIDS]: Make code unconditional.
4292 [!__ASSUME_32BITUIDS]: Remove conditional code.
4293 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
4302 <kernel-features.h>.
4303 [__ASSUME_32BITUIDS]: Make code unconditional.
4304 [!__ASSUME_32BITUIDS]: Remove conditional code.
4305 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4306 <kernel-features.h>.
4307 [__ASSUME_32BITUIDS]: Make code unconditional.
4308 [!__ASSUME_32BITUIDS]: Remove conditional code.
4309 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4310 <kernel-features.h>.
4311 [__ASSUME_32BITUIDS]: Make code unconditional.
4312 [!__ASSUME_32BITUIDS]: Remove conditional code.
4313 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4314 <kernel-features.h>.
4315 [__ASSUME_32BITUIDS]: Make code unconditional.
4316 [!__ASSUME_32BITUIDS]: Remove conditional code.
4317 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4318 <kernel-features.h>.
4319 [__ASSUME_32BITUIDS]: Make code unconditional.
4320 [!__ASSUME_32BITUIDS]: Remove conditional code.
4321 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4322 <kernel-features.h>.
4323 [__ASSUME_32BITUIDS]: Make code unconditional.
4324 [!__ASSUME_32BITUIDS]: Remove conditional code.
4325 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4326 <kernel-features.h>.
4327 [__ASSUME_32BITUIDS]: Make code unconditional.
4328 [!__ASSUME_32BITUIDS]: Remove conditional code.
4329 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4330 <kernel-features.h>.
4331 [__ASSUME_32BITUIDS]: Make code unconditional.
4332 [!__ASSUME_32BITUIDS]: Remove conditional code.
4333 * sysdeps/unix/sysv/linux/kernel-features.h
4334 (__ASSUME_SETRESUID_SYSCALL): Remove.
4335 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4336 (__ASSUME_32BITUIDS): Likewise.
4337 (__ASSUME_LDT_WORKS): Likewise.
4338 (__ASSUME_O_DIRECTORY): Likewise.
4339 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4340 architecture but not kernel version.
4341 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4342 (__ASSUME_MMAP2_SYSCALL): Likewise.
4343 (__ASSUME_STAT64_SYSCALL): Likewise.
4344 (__ASSUME_IPC64): Likewise.
4345 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4346 <kernel-features.h>.
4347 [__ASSUME_32BITUIDS]: Make code unconditional.
4348 [!__ASSUME_32BITUIDS]: Remove conditional code.
4349 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4350 <kernel-features.h>.
4351 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4352 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4353 132096]: Remove conditional code.
4354 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4356 <kernel-features.h>.
4357 [__ASSUME_32BITUIDS]: Make code unconditional.
4358 [!__ASSUME_32BITUIDS]: Remove conditional code.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4360 <kernel-features.h>.
4361 [__ASSUME_32BITUIDS]: Make code unconditional.
4362 [!__ASSUME_32BITUIDS]: Remove conditional code.
4363 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4364 <kernel-features.h>.
4365 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4366 unconditional.
4367 (__setresgid): Do not declare.
4368 [__ASSUME_32BITUIDS]: Make code unconditional.
4369 [!__ASSUME_32BITUIDS]: Remove conditional code.
4370 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4371 <kernel-features.h>.
4372 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4373 unconditional.
4374 (__setresuid): Do not declare.
4375 [__ASSUME_32BITUIDS]: Make code unconditional.
4376 [!__ASSUME_32BITUIDS]: Remove conditional code.
4377 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4378 <kernel-features.h>.
4379 [__ASSUME_32BITUIDS]: Make code unconditional.
4380 [!__ASSUME_32BITUIDS]: Remove conditional code.
4381 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4382 <kernel-features.h>.
4383 [__ASSUME_32BITUIDS]: Make code unconditional.
4384 [!__ASSUME_32BITUIDS]: Remove conditional code.
4385
a386f1cc
RH
43862012-05-25 Richard Henderson <rth@twiddle.net>
4387
4388 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4389 dl_hwcap to ifunc resolver.
4390 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4391 elf_ifunc_invoke.
4392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4393 dl_hwcap to ifunc resolver.
4394 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4395
b6550497
JM
43962012-05-24 Joseph Myers <joseph@codesourcery.com>
4397
4398 [BZ #14153]
4399 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4400 for |x| <= 2**-26, not 2**-57.
4401 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4402 exception.
4403
b0bc23a1
JL
44042012-05-24 Jeff Law <law@redhat.com>
4405
4406 * stdio-common/Makefile (tests): Add bug25.
4407 * stdio-common/bug25.c: New test.
4408
347c92e9
L
44092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 [BZ #13576]
4412 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4413 multiple of MALLOC_ALIGNMENT in size.
4414 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4415
6bcc8b3f
JM
44162012-05-24 Joseph Myers <joseph@codesourcery.com>
4417
4418 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4419 Require >= 256.
4420 (FILENAME_MAX): Use macro-int-constant.
4421 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4422 (_IOFBF): Use macro-int-constant.
4423 (_IOLBF): Likewise.
4424 (_IONBF): Likewise.
4425 (SEEK_CUR): Likewise.
4426 (SEEK_END): Likewise.
4427 (SEEK_SET): Likewise.
4428 (TMP_MAX): Likewise.
4429 (EOF): Use macro-int-constant. Require < 0.
4430 (NULL): Use macro-constant. Require == 0.
4431 (stdin): Require type to be FILE *.
4432 (stdout): Likewise.
4433 (stderr): Likewise.
4434 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4435 macro-int-constant.
4436 (EXIT_SUCCESS): Likewise.
4437 (NULL): Use macro-constant. Require == 0.
4438 (RAND_MAX): Use macro-int-constant.
4439 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4440 [C99-based standards] (strtof): Require function.
4441 [C99-based standards] (strtold): Likewise.
4442 [C99-based standards] (strtoll): Likewise.
4443 [C99-based standards] (strtoull): Likewise.
4444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4445 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4446 [ISO || ISO99 || ISO11] (math.h): Likewise.
4447 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4448 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4450
d18ea0c5
AS
44512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4452
4453 [BZ #14132]
56d25bb8
AS
4454 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4455 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4456 * intl/dgettext.c (DCGETTEXT): Likewise.
4457 * intl/gettext.c (DCGETTEXT): Likewise.
4458 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4459 * posix/regex_internal.h (gettext): Likewise.
4460 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4461 Remove declaration.
4462 * include/argz.h (__argz_count_internal)
4463 (__argz_stringify_internal): Remove declaration.
4464 (__argz_count, __argz_stringify): Declare hidden proto.
4465 * intl/dcgettext.c: Remove use of INTDEF.
4466 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4467 * string/argz-stringify.c: Likewise.
4468 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4469 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4470 Declare hidden proto.
d18ea0c5
AS
4471 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4472 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4473 Declare hidden proto.
4474 * include/stdio.h (__asprintf_internal): Don't declare.
4475 (__asprintf): Don't define as macro. Declare hidden proto.
4476 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4477 (__fsetlocking): Declare hidden proto.
4478 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4479 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4480 hidden proto.
4481 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4482 (_IO_setlinebuf): Remove use of INTUSE.
4483 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4484 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4485 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4486 Remove declaration.
4487 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4488 (_IO_do_flush): Remove use of INTUSE.
4489 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4490 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4491 (_IO_adjust_column, _IO_least_wmarker)
4492 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4493 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4494 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4495 (_IO_default_doallocate, _IO_wdefault_doallocate)
4496 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4497 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4498 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4499 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4500 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4501 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4502 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4503 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4504 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4505 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4506 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4507 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4508 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4509 proto.
4510 (_IO_flush_all_internal, _IO_adjust_column_internal)
4511 (_IO_default_uflow_internal, _IO_default_finish_internal)
4512 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4513 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4514 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4515 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4516 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4517 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4518 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4519 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4520 (_IO_file_close_internal, _IO_file_close_it_internal)
4521 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4522 (_IO_file_init_internal, _IO_file_attach_internal)
4523 (_IO_file_fopen_internal, _IO_file_read_internal)
4524 (_IO_file_sync_internal, _IO_file_seek_internal)
4525 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4526 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4527 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4528 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4529 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4530 (_IO_list_all_internal, _IO_link_in_internal)
4531 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4532 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4533 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4534 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4535 (_IO_do_write_internal, _IO_padn_internal)
4536 (_IO_getline_info_internal, _IO_getline_internal)
4537 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4538 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4539 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4540 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4541 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4542 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4543 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4544 with libc_hidden_ver, remove use of INTUSE.
4545 * libio/genops.c: Likewise.
4546 * libio/freopen.c: Likewise.
4547 * libio/freopen64.c: Likewise.
4548 * libio/iofclose.c: Likewise.
4549 * libio/iofdopen.c: Likewise.
4550 * libio/iofflush.c: Likewise.
4551 * libio/iofflush_u.c: Likewise.
4552 * libio/iofgets.c: Likewise.
4553 * libio/iofgets_u.c: Likewise.
4554 * libio/iofopen.c: Likewise.
4555 * libio/iofopncook.c: Likewise.
4556 * libio/iofread.c: Likewise.
4557 * libio/iofread_u.c: Likewise.
4558 * libio/ioftell.c: Likewise.
4559 * libio/iofwrite.c: Likewise.
4560 * libio/iogetline.c: Likewise.
4561 * libio/iogets.c: Likewise.
4562 * libio/iogetwline.c: Likewise.
4563 * libio/iopadn.c: Likewise.
4564 * libio/iopopen.c: Likewise.
4565 * libio/ioseekoff.c: Likewise.
4566 * libio/ioseekpos.c: Likewise.
4567 * libio/iosetbuffer.c: Likewise.
4568 * libio/iosetvbuf.c: Likewise.
4569 * libio/ioungetc.c: Likewise.
4570 * libio/ioungetwc.c: Likewise.
4571 * libio/iovdprintf.c: Likewise.
4572 * libio/iovsprintf.c: Likewise.
4573 * libio/iovsscanf.c: Likewise.
4574 * libio/memstream.c: Likewise.
4575 * libio/obprintf.c: Likewise.
4576 * libio/oldfileops.c: Likewise.
4577 * libio/oldiofclose.c: Likewise.
4578 * libio/oldiofdopen.c: Likewise.
4579 * libio/oldiofopen.c: Likewise.
4580 * libio/oldiopopen.c: Likewise.
4581 * libio/oldstdfiles.c: Likewise.
4582 * libio/putc.c: Likewise.
4583 * libio/setbuf.c: Likewise.
4584 * libio/setlinebuf.c: Likewise.
4585 * libio/stdfiles.c: Likewise.
4586 * libio/strops.c: Likewise.
4587 * libio/vasprintf.c: Likewise.
4588 * libio/vscanf.c: Likewise.
4589 * libio/vsnprintf.c: Likewise.
4590 * libio/vswprintf.c: Likewise.
4591 * libio/wfiledoalloc.c: Likewise.
4592 * libio/wfileops.c: Likewise.
4593 * libio/wgenops.c: Likewise.
4594 * libio/wmemstream.c: Likewise.
4595 * libio/wstrops.c: Likewise.
4596 * libio/__fpurge.c: Likewise.
4597 * libio/__fsetlocking.c: Likewise.
4598 * assert/assert.c: Likewise.
4599 * debug/fgets_chk.c: Likewise.
4600 * debug/fgets_u_chk.c: Likewise.
4601 * debug/fread_chk.c: Likewise.
4602 * debug/fread_u_chk.c: Likewise.
4603 * debug/gets_chk.c: Likewise.
4604 * debug/obprintf_chk.c: Likewise.
4605 * debug/vasprintf_chk.c: Likewise.
4606 * debug/vdprintf_chk.c: Likewise.
4607 * debug/vsnprintf_chk.c: Likewise.
4608 * debug/vsprintf_chk.c: Likewise.
4609 * malloc/mtrace.c: Likewise.
4610 * misc/error.c: Likewise.
4611 * misc/syslog.c: Likewise.
4612 * stdio-common/asprintf.c: Likewise.
4613 * stdio-common/fxprintf.c: Likewise.
4614 * stdio-common/getw.c: Likewise.
4615 * stdio-common/isoc99_fscanf.c: Likewise.
4616 * stdio-common/isoc99_scanf.c: Likewise.
4617 * stdio-common/isoc99_vfscanf.c: Likewise.
4618 * stdio-common/isoc99_vscanf.c: Likewise.
4619 * stdio-common/isoc99_vsscanf.c: Likewise.
4620 * stdio-common/printf-prs.c: Likewise.
4621 * stdio-common/printf_fp.c: Likewise.
4622 * stdio-common/printf_fphex.c: Likewise.
4623 * stdio-common/printf_size.c: Likewise.
4624 * stdio-common/putw.c: Likewise.
4625 * stdio-common/scanf.c: Likewise.
4626 * stdio-common/sprintf.c: Likewise.
4627 * stdio-common/tmpfile.c: Likewise.
4628 * stdio-common/vfprintf.c: Likewise.
4629 * stdio-common/vfscanf.c: Likewise.
4630 * stdlib/strfmon_l.c: Likewise.
4631 * sunrpc/openchild.c: Likewise.
4632 * sunrpc/xdr_stdio.c: Likewise.
4633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4634 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4635
d6c33fda
RM
46362012-05-24 Roland McGrath <roland@hack.frob.com>
4637
c1487492
RM
4638 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4639
4640 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4641 in the third column, to generate for the shared library an IFUNC
4642 that uses _dl_vdso_vsym.
4643 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4644 * Makeconfig (object-suffixes-noshared): New variable.
4645
4646 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4647 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4648 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4649 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4650
d6c33fda
RM
4651 [BZ #14132]
4652 * include/sys/time.h (__gettimeofday): Remove macro.
4653 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4654 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4655 Remove INTDEF.
4656 (__gettimeofday): Add libc_hidden_def.
4657 (gettimeofday): Add libc_hidden_weak.
4658 * sysdeps/mach/gettimeofday.c: Likewise.
4659 * sysdeps/posix/gettimeofday.c: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4663 (__gettimeofday_internal): Remove strong_alias.
4664 (__gettimeofday): Add libc_hidden_def.
4665 (gettimeofday): Add libc_hidden_weak.
4666 * sysdeps/unix/syscalls.list (gettimeofday):
4667 Remove __gettimeofday_internal alias.
4668
b5a2bbe6
L
46692012-05-24 Daniel Jacobowitz <drow@false.org>
4670 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 [BZ #12495]
4673 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4674 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4675 (largebin_index_32_big): New.
4676 (largebin_index): Use it for 16-byte alignment.
4677 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4678 correction with front_misalign.
4679
cfba4fda
L
46802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4681
7f907421
L
4682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4684 Likewise.
4685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4686 Likewise.
4687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4688 Likewise.
4689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4690 Likewise.
4691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4692 Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4694 Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4696 Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4698 Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4700 Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4702 Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4704 Likewise.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4706 Likewise.
4707
cfba4fda
L
4708 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4709 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4710
80bad0cc
JM
47112012-05-24 Joseph Myers <joseph@codesourcery.com>
4712
7a25eb06
JM
4713 [BZ #10846]
4714 [BZ #14036]
4715 * math/libm-test.inc (exp_test): Add test from bug 14036.
4716 (pow_test): Add test from bug 10846.
4717
795405f9
JM
4718 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4719 and other flags.
4720 (special_function): Do not include flags in test name.
4721 (parse_args): Likewise.
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4724 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4725 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4727
80bad0cc
JM
4728 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4729 exceptions.
4730 * math/libm-test.inc ("Philosophy"): Update comment about
4731 exception testing.
4732 (UNDERFLOW_EXCEPTION): New macro.
4733 (UNDERFLOW_EXCEPTION_OK): Likewise.
4734 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4735 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4736 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4737 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4738 (INVALID_EXCEPTION_OK): Update value.
4739 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4740 (OVERFLOW_EXCEPTION_OK): Likewise.
4741 (IGNORE_ZERO_INF_SIGN): Likewise.
4742 (test_exceptions): Handle underflow exceptions.
4743 (acos_test): Update for underflow exception expectations.
4744 (cexp_test): Likewise.
4745 (clog_test): Likewise.
4746 (clog10_test): Likewise.
4747 (csqrt_test): Likewise.
4748 (ctan_test): Likewise.
4749 (ctanh_test): Likewise.
4750 (exp_test): Likewise.
4751 (exp10_test): Likewise.
4752 (exp2_test): Likewise.
4753 (expm1_test): Likewise.
4754 (fma_test): Likewise.
4755 (j0_test): Likewise.
4756 (jn_test): Likewise.
4757 (nexttoward_test): Likewise.
4758 (pow_test): Likewise.
4759 (scalbn_test): Likewise.
4760 (scalbln_test): Likewise.
4761 (tan_test): Likewise.
4762 (y1_test): Likewise.
4763 * sysdeps/i386/fpu/libm-test-ulps: Update.
4764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765
9e0e3d0b
DM
47662012-05-23 David S. Miller <davem@davemloft.net>
4767
4768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4769 (__libc_sigaction): Remove unused local variables.
4770
ccd0a08f
L
47712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4774
62bdf9a6
PE
47752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4776
f8591f80
PE
4777 mktime: avoid signed integer overflow
4778 * time/mktime.c (__mktime_internal): Do not mishandle the case
4779 where diff == INT_MIN.
4780
94c7d826
PE
4781 mktime: simplify computation of average
4782 * time/mktime.c (ranged_convert): Use new time_t_avg function
4783 instead of rolling our own (probably-slower) code.
4784
ce73d683
PE
4785 mktime: do not assume signed right shift propagates sign bit
4786 * time/mktime.c (isdst_differ): New static function.
4787 (__mktime_internal): No need to normalize tm_isdst now.
4788 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4789 tm_isdst values.
4790
72a22e59
PE
4791 mktime: merge another wrapv change from gnulib
4792 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4793 from some compilers.
4794
68605433
PE
4795 mktime: remove incorrect attempt at unusual arithmetics
4796 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4797 The code didn't really work on such machines anyway.
4798 (TYPE_MINIMUM): Assume two's complement.
4799 (twos_complement_arithmetic): Verify that long_int and time_t
4800 are two's complement (or unsigned, in the latter case).
4801
03cf7fe3
PE
4802 mktime: check signed shifts on long_int and time_t, too
4803 * time/mktime.c (SHR): Check that shifts work as desired
4804 on the types long_int and time_t too, as SHR is used on
4805 such types.
4806
f04dfbc2
PE
4807 mktime: do not assume 'long' is wide enough
4808 * time/mktime.c (verify): Move decl up.
4809 (long_int): New type.
4810 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4811 to remove assumption in the code that 'long' is wide enough to
4812 store year values. This assumption is not true on x32 and on
4813 some non-glibc platforms.
4814
62bdf9a6
PE
4815 mktime: merge wrapv change from gnulib
4816 * time/mktime.c (WRAPV): New macro.
4817 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4818 (guess_time_tm, __mktime_internal): Do not assume that signed
4819 integer overflow wraps around; modern compilers generate code
4820 where this assumption is no longer valid.
4821
5e292e4f
L
48222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4825 Replace "jmp L(pseudo_end)" with "ret".
4826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4827 Likewise.
4828
8caf8c87
AJ
48292012-05-23 Andreas Jaeger <aj@suse.de>
4830
4831 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4832 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4833
1a09dc56
AJ
48342012-05-23 Andreas Jaeger <aj@suse.de>
4835 Maximilian Attems <max@stro.at>
4836
4837 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4838 New macros.
4839
1c87aba0
L
48402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4843 code so that pseudo_end is just ret and the stack pointer is
4844 correct also for static library in error case.
4845
40e45bd5
JM
48462012-05-23 Joseph Myers <joseph@codesourcery.com>
4847
c2670533
JM
4848 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4849 move to syscalls.list.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4854
40e45bd5
JM
4855 * manual/install.texi (Running make install): Do not mention Linux
4856 kernel version for which pt_chown is not needed.
4857 (Linux): Do not mention problems with nscd with 2.0 kernels.
4858 * INSTALL: Regenerated.
4859
be08eda5
AJ
48602012-05-23 Andreas Jaeger <aj@suse.de>
4861
4862 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4863 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4864 macro.
4865 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4866 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4867 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4869 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4870 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4872 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4874 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4875 * sysdeps/unix/sysv/linux/bits/in.h
4876 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4877
a6a056bb
RM
48782012-05-22 Roland McGrath <roland@hack.frob.com>
4879
4880 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4881 (PREPARE_VERSION): Just use assert instead, it will be elided
4882 under [NDEBUG] anyway.
4883
c9009328
L
48842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4885
4886 * sysdeps/unix/sysv/linux/Makefile: Include
4887 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4888 (sysdep_routines): Remove sysctl.
c9009328
L
4889 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4890 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4891 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4892 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4893 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4894
73338355
AJ
48952012-05-22 Andreas Jaeger <aj@suse.de>
4896
4897 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4898 that pseudo_end is just ret and the stack pointer is correct also
4899 for static library in error case.
4900
d44638b0
PP
49012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4902
4903 [BZ #14122]
4904 * nss/nsswitch.c (defconfig_entries): New variable.
4905 (__nss_database_lookup): Don't leak defconfig entries.
4906 (nss_parse_service_list): Don't leak on error paths.
4907 (free_database_entries): New function.
4908 (free_defconfig): New function.
4909 (free_mem): Move common code to free_database_entries.
4910
31a39bd8
L
49112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4912
da0331a8
L
4913 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4914 Add arch_prctl.
4915 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4916
31a39bd8
L
4917 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4918 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4920 New macro.
4921 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4922 (INTERNAL_SYSCALL_TYPES): Likewise.
4923 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4924 (LOAD_REGS_TYPES_[1-6]): Likewise.
4925 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4926 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4927
45470df3
AZ
49282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4929
4930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4931 copysignl for GLIBC_2_0.
4932 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4933 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4935 logbl for GLIBC_2_0.
4936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4938
98a61bcb
L
49392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4940
a4f6e481
L
4941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4942 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4943
f63d5db6
L
4944 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4945 Use "neg %eax".
4946
98a61bcb
L
4947 * time/mktime.c: Update copyright years.
4948
95770f14
PE
49492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4950
6226efbd
PE
4951 mktime: merge comment-quoting-style change from gnulib
4952 * time/mktime.c: Quote 'like this' in comments.
4953 The GNU coding standards suggest that we no longer quote `like this',
4954 as "`" and "'" are typically rendered asymmetrically nowadays.
4955 The typical gnulib style is to quote 'like this' when quoting
4956 code, and "like this" when quoting English.
4957
b99e4f78
PE
4958 * time/mktime.c (compile-command): Add "-I.".
4959
643e01e6
PE
4960 mktime: merge mktime-internal.h change from gnulib
4961 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4962
2554247d
PE
4963 mktime: merge time_r change from gnulib
4964 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4965
826dd0ab
PE
4966 mktime: merge DEBUG change from gnulib
4967 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4968 case system <time.h> has a #define.
4969
bd83aabe
PE
4970 mktime: merge <sys/types.h> change from gnulib
4971 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4972 since <time.t> is now guaranteed to define time_t.
4973
95770f14
PE
4974 mktime: merge HAVE_CONFIG_H change from gnulib
4975 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4976
5e1a27a9
L
49772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4978
0e44a77e
L
4979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4980 Use "neg %eax".
4981
5e1a27a9
L
4982 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4983 __rlim_t cast.
4984 (struct rusage): Use anonymous union to pad each field to
4985 __syscall_slong_t.
4986
46259bec
DM
49872012-05-21 David S. Miller <davem@davemloft.net>
4988
4989 * Makefules (o-iterator): Remove .s cases.
4990 (compile-command.s): Delete.
4991 (COMPILE.s): Delete.
4992 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4993
59f0c22e
JM
49942012-05-21 Joseph Myers <joseph@codesourcery.com>
4995
4996 * configure.in (libc_cv_predef_stack_protector): Only consider
4997 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4998 * configure: Regenerated.
4999
20c07380
L
50002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5001
bbb3154b
L
5002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5003 New macro. Use R*LP on int and pointer.
5004 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5005 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5007 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5008
20c07380
L
5009 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5010 [__WORDSIZE_TIME64_COMPAT32] instead of
5011 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5012 (struct utmp): Likewise.
5013 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5014 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5015 Renamed to ...
5016 (__WORDSIZE_TIME64_COMPAT32): This.
5017 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5018 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5019 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5021 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5022 (__WORDSIZE_TIME64_COMPAT32): New macro.
5023
d8d1017e
AJ
50242012-05-21 Andreas Jaeger <aj@suse.de>
5025
5026 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5027 only if [SHARED]. Add prototype for __wcschr_ia32.
5028
6c7fb145
RM
50292012-05-21 Roland McGrath <roland@hack.frob.com>
5030
5031 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5032 of %rbp unmolested in the jmp_buf while mangling the low bits.
5033 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5034 unmolested high bits of %rbp while demangling the low bits.
5035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5036
66274218
AJ
50372012-05-21 Andreas Jaeger <aj@suse.de>
5038
07c58f8f
AJ
5039 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5040 * sunrpc/svc_simple.c: Use it for registerrpc.
5041 * sunrpc/xcrypt.c: Use it for passwd2des.
5042
66274218
AJ
5043 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5044
61f65140
L
50452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5046
5047 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5048 Don't define if [__SYSCALL_WORDSIZE != 32].
5049 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5050 New macro.
5051
5fefb436
AJ
50522012-05-21 Bruno Haible <bruno@clisp.org>
5053 Andreas Jaeger <aj@suse.de>
5054
5055 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5056 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5057 inptr and inend for must_buffer_ch.
5058 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5059 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5060 * stdio-common/Makefile (tests): Remove bug15.
5061 (bug15-ENV): Remove macro.
5062 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5063 anymore.
5064
d8e272ab
AJ
50652012-05-19 Andreas Jaeger <aj@suse.de>
5066 Roland McGrath <roland@hack.frob.com>
5067
5068 * manual/contrib.texi: Completely rewritten. It contains now an
5069 alphabetical list of contributors and their contributions.
5070
4a56a162
RH
50712012-05-21 Richard Henderson <rth@twiddle.net>
5072
5073 * misc/getauxval.c (__getauxval): Use unsigned long int.
5074 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5075 (getauxval): Use unsigned long int.
5076
d024d23c
L
50772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5078
5079 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5080
cbc00a03
RM
50812012-05-21 Roland McGrath <roland@hack.frob.com>
5082
5083 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5084 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5085 __alignof__ (long double).
5086
478143fa
AZ
50872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5090
c7683a6d
RH
50912012-05-20 Richard Henderson <rth@twiddle.net>
5092
5093 * misc/getauxval.c: New file.
5094 * misc/sys/auxv.h: New file.
5095 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5096 (routines): Add getauxval.
5097 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5098 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5099 * elf/dl-sysdep.c (_dl_auxv): Remove.
5100 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5101 * elf/dl-support.c (_dl_auxv): New variable.
5102 (_dl_aux_init): Initialize it.
5103 * manual/startup.texi (Auxiliary Vector): New node.
5104 * sysdeps/generic/bits/hwcap.h: New file.
5105 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5106 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5107 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5108 * sysdeps/sparc/sysdep.h: ... here. Include it.
5109 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5112 Update.
c7683a6d
RH
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5121
a6f1845d
AZ
51222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123
5124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5125
cbcbe830
DM
51262012-05-19 David S. Miller <davem@davemloft.net>
5127
5128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5129
e0b16cc2
JM
51302012-05-19 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #14123]
5133 * math/s_ccosh.c: Include <float.h>
5134 (__ccosh): Avoid internal overflow calculating sinh and cosh
5135 values before multiplying by sin and cos values.
5136 * math/s_ccoshf.c: Likewise.
5137 * math/s_ccoshl.c: Likewise.
5138 * math/s_csin.c: Likewise.
5139 * math/s_csinf.c: Likewise.
5140 * math/s_csinl.c: Likewise.
5141 * math/s_csinh.c: Likewise.
5142 * math/s_csinhf.c: Likewise.
5143 * math/s_csinhl.c: Likewise.
5144 * math/libm-test.inc (ccos_test): Add more tests.
5145 (ccosh_test): Likewise.
5146 (csin_test): Likewise.
5147 (csinh_test): Likewise.
5148 * sysdeps/i386/fpu/libm-test-ulps: Update.
5149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5150
6ad13e08
L
51512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5152
f66f0ce8
L
5153 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5154 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5155
6ad13e08
L
5156 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5157
b1d072a7
JM
51582012-05-19 Joseph Myers <joseph@codesourcery.com>
5159
5160 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5161 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5162 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5163 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5164 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5165 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5166 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5167 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5168 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5169 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5170 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5171 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5172 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5173 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5174 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5175 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5176 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5177 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5178 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5179 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5180 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5181 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5182 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5183 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5184 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5185 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5186 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5187 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5188 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5189 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5190 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5191
9eae47cb
AJ
51922012-05-18 Andreas Jaeger <aj@suse.de>
5193
5194 * csu/.gitignore: Delete.
5195
bb07f69f
L
51962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5199 (timex): Use __syscall_slong_t.
5200
e6bdb741
AJ
52012012-05-18 Andreas Jaeger <aj@suse.de>
5202 Carlos O'Donell <carlos_odonell@mentor.com>
5203
5204 * manual/install.texi (Configuring and compiling): Update
5205 description about files modified in the source directory.
d6c33fda 5206 * INSTALL: Regenerated.
e6bdb741 5207
1b74487e
L
52082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5209
5210 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5211 value. Use "or" to set return value to -1.
5212 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5213 negate return value.
5214
a88b64b9
TMQMF
52152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5216
5217 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5218 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5219 failure if the compiler has Graphite support disabled.
5220 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5221 Likewise.
5222 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5223 CFLAGS-memmove.c): Likewise.
5224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5225 Likewise.
5226
3707636e
L
52272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5228
610b8622
L
5229 * sysdeps/x86_64/x32/_itoa.h: New file.
5230
7cd195df
L
5231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5232 getdents system call only if kernel and user dirents have the
5233 same d_ino and d_off.
5234
94b07d20
L
5235 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5236 LLONG_MAX != LONG_MAX.
5237 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5238 (_fitoa_word): Likewise.
5239
18298070
L
5240 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5241 years.
5242 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5244 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5245
553c7ea4
L
5246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5247 include <bits/wordsize.h>. Check __x86_64__ instead of
5248 __WORDSIZE.
5249 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5250 if __x86_64__ is defined. Use anonymous union on fpstate.
5251
3707636e
L
5252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5253 anonymous union.
5254
b53ef01a
AS
52552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5256
37fb1dc0
AS
5257 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5258 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5260 Refer to _rtld_local_ro instead of _rtld_global_ro.
5261 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5262 Likewise.
5263 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5264 Likewise.
5265 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5266 Likewise.
5267 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5268 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5269 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5270
b53ef01a
AS
5271 * sysdeps/powerpc/powerpc32/dl-machine.c
5272 (__elf_machine_runtime_setup) [PROF]: Don't reference
5273 _dl_prof_resolve.
5274
7a185db2
AJ
52752012-05-18 Andreas Jaeger <aj@suse.de>
5276
5277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5278 function only available for GCCs before 3.4 since GCC 3.4
5279 introduced a builtin.
5280 (lrint): Likewise.
5281 (llrintf): Likewise.
5282 (llrint): Likewise.
5283 (fmaxf): Likewise.
5284 (fmax): Likewise.
5285 (fminf): Likewise.
5286 (fmin): Likewise.
5287 (rint): Likewise.
5288 (rintf): Likewise.
5289 (nearbyint): Likewise.
5290 (nearbyintf): Likewise.
5291 (ceil): Likewise.
5292 (ceilf): Likewise.
5293 (floor): Likewise.
5294 (floorf): Likewise.
5295
3e5aef87
L
52962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5297
428bd707
L
5298 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5299 on both fields and cast pointer to __syscall_ulong_t.
5300
3e5aef87
L
5301 * bits/types.h (__fsword_t): New type.
5302 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5303 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5305 (__FSWORD_T_TYPE): Likewise.
5306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5307 (__FSWORD_T_TYPE): Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5309 (__FSWORD_T_TYPE): Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5311 (__FSWORD_T_TYPE): Likewise.
5312 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5313 __SWORD_TYPE with __fsword_t.
5314 (statfs64): Likewise.
5315
1ba7c3dc
DM
53162012-05-17 David S. Miller <davem@davemloft.net>
5317
5318 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5319
59910343
AJ
53202012-05-17 Andreas Jaeger <aj@suse.de>
5321
5322 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5323 warning.
5324
2e4c1e9e
L
53252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5326
5327 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5328
de7f5ce7
AJ
53292012-05-17 Andreas Jaeger <aj@suse.de>
5330
5331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5332 when it is used.
5333
286abc3d
CM
53342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5335
5336 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5337
477cc68e
L
53382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5341 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5342
1a0994f5
CD
53432012-05-17 Andreas Jaeger <aj@suse.de>
5344 Carlos O'Donell <carlos_odonell@mentor.com>
5345
5346 [BZ #14059]
5347 * sysdeps/x86_64/multiarch/init-arch.h
5348 (bit_YMM_Usable): Rename to...
5349 (bit_AVX_Usable): ... this.
5350 (bit_FMA4_Usable): New macro.
5351 (bit_XMM_state): New macro.
5352 (bit_YMM_state): New macro.
5353 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5354 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5355 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5356 (CPUID_OSXSAVE): New macro.
5357 (CPUID_AVX): New macro.
5358 (CPUID_FMA4): New macro.
5359 (index_YMM_Usable): Rename to...
5360 (index_AVX_Usable): ... this.
5361 (HAS_AVX): Use HAS_ARCH_FEATURE.
5362 (HAS_FMA4): Likewise.
5363 (HAS_YMM_USABLE): Remove.
5364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5365 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5366 are present.
5367 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5368 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5369 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5370 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5371 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5372
0af797de
CM
53732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5374
5375 * math/libm-test.c: Support platforms without multiple rounding modes.
5376 * math/bug-nextafter.c: Support platforms without FP exceptions.
5377 * math/bug-nexttoward.c: Likewise.
5378 * math/test-fenv.c: Likewise.
5379 * math/test-misc.c: Likewise.
5380 * stdlib/bug-getcontext.c: Likewise.
5381
e39745ff
AJ
53822012-05-17 Andreas Jaeger <aj@suse.de>
5383
5384 * manual/examples/search.c (critter_cmp): Change signature to
5385 avoid warnings.
5386 * manual/string.texi (Collation Functions): Likewise.
5387
48970aba
L
53882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5389
5390 * bits/types.h: Fold copyright years.
5391 * bits/typesizes.h: Likewise.
5392 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5396 * time/time.h: Likewise.
5397
bedee953
PP
53982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5399
5400 [BZ #208]
5401 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5402 in instead of returning them. Return void.
5403 (__libc_mallinfo): Accumulate over all arenas.
5404 (__malloc_stats): Adjust for change in int_mallinfo interface.
5405
61653dfb
RM
54062012-05-16 Roland McGrath <roland@hack.frob.com>
5407
30b99d79
RM
5408 [BZ #10375]
5409 * configure.in (NM): Add AC_CHECK_TOOL for it.
5410 (libc_extra_cflags): New substituted variable.
5411 Check for -fstack-protector being used implicitly.
5412 * configure: Regenerated.
5413 * config.make.in (config-extra-cflags): New variable,
5414 gets @libc_extra_cflags@.
5415 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5416
61653dfb
RM
5417 [BZ #10375]
5418 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5419 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5420 * configure: Regenerated.
5421 * config.make.in (CPPUNDEFS): New substituted variable.
5422 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5423 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5424 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5425
661768bb
L
54262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5429 (mq_attr): Use __syscall_slong_t.
5430
d4261567
L
54312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5432
5433 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5434 Check __x86_64__ instead of __WORDSIZE.
5435 (_STAT_VER_LINUX): Likewise.
5436 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5437 __syscall_ulong_t and __syscall_slong_t.
5438 (stat64): Likewise.
5439
cf3ff365
L
54402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5443
76cf3e4d
L
54442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5445
5446 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5447
a637753a
L
54482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5449
5450 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5451 __syscall_ulong_t.
5452
d5e05119
L
5453 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5454 include <bits/wordsize.h>. Check __x86_64__ instead of
5455 __WORDSIZE.
5456 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5457 defined.
5458 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5459
f62ee380
L
5460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5461 include <bits/wordsize.h>. Check __x86_64__ instead of
5462 __WORDSIZE.
5463 (user_regs_struct): Use "__extension__ unsigned long long"
5464 instead of "unsigned long" if __x86_64__ is defined.
5465 (user): Likewise. Pad after pointer field if __ILP32__ is
5466 defined.
5467
4e124ced
JM
54682012-05-16 Joseph Myers <joseph@codesourcery.com>
5469
6a3951a0
JM
5470 * configure.in (makeinfo): Require version 4.5 or later. Allow
5471 versions 5 to 9.
5472 * configure: Regenerated.
5473 * manual/install.texi (texinfo): Increase version requirement to
5474 4.5 or later.
5475 * INSTALL: Regenerated.
5476
4e124ced
JM
5477 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5478
953ca31a
L
54792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5480
5481 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5482
617aca05
L
5483 * sysdeps/x86_64/x32/ffs.c: New file.
5484
5762f7ae
L
5485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5486 __syscall_ulong_t.
5487 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5488 defined. Use __syscall_ulong_t.
5489 (shminfo): Use __syscall_ulong_t.
5490 (shm_info): Likewise.
5491
a26b6856
L
5492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5493 __syscall_ulong_t.
5494
cb2b9ef7
L
5495 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5496 <bits/wordsize.h>.
5497 (msgqnum_t): Use __syscall_ulong_t.
5498 (msglen_t): Likewise.
5499 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5500 __syscall_ulong_t.
5501
34683bb0
L
5502 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5503 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5504
84a68786
L
5505 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5506
48baa5f1
L
5507 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5508 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5509
180be88b
L
5510 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5511 __syscall_slong_t.
5512
5e90c8ad
L
5513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5514 include <bits/wordsize.h>. Check __x86_64__ instead of
5515 __WORDSIZE.
5516
23dfb58b
L
5517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5518 "unsigned long long int" if __x86_64__ is defined.
5519 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5520
ce5d54b0
L
5521 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5523 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5524
13dc9eac
L
5525 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5526 <stdint.h>.
5527 (GET_PC): Cast to uintptr_t first.
5528 (GET_FRAME): Likewise.
5529 (GET_STACK): Likewise.
5530
a7895d15
L
5531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5539 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5560
656416c9
AS
55612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5562
5bd66283
AS
5563 * Makerules (+depfiles): Also collect depfiles from .oS in
5564 $(extra-objs).
5565 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5566 .oS, $(libnldbl-routines)).
5567
656416c9
AS
5568 * Makerules (native-compile-mkdep-flags): Define.
5569 * sunrpc/Makefile (extra-objs): Add $(addprefix
5570 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5571 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5572 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5573 calling $(make-target-directory).
5574
a46f2169
L
55752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5576
5577 * bits/types.h (__snseconds_t): Removed.
5578 * time/time.h (struct timespec): Replace __snseconds_t with
5579 __syscall_slong_t.
5580 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5581 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5582 Likewise.
5583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5584 (__SNSECONDS_T_TYPE): Likewise.
5585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5586 (__SNSECONDS_T_TYPE): Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5588 (__SNSECONDS_T_TYPE): Likewise.
5589
6af6528b
L
55902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5591
5592 * sysdeps/mach/hurd/bits/typesizes.h
5593 (__SYSCALL_SLONG_TYPE): New macro.
5594 (__SYSCALL_ULONG_TYPE): Likewise.
5595
de986b56
L
55962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5597
5598 * bits/types.h (__syscall_slong_t): New type.
5599 (__syscall_ulong_t): Likewise.
5600
5601 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5602 (__SYSCALL_ULONG_TYPE): Likewise.
5603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5604 (__SYSCALL_SLONG_TYPE): Likewise.
5605 (__SYSCALL_ULONG_TYPE): Likewise.
5606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5607 (__SYSCALL_SLONG_TYPE): Likewise.
5608 (__SYSCALL_ULONG_TYPE): Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5610 (__SYSCALL_SLONG_TYPE): Likewise.
5611 (__SYSCALL_ULONG_TYPE): Likewise.
5612
85736dc7
L
56132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5616 Add sigaltstack-offsets.sym.
5617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5618 <sigaltstack-offsets.h>.
5619 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5620 longjmp_msg pointer.
5621 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5622 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5623 signal stack.
5624 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5625
cc03b296
JM
56262012-05-15 Joseph Myers <joseph@codesourcery.com>
5627
a9538892
JM
5628 * elf/stackguard-macros.h: Remove file.
5629 * sysdeps/generic/stackguard-macros.h: New file.
5630 * sysdeps/i386/stackguard-macros.h: Likewise.
5631 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5632 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5633 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5634 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5635 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5636 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5637 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5638 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5639 <elf/stackguard-macros.h>.
5640
cc03b296
JM
5641 [BZ #14109]
5642 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5643 __aligned__ in attribute.
5644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5645 (gregset_t): Likewise.
5646
93171016
L
56472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5648
5649 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5650 * sysdeps/x86_64/64/Implies-after: Here. New file.
5651 * sysdeps/x86_64/x32/Implies-after: New file.
5652
d86813a0
L
56532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5656 and access return value for _dl_profile_fixup. Use R10_LP to
5657 load frame size.
5658
2953ec75
L
56592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5660
5661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5662
3b550e9e
L
56632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5666 * sysdeps/x86_64/x32/sysdep.h: New file.
5667
eda41706
L
56682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5669
5670 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5671 * sysdeps/x86_64/setjmp.S: Likewise.
5672
9ea01d93
AZ
56732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5674
5675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5677 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5679 remove unused global constant.
5680
02a91938
CM
56812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5682
5683 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5684 include of <not-cancel.h>.
5685
6540185f
RM
56862012-05-15 Roland McGrath <roland@hack.frob.com>
5687
5688 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5689
509072a0
AJ
56902012-05-15 Jeff Law <law@redhat.com>
5691 Andreas Jaeger <aj@suse.de>
5692
5693 [BZ #13594]
5694 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5695 out from...
5696 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5697 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5699 code changing __hst_map_handle.map.
5700
ba75122d
RM
57012012-05-15 Roland McGrath <roland@hack.frob.com>
5702
5703 * configure.in (sysnames): Look for Implies-before and Implies-after
5704 files.
5705 * configure: Regenerated.
5706
890d8bd8
L
57072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5708
5709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5710 8-byte data alignment with LP_SIZE alignment.
5711
f6ee6623
L
57122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5713
5714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5715 into R10_LP.
5716
ea2626f6
L
57172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5718
5719 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5720
085f715e
L
57212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5724 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5725 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5726 Likewise.
5727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5728
be8498fc
L
57292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5730
5731 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5732 (stackinfo_sub_sp): Likewise.
5733
70bc83b9
L
57342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5737 RAX_LP.
5738
9bc0b730
L
57392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5742 into R*_LP.
5743
6d2850e7
L
57442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5747 sizes into R*_LP.
5748
3cb84561
L
57492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5750
5751 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5752
54e2ed81
L
57532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5754
5755 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5756 into R11_LP and load __x86_64_shared_cache_size_half into
5757 R8_LP.
5758
8a17f349
L
57592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5762 R8_LP.
5763
777b1eea
AZ
57642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5765
5766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5767 logb for POWER7.
5768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5769 logbf for POWER7.
5770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5771 logbl for POWER7.
5772 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5773 powerpc32/power7/fpu/s_logb.c via #include.
5774 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5775 powerpc32/power7/fpu/s_logbf.c via #include.
5776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5777 powerpc32/power7/fpu/s_logbl.c via #include.
5778
d20d4ac2
JM
57792012-05-15 Joseph Myers <joseph@codesourcery.com>
5780
5781 * README.libm: Remove file.
5782
6cdef1ab
L
57832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5784
5785 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5786 count for x32. Use R*_LP and omit operand-size suffix.
5787
0b254d8f
L
57882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5789
5790 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5791 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5792 * sysdeps/x86_64/x32/shlib-versions: New file.
5793
ceb809dc
RM
57942012-05-14 Roland McGrath <roland@hack.frob.com>
5795
5796 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5797 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5798 Use _dl_fatal_printf instead.
5799
37f1abd4
JM
58002012-05-14 Joseph Myers <joseph@codesourcery.com>
5801
5802 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5803 set if not set by the user. Do not allow for being unset.
5804 * sysdeps/unix/sysv/linux/configure: Regenerated.
5805
11de3a33
L
58062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5809 the `q' suffix from lea and replace .quad with ASM_ADDR.
5810
e02f153a
L
58112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5814 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5815 instead of $17.
5816 (PTR_DEMANGLE): Likewise.
5817
520ae0fd
L
58182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5819
5820 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5821 (LP_OP): Likewise.
5822 (ASM_ADDR): Likewise.
5823 (RAX_LP): Likewise.
5824 (RBP_LP): Likewise.
5825 (RBX_LP): Likewise.
5826 (RCX_LP): Likewise.
5827 (RDI_LP): Likewise.
5828 (RSI_LP): Likewise.
5829 (RSP_LP): Likewise.
5830 (R8_LP): Likewise.
5831 (R9_LP): Likewise.
5832 (R10_LP): Likewise.
5833 (R10_LP): Likewise.
5834 (R11_LP): Likewise.
5835 (R12_LP): Likewise.
5836 (R13_LP): Likewise.
5837 (R14_LP): Likewise.
5838 (R15_LP): Likewise.
5839
b985be81
L
58402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5841
5842 * sysdeps/x86_64/x32/dl-machine.h: New file.
5843
6a4888ff
AJ
58442012-05-14 Andreas Jaeger <aj@suse.de>
5845
5846 * manual/Makefile (subdir): Remove export of subdir.
5847 (all): Remove target.
5848 (.PHONY): Remove all from list.
5849 (mkinstalldirs): Remove.
5850 (.PHONY): Remove installdirs from list.
5851 ($(inst_infodir)/libc.info): Use make-target-directory.
5852 (installdirs): Remove.
5853 (subdir_%): Remove.
5854 (glibc-targets): Remove.
5855 (lib): Remove.
5856 (stubs): Remove.
5857 ($(objpfx)stubs ../po/manual.pot): Remove.
5858 ($(objpfx)stamp%): Remove.
5859 (make-target-directory): Remove.
5860 (subdir_install): Remove.
5861 (routines): Remove.
5862 (aux): Remove.
5863 (sources): Remove.
5864 (objects): Remove.
5865 (headers): Remove.
5866
5867 [BZ #13750]
5868 * manual/.gitignore: Remove, it's not needed anymore.
5869 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5870 all files in it.
5871 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5872 directory.
5873 (texis): Renamed to $(objpfx)texis.
5874 (texis-path): New, contains path to generated files.
5875 (chapters.%): Use texis-path for complete path, add extra argument
5876 libc-texinfo.sh.
5877 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5878 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5879 (summary,texi, stamp-summary): Use complete path of
5880 files. Generate files in build dir.
5881 (dir-add.texi): Build in build dir.
5882 (libm-err.texi,stamp-libm-err): Likewise.
5883 (version.texi, stamp-version): Likewise.
5884 (.%c.texi): Likewise.
5885 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5886 (mostlyclean): Remove target.
5887 (realclean): Remove target.
5888 (generated): Add new variable with contents from mostlyclean and
5889 realclean, remove entries duplicated in common-mostlyclean, add
5890 stamp-libm-err and stamp-version.
5891 (generated-dirs): Add libc directory.
5892 ($(inst_infodir)/libc.info): Install files from build dir.
5893
5894 * manual/install.texi (Configuring and compiling): Adjust since
5895 the info files are not part of the tar ball anymore.
5896
7ac77294
AJ
58972012-05-14 Andreas Jaeger <aj@suse.de>
5898
5899 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5900 variable.
5901
ffb7875d
JM
59022012-05-14 Joseph Myers <joseph@codesourcery.com>
5903
5904 [BZ #13717]
5905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5906 to 2.2.0 where earlier.
5907 * sysdeps/unix/sysv/linux/configure: Regenerated.
5908 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5909 Remove conditional code.
5910 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5911 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5912 Remove conditional code.
5913 [!__NR_lchown]: Likewise.
5914 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5915 [__NR_lchown]: Likewise.
5916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5917 comment referencing __ASSUME_LCHOWN_SYSCALL.
5918 * sysdeps/unix/sysv/linux/i386/sigaction.c
5919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5921 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5922 Remove conditional code.
5923 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5924 (__protocol_available): Remove #if 0 code.
5925 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5926 conditional code.
5927 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5928 * sysdeps/unix/sysv/linux/kernel-features.h
5929 (__ASSUME_GETCWD_SYSCALL): Don't define.
5930 (__ASSUME_REALTIME_SIGNALS): Likewise.
5931 (__ASSUME_PREAD_SYSCALL): Likewise.
5932 (__ASSUME_PWRITE_SYSCALL): Likewise.
5933 (__ASSUME_POLL_SYSCALL): Likewise.
5934 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5935 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5936 non-SPARC.
5937 (__ASSUME_SIOCGIFNAME): Don't define.
5938 (__ASSUME_MSG_NOSIGNAL): Likewise.
5939 (__ASSUME_SENDFILE): Define unconditionally.
5940 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5941 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5942 conditional code.
5943 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5944 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5945 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5946 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5947 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5948 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5949 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5951 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5954 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5957 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5963 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5969 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5974 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5975 Remove conditional code.
5976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5977 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5978 Remove conditional code.
5979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5980 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5981 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5982 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5983 Remove conditional code.
5984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5985 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5986 Remove conditional code.
5987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5988 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5989 Remove conditional code.
5990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5991 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5992 Remove conditional code.
5993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5994 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5995 Remove conditional code.
5996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5997 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6000 * sysdeps/unix/sysv/linux/sigaction.c
6001 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6002 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6003 * sysdeps/unix/sysv/linux/sigpending.c
6004 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6005 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6006 * sysdeps/unix/sysv/linux/sigprocmask.c
6007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6009 * sysdeps/unix/sysv/linux/sigsuspend.c
6010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6012 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6013 (__libc_missing_rt_sigs): Remove.
6014 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6015 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6016 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6017 Remove conditional code.
6018 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6019 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6020 return 1.
6021 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6022 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6023 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6024 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6025
1bfb7291
AJ
60262012-05-14 Andreas Jaeger <aj@suse.de>
6027
caae5a81
AJ
6028 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6029 it's not used in glibc.
6030 (__coshm1): Likewise.
6031 (__acosh1p): Likewise.
6032 (__sgn): Likewise.
6033
1bfb7291
AJ
6034 * manual/string.texi (Copying and Concatenation): Add missing
6035 variable in concat example.
6036 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6037
c044d724
L
60382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6039
144c5467 6040 [BZ #14103]
c044d724
L
6041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6042 __builtin_clzl with __builtin_clzll.
6043
2523c62b
L
60442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 [BZ #14104]
6047 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6048 libc_freeres_ptr.
6049
d7bb4c42
LD
60502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6051
6052 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6053 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6054 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6056
9dc4e1fb
MF
60572012-05-14 Mike Frysinger <vapier@gentoo.org>
6058
6059 * NEWS: Update ia64 info.
6060
c7df0112
AS
60612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6062
6063 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6064 used as bcopy.
6065
dc70356c
TS
60662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6067
6068 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6069 * sysdeps/unix/syscalls.list (dup3): Likewise.
6070 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6071 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6072
9fb1a21f
L
60732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6074
6075 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6076 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6077
4822a2a5
L
60782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6081 thread pointer.
6082 (TLS_IE): Use mov/add instead of movq/addq to load thread
6083 pointer.
6084 (TLS_GD_PREFIX): New.
6085 (TLS_GD): Use it.
6086
842b81d6
DM
60872012-05-11 David S. Miller <davem@davemloft.net>
6088
6089 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6090 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6091 (_FPU_SETCW): Likewise.
6092
1cf463cd
L
60932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6096 is 32-byte aligned.
6097
60cc4a18
AS
60982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6099
6100 [BZ #11837]
6101 * iconvdata/gb18030.c: Update tables.
6102 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6103 characters specially.
6104 (BODY for TO_LOOP): Add encoding of missing ranges.
6105
febb44a4
TS
61062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6107
6108 [BZ #13673]
6109 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6110 * sysdeps/mach/hurd/dup3.c: Likewise.
6111 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6112 * sysdeps/powerpc/memmove.c:: Likewise.
6113
0a10fb9e
L
61142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6117 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6118
df8a552f
L
61192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6120
6121 * elf/elf.h (R_X86_64_RELATIVE64): New.
6122 (R_X86_64_NUM): Updated.
6123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6124 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6125 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6126 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6127 tst-quad1pie tst-quad2pie
6128 (modules-names): Add tst-quadmod1 tst-quadmod2.
6129 ($(objpfx)tst-quad1): New dependency.
6130 ($(objpfx)tst-quad2): Likewise.
6131 ($(objpfx)tst-quad1pie): Likewise.
6132 ($(objpfx)tst-quad2pie): Likewise.
6133 * sysdeps/x86_64/tst-quad1.c: New file.
6134 * sysdeps/x86_64/tst-quad1pie.c: New file.
6135 * sysdeps/x86_64/tst-quad2.c: Likewise.
6136 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6137 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6138 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6139 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6140 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6141
f34d6f84
ST
61422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6143
f42d41d1
ST
6144 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6145 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6146 * streams/stropts.h (t_scalar_t): Define type.
6147
3c3571fc
ST
6148 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6149 (_PATH_PRESERVE): Set to "/var/lib".
6150 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6151
61f06bd3
ST
6152 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6153 instead of int.
6154
918d4d71
ST
6155 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6156 if __dir_mkfile succeeded.
6157
f34d6f84
ST
6158 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6159 checking for _hurd_dtablesize. Unlock it right after having
6160 finished _hurd_dtable allocation.
6161
10589b4a
TS
61622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6163
674cdbc7
TS
6164 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6165 * sysdeps/mach/hurd/configure: Regenerated.
6166 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6167 special-casing to...
6168 * sysdeps/gnu/configure.in: ... this new file.
6169 * sysdeps/unix/sysv/linux/configure: Regenerated.
6170 * sysdeps/gnu/configure: New generated file.
6171
8e41b99f
TS
6172 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6173 for Linux: use nsec instead of usec, as well as:
6174 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6175 members of type struct timespec.
6176 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6177 New macros.
6178 (struct stat64): Likewise.
6179 (_STATBUF_ST_NSEC): New macro.
6180 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6181
10589b4a
TS
6182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6183 __strtoul_internal rather than strtoul.
6184
63643c85
PT
61852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6186
6187 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6188 and reject them.
6189
3faebe6a
ST
61902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6191
6192 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6193 which preserves existing values.
6194 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6195
c6474b07
PT
61962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6197
6198 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6199 TIMEOUT values. Return EINVAL for NFDS values either negative or
6200 greater than FD_SETSIZE.
6201
1043890b
ST
62022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6203
6204 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6205 allocated, call __vm_protect to finish enabling the existing space, and
6206 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6207 allocate the remainder.
6208
37ed8b9b
PT
62092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6210
6211 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6212 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6213
db653660
ST
62142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6215
37ed8b9b
PT
6216 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6217 sysdeps/mach/hurd/readlink.c.
b29d4053 6218
db653660
ST
6219 * posix/tst-sysconf.c (posix_options): Only use
6220 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6221 _POSIX_SYNCHRONIZED_IO when they are defined
6222 * sysdeps/mach/hurd/bits/posix_opt.h:
6223 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6224 (_XOPEN_REALTIME): Undefine macro.
6225 (_XOPEN_REALTIME_THREADS): Undefine macro.
6226 (_XOPEN_SHM): Undefine macro.
6227 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6228 macro to -1.
6229 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6230 macro to -1.
6231 (_POSIX_ASYNC_IO): Undefine macro.
6232 (_POSIX_PRIORITIZED_IO): Undefine macro.
6233 (_POSIX_SPIN_LOCKS): Define macro to -1.
6234
ee16e894
ST
6235 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6236 SA_NODEFER, SA_RESETHAND.
6237 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6238 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6239 F_DUPFD_CLOEXEC.
6240
6103ae3b
TS
62412012-05-10 Thomas Schwinge <thomas@schwinge.name>
6242
6243 * elf/Makefile (pldd-modules): Define unconditionally.
6244
80b4e5f3
TS
62452012-05-10 Thomas Schwinge <thomas@schwinge.name>
6246
6247 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6248
edadcbd6
ST
62492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6250
6251 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6252 Return ENOENT when name is empty.
6253 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6254
80694780
TS
62552012-05-10 Thomas Schwinge <thomas@schwinge.name>
6256
1792c087
TS
6257 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6258
80694780
TS
6259 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6260
6b645f0d
ST
62612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6262
80694780
TS
6263 Fix mlock in all cases except non-readable pages.
6264 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6265 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6266
6b645f0d
ST
6267 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6268 (__mkdir): When path is `/', just fail with EEXIST.
6269 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6270
e468f8a3
TS
62712012-05-10 Thomas Schwinge <thomas@schwinge.name>
6272
6273 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6274 <sys/uio.h> (for writev).
6275 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6276 and <sys/param.h> (for MIN).
6277
a4186cff
PT
62782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6279
6280 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6281 REQUESTED_TIME. Properly set the remaining time and return EINTR
6282 if interrupted.
6283
510bbf14
TS
62842012-05-10 Thomas Schwinge <thomas@schwinge.name>
6285
6286 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6287 Depend on against $(link-rpcuserlibs).
6288
5d5722e8
ST
62892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6290
a4186cff
PT
6291 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6292 (__libc_stack_end): Do not use attribute_relro.
6293 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6294 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6295 to libthread-provided value.
a4186cff
PT
6296 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6297 attribute_relro.
5d5722e8 6298
37233df9
TS
62992012-05-10 Thomas Schwinge <thomas@schwinge.name>
6300
be971a2b
TS
6301 [BZ #3748]
6302 * bits/libc-lock.h (__libc_once_get): New macro.
6303 * sysdeps/mach/bits/libc-lock.h: Likewise.
6304 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6306 instead of using implementation details.
6307
37233df9
TS
6308 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6309 * libio/freopen.c: Likewise.
6310 * libio/freopen64.c: Likewise.
6311 * misc/syslog.c: Likewise.
6312 * nscd/connections.c: Likewise.
6313 * nscd/netgroupcache.c: Likewise.
6314 * sysdeps/posix/getcwd.c: Likewise.
6315
38de94a5
RM
63162012-05-10 Roland McGrath <roland@hack.frob.com>
6317
6318 * math/w_ilogbf.c: Add #include <limits.h>.
6319
67530489
ST
63202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6321
a4186cff 6322 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6323 path instead of returning without unlocking.
6324
67530489
ST
6325 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6326 immediate-write ioctls.
6327 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6328
5aa3a74a
TS
63292012-05-10 Thomas Schwinge <thomas@schwinge.name>
6330
18bad2ae
TS
6331 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6332 __builtin_frame_address instead of making assumptions about the
6333 location of the return address relative to DATA. Force early load of
6334 the return address.
6335 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6336 __builtin_frame_address.
6337
5aa3a74a
TS
6338 dup3 for GNU Hurd.
6339 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6340 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6341 implement dup3 and do some further code clean-ups.
6342 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6343 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6344
ecd0de9a
ST
63452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6346
cd9fa985
ST
6347 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6348
a4186cff
PT
6349 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6350 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6351 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6352 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6353 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6354 d->port.lock.
802ca5a5 6355
a4186cff
PT
6356 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6357 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6358 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6359
bcf55240
TS
63602012-05-10 Thomas Schwinge <thomas@schwinge.name>
6361
6960eb42
TS
6362 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6363 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6364 definitions.
6365
eb43375f
TS
6366 accept4 for GNU Hurd.
6367 * include/sys/socket.h (__libc_accept4): New prototype.
6368 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6369 to implement __libc_accept4.
6370 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6371 __libc_accept4.
6372 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6373
bcf55240
TS
6374 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6375 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6376 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6377 signal-defines.sym.
6378
6178c55b
ST
63792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6380
a4186cff 6381 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6382
6f080c2f
TS
63832012-05-10 Thomas Schwinge <thomas@schwinge.name>
6384
6385 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6386 assertion on O_CLOEXEC flag.
6387 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6388 * hurd/intern-fd.c: Likewise.
6389 * hurd/port2fd.c: Likewise.
6390
bcfe3a54
ST
63912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6392
6393 [BZ #3906]
6394 * bits/in.h (IPV6_PKTINFO): Define new macro.
6395 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6396
89c9aa49
AZ
63972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398
6399 [BZ #13954]
6400 [BZ #13955]
6401 [BZ #13956]
6402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6404 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6408 * math/libm-test.inc (logb_test) : Additional logb tests.
6409
021db4be
AJ
64102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6411 Andreas Jaeger <aj@suse.de>
6412
6413 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6414 * configure: Regenerated.
6415 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6416 * config.make.in (link-obsolete-rpc): New substituted variable.
6417 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6418 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6419 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6420 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6421 so that libc.a contains the symbols.
6422 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6423 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6424 * sunrpc/auth_none.c: Likewise.
6425 * sunrpc/auth_unix.c: Likewise.
6426 * sunrpc/authdes_prot.c: Likewise.
6427 * sunrpc/authuxprot.c: Likewise.
6428 * sunrpc/clnt_gen.c: Likewise.
6429 * sunrpc/clnt_perr.c: Likewise.
6430 * sunrpc/clnt_raw.c: Likewise.
6431 * sunrpc/clnt_simp.c: Likewise.
6432 * sunrpc/clnt_tcp.c: Likewise.
6433 * sunrpc/clnt_udp.c: Likewise.
6434 * sunrpc/clnt_unix.c: Likewise.
6435 * sunrpc/des_crypt.c: Likewise.
6436 * sunrpc/des_soft.c: Likewise.
6437 * sunrpc/get_myaddr.c: Likewise.
6438 * sunrpc/key_call.c: Likewise.
6439 * sunrpc/key_prot.c: Likewise.
6440 * sunrpc/netname.c: Likewise.
6441 * sunrpc/pm_getmaps.c: Likewise.
6442 * sunrpc/pm_getport.c: Likewise.
6443 * sunrpc/pmap_clnt.c: Likewise.
6444 * sunrpc/pmap_prot.c: Likewise.
6445 * sunrpc/pmap_prot2.c: Likewise.
6446 * sunrpc/pmap_rmt.c: Likewise.
6447 * sunrpc/publickey.c: Likewise.
6448 * sunrpc/rpc_cmsg.c: Likewise.
6449 * sunrpc/rpc_common.c: Likewise.
6450 * sunrpc/rpc_dtable.c: Likewise.
6451 * sunrpc/rpc_prot.c: Likewise.
6452 * sunrpc/rpc_thread.c: Likewise.
6453 * sunrpc/rtime.c: Likewise.
6454 * sunrpc/svc.c: Likewise.
6455 * sunrpc/svc_auth.c: Likewise.
6456 * sunrpc/svc_raw.c: Likewise.
6457 * sunrpc/svc_run.c: Likewise.
6458 * sunrpc/svc_tcp.c: Likewise.
6459 * sunrpc/svc_udp.c: Likewise.
6460 * sunrpc/svc_unix.c: Likewise.
6461 * sunrpc/svcauth_des.c: Likewise.
6462 * sunrpc/xcrypt.c: Likewise.
6463 * sunrpc/xdr.c: Likewise.
6464 * sunrpc/xdr_array.c: Likewise.
6465 * sunrpc/xdr_float.c: Likewise.
6466 * sunrpc/xdr_intXX_t.c: Likewise.
6467 * sunrpc/xdr_mem.c: Likewise.
6468 * sunrpc/xdr_rec.c: Likewise.
6469 * sunrpc/xdr_ref.c: Likewise.
6470 * sunrpc/xdr_sizeof.c: Likewise.
6471 * sunrpc/xdr_stdio.c: Likewise.
6472
b5c086a2
RM
64732012-05-10 Roland McGrath <roland@hack.frob.com>
6474
6475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6476 change. Update copyright years.
6477
6d74dd09
JM
64782012-05-10 Joseph Myers <joseph@codesourcery.com>
6479
6480 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6481
28e72501
MK
64822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6483 Joseph Myers <joseph@codesourcery.com>
6484 Paul Pluzhnikov <ppluzhnikov@google.com>
6485
6486 [BZ #14012]
6487 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6488 requiring rpcgen.
6489 [cross-compiling] (extra-libs): Likewise.
6490 [cross-compiling] (extra-libs-others): Likewise.
6491 [cross-compiling] (librpcsvc-routines): Likewise.
6492 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6493 [cross-compiling] (omit-deps): Likewise.
6494 (sunrpc-CPPFLAGS): New variable.
6495 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6496 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6497 (cross-rpcgen-objs): New variable.
6498 (extra-objs): Append $(cross-rpcgen-objs).
6499 ($(cross-rpcgen-objs)): New rule.
6500 ($(objpfx)cross-rpcgen): Likewise.
6501 (rpcgen-cmd): Define to use $(built-program-file). Expand
6502 comment.
6503 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6504 ($(objpfx)x%.stmp): Likewise.
6505 * sunrpc/proto.h [IS_IN_build] (_): Define.
6506 [IS_IN_build] (_libc_intl_domainname): Likewise.
6507
c8c59454
L
65082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6509
6510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6511 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6512 and R_X86_64_TPOFF64.
6513
6f27cd16
JM
65142012-05-10 Joseph Myers <joseph@codesourcery.com>
6515
6516 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6517 sysdeps/unix/sysv/syscalls.list.
6518 (stime): Likewise.
6519 (utime): Likewise.
6520 * sysdeps/unix/sysv/syscalls.list: Remove file.
6521
02467e1c
PE
65222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6523
6524 [BZ #3440]
6525 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6526 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6527 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6528 (__LC_IDENTIFICATION): Make these macros useful in #if
6529 expressions, as required by C99.
6530
da392631
AS
65312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6532
6533 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6534 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6535 after this.
6536
8115f29b
L
65372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6538
6539 * stdlib/longlong.h: Updated from GCC.
6540
bdd74070
AJ
65412012-05-09 Andreas Jaeger <aj@suse.de>
6542
edfe0dbe
AJ
6543 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6544 default is first entry.
6545 (run_mode): Set type.
6546 (main): Remove informal message about syslog.
6547 (options): Fix typo.
6548
bcfe3a54
ST
6549 [BZ #14053]
6550 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6551 to asm.
bcfe3a54
ST
6552 (lrint): Likewise.
6553 (llrintf): Likewise.
6554 (llrint): Likewise.
6555 (rint): Likewise.
6556 (rintf): Likewise.
6557 (nearbyint): Likewise.
6558 (nearbyintf): Likewise.
bdd74070 6559
91d8d69e
AJ
65602012-05-09 Andreas Jaeger <aj@suse.de>
6561 Pedro Alves <palves@redhat.com>
6562
6563 * nscd/nscd.c (run_mode): Use enum.
6564 (main): Cleanup coding style issue.
6565
bb90b80b
AJ
65662012-05-09 Alexandre Oliva <aoliva@redhat.com>
6567 Andreas Jaeger <aj@suse.de>
6568
bcfe3a54
ST
6569 * nscd/nscd.c (go_background): Replaced with...
6570 (run_mode): ... this.
bb90b80b 6571 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6572 (options): Add -F --foreground.
6573 (main): Implement it.
6574 (parse_opt): Parse it.
bb90b80b 6575
1a4b75a1
AJ
65762012-05-09 Andreas Jaeger <aj@suse.de>
6577
6578 [BZ #14083]
6579 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6580 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6581 -Wconversion warning.
6582 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6583 Likewise.
6584
b1cc2472
JM
65852012-05-09 Joseph Myers <joseph@codesourcery.com>
6586
6587 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6588 == 0.
6589 (LC_ALL): Use macro-int-constant.
6590 (LC_COLLATE): Likewise.
6591 (LC_CTYPE): Likewise.
6592 (LC_MESSAGES): Likewise.
6593 (LC_MONETARY): Likewise.
6594 (LC_NUMERIC): Likewise.
6595 (LC_TIME): Likewise.
6596 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6597 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6599 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6600 Specify type.
6601 [C99-based standards] (float_t): Expect type.
6602 [C99-based standards] (double_t): Expect type.
6603 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6604 type.
6605 [C99-based standards] (HUGE_VALL): Likewise.
6606 [C99-based standards] (INFINITY): Likewise.
6607 [C99-based standards] (NAN): Likewise.
6608 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6609 [C99-based standards] (FP_NAN): Likewise.
6610 [C99-based standards] (FP_NORMAL): Likewise.
6611 [C99-based standards] (FP_SUBNORMAL): Likewise.
6612 [C99-based standards] (FP_ZERO): Likewise.
6613 [C99-based standards] (FP_FAST_FMA): Use
6614 optional-macro-int-constant. Specify type. Require == 1.
6615 [C99-based standards] (FP_FAST_FMAF): Likewise.
6616 [C99-based standards] (FP_FAST_FMAL): Likewise.
6617 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6618 [C99-based standards] (FP_ILOGBNAN): Likewise.
6619 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6620 Specify type.
6621 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6622 [C99-based standards] (math_errhandling): Specify type.
6623 [ISO99 || ISO11] (signgam): Do not allow.
6624 [non-C99-based standards] (copysignf): Do not allow.
6625 [non-C99-based standards] (exp2f): Likewise.
6626 [non-C99-based standards] (log2f): Likewise.
6627 [non-C99-based standards] (modff): Allow.
6628 [non-C99-based standards] (erff): Do not allow.
6629 [non-C99-based standards] (erfcf): Likewise.
6630 [non-C99-based standards] (gammaf): Likewise.
6631 [non-C99-based standards] (hypotf): Likewise.
6632 [non-C99-based standards] (j0f): Likewise.
6633 [non-C99-based standards] (j1f): Likewise.
6634 [non-C99-based standards] (jnf): Likewise.
6635 [non-C99-based standards] (lgammaf): Likewise.
6636 [non-C99-based standards] (tgammaf): Likewise.
6637 [non-C99-based standards] (y0f): Likewise.
6638 [non-C99-based standards] (y1f): Likewise.
6639 [non-C99-based standards] (ynf): Likewise.
6640 [non-C99-based standards] (isnanf): Likewise.
6641 [non-C99-based standards] (acoshf): Likewise.
6642 [non-C99-based standards] (asinhf): Likewise.
6643 [non-C99-based standards] (atanhf): Likewise.
6644 [non-C99-based standards] (cbrtf): Likewise.
6645 [non-C99-based standards] (expm1f): Likewise.
6646 [non-C99-based standards] (ilogbf): Likewise.
6647 [non-C99-based standards] (log1pf): Likewise.
6648 [non-C99-based standards] (logbf): Likewise.
6649 [non-C99-based standards] (nextafterf): Likewise.
6650 [non-C99-based standards] (remainderf): Likewise.
6651 [non-C99-based standards] (rintf): Likewise.
6652 [non-C99-based standards] (scalbf): Likewise.
6653 [non-C99-based standards] (copysignl): Likewise.
6654 [non-C99-based standards] (exp2l): Likewise.
6655 [non-C99-based standards] (log2l): Likewise.
6656 [non-C99-based standards] (modfl): Allow.
6657 [non-C99-based standards] (erfl): Do not allow.
6658 [non-C99-based standards] (erfcl): Likewise.
6659 [non-C99-based standards] (gammal): Likewise.
6660 [non-C99-based standards] (hypotl): Likewise.
6661 [non-C99-based standards] (j0l): Likewise.
6662 [non-C99-based standards] (j1l): Likewise.
6663 [non-C99-based standards] (jnl): Likewise.
6664 [non-C99-based standards] (lgammal): Likewise.
6665 [non-C99-based standards] (tgammal): Likewise.
6666 [non-C99-based standards] (y0l): Likewise.
6667 [non-C99-based standards] (y1l): Likewise.
6668 [non-C99-based standards] (ynl): Likewise.
6669 [non-C99-based standards] (isnanl): Likewise.
6670 [non-C99-based standards] (acoshl): Likewise.
6671 [non-C99-based standards] (asinhl): Likewise.
6672 [non-C99-based standards] (atanhl): Likewise.
6673 [non-C99-based standards] (cbrtl): Likewise.
6674 [non-C99-based standards] (expm1l): Likewise.
6675 [non-C99-based standards] (ilogbl): Likewise.
6676 [non-C99-based standards] (log1pl): Likewise.
6677 [non-C99-based standards] (logbl): Likewise.
6678 [non-C99-based standards] (nextafterl): Likewise.
6679 [non-C99-based standards] (remainderl): Likewise.
6680 [non-C99-based standards] (rintl): Likewise.
6681 [non-C99-based standards] (scalbl): Likewise.
6682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6683 [non-C99-based standards] (FP_*): Do not allow.
6684 [C99-based standards] (FP_*): Change to
6685 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6686 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6687 allow.
6688 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6689 (SIG_ERR): Likewise.
6690 [X/Open-based standards] (SIG_HOLD): Likewise.
6691 (SIG_IGN): Likewise.
6692 (SIGABRT): Use macro-int-constant. Specify type. Require
6693 positive value.
6694 (SIGFPE): Likewise.
6695 (SIGILL): Likewise.
6696 (SIGINT): Likewise.
6697 (SIGSEGV): Likewise.
6698 (SIGTER): Likewise.
6699 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6700 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6701 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6702 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6703 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6704 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6705 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6706 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6707 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6708 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6709 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6710 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6711 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6712 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6713 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6714 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6715 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6716 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6717 [X/Open-based standards] (SIGTRAP): Likewise.
6718 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6719 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6720 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6721 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6722 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6723 allow.
6724
b9f1922d
IW
67252012-05-08 Ian Wienand <ianw@vmware.com>
6726
6727 [BZ #14080]
6728 * time/tzset.c (__tzset_parse_tz): Update default rules for
6729 daylight time changes in the Energy Policy Act of 2005.
6730
1db86e88
AJ
67312012-05-09 Andreas Jaeger <aj@suse.de>
6732
6733 [BZ #13983]
6734 * elf/ldconfig.c (parse_conf): Change string to make clear that
6735 ldconfig only issued a warning if ld.so.conf does not exist.
6736
dee4a4e3
DM
67372012-05-08 David S. Miller <davem@davemloft.net>
6738
ee0db190
DM
6739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6740 movxtod instead of popping the value on the stack.
6741
dee4a4e3
DM
6742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6743
6a43ec98
CD
67442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6745
6746 * config.h.in: Add HAVE_ARM_PCS_VFP.
6747
05c2c961
RMG
67482012-05-08 Roland Mc Grath <roland@hack.frob.com>
6749
bcfe3a54
ST
6750 [BZ #13979]
6751 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6752 checking but the checks are disabled for any reason.
05c2c961 6753
4b30f61a
L
67542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6755
6756 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6757 and ELF64_R_TYPE with ELFW(R_TYPE).
6758
eee2bc67
JM
67592012-05-08 Joseph Myers <joseph@codesourcery.com>
6760
7ea5391a
JM
6761 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6762 (ulimit): Likewise.
6763
eee2bc67
JM
6764 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6765 (settimeofday): Likewise.
6766
abb66a67
MF
67672012-05-08 Mike Frysinger <vapier@gentoo.org>
6768
6769 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6770 a struct th_u2 inside the union, and move tu_block/tu_code into
6771 a new th_u3 union of tu_block/tu_code inside of that. Move
6772 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6773 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6774 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6775 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6776 (th_stuff): Change to th_u1.tu_stuff.
6777 (th_data): Define.
6778 (th_msg): Change to th_u1.th_u2.tu_data.
6779
7f18b530
DM
67802012-05-07 David S. Miller <davem@davemloft.net>
6781
05760585
DM
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6783
7f18b530
DM
6784 [BZ #14074]
6785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6786 (SETUP_PIC_REG): Use it.
6787 (SETUP_PIC_REG_LEAF): Use it.
6788
495fd99f
JM
67892012-05-07 Joseph Myers <joseph@codesourcery.com>
6790
6791 [BZ #13885]
6792 [BZ #13923]
6793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6794 USE_AS_EXPM1L.
6795 (EXPL_FINITE): Likewise.
6796 (FLDLOG): Likewise.
6797 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6798 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6799 e_expl.S.
6800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6801 USE_AS_EXPM1L.
6802 (EXPL_FINITE): Likewise.
6803 (FLDLOG): Likewise.
6804 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6805 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6806 e_expl.S.
6807 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6808 test of -max_value argument for long double.
6809 * sysdeps/i386/fpu/libm-test-ulps: Update.
6810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6811
6693d694
DM
68122012-05-06 David S. Miller <davem@davemloft.net>
6813
6814 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6815 quad soft-float symbols whose references which are compiler
6816 generated.
6817 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6818
6c23e11c
JM
68192012-05-06 Joseph Myers <joseph@codesourcery.com>
6820
d8b82cad
JM
6821 [BZ #13884]
6822 [BZ #13914]
6823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6824 USE_AS_EXP10L.
6825 (EXPL_FINITE): Likewise.
6826 (FLDLOG): Likewise.
6827 (c0): Likewise.
6828 (c1): Likewise.
6829 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6830 Adjust comments for base varying.
6831 (__expl_finite): Change alias to EXPL_FINITE.
6832 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6833 e_expl.S.
6834 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6835 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6837 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6839 USE_AS_EXP10L.
6840 (EXPL_FINITE): Likewise.
6841 (FLDLOG): Likewise.
6842 (c0): Likewise.
6843 (c1): Likewise.
6844 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6845 Adjust comments for base varying.
6846 (__expl_finite): Change alias to EXPL_FINITE.
6847 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6848 tests for bugs.
6849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6850
6c23e11c
JM
6851 [BZ #14064]
6852 * math/libm-test.inc (check_float_internal): Correct ulp
6853 calculation for subnormal expected results.
6854
29ba805c
AJ
68552012-05-06 Andreas Jaeger <aj@suse.de>
6856
6857 * Makeconfig (+math-flags): New, set to -frounding-math.
6858 (+cflags): Add +math-flags so that all of glibc gets compiled with
6859 it.
6860
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6862
7b17aeda
JM
68632012-05-05 Joseph Myers <joseph@codesourcery.com>
6864
5779f134
JM
6865 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6866 Disable one test.
6867
41498f4d
JM
6868 [BZ #13787]
6869 [BZ #13922]
6870 [BZ #14036]
6871 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6872 (__ieee754_expl): Allow for and saturate large arguments.
6873 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6874 (u_threshold): Likewise.
6875 (__exp): Call __ieee754_exp before checking for overflow and
6876 underflow.
6877 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6878 (u_threshold): Likewise.
6879 (__expf): Call __ieee754_expf before checking for overflow and
6880 underflow.
6881 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6882 (u_threshold): Likewise.
6883 (__expl): Call __ieee754_expl before checking for overflow and
6884 underflow.
6885 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6886 (__ieee754_expl): Allow for and saturate large arguments.
6887 * math/libm-test.inc (exp_test): Add another test. Do not allow
6888 missing overflow exception on overflow.
6889 (expm1_test): Do not allow missing overflow exception on overflow.
6890
6698b8bf
JM
6891 * sysdeps/i386/fpu/e_expl.c: Move to ...
6892 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6893 rather than using inline asm.
6894 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6895 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6896 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6897
7b17aeda
JM
6898 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6899 (nice): Likewise.
6900 (poll): Likewise.
6901 (signal): Likewise.
6902 (time): Likewise.
6903 (times): Likewise.
6904
f7c85819
JM
69052012-05-04 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6908 sysdeps/unix/common/syscalls.list.
6909 (fchmod): Likewise.
6910 (fchown): Likewise.
6911 (ftruncate): Likewise.
6912 (getrusage): Likewise.
6913 (gettimeofday): Likewise.
6914 (setpgid): Likewise.
6915 (setregid): Likewise.
6916 (setreuid): Likewise.
6917 (sigaction): Likewise.
6918 (truncate): Likewise.
6919 (vhangup): Likewise.
6920 * sysdeps/unix/common/syscalls.list: Remove file.
6921 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6922 * sysdeps/unix/sysv/linux/Implies: Likewise.
6923
336270d0
L
69242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6925
6926 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6928 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6929 Moved to ...
6930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6931 Here.
6932 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6933 to ...
6934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6935 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6936 to ...
6937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6939 to ...
6940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6941 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6942 to ...
6943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6944 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6945 to ...
6946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6948 to ...
6949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6950 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6951 to ...
6952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6953 Here.
6954 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6955 to ...
6956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6957 Here.
6958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6959 to ...
6960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6961 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6962 Moved to ...
6963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6964 Here.
6965 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6966 to ...
6967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6968
d128e450
JM
69692012-05-04 Joseph Myers <joseph@codesourcery.com>
6970
fa8ee516
JM
6971 * sysdeps/unix/common/bits/dirent.h: Remove file.
6972 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6973
d128e450
JM
6974 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6975 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6976 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6977 * sysdeps/unix/bsd/isatty.c: Likewise.
6978 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6979 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6980 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6981
ff8faaf0 69822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6983
62881be4 6984 [BZ #13563]
31dc8730
AZ
6985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6986 long double comparison inaccuracies.
6987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6989
6fef930c
AS
69902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6991
6992 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6994
8f203e6c
JM
69952012-05-04 Joseph Myers <joseph@codesourcery.com>
6996
6997 [BZ #14049]
6998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6999 nonzero digits before rounding a hex value.
7000 * stdlib/tst-strtod.c (tests): Add another test.
7001
5197d9c2
AK
70022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7003
7004 * sysdeps/s390/fpu/libm-test-ulps: Update.
7005
f0c1dedf
AJ
70062012-05-03 Andreas Jaeger <aj@suse.de>
7007
7008 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7009 does not get optimized out.
7010 (malloc_opt_barrier): New.
7011
a65ef2ae 70122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7013 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7014
2b942cb7 7015 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7016 intermediate file deletion.
2b942cb7 7017 (generated): Add .symlist files.
a65ef2ae 7018
54b71e02
JM
70192012-05-03 Joseph Myers <joseph@codesourcery.com>
7020
7021 [BZ #13775]
7022 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7023 Redirect under this condition.
7024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7025 [__USE_GNU] (__dprintf_chk): Not under this condition.
7026 [__USE_GNU] (__vdprintf_chk): Likewise.
7027 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7028 under this condition.
7029 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7030 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7031 [__USE_XOPEN2K8] (vdprintf): Likewise.
7032 [__USE_GNU] (__dprintf_chk): Not under this condition.
7033 [__USE_GNU] (__vdprintf_chk): Likewise.
7034 [__USE_GNU] (dprintf): Likewise.
7035 [__USE_GNU] (vdprintf): Likewise.
7036
d3dfcc41
RM
70372012-05-03 Roland McGrath <roland@hack.frob.com>
7038
7039 * elf/Makefile (common-generated): Set this instead of generated for
7040 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7041 $(all-built-dso)-derived lists.
7042
7ac30cc5
AJ
70432012-05-03 Andreas Jaeger <aj@suse.de>
7044
0c51e550
AJ
7045 * sysdeps/i386/fpu/libm-test-ulps: Update.
7046
7ac30cc5
AJ
7047 * FAQ: Removed.
7048 * FAQ.in: Likewise.
7049 * scripts/gen-FAQ.pl: Likewise.
7050 * manual/install.texi (Installation): Point to online location of
7051 FAQ.
7052 * Makefile (files-for-dist): Remove FAQ.
7053 (FAQ): Remove.
7054
d4c2917f
AM
70552012-05-02 Allan McRae <allan@archlinux.org>
7056
7057 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7058 (LDFLAGS-reldepmod5.so): Likewise.
7059 (LDFLAGS-reldep6mod1.so): Likewise.
7060 (LDFLAGS-reldep6mod4.so): Likewise.
7061 (LDFLAGS-reldep8mod3.so): Likewise.
7062 (LDFLAGS-unload4mod1.so): Likewise.
7063 (LDFLAGS-unload4mod2.so): Likewise.
7064 (LDFLAGS-tst-initorder): Likewise.
7065 (LDFLAGS-tst-initordera2.so): Likewise.
7066 (LDFLAGS-tst-initordera3.so): Likewise.
7067 (LDFLAGS-tst-initordera4.so): Likewise.
7068 (LDFLAGS-tst-initorderb2.so): Likewise.
7069 (LDFLAGS-noload): Likewise.
7070 (LDFLAGS-next): Likewise.
7071 (LDFLAGS-order2mod1.so): Likewise.
7072 (LDFLAGS-order2mod2.so): Likewise.
7073 (LDFLAGS-tst-initorder2): Likewise.
7074 (LDFLAGS-tst-initorder2a.so): Likewise.
7075 (LDFLAGS-tst-initorder2b.so): Likewise.
7076 (LDFLAGS-tst-initorder2c.so): Likewise.
7077 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7078
d77f993f
DM
70792012-05-02 David S. Miller <davem@davemloft.net>
7080
7081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7082
171a70b4
PP
70832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7084
7085 [BZ #14055]
7086 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7087
0be196ad
AJ
70882012-05-02 Andreas Jaeger <aj@suse.de>
7089
7090 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7091 since we manipulate rounding mode.
7092 (CPPFLAGS-test-idouble.c): Likewise.
7093 (CPPFLAGS-test-ifloat.c): Likewise.
7094 (CFLAGS-test-ldouble.c): Likewise.
7095 (CFLAGS-test-double.c): Likewise.
7096 (CFLAGS-test-float.c): Likewise.
7097 (CFLAGS-test-misc.c): Likewise.
7098 (CFLAGS-test-test-fenv.c): Likewise.
7099
4f9d04aa
AZ
71002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7101
2b942cb7
RM
7102 [BZ #2550]
7103 [BZ #2570]
7104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7105 comparisons to determine direction to adjust input.
4f9d04aa 7106
82a79e7d
RM
71072012-05-01 Roland McGrath <roland@hack.frob.com>
7108
f5a01ca9
RM
7109 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7110 output to the target.
7111
90fe4186
RM
7112 * scripts/localplt.awk: New file.
7113 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7114 (check-localplt-CFLAGS): Variable removed.
7115 ($(all-built-dso:=.jmprel)): New static pattern rule.
7116 (generated): Add those targets.
7117 (localplt-built-dso): New variable.
7118 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7119
7120 * elf/check-localplt.c: File removed.
7121
82397ed6
RM
7122 * scripts/check-execstack.awk: New file.
7123 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7124 (check-execstack-CFLAGS): Variable removed.
7125 ($(objpfx)check-execstack.h): Target removed.
7126 ($(objpfx)execstack-default): New target.
7127 (generated): Add that instead of check-execstack.h.
7128 ($(all-built-dso:=.phdr)): New static pattern rule.
7129 (generated): Add those targets.
7130 * elf/check-execstack.c: File removed.
7131
82a79e7d
RM
7132 * scripts/check-textrel.awk: New file.
7133 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7134 (check-textrel-CFLAGS): Variable removed.
7135 (all-built-dso): Use := to define.o
7136 ($(all-built-dso:=.dyn)): New static pattern rule.
7137 (generated): Add those targets.
7138 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7139 * config.make.in (READELF): New substituted variable.
7140 * elf/check-textrel.c: File removed.
7141
62fde54f 71422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7143
615605c9
JM
7144 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7145 allow.
7146 * conform/data/ctype.h-data [C99-based standards] (isblank):
7147 Expect function.
7148 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7149 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7151 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7152 Specify type. Require positive value.
7153 (EILSEQ): Likewise.
7154 (ERANGE): Likewise.
7155 [ISO || POSIX] (EILSEQ): Do not expect.
7156 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7157 Specify type. Require positive value.
7158 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7159 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7160 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7161 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7162 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7163 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7164 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7165 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7166 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7167 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7168 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7169 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7170 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7173 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7174 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7175 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7176 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7177 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7178 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7179 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7180 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7181 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7182 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7183 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7184 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7185 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7186 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7187 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7188 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7189 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7190 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7191 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7192 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7193 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7194 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7195 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7196 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7197 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7198 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7199 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7200 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7201 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7202 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7203 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7204 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7205 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7206 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7207 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7208 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7209 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7210 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7211 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7212 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7213 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7214 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7215 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7216 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7217 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7218 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7219 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7220 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7221 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7222 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7223 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7224 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7225 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7226 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7228 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7229 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7230 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7231 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7232 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7233 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7234 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7235 Require >= 2.
7236 (FLT_ROUNDS): Expect as macro, not constant.
7237 (FLT_MANT_DIG): Use macro-int-constant.
7238 (DBL_MANT_DIG): Likewise.
7239 (LDBL_MANT_DIG): Likewise.
7240 (FLT_DIG): Likewise.
7241 (DBL_DIG): Likewise.
7242 (LDBL_DIG): Likewise.
7243 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7244 (DBL_MIN_EXP): Likewise.
7245 (LDBL_MIN_EXP): Likewise.
7246 (FLT_MAX_EXP): Use macro-int-constant.
7247 (DBL_MAX_EXP): Likewise.
7248 (LDBL_MAX_EXP): Likewise.
7249 (FLT_MAX_10_EXP): Likewise.
7250 (DBL_MAX_10_EXP): Likewise.
7251 (LDBL_MAX_10_EXP): Likewise.
7252 (FLT_MAX): Use macro-constant.
7253 (DBL_MAX): Likewise.
7254 (LDBL_MAX): Likewise.
7255 (FLT_EPSILON): Use macro-constant. Give upper bound.
7256 (DBL_EPSILON): Likewise.
7257 (LDBL_EPSILON): Likewise.
7258 (FLT_MIN): Likewise.
7259 (DBL_MIN): Likewise.
7260 (LDBL_MIN): Likewise.
7261 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7262 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7263 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7264 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7265 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7266 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7267 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7268 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7269 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7270 [ISO11] (FLT_TRUE_MIN): Likewise.
7271 [ISO11] (LDBL_TRUE_MIN): Likewise.
7272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7273 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7274 (SCHAR_MIN): Use macro-int-constant. Specify type.
7275 (SCHAR_MAX): Likewise.
7276 (UCHAR_MAX): Likewise.
7277 (CHAR_MIN): Likewise.
7278 (CHAR_MAX): Likewise.
7279 (MB_LEN_MAX): Use macro-int-constant.
7280 (SHRT_MIN): Use macro-int-constant. Specify type.
7281 (SHRT_MAX): Likewise.
7282 (USHRT_MAX): Likewise.
7283 (INT_MAX): Likewise.
7284 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7285 bound negative.
7286 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7287 bound with "U".
7288 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7289 bound with "L".
7290 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7291 bound negative. Suffix upper bound with "L".
7292 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7293 bound with "UL".
7294 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7295 Specify type.
7296 [C99-based standards] (LLONG_MAX): Likewise.
7297 [C99-based standards] (ULLONG_MAX): Likewise.
7298 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7299 == 0.
7300 [ISO11] (max_align_t): Require type.
7301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7302
c9140a62
JM
7303 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7304 from $CFLAGS, without defining away __attribute__ calls.
7305 (checknamespace): Use $CFLAGS_namespace.
7306
9af0bf29
JM
7307 * conform/conformtest.pl (@keywords): Only include C99 keywords
7308 for standards based on C99 or C11.
7309
343222a2
JM
7310 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7311 Disable tests.
7312 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7313 UNIX98]: Likewise.
7314
661f8cf0
JM
7315 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7316 usability of symbols in #if.
7317
ee74b9cb
JM
7318 * conform/conformtest.pl: If macro or constant types start
7319 "promoted:", expect the symbol to be of the following type
7320 promoted by the integer promotions.
62fde54f 7321
aafc49b3
JM
7322 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7323 in one place. Also handle "macro-constant".
7324
fefdf574
JM
7325 * conform/conformtest.pl: Only accept expected macro values with
7326 "==". Parse all "macro" lines in one place.
7327 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7328
f2d922fe
JM
7329 * conform/conformtest.pl: Handle braced types on "constant" lines
7330 instead of handling "typed-constant".
7331 * conform/data/signal.h-data: Use "constant" instead of
7332 "typed-constant".
7333
d22956c9
JM
7334 * conform/conformtest.pl: Handle "optional-" at start of lines in
7335 one place rather than duplicating several cases. Handle each
7336 format of "macro" line with initial "optional-".
7337
028e2e38
JM
7338 * conform/conformtest.pl: Only accept expected constant or
7339 optional-constant values with "==". Parse all "constant" lines in
7340 one place. Parse all "optional-constant" lines in one place.
7341 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7342 * conform/data/fmtmsg.h-data: Likewise.
7343 * conform/data/netinet/in.h-data: Likewise.
7344 * conform/data/tar.h-data: Likewise.
7345 * conform/data/limits.h-data: Use "==" form on "constant" and
7346 "optional-constant" lines.
7347
1b8f2850
JM
7348 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7349 Use -std=c99 for XOPEN2K.
7350 (@knownproblems): Remove.
7351 (newtoken): Don't check %isknown.
7352
a05a144b
JM
7353 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7354 Do not expect macro.
7355 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7364 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7365 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7366 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7367 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7368 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7369 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7370 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7371 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7372 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7373 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7374 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7375 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7379 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7380 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7381 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7382 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7383 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7384 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7385 [XPG3] (acosh): Likewise.
7386 [XPG3] (asinh): Likewise.
7387 [XPG3] (atanh): Likewise.
7388 [XPG3] (cbrt): Likewise.
7389 [XPG3] (expm1): Likewise.
7390 [XPG3] (ilogb): Likewise.
7391 [XPG3] (log1p): Likewise.
7392 [XPG3] (logb): Likewise.
7393 [XPG3] (nextafter): Likewise.
7394 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7395 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7396 [XPG3] (remainder): Likewise.
7397 [XPG3] (rint): Likewise.
7398 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7399 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7400 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7401 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7402 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7403 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7404 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7405 [UNIX98 || XOPEN2K] (scalb): Expect.
7406 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7407 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7408 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7409 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7410 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7411 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7412 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7413 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7414 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7415 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7416 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7417 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7418 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7419 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7420 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7421 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7422 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7423 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7424 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7425 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7426 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7427 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7428 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7429 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7430 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7431 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7432 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7433 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7434 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7435 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7436 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7437 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7438 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7439 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7440 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7441 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7442 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7443 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7444 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7445 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7446 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7447 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7448 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7449 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7450 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7451 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7452 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7453 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7454 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7455 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7456 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7457 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7458 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7459 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7460 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7461 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7462 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7463 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7464 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7465 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7466 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7467 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7468 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7469 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7470 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7471 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7472 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7473 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7474 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7475 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7476 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7477 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7478 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7479 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7480 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7481 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7482 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7483 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7484 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7485 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7486 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7487 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7488 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7500 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7501 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7518 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7530 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7543
73c5ebe3
JM
7544 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7545 _XOPEN_SOURCE_EXTENDED for XPG4.
7546
39c33b6c
JM
7547 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7548
62fde54f
JM
7549 * Makeconfig (localtime): Remove variable.
7550 (inst_localtime-file): Likewise.
7551
0741d64c
AS
75522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7553
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7555 Update.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7557 Update.
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7559 Update.
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7561 Update.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7563 Update.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7565 Update.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7567 Update.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7569 Update.
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7571 Update.
7572
7cb029ee
JM
75732012-05-01 Joseph Myers <joseph@codesourcery.com>
7574
7575 [BZ #2550]
7576 [BZ #2570]
7577 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7578 comparisons to determine direction to adjust input.
7579 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7580 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7582 Likewise.
7583 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7584 Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7586 Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7589 Likewise.
7590 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7591 Likewise.
7592 * math/libm-test.inc (nexttoward_test): Add more tests.
7593
412bd966
AS
75942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7595
7596 [BZ #14040]
7597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7598 in version GLIBC_2.1, not GLIBC_2.0.
7599 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7600 Likewise.
7601
9568c0c2
JM
76022012-04-30 Joseph Myers <joseph@codesourcery.com>
7603
adfbc8ac
JM
7604 [BZ #13942]
7605 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7606 (1 - x) * (1 + x).
7607 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7608 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7609 * math/libm-test.inc (acos_test): Add more tests.
7610 (asin_test): Likewise.
7611 * sysdeps/i386/fpu/libm-test-ulps: Update.
7612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7613
5ba3cc69
JM
7614 [BZ #14034]
7615 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7616 of square root.
7617 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7618 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7619 * math/libm-test.inc (acos_test_tonearest): New function.
7620 (acos_test_towardzero): Likewise.
7621 (acos_test_downward): Likewise.
7622 (acos_test_upward): Likewise.
7623 (asin_test_tonearest): Likewise.
7624 (asin_test_towardzero): Likewise.
7625 (asin_test_downward): Likewise.
7626 (asin_test_upward): Likewise.
7627 (main): Call the new functions.
7628 * sysdeps/i386/fpu/libm-test-ulps: Update.
7629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7630
9568c0c2
JM
7631 [BZ #13884]
7632 [BZ #13924]
7633 * math/e_exp10.c: Include <float.h>.
7634 (__ieee754_exp10): Handle underflow here rather than multiplying
7635 large negative argument by M_LN10.
7636 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7637 of __ieee754_expf.
7638 * math/e_exp10l.c: Include <float.h>.
7639 (__ieee754_exp10l): Handle underflow here rather than multiplying
7640 large negative argument by M_LN10l.
7641 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7642 spurious overflow exception on underflow.
7643
5ac3ea17
MP
76442012-04-29 Marek Polacek <polacek@redhat.com>
7645
7646 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7647 (__fortify_function): New macro.
7648 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7649 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7650 __extern_always_inline.
7651 * libio/bits/stdio2.h: Likewise.
7652 * libio/bits/stdio.h: Likewise.
7653 * string/string.h: Likewise.
7654 * string/bits/string3.h: Likewise.
7655 * include/stdio.h: Likewise.
7656 * stdlib/bits/stdlib.h: Likewise.
7657 * stdlib/stdlib.h: Likewise.
7658 * rt/bits/mqueue2.h: Likewise.
7659 * rt/mqueue.h: Likewise.
7660 * posix/bits/unistd.h: Likewise.
7661 * posix/unistd.h: Likewise.
7662 * io/bits/poll2.h: Likewise.
7663 * io/bits/fcntl2.h: Likewise.
7664 * io/fcntl.h: Likewise.
7665 * io/sys/poll.h: Likewise.
7666 * misc/bits/syslog.h: Likewise.
7667 * misc/bits/syslog-ldbl.h: Likewise.
7668 * misc/sys/syslog.h: Likewise.
7669 * socket/bits/socket2.h: Likewise.
7670 * socket/sys/socket.h: Likewise.
7671 * debug/tst-chk1.c: Likewise.
7672 * wcsmbs/bits/wchar2.h: Likewise.
7673 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7674 * wcsmbs/wchar.h: Likewise.
7675
ecf0ebfb
AJ
76762012-04-29 Andreas Jaeger <aj@suse.de>
7677
7678 * Makerules (tests): Remove enable-check-abi protection.
7679 (check-abi-warn): Remove.
7680 (check-abi-%): Remove check-abi-warn usage.
7681
7682 * configure.in: Remove check-abi configure option.
7683 * configure: Regenerated.
7684 * config.make.in (enable-check-abi): Remove.
7685
6d5c57fa
AS
76862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7687
24c5d07e 7688 [BZ #14033]
ded5180a
AS
7689 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7690 double functions to double *_finite functions.
7691
7e0d315d
AS
7692 [BZ #13941]
7693 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7694 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7695 LDBL_MIN_EXP.
7696 * stdio-common/Makefile (tests): Add tst-sprintf3.
7697 * stdio-common/tst-sprintf3.c: New file.
7698
6d5c57fa
AS
7699 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7700 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7701
0749ff8b
JM
77022012-04-28 Joseph Myers <joseph@codesourcery.com>
7703
7704 * conform/conformtest.pl: Remove duplicate typed-constant
7705 handling.
7706
8dbd5d7b
DM
77072012-04-28 David S. Miller <davem@davemloft.net>
7708
7709 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7710 (check-abi-%): Remove AWK script prerequisite and explicit
7711 abilist directory.
7712 (check-abi): Rewrite to just diff the symlist with the abilist.
7713 (config-tls, config-abi-config): Delete, no longer used.
7714 (update-abi-%): Remove AWK script and explicit abilist directory.
7715 (update-abi): Rewrite to simply compare and conditionally copy the
7716 symlist and the sysdep abilist file. Remove update-abi-config
7717 checks.
7718 * abilist/ld.abilist: Remove.
7719 * abilist/libBrokenLocale.abilist: Remove.
7720 * abilist/libanl.abilist: Remove.
7721 * abilist/libcrypt.abilist: Remove.
7722 * abilist/libdl.abilist: Remove.
7723 * abilist/librt.abilist: Remove.
7724 * abilist/libthread_db.abilist: Remove.
7725 * abilist/libutil.abilist: Remove.
7726 * scripts/extract-abilist.awk: Remove.
7727 * scripts/merge-abilist.awk: Remove.
7728 * sysdeps/generic/libcidn.abilist: New file.
7729 * sysdeps/generic/libnss_compat.abilist: New file.
7730 * sysdeps/generic/libnss_db.abilist: New file.
7731 * sysdeps/generic/libnss_dns.abilist: New file.
7732 * sysdeps/generic/libnss_files.abilist: New file.
7733 * sysdeps/generic/libnss_hesiod.abilist: New file.
7734 * sysdeps/generic/libnss_nis.abilist: New file.
7735 * sysdeps/generic/libnss_nisplus.abilist: New file.
7736 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7737 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7738 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7739 file.
7740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7741 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7742 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7743 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7744 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7745 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7746 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7747 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7748 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7749 file.
7750 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7751 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7752 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7753 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7754 file.
7755 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7757 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7758 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7759 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7760 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7761 file.
7762 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7763 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7764 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7765 file.
7766 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7768 New file.
7769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7770 New file.
7771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7772 New file.
7773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7774 New file.
7775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7776 New file.
7777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7778 New file.
7779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7780 New file.
7781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7782 New file.
7783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7784 New file.
7785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7786 New file.
7787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7788 New file.
7789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7790 New file.
7791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7792 New file.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7794 file.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7796 New file.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7798 New file.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7800 file.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7802 New file.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7804 New file.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7806 file.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7808 New file.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7810 New file.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7812 New file.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7814 New file.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7816 New file.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7818 New file.
7819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7821 file.
7822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7823 New file.
7824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7825 file.
7826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7827 file.
7828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7829 file.
7830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7831 file.
7832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7833 file.
7834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7835 New file.
7836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7837 file.
7838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7839 file.
7840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7841 New file.
7842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7843 file.
7844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7846 file.
7847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7848 New file.
7849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7850 file.
7851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7852 file.
7853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7854 file.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7856 file.
7857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7858 file.
7859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7860 New file.
7861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7862 file.
7863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7864 file.
7865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7866 New file.
7867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7868 file.
7869 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7870 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7871 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7872 file.
7873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7874 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7875 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7876 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7877 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7878 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7879 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7880 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7881 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7882 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7885 file.
7886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7887 New file.
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7889 file.
7890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7891 file.
7892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7893 file.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7895 file.
7896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7897 file.
7898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7899 New file.
7900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7901 New file.
7902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7903 file.
7904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7905 New file.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7907 file.
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7910 file.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7912 New file.
7913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7914 file.
7915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7916 file.
7917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7918 file.
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7920 file.
7921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7922 file.
7923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7924 New file.
7925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7926 New file.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7928 file.
7929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7930 New file.
7931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7932 file.
7933
41d73a1b
JM
79342012-04-28 Joseph Myers <joseph@codesourcery.com>
7935
7936 * conform/conformtest.pl: Fix typo in handling typed-constant from
7937 allow-header.
7938
28aeeda4
JM
79392012-04-27 Joseph Myers <joseph@codesourcery.com>
7940
adae8f5e
JM
7941 * README: Cut down references to pre-2.6 Linux kernels and
7942 Linuxthreads. Update lists of configurations in libc and ports
7943 and sort alphabetically. Say "or newer" with Linux kernel version
7944 requirements.
7945
28aeeda4
JM
7946 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7947
a462cb63
RA
79482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7949
7950 [BZ #887]
7951 * math/libm-test.inc (logb_test_downward): New test to expose
7952 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7953 rounding mode.
7954
6ad3493e
JM
79552012-04-27 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #14027]
7958 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7959 to be done.
7960 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7961 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7962
2ce4f015
JM
79632012-04-26 Joseph Myers <joseph@codesourcery.com>
7964
5aeb141a
JM
7965 * sysdeps/unix/i386/brk.S: Remove file.
7966 * sysdeps/unix/i386/dl-brk.S: Likewise.
7967 * sysdeps/unix/i386/pipe.S: Likewise.
7968 * sysdeps/unix/i386/sigreturn.S: Likewise.
7969 * sysdeps/unix/i386/syscall.S: Likewise.
7970 * sysdeps/unix/i386/vfork.S: Likewise.
7971 * sysdeps/unix/i386/wait.S: Likewise.
7972
7143acae
JM
7973 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7974 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7975
2ce4f015
JM
7976 * configure.in (arm*-none*): Do not allow without
7977 --enable-hacker-mode.
7978 (netbsd*): Remove case setting base_os.
7979 (386bsd*): Likewise.
7980 (freebsd*): Likewise.
7981 (bsdi*): Likewise.
7982 (osf*): Likewise.
7983 (sunos*): Likewise.
7984 (ultrix*): Likewise.
7985 (newsos*): Likewise.
7986 (dynix*): Likewise.
7987 (*bsd*): Likewise.
7988 (sysv*): Likewise.
7989 (isc*): Likewise.
7990 (esix*): Likewise.
7991 (sco*): Likewise.
7992 (minix*): Likewise.
7993 (irix4*): Likewise.
7994 (irix6*): Likewise.
7995 (solaris[2-9]*): Likewise.
7996 (none): Likewise.
7997 * configure: Regenerated.
7998
0ac229c8
AZ
79992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000
8001 [BZ #11521]
8002 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8003 overflow or cancellation in calculating denominator.
8004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8006 down expression to avoid unexpected rounding in newer GCCs.
8007 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8008
33f244f4
DM
80092012-04-26 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8012 long-double compat symbols.
8013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8026
cfa1f3e8
DM
80272012-04-25 David S. Miller <davem@davemloft.net>
8028
8029 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8030 HWCAP_* values only after the memory barriers have been defined.
8031 (atomic_full_barrier): Define.
8032 (atomic_read_barrier): Define.
8033 (atomic_write_barrier): Define.
8034
6e236b92
SP
80352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8036
8037 * shlib-versions: Add libgcc_s version information.
8038 * sysdeps/generic/libgcc_s.h: Remove.
8039 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8040 libgcc_s.h.
8041 * sysdeps/gnu/unwind-resume.c: Likewise.
8042 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8043
aab39a09
DM
80442012-04-25 David S. Miller <davem@davemloft.net>
8045
8046 * sysdeps/unix/sparc/brk.S: Delete.
8047 * sysdeps/unix/sparc/dl-brk.S: Delete.
8048 * sysdeps/unix/sparc/pipe.S: Delete.
8049 * sysdeps/unix/sparc/sysdep.S: Delete.
8050 * sysdeps/unix/sparc/sysdep.h: Delete.
8051 * sysdeps/unix/sparc/vfork.S: Delete.
8052 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8053 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8054 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8055 ret_ERRVAL, r0, r1, MOVE): Define.
8056 (JUMPTARGET): Remove.
8057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8058 sysdeps/unix/sparc/sysdep.h
8059 (ENTRY, END): Remove.
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8061
a3cc4f48
JM
80622012-04-25 Joseph Myers <joseph@codesourcery.com>
8063
2ed8cda2
JM
8064 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8065 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8066 -DIS_IN_build.
8067
35d76d59
JM
8068 * timezone/README: Update upstream location and email address for
8069 tzcode and tzdata.
8070 * timezone/zdump.c: Update from tzcode 2012b.
8071 * timezone/zic.c: Likewise.
8072
a3cc4f48
JM
8073 * configure.in (libc_cv_as_needed): Remove test.
8074 * configure: Regenerated.
8075 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8076 conditional definition.
8077 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8078 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8079 * config.make.in (have-as-needed): Remove variable.
8080
ceab42c3
SP
80812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8082 Paul Pluzhnikov <ppluzhnikov@google.com>
8083
8084 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8085 strings correctly.
8086
3ce2865f
CLT
80872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8088
8089 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8090 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8091 * sysdeps/sh/strlen.S: Likewise.
8092
f37e0d68
JM
80932012-04-24 Joseph Myers <joseph@codesourcery.com>
8094
ae186e9a
JM
8095 * sysdeps/unix/fork.S: Remove file.
8096 * sysdeps/unix/i386/fork.S: Likewise.
8097 * sysdeps/unix/sparc/fork.S: Likewise.
8098
b96914af
JM
8099 * sysdeps/unix/system.c: Remove file.
8100 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8101
f37e0d68
JM
8102 * sysdeps/unix/getegid.S: Remove file.
8103 * sysdeps/unix/geteuid.S: Likewise.
8104
87ef29ca
RM
81052012-04-24 Roland McGrath <roland@hack.frob.com>
8106
83bcd236
RM
8107 * scripts/check-localplt.awk: New file.
8108 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8109 of diff.
8110 * scripts/data/localplt-generic.data: Add a comment.
8111
87ef29ca
RM
8112 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8113 NODE when __dir_mkfile failed.
8114 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8115 Reported by Ludovic Courtès <ludo@gnu.org>.
8116
e5a6e567
AJ
81172012-04-24 Andreas Jaeger <aj@suse.de>
8118
8119 * Makerules (common-clean): Also remove gen-as-const-headers
8120 files.
8121
c1820385
JM
81222012-04-24 Joseph Myers <joseph@codesourcery.com>
8123
8124 * Makerules (native-compile): Do not change working directory for
8125 build. Use $(OUTPUT_OPTION) in command.
8126 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8127
94e02fc4
AZ
81282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8129
8130 [BZ #13886]
8131 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8132 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8133 * math/libm-test.inc (floor_test): Add more tests.
8134 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8135
3a533ca3
JM
81362012-04-24 Joseph Myers <joseph@codesourcery.com>
8137
940ab4b3
JM
8138 * sysdeps/unix/getdents.c: Remove file.
8139 * sysdeps/unix/sysv/getdents.c: Likewise.
8140 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8141
90e037bd
JM
8142 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8143 sysdeps/unix/mman/syscalls.list.
8144 (mmap): Likewise.
8145 (mprotect): Likewise.
8146 (msync): Likewise.
8147 (munmap): Likewise.
8148 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8149 * sysdeps/unix/mman/syscalls.list: Remove.
8150 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8151
3a533ca3
JM
8152 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8153 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8154 * configure: Regenerated.
8155 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8156 $(libgcc_s_suffix).
8157 * config.make.in (libgcc_s_suffix): Remove variable.
8158
1ad743de
JM
81592012-04-23 Joseph Myers <joseph@codesourcery.com>
8160
4ad451e2
JM
8161 * sysdeps/unix/sysv/gethostname.c: Move to ...
8162 * sysdeps/posix/gethostname.c: ... here.
8163
5e37ce39
JM
8164 * sysdeps/unix/execve.S: Remove file.
8165
1ad743de
JM
8166 * sysdeps/unix/_exit.S: Remove file.
8167
4e681b5b
AJ
81682012-04-23 Andreas Jaeger <aj@suse.de>
8169
8170 [BZ #13739]
8171 * manual/Makefile: Remove make dist support, there's no
8172 need for a stand-alone documentation tar ball.
8173 (TEXI2DVI): Define always, it's not in Makeconfig.
8174 (dist): Removed.
8175 (tar-it): Removed.
8176 (edition): Removed.
8177 (glibc-doc-$(edition).tar): Removed
8178 (%.Z): Removed.
8179 (%.gz): Removed.
8180 (%.uu): Removed.
8181 (ETAGS): Remove, it's in Makeconfig.
8182 (move-if-change): Remove, it's in Makeconfig.
8183
c0baea34
PE
81842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8185
8186 [BZ #13970]
8187 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8188 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8189 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8190 (strtod_l, strtof_l, strtold_l): Remove __wur.
8191 It is not necessarily an error to ignore strtol's return value.
8192 One can reliably look at the stored endptr to decide whether
8193 the number had valid syntax.
8194
7c0616fa
AJ
81952012-04-21 Andreas Jaeger <aj@suse.de>
8196
803cb6b7 8197 [BZ #13739]
7c0616fa
AJ
8198 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8199
b0fe253f
JM
82002012-04-21 Joseph Myers <joseph@codesourcery.com>
8201
8202 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8203 * sysdeps/unix/sysv/Versions: Remove file.
8204
8280f22d
MT
82052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8206
8207 [BZ #13927]
8208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8209
75ce411f 82102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8211
8212 [BZ #7064]
8213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8214 version from __vm86.
8215
097d59fa
JM
82162012-04-20 Joseph Myers <joseph@codesourcery.com>
8217
a90f3bcb
JM
8218 * sysdeps/unix/common/lxstat.c: Remove file.
8219 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8220
edc7ea78
JM
8221 * sysdeps/unix/sysv/Makefile: Remove file.
8222
cb78c221
JM
8223 * sysdeps/unix/sysv/direct.h: Remove file.
8224
efa6a45f
JM
8225 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8226 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8227 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8228 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8229 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8230 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8231 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8232
9c9f2d0c
JM
8233 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8234
4541c83b
JM
8235 * sysdeps/unix/xmknod.c: Remove file.
8236 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8237
f5d153a0
JM
8238 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8239
aa746595
JM
8240 * sysdeps/unix/sysv/i386/time.S: Remove file.
8241
cce5905e
JM
8242 * sysdeps/unix/fxstat.c: Remove file.
8243 * sysdeps/unix/xstat.c: Likewise.
8244 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8245
37fa3841
JM
8246 * sysdeps/unix/sysv/sigaction.c: Remove file.
8247
ff1962a3
JM
8248 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8249 (sysdep_headers): Remove variable.
8250 [termio.h not in sysdep_headers] (generated): Likewise.
8251 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8252 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8253 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8254 * sysdeps/unix/sysv/tcflow.c: Likewise.
8255 * sysdeps/unix/sysv/tcflush.c: Likewise.
8256 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8257 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8258 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8259 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8260 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8261
e7740d31
JM
8262 * sysdeps/unix/siglist.c: Remove file.
8263
ee06f18b
JM
8264 * sysdeps/unix/getppid.S: Remove file.
8265
097d59fa
JM
8266 * sysdeps/unix/mkdir.c: Remove file.
8267 * sysdeps/unix/rmdir.c: Likewise.
8268
ff3d51ec
AS
82692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8270
8271 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8272 ERR_MAX value.
8273 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8274 errlist-compat value.
8275
50f81fd7
DM
82762012-04-18 David S. Miller <davem@davemloft.net>
8277
8278 * sysdeps/generic/memcopy.h (reg_char): Delete.
8279 * debug/strcat_chk.c: Use char, not reg_char.
8280 * debug/strcpy_chk.c: Likewise.
8281 * debug/strncat_chk.c: Likewise.
8282 * debug/strncpy_chk.c: Likewise.
8283 * string/memchr.c: Likewise.
8284 * string/memrchr.c: Likewise.
8285 * string/rawmemchr.c: Likewise.
8286 * string/strcat.c: Likewise.
8287 * string/strchr.c: Likewise.
8288 * string/strchrnul.c: Likewise.
8289 * string/strcmp.c: Likewise.
8290 * string/strcpy.c: Likewise.
8291 * string/strncat.c: Likewise.
8292 * string/strncmp.c: Likewise.
8293 * string/strncpy.c: Likewise.
8294
8ff41c46
WS
82952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8296
8297 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8298 __builtin_memcopy is called when src and dest ranges are known to not
8299 overlap.
8300
6b652f46
WS
83012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8302
8303 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8304 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8305 fwd_align_merge macro call.
8306 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8307 bwd_align_merge macro call.
8308 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8309
b282631e
WS
83102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8311
8312 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8313 bwd_align_merge macros.
8314 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8315 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8317
95aa737c
DM
83182012-04-18 David S. Miller <davem@davemloft.net>
8319
8320 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8321
7a99a614
AJ
83222012-04-18 Andreas Jaeger <aj@suse.de>
8323
8324 [BZ# 6794]
8325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8326 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8327 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8328
8329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8330 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8331 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8332
8333 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8334 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8335 Adjust for changed ldbl-128 files.
8336
8337 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8338 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8339 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8340
e5270c23
DM
83412012-04-17 David S. Miller <davem@davemloft.net>
8342
8343 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8344
fb5e92c9
AS
83452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8346
8347 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8348 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8349 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8350 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8351 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8352 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8353
76da7265
AZ
83542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 [BZ #6794]
8357 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8358 * math/libm-test.inc: Add ilogb errno and exception tests.
8359 * math/w_ilogb.c: New file: ilogb wrapper.
8360 * math/w_ilogbf.c: New file: ilogbf wrapper.
8361 * math/w_ilogbl.c: New file: ilogbl wrapper.
8362 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8363 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8364 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8365 exception being thrown with 0.0 as argument.
8366 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8367 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8368 exception being thrown with 0.0 as argument.
8369 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8370 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8371 exception being thrown with 0.0 as argument.
8372 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8373 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8374 exception being thrown with 0.0 as argument.
8375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8376 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8377 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8378 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8380 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8381 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8382 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8383 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8384
0396e69d
PB
83852012-04-17 Petr Baudis <pasky@ucw.cz>
8386
8387 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8388 with altivec.
8389
750b5926
MP
83902012-04-16 Marek Polacek <polacek@redhat.com>
8391
8392 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8393
751728a1
MP
83942012-04-16 Marek Polacek <polacek@redhat.com>
8395
8396 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8397 operands of fdivp instruction.
8398
34a27407
L
83992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8402 * elf/tst-auditmod3b.c: Likewise.
8403 * elf/tst-auditmod4b.c: Likewise.
8404 * elf/tst-auditmod5b.c: Likewise.
8405 * elf/tst-auditmod6b.c: Likewise.
8406 * elf/tst-auditmod6c.c: Likewise.
8407 * elf/tst-auditmod7b.c: Likewise.
8408 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8409 * sysdeps/x86_64/preconfigure.in: Likewise.
8410 * sysdeps/x86_64/preconfigure: Regenerated.
8411
7e73e17d
L
84122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8415 __ILP32__.
8416
c7a6ab72
AB
84172012-04-13 Antoine Balestrat <merkil33@gmail.com>
8418
8419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8420 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8421
a9e8e0e0
CL
84222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8423
8424 [BZ #13973]
8425 * locale/iso-639.def: Fix gl language name. Spotted by
8426 Yaron Shahrabani.
8427
ec98af7d
RM
84282012-04-12 Roland McGrath <roland@hack.frob.com>
8429
8430 [BZ #2074]
8431 * libio/libio.h (__io_write_fn): Update comment.
8432
247c3ede
PB
84332012-04-12 Petr Baudis <pasky@ucw.cz>
8434
8435 [BZ #2074]
8436 * stdio.texi (Hook Functions): The user provided writer function
8437 is not allowed to return -1.
8438
55939d6d
DM
84392012-04-11 David S. Miller <davem@davemloft.net>
8440
8441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8442
90020f5a
MF
84432012-04-11 Mike Frysinger <vapier@gentoo.org>
8444
8445 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8446 Add a leading slash to rtkaio.
8447
288f9098
JM
84482012-04-11 Jim Meyering <meyering@redhat.com>
8449
90020f5a
MF
8450 [BZ #11959]
8451 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8452 It is not necessarily an error to ignore fwrite's return
8453 value. One can reliably use ferror to test for errors after
8454 the fact.
288f9098 8455
4be2b570
L
84562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * bits/types.h (__snseconds_t): New type.
8459 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8460
8461 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8463 (__SNSECONDS_T_TYPE): Likewise.
8464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8465 (__SNSECONDS_T_TYPE): Likewise.
8466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8467 (__SNSECONDS_T_TYPE): Likewise.
8468
288f9098 84692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8470
8471 [BZ #2636]
8472 * manual/time.texi (Processor Time): Return type of times is
8473 elapsed real time since an arbitrary point in the past.
8474 (CPU Time): Move CLK_TCK from here...
8475 (Processor Time): ...to here. Correct description.
8476 * manual/conf.texi (Constants for Sysconf): Correct description of
8477 _SC_CLK_TCK.
8478
d7dd4413
DM
84792012-04-10 David S. Miller <davem@davemloft.net>
8480
8481 [BZ #13967]
8482 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8483 where the is a gap between DT_REL(A) and DT_JMPREL.
8484
b46068fc
L
84852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8488 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8489 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8490
73d65cc3
SP
84912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8492
8493 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8494 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8495 (dl_main): Handle --inhibit-cache.
8496 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8497 _dl_inhibit_cache.
8498 * elf/dl-load.c (_dl_map_object): Use it.
8499 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8500
bcc8d661
JM
85012012-04-09 Joseph Myers <joseph@codesourcery.com>
8502
8f9a2fae
JM
8503 [BZ #13872]
8504 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8505 (__ieee754_powl): Saturate large exponents rather than testing for
8506 overflow of y*log2(x).
8507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8508 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8509 exceptions.
8510
bcc8d661
JM
8511 [BZ #11521]
8512 * math/s_ctan.c: Include <float.h>.
8513 (__ctan): Avoid internal overflow or cancellation in calculating
8514 denominator.
8515 * math/s_ctanf.c: Likewise.
8516 * math/s_ctanl.c: Likewise.
8517 * math/s_ctanh.c: Likewise.
8518 * math/s_ctanhf.c: Likewise.
8519 * math/s_ctanhl.c: Likewise.
8520 * math/libm-test.inc (ctan_test): Add more tests.
8521 (ctanh_test): Likewise.
8522 * sysdeps/i386/fpu/libm-test-ulps: Update.
8523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8524
823fbbb4
AJ
85252012-04-09 Andreas Jaeger <aj@suse.de>
8526
03879793
AJ
8527 [BZ #6894]
8528 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8529 is an optional BSD extension.
8530
823fbbb4
AJ
8531 [BZ #10254]
8532 * manual/stdio.texi (Opening Streams): Document additional fopen
8533 parameters.
8534
8de131cb
RM
85352012-04-09 Roland McGrath <roland@hack.frob.com>
8536
8537 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8538 %eax without telling the compiler.
8539
c0ed9d7d
CD
85402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8541
8542 [BZ # 13963]
8543 * manual/install.texi: Use sourceware.org.
8544
c483f6b4
JM
85452012-04-09 Joseph Myers <joseph@codesourcery.com>
8546
d7dd9453
JM
8547 [BZ #13873]
8548 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8549 (__ieee754_pow): Generate overflow and underflow using huge*huge
8550 and tiny*tiny rather than just returning constant infinity or zero
8551 for large exponents.
8552 * math/libm-test.inc (pow_test): Require overflow exceptions for
8553 applicable cases of large exponents.
8554
c483f6b4
JM
8555 [BZ #706]
8556 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8557 (__ieee754_pow): Use iterative multiplication algorithm only for
8558 integer exponents with absolute value below 1024. Check for odd
8559 integer exponents when using algorithm for real exponents.
8560 * math/libm-test.inc (pow_test): Add more tests.
8561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8562
d2de7579
JM
85632012-04-08 Joseph Myers <joseph@codesourcery.com>
8564
8565 [BZ #13705]
8566 * math/libm-test.inc (exp_test): Do not allow overflow exception
8567 on underflow test.
8568
f77f1232
AJ
85692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8570
8571 [BZ #13705]
8572 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8573 instead of __kernel_standard_f.
8574
3884932b
MF
85752012-04-08 Mike Frysinger <vapier@gentoo.org>
8576
8577 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8578 * sysdeps/x86_64/memset_chk.S: Likewise.
8579
54472e9c
AJ
85802012-04-08 Andreas Jaeger <aj@suse.de>
8581
6ab0fbfc
AJ
8582 [BZ #10153]
8583 * manual/startup.texi (Environment Access): Describe return value
8584 for putenv and setenv.
8585
61efba8c
AJ
8586 [BZ #6895]
8587 * manual/filesys.texi (Directory Entries): Add description for
8588 DT_LNK.
8589
95c3f29a
AJ
8590 [BZ #6890]
8591 * manual/filesys.texi (Directory Entries): Clarify that it's file
8592 system not operating system in the description of DT_UNKNOWN.
8593
54472e9c
AJ
8594 [BZ #6578]
8595 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8596
624254b1
SC
85972012-04-08 Stephen Compall <s11@member.fsf.org>
8598
8599 [BZ #6649]
8600 * manual/llio.texi (Opening and Closing Files): Add cross
8601 reference to explain mode argument.
8602
1e4920e0
MF
86032012-04-07 Mike Frysinger <vapier@gentoo.org>
8604
8605 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8606 * sysdeps/x86_64/memset_chk.S: Likewise.
8607
5ed848f3
DM
86082012-04-07 David S. Miller <davem@davemloft.net>
8609
8610 * elf/elf.h (R_SPARC_WDISP10): Define.
8611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8612 R_SPARC_SIZE32.
8613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8614 R_SPARC_SIZE64 and R_SPARC_H34.
8615
96154cd8
CD
86162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8617
8618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8619 conditions and remove no longer applicable assertion.
8620
9904dc47
L
86212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * bits/byteswap.h: Include <features.h>.
8624 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8625 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8626
f8887d0a
L
86272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * bits/byteswap.h (__bswap_16): Removed.
8630 Include <bits/byteswap-16.h> to get __bswap_16.
8631 * sysdeps/i386/bits/byteswap.h: Likewise.
8632 * sysdeps/s390/bits/byteswap.h: Likewise.
8633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8634 * bits/byteswap-16.h: New file.
8635 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8636 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8637 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8638 * string/Makefile (headers): Add bits/byteswap-16.h.
8639
62470f60
PP
86402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8641
8642 [BZ #13895]
8643 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8644 extra indirection.
8645 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8646 * nss/tst-nss-static.c: New.
8647
4dad7bab
RM
86482012-04-06 Robert Millan <rmh@gnu.org>
8649
8650 [BZ #6486]
8651 * manual/llio.texi (File Position Primitive): lseek
8652 refers to WHENCE when it really means OFFSET.
8653
e9142a17
AJ
86542012-04-06 Andreas Jaeger <aj@suse.de>
8655
2c040eff
AJ
8656 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8657 strncmp declarations.
8658
e9142a17
AJ
8659 * abilist/libc.abilist: Add __poll and __ppoll.
8660
ff9f1c5f
DM
86612012-04-05 David S. Miller <davem@davemloft.net>
8662
dcd2ae90
DM
8663 * scripts/check-local-headers.sh: Accept a host triplet in the
8664 path matched by the exclude regexp.
8665
993eb054
DM
8666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8667 definition.
8668 * sysdeps/powerpc/powerpc32/dl-machine.h
8669 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8670 * sysdeps/s390/s390-32/dl-machine.h
8671 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8672 * sysdeps/sparc/sparc32/dl-machine.h
8673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8674 * sysdeps/sparc/sparc64/dl-machine.h
8675 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8676
ff9f1c5f
DM
8677 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8678 lazy binding.
48e2e132 8679 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8680 undefined symbol errors.
8681
48e2e132 8682 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8683 DT_NEEDED entries.
8684
e80d6f94
MM
86852012-04-05 Michael Matz <matz@suse.de>
8686
8687 [BZ #13592]
8688 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8689
349fa79f
AJ
86902012-04-05 Andreas Jaeger <aj@suse.de>
8691
8692 [BZ #13908]
8693 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8694 comment.
8695
f402708f
KK
86962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8697
8698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8699 which ROUND is no valid rounding mode.
8700
2ecccfc9
KK
87012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8702
8703 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8704 read again.
8705 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8706
8a53f50f
KK
87072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8708
8709 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8710 an exception using FPU order intentionally.
8711
87122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8713
8714 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8715 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8716 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8717 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8718
d653abb7
SJ
87192012-04-05 Simon Josefsson <simon@josefsson.org>
8720
8721 [BZ #12340]
8722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8723 EINVAL when BUFLEN is too smal.
8724
c3b1bf7d
TS
87252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8726
8727 [BZ #13553]
8728 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8729 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8730
b1aa60f3
AJ
87312012-04-03 Andreas Jaeger <aj@suse.de>
8732
c3b1bf7d 8733 [BZ #13938]
67f60a26
AJ
8734 * manual/setjmp.texi (System V contexts): Fix sentence.
8735
b1aa60f3
AJ
8736 [BZ #13926]
8737 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8738 New macro for this case.
8739 [!__GNUC__] (__bswap_64): New inline function for this case.
8740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8741 * bits/byteswap.h: Likewise.
8742 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8743 ull, guard with __GLIBC_HAVE_LONG_LONG.
8744
8745 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8746 __GLIBC_HAVE_LONG_LONG.
8747
8748 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8749 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8750
39c59c35
TMQMF
87512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8752
8753 [BZ #13691]
8754 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8755 inptr and inend, rather than using last_ch.
8756
135ffda8
DM
87572012-04-02 David S. Miller <davem@davemloft.net>
8758
8759 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8760 * stdio-common/printf-parse.h (read_int): Change return type to
8761 'int', return -1 on INT_MAX overflow.
8762 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8763 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8764 overflows INT_MAX. Check for overflow of in-format-string precision
8765 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8766 SIZE_MAX not INT_MAX for integer overflow test.
8767 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8768 skip the construct in the format string but do not record anything.
8769 * stdio-common/bug22.c: Adjust to test both width/prevision
8770 INT_MAX overflow as well as total length INT_MAX overflow. Check
8771 explicitly for proper errno values.
8772
228c019e
TS
87732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8774
302cadd3
TS
8775 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8776 CHAR_MAX.
8777 * string/test-strcmp.c [! WIDE]: Likewise.
8778 * time/tst-mktime2.c: Likewise for INT_MAX.
8779 * string/test-string.h: #include <sys/param.h> for MIN.
8780
228c019e
TS
8781 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8782 * sysdeps/i386/init-first.c (init): Likewise.
8783 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8784 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8785 * sysdeps/sh/init-first.c (init): Likewise.
8786
cfa633f5
UD
87872012-04-01 Ulrich Drepper <drepper@gmail.com>
8788
8789 * po/ru.po: Update from translation team.
d1635ef8 8790 * po/vi.po: Likewise.
cfa633f5 8791
6cd0a5ea
SP
87922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8793
8794 * resolv/nss_dns/dns-host.c: Merge copyright years.
8795
4b43400f
LD
87962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8797
8798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8799 Optimize memcpy with prefetch if
8800 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8801 src, dst pointers have unequal 16 byte alignments.
8802
48c41d04
SP
88032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
8805 [BZ #13928]
8806 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8807 from a CNAME entry and return the minimum ttl for the query.
8808 (gaih_getanswer_slice): Likewise.
8809
b8dc394d
JL
88102012-03-30 Jeff Law <law@redhat.com>
8811
8812 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8813 due to long keys.
8814 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8815 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8816
2f5a5ed0
JL
8817 * resolv/nss_dns/dns-host.c: Update copyright year.
8818
1d39e359
UD
88192012-03-30 Ulrich Drepper <drepper@gmail.com>
8820
c030f70c 8821 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8822 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8823
1d39e359
UD
8824 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8825 comments for sendmmsg.
8826
88272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8828
8829 [BZ #13691]
8830 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8831 with only 1 character between 0x0041 and 0x01b0.
8832 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8833 * wcsmbs/tst-mbsnrtowcs.c: New file.
8834
20fde227
DM
88352012-03-29 David S. Miller <davem@davemloft.net>
8836
8837 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8838 small copies by hand.
8839
984a4237
JL
88402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8841
8842 [BZ #13761]
8843 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8844 _nss_compat_initgroups_dyn): Fall back to malloc/free
8845 for large group memberships.
8846
18c9d62b
DM
88472012-03-28 David S. Miller <davem@davemloft.net>
8848
88d85d4f
DM
8849 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8850 that branches into memcpy.
8851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8854 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8856 bits.
8857 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8858 implementation too.
8859 * sysdeps/sparc/mempcpy.S: New file.
8860
e5aa83e1
DM
8861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8862 the IFUNC routine in the libc case.
8863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8864
88570753
DM
8865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8867 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8868 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8869 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8870 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8871 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8872 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8873
249d7567
DM
8874 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8875 loop to 256 bytes instead of 64 bytes and fix test signedness.
8876
18c9d62b
DM
8877 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8878 * sysdeps/sparc/sparc32/Makefile: rather than here...
8879 * sysdeps/sparc/sparc64/Makefile: and here.
8880
05f3d1f6
UD
88812012-03-28 Ulrich Drepper <drepper@gmail.com>
8882
8883 * malloc/mallocbug.c: Avoid warnings about unused variables.
8884
86ae07a8
JL
88852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8886
8887 [BZ #13760]
8888 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8889 in the right place. Discard and retry query if response is
8890 larger than input buffer size.
8891
41bf21a1
JM
88922012-03-28 Joseph Myers <joseph@codesourcery.com>
8893
d6270972
JM
8894 [BZ #369]
8895 [BZ #2678]
8896 [BZ #3866]
8897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8898 x for large integer exponent.
8899 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8900 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8901 sign of result as needed afterwards.
8902 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8903 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8904 result for underflowing pow the same as for overflow.
8905 (__kernel_standard_l): Handle powl overflow and underflow here
8906 rather than calling __kernel_standard.
8907 * math/libm-test.inc (pow_test): Add more tests.
8908
414fca03 8909 [BZ #3868]
41bf21a1
JM
8910 [BZ #13879]
8911 [BZ #13910]
8912 [BZ #13911]
8913 [BZ #13912]
8914 [BZ #13913]
8915 [BZ #13915]
8916 [BZ #13916]
8917 [BZ #13917]
8918 [BZ #13918]
8919 [BZ #13919]
8920 [BZ #13920]
8921 [BZ #13921]
8922 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8923 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8924 (__kernel_standard_l): New function.
8925 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8926 __kernel_standard.
8927 * math/w_acosl.c (__acosl): Likewise.
8928 * math/w_asinl.c (__asinl): Likewise.
8929 * math/w_atan2l.c (__atan2l): Likewise.
8930 * math/w_atanhl.c (__atanhl): Likewise.
8931 * math/w_coshl.c (__coshl): Likewise.
8932 * math/w_exp10l.c (__exp10l): Likewise.
8933 * math/w_exp2l.c (__exp2l): Likewise.
8934 * math/w_fmodl.c (__fmodl): Likewise.
8935 * math/w_hypotl.c (__hypotl): Likewise.
8936 * math/w_j0l.c (__j0l, __y0l): Likewise.
8937 * math/w_j1l.c (__j1l, __y1l): Likewise.
8938 * math/w_jnl.c (__jnl, __ynl): Likewise.
8939 * math/w_lgammal.c (__lgammal): Likewise.
8940 * math/w_log10l.c (__log10l): Likewise.
8941 * math/w_log2l.c (__log2l): Likewise.
8942 * math/w_logl.c (__logl): Likewise.
8943 * math/w_powl.c (__powl): Likewise.
8944 * math/w_remainderl.c (__remainderl): Likewise.
8945 * math/w_scalbl.c (sysv_scalbl): Likewise.
8946 * math/w_sinhl.c (__sinhl): Likewise.
8947 * math/w_sqrtl.c (__sqrtl): Likewise.
8948 * math/w_tgammal.c (__tgammal): Likewise.
8949 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8950 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8951 * math/libm-test.inc (acos_test): Add more tests.
8952 (acosh_test): Likewise.
8953 (asin_test): Likewise.
8954 (atanh_test): Likewise.
8955 (exp_test): Likewise.
8956 (exp10_test): Likewise.
8957 (exp2_test): Likewise.
8958 (expm1_test): Likewise.
8959 (lgamma_test): Likewise.
8960 (log_test): Likewise.
8961 (log10_test): Likewise.
8962 (log1p_test): Likewise.
8963 (log2_test): Likewise.
8964 (pow_test): Do not allow some spurious overflow exceptions.
8965 (sqrt_test): Add more tests.
8966 (tgamma_test): Likewise.
8967 (y0_test): Likewise.
8968 (y1_test): Likewise.
8969 (yn_test): Likewise.
8970
dd62fda6
AB
89712012-03-27 Anton Blanchard <anton@samba.org>
8972
8973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8974 MAP_HUGETLB.
8975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8978
1e3cdfda
AJ
89792012-03-27 David S. Miller <davem@davemloft.net>
8980
b855ab85
DM
8981 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8982
1e3cdfda
AJ
8983 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8984 have-as-vis3 check.
8985
89862012-03-27 Andreas Jaeger <aj@suse.de>
8987
8988 * sysdeps/x86_64/elf/configure.in: Moved to ...
8989 * sysdeps/x86_64/configure.in: ... here.
8990 * sysdeps/x86_64/elf/start.S: Moved to ...
8991 * sysdeps/x86_64/start.S: ... here.
8992 * sysdeps/x86_64/elf/configure: Delete.
8993
8994 * sysdeps/x86_64/configure.in: Merge contents from
8995 sysdeps/i386/configure.in (without i686 check).
8996
8997 * sysdeps/i386/elf/Versions: Merge into ...
8998 * sysdeps/i386/Versions: ... this.
8999 * sysdeps/i386/elf/Versions: Delete file.
9000 * sysdeps/i386/elf/start.S: Moved to ...
9001 * sysdeps/i386/start.S: ...here.
9002 * sysdeps/i386/elf/configure.in: Merge into...
9003 * sysdeps/i386/configure.in: ...here.
9004 * sysdeps/i386/elf/configure.in: Delete file.
9005 * sysdeps/i386/elf/configure: Delete file.
9006
9007 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9008 * debug/backtracesyms.c: ... here.
9009 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9010 * debug/backtracesymsfd.c: ... here.
9011 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9012 * sysdeps/generic/ifunc-sel.h: ... here.
9013
9014 * sysdeps/unix/i386/start.c: Delete file.
9015 * sysdeps/unix/sparc/start.c: Delete file.
9016 * sysdeps/unix/start.c: Delete file.
9017
9018 * sysdeps/sh/elf/configure.in: Moved to ...
9019 * sysdeps/sh/configure.in: ... here.
9020 * sysdeps/sh/elf/start.S: Moved to ...
9021 * sysdeps/sh/start.S: ... here.
9022 * sysdeps/sh/elf/configure: Delete file.
9023
9024 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9025 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9026 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9027 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9028 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9029 * sysdeps/powerpc/powerpc64/start.S: here.
9030 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9031 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9032 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9033 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9034 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9035
9036 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9037 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9038 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9039 * sysdeps/powerpc/powerpc32/start.S: ... here.
9040 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9041 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9042 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9043
9044 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9045 * sysdeps/powerpc/ifunc-sel.h: ... here.
9046 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9047 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9048
9049 * sysdeps/sparc/elf/configure.in: Moved to ...
9050 * sysdeps/sparc/configure.in: ... here.
9051 * sysdeps/sparc/elf/configure: Delete file.
9052 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9053 * sysdeps/sparc/sparc32/start.S: ... here.
9054 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9055 * sysdeps/sparc/sparc64/start.S: ... here.
9056 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9057 * sysdeps/sparc/sparc32/Makefile: ... this.
9058 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9059 * sysdeps/sparc/sparc64/Makefile: ... this.
9060
9061 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9062 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9063 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9064 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9065 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9066 * sysdeps/s390/s390-32/setjmp.S: ... here.
9067 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9068 * sysdeps/s390/s390-32/configure.in: ... here.
9069 * sysdeps/s390/s390-32/elf/configure: Delete file.
9070 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9071 * sysdeps/s390/s390-32/start.S: ... here.
9072
9073 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9074 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9075 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9076 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9077 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9078 * sysdeps/s390/s390-64/setjmp.S: ... here.
9079 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9080 * sysdeps/s390/s390-64/configure.in: ... here
9081 * sysdeps/s390/s390-64/elf/configure: Delete file.
9082 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9083 * sysdeps/s390/s390-64/start.S: ... here.
9084 * sysdeps/s390/s390-64/elf/configure: Delete.
9085
9086 * configure.in: Remove support for elf directories in sysdeps.
9087
9088 * configure: Regenerated.
9089 * sysdeps/i386/configure: Regenerated.
9090 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9091 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9092 * sysdeps/s390/s390-32/configure: Regenerated.
9093 * sysdeps/s390/s390-64/configure: Regenerated.
9094 * sysdeps/sh/configure: Regenerated.
9095 * sysdeps/sparc/configure: Regenerated.
9096 * sysdeps/x86_64/configure: Regenerated.
9097
a3f61311
AS
90982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9099
c876e002
AS
9100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9101
a3f61311
AS
9102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9103 denormal result into account.
9104
ac4c54f0
RM
91052012-03-25 Roland McGrath <roland@hack.frob.com>
9106
9107 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9108 Reported by Allan McRae <allan@archlinux.org>.
9109
6a9b9c02
JL
91102012-03-23 Jeff Law <law@redhat.com>
9111
9112 * nss/getnssent.c (__nss_getent): Fix typo.
9113
4c42a0c1
DM
91142012-03-23 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9117
1532c7ac
L
91182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9119
9120 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9121 to pad to uint64_t for each field.
9122 (dl_tls_index): Replace unsigned long with uint64_t.
9123
3ff42526
PP
91242012-03-23 Daniel Jacobowitz <dmj@google.com>
9125 Paul Pluzhnikov <ppluzhnikov@google.com>
9126
9127 [BZ #6528]
9128 * grp/Makefile (otherlibs): Don't set it.
9129 * inet/Makefile (otherlibs): Likewise.
9130 * login/Makefile (otherlibs): Likewise.
9131 * nscd/Makefile (otherlibs): Likewise.
9132 * posix/Makefile (otherlibs): Likewise.
9133 * pwd/Makefile (otherlibs): Likewise.
9134 * rt/Makefile (otherlibs): Likewise.
9135 * sunrpc/Makefile (otherlibs): Likewise.
9136 * nss/Makefile (otherlibs): Likewise.
9137 Add libnss_files to routines and static-only-routines.
9138 ($(objpfx)getent): Remove rule.
9139 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9140 static-only-routines.
9141
7c69cd14
JM
91422012-03-22 Joseph Myers <joseph@codesourcery.com>
9143
9144 [BZ #13892]
9145 * math/s_cexp.c: Include <float.h>.
9146 (__cexp): Handle exp result overflowing not necessarily
9147 overflowing both real and imaginary parts of result.
9148 * math/s_cexpf.c: Likewise.
9149 * math/s_cexpl.c: Likewise.
9150 * math/libm-test.inc (cexp_test): Add more tests.
9151 * sysdeps/i386/fpu/libm-test-ulps: Update.
9152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9153
81b035fe
L
91542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 * include/link.h (ELFW): New macro.
9157 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9158 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9159
1da7940c
L
91602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9163 with uint64_t.
9164
b749dbb9
L
91652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9166
9167 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9168 declaration.
9169 (struct La_x32_retval): Likewise.
9170
2ff87f3f
L
91712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9172
9173 * sysdeps/x86_64/preconfigure.in: New file.
9174 * sysdeps/x86_64/preconfigure: New generated file.
9175
c0df8e69
JM
91762012-03-22 Joseph Myers <joseph@codesourcery.com>
9177
48e44791
JM
9178 [BZ #13824]
9179 * math/e_exp2l.c: Include <float.h>.
9180 (__ieee754_exp2l): Handle overflow and underflow cases
9181 separately. Only pass fractional part of argument to
9182 __ieee754_expl.
9183 * math/libm-test.inc (exp2_test): Add more tests.
9184
c0df8e69
JM
9185 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9186 negating x to take absolute value.
9187 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9188 Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9191 Likewise.
9192 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9193 computing low part if x was negated.
9194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9195
c8e43ba7
L
91962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9197
9198 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9199 la_x32_gnu_pltexit.
9200 (pltexit): Cast int_retval to ptrdiff_t.
9201 * elf/tst-auditmod3b.c: Likewise.
9202 * elf/tst-auditmod4b.c: Likewise.
9203 * elf/tst-auditmod5b.c: Likewise.
9204 * elf/tst-auditmod6b.c: Likewise.
9205 * elf/tst-auditmod6c.c: Likewise.
9206 * elf/tst-auditmod7b.c: Likewise.
9207
9208 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9209 and x32_gnu_pltexit.
9210
9211 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9212 __ELF_NATIVE_CLASS.
9213 (La_x32_regs): New macro.
9214 (La_x32_retval): Likewise.
9215 (la_x32_gnu_pltenter): New function prototype.
9216 (la_x32_gnu_pltexit): Likewise.
9217
7998fa78
AS
92182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9219
dcb33988
AS
9220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9221 exponent.
9222
233fc563
AS
9223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9224
7998fa78
AS
9225 * configure.in (libc_cv_cc_nofma): Check for option to disable
9226 generation of FMA instructions.
9227 * configure: Regenerate.
9228 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9229 * sysdeps/ieee754/dbl-64/Makefile: New file.
9230 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9231 Remove brandred-fma4.
9232 (CFLAGS-brandred-fma4.c): Remove.
9233 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9234 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9235 define.
9236 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9237 define.
9238
8e95c99a
L
92392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9240
9241 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9242 LLONG_MAX != LONG_MAX.
9243 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9244 (_fitoa_word): Likewise.
9245 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9246 LLONG_MAX != LONG_MAX.
9247 * stdio-common/_itowa.h: Include <_itoa.h>.
9248 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9249 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9250 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9251 only if not defined.
9252 (_ITOA_WORD_TYPE): Likewise.
9253 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9254 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9255
6f4db457
DM
92562012-03-21 David S. Miller <davem@davemloft.net>
9257
9258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9259
7785fe5a
L
92602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9261
9262 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9263 of x86_64 when setting libc_cv_slibdir, libdir and
9264 libc_cv_localedir.
9265 * sysdeps/unix/sysv/linux/configure: Regenerated.
9266
4535cd55
JM
92672012-03-21 Joseph Myers <joseph@codesourcery.com>
9268
9269 * manual/lang.texi (Old Varargs): Remove section.
9270 (How Variadic): Update menu.
9271 (va_start): Do not mention varargs.h.
9272
17228132
TS
92732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9274 Joseph Myers <joseph@codesourcery.com>
9275
9276 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9277 link test.
9278 * configure: Regenerated.
9279
8149f976
TS
92802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9281
05f3d1f6
UD
9282 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9283 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9284 conformtest.pl
8149f976 9285
1a4ac776
JM
92862012-03-21 Joseph Myers <joseph@codesourcery.com>
9287
be22ce65
JM
9288 * NOTES: Remove.
9289 * Makefile (files-for-dist): Remove NOTES.
9290 (NOTES): Remove rule.
9291 * README: Don't refer to NOTES.
9292 * manual/creature.texi: Don't include macros.texi.
9293 * manual/intro.texi (creature.texi): Remove comment referring to
9294 NOTES.
9295
40b601fb
JM
9296 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9297 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9298 * configure: Regenerated.
9299 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9300 LIBC_TRY_CC_OPTION.
9301 (libc_cv_as_i686): Likewise.
9302 (libc_cv_cc_avx): Likewise.
9303 (libc_cv_cc_sse2avx): Likewise.
9304 (libc_cv_cc_fma4): Likewise.
9305 (libc_cv_cc_novzeroupper): Likewise.
9306 * sysdeps/i386/configure: Regenerated.
9307
1a4ac776
JM
9308 [BZ #13883]
9309 * sysdeps/i386/fpu/s_cexp.S: Remove.
9310 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9311 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9312 * math/libm-test.inc (cexp_test): Add more tests.
9313 * sysdeps/i386/fpu/libm-test-ulps: Update.
9314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9315
a458e7fe
AM
93162012-03-21 Allan McRae <allan@archlinux.org>
9317
9318 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9319
0cb7efc5
JM
93202012-03-21 Joseph Myers <joseph@codesourcery.com>
9321
9322 [BZ #13871]
9323 * math/w_exp2.c: Do not include <float.h>.
9324 (o_threshold, u_threshold): Remove.
9325 (__exp2): Calculate result before checking finiteness and calling
9326 __kernel_standard.
9327 * math/w_exp2f.c: Likewise.
9328 * math/w_exp2l.c: Likewise.
9329 * math/libm-test.inc (exp2_test): Require overflow exception for
9330 1e6 input.
2460d3aa
JM
9331
9332 [BZ #3866]
9333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9334 range of signed 64-bit integers before using fistpll. Remove
9335 checks for whether integers fit in mantissa bits.
9336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9337 the range of signed 32-bit integers before using fistpl. Remove
9338 checks for whether integers fit in mantissa bits.
9339 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9340 (__ieee754_powl): Test for y outside the range of signed 64-bit
9341 integers before using fistpll. Reduce 64-bit values to 63-bit
9342 ones as needed.
9343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9344 divide-by-zero is raised for zero to large negative powers.
9345 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9346 (__ieee754_powl): Test for y outside the range of signed 64-bit
9347 integers before using fistpll. Reduce 64-bit values to 63-bit
9348 ones as needed.
9349 * math/libm-test.inc (pow_test): Add more tests.
9350
eb96ffb0
L
93512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9354 <stdio-common/_itoa.h>.
9355 * debug/segfault.c: Likewise.
9356 * elf/dl-cache.c: Likewise.
9357 * elf/dl-minimal.c: Likewise.
9358 * elf/dl-misc.c: Likewise.
9359 * elf/dl-sysdep.c: Likewise.
9360 * elf/dl-version.c: Likewise.
9361 * elf/rtld.c: Likewise.
9362 * hurd/hurdsock.c: Likewise.
9363 * hurd/lookup-retry.c: Likewise.
9364 * malloc/malloc.c: Likewise.
9365 * malloc/mtrace.c: Likewise.
9366 * nscd/nscd_getgr_r.c: Likewise.
9367 * nscd/nscd_getpw_r.c: Likewise.
9368 * nscd/nscd_getserv_r.c: Likewise.
9369 * posix/getopt_init.c: Likewise.
9370 * posix/wordexp.c: Likewise.
9371 * stdio-common/_itoa.c: Likewise.
9372 * stdio-common/printf_fphex.c: Likewise.
9373 * stdio-common/vfprintf.c: Likewise.
9374 * string/_strerror.c: Likewise.
9375 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9376 * sysdeps/i386/i686/hp-timing.h: Likewise.
9377 * sysdeps/mach/_strerror.c: Likewise.
9378 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9379 * sysdeps/mach/hurd/sethostid.c: Likewise.
9380 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9381 * sysdeps/mach/xpg-strerror.c: Likewise.
9382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9384 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9385 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9387 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9388 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9389 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9390 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9391 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9392 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9393 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9394 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9395 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9400 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9401 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9403
9404 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9405
9406 * stdio-common/_itoa.h: Moved to ...
9407 * sysdeps/generic/_itoa.h: Here.
9408
9409 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9410
9411 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9412 instead of "_itoa.h" and "_itowa.h".
9413 * stdio-common/vfprintf.: Likewise.
9414
d1af992d
L
94152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9418 <bits/wordsize.h>.
9419 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9420 (__signbit): Likwise.
9421 (llrintf): Likwise.
9422 (llrint): Likwise.
9423
114883e0
L
94242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9427 __WORDSIZE != 64.
9428
c135cc1b
JM
94292012-03-20 Joseph Myers <joseph@codesourcery.com>
9430
9431 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9432 OVERFLOW_EXCEPTION_OK.
9433 * math/libm-test.inc ("Philosophy"): Update comment about
9434 exception testing.
9435 (OVERFLOW_EXCEPTION): Define.
9436 (OVERFLOW_EXCEPTION_OK): Likewise.
9437 (INVALID_EXCEPTION_OK): Renumber.
9438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9439 (IGNORE_ZERO_INF_SIGN): Likewise.
9440 (test_exceptions): Handle FE_OVERFLOW.
9441 (exp10_test): Expect overflow exceptions.
9442 (exp2_test): Likewise.
9443 (expm1_test): Likewise.
9444 (nextafter_test): Likewise.
9445 (pow_test): Likewise.
9446 (scalbn_test): Likewise.
9447 (scalbln_test): Likewise.
9448
95443d88
L
94492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9450
9451 * sysdeps/x86_64/bits/atomic.h
9452 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9453 64bit integer.
9454 (atomic_exchange_acq): Likewise.
9455 (__arch_exchange_and_add_body): Likewise.
9456 (__arch_add_body): Likewise.
9457 (atomic_add_negative): Likewise.
9458 (atomic_add_zero): Likewise.
9459
490df6c4
L
94602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9461
c2722551 9462 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9463 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9464
5e52b189
L
94652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9466
9467 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9468 Check __x86_64__ instead of __WORDSIZE.
9469
a9879d4c
L
94702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9471
9472 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9473
5df98260
DM
94742012-03-19 David S. Miller <davem@davemloft.net>
9475
e1497744
DM
9476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9477
5df98260
DM
9478 * sysdeps/sparc/fpu/fenv_private.h: New file.
9479 * sysdeps/sparc/fpu/math_private.h: Use it.
9480 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9481 Remove.
9482 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9483 (libc_feholdexcept_setroundl): Remove.
9484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9485 Remove.
9486 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9487 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9488
b4c35121
L
94892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9492 int64_t instead of long int.
9493 (INSERT_WORDS64): Likwise.
9494
56965fd7
L
94952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9496
9497 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9498 _Unwind_GetCFA return to _Unwind_Ptr first.
9499
83d1aec8
JM
95002012-03-19 Joseph Myers <joseph@codesourcery.com>
9501
1897ad44
JM
9502 [BZ #13629]
9503 * math/s_clog.c: Include <float.h>.
9504 (__clog): Scale large or subnormal inputs.
9505 * math/s_clogf.c: Likewise.
9506 * math/s_clogl.c: Likewise.
9507 * math/s_clog10.c: Include <float.h>.
9508 (M_LOG10_2): Define.
9509 (__clog10): Scale large or subnormal inputs.
9510 * math/s_clog10f.c: Likewise.
9511 * math/s_clog10l.c: Likewise.
9512 * math/libm-test.inc (clog_test): Add more tests.
9513 (clog10_test): Likewise.
9514 * sysdeps/i386/fpu/libm-test-ulps: Update.
9515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9516
7726d6a9
JM
9517 [BZ #11451]
9518 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9519 x and y.
9520 * math/libm-test.inc (atan2_test): Add another test.
9521
83d1aec8
JM
9522 * Makerules (common-objdir-compile): Remove.
9523 * sysdeps/unix/Makefile (config-generated): Do not add
9524 $(unix-generated) to variable.
9525 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9526 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9527 Remove rule.
9528 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9529 Likewise.
9530 [generic bits/local_lim.h] (before-compile): Do not append to
9531 variable.
9532 [generic bits/local_lim.h] (common-generated): Likewise.
9533 [generic sys/param.h] (before-compile): Do not append to variable.
9534 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9535 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9538 include.
9539 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9540 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9541 [generic sys/param.h] ($(addprefix
9542 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9543 [generic sys/param.h] (common-generated): Do not append to
9544 variable.
9545 [generic sys/param.h] (sysdep_headers): Likewise.
9546 [generic bits/errno.h] (before-compile): Do not append to
9547 variable.
9548 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9549 rule.
9550 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9551 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9552 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9553 [generic bits/errno.h] (common-generated): Do not append to
9554 variable.
9555 [generic bits/ioctls.h] (before-compile): Do not append to
9556 variable.
9557 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9558 rule.
9559 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9560 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9561 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9562 rule.
9563 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9564 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9565 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9566 [generic bits/ioctls.h] (common-generated): Do not append to
9567 variable.
9568 [generic sys/syscall.h] (syscall.h): Remove variable.
9569 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9570 rule.
9571 [generic sys/syscall.h] (before-compile): Do not append to
9572 variable.
9573 [generic sys/syscall.h] (common-generated): Likewise.
9574 * sysdeps/unix/errnos-tmpl.c: Remove file.
9575 * sysdeps/unix/errnos.awk: Likewise.
9576 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9577 * sysdeps/unix/ioctls.awk: Likewise.
9578 * sysdeps/unix/mk-local_lim.c: Likewise.
9579 * sysdeps/unix/snarf-ioctls: Likewise.
9580
4851a949
RH
95812012-03-19 Richard Henderson <rth@twiddle.net>
9582
bd37f2ee
RH
9583 * sysdeps/i386/fpu/fenv_private.h: New file.
9584 * sysdeps/i386/fpu/math_private.h: Use it.
9585 (math_opt_barrier, math_force_eval): Remove.
9586 (libc_feholdexcept_setround_53bit): Remove.
9587 (libc_feupdateenv_53bit): Remove.
9588 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9589 (math_opt_barrier, math_force_eval): Remove.
9590 (libc_feholdexcept): Remove.
9591 (libc_feholdexcept_setround): Remove.
9592 (libc_fetestexcept, libc_fesetenv): Remove.
9593 (libc_feupdateenv_test): Remove.
9594 (libc_feupdateenv, libc_feholdsetround): Remove.
9595 (libc_feresetround): Remove.
9596
d0adc922
RH
9597 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9598 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9599
0fe0f1f8
RH
9600 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9601 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9602 (libc_feupdateenv_testl): New.
9603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9604 (libc_feupdateenv_testf): New.
9605 (libc_feupdateenv): Use libc_feupdateenv_test.
9606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9608
eb92c487
RH
9609 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9610 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9611 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9612 (libc_feresetround_noex): New.
9613 (libc_feresetround_noexf): New.
9614 (libc_feresetround_noexl): New.
9615 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9616 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9617 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9618 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9619 SET_RESTORE_ROUND.
9620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9622 (__cos): Likewise.
9623 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9624 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9625 SET_RESTORE_ROUND_NOEX.
9626 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9627 SET_RESTORE_ROUND_NOEXF.
9628 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9629 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9630 (libc_feholdsetroundf): New.
9631 (libc_feresetround, libc_feresetroundf): New.
9632
7d2e8012
RH
9633 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9634 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9635 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9636
b4dabbb4
RH
9637 * sysdeps/generic/math_private.h: Include <fenv.h>.
9638 (default_libc_feholdexcept): New.
9639 (default_libc_feholdexcept_setround): New.
9640 (default_libc_fesetenv, default_libc_feupdateenv): New.
9641 (libc_feholdexcept): Only define if undefined.
9642 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9644 (libc_feholdexcept_setroundl): Likewise.
9645 (libc_feholdexcept_setround_53bit): Likewise.
9646 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9649 (libc_feupdateenv_53bit): Likewise.
9650 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9651 (libc_feholdexcept): Convert from macro to inline function.
9652 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9653 (libc_fesetenv, libc_feupdateenv): Likewise.
9654
4851a949
RH
9655 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9656 not previously defined.
9657 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9658 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9659 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9660 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9661 * sysdeps/ieee754/flt-32/math_private.h: New file.
9662 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9663 math_private.h below SET_FLOAT_WORD.
9664 (__isnan, __isinf_ns, __finite): Remove.
9665 (__isnanf, __isinf_nsf, __finitef): Remove.
9666
e79d442e
AS
96672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9668
9669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9670
90b80344
DM
96712012-03-17 David S. Miller <davem@davemloft.net>
9672
9673 [BZ #6471]
9674 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9675 for 2.16.
9676
edc21804
DM
96772012-03-16 David S. Miller <davem@davemloft.net>
9678
77e927af
DM
9679 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9680 warnings.
9681
374976dd
DM
9682 [BZ #6471]
9683 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9684 properly.
9685 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9686 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9687 sysdep_routines when subdir is sysvipc.
9688 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9689 __getshmlba helper.
9690
edc21804
DM
9691 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9692
473c3ef3
L
96932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9694
9695 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9696 [__LP64__].
9697
eb0f39b6
L
96982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9701 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9702 (__lround): Renamed to ...
9703 (__llround): This. Replace long int with long long int.
9704 Define lround functions as aliases of llround functions.
9705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9706
6b6cd74b
L
97072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9708
9709 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9710 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9711 adresses to uintptr_t. Replace "long int" and "unsigned long
9712 int" with "greg_t" on va_arg.
9713
f1a77b01
L
97142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9717 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9718
9719 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9720 Move e_machine check before EI_CLASS check. Handle x32
9721 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9722 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9723 SKIP_EM_IA_64 and include
9724 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9725
9726 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9727 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9728 (add_system_dir): New macro.
9729
9730 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9731 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9732
11b90b9f
JM
97332012-03-16 Joseph Myers <joseph@codesourcery.com>
9734
c36e1d23
JM
9735 [BZ #2551]
9736 [BZ #2552]
9737 [BZ #2553]
9738 [BZ #2554]
9739 [BZ #2562]
9740 [BZ #2563]
9741 [BZ #2565]
9742 [BZ #2566]
9743 [BZ #2576]
9744 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9745 (y0): Likewise.
9746 * math/w_j0f.c (j0f): Likewise.
9747 (y0f): Likewise.
9748 * math/w_j0l.c (__j0l): Likewise.
9749 (__y0l): Likewise.
9750 * math/w_j1.c (j1): Likewise.
9751 (y1): Likewise.
9752 * math/w_j1f.c (j1f): Likewise.
9753 (y1f): Likewise.
9754 * math/w_j1l.c (__j1l): Likewise.
9755 (__y1l): Likewise.
9756 * math/w_jn.c (jn): Likewise.
9757 (yn): Likewise.
9758 * math/w_jnf.c (jnf): Likewise.
9759 (ynf): Likewise.
9760 * math/w_jnl.c (__jnl): Likewise.
9761 (__ynl): Likewise.
9762 * math/libm-test.inc (j0_test): Add more tests.
9763 (j1_test): Likewise.
9764 (jn_test): Likewise. Add trailing semicolon to existing test.
9765 (y0_test): Likewise.
9766 (y1_test): Likewise.
9767 * sysdeps/i386/fpu/libm-test-ulps: Update.
9768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769
11b90b9f
JM
9770 [BZ #13851]
9771 [BZ #13854]
9772 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9773 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9774 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9776 (__tanl): Set errno for infinite argument.
9777 * sysdeps/i386/fpu/mptan.c: Remove.
9778 * sysdeps/i386/fpu/s_tan.S: Likewise.
9779 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9780 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9781 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9782 * math/libm-test.inc (tan_test): Add more tests and enable more
9783 tests for double and long double.
9784 * sysdeps/i386/fpu/libm-test-ulps: Update.
9785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9786
6a1bd2a1
JK
97872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9788
9789 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9790 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9791
10a803e0
RM
97922012-03-16 Roland McGrath <roland@hack.frob.com>
9793
9794 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9795 * configure.in: Use it for both main tree and add-ons.
9796 * configure: Regenerated.
9797
f196c7f7
L
97982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9801
8848d99d
JM
98022012-03-16 Joseph Myers <joseph@codesourcery.com>
9803
96cbe7f4
JM
9804 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9805 in comment.
9806
8848d99d
JM
9807 [BZ #13851]
9808 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9809 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9813 infinite argument.
9814 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9816 != 0 for prec == 2.
9817 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9818 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9819 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9820 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9821 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9822 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9823 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9824 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9825 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9826 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9827 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9828 * math/libm-test.inc (cos_test): Add more tests and enable more
9829 tests for long double.
9830 (sin_test): Likewise.
9831 (sincos_test): Likewise.
9832 * sysdeps/i386/fpu/libm-test-ulps: Update.
9833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9834
dd7f4703
DM
98352012-03-16 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/fpu/math_private.h: New file.
9838
006f1daa
DM
98392012-03-15 David S. Miller <davem@davemloft.net>
9840
c0c83bc8
DM
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9842 file.
e6a62e18 9843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9845 file.
e6a62e18
DM
9846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9852 sysdep routines.
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9854
88cb87d9
DM
9855 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9856 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9857
006f1daa 9858 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9860 sparc-ifunc.h
006f1daa 9861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9863 Likewise.
9864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9865 Likewise.
006f1daa
DM
9866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9870 Likewise.
006f1daa
DM
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9876 Likewise.
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9878 Likewise.
006f1daa
DM
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9903
11e0098e
AS
99042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9905
9906 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9907 scaling.
9908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9909
e85b09d0
AJ
99102012-03-15 Andreas Jaeger <aj@suse.de>
9911
9912 [BZ #13852]
9913 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9914 ieee754/flt-32 implementation for sin, cos and sincos.
9915 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9916 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9917 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9918 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9919 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9920 ieee754/flt-32 implementation for tan.
9921
9922 * math/libm-test.inc (cos_test): Enable some large input tests for
9923 float as well
9924 (sin_test): Likewise.
9925 (sincos_test): Likewise.
9926 (tan_test): Add tests for large input.
9927
9928 * sysdeps/i386/fpu/libm-test-ulps: Update.
9929
81c64153
AJ
99302012-03-15 Andreas Jaeger <aj@suse.de>
9931
9932 [BZ #13658]
9933 * math/libm-test.inc (cos_test): Add more test cases.
9934 (sin_test): Likewise.
9935 (sincos_test): Likewise.
9936
7bbfa5c6
AJ
99372012-03-15 Andreas Jaeger <aj@suse.de>
9938
9939 [BZ #13837]
9940 * math/libm-test.inc (cos_test): Add a test case for large input
9941 value.
9942 (sin_test): Likewise.
9943 (sincos_test): Likewise.
9944
99452012-03-15 Andreas Jaeger <aj@suse.de>,
9946 Joseph Myers <joseph@codesourcery.com>
9947
9948 [BZ #13658]
0671f479 9949 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9950 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9951 * sysdeps/i386/fpu/branred.c: Likewise.
9952 * sysdeps/i386/fpu/dosincos.c: Likewise.
9953 * sysdeps/i386/fpu/mpa.c: Likewise.
9954 * sysdeps/i386/fpu/s_cos.S: Likewise.
9955 * sysdeps/i386/fpu/s_sin.S: Likewise.
9956 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9957 * sysdeps/i386/fpu/sincos32.c: Likewise.
9958
9959 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9960 Define.
9961 (libc_feupdateenv_53bit): Define.
9962 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9963 Define.
9964 (libc_feupdateenv_53bit): Define.
9965
9966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9967 53 bit (without extend i386 double precision).
9968
9969 * math/libm-test.inc (sincos_test): Add tests for large input.
9970 (sin): Likewise.
9971 (cos): Likewise.
9972
9973 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9974
9cad04ea
AS
99752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9976
9977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9978
f7062b9a
DM
99792012-03-15 David S. Miller <davem@davemloft.net>
9980
9981 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9982 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9984 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9997 file.
f7062b9a 9998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10000 file.
f7062b9a 10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10003 file.
f7062b9a 10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10006 file.
f7062b9a
DM
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10009 fmin/fmax sysdep routines.
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10011
7bd951ff
DM
100122012-03-14 David S. Miller <davem@davemloft.net>
10013
559398ab
DM
10014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10043 routines.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10045 file.
559398ab 10046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10048 file.
559398ab 10049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10051 file.
559398ab 10052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10054 file.
559398ab 10055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10057 file.
559398ab 10058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10060 file.
10061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10062 file.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10064 file.
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10066 file.
10067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10068 New file.
10069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10070 file.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10072 file.
559398ab 10073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10075 file.
559398ab 10076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10078 file.
559398ab 10079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10081 file.
559398ab 10082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10084 VIS3 routines.
559398ab
DM
10085
10086 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10087 New file.
10088
5a1c1e32
DM
10089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10090
eae47a36
DM
10091 * sysdeps/sparc/configure.in: New file.
10092 * sysdeps/sparc/configure: Generate.
10093 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10094 * configure: Regenerate.
10095 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10096 * config.make.in (have-as-vis3): New.
10097 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10098 available use -Av9d instead of -Av9a.
10099 * sysdeps/sparc/sparc64/Makefile: Likewise.
10100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10102 New file.
10103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10104 file.
10105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10106 New file.
10107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10108 file.
eae47a36
DM
10109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10114
c0c83bc8
DM
10115 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10116 fzeros/fnegs to load 0x80000000 into a float register instead of
10117 using the stack.
7bd951ff
DM
10118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10119
bd951ccb
JM
101202012-03-14 Joseph Myers <joseph@codesourcery.com>
10121
10122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10123 bits/syscall.h.
10124 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10125 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10126 ($(inst_includedir)/bits/syscall.h): Remove rule.
10127 ($(objpfx)bits/syscall.d): Include instead of
10128 $(objpfx)syscall-list.d.
10129 (generated): Change syscall-list.h and syscall-list.d to
10130 bits/syscall.h and bits/syscall.d.
10131
bb4e6db2
RM
101322012-03-14 Roland McGrath <roland@hack.frob.com>
10133
10134 [BZ #13846]
10135 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10136
aa4a2ae1
JM
101372012-03-14 Joseph Myers <joseph@codesourcery.com>
10138
e456826d
JM
10139 [BZ #13841]
10140 * math/s_csqrt.c: Include <float.h>.
10141 (__csqrt): Scale large or subnormal inputs.
10142 * math/s_csqrtf.c: Likewise.
10143 * math/s_csqrtl.c: Likewise.
10144 * math/libm-test.inc (csqrt_test): Add more tests.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147
aa4a2ae1
JM
10148 [BZ #13840]
10149 * math/libm-test.inc (hypot_test): Add more tests.
10150
7c10fd35
DM
101512012-03-13 David S. Miller <davem@davemloft.net>
10152
10153 [BZ #13840]
10154 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10155 double-precision for the calculation instead of scaling.
10156
f453b98b
JM
101572012-03-13 Joseph Myers <joseph@codesourcery.com>
10158
10159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10160 manipulate bits before adding and subtracting TWO52[sx].
10161 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10163 Likewise.
10164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10165
09a3453f
DM
101662012-03-13 David S. Miller <davem@davemloft.net>
10167
8e59da90
DM
10168 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10169 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10171 rtld-global-offsets.h
10172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10173
2a8ab7f2
DM
10174 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10175 large parameters.
10176
10f62770
DM
10177 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10178
5f0bdb18
DM
10179 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10180 'err' in the ifdef scope in which it is actually used.
10181
09a3453f
DM
10182 * nss/nss_db/db-init.c: Include string.h
10183
b4b2eb5e
DM
101842012-03-12 David S. Miller <davem@davemloft.net>
10185
98bb2f1c
DM
10186 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10187 masking out of the most significant byte of random value used.
10188 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10189 Fix coding style in previous change.
10190
b4b2eb5e
DM
10191 * sysdeps/unix/sysv/linux/kernel-features.h
10192 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10193 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10194 expression.
10195 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10196 later.
10197
6e226b09
DM
101982012-03-11 David S. Miller <davem@davemloft.net>
10199
a1bcbd40
DM
10200 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10201 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10203 for 'resultvar' otherwise things get truncated on 64-bit.
10204
cb9d6174
DM
10205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10206 Fix masking out of the most significant byte of random value used.
10207
6e226b09
DM
10208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10209
058c132d
AS
102102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10211
10212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10213
2d2cd515
DM
102142012-03-09 David S. Miller <davem@davemloft.net>
10215
10216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10217 variables with appropriate CPP guards.
10218 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10219 frame pointer, not the stack pointer. Correct layout comments. Fix test
10220 on resulting framesize and the management of the outregs buffer for pltexit.
10221 Preserve floating point return values across _dl_call_pltexit call.
10222 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10223 framesize and the management of the outregs buffer for pltexit.
10224 Preserve floating point return values across _dl_call_pltexit
10225 call.
10226 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10227 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10228 (print_exit): Fix format string for return register value.
10229
9a07f9d0
JM
102302012-03-10 Joseph Myers <joseph@codesourcery.com>
10231
10232 * sunrpc/Makefile (others): Add rpcgen.
10233 ($(objpfx)rpcgen): Remove special build rule and dependency on
10234 libc.
10235 * sunrpc/rpcgen.c: New file.
10236
547b5e30
PE
102372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10238
c524201a
PE
10239 [BZ #13673]
10240 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10241 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10242 * sysdeps/i386/crti.S: Likewise.
10243 * sysdeps/i386/crtn.S: Likewise.
10244 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10245 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10246 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10247 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10248 * sysdeps/sh/crti.S: Likewise.
10249 * sysdeps/sh/crtn.S: Likewise.
10250 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10251
7b6235f2
PE
10252 [BZ #13673]
10253 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10254 with URL.
10255 * locale/programs/locfile-kw.gperf: Likewise.
10256 * locale/programs/charmap-kw.h: Regenerated.
10257 * locale/programs/locfile-kw.h: Likewise.
10258
547b5e30
PE
10259 [BZ #13673]
10260 * intl/plural.y: Replace FSF snail mail address with URL.
10261 * intl/plural.c: Regenerated.
10262
5f0a5dae
RH
102632012-03-09 Richard Henderson <rth@twiddle.net>
10264
10265 * include/math_private.h: Remove file.
10266 * math/math_private.h: Move file ...
10267 * sysdeps/generic/math_private.h: ... here.
10268
b8c03620
RH
10269 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10270 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10271 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10272
4e234f5d 10273 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10274 and <math_private.h>.
10275 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10276 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10277 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10278 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10279 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10325 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10326 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10327 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10328 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10363 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10366 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10368 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10369 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10370 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10372 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10373 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10374 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10375 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10376 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10377 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10378 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10379 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10380 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10381 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10382 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10387 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10389 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10401 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10402 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10403 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10404 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10405 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10406 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10407 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10408 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10409 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10410 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10411 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10412 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10413 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10414 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10417 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10418 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10422 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10423 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10424 * sysdeps/ieee754/k_standard.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10544 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10547 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10555 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10557 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10574 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10575 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10585 * sysdeps/ieee754/s_lib_version.c: Likewise.
10586 * sysdeps/ieee754/s_matherr.c: Likewise.
10587 * sysdeps/ieee754/s_signgam.c: Likewise.
10588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10590 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10591 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10592 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10593 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10594 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10595 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10596 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10597 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10598 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10599 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10603 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10605 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10606 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10609
1991fa03
JM
106102012-03-09 Joseph Myers <joseph@codesourcery.com>
10611
10612 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10613 * sunrpc/rpc_main.c: Likewise.
10614 * sunrpc/rpc_svcout.c: Likewise.
10615
60d6f5a6
DM
106162012-03-09 David S. Miller <davem@davemloft.net>
10617
10618 * include/math_private.h: New file.
10619
4962050e
JM
106202012-03-09 Joseph Myers <joseph@codesourcery.com>
10621
02a6f887
JM
10622 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10623 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10624 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10625 from <bits/socket_type.h>.
10626 (enum __socket_type): Don't define here.
10627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10629 bits/socket_type.h.
10630
c6e013c1
JM
10631 [BZ #13566]
10632 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10633 checking __USE_GNU.
10634
4962050e
JM
10635 * Makerules ($(inst_includedir)/%.h): New rule.
10636 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10637 (install-others): Remove variable setting.
10638 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10639
38842f45
RH
106402012-03-08 Richard Henderson <rth@twiddle.net>
10641
67bb6da6
RH
10642 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10643 from macro to inline function; merge with the
10644 !__LIBC_INTERNAL_MATH_INLINES version.
10645 (__ieee754_sqrtf): Likewise.
10646
15194b4b
RH
10647 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10648 to inline function.
10649 (__rintf, __floor, __floorf): Likewise.
10650
64e21ede
RH
10651 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10652 macro to inline function.
10653 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10654
38842f45
RH
10655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10656 not <math/math_private.h>.
10657
c64bf5fe
DM
106582012-03-08 David S. Miller <davem@davemloft.net>
10659
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10661 copyright year.
10662 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10663
82d86f28
TS
106642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10665
10666 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10667 normalization.
10668 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10669 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10670
aea5d727
UD
106712012-03-08 Ulrich Drepper <drepper@gmail.com>
10672
10673 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10674 be defined individually, they must be defined as a block. Define
10675 S for printing a string instead of hidint the different by using a
10676 macro for adding the 'l'.
10677 * stdio-common/tst-fphex-wide.c: Adjust.
10678
70bca0a3
MP
106792012-03-07 Marek Polacek <polacek@redhat.com>
10680
10681 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10682
65b81130
MP
106832012-03-08 Marek Polacek <polacek@redhat.com>
10684
10685 [BZ #13806]
10686 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10687 * stdio-common/tst-fphex.c: Define a few macros to make the
10688 test reusable. Use them.
10689 * stdio-common/tst-fphex-wide.c: New file.
10690
07037eeb
JM
106912012-03-08 Joseph Myers <joseph@codesourcery.com>
10692
a7a93d50
JM
10693 [BZ #6911]
10694 * manual/macros.texi (gnusystems): New macro.
10695 (nongnusystems): Likewise.
10696 (gnulinuxhurdsystems): Likewise.
10697 (gnuhurdsystems): Likewise..
10698 (gnulinuxsystems): Likewise.
10699 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10700 variants of the GNU system, not "GNU system".
10701 * manual/conf.texi: Likewise.
10702 * manual/errno.texi: Likewise. Update example of errno macro
10703 expansion.
10704 * manual/filesys.texi: Likewise.
10705 (getumask): Document as specific to GNU/Hurd.
10706 * manual/install.texi: Likewise. Reword some references to
10707 GNU/Linux.
10708 * manual/intro.texi: Likewise.
10709 * manual/io.texi: Likewise.
10710 (File Name Portability): Detail which constraints are inapplicable
10711 to all GNU systems and which are only inapplicable to GNU/Hurd.
10712 * manual/job.texi: Likewise.
10713 * manual/llio.texi: Likewise.
10714 (O_NOCTTY): Document as present on GNU/Linux.
10715 * manual/maint.texi: Likewise.
10716 * manual/memory.texi: Likewise.
10717 * manual/pattern.texi: Likewise.
10718 * manual/pipe.texi: Likewise.
10719 * manual/process.texi: Likewise.
10720 * manual/resource.texi: Likewise.
10721 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10722 child on GNU/Hurd.
10723 * manual/setjmp.texi: Likewise.
10724 * manual/signal.texi: Likewise.
10725 * manual/startup.texi: Likewise.
10726 * manual/stdio.texi: Likewise.
10727 * manual/terminal.texi: Likewise.
10728 (ONLCR): Document as POSIX.
10729 (OXTABS): Document availability on GNU/Linux as XTABS.
10730 (ONOEOT): Document availability separately from other bits.
10731 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10732 * manual/time.texi: Likewise.
10733 * manual/users.texi: Likewise.
10734 * INSTALL: Regenerated.
10735 * sysdeps/gnu/errlist.c: Regenerated.
10736
07037eeb
JM
10737 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10738 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10739 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10740 puts.
10741 * configure: Regenerated.
10742
d1d3431a
JM
107432012-03-07 Joseph Myers <joseph@codesourcery.com>
10744
af6a1e37
JM
10745 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10746 default includes instead of AC_HEADER_CHECK.
10747 * sysdeps/i386/configure: Regenerated.
10748
d1d3431a
JM
10749 [BZ #10716]
10750 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10751 * math/s_cacoshf.c (__cacoshf): Likewise.
10752 * math/s_cacoshl.c (__cacoshl): Likewise.
10753 * math/s_casinh.c (__casinh): Set signs of result from argument.
10754 * math/s_casinhf.c (__casinhf): Likewise.
10755 * math/s_casinhl.c (__casinhl): Likewise.
10756 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10757 (casinh_test): Add more tests.
10758 * sysdeps/i386/fpu/libm-test-ulps: Update.
10759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760
482ff4da
UD
107612012-03-07 Ulrich Drepper <drepper@gmail.com>
10762
872fda05
UD
10763 * po/zh_TW.po: Update from translation team.
10764
a4300c7a
UD
10765 * login/Makefile (distribute): Remove variable.
10766 * catgets/Makefile: Likewise.
10767 * mach/Makefile: Likewise.
10768 * malloc/Makefile: Likewise.
10769 * misc/Makefile: Likewise.
10770 * iconv/Makefile: Likewise.
10771 * nscd/Makefile: Likewise.
10772 * hurd/Makefile: Likewise.
10773 * manual/Makefile: Likewise.
10774 * locale/Makefile: Likewise.
10775 * intl/Makefile: Likewise.
10776 * conform/Makefile: Likewise.
10777 * nss/Makefile: Likewise.
10778 * time/Makefile: Likewise.
10779 * soft-fp/Makefile: Likewise.
10780 * dirent/Makefile: Likewise.
10781 * gmon/Makefile: Likewise.
10782 * po/Makefile: Likewise.
10783 * rt/Makefile: Likewise.
10784 * socket/Makefile: Likewise.
10785 * math/Makefile: Likewise.
10786 * signal/Makefile: Likewise.
10787 * debug/Makefile: Likewise.
10788 * elf/Makefile: Likewise.
10789 * timezone/Makefile: Likewise.
10790 * stdlib/Makefile: Likewise.
10791 * iconvdata/Makefile: Likewise.
10792 * sunrpc/Makefile: Likewise.
10793 * io/Makefile: Likewise.
10794 * argp/Makefile: Likewise.
10795 * inet/Makefile: Likewise.
10796 * hesiod/Makefile: Likewise.
10797 * grp/Makefile: Likewise.
10798 * csu/Makefile: Likewise.
10799 * wctype/Makefile: Likewise.
10800 * crypt/Makefile: Likewise.
10801 * libio/Makefile: Likewise.
10802 * string/Makefile: Likewise.
10803 * nis/Makefile: Likewise.
10804 * resolv/Makefile: Likewise.
10805 * stdio-common/Makefile: Likewise.
10806 * wcsmbs/Makefile: Likewise.
10807 * dlfcn/Makefile: Likewise.
10808 * posix/Makefile: Likewise.
10809
3b7c4e74 10810 [BZ #6959]
482ff4da
UD
10811 * timezone/Makefile: Don't install timezone files, just the programs
10812 and scripts.
10813
f72ed77d
UD
108142012-03-06 Ulrich Drepper <drepper@gmail.com>
10815
a000466f
UD
10816 * nss/databases.def: Add missing gshadow entry.
10817
f72ed77d
UD
10818 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10819
a53b7a4e
MP
108202012-03-06 Marek Polacek <polacek@redhat.com>
10821
10822 [BZ #13726]
10823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10825 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10826 * stdio-common/tst-long-dbl-fphex.c: New file.
10827
e9258400
DM
108282012-03-06 David S. Miller <davem@davemloft.net>
10829
10830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10831 (set_obp_int): New function.
10832 (get_obp_int): New function.
10833 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10834 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10835 Avoid unused variable warnings on 'val' and use builtin_expect.
10836 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10837 __builtin_expect.
e9258400
DM
10838 (INLINE_CLONE_SYSCALL): Likewise.
10839
3bd2c723
DM
108402012-03-05 David S. Miller <davem@davemloft.net>
10841
10842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10843
bbb78d03
AS
108442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10845
884c5db4
AS
10846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10847
bbb78d03
AS
10848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10849 only for |x| >= 40.
10850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10851
1c9f702a 108522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10853
10854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10855 Replace gettimeofday with __vdso_gettimeofday.
10856
7be16f82
RM
10857 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10858 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10859 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10860
10861 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10862 time with __vdso_time.
10863
ed58a00f
JM
108642012-03-05 Joseph Myers <joseph@codesourcery.com>
10865
10866 * manual/lang.texi (size_t): Note types to which size_t may be
10867 equivalent with the GNU C Library, but do not describe when
10868 differences between them are significant.
10869
30ee4ced
AJ
108702012-03-05 Andreas Jaeger <aj@suse.de>
10871
10872 * sysdeps/i386/fpu/libm-test-ulps: Update.
10873
b7cd39e8
JM
108742012-03-05 Joseph Myers <joseph@codesourcery.com>
10875
10876 [BZ #3976]
10877 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10878 (__ieee754_pow): Save and restore rounding mode and use
10879 round-to-nearest for main computations.
10880 * math/libm-test.inc (pow_test_tonearest): New function.
10881 (pow_test_towardzero): Likewise.
10882 (pow_test_downward): Likewise.
10883 (pow_test_upward): Likewise.
10884 (main): Call the new functions.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10887
10888 [BZ #3976]
10889 * math/libm-test.inc (cosh_test_tonearest): New function.
10890 (cosh_test_towardzero): Likewise.
10891 (cosh_test_downward): Likewise.
10892 (cosh_test_upward): Likewise.
10893 (sinh_test_tonearest): Likewise.
10894 (sinh_test_towardzero): Likewise.
10895 (sinh_test_downward): Likewise.
10896 (sinh_test_upward): Likewise.
10897 (main): Call the new functions.
10898 * sysdeps/i386/fpu/libm-test-ulps: Update.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10900
6c6a98c9
TV
109012012-03-05 Tom de Vries <tom@codesourcery.com>
10902
10903 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10904 default stack guard is set in last bytes.
10905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10906
21bb2d2e 109072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10908
21bb2d2e 10909 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10910
21bb2d2e
AJ
10911 [BZ #13656]
10912 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10913 possibly allocate from heap instead of stack.
10914 * stdio-common/bug-vfprintf-nargs.c: New file.
10915 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10916
c6922934
AS
109172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10918
10919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10920
bc957d53
MP
109212012-03-03 Marek Polacek <polacek@redhat.com>
10922
10923 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10924 * math/math_private.h: Likewise.
10925 * stdlib/tst-strtod.c: Likewise.
10926 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10927 * sysdeps/x86_64/bits/atomic.h: Likewise.
10928
6358490d
DM
109292012-03-02 David S. Miller <davem@davemloft.net>
10930
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10935 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10936 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10937 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10939
01ae168d
RM
109402012-03-02 Roland McGrath <roland@hack.frob.com>
10941
d9a17c07
RM
10942 [BZ #13792]
10943 * manual/examples/README: New file, says the example source files
10944 can be used under GPL>=2.
10945 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10946 line containing just "*/".
10947 * manual/examples/add.c: Add copyright header (GPL>=2).
10948 * manual/examples/argp-ex1.c: Likewise.
10949 * manual/examples/argp-ex2.c: Likewise.
10950 * manual/examples/argp-ex3.c: Likewise.
10951 * manual/examples/argp-ex4.c: Likewise.
10952 * manual/examples/atexit.c: Likewise.
10953 * manual/examples/db.c: Likewise.
10954 * manual/examples/dir.c: Likewise.
10955 * manual/examples/dir2.c: Likewise.
10956 * manual/examples/execinfo.c: Likewise.
10957 * manual/examples/filecli.c: Likewise.
10958 * manual/examples/filesrv.c: Likewise.
10959 * manual/examples/fmtmsgexpl.c: Likewise.
10960 * manual/examples/genpass.c: Likewise.
10961 * manual/examples/inetcli.c: Likewise.
10962 * manual/examples/inetsrv.c: Likewise.
10963 * manual/examples/isockad.c: Likewise.
10964 * manual/examples/longopt.c: Likewise.
10965 * manual/examples/memopen.c: Likewise.
10966 * manual/examples/memstrm.c: Likewise.
10967 * manual/examples/mkfsock.c: Likewise.
10968 * manual/examples/mkisock.c: Likewise.
10969 * manual/examples/mygetpass.c: Likewise.
10970 * manual/examples/pipe.c: Likewise.
10971 * manual/examples/popen.c: Likewise.
10972 * manual/examples/rprintf.c: Likewise.
10973 * manual/examples/search.c: Likewise.
10974 * manual/examples/select.c: Likewise.
10975 * manual/examples/setjmp.c: Likewise.
10976 * manual/examples/sigh1.c: Likewise.
10977 * manual/examples/sigusr.c: Likewise.
10978 * manual/examples/stpcpy.c: Likewise.
10979 * manual/examples/strdupa.c: Likewise.
10980 * manual/examples/strftim.c: Likewise.
10981 * manual/examples/strncat.c: Likewise.
10982 * manual/examples/subopt.c: Likewise.
10983 * manual/examples/swapcontext.c: Likewise.
10984 * manual/examples/termios.c: Likewise.
10985 * manual/examples/testopt.c: Likewise.
10986 * manual/examples/testpass.c: Likewise.
10987 * manual/examples/timeval_subtract.c: Likewise.
10988
01ae168d
RM
10989 [BZ #13792]
10990 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10991 function to ...
10992 * manual/timeval_subtract.c.texi: ... here, new file.
10993
49efa33d
DM
109942012-03-02 David S. Miller <davem@davemloft.net>
10995
10996 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10997
28afd92d
JM
109982012-03-02 Joseph Myers <joseph@codesourcery.com>
10999
804360ed
JM
11000 [BZ #3976]
11001 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11002 (__sin): Save and restore rounding mode and use round-to-nearest
11003 for all computations.
11004 (__cos): Save and restore rounding mode and use round-to-nearest
11005 for all computations.
11006 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11007 <fenv.h>.
11008 (tan): Save and restore rounding mode and use round-to-nearest for
11009 all computations.
11010 * math/libm-test.inc (cos_test_tonearest): New function.
11011 (cos_test_towardzero): Likewise.
11012 (cos_test_downward): Likewise.
11013 (cos_test_upward): Likewise.
11014 (sin_test_tonearest): Likewise.
11015 (sin_test_towardzero): Likewise.
11016 (sin_test_downward): Likewise.
11017 (sin_test_upward): Likewise.
11018 (tan_test_tonearest): Likewise.
11019 (tan_test_towardzero): Likewise.
11020 (tan_test_downward): Likewise.
11021 (tan_test_upward): Likewise.
11022 (main): Call the new functions.
11023 * sysdeps/i386/fpu/libm-test-ulps: Update.
11024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11025
a6d06d7b
JM
11026 [BZ #10135]
11027 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11028 small n, then large n, before computing and testing k+n.
11029 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11031 Likewise.
11032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11033 Likewise.
11034 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11035 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11040 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11041 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11042 * math/libm-test.inc (scalbn_test): Add more tests.
11043 (scalbln_test): Likewise.
11044
07e12bb3
JM
11045 * manual/filesys.texi (mode_t): Describe constraints on size and
11046 signedness, not exact equivalence to a particular type.
11047 (ino_t): Likewise.
11048 (ino64_t): Likewise.
11049 (dev_t): Likewise.
11050 (nlink_t): Likewise.
11051 (blkcnt_t): Likewise.
11052 (blkcnt64_t): Likewise.
11053 * manual/llio.texi (off_t): Likewise.
11054
28afd92d
JM
11055 [BZ #3976]
11056 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11057 (__ieee754_exp): Save and restore rounding mode and use
11058 round-to-nearest for all computations.
11059 * math/libm-test.inc (exp_test_tonearest): New function.
11060 (exp_test_towardzero): Likewise.
11061 (exp_test_downward): Likewise.
11062 (exp_test_upward): Likewise.
11063 (main): Call the new functions.
11064 * sysdeps/i386/fpu/libm-test-ulps: Update.
11065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066
b1eeb65d
CD
110672012-03-01 Chris Demetriou <cgd@google.com>
11068
11069 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11070 have predictable order.
11071
53362a4b
DM
110722012-03-01 David S. Miller <davem@davemloft.net>
11073
3c969083
DM
11074 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11075
759707de
DM
11076 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11077 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11078 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11079 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11080
dfdb8ff2
DM
11081 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11082 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11083 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11086 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11089 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11090
ead89f96
DM
11091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11092
7f66bd07
DM
11093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11094 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11096
53362a4b
DM
11097 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11100 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11101 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11104 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11105 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11108 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11111 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11113 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11114 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11115 * sysdeps/sparc/elf/configure: Regenerated.
11116
7b1902cb
JM
111172012-03-01 Joseph Myers <joseph@codesourcery.com>
11118
bec039bc
JM
11119 * configure.in (AS, LD): Require binutils 2.20 or later.
11120 * configure: Regenerated.
11121 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11122 as required minimum version.
11123 * INSTALL: Regenerated.
11124
7b1902cb
JM
11125 [BZ #2541]
11126 [BZ #4108]
11127 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11128 before squaring exponent.
11129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11130 bottom long double and 27 bits of top long double before squaring
11131 exponent.
11132 * math/libm-test.inc (erfc_test): Add more tests.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11136
f775c276
KT
111372012-03-01 Kai Tietz <ktietz@redhat.com>
11138
11139 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11140 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11141 containing bit-fields.
11142 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11143 * soft-fp/single.h (_FP_UNION_S): Likewise.
11144 * soft-fp/double.h (_FP_UNION_D): Likewise.
11145
5b8a4d4a
JM
111462012-02-29 Joseph Myers <joseph@codesourcery.com>
11147
0bab47b6
JM
11148 [BZ #13786]
11149 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11150 not include ../strcmp.S.
11151 [USE_AS_STRNCASECMP_L]: Likewise.
11152 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11153 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11154 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11155 (__strncasecmp_l_ia32): Define as alias to
11156 __strncasecmp_l_nonascii.
11157
0fcad3e2
JM
11158 [BZ #5794]
11159 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11160 * sysdeps/i386/fpu/libm-test-ulps: Update.
11161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11162
5b8a4d4a
JM
11163 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
8fdceb2e
JL
111662012-02-29 Jeff Law <law@redhat.com>
11167
11168 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11169 out of bounds read.
11170
1f393a11
MP
111712012-02-29 Marek Polacek <polacek@redhat.com>
11172
11173 [BZ #13706]
11174 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11175 * elf/Makefile: Add rules to run tst-unused-dep.out.
11176
8847f037
DM
111772012-02-28 David S. Miller <davem@davemloft.net>
11178
11179 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11180 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11185
169d7f11
JM
111862012-02-29 Joseph Myers <joseph@codesourcery.com>
11187
11188 * math/libm-test.inc (llround_test): Move one test from
11189 lround_test. Use TEST_f_L in moved test.
11190 (lround_test): Move misplaced test to llround_test. Add testcase
11191 from bug 2561.
11192
39adf059
UD
111932012-02-28 Ulrich Drepper <drepper@gmail.com>
11194
11195 * sysdeps/x86_64/fpu/e_expf.S: New file.
11196 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11197
71b5d1c5
SB
111982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11199
11200 [BZ #13637]
11201 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11202 of remain_len that may cause incomplete multi-byte character and
11203 false match.
11204 * posix/bug-regex33.c: New file.
11205 * posix/Makefile (tests): Add bug-regex33.
11206
1f77f049
JM
112072012-02-28 Joseph Myers <joseph@codesourcery.com>
11208
11209 * manual/macros.texi: New file.
11210 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11211 * manual/libc.texinfo: Include macros.texi.
11212 * manual/creatute.texi: Likewise.
11213 * manual/install.texi: Likewise.
11214 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11215 @glibcadj{} in references to the GNU C Library.
11216 * manual/charset.texi: Likewise.
11217 * manual/conf.texi: Likewise.
11218 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11219 when not using those macros.
11220 * manual/creature.texi: Likewise.
11221 * manual/crypt.texi: Likewise.
11222 * manual/errno.texi: Likewise.
11223 * manual/filesys.texi: Likewise.
11224 * manual/header.texi: Likewise.
11225 * manual/install.texi: Likewise.
11226 * manual/intro.texi: Likewise.
11227 * manual/io.texi: Likewise.
11228 * manual/job.texi: Likewise.
11229 * manual/lang.texi: Likewise.
11230 * manual/libc.texiinfo: Likewise.
11231 * manual/llio.texi: Likewise.
11232 * manual/locale.texi: Likewise.
11233 * manual/maint.texi: Likewise.
11234 * manual/math.texi: Likewise.
11235 * manual/memory.texi: Likewise.
11236 * manual/message.texi: Likewise.
11237 * manual/nss.texi: Likewise.
11238 * manual/pattern.texi: Likewise.
11239 * manual/process.texi: Likewise.
11240 * manual/resource.texi: Likewise.
11241 * manual/search.texi: Likewise.
11242 * manual/setjmp.texi: Likewise.
11243 * manual/signal.texi: Likewise.
11244 * manual/socket.texi: Likewise.
11245 * manual/startup.texi: Likewise.
11246 * manual/stdio.texi: Likewise.
11247 * manual/string.texi: Likewise.
11248 * manual/sysinfo.texi: Likewise.
11249 * manual/syslog.texi: Likewise.
11250 * manual/terminal.texi: Likewise.
11251 * manual/time.texi: Likewise.
11252 * manual/users.texi: Likewise.
11253 * INSTALL: Regenerated.
11254 * NOTES: Regenerated.
d40c5d54 11255 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11256
450bf206
AS
112572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11258
11259 * include/dirent.h: Include <dirstream.h> before
11260 <dirent/dirent.h>.
11261
741a235b
DM
112622012-02-28 David S. Miller <davem@davemloft.net>
11263
11264 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11265 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11266 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11268
d6b5aa58
DM
112692012-02-27 David S. Miller <davem@davemloft.net>
11270
1aff59a3
DM
11271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11273 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11274 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11275
d6b5aa58
DM
11276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11277 frame pointer instead of stack pointer relative arg slot.
11278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11279 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11280 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11281
433f48bf
CD
112822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11283
11284 [BZ #3992]
11285 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11286
d674b76d
DM
112872012-02-27 David S. Miller <davem@davemloft.net>
11288
11289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11295 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11296 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11297
0e7727f7
JM
112982012-02-27 Joseph Myers <joseph@codesourcery.com>
11299
11300 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11301 later. Allow versions 5-9.
43be4ca2 11302 * configure: Regenerated.
0e7727f7
JM
11303 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11304 required minimum version and 4.6 as recommended version. Do not
11305 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11306 * INSTALL: Regenerated.
0e7727f7 11307
a78bc654
DM
113082012-02-27 David S. Miller <davem@davemloft.net>
11309
428d5830
DM
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11316 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11318
a78bc654
DM
11319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11320 manipulate bits before adding and subtracting TWO112[sx].
11321 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11322
4579f81c
RM
113232012-02-27 Roland McGrath <roland@hack.frob.com>
11324
36c8acb4
RM
11325 [BZ #13775]
11326 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11327 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11328 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11329 being in POSIX, because they are in 1003.1-2008.
11330
84ad622b
RM
11331 * rt/tst-aio.c: Include <fcntl.h>.
11332 * rt/tst-aio7.c: Likewise.
11333 * rt/tst-aio64.c: Likewise.
11334
4579f81c
RM
11335 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11336
abd923db
JM
113372012-02-27 Joseph Myers <joseph@codesourcery.com>
11338
11339 * manual/install.texi (--with-headers): Describe headers as
11340 interface headers, not private headers.
11341 (Specific advice for GNU/Linux systems): Describe use of headers
11342 from "make headers_install", not private headers from older
11343 kernels.
43be4ca2 11344 * INSTALL: Regenerated.
abd923db
JM
11345 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11346 Change to 2.6.19.
11347 * sysdeps/unix/sysv/linux/configure: Regenerated.
11348
6664049b
JM
11349 * manual/llio.texi (fclean): Remove documentation.
11350
bb8b6697
JM
11351 * manual/Makefile (libc-texi-generated): New variable. Include
11352 version.texi.
11353 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11354 $(libc-texi-generated), not duplicated list of files.
11355 (version.texi, stamp-version): New rules.
11356 (realclean): Remove $(libc-texi-generated), not individual files
11357 from that list. Do not remove dir-add.texinfo.
11358 * manual/libc.texinfo: Comment out uses of edition numbers and
11359 references to printed manual. Remove last-updated dates.
11360 (EDITION): Comment out.
11361 (ISBN): Likewise.
11362 (VERSION, UPDATED): Remove.
11363 (version.texi): Include.
11364
12e5c3b9
AS
113652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11366
11367 * sysdeps/posix/spawni.c: Include <signal.h>.
11368 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11369 * sysdeps/pthread/aio_fsync.c: Likewise.
11370
4efeffc1 113712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11372
ba63ba08
UD
11373 * conform/Makefile (tests): Run only when not cross-compiling and
11374 when fast-check is not defined.
11375
d94a4670
UD
11376 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11377 * conform/data/limits.h-data: Fixes for POSIX2008.
11378 * conform/run-conformtest.sh: Run all tests.
11379 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11380 headers.
11381 * include/bits/dlfcn.h: Likewise.
11382 * include/langinfo.h: Likewise.
11383 * include/monetary.h: Likewise.
11384 * include/sys/poll.h: Likewise.
11385
11386 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11387 for __USE_GNU.
11388 * posix/spawn.h: Define __need_sigset_t.
11389 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11390 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11391 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11392 to get sigevent_t only.
11393 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11394 only for __USE_GNU.
11395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11396 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11397 process_vm_writev only for __USE_GNU.
11398 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11399
11400 * conform/Makefile: For now ignore errors from run-conformtest.
11401 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11402 POSIX to avoid namespace pollution. Don't prepend headers.
11403 * conform/data/aio.h-data: Fixes for POSIX testing.
11404 * conform/data/fcntl.h-data: Likewise.
11405 * conform/data/glob.h-data: Likewise.
11406 * conform/data/grp.h-data: Likewise.
11407 * conform/data/pthread.h-data: Likewise.
11408 * conform/data/pwd.h-data: Likewise.
11409 * conform/data/signal.h-data: Likewise.
11410 * conform/data/spawn.h-data: Likewise.
11411 * conform/data/stdio.h-data: Likewise.
11412 * conform/data/stdlib.h-data: Likewise.
11413 * conform/data/stropts.h-data: Likewise.
11414 * conform/data/sys/mman.h-data: Likewise.
11415 * conform/data/sys/stat.h-data: Likewise.
11416 * conform/data/sys/types.h-data: Likewise.
11417 * conform/data/sys/wait.h-data: Likewise.
11418 * conform/data/time.h-data: Likewise.
11419 * conform/data/unistd.h-data: Likewise.
11420 * conform/data/utime.h-data: Likewise.
11421
11422 * io/sys/stat.h: fchmod was always in POSIX.
11423 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11424 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11425 * rt/aio.h: Define __need_timespec before including <time.h>.
11426 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11427 struct. Add forward declaration of pthread_attr_t and use it in
11428 sigevent.
11429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11431 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11432 always remove CLK_TCK definition.
11433
c20105c3
AS
114342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11435
11436 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11437
7a270350
UD
114382012-02-25 Ulrich Drepper <drepper@gmail.com>
11439
31341567
UD
11440 * conform/run-conformtest.sh: New file.
11441 * conform/Makefile: Run run-conformtest for tests.
11442 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11443 support.
11444
11445 * conform/data/uchar.h-data: New file.
11446 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11447 * conform/data/arpa/inet.h-data: Likewise.
11448 * conform/data/assert.h-data: Likewise.
11449 * conform/data/complex.h-data: Likewise.
11450 * conform/data/cpio.h-data: Likewise.
11451 * conform/data/ctype.h-data: Likewise.
11452 * conform/data/dirent.h-data: Likewise.
11453 * conform/data/dlfcn.h-data: Likewise.
11454 * conform/data/errno.h-data: Likewise.
11455 * conform/data/fcntl.h-data: Likewise.
11456 * conform/data/float.h-data: Likewise.
11457 * conform/data/fmtmsg.h-data: Likewise.
11458 * conform/data/fnmatch.h-data: Likewise.
11459 * conform/data/ftw.h-data: Likewise.
11460 * conform/data/glob.h-data: Likewise.
11461 * conform/data/grp.h-data: Likewise.
11462 * conform/data/iconv.h-data: Likewise.
11463 * conform/data/inttypes.h-data: Likewise.
11464 * conform/data/langinfo.h-data: Likewise.
11465 * conform/data/libgen.h-data: Likewise.
11466 * conform/data/limits.h-data: Likewise.
11467 * conform/data/locale.h-data: Likewise.
11468 * conform/data/math.h-data: Likewise.
11469 * conform/data/monetary.h-data: Likewise.
11470 * conform/data/mqueue.h-data: Likewise.
11471 * conform/data/ndbm.h-data: Likewise.
11472 * conform/data/net/if.h-data: Likewise.
11473 * conform/data/netdb.h-data: Likewise.
11474 * conform/data/netinet/in.h-data: Likewise.
11475 * conform/data/nl_types.h-data: Likewise.
11476 * conform/data/poll.h-data: Likewise.
11477 * conform/data/pthread.h-data: Likewise.
11478 * conform/data/pwd.h-data: Likewise.
11479 * conform/data/regex.h-data: Likewise.
11480 * conform/data/sched.h-data: Likewise.
11481 * conform/data/search.h-data: Likewise.
11482 * conform/data/semaphore.h-data: Likewise.
11483 * conform/data/setjmp.h-data: Likewise.
11484 * conform/data/signal.h-data: Likewise.
11485 * conform/data/spawn.h-data: Likewise.
11486 * conform/data/stdarg.h-data: Likewise.
11487 * conform/data/stdio.h-data: Likewise.
11488 * conform/data/stdlib.h-data: Likewise.
11489 * conform/data/string.h-data: Likewise.
11490 * conform/data/strings.h-data: Likewise.
11491 * conform/data/stropts.h-data: Likewise.
11492 * conform/data/sys/ipc.h-data: Likewise.
11493 * conform/data/sys/mman.h-data: Likewise.
11494 * conform/data/sys/msg.h-data: Likewise.
11495 * conform/data/sys/resource.h-data: Likewise.
11496 * conform/data/sys/select.h-data: Likewise.
11497 * conform/data/sys/sem.h-data: Likewise.
11498 * conform/data/sys/shm.h-data: Likewise.
11499 * conform/data/sys/socket.h-data: Likewise.
11500 * conform/data/sys/stat.h-data: Likewise.
11501 * conform/data/sys/statvfs.h-data: Likewise.
11502 * conform/data/sys/time.h-data: Likewise.
11503 * conform/data/sys/timeb.h-data: Likewise.
11504 * conform/data/sys/times.h-data: Likewise.
11505 * conform/data/sys/types.h-data: Likewise.
11506 * conform/data/sys/uio.h-data: Likewise.
11507 * conform/data/sys/un.h-data: Likewise.
11508 * conform/data/sys/utsname.h-data: Likewise.
11509 * conform/data/sys/wait.h-data: Likewise.
11510 * conform/data/syslog.h-data: Likewise.
11511 * conform/data/tar.h-data: Likewise.
11512 * conform/data/termios.h-data: Likewise.
11513 * conform/data/utime.h-data: Likewise.
11514 * conform/data/utmpx.h-data: Likewise.
11515 * conform/data/varargs.h-data: Likewise.
11516 * conform/data/wchar.h-data: Likewise.
11517 * conform/data/wctype.h-data: Likewise.
11518 * conform/data/wordexp.h-data: Likewise.
11519
11520 * include/stropts.h: New file.
11521 * include/uchar.h: New file.
11522 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11523 * include/assert.h: Likewise.
11524 * include/ctype.h: Likewise.
11525 * include/dirent.h: Likewise.
11526 * include/dlfcn.h: Likewise.
11527 * include/fcntl.h: Likewise.
11528 * include/fnmatch.h: Likewise.
11529 * include/glob.h: Likewise.
11530 * include/grp.h: Likewise.
11531 * include/libio.h: Likewise.
11532 * include/locale.h: Likewise.
11533 * include/math.h: Likewise.
11534 * include/net/if.h: Likewise.
11535 * include/netdb.h: Likewise.
11536 * include/netinet/in.h: Likewise.
11537 * include/pthread.h: Likewise.
11538 * include/pwd.h: Likewise.
11539 * include/regex.h: Likewise.
11540 * include/sched.h: Likewise.
11541 * include/search.h: Likewise.
11542 * include/setjmp.h: Likewise.
11543 * include/signal.h: Likewise.
11544 * include/stdio.h: Likewise.
11545 * include/stdlib.h: Likewise.
11546 * include/string.h: Likewise.
11547 * include/sys/cdefs.h: Likewise.
11548 * include/sys/mman.h: Likewise.
11549 * include/sys/msg.h: Likewise.
11550 * include/sys/resource.h: Likewise.
11551 * include/sys/select.h: Likewise.
11552 * include/sys/socket.h: Likewise.
11553 * include/sys/stat.h: Likewise.
11554 * include/sys/statvfs.h: Likewise.
11555 * include/sys/time.h: Likewise.
11556 * include/sys/times.h: Likewise.
11557 * include/sys/uio.h: Likewise.
11558 * include/sys/utsname.h: Likewise.
11559 * include/sys/wait.h: Likewise.
11560 * include/termios.h: Likewise.
11561 * include/time.h: Likewise.
11562 * include/ulimit.h: Likewise.
11563 * include/unistd.h: Likewise.
11564 * include/utime.h: Likewise.
11565 * include/wchar.h: Likewise.
11566 * include/wctype.h: Likewise.
11567 * include/wordexp.h: Likewise.
11568
11569 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11570
7a270350
UD
11571 * time/time.h: TIME_UTC must be a macro.
11572 Make timespec_get available for ISO C11 only as well.
11573
7724defc
UD
115742012-02-24 Ulrich Drepper <drepper@gmail.com>
11575
11576 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11577 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11578
6b1d1d46
JM
115792012-02-24 Joseph Myers <joseph@codesourcery.com>
11580
11581 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11582
0f8bbd69
JM
115832012-02-24 Joseph Myers <joseph@codesourcery.com>
11584
11585 * manual/texinfo.tex: Update to version 2012-01-19.16.
11586
66ab80bc
JM
115872012-02-24 Joseph Myers <joseph@codesourcery.com>
11588
11589 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11590
74981cc5
RM
115912012-02-24 Roland McGrath <roland@hack.frob.com>
11592
ee968201
RM
11593 [BZ #13738]
11594 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11595 * manual/fdl-1.3.texi: New file.
11596 * manual/fdl-1.1.texi: File removed.
11597
74981cc5
RM
11598 [BZ #13738]
11599 * manual/libc.texinfo (FDL_VERSION): New @set.
11600 Use it for mention of FDL in cover text.
11601 (Documentation License): Use it in @include file name.
11602
7bb764bc
JM
116032012-02-22 Joseph Myers <joseph@codesourcery.com>
11604 Roland McGrath <roland@hack.frob.com>
11605
11606 [BZ #5461]
11607 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11608 not LONG_LONG_MAX and LONG_LONG_MIN.
11609 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11610 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11611 name.
11612 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11613
6cbeae47
JM
116142012-02-22 Joseph Myers <joseph@codesourcery.com>
11615
11616 [BZ #2547]
11617 [BZ #11365]
11618 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11619 manipulate bits before adding and subtracting TWO23[sx].
11620 * math/libm-test.inc (nearbyint_test): Add more tests.
11621
fe45ce09
JM
116222012-02-22 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #2548]
11625 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11626 bits before adding and subtracting TWO23[sx].
11627 * math/libm-test.inc (rint_test): Add more tests.
11628 (rint_test_tonearest): Likewise.
11629 (rint_test_towardzero): Likewise.
11630 (rint_test_downward): Likewise.
11631 (rint_test_upward: Likewise.
11632
ff3b3d82
JM
116332012-02-22 Joseph Myers <joseph@codesourcery.com>
11634
11635 [BZ #10110]
11636 * include/stdc-predef.h: New file. Extracted from features.h.
11637 * include/features.h: Include stdc-predef.h.
11638 * Makefile (headers): Add stdc-predef.h.
11639 * CONFORMANCE (Compiler limitations): Update.
11640
ef0aab35
JM
116412012-02-22 Joseph Myers <joseph@codesourcery.com>
11642
11643 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11644
58639409
DM
116452012-02-21 David S. Miller <davem@davemloft.net>
11646
11647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11649
c0e70b25
DM
116502012-02-20 David S. Miller <davem@davemloft.net>
11651
11652 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11653 using a normal save/restore sequence, rather than allocating a
11654 dummy stack frame just to store a frame pointer and restore.
11655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11656
fb06851d
JM
116572012-02-21 Joseph Myers <joseph@codesourcery.com>
11658
11659 * manual/install.texi: Fix stray word in line-wrapped comment.
11660
7a8b71c3
DM
116612012-02-20 David S. Miller <davem@davemloft.net>
11662
d510c123
DM
11663 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11664 both binutils and gcc support GOTDATA.
11665
0722d7c2
DM
11666 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11667 "rd %pc" in the PIC register setup sequences.
11668
3d2b3019
DM
11669 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11670 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11672 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11673 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11675 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11678 (SYSCALL_ERROR_HANDLER): Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11682 (SYSCALL_ERROR_HANDLER): Likewise.
11683
c80098a9
DM
11684 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11685 (HAVE_GCC_GOTDATA): New.
11686 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11687 relocation support in both binutils and gcc.
11688 * sysdeps/sparc/elf/configure: Regenerate.
11689
3a2545a0
DM
11690 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11691 * sysdeps/sparc/sparc32/elf/configure: Delete.
11692 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11693 * sysdeps/sparc/sparc64/elf/configure: Delete.
11694 * sysdeps/sparc/elf/configure.in: New file.
11695 * sysdeps/sparc/elf/configure: Generate.
11696
7a8b71c3
DM
11697 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11698 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11699 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11700 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11701 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11702
f1e86fca
JM
117032012-02-21 Joseph Myers <joseph@codesourcery.com>
11704
11705 * manual/install.texi: Do not mention specific glibc version
11706 numbers.
11707 * manual/libc.texinfo (VERSION, UPDATED): Update.
11708 (@copying): Use @copyright{} and range of years.
11709
0e7dfaef
JM
117102012-02-21 Joseph Myers <joseph@codesourcery.com>
11711
11712 [BZ #13695]
11713 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11714 [crti.S not in sysdirs] (generated): Do not append.
11715 [crti.S not in sysdirs] (omit-deps): Likewise.
11716 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11717 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11718 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11719 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11720 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11721 Likewise.
11722 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11723 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11724 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11725 * csu/defs.awk: Remove file.
11726 * sysdeps/generic/initfini.c: Likewise.
11727 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11728 variable.
11729 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11730 Likewise.
11731
599af3ca
JM
117322012-02-20 Joseph Myers <joseph@codesourcery.com>
11733
11734 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11735 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11738 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11739 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11740 <bits/epoll.h>.
11741 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11742 (__EPOLL_PACKED): Define to empty if not defined by
11743 <bits/epoll.h>.
11744 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11746 bits/epoll.h.
11747
0e499750
JM
117482012-02-20 Joseph Myers <joseph@codesourcery.com>
11749
11750 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11751 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11754 <bits/timerfd.h>.
11755 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11757 bits/timerfd.h.
11758
5ad91f6e
JM
117592012-02-20 Joseph Myers <joseph@codesourcery.com>
11760
11761 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11762 in C locale.
11763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11764 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11767
06b99b02
AJ
117682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11769
11770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11771 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11772
7638c0fd
AS
117732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11774
11775 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11776 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11777 defined.
11778 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11779 Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11781 entry for 2.16.
11782
92221550
AJ
117832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11784
11785 * math/w_acos.c: Use non-signaling floating-point comparisons.
11786 * math/w_acosf.c: Likewise.
11787 * math/w_acosh.c: Likewise.
11788 * math/w_acoshf.c: Likewise.
11789 * math/w_acoshl.c: Likewise.
11790 * math/w_acosl.c: Likewise.
11791 * math/w_asin.c: Likewise.
11792 * math/w_asinf.c: Likewise.
11793 * math/w_asinl.c: Likewise.
11794 * math/w_atanh.c: Likewise.
11795 * math/w_atanhf.c: Likewise.
11796 * math/w_atanhl.c: Likewise.
11797 * math/w_exp2.c: Likewise.
11798 * math/w_exp2f.c: Likewise.
11799 * math/w_exp2l.c: Likewise.
11800 * math/w_j0.c: Likewise.
11801 * math/w_j0f.c: Likewise.
11802 * math/w_j0l.c: Likewise.
11803 * math/w_j1.c: Likewise.
11804 * math/w_j1f.c: Likewise.
11805 * math/w_j1l.c: Likewise.
11806 * math/w_jn.c: Likewise.
11807 * math/w_jnf.c: Likewise.
11808 * math/w_log.c: Likewise.
11809 * math/w_log10.c: Likewise.
11810 * math/w_log10f.c: Likewise.
11811 * math/w_log10l.c: Likewise.
11812 * math/w_log2.c: Likewise.
11813 * math/w_log2f.c: Likewise.
11814 * math/w_log2l.c: Likewise.
11815 * math/w_logf.c: Likewise.
11816 * math/w_logl.c: Likewise.
11817 * math/w_sqrt.c: Likewise.
11818 * math/w_sqrtf.c: Likewise.
11819 * math/w_sqrtl.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11821 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11823 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11825
ebaf36eb
JM
118262012-02-19 Joseph Myers <joseph@codesourcery.com>
11827
11828 [BZ #9739]
11829 * manual/string.texi (strnlen): Use correct parameter name in
11830 equivalent expression.
11831
71c254a6
JM
118322012-02-19 Joseph Myers <joseph@codesourcery.com>
11833
11834 [BZ #11174]
11835 * manual/users.texi (seteuid): Consistently use neweuid for
11836 argument name.
11837
16d2c631
JM
118382012-02-19 Joseph Myers <joseph@codesourcery.com>
11839
11840 [BZ #13704]
11841 * manual/nss.texi (Services in the NSS configuration): Correct
11842 list of services in example configuration file.
11843
cd837b09
NB
118442012-02-19 Nick Bowler <nbowler@draconx.ca>
11845
11846 [BZ #11322]
11847 * manual/arith.texi: Remove statements about negative zero
11848 behaving identically to zero.
11849
02c4bbad
JM
118502012-02-18 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #5993]
11853 * manual/install.texi: Do not document upgrading from libc5.
11854
366842e7
JM
118552012-02-18 Joseph Myers <joseph@codesourcery.com>
11856
11857 [BZ #4596]
11858 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11859
dd54084d
DM
118602012-02-18 David S. Miller <davem@davemloft.net>
11861
11862 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11863 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11864 %o7 across the call.
11865 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11866 instead.
11867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11868 SETUP_PIC_REG_LEAF.
11869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11870 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11871 * sysdeps/sparc/crtn.S: Likewise.
11872
2bcc53a3
UD
118732012-02-17 Ulrich Drepper <drepper@gmail.com>
11874
11875 * aout/Makefile: Remove.
11876
09c093b5
RK
118772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11878
11879 [BZ #13058]
11880 * manual/examples/argp-ex1.c (main): Format definition in GNU
11881 style.
11882 * manual/examples/argp-ex2.c (main): Likewise.
11883 * manual/examples/argp-ex3.c (main): Likewise.
11884 * manual/examples/argp-ex4.c (main): Likewise.
11885 * manual/examples/longopt.c (main): Use new-style prototype
11886 definition.
11887 * manual/examples/strncat.c (main): Specify return type and use
11888 (void) for arguments.
11889 * manual/examples/subopt.c (main): Use char **argv argument.
11890
2ee633a2
JM
118912012-02-17 Joseph Myers <joseph@codesourcery.com>
11892
11893 [BZ #5077]
11894 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11895 rounding modes.
11896
0520adde
FB
118972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11898
11899 [BZ #6907]
11900 * manual/string.texi (strchr): Change when strchrnul is
11901 recommended.
11902
3f4081cd
DGM
119032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11904
11905 [BZ #174]
11906 * manual/locale.texi (setlocale): Document LOCPATH.
11907
d1b10e78
JM
119082012-02-17 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #10210]
11911 * manual/process.texi (execle): Move @dots{} before last argument.
11912
79c6869c
PB
119132012-02-17 Paul Bolle <pebolle@tiscali.nl>
11914
11915 [BZ #12047]
11916 * manual/charset.texi (Generic Charset Conversion): Fix typo
11917 (LC_TYPE -> LC_CTYPE).
11918
cc6e48bc
NB
119192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11920
11921 [BZ #5805]
11922 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11923 (scalbnf): Likewise.
11924 (scalbnl): Likewise.
11925 (scalbln): Likewise.
11926 (scalblnf): Likewise.
11927 (scalblnl): Likewise.
11928 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11929 (vwarnx): Likewise.
11930 (verr): Likewise.
11931 (verrx): Likewise.
11932 * manual/filesys.texi (telldir): Use braces around return type.
11933 * manual/llio.texi (mmap): Add space after comma.
11934 (mmap64): Likewise.
11935 * manual/math.texi (jn): Use @var{} on parameter names.
11936 (jnf): Likewise.
11937 (jnl): Likewise.
11938 (yn): Likewise.
11939 (ynf): Likewise.
11940 (ynl): Likewise.
11941 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11942 line.
11943 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11944 "...".
11945 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11946 (sched_get_priority_max): Likewise.
11947 * manual/signal.texi (sigvec): Add space after comma.
11948 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11949 names.
11950 (if_indextoname): Likewise.
11951 (if_freenameindex): Likewise.
11952 (sendto): Use ',' instead of '.' in prototype.
11953 * manual/startup.texi (syscall): Use @dots{} instead of literal
11954 "...".
11955 * manual/stdio.texi (__fpending): Separate initial words of
11956 paragraph from @deftypefun line.
11957 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11958 "...".
11959 (vsyslog): Use @var{} on parameter names.
11960 * manual/terminal.texi (stty): Use @var{} on parameter names.
11961 * manual/users.texi (getutmp): Use @var{} on parameter names.
11962 (getutmpx): Likewise.
11963
5b23062f
JM
119642012-02-17 Joseph Myers <joseph@codesourcery.com>
11965
11966 [BZ #6884]
11967 * manual/stdio.texi (fopen): Fix typos in description of
11968 ",ccs=STRING".
11969
8dee4833
AJ
119702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11971
11972 [BZ #4026]
11973 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11974 get clock_id definition.
11975
9078ce93
TS
119762012-02-17 Thomas Schwinge <thomas@schwinge.name>
11977
11978 [BZ #4822]
11979 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11980 (madvise): Cast every argument to void on its own.
11981
3835c55f
JM
119822012-02-17 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #9902]
11985 * manual/startup.texi (Exit Status): Fix typo.
11986
35c47e37
JM
119872012-02-17 Joseph Myers <joseph@codesourcery.com>
11988
11989 [BZ #10140]
11990 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11991 * manual/examples/argp-ex2.c: Likewise.
11992 * manual/examples/argp-ex3.c: Likewise.
11993
e3b69ca7
RH
119942012-02-16 Richard Henderson <rth@redhat.com>
11995
11996 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11997 * sysdeps/s390/s390-32/initfini.c: Remove.
11998 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11999 * sysdeps/s390/s390-64/initfini.c: Remove.
12000
df83af67
KK
120012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12002
12003 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12004 compiler output for sysdeps/generic/initfini.c.
12005 * sysdeps/sh/elf/initfini.c: Remove file.
12006
f63f3380
DM
120072012-02-16 David S. Miller <davem@davemloft.net>
12008
fb59b3a4
DM
12009 [BZ #11494]
12010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12011
f63f3380
DM
12012 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12013 * sysdeps/sparc/crti.S: New file.
12014 * sysdeps/sparc/crtn.S: New file.
12015 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12016 * sysdeps/sparc/sparc64/Makefile: Likewise.
12017
df6a4a4a
MF
120182012-02-15 Mike Frysinger <vapier@gentoo.org>
12019
6dd8f3dc 12020 [BZ #3335]
df6a4a4a
MF
12021 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12022
1cac7236
RM
120232012-02-15 Roland McGrath <roland@hack.frob.com>
12024
d2c736f8
RM
12025 [BZ #4822]
12026 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12027
1cac7236
RM
12028 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12029 (write, read, close): Likewise.
12030 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12031
8e475601
JM
120322012-02-15 Joseph Myers <joseph@codesourcery.com>
12033
12034 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12035 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12036 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12037 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12038 <bits/signalfd.h>.
12039 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12041 bits/signalfd.h.
12042
ed656b40
MP
120432012-02-14 Marek Polacek <polacek@redhat.com>
12044
12045 * sysdeps/x86_64/crti.S: New file.
12046 * sysdeps/x86_64/crtn.S: New file.
12047 * sysdeps/x86_64/elf/initfini.c: Remove file.
12048
2a979d3a
JM
120492012-02-13 Joseph Myers <joseph@codesourcery.com>
12050
12051 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12052 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12053 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12054 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12055 <bits/inotify.h>.
12056 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12058 bits/inotify.h.
12059
2a418ac3
JM
120602012-02-13 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12063 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12064 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12065 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12066 <bits/eventfd.h>.
12067 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12069 bits/eventfd.h.
12070
fb779be7
TS
120712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12072
e19e83c5
RM
12073 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12074 __feraiseexcept instead of feraiseexcept.
7c35ffed 12075
fb779be7
TS
12076 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12077 nanosleep invocations.
12078 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12079 strings, and add error checking for a nanosleep invocations.
12080
59ba27a6
PE
120812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12082
12083 Replace FSF snail mail address with URLs, as per GNU coding standards.
12084 Most of the snail mail addresses were wrong anyway, and omitting
12085 them makes the source code easier to maintain. Almost all of the
12086 changes are to license notices and to locale LC_IDENTIFICATION
12087 addresses, except for this one:
12088 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12089 not its snail mail address.
12090
57b957eb
RH
120912012-02-09 Richard Henderson <rth@twiddle.net>
12092
af850b1c
RH
12093 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12094 of kernel-features.h.
12095
57b957eb
RH
12096 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12097
6b73181a
MP
120982012-02-08 Marek Polacek <polacek@redhat.com>
12099
12100 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12101 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12102 * sysdeps/gnu/_G_config.h: Likewise.
12103 * sysdeps/generic/_G_config.h: Likewise.
12104
26ecc33a
AS
121052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12106
6c6dbc63
AS
12107 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12108 tests.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110
e216c012
AS
12111 * sysdeps/powerpc/powerpc32/crti.S: New file.
12112 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12113 * sysdeps/powerpc/powerpc64/crti.S: New file.
12114 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12115
26ecc33a
AS
12116 * Makeconfig (have-initfini): Don't set.
12117 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12118 * configure.in (nopic_initfini): Don't substitute.
12119 * config.h.in (HAVE_INITFINI): Don't #undef.
12120 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12121 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12122
3add8e13
JM
121232012-02-08 Joseph Myers <joseph@codesourcery.com>
12124
12125 Support crti.S and crtn.S provided directly by architectures.
12126 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12127 [crti.S in sysdirs] (omit-deps): Likewise.
12128 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12129 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12130 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12131 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12132 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12133 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12134 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12135 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12136 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12137 compiler output for sysdeps/generic/initfini.c.
12138 * sysdeps/i386/elf/Makefile: Remove file.
12139 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12140
a22f12b4
MP
121412012-02-07 Marek Polacek <polacek@redhat.com>
12142
12143 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12144 * sysdeps/gnu/_G_config.h: Likewise.
12145 * sysdeps/mach/hurd/_G_config.h: Likewise.
12146
148cf100
MP
121472012-02-07 Marek Polacek <polacek@redhat.com>
12148
12149 * math/Makefile (tests): Add tst-CMPLX2.
12150 * math/tst-CMPLX2.c: New file.
12151
cfdc0dd7
AS
121522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12153
84ba42c4
AS
12154 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12155
cfdc0dd7
AS
12156 * math/libm-test.inc (jn_test): Add missing L suffix.
12157
622c86f4
MP
121582012-02-06 Marek Polacek <polacek@redhat.com>
12159
12160 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12161 * sysdeps/i386/fpu/e_powf.S: Likewise.
12162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12163 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12164 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12165 * sysdeps/i386/fpu/e_pow.S: Likewise.
12166 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12168 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12169 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12170 * sysdeps/i386/fpu/e_log2.S: Likewise.
12171 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12172 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12173 * sysdeps/i386/fpu/e_powl.S: Likewise.
12174 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12175 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12176 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12177 * sysdeps/i386/fpu/e_logl.S: Likewise.
12178 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12179 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12180 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12181 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12183 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12184 * sysdeps/i386/fpu/e_log.S: Likewise.
12185 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12187 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12188 * sysdeps/i386/fpu/e_logf.S: Likewise.
12189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12191 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12192 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12193 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12194 * sysdeps/i386/fpu/e_log10.S: Likewise.
12195 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12196 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12197 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12198 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12199 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12200 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12201 * sysdeps/i386/asm-syntax.h: Likewise.
12202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12204 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12205 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12206 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12207 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12208 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12209 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12210 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12211 * sysdeps/powerpc/sysdep.h: Likewise.
12212 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12214
d4a54ac6
JM
122152012-02-06 Joseph Myers <joseph@codesourcery.com>
12216
12217 [BZ #411]
12218 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12219
314054ea
JM
122202012-02-06 Joseph Myers <joseph@codesourcery.com>
12221
12222 * sysdeps/i386/sysdep.h: Include <features.h>.
12223 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12224 version.
12225
d8e0ca50
JM
122262012-02-05 Joseph Myers <joseph@codesourcery.com>
12227
12228 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12229 Define.
12230 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12231 LOAD_PIC_REG_STR.
12232
b1da7dd9
JM
122332012-02-03 Joseph Myers <joseph@codesourcery.com>
12234
12235 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12236 (SETUP_PIC_REG): Use GET_PC_THUNK.
12237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12238 macro.
12239
9a1d9254
JM
122402012-02-03 Joseph Myers <joseph@codesourcery.com>
12241
12242 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12243 for non-PIC compilation.
12244 (SETUP_PIC_REG): Add .p2align directive.
12245 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12246 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12250 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12255 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12256 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12257 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12262 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12263 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12264 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12267 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12268 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12273 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12274 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12275 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12276 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12277 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12278 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12279 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12280 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12281 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12282 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12283 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12284 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12285 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12286
65dc3b75
JM
122872012-02-03 Joseph Myers <joseph@codesourcery.com>
12288
12289 * math/tst-CMPLX.c: Include <stdio.h>.
12290
d55bf177
JM
122912012-01-31 Joseph Myers <joseph@codesourcery.com>
12292
12293 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12294 float.
12295 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12296 * sysdeps/sparc/bits/mathdef.h: Likewise.
12297
69db4f8f
MP
122982012-01-31 Marek Polacek <polacek@redhat.com>
12299
12300 * libio/libio.h: Don't define _PARAMS.
12301 * locale/programs/config.h: Don't define PARAMS.
12302 * stdlib/strtol_l.c: Likewise.
12303 (__strtol_l): Remove PARAMS from the prototype.
12304
41b81892
UD
123052012-01-31 Ulrich Drepper <drepper@gmail.com>
12306
3b49edc0
UD
12307 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12308 names. Just use the correct names. Remove unnecessary wrapper
12309 functions.
12310 * malloc/arena.c: Likewise.
12311 * malloc/hooks.c: Likewise.
12312
41b81892
UD
12313 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12314 ARENA_TEST says not to. Simplify test for creation of a new arena.
12315 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12316
27a25b6e
UD
123172012-01-30 Ulrich Drepper <drepper@gmail.com>
12318
12319 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12320 into tail calls.
12321 (update_get_addr): New function.
12322 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12323 GET_ADDR_MODULE parameter.
12324
c8a89e7d
JM
123252012-01-30 Joseph Myers <joseph@codesourcery.com>
12326
12327 * crypt/cert.c: Remove __STDC__ conditionals.
12328 * crypt/crypt-entry.c: Likewise.
12329 * crypt/crypt_util.c: Likewise.
12330 * libio/filedoalloc.c: Likewise.
12331 * libio/fileops.c: Likewise.
12332 * libio/genops.c: Likewise.
12333 * libio/iofclose.c: Likewise.
12334 * libio/iofdopen.c: Likewise.
12335 * libio/iofopen.c: Likewise.
12336 * libio/iofopen64.c: Likewise.
12337 * libio/iogetdelim.c: Likewise.
12338 * libio/iopopen.c: Likewise.
12339 * libio/obprintf.c: Likewise.
12340 * libio/oldfileops.c: Likewise.
12341 * libio/oldiofclose.c: Likewise.
12342 * libio/oldiofdopen.c: Likewise.
12343 * libio/oldiofopen.c: Likewise.
12344 * libio/oldiopopen.c: Likewise.
12345 * libio/wfiledoalloc.c: Likewise.
12346 * libio/wgenops.c: Likewise.
12347 * locale/programs/xmalloc.c: Likewise.
12348 * misc/syslog.c: Likewise.
12349 * stdio-common/xbug.c: Likewise.
12350 * string/memchr.c: Likewise.
12351 * string/memcmp.c: Likewise.
12352 * string/memrchr.c: Likewise.
12353 * string/rawmemchr.c: Likewise.
12354 * sysdeps/posix/getcwd.c: Likewise.
12355 * time/strftime_l.c: Likewise.
12356
3b100462
JM
123572012-01-30 Joseph Myers <joseph@codesourcery.com>
12358
12359 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12360 * config.make.in (config-cflags-sse2avx): Define.
12361 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12362 Fix typo.
12363
607998af
CM
123642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12365
12366 * scripts/config.guess: Update from upstream config git repository.
12367 * scripts/config.sub: Likewise.
12368
3601428f
CM
123692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12370
3ac8b282
CM
12371 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12372 (EM_NUM): Update.
12373 (R_TILEPRO_*, R_TILEGX_*): New macros.
12374
e034841e
CM
12375 * scripts/firstversions.awk: Fix bug in version range handling.
12376
540d7568
CM
12377 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12378
3601428f
CM
12379 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12380
463de862
CM
12381 * include/sys/epoll.h: New file.
12382 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12383 libc_hidden_def.
12384
73139a76
UD
123852012-01-28 Ulrich Drepper <drepper@gmail.com>
12386
96bc5b45
UD
12387 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12388 Avoid unnecessary __WORDSIZE == 64 test.
12389 (fmaxf): Use VEX format if possible.
12390 (fmax): Likewise.
12391 (fminf): Likewise.
12392 (fmin): Likewise.
12393
56f6f6a2
UD
12394 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12395 * math/math_private.h: Remove libc_fegetround* and
12396 libc_fesetround*.
12397 * sysdeps/i386/configure.in: Check for -msse2avx.
12398 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12399 also if SSE2AVX is defined.
12400 Remove libc_fegetround* and libc_fesetround*.
12401 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12402 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12403 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12404 of HAS_YMM_USABLE.
12405 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12406 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12408 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12410
73139a76
UD
12411 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12412
d73f93a4
AZ
124132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414
12415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12416 size is not set.
12417 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12418
6ee65ed6
UD
124192012-01-27 Ulrich Drepper <drepper@gmail.com>
12420
12421 [BZ #13618]
12422 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12423 relocation.
12424 * Makeconfig (libm): Define.
12425 * elf/Makefile: Add rules to build and run tst-relsort1.
12426 * elf/tst-relsort1.c: New file.
12427 * elf/tst-relsort1mod1.c: New file.
12428 * elf/tst-relsort1mod2.c: New file.
12429
8db21882
JM
124302012-01-27 Joseph Myers <joseph@codesourcery.com>
12431
12432 * math/s_ldexp.c: Remove __STDC__ conditionals.
12433 * math/s_ldexpf.c: Likewise.
12434 * math/s_ldexpl.c: Likewise.
12435 * math/s_nextafter.c: Likewise.
12436 * math/s_nexttowardf.c: Likewise.
12437 * math/s_significand.c: Likewise.
12438 * math/s_significandf.c: Likewise.
12439 * math/s_significandl.c: Likewise.
12440 * math/w_jnl.c: Likewise.
12441 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12442 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12443 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12444 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12445 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12460 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12461 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12466 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12467 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12473 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12474 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12475 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12476 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12477 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12478 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12479 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12480 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12481 * sysdeps/ieee754/k_standard.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12540 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12543 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12548 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12557 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12561 * sysdeps/ieee754/s_matherr.c: Likewise.
12562 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12566
965a54a4
JM
125672012-01-26 Joseph Myers <joseph@codesourcery.com>
12568
12569 * crypt/md5.h: Remove __STDC__ conditionals.
12570 * libio/libioP.h: Likewise.
12571 * locale/programs/config.h: Likewise.
12572 * sysdeps/generic/sysdep.h: Likewise.
12573 * sysdeps/i386/asm-syntax.h: Likewise.
12574 * sysdeps/s390/asm-syntax.h: Likewise.
12575 * sysdeps/unix/sysdep.h: Likewise.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12578
7071ad79
JM
125792012-01-26 Joseph Myers <joseph@codesourcery.com>
12580
12581 * libio/libio.h: Remove __STDC__ conditionals.
12582 * malloc/obstack.h: Likewise.
12583 * math/complex.h: Likewise.
12584 * math/math.h: Likewise.
12585 * sysdeps/generic/_G_config.h: Likewise.
12586 * sysdeps/gnu/_G_config.h: Likewise.
12587 * sysdeps/mach/hurd/_G_config.h: Likewise.
12588 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12589 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12590 * sysdeps/sparc/bits/mathdef.h: Likewise.
12591
afc5ed09
UD
125922012-01-26 Ulrich Drepper <drepper@gmail.com>
12593
12594 [BZ #13583]
12595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12596 Clean up HAS_* macros.
afc5ed09 12597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12598 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12599 possible.
12600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12601 HAS_AVX.
12602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12607
bdb6de1d
JM
126082012-01-25 Joseph Myers <joseph@codesourcery.com>
12609
12610 * elf/tst-unique3.cc (gets): Remove declaration.
12611 * elf/tst-unique3lib.cc (gets): Likewise.
12612 * elf/tst-unique3lib2.cc (gets): Likewise.
12613 * elf/tst-unique4.cc (gets): Likewise.
12614
b15549e6
UD
126152012-01-24 Ulrich Drepper <drepper@gmail.com>
12616
12617 * include/stdio.h: Add C++ protection. Add gets declarations and
12618 definitions.
12619 * debug/tst-chk1.c: Don't declare gets here.
12620 * stdio-common/tst-gets.c: Likewise.
12621
a037381f
JM
126222012-01-24 Joseph Myers <joseph@codesourcery.com>
12623
12624 * posix/glob: Remove directory.
12625
f1d4aa75
JM
126262012-01-24 Joseph Myers <joseph@codesourcery.com>
12627
12628 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12629
81c0c964
PT
126302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12631
12632 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12633 of the non-standard EPFNOSUPPORT.
12634
0ea698ae
ST
126352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12636
12637 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12638 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12639 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12640
d220b117
UD
126412012-01-21 Ulrich Drepper <drepper@gmail.com>
12642
12643 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12644
3e1aa84e
UD
126452012-01-20 Ulrich Drepper <drepper@gmail.com>
12646
12647 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12648 transient errors.
12649 * nscd/grpcache.c (cache_addgr): Likewise.
12650 * nscd/hstcache.c (cache_addhst): Likewise.
12651 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12652 * nscd/pwdcache.c (cache_addpw): Likewise.
12653 * nscd/servicescache.c (cache_addserv): Likewise.
12654
400aa020
UD
126552012-01-16 Ulrich Drepper <drepper@gmail.com>
12656
d77e7869
UD
12657 * malloc/malloc.c: Various cleanups.
12658 * malloc/hooks.c: Likewise.
12659
400aa020
UD
12660 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12661 * stdlib/bug-fmtmsg1.c: New file.
12662
12663 * stdlib/fmtmsg.c (init): Add missing unlock.
12664 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12665
e0a309cf
MP
126662012-01-12 Marek Polacek <polacek@redhat.com>
12667
12668 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12669 and _GNU_SOURCE.
12670
929d11c7
WS
126712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12672
12673 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12675 macro to ensure uniqueness of label name.
12676 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12677 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12678
41d0e869
UD
126792012-01-11 Ulrich Drepper <drepper@gmail.com>
12680
0cc5ed3b
UD
12681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12682
41d0e869
UD
12683 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12687
a47a831a
UD
126882012-01-10 Ulrich Drepper <drepper@gmail.com>
12689
daa891c0
UD
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12691
12692 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12693 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12695
e58ef0f2
UD
12696 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12697
a47a831a 12698 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12699 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12702
12703 * math/bits/math-finite.h: Add ldexp support.
12704
a0bfc9c7
MP
127052012-01-10 Marek Polacek <polacek@redhat.com>
12706
12707 * locale/programs/localedef.h (show_archive_content): Add noreturn
12708 attribute.
12709
d6e97a1d
UD
127102012-01-09 Ulrich Drepper <drepper@gmail.com>
12711
12712 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12713
d5835c26
UD
127142012-01-08 Ulrich Drepper <drepper@gmail.com>
12715
e5f484c6
UD
12716 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12717
d5835c26
UD
12718 * io/Makefile (headers): Add bits/poll2.h.
12719
d1f741e9
WS
127202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12721
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12723 typo #include statement.
12724
ec09c1c4
UD
127252012-01-08 Ulrich Drepper <drepper@gmail.com>
12726
12727 * include/sys/cdefs.h: Define __attribute_alloc_size.
12728 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12729 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12730 * elf/pldd.c: Likewise.
12731 * iconv/iconv_charmap.c: Likewise.
12732 * iconv/iconvconfig.c: Likewise.
12733 * iconv/strtab.c: Likewise.
12734 * locale/programs/locale.c: Likewise.
12735 * locale/programs/localedef.h: Likewise.
12736 * locale/programs/simple-hash.c: Likewise.
12737 * nscd/nscd.h: Likewise.
12738 * nss/makedb.c: Likewise.
12739 * sysdeps/generic/ldconfig.h: Likewise.
12740 * locale/programs/localedef.c: Remove xmalloc prototype.
12741 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12742
20b38e03
PP
127432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12744
12745 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12746 appropriate.
12747
a0da5fe1
UD
127482012-01-08 Ulrich Drepper <drepper@gmail.com>
12749
1d5a644a 12750 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12751 * math/tst-CMPLX.c: New file.
1d5a644a 12752
8784a6db
UD
12753 * math/complex.h (CMPLXL): Fix typo.
12754
d9a216c0
UD
12755 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12756 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12757 GLIBC_2.16.
12758 * debug/tst-chk1.c: Add poll and ppoll tests.
12759 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12760 * include/sys/poll.h: Add hidden proto for ppoll.
12761 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12762 * sysdeps/mach/hurd/ppoll.c: Likewise.
12763 * io/ppoll.c: Likewise.
12764 * debug/poll_chk.c: New file.
12765 * debug/ppoll_chk.c: New file.
12766 * include/bits/poll2.h: New file.
12767 * io/bits/poll2.h: New file.
12768
ac097f5c
UD
12769 [BZ #1350]
12770 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12771
2119dcfa
UD
12772 * configure.in: static is always set to yes. Remove.
12773 * config.make.in: Don't set build-static.
12774 * Makeconfig: Remove use of build-static.
12775 * dlfcn/Makefile: Likewise.
12776 * elf/Makefile: Likewise.
12777 * math/Makefile: Likewise.
12778 * misc/Makefile: Likewise.
12779 * nptl/Makefile: Likewise.
12780 * sysdeps/mach/hurd/Makefile: Likewise.
12781
121766a9
UD
12782 * configure.in: PWD_P is not used anymore.
12783 * config.make.in: Remove PWD_P entry.
12784
51a1d39c 12785 * configure.in: Remove last remnants of RANLIB.
8720d066 12786 No need to check for signed size_t anymore.
215f4bdc
UD
12787 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12788 and IA-64.
3857022a 12789 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12790 * aclocal.m4: Likewise.
12791
d3ed7225
UD
12792 * wcsmbs/mbrtoc16.c: Implement using towc function.
12793 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12794 * wcsmbs/wcsmbsload.c: Likewise.
12795 * iconv/gconv_simple.c: Likewise.
12796 * iconv/gconv_int.h: Likewise.
12797 * iconv/gconv_builtin.h: Likewise.
12798 * iconv/iconv_prog.c: Remove CHAR16 handling.
12799
12800 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12801
12802 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12803
a0da5fe1
UD
12804 * configure.in: Remove --with-elf and --enable-bounded options.
12805 Dont set base_machine for ia64. More non-ELF conditions removed.
12806 Remove testing and setting of leading underscore information.
12807 * config.make.in (build-bounded): Set to no.
12808 * config.h.in: Remove NO_UNDERSCORES entry.
12809 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12810 them.
12811 * csu/start.c: Remove !NO_UNDERSCORE code.
12812 * locale/localeinfo.h: Likewise.
12813 * sysdeps/generic/machine-gmon.h: Likewise.
12814 * sysdeps/generic/sysdep.h: Likewise.
12815 * sysdeps/i386/sysdep.h: Likewise.
12816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12817 * sysdeps/mach/sysdep.h: Likewise.
12818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12820 * sysdeps/sh/sysdep.h: Likewise.
12821 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12822 * sysdeps/unix/i386/sysdep.S: Likewise.
12823 * sysdeps/unix/sparc/start.c: Likewise.
12824 * sysdeps/unix/sparc/sysdep.S: Likewise.
12825 * sysdeps/unix/sparc/sysdep.h: Likewise.
12826 * sysdeps/unix/start.c: Likewise.
12827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12828 * sysdeps/x86_64/sysdep.h: Likewise.
12829
df78418a
UD
128302012-01-07 Ulrich Drepper <drepper@gmail.com>
12831
a784e502
UD
12832 [BZ #13553]
12833 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12834 for non-gcc.
12835 * argp/argp-fmtstream.h: Use const instead __const.
12836 * argp/argp.h: Likewise.
12837 * assert/assert.h: Likewise.
12838 * bits/fenv.h: Likewise.
12839 * bits/sched.h: Likewise.
12840 * bits/sigset.h: Likewise.
12841 * bits/sigthread.h: Likewise.
12842 * catgets/nl_types.h: Likewise.
12843 * conform/data/pthread.h-data: Likewise.
12844 * crypt/crypt-private.h: Likewise.
12845 * crypt/crypt.h: Likewise.
12846 * crypt/crypt_util.c: Likewise.
12847 * ctype/ctype.h: Likewise.
12848 * debug/execinfo.h: Likewise.
12849 * debug/mbsnrtowcs_chk.c: Likewise.
12850 * debug/mbsrtowcs_chk.c: Likewise.
12851 * debug/wcsnrtombs_chk.c: Likewise.
12852 * debug/wcsrtombs_chk.c: Likewise.
12853 * debug/wcstombs_chk.c: Likewise.
12854 * dirent/dirent.h: Likewise.
12855 * dlfcn/dlfcn.h: Likewise.
12856 * elf/neededtest4.c: Likewise.
12857 * grp/grp.h: Likewise.
12858 * gshadow/gshadow.h: Likewise.
12859 * iconv/gconv.h: Likewise.
12860 * iconv/gconv_int.h: Likewise.
12861 * iconv/gconv_simple.c: Likewise.
12862 * iconv/iconv.h: Likewise.
12863 * iconv/loop.c: Likewise.
12864 * iconv/skeleton.c: Likewise.
12865 * include/aio.h: Likewise.
12866 * include/aliases.h: Likewise.
12867 * include/argz.h: Likewise.
12868 * include/arpa/inet.h: Likewise.
12869 * include/assert.h: Likewise.
12870 * include/dirent.h: Likewise.
12871 * include/dlfcn.h: Likewise.
12872 * include/execinfo.h: Likewise.
12873 * include/fcntl.h: Likewise.
12874 * include/fenv.h: Likewise.
12875 * include/glob.h: Likewise.
12876 * include/grp.h: Likewise.
12877 * include/libintl.h: Likewise.
12878 * include/mntent.h: Likewise.
12879 * include/netdb.h: Likewise.
12880 * include/pwd.h: Likewise.
12881 * include/rpc/netdb.h: Likewise.
12882 * include/sched.h: Likewise.
12883 * include/search.h: Likewise.
12884 * include/shadow.h: Likewise.
12885 * include/signal.h: Likewise.
12886 * include/stdio.h: Likewise.
12887 * include/stdlib.h: Likewise.
12888 * include/string.h: Likewise.
12889 * include/sys/socket.h: Likewise.
12890 * include/sys/stat.h: Likewise.
12891 * include/sys/statfs.h: Likewise.
12892 * include/sys/statvfs.h: Likewise.
12893 * include/sys/syslog.h: Likewise.
12894 * include/sys/time.h: Likewise.
12895 * include/sys/uio.h: Likewise.
12896 * include/time.h: Likewise.
12897 * include/unistd.h: Likewise.
12898 * include/utmp.h: Likewise.
12899 * include/wchar.h: Likewise.
12900 * include/wctype.h: Likewise.
12901 * inet/aliases.h: Likewise.
12902 * inet/arpa/inet.h: Likewise.
12903 * inet/netinet/ether.h: Likewise.
12904 * inet/netinet/in.h: Likewise.
12905 * intl/libintl.h: Likewise.
12906 * io/bits/fcntl2.h: Likewise.
12907 * io/fcntl.h: Likewise.
12908 * io/ftw.h: Likewise.
12909 * io/sys/poll.h: Likewise.
12910 * io/sys/stat.h: Likewise.
12911 * io/sys/statfs.h: Likewise.
12912 * io/sys/statvfs.h: Likewise.
12913 * io/utime.h: Likewise.
12914 * libio/bits/stdio.h: Likewise.
12915 * libio/bits/stdio2.h: Likewise.
12916 * libio/libio.h: Likewise.
12917 * libio/libioP.h: Likewise.
12918 * libio/stdio.h: Likewise.
12919 * locale/lc-ctype.c: Likewise.
12920 * locale/locale.h: Likewise.
12921 * login/utmp.h: Likewise.
12922 * malloc/arena.c: Likewise.
12923 * malloc/malloc.c: Likewise.
12924 * malloc/malloc.h: Likewise.
12925 * malloc/mcheck.c: Likewise.
12926 * malloc/mtrace.c: Likewise.
12927 * math/bits/mathcalls.h: Likewise.
12928 * math/fenv.h: Likewise.
12929 * math/math_private.h: Likewise.
12930 * misc/bits/error.h: Likewise.
12931 * misc/bits/syslog.h: Likewise.
12932 * misc/err.h: Likewise.
12933 * misc/error.h: Likewise.
12934 * misc/fstab.h: Likewise.
12935 * misc/mntent.h: Likewise.
12936 * misc/regexp.h: Likewise.
12937 * misc/search.h: Likewise.
12938 * misc/sgtty.h: Likewise.
12939 * misc/sys/mman.h: Likewise.
12940 * misc/sys/syslog.h: Likewise.
12941 * misc/sys/uio.h: Likewise.
12942 * misc/sys/xattr.h: Likewise.
12943 * misc/ttyent.h: Likewise.
12944 * nis/rpcsvc/ypclnt.h: Likewise.
12945 * nss/nss.h: Likewise.
12946 * posix/bits/unistd.h: Likewise.
12947 * posix/fnmatch.h: Likewise.
12948 * posix/glob.h: Likewise.
12949 * posix/sched.h: Likewise.
12950 * posix/spawn.h: Likewise.
12951 * posix/sys/wait.h: Likewise.
12952 * posix/unistd.h: Likewise.
12953 * posix/wordexp.h: Likewise.
12954 * pwd/pwd.h: Likewise.
12955 * resolv/netdb.h: Likewise.
12956 * resource/sys/resource.h: Likewise.
12957 * rt/aio.h: Likewise.
12958 * rt/bits/mqueue2.h: Likewise.
12959 * rt/mqueue.h: Likewise.
12960 * shadow/shadow.h: Likewise.
12961 * signal/signal.h: Likewise.
12962 * socket/send.c: Likewise.
12963 * socket/sendto.c: Likewise.
12964 * socket/sys/socket.h: Likewise.
12965 * stdio-common/printf.h: Likewise.
12966 * stdlib/bits/stdlib.h: Likewise.
12967 * stdlib/fmtmsg.h: Likewise.
12968 * stdlib/monetary.h: Likewise.
12969 * stdlib/stdlib.h: Likewise.
12970 * stdlib/ucontext.h: Likewise.
12971 * streams/stropts.h: Likewise.
12972 * string/argz.h: Likewise.
12973 * string/bits/string2.h: Likewise.
12974 * string/string.h: Likewise.
12975 * string/strings.h: Likewise.
12976 * sunrpc/rpc/auth.h: Likewise.
12977 * sunrpc/rpc/auth_des.h: Likewise.
12978 * sunrpc/rpc/clnt.h: Likewise.
12979 * sunrpc/rpc/netdb.h: Likewise.
12980 * sunrpc/rpc/pmap_clnt.h: Likewise.
12981 * sunrpc/rpc/xdr.h: Likewise.
12982 * sysdeps/generic/inttypes.h: Likewise.
12983 * sysdeps/generic/net/if.h: Likewise.
12984 * sysdeps/generic/sys/swap.h: Likewise.
12985 * sysdeps/gnu/net/if.h: Likewise.
12986 * sysdeps/gnu/utmpx.h: Likewise.
12987 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12988 * sysdeps/i386/i486/bits/string.h: Likewise.
12989 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12990 * sysdeps/s390/bits/string.h: Likewise.
12991 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12992 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12993 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12994 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12995 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12996 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12997 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12998 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12999 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13000 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13001 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13002 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13003 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13004 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13005 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13006 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13007 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13012 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13013 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13014 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13015 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13016 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13019 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13020 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13021 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13022 * sysvipc/sys/ipc.h: Likewise.
13023 * sysvipc/sys/msg.h: Likewise.
13024 * sysvipc/sys/sem.h: Likewise.
13025 * sysvipc/sys/shm.h: Likewise.
13026 * termios/termios.h: Likewise.
13027 * time/sys/time.h: Likewise.
13028 * time/time.h: Likewise.
13029 * wcsmbs/bits/wchar2.h: Likewise.
13030 * wcsmbs/uchar.h: Likewise.
13031 * wcsmbs/wchar.h: Likewise.
13032 * wctype/wctype.h: Likewise.
13033
0269750c
UD
13034 [BZ #13551]
13035 * Makeconfig: Remove all but ELF support including AIX support.
13036 * Makerules: Likewise.
13037 * config.h.in: Likewise.
13038 * config.make.in: Likewise.
13039 * configure: Likewise.
13040 * configure.in: Likewise.
13041 * csu/Makefile: Likewise.
13042 * csu/version.c: Likewise.
13043 * debug/Makefile: Likewise.
13044 * dlfcn/Makefile: Likewise.
13045 * elf/Makefile: Likewise.
13046 * extra-lib.mk: Likewise.
13047 * iconv/Makefile: Likewise.
13048 * include/libc-symbols.h: Likewise.
13049 * include/shlib-compat.h: Likewise.
13050 * resolv/Makefile: Likewise.
13051 * resolv/res_libc.c: Likewise.
13052 * rt/Makefile: Likewise.
13053 * sysdeps/i386/asm-syntax.h: Likewise.
13054 * sysdeps/i386/sysdep.h: Likewise.
13055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13056 * sysdeps/mach/sysdep.h: Likewise.
13057 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13058 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13059 * sysdeps/s390/asm-syntax.h: Likewise.
13060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13062 * sysdeps/sh/sysdep.h: Likewise.
13063 * sysdeps/unix/sparc/sysdep.h: Likewise.
13064 * sysdeps/wordsize-32/divdi3.c: Likewise.
13065 * sysdeps/x86_64/sysdep.h: Likewise.
13066
00bbd29b
UD
13067 * argp/Versions: Remove _argp_unlock_xxx.
13068
13069 [BZ #13559]
13070 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13071 * abilist/libBrokenLocale.abilist: Likewise.
13072 * abilist/libanl.abilist: Likewise.
13073 * abilist/libc.abilist: Likewise.
13074 * abilist/libcrypt.abilist: Likewise.
13075 * abilist/libdl.abilist: Likewise.
13076 * abilist/libm.abilist: Likewise.
13077 * abilist/libnsl.abilist: Likewise.
13078 * abilist/libpthread.abilist: Likewise.
13079 * abilist/libresolv.abilist: Likewise.
13080 * abilist/librt.abilist: Likewise.
13081 * abilist/libthread_db.abilist: Likewise.
13082 * abilist/libutil.abilist: Likewise.
13083 * abilist/libnss_db.abilist: New file.
13084
13085 * scripts/abilist.awk: Add support for indirect functions.
13086
a2693a0e
UD
13087 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13088
3f05895f
UD
13089 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13090
ecb6fb48
UD
13091 * shlib-versions: Remove entries for ports architectures.
13092
664f8cb9
UD
13093 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13094 files in ports.
13095 * elf/stackguard-macros.h: Remove support for IA-64.
13096 * elf/tst-auditmod1.c: Likewise.
13097 * sysdeps/generic/ldsodefs.h: Likewise.
13098
7ae81d88
UD
13099 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13100 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13101 configure files.
13102
bdeba135
UD
13103 [BZ #13552]
13104 * configure.in: Remove --enable-omitfp support.
13105 * FAQ.in: Adjust.
13106 * config.make.in: Likewise.
13107 * Makeconfig: Likewise.
13108 * manual/install.texi: Likewise.
13109
d75a0a62
UD
13110 In case anyone cares, the IA-64 architecture could move to ports.
13111 * sysdeps/ia64/*: Removed.
13112 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13113 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13114
dcc9756b
UD
13115 [BZ #13555]
13116 * configure.in: Remove entries for unsupported architectures.
13117
d3761ebc 13118 [BZ #13533]
9954432e
UD
13119 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13120 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13121 routines.
13122 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13123 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13124 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13125 fall back to using wcrtomb.
13126 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13127 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13128 renaming.
13129 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13130 * wcsmbs/tst-c16c32-1.c: New file.
13131
13132 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13133 local variable.
13134
c3a87236
UD
13135 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13136
28926a1b
UD
13137 * elf/tst-unique3.cc: Add explicit declaration of gets.
13138 * elf/tst-unique3lib.cc: Likewise.
13139 * elf/tst-unique3lib2.cc: Likewise.
13140 * elf/tst-unique4.cc: Likewise.
13141
df78418a
UD
13142 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13143
8ecd6b2a
JM
131442012-01-06 Joseph Myers <joseph@codesourcery.com>
13145
13146 [BZ #13566]
13147 * assert/assert.h (static_assert): Don't define for C++.
13148 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13149 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13150
9f115170
UD
131512012-01-03 Ulrich Drepper <drepper@gmail.com>
13152
5e0d0300
UD
13153 * iconv/loop.c (single loop): Fix assertion in storing of
13154 remaining bytes.
13155
9f115170
UD
13156 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13157
81fb02b0
UD
131582012-01-01 Ulrich Drepper <drepper@gmail.com>
13159
13160 * posix/getconf.c: Update copyright year.
13161 * nss/getent.c: Likewise.
a316c1f6 13162 * nss/makedb.c: Likewise.
81fb02b0
UD
13163 * iconv/iconvconfig.c: Likewise.
13164 * iconv/iconv_prog.c: Likewise.
13165 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13166 * elf/pldd.c: Likewise.
13167 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13168 * catgets/gencat.c: Likewise.
13169 * csu/version.c: Likewise.
13170 * elf/ldd.bash.in: Likewise.
13171 * elf/sprof.c (print_version): Likewise.
13172 * locale/programs/locale.c: Likewise.
13173 * locale/programs/localedef.c: Likewise.
a316c1f6 13174 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13175 * nscd/nscd.c (print_version): Likewise.
13176 * debug/xtrace.sh: Likewise.
13177 * malloc/memusage.sh: Likewise.
13178 * malloc/mtrace.pl: Likewise.
13179 * debug/catchsegv.sh: Likewise.
13180
2ba92745
JJ
131812011-12-30 Jakub Jelinek <jakub@redhat.com>
13182
13183 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13184 pure attribute.
13185
dadebdae
UD
131862011-12-24 Ulrich Drepper <drepper@gmail.com>
13187
d3761ebc 13188 [BZ #13533]
db6af3eb
UD
13189 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13190 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13191 transformations.
13192 * iconv/gconv_int.h: Likewise.
13193 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13194 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13195 from libc for GLIBC_2.16.
13196 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13197 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13198 * wcsmbs/uchar.h: Really define mbstate_t.
13199 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13200 * wcsmbs/c16rtomb.c: New file.
13201 * wcsmbs/mbrtoc16.c: New file.
13202 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13203 for C/POSIX locale.
13204 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13205 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13206
dadebdae
UD
13207 * wcsmbs/wchar.h: Add missing __restrict.
13208
67371b56
UD
132092011-12-23 Ulrich Drepper <drepper@gmail.com>
13210
74033a25
UD
13211 [BZ #13532]
13212 * time/Makefile (routines): Add timespec_get.
13213 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13214 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13215 timespec for ISO C11.
13216 * time/timespec_get.c: New file.
13217 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13218 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13219
380d7e87
UD
13220 [BZ #13531]
13221 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13222 * stdlib/stdlib.h: Declare aligned_alloc.
13223 * Versions.def: Add GLIBC_2.16 for libc.
13224 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13225
4e9e7a35
UD
13226 [BZ 13527]
13227 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13228 ISO C11.
13229
380d7e87 13230 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13231 code.
13232
03a71829
UD
13233 [BZ #13528]
13234 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13235
839e283e
UD
13236 [BZ #13529]
13237 * assert/assert.h (static_assert): Define.
13238
ce5294e2 13239 * version.h: Update for 2.16 development version.
90fa7312 13240
8d44e150 13241 [BZ #13526]
d7809905
UD
13242 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13243 _ISOC11_SOURCE.
13244
c0da14cd
UD
13245 * version.h (RELEASE): Bump for 2.15 release.
13246 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13247
530a3249
MP
13248 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13249 Patch by Marek Polacek <mpolacek@redhat.com>.
13250
67371b56
UD
13251 * bits/byteswap.h: Protect long long constants with __extension__.
13252 * sysdeps/i386/bits/byteswap.h: Likewise.
13253 * sysdeps/ia64/bits/byteswap.h: Likewise.
13254 * sysdeps/s390/bits/byteswap.h: Likewise.
13255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13256
15db4de1
LD
132572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13258
13259 [BZ #13540]
bbe315ea
LD
13260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13261 destination buffer.
15db4de1
LD
13262 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13263
2b2596b1
MP
132642011-12-23 Marek Polacek <polacek@redhat.com>
13265
13266 * elf/dl-addr.c (determine_info): Add inline keyword.
13267 * elf/tst-auditmod4b.c (check_avx): Likewise.
13268 * elf/tst-auditmod6b.c (check_avx): Likewise.
13269 * elf/tst-auditmod6c.c (check_avx): Likewise.
13270 * elf/tst-auditmod7b.c (check_avx): Likewise.
13271
70c6c246
UD
132722011-12-23 Ulrich Drepper <drepper@gmail.com>
13273
13274 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13275 !__SSE_MATH__.
13276
c044cf14
LD
132772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13278
15db4de1 13279 [BZ #13540]
c044cf14
LD
13280 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13281 processing for last bytes.
13282
6b13d9d9
BH
132832011-08-06 Bruno Haible <bruno@clisp.org>
13284
d455f537
BH
13285 [BZ #13061]
13286 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13287 U+0385, not to U+1FEE.
13288
6b13d9d9
BH
13289 [BZ #13062]
13290 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13291 entry for U+00A5 U+0301.
13292
db910efd
UD
132932011-12-22 Ulrich Drepper <drepper@gmail.com>
13294
27deeafc
UD
13295 [BZ #13166]
13296 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13297 buffer for the output is too small.
13298
aed9d171
UD
13299 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13300 optimization.
13301
db910efd
UD
13302 [BZ #13185]
13303 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13304 SSE flags if possible.
13305
2bd779ae
LD
133062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13307
e7f9dac3 13308 [BZ #13540]
2bd779ae
LD
13309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13310 processing for last bytes.
13311
154bfc16
JM
133122011-12-22 Joseph Myers <joseph@codesourcery.com>
13313
13314 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13315 (syscall-list-default-options, syscall-list-default-condition)
13316 (syscall-list-includes): Define.
13317 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13318 list of ABIs and options and #if conditions for each ABI. Do not
13319 handle common syscalls between ABIs specially.
13320 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13321 Remove.
13322 (syscall-list-variants, syscall-list-32bit-options)
13323 (syscall-list-32bit-condition, syscall-list-64bit-options)
13324 (syscall-list-64bit-condition): Define.
13325 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13326 (syscall-list-variants, syscall-list-32bit-options)
13327 (syscall-list-32bit-condition, syscall-list-64bit-options)
13328 (syscall-list-64bit-condition): Define.
13329 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13330 Remove.
13331 (syscall-list-variants, syscall-list-32bit-options)
13332 (syscall-list-32bit-condition, syscall-list-64bit-options)
13333 (syscall-list-64bit-condition): Define.
13334 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13335 Remove.
13336 (syscall-list-variants, syscall-list-32bit-options)
13337 (syscall-list-32bit-condition, syscall-list-64bit-options)
13338 (syscall-list-64bit-condition): Define.
13339
21eaf3a5
UD
133402011-12-22 Ulrich Drepper <drepper@gmail.com>
13341
16c6f992
UD
13342 * locale/iso-639.def: Add brx entry.
13343
41043168
UD
13344 [BZ #13328]
13345 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13346 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13347
21eaf3a5
UD
13348 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13349 __feraiseexcept_renamed.
13350
e3a851a2
UD
133512011-12-21 Ulrich Drepper <drepper@gmail.com>
13352
4920765e
UD
13353 [BZ #13538]
13354 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13355 EPOLLET with unsigned values.
13356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13358
e3a851a2
UD
13359 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13360 to large cancellation.
13361 * math/s_cacoshf.c: Likewise.
13362 * math/s_cacoshl.c: Likewise.
13363
b27e24b8
RK
133642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13365
13366 [BZ #13305]
aebefeee 13367 [BZ #12786]
b27e24b8
RK
13368 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13369 * math/s_cacoshf.c: Likewise.
13370 * math/s_cacoshl.c: Likewise.
13371
ee190f67
UD
133722011-12-21 Ulrich Drepper <drepper@gmail.com>
13373
13374 [BZ #13439]
13375 * iconv/gconv.h: Define __GCONV_SWAP.
13376 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13377 * iconvdata/utf-16.c: Likewise.
13378 * iconvdata/utf-32.c: Likewise.
13379
707f25df
AS
133802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13381
13382 [BZ #13524]
13383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13384 numerator after shifting it by one limb.
13385
d2daaa1e
RÁE
133862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13387
13388 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13389 under [__USE_EXTERN_INLINES].
13390
a4647e72
UD
133912011-12-17 Ulrich Drepper <drepper@gmail.com>
13392
13393 [BZ #13446]
13394 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13395
f0b264f1
AZ
133962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13397
13398 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13399 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13400 optimized code.
13401 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13402 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13403 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13404 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13405 for strncasecmp/strncasecmp_l compilation.
13406 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13407 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13408
8ef4f244
MP
134092011-12-08 Marek Polacek <mpolacek@redhat.com>
13410
13411 [BZ #13484]
13412 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13413 of __asm__.
13414
97ac2654
UD
134152011-12-17 Ulrich Drepper <drepper@gmail.com>
13416
13417 [BZ #13506]
13418 * time/tzfile.c (__tzfile_read): Check values from file header.
13419
91d2a845
WS
134202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13421
13422 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13423 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13424 * powerpc/powerpc32/dl-start.S: Likewise.
13425 * powerpc/powerpc32/elf/start.S: Likewise.
13426 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13427 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13428 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13429 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13430 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13431 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13432 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13433 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13434 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13435 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13436 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13437 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13438 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13439 * powerpc/powerpc32/memset.S: Likewise.
13440 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13441 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13442 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13443 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13444 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13445 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13446 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13447 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13448 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13449 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13450 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13451 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13452 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13453
a1267ba1
AZ
134542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13455
13456 * math/libm-test.inc: Added more nearbyint tests.
13457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13461
ad8ac1bd
RL
134622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13463
13464 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13465 FD_CLOEXEC.
13466
1d3e4b61
UD
134672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13468
13469 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13470 Add wcscpy-ssse3 wcscpy-c.
13471 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13472 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13473 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13474 * sysdeps/x86_64/wcschr.S: New file.
13475 * sysdeps/x86_64/wcsrchr.S: New file.
13476 * string/test-strcmp.c: Remove checking of wcscmp function for
13477 wrong alignments.
13478 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13479 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13480 wcsrchr-sse2 wcsrchr-c.
13481 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13482 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13483 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13484 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13485 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13486 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13487 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13488 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13489 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13490 * wcsmbc/wcschr.c (WCSCHR): New macro.
13491
5b330a2d
UD
134922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13493
13494 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13495 * wcsmbs/test-wcsrchr.c: New file.
13496 * string/test-strrchr.c: Add wcsrchr support.
13497 (WIDE): New macro.
13498 * wcsmbs/test-wcscpy.c: New file.
13499 * string/test-strcpy.c: Add wcscpy support.
13500 (WIDE): New macro.
26428b7c 13501
f039c043
UD
135022011-12-10 Ulrich Drepper <drepper@gmail.com>
13503
13504 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13505 the inner loop.
13506
850fb039
AS
135072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13508
13509 [BZ #13472]
13510 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13511
4efbd5cb
UD
135122011-12-04 Ulrich Drepper <drepper@gmail.com>
13513
52ff5dd0 13514 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13515 Minor optimizations.
52ff5dd0 13516
4efbd5cb
UD
13517 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13518 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13519 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13520
8a426e12
UD
135212011-12-03 Ulrich Drepper <drepper@gmail.com>
13522
aff2453d
UD
13523 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13524 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13525 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13526 for gcc to avoid warnings.
13527 * inet/Makefile (tests): Add tst-checks.
13528 * inet/tst-checks.c: New file.
13529
13530 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13531 warning.
13532
13533 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13534 __wmemcmp_sse2.
13535
13536 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13537 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13538
8a426e12
UD
13539 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13540
9bea3473
UD
135412011-12-02 Ulrich Drepper <drepper@gmail.com>
13542
3a965496
UD
13543 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13544 problem.
13545
9bea3473
UD
13546 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13547
f101631b
UD
135482011-11-29 Joseph Myers <joseph@codesourcery.com>
13549
13550 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13551 conditional on GCC version.
13552 (__arch_compare_and_exchange_val_8_acq)
13553 (__arch_compare_and_exchange_val_16_acq)
13554 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13555 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13556 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13557
a98275aa
UD
135582011-12-02 Joseph Myers <joseph@codesourcery.com>
13559
13560 * sysdeps/sh/backtrace.c: New file.
13561
d4cc29a2
AS
135622011-12-02 Andreas Schwab <schwab@redhat.com>
13563
13564 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13565 parenthesis.
13566
6257af2d
AS
135672011-12-01 Andreas Schwab <schwab@redhat.com>
13568
13569 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13570 falling back to utime.
13571
b5f44c1a
AS
135722011-11-30 Andreas Schwab <schwab@redhat.com>
13573
13574 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13575 expectations for float.
13576
f3a6cc0a
AS
135772011-11-29 Andreas Schwab <schwab@redhat.com>
13578
13579 * locale/weight.h (findidx): Add parameter len.
13580 * locale/weightwc.h (findidx): Likewise.
13581 * posix/fnmatch_loop.c (FCT): Adjust caller.
13582 * posix/regcomp.c (build_equiv_class): Likewise.
13583 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13584 * posix/regexec.c (check_node_accept_bytes): Likewise.
13585 * string/strcoll_l.c (STRCOLL): Likewise.
13586 * string/strxfrm_l.c (STRXFRM): Likewise.
13587
9d65ea3a
UD
135882011-11-17 Ulrich Drepper <drepper@gmail.com>
13589
13590 * Makefile.in: Remove CVSOPT handling.
13591 * configure.in: Remove use of AC_REVISION.
13592 * iconvdata/Makefile (distribute): No need to filter out CVS.
13593 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13594 handling.
13595
5583a086
AS
135962011-11-16 Andreas Schwab <schwab@redhat.com>
13597
13598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13599 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13600 [USE_AS_STRNCASECMP_L]: Likewise.
13601 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13602 NO_TLS_DIRECT_SEG_REFS.
13603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13604 Fix argument offsets for non-PIC.
13605 [USE_AS_STRNCASECMP_L]: Likewise.
13606 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13607 NO_TLS_DIRECT_SEG_REFS.
13608
d62a8200
UD
136092011-11-15 Ulrich Drepper <drepper@gmail.com>
13610
9d65ea3a 13611 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13612 O_CLOEXEC.
13613 * locale/loadlocale.c (_nl_load_locale): Likewise.
13614
09f93bd3
AS
136152011-11-15 Andreas Schwab <schwab@redhat.com>
13616
446514f9
AS
13617 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13618 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13620 (SYSCALL_GETTIME): Set errno on error.
13621
09f93bd3
AS
13622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13623 count references to noai6ai_cached.
13624
312be3f9
UD
136252011-11-15 Ulrich Drepper <drepper@gmail.com>
13626
13627 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13628
13629 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13630 FD_CLOEXEC for /proc/self/maps.
13631
13632 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13633 FD_CLOEXEC for /proc/meminfo.
13634
13635 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13636 gai.conf.
13637
13638 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13639 FD_CLOEXEC for given file.
13640
13641 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13642
13643 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13644 FD_CLOEXEC for /etc/hosts.
13645 (_gethtent): Likewise.
13646
13647 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13648
13649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13650 cancellation and set FD_CLOEXEC for /etc/netgroup.
13651
13652 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13653 reading /etc/publickey.
13654
13655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13656 allow cancellation when reading /etc/group.
13657
13658 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13659 cancellation.
13660 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13661
13662 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13663 when using data file.
13664
13665 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13666
13667 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13668 (write_nis_obj): Use "c" and "e" in fopen.
13669
13670 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13671
13672 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13673
13674 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13675
13676 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13677
13678 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13679 locale.alias.
13680
13681 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13682
13683 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13684
13685 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13686
13687 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13688 file parsing and set FD_CLOEXEC.
13689
82af0fa8
UD
136902011-11-14 Ulrich Drepper <drepper@gmail.com>
13691
13692 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13693
a5fb313c
AS
136942011-11-14 Andreas Schwab <schwab@redhat.com>
13695
13696 * malloc/arena.c (arena_get2): Don't call reused_arena when
13697 _int_new_arena failed.
13698
6abf3465
UD
136992011-11-14 Ulrich Drepper <drepper@gmail.com>
13700
13701 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13702 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13705 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13707 to compile strcasecmp and strncasecmp.
13708 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13709 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13710
13711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13712
76e3966e
UD
137132011-11-13 Ulrich Drepper <drepper@gmail.com>
13714
13715 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13716 locale-defines.sym to gen-as-const-headers.
13717 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13718 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13720 to compile strcasecmp and strncasecmp.
13721 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13722 strcasecmp_l and strncasecmp_l.
13723 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13724 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13725 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13726 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13727 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13728 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13729 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13730 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13731 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13732 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13733 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13734
ab26144e
UD
137352011-11-12 Ulrich Drepper <drepper@gmail.com>
13736
7edb22ef
UD
13737 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13738 result of SYSDEP_GETTIME_CPU to retval.
13739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13740 parameter list to macro. Remove trailing semicolon. Adjust users.
13741
9694fc44
UD
13742 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13743 variable.
13744
8ad89ef8
UD
13745 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13746 mantissa words.
13747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13748
0c822ef9
UD
13749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13750 from unused variable.
13751
874e0564
UD
13752 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13753 DWARF definitions.
13754 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13755 for assembling.
13756
3a2edc79
UD
13757 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13758 over namespaces.
13759
f3c2577f
UD
13760 * sunrpc/rpc_prot.c (rejected): Fix case value.
13761
294ce126
UD
13762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13763 unsigned long long int to avoid warnings in shift.
13764
5e2b63c6
UD
13765 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13766 of use of trans.
13767 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13768 variable tmp.
13769
e7f4b08e
UD
13770 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13771 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13772 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13773
ab26144e
UD
13774 * nis/nis_table.c (nis_list): Use variable of correct type for
13775 result of __follow_path call.
13776
8a6d5255
AZ
137772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778
13779 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13780 of math functions ceil, trunc, floor, round, and sqrt, when
13781 avaliable on the platform.
13782 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13783 name clash.
13784 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13785 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13786 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13787
aaddc98c
MP
137882011-10-30 Marek Polacek <mpolacek@redhat.com>
13789
13790 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13792
95b7042b
RM
137932011-11-11 Roland McGrath <roland@hack.frob.com>
13794
13795 * include/unistd.h: Fix __readlink return type.
13796 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13797
57769839
UD
137982011-11-11 Ulrich Drepper <drepper@gmail.com>
13799
13800 * stdlib/ucontext.h: Undo last change for makecontext.
13801
edc5984d
AS
138022011-11-11 Andreas Schwab <schwab@redhat.com>
13803
98591e58
AS
13804 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13805
edc5984d
AS
13806 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13807 * setjmp/setjmp.h: Mark functions as non-leaf.
13808 * setjmp/bits/setjmp2.h: Likewise.
13809 * stdlib/ucontext.h: Likewise.
13810
77cdc054
AS
138112011-11-10 Andreas Schwab <schwab@redhat.com>
13812
13813 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13814 (reused_arena): Don't check arena limit.
13815 (arena_get2): Atomically check arena limit.
13816
fe72eebd
UD
138172011-11-08 Ulrich Drepper <drepper@gmail.com>
13818
5f078c32
UD
13819 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13820 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13821
fe72eebd
UD
13822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13823 instructions.
13824
ae1bc2fa
AS
138252011-11-07 Andreas Schwab <schwab@redhat.com>
13826
7583a88d
AS
13827 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13828 handler when locking.
13829
ae1bc2fa
AS
13830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13831 Fix size of allocated buffer.
13832
10fb0bfa
AS
138332011-11-04 Andreas Schwab <schwab@redhat.com>
13834
998832a4
AS
13835 [BZ #10103]
13836 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13837 declarations for long double functions.
13838 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13839
10fb0bfa
AS
13840 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13841
3d7ba52b
AS
138422011-11-03 Andreas Schwab <schwab@redhat.com>
13843
a9ae54a1
AS
13844 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13845 installed.
13846
3d7ba52b
AS
13847 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13848 is disabled.
13849
bc8db248
ST
138502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13851
13852 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13853
45b96dd6
AS
138542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13855
647776f6
AS
13856 * include/alloca.h (stackinfo_alloca_round): Define.
13857 (extend_alloca): Use it.
13858 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13859 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13860 here.
13861
d91a8b93
AS
13862 * scripts/check-local-headers.sh: Ignore libaudit.h.
13863
45b96dd6
AS
13864 * nscd/Makefile (extra-objs): Make recursively expanded.
13865
432d41ce
UD
138662011-11-01 Ulrich Drepper <drepper@gmail.com>
13867
34372fc6
UD
13868 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13870
fadb59f8
UD
13871 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13872 * posix/tst-rfc3484-2.c: Likewise.
13873 * posix/tst-rfc3484-3.c: Likewise.
13874
78239589
UD
13875 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13876 process_vm_writev.
13877 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13878 process_vm_writev.
13879 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13880 process_vm_writev from libc using GLIBC_2.15 version.
13881
432d41ce
UD
13882 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13883
02f9c6cf
PP
138842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13885
13886 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13887 stack usage.
13888
3a2c0242
UD
138892011-10-31 Ulrich Drepper <drepper@gmail.com>
13890
f4ec4833
UD
13891 [BZ #13367]
13892 * nss/getent.c (initgroups_keys): Show error message in case no group
13893 names are given.
13894
3a2c0242
UD
13895 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13896 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13897 __bump_nl_timestamp.
13898 * nscd/connections (nscd_init): When host database is served open
13899 netlink socket and request notification about configuration changes.
13900 (main_loop_poll): Track netlink file descriptor and bump timestamp
13901 in case data becomes available.
13902 (main_loop_epoll): Likewise.
13903 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13904 (database_pers_head): Add extra_data fileds.
13905 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13907 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13908 Adjust caller.
13909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13910 in6ai data, call __free_in6ai.
13911 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13912 Add -DHAVE_NETLINK.
13913 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13914 interface information. Reuse previous data if netlink timestamp
13915 is not changed.
13916 (__bump_nl_timestamp): New function.
13917 (__free_in6ai): New function.
13918
636064eb
UD
139192011-10-30 Ulrich Drepper <drepper@gmail.com>
13920
13921 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13922 close_not_cancel_no_status here.
13923 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13924
9beb2334
UD
139252011-10-29 Ulrich Drepper <drepper@gmail.com>
13926
6ef76f3b
UD
13927 [BZ #13276]
13928 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13929 return value.
13930
0ffc4f3e 13931 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13932 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13933 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13934
cb95113e
UD
139352011-07-03 Andreas Jaeger <aj@suse.de>
13936
13937 [BZ #10709]
13938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13939 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13940 * math/libm-test.inc (sin_test): Add test case.
13941
a1b560ff
UD
139422011-10-29 Ulrich Drepper <drepper@gmail.com>
13943
c9aaface
UD
13944 [BZ #13337]
13945 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13946 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13947
d272e7f1
UD
13948 * elf/chroot_canon.c (chroot_canon): Cleanups.
13949
1bc33071
UD
13950 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13951
1760874d
TJ
13952 [BZ #13335]
13953 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13954 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13955
51d91b18
UD
13956 * string/test-strchr.c: Make usable for strchrnul testing.
13957 * string/test-strchrnul.c: New file.
13958 * string/Makefile (strop-tests): Add strchrnul.
13959
a1b560ff 13960 * po/it.po: Update from translation team.
b611fb81 13961 * po/es.po: Likewise.
a1b560ff 13962
a5b81e1f
UD
139632011-10-28 Ulrich Drepper <drepper@gmail.com>
13964
fd52bc6d
UD
13965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13966 the three constants needed as parameters. Drop the others.
13967 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13968 __m128i_strloadu_tolower.
52e4b9eb
UD
13969 Create and initialize variable zero and use it in all the places
13970 where _mm_setzero_si128 was used.
fd52bc6d 13971
a5b81e1f
UD
13972 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13973 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13974 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13975 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13976 anymore.
13977 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13978 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13979 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13980 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13981 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13982 __mpranred, __mptan.
13983 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13984 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13985 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13986 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13987 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13988 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13990 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13991 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13992
b4343346
AS
139932011-10-28 Andreas Schwab <schwab@redhat.com>
13994
0c92d8a8
AS
13995 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13996 redefine if SHARED.
13997 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13998
b4343346
AS
13999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14000 wide char related routines to wcsmbs subdir.
14001
3871f58f
AS
140022011-10-27 Andreas Schwab <schwab@redhat.com>
14003
14004 [BZ #13344]
14005 * misc/sys/cdefs.h (__THROWNL): Define.
14006 * posix/unistd.h: Use __THREADNL instead of __THREAD
14007 for memory synchronization functions.
14008
94d44d9f
RM
140092011-10-26 Roland McGrath <roland@hack.frob.com>
14010
21b64b15 14011 [BZ #13349]
94d44d9f
RM
14012 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14013 doesn't exist.
14014 * manual/stdio.texi (Obstack Streams): Node removed.
14015
f6ce9294
AS
140162011-10-26 Andreas Schwab <schwab@redhat.com>
14017
80479147
AS
14018 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14020 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14021
f6ce9294
AS
14022 * math/math_private.h (math_force_eval): Allow non-addressable
14023 arguments.
14024 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14025
618280a1
UD
140262011-10-25 Ulrich Drepper <drepper@gmail.com>
14027
e0016b11
UD
14028 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14029 file is not needed.
14030
14031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14038 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14039 Add AVX variants.
14040 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14041 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14042 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14043 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14044 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14045 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14046 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14047 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14050 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14051 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14053 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14056 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14057 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14058 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14059
14060 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14061 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14062
618280a1
UD
14063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14064 place. Use VEX encoding when compiling for AVX.
14065
37822576
AS
140662011-10-25 Andreas Schwab <schwab@redhat.com>
14067
1f1e1947
AS
14068 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14069 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14070
37822576
AS
14071 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14072
31ea014d
UD
140732011-10-25 Ulrich Drepper <drepper@gmail.com>
14074
d7826aa1 14075 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14076 useless if() expression.
d7826aa1
UD
14077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14088 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14091 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14096
31ea014d
UD
14097 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14098
16437fec
AS
140992011-10-25 Andreas Schwab <schwab@redhat.com>
14100
14101 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14102 condition.
14103 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14104
31d3cc00
UD
141052011-10-25 Ulrich Drepper <drepper@gmail.com>
14106
14107 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14108 .text section. Avoid duplicate constants.
14109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14119 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14121 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14126 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14132 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14133 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14134 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14135 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14136 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14137 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14140 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14141 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14142 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14143 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14144 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14145 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14147 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14148 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14149 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14150 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14154
58985aa9
UD
141552011-10-24 Ulrich Drepper <drepper@gmail.com>
14156
202c9deb
UD
14157 * sysdeps/x86_64/dla.h: Move to ...
14158 * sysdeps/x86_64/fpu/dla.h: ...here.
14159 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14160 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14161
af968f62
UD
14162 * config.make.in: Add have-mfma4 entry.
14163 * configure.in: Substitute libc_cv_cc_fma4.
14164 * math/Makefile (dbl-only-routines): Add sincostab.
14165 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14166 Use __sincostab not sincos.
14167 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14168 name is a macro.
14169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14173 using __copysign.
14174 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14175 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14176 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14177 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14178 and __inv.
14179 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14180 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14181 __copysign.
14182 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14183 define aliases when function name is a macro.
14184 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14185 sysdeps/ieee754/dbl-64/sincos.tbl.
14186 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14187 fma4-enabled routines.
14188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14193 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14197 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14198 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14200 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14215 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14217 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14218
58985aa9
UD
14219 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14220 rename.
14221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14229
a201fbcf
AS
142302011-10-24 Andreas Schwab <schwab@redhat.com>
14231
14232 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14233
fc2ee42a
LD
142342011-10-23 Ulrich Drepper <drepper@gmail.com>
14235
bb3129bd
UD
14236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14237
0275fff8
UD
14238 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14239 prediction.
14240 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14241
2fa2ae85
UD
14242 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14243 Remove unused variable magic_bits.
14244 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14245
fc2ee42a
LD
14246 * string/strnlen.c: Define and use STRNLEN macro.
14247 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14248 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14250 * wcsmbs/wcslen.c: Define and use WCSLEN.
14251 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14252 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14253 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14254 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14255 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14256 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14257 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14258
ce7dd29f
LD
142592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14260
14261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14262 strnlen-sse2-no-bsf.
14263 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14265 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14266 Add strnlen support.
14267 (USE_AS_STRNLEN): New macro.
14268 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14269 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14270 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14271 * sysdeps/x86_64/wcslen.S: New file.
14272
979c70a3
MZ
142732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14274
14275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14276 XMM-moves are used for copying on small sizes.
14277
2d09f82f
LD
142782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14279
14280 * wcsmbs/Makefile (strop-tests): Add wcschr.
14281 * wcsmbs/test-wcschr.c: New file.
14282 * string/test-strchr.c: Update.
14283 Add wcschr support.
14284 (WIDE): New macro.
14285
619fccca
LD
142862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14287
2d09f82f 14288 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14289 * wcsmbs/test-wcslen.c: New file.
14290 * string/test-strlen.c: Update.
14291 Add wcslen support.
14292 (WIDE): New macro.
14293
09f699ea
UD
142942011-10-23 Ulrich Drepper <drepper@gmail.com>
14295
14296 * po/it.po: Update from translation team.
14297
95584d3b
LD
142982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14299
14300 * sysdeps/x86_64/wcscmp.S: Update.
14301 Fix wrong comparison semantics.
14302 wcscmp shall use signed comparison not unsigned.
14303 Don't use substraction to avoid overflow bug.
14304 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14305 * wcsmbc/wcscmp.c: Likewise.
14306 * string/test-strcmp.c: Likewise.
14307 Add new tests to check cases with negative values.
14308
c8b3296b
UD
143092011-10-23 Ulrich Drepper <drepper@gmail.com>
14310
14311 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14312 * sysdeps/x86_64/dla.h: ...here. New file.
14313 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14322
246ad57a
AS
143232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14324
14325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14326 __ynl_finite aliases.
14327
a1a87169
UD
143282011-10-22 Ulrich Drepper <drepper@gmail.com>
14329
0d355eb7
UD
14330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14331
a1a87169
UD
14332 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14333 define DLA_FMA.
14334 [DLA_FMA] (EMULV): Use DLA_FMA.
14335 [DLA_FMA] (MUL12): Use EMULV.
14336 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14337 that are not needed.
14338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14345
ee2aafe0
AS
143462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14347
14348 * math/s_nan.c: Undef __nan.
14349 * math/s_nanf.c: Undef __nanf.
14350 * math/s_nanl.c: Undef __nanl.
14351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14352 "math_private.h".
14353
bc62c2fb
UD
143542011-10-22 Ulrich Drepper <drepper@gmail.com>
14355
77425c63
UD
14356 * math/s_catan.c: Add branch predictions.
14357 * math/s_catanf.c: Likewise.
14358 * math/s_catanh.c: Likewise.
14359 * math/s_catanhf.c: Likewise.
14360 * math/s_catanhl.c: Likewise.
14361 * math/s_catanl.c: Likewise.
14362 * math/s_cexp.c: Likewise.
14363 * math/s_cexpf.c: Likewise.
14364 * math/s_cexpl.c: Likewise.
14365 * math/s_clog.c: Likewise.
14366 * math/s_clog10.c: Likewise.
14367 * math/s_clog10f.c: Likewise.
14368 * math/s_clog10l.c: Likewise.
14369 * math/s_clogf.c: Likewise.
14370 * math/s_clogl.c: Likewise.
14371 * math/s_csqrt.c: Likewise.
14372 * math/s_csqrtf.c: Likewise.
14373 * math/s_csqrtl.c: Likewise.
14374 * math/s_ctanf.c: Likewise.
14375 * math/s_ctanh.c: Likewise.
14376 * math/s_ctanhf.c: Likewise.
14377 * math/s_ctanhl.c: Likewise.
14378 * math/s_ctanl.c: Likewise.
14379
bc62c2fb
UD
14380 * math/math_private.h: Define __nan, __nanf, __nanl.
14381 * math/s_cacosh.c: Include <math_private.h>.
14382 * math/s_cacoshl.c: Likewise.
14383 * math/s_casinh.c: Likewise.
14384 * math/s_casinhf.c: Likewise.
14385 * math/s_casinhl.c: Likewise.
14386 * math/s_ccos.c: Rely entire on ccosh.
14387 * math/s_ccosf.c: Rely entire on ccoshf.
14388 * math/s_ccosl.c: Rely entirely on ccoshl.
14389 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14390 Remove tests for FE_INVALID.
14391 * math/s_ccoshf.c: Likewise.
14392 * math/s_ccoshl.c: Likewise.
14393 * math/s_csin.c: Likewise.
14394 * math/s_csinf.c: Likewise.
14395 * math/s_csinh.c Likewise.
14396 * math/s_csinhf.c: Likewise.
14397 * math/s_csinhl.c: Likewise.
14398 * math/s_csinl.c: Likewise.
14399 * math/s_ctan.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14401 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14402 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14403
8ec250a4
UD
144042011-10-21 Ulrich Drepper <drepper@gmail.com>
14405
c196fed8
UD
14406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14407 compilation problems.
14408
8ec250a4
UD
14409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14410 __builtin_expect.
14411
8d4f46c6
UD
144122011-10-20 Ulrich Drepper <drepper@gmail.com>
14413
ed72b654
UD
14414 * sysdeps/i386/configure.in: Test for -mfma4 option.
14415 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14416 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14417 COMMON_CPUID_INDEX_80000001.
14418 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14419 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14420 use it if FMA3 is not supported.
14421 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14422
8d4f46c6
UD
14423 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14424 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14425
d45c60c2
AS
144262011-10-20 Andreas Schwab <schwab@redhat.com>
14427
14428 [BZ #12892]
14429 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14430 it would create a cycle with a link time dependency.
14431
d9a4d2ab
UD
144322011-10-19 Ulrich Drepper <drepper@gmail.com>
14433
855d1560
UD
14434 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14435 instruction.
14436 * string/Makefile (strop-tests): Add rawmemchr.
14437 * string/test-rawmemchr.c: New file.
14438
d9a4d2ab
UD
14439 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14441 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14442 when compiling str{,n}casecmp and when AVX is available. Hook up
14443 new optimized code in initializers.
14444
8f3b1ffe
AS
144452011-10-19 Andreas Schwab <schwab@redhat.com>
14446
14447 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14448 __feraiseexcept instead of feraiseexcept.
14449
d38f1dba
UD
144502011-10-18 Ulrich Drepper <drepper@gmail.com>
14451
d9a8d0ab
UD
14452 * math/math_private.h: Define defaults for libc_fetestexcept and
14453 libc_feupdateenv.
14454 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14455 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14456 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14460 libc_fetestexcept and libc_feupdateenv.
14461
4855e3dd
UD
14462 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14463 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14464 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14465 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14466 libc_feholdexcept_setround.
14467
581d30e3
UD
14468 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14469 Add s_nearbyint-c and s_nearbyintf-c.
14470 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14471 nearbyintf inlines.
14472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14476
d38f1dba
UD
14477 * math/math_private.h: Define defaults for libc_fegetround,
14478 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14479 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14480 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14482 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14483 standard functions.
14484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14485 Remove comments and hacks for old compiler versions.
14486 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14487 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14488 libc_feholdexceptl.
14489
caa6c9d8
AS
144902011-10-18 Andreas Schwab <schwab@redhat.com>
14491
14492 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14493 (__feraiseexcept_renamed): Add __NTH.
14494 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14495 namespace violations.
14496
97c066e6
UD
144972011-10-17 Ulrich Drepper <drepper@gmail.com>
14498
99ce7b04
UD
14499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14500
1004d182
UD
14501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14502
228a984d
UD
14503 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14504 recently added interfaces.
14505 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14506
c8553a6a
UD
14507 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14508 about macro parameter expansion.
14509
ed22dcf6
UD
14510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14511 __NO_MATH_INLINES is defined. Cleanups.
14512
14513 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14514 and __floorf is target has SSE4.1.
14515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14516 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14517 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14518 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14519
b171c137
UD
14520 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14521 name.
14522 (floorf): Likewise.
14523
97c066e6
UD
14524 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14525
629f62ef
AS
145262011-10-17 Andreas Schwab <schwab@redhat.com>
14527
49a43d80
AS
14528 * misc/sys/cdefs.h: Fix last change.
14529
629f62ef
AS
14530 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14531 database lookup.
14532
e453f6cd
UD
145332011-10-16 Ulrich Drepper <drepper@gmail.com>
14534
aa78043a
UD
14535 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14536
ad0f5cad
UD
14537 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14544 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14545 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14546 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14547 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14548 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14549 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14550 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14551 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14552 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14554 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14555 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14556 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14557 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14558 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14559
14560 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14561 ceil, ceilf, floor, floorf.
14562
14563 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14564 Perform IRELATIVE relocations last.
14565
e453f6cd
UD
14566 * elf/do-rel.h: Add another parameter nrelative, replacing the
14567 local variable with the same name. Change name of the function
14568 to end in Rel or Rela (uppercase).
14569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14570 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14571 elf_dynamic_do_##reloc function.
14572
fd5bdc09
UD
145732011-10-15 Ulrich Drepper <drepper@gmail.com>
14574
79b195b5
UD
14575 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14576 is sufficient, at least on modern CPUs.
14577
d4a28569
UD
14578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14579
b61099b5
UD
14580 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14582
bcf01e6d
UD
14583 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14584 __expl_finite.
14585 * math/bits/math-finite.h: Add entries for exp.
14586 * math/e_expl.c: Add __*_finite alias.
14587 * sysdeps/i386/fpu/e_exp.S: Likewise.
14588 * sysdeps/i386/fpu/e_expf.S: Likewise.
14589 * sysdeps/i386/fpu/e_expl.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14591 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14595 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14597
ba1a0d59
UD
14598 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14599 is sufficient, at least on modern CPUs.
14600
fd5bdc09
UD
14601 * ctype/ctype-info.c (__ctype_init): Define.
14602 * include/ctype.h (__ctype_init): Declare.
14603 (__ctype_b_loc): The variable is always initialized.
14604 (__ctype_toupper_loc): Likewise.
14605 (__ctype_tolower_loc): Likewise.
14606 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14607 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14608
7872cfb0
AS
146092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14610
b468825a
AS
14611 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14612
7872cfb0
AS
14613 * configure.in: Also look in $cxxmachine/include for C++ system
14614 headers.
14615
be13f7bf
LD
146162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14617
14618 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14619 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14620 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14621 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14622 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14623 (USE_AS_WMEMCMP): New macro.
14624 Fixing indents.
14625 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14626 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14627 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14628 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14630 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14631 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14632 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14633 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14634 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14635 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14636 (USE_AS_WMEMCMP): New macro.
14637 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14638 * sysdeps/string/test-memcmp.c: Update.
14639 Fix simple_wmemcmp.
14640 Add new tests.
14641 * wcsmbs/wmemcmp.c: Update.
14642 (WMEMCMP): New macro.
14643 Fix overflow bug.
14644
556a2007
AJ
146452011-10-12 Andreas Jaeger <aj@suse.de>
14646
14647 [BZ #13268]
14648 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14649
538faaa7
UD
146502011-10-15 Ulrich Drepper <drepper@gmail.com>
14651
ab6737ff
UD
14652 * libio/iofwide.c (do_length): Avoid warning.
14653
538faaa7
UD
14654 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14655
396a21b1
UD
146562011-10-14 Ulrich Drepper <drepper@gmail.com>
14657
cdf2901f
UD
14658 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14659
38ad40ce
UD
14660 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14661 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14662 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14663 * sysdeps/i386/i686/fpu/e_log.S: New file.
14664 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14665 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14666
396a21b1
UD
14667 * ctype/ctype.h: Add support for inlined isXXX functions when
14668 compiling C++ code.
14669
6b1f68c9
AS
146702011-10-14 Andreas Schwab <schwab@redhat.com>
14671
349290c0
AS
14672 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14673
6b1f68c9
AS
14674 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14675
f2282d42
RM
146762011-10-13 Roland McGrath <roland@hack.frob.com>
14677
14678 [BZ #13291]
14679 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14680
5298ffa8
AS
146812011-10-13 Andreas Schwab <schwab@redhat.com>
14682
714fad23
AS
14683 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14684 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14685 feraiseexcept.
14686
81dcc7fb
AS
14687 * sysdeps/x86_64/memrchr.S: Check for zero size.
14688
5298ffa8
AS
14689 * string/stratcliff.c: Add memrchr tests.
14690
951fbcec
LD
146912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14692
14693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14694 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14695 rawmemchr-sse2 rawmemchr-sse2-bsf.
14696 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14697 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14698 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14699 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14700 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14701 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14702 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14703 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14706 * string/memrchr.c (MEMRCHR): New macro.
14707
0ac5ae23
UD
147082011-10-12 Ulrich Drepper <drepper@gmail.com>
14709
14710 Add integration with gcc's -ffinite-math-only and optimize wrapper
14711 functions in libm.
14712 * Versions.def: Define GLIBC_2.15 version for libm.
14713 * math/Makefile (headers): Add bits/math-finite.h.
14714 * math/bits/math-finite.h: New file.
14715 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14716 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14717 * math/e_acoshl.c: Add __*_finite alias.
14718 * math/e_acosl.c: Likewise.
14719 * math/e_asinl.c: Likewise.
14720 * math/e_atan2l.c: Likewise.
14721 * math/e_atanhl.c: Likewise.
14722 * math/e_coshl.c: Likewise.
14723 * math/e_exp10.c: Likewise.
14724 * math/e_exp10f.c: Likewise.
14725 * math/e_exp10l.c: Likewise.
14726 * math/e_exp2l.c: Likewise.
14727 * math/e_fmodl.c: Likewise.
14728 * math/e_gammal_r.c: Likewise.
14729 * math/e_hypotl.c: Likewise.
14730 * math/e_j0l.c: Likewise.
14731 * math/e_j1l.c: Likewise.
14732 * math/e_jnl.c: Likewise.
14733 * math/e_lgammal_r.c: Likewise.
14734 * math/e_log10l.c: Likewise.
14735 * math/e_log2l.c: Likewise.
14736 * math/e_logl.c: Likewise.
14737 * math/e_powl.c: Likewise.
14738 * math/e_sinhl.c: Likewise.
14739 * math/e_sqrtl.c: Likewise.
14740 * math/e_scalb.c: Completely rewritten and optimized.
14741 * math/e_scalbf.c: Likewise.
14742 * math/e_scalbl.c: Likewise.
14743 * math/w_acos.c: Likewise.
14744 * math/w_acosf.c: Likewise.
14745 * math/w_acosl.c: Likewise.
14746 * math/w_acosh.c: Likewise.
14747 * math/w_acoshf.c: Likewise.
14748 * math/w_acoshl.c: Likewise.
14749 * math/w_asin.c: Likewise.
14750 * math/w_asinf.c: Likewise.
14751 * math/w_asinl.c: Likewise.
14752 * math/w_atan2.c: Likewise.
14753 * math/w_atan2f.c: Likewise.
14754 * math/w_atan2l.c: Likewise.
14755 * math/w_atanh.c: Likewise.
14756 * math/w_atanhf.c: Likewise.
14757 * math/w_atanhl.c: Likewise.
14758 * math/w_exp10.c: Likewise.
14759 * math/w_exp10f.c: Likewise.
14760 * math/w_exp10l.c: Likewise.
14761 * math/w_fmod.c: Likewise.
14762 * math/w_fmodf.c: Likewise.
14763 * math/w_fmodl.c: Likewise.
14764 * math/w_j0.c: Likewise.
14765 * math/w_j0f.c: Likewise.
14766 * math/w_j0l.c: Likewise.
14767 * math/w_j1.c: Likewise.
14768 * math/w_j1f.c: Likewise.
14769 * math/w_j1l.c: Likewise.
14770 * math/w_jn.c: Likewise.
14771 * math/w_jnf.c: Likewise.
14772 * math/w_log.c: Likewise.
14773 * math/w_logf.c: Likewise.
14774 * math/w_logl.c: Likewise.
14775 * math/w_log10.c: Likewise.
14776 * math/w_log10f.c: Likewise.
14777 * math/w_log10l.c: Likewise.
14778 * math/w_log2.c: Likewise.
14779 * math/w_log2f.c: Likewise.
14780 * math/w_log2l.c: Likewise.
14781 * math/w_pow.c: Likewise.
14782 * math/w_powf.c: Likewise.
14783 * math/w_powl.c: Likewise.
14784 * math/w_remainder.c: Likewise.
14785 * math/w_remainderf.c: Likewise.
14786 * math/w_remainderl.c: Likewise.
14787 * math/w_scalb.c: Likewise.
14788 * math/w_scalbf.c: Likewise.
14789 * math/w_scalbl.c: Likewise.
14790 * math/w_sqrt.c: Likewise.
14791 * math/w_sqrtf.c: Likewise.
14792 * math/w_sqrtl.c: Likewise.
14793 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14794 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14795 used.
14796 * math/math_private.h: Declare __kernel_standard_f.
14797 * math/w_cosh.c: Remove cruft and optimize a bit.
14798 * math/w_coshf.c: Likewise.
14799 * math/w_coshl.c: Likewise.
14800 * math/w_exp2.c: Likewise.
14801 * math/w_exp2f.c: Likewise.
14802 * math/w_exp2l.c: Likewise.
14803 * math/w_hypot.c: Likewise.
14804 * math/w_hypotf.c: Likewise.
14805 * math/w_hypotl.c: Likewise.
14806 * math/w_lgamma.c: Likewise.
14807 * math/w_lgamma_r.c: Likewise.
14808 * math/w_lgammaf.c: Likewise.
14809 * math/w_lgammaf_r.c: Likewise.
14810 * math/w_lgammal.c: Likewise.
14811 * math/w_lgammal_r.c: Likewise.
14812 * math/w_sinh.c: Likewise.
14813 * math/w_sinhf.c: Likewise.
14814 * math/w_sinhl.c: Likewise.
14815 * math/w_tgamma.c: Likewise.
14816 * math/w_tgammaf.c: Likewise.
14817 * math/w_tgammal.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14820 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14821 Minor optimizations. Pretty printing. Remove cruft.
14822 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14823 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14826 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14827 * sysdeps/i386/fpu/e_asin.S: Likewise.
14828 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14829 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14830 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14831 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14835 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14836 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14837 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14838 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14839 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14840 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14841 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14842 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14843 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14844 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14845 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14846 * sysdeps/i386/fpu/e_log.S: Likewise.
14847 * sysdeps/i386/fpu/e_log10.S: Likewise.
14848 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14850 * sysdeps/i386/fpu/e_log2.S: Likewise.
14851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14853 * sysdeps/i386/fpu/e_logf.S: Likewise.
14854 * sysdeps/i386/fpu/e_logl.S: Likewise.
14855 * sysdeps/i386/fpu/e_pow.S: Likewise.
14856 * sysdeps/i386/fpu/e_powf.S: Likewise.
14857 * sysdeps/i386/fpu/e_powl.S: Likewise.
14858 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14859 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14860 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14861 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14862 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14864 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14865 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14866 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14888 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14889 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14891 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14893 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14894 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14895 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14896 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14898 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14900 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14901 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14902 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14903 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14904 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14905 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14906 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14907 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14947 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14952 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14953 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14955 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14960 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14961 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14962 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14963 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14964 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14965 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14966 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14967 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14968 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14969 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14970 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14971 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14972 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14973 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14975 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14977 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14978 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14979 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14980 (__isnanf): Likewise.
14981 (__isinf_ns): Likewise.
14982 (__isinf_nsf): Likewise.
14983 (__finite): Likewise.
14984 (__finitef): Likewise.
14985 (__ieee754_sqrt): Define as macro.
14986 (__ieee754_sqrtf): Define as macro.
14987 (__ieee754_sqrtl): Define as macro.
14988 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14989 inlined copy.
14990 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14991 __FINITE_MATH_ONLY__ consistent.
14992 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14993
12cc2fcd
AS
149942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14995
a843a204
AS
14996 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14997 of rawmemchr.
14998
12cc2fcd
AS
14999 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15000
c853acd5
UD
150012011-10-09 Ulrich Drepper <drepper@gmail.com>
15002
15003 * po/ja.po: Update from translation team.
15004
c658d255
RM
150052011-10-08 Roland McGrath <roland@hack.frob.com>
15006
110946e4
RM
15007 * locale/programs/locarchive.c (prepare_address_space): New function.
15008 (create_archive, enlarge_archive, open_archive): Use it.
15009
50604220
RM
15010 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15011 inside [SHARED], where it is used.
15012
c658d255
RM
15013 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15014
15015 * nss/getent.c (netgroup_keys): Remove unused variable.
15016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15017
6a621eb7
UD
150182011-10-08 Ulrich Drepper <drepper@gmail.com>
15019
7edb55ce
UD
15020 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15021 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15025 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15026 * math/Makefile (libm-calls): Add s_isinf_ns.
15027 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15028 * math/multc3.c: Likewise.
15029 * math/s_casin.c: Likewise.
15030 * math/s_casinf.c: Likewise.
15031 * math/s_casinl.c: Likewise.
15032 * math/s_ccos.c: Likewise.
15033 * math/s_ccosf.c: Likewise.
15034 * math/s_ccosl.c: Likewise.
15035 * math/s_ctan.c: Likewise.
15036 * math/s_ctanf.c: Likewise.
15037 * math/s_ctanh.c: Likewise.
15038 * math/s_ctanhf.c: Likewise.
15039 * math/s_ctanhl.c: Likewise.
15040 * math/s_ctanl.c: Likewise.
15041 * math/w_fmod.c: Likewise.
15042 * math/w_fmodf.c: Likewise.
15043 * math/w_fmodl.c: Likewise.
15044 * math/w_remainder.c: Likewise.
15045 * math/w_remainderf.c: Likewise.
15046 * math/w_remainderl.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15048 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15049 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15051 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15052 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15053 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15054 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15055
187da0ae
UD
15056 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15057 of the number.
15058 * stdio-common/printf_fphex.c: Likewise.
15059 * stdio-common/printf_size.c: Likewise.
15060
9277c064
UD
15061 * math/e_exp10.c: Include math_private.h using <...> not "...".
15062 * math/e_exp10f.c: Likewise.
15063 * math/e_exp10l.c: Likewise.
15064 * math/e_exp2l.c: Likewise.
15065 * math/e_j0l.c: Likewise.
15066 * math/e_j1l.c: Likewise.
15067 * math/e_jnl.c: Likewise.
15068 * math/e_lgammal_r.c: Likewise.
15069 * math/e_rem_pio2l.c: Likewise.
15070 * math/e_scalb.c: Likewise.
15071 * math/e_scalbf.c: Likewise.
15072 * math/e_scalbl.c: Likewise.
15073 * math/k_cosl.c: Likewise.
15074 * math/k_sinl.c: Likewise.
15075 * math/k_tanl.c: Likewise.
15076 * math/s_cacoshf.c: Likewise.
15077 * math/s_catan.c: Likewise.
15078 * math/s_catanf.c: Likewise.
15079 * math/s_catanh.c: Likewise.
15080 * math/s_catanhf.c: Likewise.
15081 * math/s_catanhl.c: Likewise.
15082 * math/s_catanl.c: Likewise.
15083 * math/s_ccosh.c: Likewise.
15084 * math/s_ccoshf.c: Likewise.
15085 * math/s_ccoshl.c: Likewise.
15086 * math/s_cexp.c: Likewise.
15087 * math/s_cexpf.c: Likewise.
15088 * math/s_cexpl.c: Likewise.
15089 * math/s_clog.c: Likewise.
15090 * math/s_clog10.c: Likewise.
15091 * math/s_clog10f.c: Likewise.
15092 * math/s_clog10l.c: Likewise.
15093 * math/s_clogf.c: Likewise.
15094 * math/s_clogl.c: Likewise.
15095 * math/s_csin.c: Likewise.
15096 * math/s_csinf.c: Likewise.
15097 * math/s_csinh.c: Likewise.
15098 * math/s_csinhf.c: Likewise.
15099 * math/s_csinhl.c: Likewise.
15100 * math/s_csinl.c: Likewise.
15101 * math/s_csqrt.c: Likewise.
15102 * math/s_csqrtf.c: Likewise.
15103 * math/s_csqrtl.c: Likewise.
15104 * math/s_ctan.c: Likewise.
15105 * math/s_ctanf.c: Likewise.
15106 * math/s_ctanh.c: Likewise.
15107 * math/s_ctanhf.c: Likewise.
15108 * math/s_ctanhl.c: Likewise.
15109 * math/s_ctanl.c: Likewise.
15110 * math/s_ldexp.c: Likewise.
15111 * math/s_ldexpf.c: Likewise.
15112 * math/s_ldexpl.c: Likewise.
15113 * math/s_significand.c: Likewise.
15114 * math/s_significandf.c: Likewise.
15115 * math/s_significandl.c: Likewise.
15116 * math/w_acos.c: Likewise.
15117 * math/w_acosf.c: Likewise.
15118 * math/w_acosh.c: Likewise.
15119 * math/w_acoshf.c: Likewise.
15120 * math/w_acoshl.c: Likewise.
15121 * math/w_acosl.c: Likewise.
15122 * math/w_asin.c: Likewise.
15123 * math/w_asinf.c: Likewise.
15124 * math/w_asinl.c: Likewise.
15125 * math/w_atan2.c: Likewise.
15126 * math/w_atan2f.c: Likewise.
15127 * math/w_atan2l.c: Likewise.
15128 * math/w_atanh.c: Likewise.
15129 * math/w_atanhf.c: Likewise.
15130 * math/w_atanhl.c: Likewise.
15131 * math/w_cosh.c: Likewise.
15132 * math/w_coshf.c: Likewise.
15133 * math/w_coshl.c: Likewise.
15134 * math/w_dremf.c: Likewise.
15135 * math/w_exp10.c: Likewise.
15136 * math/w_exp10f.c: Likewise.
15137 * math/w_exp10l.c: Likewise.
15138 * math/w_exp2.c: Likewise.
15139 * math/w_exp2f.c: Likewise.
15140 * math/w_fmod.c: Likewise.
15141 * math/w_fmodf.c: Likewise.
15142 * math/w_fmodl.c: Likewise.
15143 * math/w_hypot.c: Likewise.
15144 * math/w_hypotf.c: Likewise.
15145 * math/w_hypotl.c: Likewise.
15146 * math/w_j0.c: Likewise.
15147 * math/w_j0f.c: Likewise.
15148 * math/w_j0l.c: Likewise.
15149 * math/w_j1.c: Likewise.
15150 * math/w_j1f.c: Likewise.
15151 * math/w_j1l.c: Likewise.
15152 * math/w_jn.c: Likewise.
15153 * math/w_jnf.c: Likewise.
15154 * math/w_jnl.c: Likewise.
15155 * math/w_lgamma.c: Likewise.
15156 * math/w_lgamma_r.c: Likewise.
15157 * math/w_lgammaf.c: Likewise.
15158 * math/w_lgammaf_r.c: Likewise.
15159 * math/w_lgammal.c: Likewise.
15160 * math/w_lgammal_r.c: Likewise.
15161 * math/w_log.c: Likewise.
15162 * math/w_log10.c: Likewise.
15163 * math/w_log10f.c: Likewise.
15164 * math/w_log10l.c: Likewise.
15165 * math/w_log2.c: Likewise.
15166 * math/w_log2f.c: Likewise.
15167 * math/w_log2l.c: Likewise.
15168 * math/w_logf.c: Likewise.
15169 * math/w_logl.c: Likewise.
15170 * math/w_pow.c: Likewise.
15171 * math/w_powf.c: Likewise.
15172 * math/w_powl.c: Likewise.
15173 * math/w_remainder.c: Likewise.
15174 * math/w_remainderf.c: Likewise.
15175 * math/w_remainderl.c: Likewise.
15176 * math/w_scalb.c: Likewise.
15177 * math/w_scalbf.c: Likewise.
15178 * math/w_scalbl.c: Likewise.
15179 * math/w_sinh.c: Likewise.
15180 * math/w_sinhf.c: Likewise.
15181 * math/w_sinhl.c: Likewise.
15182 * math/w_sqrt.c: Likewise.
15183 * math/w_sqrtf.c: Likewise.
15184 * math/w_sqrtl.c: Likewise.
15185 * math/w_tgamma.c: Likewise.
15186 * math/w_tgammaf.c: Likewise.
15187 * math/w_tgammal.c: Likewise.
15188
6a621eb7
UD
15189 * po/ja.po: Update from translation team.
15190
bf582445
AJ
151912011-09-29 Andreas Jaeger <aj@suse.de>
15192
f9efbf3a
AJ
15193 [BZ #13179]
15194 * sunrpc/netname.c (netname2host): Fix logic.
15195
bf582445
AJ
15196 [BZ #6779]
15197 [BZ #6783]
15198 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15199 correctly.
15200 * math/w_remainder.c (__remainder): Likewise.
15201 * math/w_remainderf.c (__remainderf): Likewise.
15202 * math/libm-test.inc (remainder_test): Add test cases.
15203
48693bea
AK
152042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15205
15206 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15207 sdiv_qrnnd.
15208
42622229
LD
152092011-10-07 Ulrich Drepper <drepper@gmail.com>
15210
15211 * string/test-memcmp.c: Avoid unncessary #defines.
15212 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15213
093ecf92
LD
152142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15215
15216 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15217 Use new sse2 version for core i3 - i7 as it's faster
15218 than sse42 version.
15219 (bit_Prefer_PMINUB_for_stringop): New.
15220 * sysdeps/x86_64/rawmemchr.S: Update.
15221 Replace with faster SSE2 version.
15222 * sysdeps/x86_64/memrchr.S: New file.
15223 * sysdeps/x86_64/memchr.S: Update.
15224 Replace with faster SSE2 version.
15225
fde56e5c
MP
152262011-09-12 Marek Polacek <mpolacek@redhat.com>
15227
15228 * elf/dl-load.c (lose): Add cast to avoid warning.
15229
21fd49a9
UD
152302011-10-07 Ulrich Drepper <drepper@gmail.com>
15231
5a06e643
UD
15232 * po/ca.po: Update from translation team.
15233
684ae515
UD
15234 * inet/getnetgrent_r.c: Hook up nscd.
15235 * nscd/Makefile (routines): Add nscd_netgroup.
15236 (nscd-modules): Add netgroupcache.
15237 (CFLAGS-netgroupcache.c): Define.
15238 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15239 (cache_search): Add const to second parameter.
15240 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15241 INNETGR.
15242 (dbs): Add netgrdb entry.
15243 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15244 (verify_persistent_db): Handle netgrdb.
15245 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15246 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15247 GETFDNETGR.
15248 (netgroup_response_header): Define.
15249 (innetgroup_response_header): Define.
15250 (datahead): Add netgroup_response_header and innetgroup_response_header
15251 elements.
15252 * nscd/nscd.conf: Add entries for netgroup cache.
15253 * nscd/nscd.h (dbtype): Add netgrdb.
15254 (_PATH_NSCD_NETGROUP_DB): Define.
15255 (netgroup_iov_disabled): Declare.
15256 (xmalloc, xcalloc, xrealloc): Move declarations here.
15257 (cache_search): Adjust prototype.
15258 Add netgroup-related prototypes.
15259 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15260 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15261 (__nscd_innetgr): Declare.
15262 * nscd/selinux.c (perms): Use access_vector_t as element type and
15263 add netgroup-related initializers.
15264 * nscd/netgroupcache.c: New file.
15265 * nscd/nscd_netgroup.c: New file.
15266 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15267 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15268 For four parameters use innetgr.
15269 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15270 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15271 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15272 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15273
21fd49a9
UD
15274 * nscd/connections.c (register_traced_file): Don't register file
15275 for disabled databases.
15276
054c0457
UD
152772011-10-06 Ulrich Drepper <drepper@gmail.com>
15278
32b63198
UD
15279 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15280
054c0457
UD
15281 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15282 from tree and freeing node.
15283
64031225
JO
152842011-09-25 Jiri Olsa <jolsa@redhat.com>
15285
15286 * nss/nsswitch.c (__nss_database_lookup): Handle
15287 nss_parse_service_list out of memory case.
15288
0490345c
JO
152892011-09-15 Jiri Olsa <jolsa@redhat.com>
15290
15291 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15292 out of memory case.
15293
3a62d00d
AS
152942011-10-04 Andreas Schwab <schwab@redhat.com>
15295
15296 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15297 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15298 pass it down.
15299 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15300 elf_machine_rela, elf_machine_lazy_rel.
15301 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15302 (ELF_DYNAMIC_DO_REL): Likewise.
15303 (ELF_DYNAMIC_DO_RELA): Likewise.
15304 (ELF_DYNAMIC_RELOCATE): Likewise.
15305 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15306 to ELF_DYNAMIC_DO_REL.
15307 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15308 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15309 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15310 elf_machine_rela.
15311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15312 skip_ifunc, don't call ifunc function if non-zero.
15313 (elf_machine_rela): Likewise.
15314 (elf_machine_lazy_rel): Likewise.
15315 (elf_machine_lazy_rela): Likewise.
15316 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15317 (elf_machine_lazy_rel): Likewise.
15318 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15319 Likewise.
15320 (elf_machine_lazy_rel): Likewise.
15321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15322 Likewise.
15323 (elf_machine_lazy_rel): Likewise.
15324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15325 (elf_machine_lazy_rel): Likewise.
15326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15327 (elf_machine_lazy_rel): Likewise.
15328 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15329 (elf_machine_lazy_rel): Likewise.
15330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15331 (elf_machine_lazy_rel): Likewise.
15332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15333 (elf_machine_lazy_rel): Likewise.
15334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15335 (elf_machine_lazy_rel): Likewise.
15336
68577918
UD
153372011-09-28 Ulrich Drepper <drepper@gmail.com>
15338
15339 * nss/nss_files/files-init.c (_nss_files_init): Use static
15340 initialization for all the *_traced_file variables.
15341
68822d74
AS
153422011-09-28 Andreas Schwab <schwab@redhat.com>
15343
15344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15345
2056100b
RM
153462011-09-27 Roland McGrath <roland@hack.frob.com>
15347
15348 [BZ #13226]
15349 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15350
32c76b63
AS
153512011-09-27 Andreas Schwab <schwab@redhat.com>
15352
15353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15354 Reread the line before reparsing it.
15355
bf972c9d
AS
153562011-09-26 Andreas Schwab <schwab@redhat.com>
15357
15358 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15359
e057a1b5
JM
153602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15361 Maxim Kuvyrkov <maxim@codesourcery.com>
15362 Joseph Myers <joseph@codesourcery.com>
15363
15364 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15365 if needed for __stack_chk_guard.
15366
bc7e1c36
RM
153672011-09-19 Roland McGrath <roland@hack.frob.com>
15368
ecb1482f
RM
15369 * sysdeps/posix/spawni.c (script_execute): Always define it.
15370 It will be optimized away if unused.
15371 (maybe_script_execute): New function.
15372 (__spawni): Call it.
15373
bc7e1c36
RM
15374 * Makerules: Don't include tls.make.
15375 (config-tls): Always set to thread.
15376 * tls.make.c: File removed.
15377
1c3b002b
MF
153782011-09-19 Mike Frysinger <vapier@gentoo.org>
15379
15380 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15381 * config.make.in (CPPFLAGS-config): New substituted variable.
15382
2840865d
UD
153832011-09-15 Ulrich Drepper <drepper@gmail.com>
15384
88738eb6
UD
15385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15386
cbf645a6 15387 [BZ #13192]
2840865d
UD
15388 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15389 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15390
b402e91a
RM
153912011-09-15 Roland McGrath <roland@hack.frob.com>
15392
15393 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15394 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15396 (CALL_FAIL): Likewise.
15397 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15398 (CALL_FAIL): Macro removed.
15399 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15400
4c1a1f71
UD
154012011-09-15 Ulrich Drepper <drepper@gmail.com>
15402
15403 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15404 for __FINITE_MATH_ONLY__ == 1.
15405
edc121be
AS
154062011-09-15 Andreas Schwab <schwab@redhat.com>
15407
15408 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15409 __ieee754_sqrt instead of sqrt.
15410 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15411 __ieee754_sqrtf instead of sqrtf.
15412 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15413 __floorf instead of floorf.
15414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15415 __floorf, __truncf instead of floorf, truncf.
15416
cd205654
UD
154172011-09-14 Ulrich Drepper <drepper@gmail.com>
15418
ee4d0315
UD
15419 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15420
cd205654
UD
15421 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15422 __extern_always_inline.
15423 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15424 32-bit.
15425
48b67d71
AS
154262011-09-14 Andreas Schwab <schwab@redhat.com>
15427
15428 * elf/rtld.c (dl_main): Also relocate in dependency order when
15429 doing symbol dependency testing.
15430
1ae12c75
AS
154312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15432
15433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15434 Always define `refsym'.
15435
995a80df
AS
154362011-09-13 Andreas Schwab <schwab@redhat.com>
15437
e529793b
AS
15438 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15439 (__FD_ELT): Renamed from __FDELT.
15440 * misc/bits/select2.h (__FD_ELT): Likewise.
15441 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15442 __FD_MASK instead of __FDELT, __FDMASK.
15443 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15444 Likewise.
15445 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15446 Likewise.
15447
52d4fef8
AS
15448 * elf/Makefile (gen-ldd): Fix pattern.
15449
995a80df
AS
15450 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15451 (init_tls): Likewise.
15452
8682f8b0
UD
154532011-09-12 Ulrich Drepper <drepper@gmail.com>
15454
15455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15456
de82006d
AS
154572011-09-12 Andreas Schwab <schwab@redhat.com>
15458
a7c8e6a1
AS
15459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15460 `struct cmsghdr *' instead of `void *'.
15461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15462 Likewise.
15463
0f31fe77
AS
154642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15465
15466 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15467 if non-absolute.
15468 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15469 ldd_rewrite_script.
0f31fe77 15470
32b4c839
UD
154712011-09-11 Ulrich Drepper <drepper@gmail.com>
15472
83cd1420
UD
15473 * configure.in: Remove --with-tls option.
15474 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15475 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15476 out in case it is missing.
15477 * sysdeps/ia64/elf/configure.in: Likewise.
15478 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15479 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15480 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15481 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15482 * sysdeps/sh/elf/configure.in: Likewise.
15483 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15484 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15485 * sysdeps/x86_64/elf/configure.in: Likewise.
15486 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15487 * sysdeps/mach/hurd/tls.h: Likewise.
15488
633f745d
UD
15489 [BZ #13067]
15490 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15491
f318beb8
UD
15492 [BZ #13090]
15493 * configure.in: Fix use of AC_INIT.
15494
32b4c839
UD
15495 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15496
3ce1f295
UD
154972011-09-10 Ulrich Drepper <drepper@gmail.com>
15498
bb016596
UD
15499 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15500 __set_errno.
8e58439c
UD
15501 * malloc/hooks.c: Likewise.
15502
aebae053 15503 [BZ #11929]
02d46fc4
UD
15504 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15505 variables statically.
15506 (narenas): Initialize.
15507 (list_lock): Initialize.
bb016596
UD
15508 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15509 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15510 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15511 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15512 Add initializers to main_arena and mp_.
15513 (malloc_state): Remove pagesize member. Change all users to use
15514 GLRO(dl_pagesize).
15515
15516 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15517 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15518 is always initialized.
15519
22a89187
UD
15520 * malloc/malloc.c: Removed unused configurations and dead code.
15521 * malloc/arena.c: Likewise.
15522 * malloc/hooks.c: Likewise.
02d46fc4 15523 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15524
d063d164
UD
15525 * include/tls.h: Removed. USE___THREAD must always be defined.
15526 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15527 * elf/dl-libc.c: Likewise.
15528 * elf/dl-tsd.c: Likewise.
15529 * include/errno.h: Likewise.
15530 * include/netdb.h: Likewise.
15531 * include/resolv.h: Likewise.
15532 * inet/herrno-loc.c: Likewise.
15533 * inet/herrno.c: Likewise.
15534 * malloc/arena.c: Likewise.
15535 * malloc/hooks.c: Likewise.
15536 * malloc/malloc.c: Likewise.
15537 * resolv/res-state.c: Likewise.
15538 * resolv/res_libc.c: Likewise.
15539 * sysdeps/i386/dl-machine.h: Likewise.
15540 * sysdeps/ia64/dl-machine.h: Likewise.
15541 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15543 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15544 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15545 * sysdeps/sh/dl-machine.h: Likewise.
15546 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15548 * sysdeps/unix/i386/sysdep.S: Likewise.
15549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15550 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15555 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15560 * sysdeps/x86_64/dl-machine.h: Likewise.
15561 * tls.make.c: Likewise.
15562
3ce1f295
UD
15563 * configure.in: Remove --with-__thread option. Make tests for
15564 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15565 tls_model attribute fail if no support is available. Remove
15566 USE_IN_LIBIO.
15567 * Makeconfig: Adjust for dropped configure option. All features are
15568 now mandatory.
15569 * Makerules: Likewise.
15570 * Versions.def: Likewise.
15571 * argp/argp-fmtstream.c: Likewise.
15572 * argp/argp-fmtstream.h: Likewise.
15573 * argp/argp-help.c: Likewise.
15574 * assert/assert.c: Likewise.
15575 * config.h.in: Likewise.
15576 * config.make.in: Likewise.
15577 * configure: Likewise.
15578 * configure.in: Likewise.
15579 * csu/Versions: Likewise.
15580 * csu/init.c: Likewise.
15581 * elf/tst-audit2.c: Likewise.
15582 * elf/tst-tls10.c: Likewise.
15583 * elf/tst-tls10.h: Likewise.
15584 * elf/tst-tls11.c: Likewise.
15585 * elf/tst-tls12.c: Likewise.
15586 * elf/tst-tls14.c: Likewise.
15587 * elf/tst-tlsmod11.c: Likewise.
15588 * elf/tst-tlsmod12.c: Likewise.
15589 * elf/tst-tlsmod13.c: Likewise.
15590 * elf/tst-tlsmod13a.c: Likewise.
15591 * elf/tst-tlsmod14a.c: Likewise.
15592 * elf/tst-tlsmod15b.c: Likewise.
15593 * elf/tst-tlsmod16a.c: Likewise.
15594 * elf/tst-tlsmod16b.c: Likewise.
15595 * elf/tst-tlsmod7.c: Likewise.
15596 * elf/tst-tlsmod8.c: Likewise.
15597 * elf/tst-tlsmod9.c: Likewise.
15598 * gmon/gmon.c: Likewise.
15599 * grp/fgetgrent_r.c: Likewise.
15600 * grp/putgrent.c: Likewise.
15601 * hurd/fopenport.c: Likewise.
15602 * include/libc-symbols.h: Likewise.
15603 * include/tls.h: Likewise.
15604 * intl/gettextP.h: Likewise.
15605 * intl/loadinfo.h: Likewise.
15606 * locale/global-locale.c: Likewise.
15607 * locale/localeinfo.h: Likewise.
15608 * mach/devstream.c: Likewise.
15609 * malloc/arena.c: Likewise.
15610 * malloc/set-freeres.c: Likewise.
15611 * misc/err.c: Likewise.
15612 * misc/getttyent.c: Likewise.
15613 * misc/mntent_r.c: Likewise.
15614 * posix/getopt.c: Likewise.
15615 * posix/wordexp.c: Likewise.
15616 * pwd/fgetpwent_r.c: Likewise.
15617 * resolv/Versions: Likewise.
15618 * resolv/res_hconf.c: Likewise.
15619 * shadow/fgetspent_r.c: Likewise.
15620 * shadow/putspent.c: Likewise.
15621 * stdio-common/printf_fphex.c: Likewise.
15622 * stdio-common/tmpfile.c: Likewise.
15623 * stdlib/abort.c: Likewise.
15624 * stdlib/fmtmsg.c: Likewise.
15625 * sunrpc/auth_unix.c: Likewise.
15626 * sunrpc/clnt_perr.c: Likewise.
15627 * sunrpc/clnt_tcp.c: Likewise.
15628 * sunrpc/clnt_udp.c: Likewise.
15629 * sunrpc/clnt_unix.c: Likewise.
15630 * sunrpc/openchild.c: Likewise.
15631 * sunrpc/svc_simple.c: Likewise.
15632 * sunrpc/svc_tcp.c: Likewise.
15633 * sunrpc/svc_udp.c: Likewise.
15634 * sunrpc/svc_unix.c: Likewise.
15635 * sunrpc/xdr.c: Likewise.
15636 * sunrpc/xdr_array.c: Likewise.
15637 * sunrpc/xdr_rec.c: Likewise.
15638 * sunrpc/xdr_ref.c: Likewise.
15639 * sunrpc/xdr_stdio.c: Likewise.
15640
1248c1c4
PB
156412011-09-09 Ulrich Drepper <drepper@gmail.com>
15642
15643 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15644
156452011-07-03 Andreas Jaeger <aj@suse.de>
15646
15647 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15648 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15649 regenerate with gen-libm-tests.pl.
15650
156512010-05-12 Petr Baudis <pasky@suse.cz>
15652
15653 [BZ #11589]
15654 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15655 around j0() zero points by switching to j1().
15656 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15660
f22e1074
UD
156612011-09-09 Ulrich Drepper <drepper@gmail.com>
15662
f19009c1
UD
15663 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15664 instead of 0.
15665 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15666 instead of 0. .
15667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15668 Patch in part by Pavel Roskin <proski@gnu.org>.
15669
3f8cc204
UD
15670 [BZ #13138]
15671 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15672 realloc.
15673 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15674 Free memory block if necessary.
15675
f22e1074
UD
15676 [BZ #12847]
15677 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15678 be NULL. Don't lock in this case.
15679
0a2349f9
RM
156802011-09-09 Roland McGrath <roland@hack.frob.com>
15681
15682 * elf/elf.h (ELFOSABI_GNU): New macro.
15683 (ELFOSABI_LINUX): Define to that.
15684
f3cdd467
DZ
156852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15686
15687 * string/strncat.c (strncat): Undef the symbol in case it has been
15688 defined in bits/string.h.
15689
74718d13
UD
156902011-09-09 Ulrich Drepper <drepper@gmail.com>
15691
633e9e0f
UD
15692 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15693
0a2349f9 15694 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15695 link map.
15696
f9924780
AJ
156972011-08-17 Andreas Jaeger <aj@suse.de>
15698
15699 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15700
7f5517aa
PP
157012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15702 Ian Lance Taylor <iant@google.com>
15703
15704 * math/libm-test.inc (lround_test): New testcase.
15705 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15706
762011fe
UD
157072011-09-08 Ulrich Drepper <drepper@gmail.com>
15708
92963737
UD
15709 * Makefile: Remove support for automatic cvs check-ins.
15710 * Makerules: Likewise.
15711 * config.make.in: Likewise.
15712 * configure.in: Likewise.
15713 * intl/Makefile: Likewise.
15714 * locale/Makefile: Likewise.
15715 * po/Makefile: Likewise.
15716 * posix/Makefile: Likewise.
15717 * sysdeps/gnu/Makefile: Likewise.
15718 * sysdeps/mach/hurd/Makefile: Likewise.
15719 * sysdeps/sparc/sparc32/Makefile: Likewise.
15720
b0727fd8
JS
15721 [BZ #13118]
15722 * posix/Makefile (bug-regex32-ENV): Define.
15723 Patch by John Stanley <jpsinthemix@verizon.net>.
15724
a0f33f99
UD
15725 * misc/Makefile (headers): Add bits/select2.h.
15726 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15727 * misc/bits/select2.h: New file.
15728 * include/bits/select2.h: New file.
15729 * debug/Makefile (routines): Add fdelt_chk.
15730 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15731 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15732 FD_ISSET.
15733 * debug/fdelt_chk.c: New file.
15734
762011fe
UD
15735 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15736 * wcsmbs/test-wmemcmp.c: Likewise.
15737 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15738 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15739
157402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15741
15742 * string/Makefile (strop-tests): Add memcmp.
15743 * string/test-wmemcmp.c: New file.
15744 * string/test-memcmp.c: Add wmemcmp support.
15745
7f513ec8
RM
157462011-09-08 Roland McGrath <roland@hack.frob.com>
15747
0442afb4
RM
15748 [BZ #13153]
15749 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15750 2011-07-19 change.
15751
7f513ec8
RM
15752 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15753 garbage value in a __mach_port_mod_refs call in the cases of the
15754 task-self and thread-self ports.
15755
a12b2239
ST
157562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15757
15758 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15759
610f9ab4
AS
157602011-09-08 Andreas Schwab <schwab@redhat.com>
15761
7f513ec8 15762 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15763
48882a1a
LD
157642011-09-07 Ulrich Drepper <drepper@gmail.com>
15765
b49865be
UD
15766 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15767
fdc86bc9
UD
15768 * elf/dl-libc.c (dlerror_run): Pass back error code from
15769 dl_catch_error.
15770
c966526a
UD
15771 [BZ #13123]
15772 * elf/dl-load.c (lose): Free l_origin if it is valid.
15773
48882a1a
LD
15774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15775 names.
15776 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15779 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15780 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15781 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15782
77a2a8b4
AZ
157832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15784
15785 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15786 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15787 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15788 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15789 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15790 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15791 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15792 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15793 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15794 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15795
24f579d8
AM
157962011-08-15 Alan Modra <amodra@gmail.com>
15797
15798 [BZ #13092]
15799 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15800 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15801 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15802 ppc_mcount to static-only-routines.
15803 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15804 __mcount_internal.
15805 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15806 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15807
3d4837df
UD
158082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15809
15810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15811 for finite and infinity parameters.
15812
22700377
WS
158132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15814
15815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15816 and add nop instructions for throughput optimization.
15817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15818
5025581e
WS
158192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15820
15821 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15822 aligned copy for power7 with vector-scalar instructions.
15823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15824
08a300c9
L
158252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15828 AVX check.
15829
59178ef9
AS
158302011-09-07 Andreas Schwab <schwab@redhat.com>
15831
15832 [BZ #13144]
15833 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15834 last change.
15835
e38ba7ab
UD
158362011-09-07 Ulrich Drepper <drepper@gmail.com>
15837
15838 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15839 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15840 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15841 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15842 clock_gettime.
15843
d53a73ac
UD
158442011-09-06 Ulrich Drepper <drepper@gmail.com>
15845
fc8bffcc
UD
15846 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15847 Forgot to demangle the pointer.
15848
ceaa0c5d
UD
15849 * sysdeps/i386/sysdep.h: Define atom_text_section.
15850 * sysdeps/x86_64/sysdep.h: Likewise.
15851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15852 section with atom_text_section.
15853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15854 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15855 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15857 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15858
a77d3c17
UD
15859 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15860 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15861 already be defined. Change to take two parameters and don't assign
15862 result to variable. Adjust all users.
15863 Define INTERNAL_GETTIME if not already defined.
15864 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15865 call.
15866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15867 HAVE_CLOCK_GETTIME_VSYSCALL.
15868 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15869
d53a73ac
UD
15870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15871 gettimeofday vsyscall, just use time.
15872
a8f84144
AS
158732011-09-06 Andreas Schwab <schwab@redhat.com>
15874
15875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15876 <errno.h>.
15877
ef606249
UD
158782011-09-06 Ulrich Drepper <drepper@gmail.com>
15879
15880 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15881 syscall on x86-64.
15882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15883 syscall.
15884 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15886 syscall if possible.
15887
6585cb60
UD
158882011-09-05 Ulrich Drepper <drepper@gmail.com>
15889
15890 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15891 e_ident. Don't pass to find_mapsXX.
15892 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15893
a5f524e4
LD
158942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15895
15896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15897 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15898 * sysdeps/x86_64/multiarch/strchr.S: Update.
15899 Check bit_slow_BSF bit.
15900 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15901 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15902 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15903
554881ef
UD
159042011-09-05 Ulrich Drepper <drepper@gmail.com>
15905
d96de963
UD
15906 [BZ #13134]
15907 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15908 before glibc 2.15.
15909 (tryshell): Define.
15910 (__spawni): Change last parameter to be flag. Test
15911 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15912 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15913 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15914 * posix/spawni.c: Likewise.
15915 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15916 * posix/spawnp.c: Likewise. Change normal version to use
15917 SPAWN_XFLAGS_USE_PATH.
15918 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15919 SPAWN_XFLAGS_TRY_SHELL.
15920
d48e5868
UD
15921 [BZ #13150]
15922 * posix/glob.h: Remove gcc 1.x support.
15923
554881ef
UD
15924 [BZ #13068]
15925 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15926
693fb948
LD
159272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15928
15929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15930 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15931 strrchr-sse2-bsf
15932 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15933 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15934 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15937 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15938
1b48c537
UD
159392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15940
49d42c37
UD
15941 * sysdeps/x86_64/wcscmp.S: New file.
15942
1b48c537
UD
15943 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15944 wcscmp-c wcscmp-sse2
15945 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15946 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15947 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15948 * wcsmbs/wcscmp.c: Allow renaming.
15949
15c95c5d
DM
159502011-09-05 David S. Miller <davem@davemloft.net>
15951
15952 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15953 stack slot, rather than the struct return pointer slot.
15954 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15955 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15957 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15958
2f0ad8f3
UD
159592011-09-05 Ulrich Drepper <drepper@gmail.com>
15960
d88ae418
UD
15961 * po/ja.po: Update from translation team.
15962
2f0ad8f3
UD
15963 [BZ #13144]
15964 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15965 kernel in 64-bit binaries.
15966
5f4318d1
DM
159672011-09-01 David S. Miller <davem@davemloft.net>
15968
15969 * elf/elf.h (HWCAP_SPARC_*): Move to..
15970 * sysdeps/sparc/sysdep.h: this new file and add new values.
15971 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15972 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15973 _DL_HWCAP_COUNT to 24.
15974 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15975 entries.
15976 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15977 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15978 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15980 instead of magic constants.
15981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15982
3ba57516
DM
159832011-08-31 David S. Miller <davem@davemloft.net>
15984
15985 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15987 Reimplement to do errno handling inline.
15988 (SYSCALL_ERROR_HANDLER): New macro.
15989 (__SYSCALL_STRING): Do not do errno handling in asm.
15990 (__CLONE_SYSCALL_STRING): Delete.
15991 (__INTERNAL_SYSCALL_STRING): Delete.
15992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15993 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15994 (PSEUDO): Reimplement to do errno handling inline.
15995 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15996 (SYSCALL_ERROR_HANDLER): New macro.
15997 (__SYSCALL_STRING): Do not do errno handling in asm.
15998 (__CLONE_SYSCALL_STRING): Delete.
15999 (__INTERNAL_SYSCALL_STRING): Delete.
16000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16001 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16002 i386.
16003 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16004 (inline_syscall*): Add 'err' argument.
16005 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16006 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16007 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16008 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16009
16010 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16011 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16012
2bc17433
AS
160132011-08-30 Andreas Schwab <schwab@redhat.com>
16014
16015 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16016
fbeb5f4d
JO
160172011-08-29 Jiri Olsa <jolsa@redhat.com>
16018
16019 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16020 directive.
16021
ad69cc26
DM
160222011-08-24 David S. Miller <davem@davemloft.net>
16023
16024 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16025
39dd69df
AS
160262011-08-24 Andreas Schwab <schwab@redhat.com>
16027
16028 * elf/Makefile: Add rules to build and run unload8 test.
16029 * elf/unload8.c: New file.
16030 * elf/unload8mod1.c: New file.
16031 * elf/unload8mod1x.c: New file.
16032 * elf/unload8mod2.c: New file.
16033 * elf/unload8mod3.c: New file.
16034
16035 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16036 it wasn't used.
16037
2c0b250a
DM
160382011-08-23 David S. Miller <davem@davemloft.net>
16039
16040 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16041 subtract stack bias.
16042 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16043 %sp not %fp in calculations.
16044 (_JMPBUF_UNWINDS_ADJ): Likewise.
16045
22044b48
DM
16046 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16047 (aio_suspend): Call it to force an exception region around the
16048 AIO_MISC_WAIT() invocation.
16049
2cae4995
AS
160502011-08-23 Andreas Schwab <schwab@redhat.com>
16051
16052 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16053 backslash.
16054
873a772e
AJ
160552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16056
16057 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16058 protection macro.
16059 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16060 and <dl-machine.h>.
16061 (Elf64_FuncDesc): Remove.
16062
25ad0df1
DM
160632011-08-22 David S. Miller <davem@davemloft.net>
16064
16065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16066 sigaltstack check, add missing cfi directives.
16067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16068 missing cfi directives, and sigaltstack handling.
16069
e888bcbe
AS
160702011-08-16 Andreas Schwab <schwab@redhat.com>
16071
16072 [BZ #11724]
16073 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16074 object is seen twice.
16075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16076
16077 * elf/Makefile (distribute): Add tst-initorder2.c.
16078 (tests): Add tst-initorder2.
16079 (modules-names): Add tst-initorder2a tst-initorder2b
16080 tst-initorder2c tst-initorder2d. Add rules to build them.
16081 ($(objpfx)tst-initorder2.out): New rule.
16082 * elf/tst-initorder2.c: New file.
16083 * elf/tst-initorder2.exp: New file.
16084
87162f46
AS
160852011-08-22 Andreas Schwab <schwab@redhat.com>
16086
70538b7f
AS
16087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16088
f55ffe58
AS
16089 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16090 dependencies back to end of function.
16091
87162f46
AS
16092 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16093 $(elfobjdir)/ld.so.
16094
91b392a4
UD
160952011-08-21 Ulrich Drepper <drepper@gmail.com>
16096
16097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16098 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16100 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16101 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16102 of __vdso_gettimeofday.
16103 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16104 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16105 attribute_hidden.
16106 (_libc_vdso_platform_setup): Remove initialization of
16107 __vdso_gettimeofday and __vdso_time.
16108
5c43483f
UD
161092011-08-20 Ulrich Drepper <drepper@gmail.com>
16110
775a77e7
UD
16111 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16112 and fgetc_unlocked.
16113 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16114 getc_unlocked.
89f447ed 16115
49c74ba9
UD
16116 * elf/dl-open.c (add_to_global): Report additions to the global scope
16117 for LD_DEBUG=scopes.
16118 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16119 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16120
5c43483f
UD
16121 [BZ #13114]
16122 * stdio-common/Makefile (tests): Add bug24.
16123 * stdio-common/bug24.c: New file.
16124
a101b025
AJ
161252011-08-19 Andreas Jaeger <aj@suse.de>
16126
16127 [BZ #13114]
16128 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16129 non-existant file when using close-on-exec mode.
16130
c88f1766
UD
161312011-08-20 Ulrich Drepper <drepper@gmail.com>
16132
0276a718
UD
16133 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16134 the very first instruction.
16135
c88f1766
UD
16136 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16137 the CFI state in the end.
16138 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16139 inclusion of dl-trampoline.h.
16140 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16141
51ccffa0
AS
161422011-08-19 Andreas Schwab <schwab@redhat.com>
16143
94d7165f
AS
16144 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16145 expectations for long double.
16146
51ccffa0
AS
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16148 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16149
fd708658 161502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16151
16152 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16153 artificual limit depends upon the system page size.
16154
44f0a71e
UD
161552011-08-17 Ulrich Drepper <drepper@gmail.com>
16156
16157 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16158 * resolv/Makefile: Define CFLAGS-libresolv.
16159
8de79a24
AS
161602011-08-17 Andreas Schwab <schwab@redhat.com>
16161
16162 * nss/makedb.c (compute_tables): Make variables used in nested
16163 function static.
16164
27724598
UD
161652011-08-17 Ulrich Drepper <drepper@gmail.com>
16166
c5305d88
UD
16167 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16168 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16169 if buffer was too small.
16170
27724598
UD
16171 * elf/pldd.c (main): Attach to all threads in the process.
16172 Rewrite /proc handling to use *at functions.
16173
076fe015
UD
161742011-08-16 Ulrich Drepper <drepper@gmail.com>
16175
174baab3
UD
16176 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16177 specifies first scope to show.
16178 (dl_open_worker): Update callers. Move printing scope of new
16179 object to before the relocation.
44f0a71e 16180 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16181 * sysdeps/generic/ldsodefs.h: Update declaration.
16182
076fe015
UD
16183 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16184 string for the scope number.
16185
a60df2c3
UD
161862011-08-14 Ulrich Drepper <drepper@gmail.com>
16187
16188 * nscd/servicescache.c (cache_addserv): Make sure written is always
16189 initialized.
16190
5e4287d1
RM
161912011-08-14 Roland McGrath <roland@hack.frob.com>
16192
85ae0589
RM
16193 * sysdeps/i386/i486/bits/atomic.h
16194 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16195 statement expression, so as to suppress "set but not used" warning.
16196 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16197
69f63097
RM
16198 * string/strncat.c (STRNCAT): Use prototype definition.
16199
675456ef
RM
16200 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16201 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16202 -Iprograms here.
16203 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16204 (localedef-modules): Add localedef.
16205 (locale-modules): Add locale.
16206
5e4287d1
RM
16207 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16208 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16209 to avoid a warning.
16210
9c96ff23
DM
162112011-08-14 David S. Miller <davem@davemloft.net>
16212
16213 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16214 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16215
f9ddf089
UD
162162011-08-13 Ulrich Drepper <drepper@gmail.com>
16217
44f0a71e 16218 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16219 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16220 * elf/rtld.c (dl_main): Set l_name of vDSO.
16221 Call _dl_show_scope when DL_DEBUG_SCOPES.
16222 (process_dl_debug): Recognize scopes flag and also set it for all.
16223 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16224 Declare _dl_show_scope.
16225
1dc27704
UD
16226 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16227 (do_dlopen): Pass caller_dlopen to dl_open.
16228 (__libc_dlopen_mode): Initialize caller_dlopen.
16229
f9ddf089
UD
16230 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16231 of libc. Make tolower call locale-independent. Optimize a bit by
16232 using isdigit instead of isalnum.
16233 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16234
9ac533d3
UD
162352011-08-12 Ulrich Drepper <drepper@gmail.com>
16236
16237 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16238 was a dependency or dynamically loaded.
16239
89edf2e9
UD
162402011-08-11 Ulrich Drepper <drepper@gmail.com>
16241
8e999d29
UD
16242 * intl/l10nflist.c: Allow architecture-specific pop function.
16243 * sysdeps/x86_64/l10nflist.c: New file.
16244
89edf2e9
UD
16245 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16246 classification.
16247
14d96785
AS
162482011-08-10 Andreas Schwab <schwab@redhat.com>
16249
16250 * include/dirent.h: Add libc_hidden_proto for scandirat and
16251 scandirat64. Don't declare __scandirat64.
16252 * dirent/scandirat.c: Add libc_hidden_def.
16253 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16254 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16255
6761ac04
DM
162562011-08-10 David S. Miller <davem@davemloft.net>
16257
16258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16259 enum.
16260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16261 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16263
c55fbd1e
UD
162642011-08-09 Ulrich Drepper <drepper@gmail.com>
16265
16266 * Versions.def [libc]: Add GLIBC_2.15.
16267 * dirent/Makefile (routines): Add scandirat and scandirat64.
16268 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16269 GLIBC_2.15.
16270 * dirent/dirent.h: Declare scandirat and scandirat64.
16271 * dirent/scandirat.c: New file.
16272 * dirent/scandirat64.c: New file.
16273 * sysdeps/wordsize-64/scandirat.c: New file.
16274 * sysdeps/wordsize-64/scandirat64.c: New file.
16275 * dirent/opendir.c: Define opendirat.
16276 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16277 using scandirat.
16278 * dirent/scandir64.c: Adjust for scandir.c change.
16279 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16280 __scandirat64, and __scandir_cancel_handler.
16281 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16282 additional parameter and use openat instead of open (outside of ld.so).
16283 Add new __opendir as wrapper around __opendirat.
16284 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16285 here without requiring old scandirat implementation.
16286
879165f2
UD
162872011-08-08 Ulrich Drepper <drepper@gmail.com>
16288
16289 * dirent/scandir.c (cancel_handler): Renamed to
16290 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16291 defined. Adjust users.
16292 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16293 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16294
cb7e923b
UD
162952011-08-04 Ulrich Drepper <drepper@gmail.com>
16296
16292edd
UD
16297 * string/test-string.h (IMPL): Use __STRING to expand name and then
16298 stringify it.
16299
cb7e923b
UD
16300 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16301 of cleanups.
16302
cff82933
LD
163032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16304
16305 * string/Makefile: Update.
16306 (strop-tests): Append strncat.
16307 * string/test-wcscmp.c: New file.
16308 New comprehensive test for wcscmp.
16309 * string/test-strcmp.c: Update.
16310 (WIDE): New define.
16311
9be9bfcc
AS
163122011-07-22 Andreas Schwab <schwab@redhat.com>
16313
16314 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16315 line.
16316
2e96f1c7
AS
163172011-07-26 Andreas Schwab <schwab@redhat.com>
16318
16319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16320 encoding to ACE if AI_IDN.
16321
85188888
JJ
163222011-08-01 Jakub Jelinek <jakub@redhat.com>
16323
16324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16325 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16326
5fa16e9b
LD
163272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16328
16329 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16330 Fix overflow bug in strncat.
16331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16332
16333 * string/test-strncat.c: Update.
16334 Add new tests for checking overflow bugs.
16335
163362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16337
16338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16339 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16340 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16341 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16343 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16344 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16345 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16346 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16347
16348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16349 (USE_AS_STRCAT): Define.
16350 Add strcat and strncat support.
16351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16352
8c1a459f
AS
163532011-07-25 Andreas Schwab <schwab@redhat.com>
16354
16355 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16356 __n bigger than INT_MAX+1.
16357 (__strncmp_g): Likewise.
16358
bba33c28
UD
163592011-07-23 Ulrich Drepper <drepper@gmail.com>
16360
798be72d
UD
16361 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16362 * libio/stido.h: Likewise.
16363
8accd4dc
UD
16364 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16365 (AF_NFC): Define.
16366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16367 (AF_NFC): Define.
16368
cbff0d96
UD
16369 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16370 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16372 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16373 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16374
9191c04a
UD
16375 [BZ #13021]
16376 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16377 installed.
16378
bba33c28
UD
16379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16380 typo.
16381 (_dl_x86_64_save_sse): Likewise.
16382
90f139dd
UD
163832011-07-22 Ulrich Drepper <drepper@gmail.com>
16384
1aae088a
UD
16385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16386 OSXSAVE.
16387 (_dl_x86_64_save_sse): Likewise.
16388
8e2045f5
UD
16389 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16390
90f139dd
UD
16391 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16392
1d002f25
AS
163932011-07-21 Andreas Schwab <schwab@redhat.com>
16394
16395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16396 change.
16397 (_dl_x86_64_save_sse): Use correct AVX check.
16398
21137f89
UD
163992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16400
16401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16402 bug in strncpy/strncat.
16403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16404
a65c0b7a
UD
164052011-07-21 Ulrich Drepper <drepper@gmail.com>
16406
16407 * string/tester.c (test_strcat): Add tests for different alignments
16408 of source and destination.
16409 (test_strncat): Likewise.
16410
6986b98a
UD
164112011-07-20 Ulrich Drepper <drepper@gmail.com>
16412
90bb2039
UD
16413 [BZ #12852]
16414 * posix/glob.c (glob): Check passed in values before using them in
16415 expressions to avoid some overflows.
16416 (glob_in_dir): Likewise.
16417
5644ef54
UD
16418 [BZ #13007]
16419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16420 check for AVX enablement so that we don't crash with old kernels and
16421 new hardware.
16422 * elf/tst-audit4.c: Add same checks here.
16423 * elf/tst-audit6.c: Likewise.
16424
16425 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16426
bfc9dc9b
AS
164272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16428
16429 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16430
702e64bb
UD
164312011-07-20 Ulrich Drepper <drepper@gmail.com>
16432
16433 * po/cs.po: Update from translation team.
16434 * po/bg.po: Likewise.
16435
295e904f
MP
164362011-07-12 Marek Polacek <mpolacek@redhat.com>
16437
16438 * misc/sys/cdefs.h: Add support for const attribute.
16439 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16440 to gnu_dev_{major,minor,makedev} functions.
16441
3ff94596
MP
164422011-07-20 Marek Polacek <mpolacek@redhat.com>
16443
16444 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16445
28b59fca
AS
164462011-07-20 Andreas Schwab <schwab@redhat.com>
16447
16448 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16449 strlen results.
16450
19df733e
AK
164512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16452
16453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16454 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16455 register in order to avoid conflicts with the soft frame pointer
16456 being held in r11 when necessary.
16457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16458 (INTERNAL_VSYSCALL_NCS): Likewise.
16459
c8835729
MP
164602011-07-14 Marek Polacek <mpolacek@redhat.com>
16461
16462 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16463 * elf/dl-fini.c (_dl_fini): Adjust caller.
16464 * elf/dl-close.c (_dl_close_worker): Likewise.
16465 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16466
b902330c
MP
164672011-07-15 Marek Polacek <mpolacek@redhat.com>
16468
8991e135
MP
16469 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16470 "aux_cache->nlibs < 0".
16471
b902330c
MP
16472 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16473 in the reload-count case.
16474
99710781
LD
164752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16476
16477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16478 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16479 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16480 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16481 * sysdeps/x86_64/multiarch/strcat.S: New file.
16482 * sysdeps/x86_64/multiarch/strncat.S: New file.
16483 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16485 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16486 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16488 (USE_AS_STRCAT): Define.
16489 Add strcat and strncat support.
16490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16492 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16493 * string/strncat.c: Update.
16494 (USE_AS_STRNCAT): Define.
16495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16496 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16497 and i7.
16498 * sysdeps/x86_64/multiarch/init-arch.h
16499 (bit_Prefer_PMINUB_for_stringop): New.
16500 (index_Prefer_PMINUB_for_stringop): Likewise.
16501 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16502 bit_Prefer_PMINUB_for_stringop.
16503
7dc6bd90
UD
165042011-07-19 Ulrich Drepper <drepper@gmail.com>
16505
16506 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16507 buffer64.
16508 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16509 of casting of buffer.
16510 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16511 buffer32 and buffer64.
16512 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16513 writes instead of casting of buffer.
16514 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16515 buffer32.
16516 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16517 casting of buffer.
16518
e0e72284
AS
165192011-07-19 Andreas Schwab <schwab@redhat.com>
16520
16521 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16522
feb1eb0b
UD
165232011-07-19 Ulrich Drepper <drepper@gmail.com>
16524
16525 * nscd/nscd.c (termination_handler): Don't do anything for a database
16526 if it has not yet been initialized.
16527
298711ff
UD
165282011-07-18 Ulrich Drepper <drepper@gmail.com>
16529
16530 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16531
165322011-07-15 Marek Polacek <mpolacek@redhat.com>
16533
16534 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16535
f9d68389
UD
165362011-07-18 Ulrich Drepper <drepper@gmail.com>
16537
16538 * po/nl.po: Update from translation team.
16539 * po/sv.po: Likewise.
16540
db290cf5
RM
165412011-07-16 Roland McGrath <roland@hack.frob.com>
16542
16543 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16544 now disallowed by GCC.
5c550700 16545
fd5e21c7
RM
16546 * configure.in (use-default-link): Default to yes if a test -shared
16547 link meets our qualifications.
16548 * configure: Regenerated.
16549
5c550700
RM
16550 * config.make.in (output-format): New variable.
16551 * configure.in: Check for ld --print-output-format support.
16552 * configure: Regenerated.
16553 * Makerules ($(common-objpfx)format.lds)
16554 [$(output-format) != unknown]: Just use $(output-format),
16555 instead of the linker-script munging.
16556
9fa2c032
RM
165572011-07-14 Roland McGrath <roland@hack.frob.com>
16558
a6928d51
RM
16559 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16560 of $(common-objpfx)shlib.lds.
16561 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16562
661607b3
RM
16563 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16564 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16565
9fa2c032
RM
16566 * configure.in (-z relro check): Adjust test code to add a large
16567 writable data section after it.
16568 * configure: Regenerated.
16569
defe9061
RM
165702011-07-11 Roland McGrath <roland@hack.frob.com>
16571
16572 * configure.in (-z relro check): Fix test code to make the variable
16573 truly const.
16574 * configure: Regenerated.
16575
319b9ad4
UD
165762011-07-11 Ulrich Drepper <drepper@gmail.com>
16577
16578 * nscd/nscd.h (struct traced_file): Define.
16579 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16580 elements. Add traced_files.
16581 (inotify_fd): Declare.
16582 (register_traced_file): Declare.
16583 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16584 (inotify_fd): Export.
16585 (resolv_conf_descr): Remove.
16586 (nscd_init): Move inotify descriptor creation to main.
16587 Don't register files for notification here.
16588 (register_traced_file): New function.
16589 (invalidate_cache): Don't use reset_res to determine whether to call
16590 res_init, go through the list of registered files.
16591 (main_loop_poll): The inotify descriptors are now stored in the
16592 structures for the traced files.
16593 (main_loop_epoll): Likewise
16594 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16595 to __nss_disable_nscd.
16596 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16597 for a database anymore. Check the records for all the registered
16598 files instead.
16599 * nss/Makefile (libnss_files-routines): Add files-init.
16600 (libnss_db-routines): Add db-init.
16601 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16602 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16603 * nss/nss_db/db-init.c: New file.
16604 * nss/nss_files/files-init.c: New file.
16605 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16606 __nss_lookup_function.
16607 (__nss_lookup_function): Call nss_load_library.
16608 (nss_load_all_libraries): New function.
16609 (__nss_disable_nscd): Take parameter with callback function for files
16610 to register. Set is_nscd. Load all the DSOs for the NSS modules
16611 used for the cached services.
16612 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16613 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16614 options for features to all the files in nscd.
16615
16616 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16617
23bee3e8
RM
166182011-07-10 Roland McGrath <roland@hack.frob.com>
16619
16620 * csu/elf-init.c (__libc_csu_init): Comment typo.
16621
46a5b7f0
UD
166222011-07-09 Ulrich Drepper <drepper@gmail.com>
16623
16624 * po/pl.po: Update from translation team.
16625 * po/ja.po: Likewise.
16626 * po/ru.po: Likewise.
16627 * po/ko.po: Likewise.
16628 * po/fr.po: Likewise.
16629
d30cf5bb
RM
166302011-07-09 Roland McGrath <roland@hack.frob.com>
16631
113ddea4
RM
16632 * configure.in (.ctors/.dtors header and trailer check):
16633 Use an empirical test on a built program.
16634 * configure: Regenerated.
16635
574920b4
RM
16636 * configure.in (-z relro check): Use an empirical test on a built DSO.
16637 Detect, but do not require, on ia64.
16638 * configure: Regenerated.
16639
d30cf5bb
RM
16640 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16641 Update tests that use readelf to use $READELF instead.
16642 * configure: Regenerated.
16643
8538fdb3
UD
166442011-07-08 Ulrich Drepper <drepper@gmail.com>
16645
16646 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16647 if the result is not used.
16648
04d08991
AJ
166492011-07-05 Andreas Jaeger <aj@suse.de>
16650
16651 [BZ#9696]
16652 * stdlib/tst-strtod.c: Add testcase.
16653
de283087
AD
166542011-07-07 Ulrich Drepper <drepper@gmail.com>
16655
4e5f31c8 16656 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16657 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16658 The latter has a higher limit. Take additional parameter to pass to
16659 the new function.
16660 (__pathconf): Pass file to __statfs_link_max.
16661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16662 __statfs_link_max.
16663 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16664 __statfs_link_max.
16665
de283087
AD
16666 [BZ #12868]
16667 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16669 Handle Lustre.
16670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16671 (__statfs_filesize_max): Likewise.
16672 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16673
c75fa153
AJ
166742011-07-05 Andreas Jaeger <aj@suse.de>
16675
16676 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16677
1a544854
UD
166782011-07-06 Marek Polacek <mpolacek@redhat.com>
16679
16680 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16681 `status' variable.
16682 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16683 Likewise.
16684
6f0eec67
UD
166852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16686
16687 * Makefile (strop-tests): Add strncat.
16688 * string/test-strncat.c: New file.
16689
aae30307
UD
166902011-06-30 Marek Polacek <mpolacek@redhat.com>
16691
16692 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16693
c0cfb5eb
UD
166942011-06-21 Andreas Jaeger <aj@suse.de>
16695
16696 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16697 Copy rule from iconvdata/Makefile.
16698
01636b21
UD
166992011-07-06 Ulrich Drepper <drepper@gmail.com>
16700
16701 [BZ #12922]
16702 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16703 but no long options are defined, just return 'W'.
16704
9895c8bc
UD
167052011-06-22 Marek Polacek <mpolacek@redhat.com>
16706
16707 [BZ #9696]
16708 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16709
5d4cf042
UD
167102011-07-06 Ulrich Drepper <drepper@gmail.com>
16711
16712 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16713 netgroups to read.
960e5535 16714 (innetgr): Likewise.
5d4cf042 16715
751eb97e
RM
167162011-07-05 Roland McGrath <roland@hack.frob.com>
16717
16718 * config.make.in (install_root): Default to $(DESTDIR).
16719
f15f1e45
UD
167202011-07-05 Ulrich Drepper <drepper@gmail.com>
16721
16722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16723
4e34ac6a
RM
167242011-07-02 Roland McGrath <roland@hack.frob.com>
16725
5e9b6af4
RM
16726 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16727
84f9ea0f
RM
16728 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16729 containing directory rather than embedding absolute directory names.
16730
ea5ee9f7
RM
16731 * scripts/check-local-headers.sh: Rewritten using awk.
16732 Match by word, not by line. Print error messages for matches.
16733 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16734
1b74661a
RM
16735 * Makerules [shlib-lds-flags empty]:
16736 ($(common-objpfx)libc_pic.opts): New target.
16737 ($(common-objpfx)libc_pic.os.clean): New target.
16738 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16739
16740 * config.make.in (OBJCOPY): New variable.
16741 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16742 * configure: Regenerated.
16743
f781ef40
RM
16744 * config.make.in (use-default-link): New variable.
16745 * configure.in (use_default_link): Grok --with-default-link to set it.
16746 * configure: Regenerated.
16747 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16748 (shlib-lds, shlib-lds-flags): Define to empty.
16749
2d4fa81e
RM
16750 * Makerules (shlib-lds): New variable.
16751 (shlib-lds-flags): New variable.
16752 (build-shlib, build-moduile, build-module-asneeded): Use it.
16753 ($(common-objpfx)libc.so): Use $(shlib-lds).
16754 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16755 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16756
31fffa6b
RM
16757 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16758 DT_FLAGS/DT_FLAGS_1 with zero flags.
16759
4e34ac6a
RM
16760 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16761 linker script munging.
16762
fcfc776b
UD
167632011-07-02 Ulrich Drepper <drepper@gmail.com>
16764
16765 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16766 as 128-bit value.
16767 * crypt/sha512.c (sha512_process_block): Perform total addition using
16768 128-bit if possible.
16769 (__sha512_finish_ctx): Likewise.
16770 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16771 as 64-bit value.
16772 * crypt/sha256.c (SWAP64): Define.
16773 (sha256_process_block): Perform total addition using 64-bit if
16774 possible.
16775 (__sha256_finish_ctx): Likewise.
16776
99231d9a
UD
167772011-07-01 Ulrich Drepper <drepper@gmail.com>
16778
16779 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16781 * nscd/hstcache.c (cache_addhst): Likewise.
16782 * nscd/grpcache.c (cache_addgr): Likewise.
16783 * nscd/aicache.c (addhstaiX): Likewise
16784 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16785
445b4a53
TK
167862011-07-01 Thorsten Kukuk <kukuk@suse.de>
16787
16788 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16790 * nscd/hstcache.c (cache_addhst): Likewise.
16791 * nscd/grpcache.c (cache_addgr): Likewise.
16792 * nscd/aicache.c (addhstaiX): Likewise
16793
6d4d8e8e
AS
167942011-07-01 Andreas Schwab <schwab@redhat.com>
16795
16796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16797 domain only when needed.
16798
89f654c5
AS
167992011-06-30 Andreas Schwab <schwab@redhat.com>
16800
16801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16802 is always restored.
16803
cf3b23ff
UD
168042011-06-29 Ulrich Drepper <drepper@gmail.com>
16805
16806 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16807 are re-adding the entry.
16808 * nscd/servicescache.c (cache_addserv): Likewise.
16809
751626f9
AJ
168102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16811
16812 * sysdeps/generic/dl-irel.h: fix protection against multiple
16813 inclusions.
16814 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16815
9113ea1f
UD
168162011-06-28 Ulrich Drepper <drepper@gmail.com>
16817
5c0b8d90
UD
16818 [BZ #12935]
16819 * malloc/memusage.sh: Fix quoting in message.
16820 * debug/xtrace.sh: Likewise.
16821
9113ea1f
UD
16822 * configure.in: Remove support for --experimental-malloc option, make
16823 it the default.
16824 * config.make.in: Likewise.
16825 * malloc/Makefile: Likewise.
16826
a4172181
AS
168272011-06-27 Andreas Schwab <schwab@redhat.com>
16828
16829 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16830 two-byte characters.
16831
78a7eee7
RM
168322011-06-27 Roland McGrath <roland@hack.frob.com>
16833
62bede13
RM
16834 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16835 AC_CACHE_CHECK invocation.
16836 * configure: Regenerated.
16837
78a7eee7
RM
16838 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16839
5ce33a62
UD
168402011-06-27 Ulrich Drepper <drepper@gmail.com>
16841
034807a9
UD
16842 [BZ #12350]
16843 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16844 bit from old_res_options.
16845
4902da17
UD
16846 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16847
5ce33a62
UD
16848 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16849 value type for setfct.
16850
c2344f56
L
168512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16852
16853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16854 __gettimeofday instead of gettimeofday.
16855
68468076
UD
168562011-06-26 Ulrich Drepper <drepper@gmail.com>
16857
16858 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16859
acb0d739
L
168602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16861
16862 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16863
16864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16865 info.
16866
8912479f
L
168672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16868
16869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16870 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16871 strcpy-sse2-unaligned strncpy-sse2-unaligned
16872 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16873 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16874 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16875 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16876 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16877 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16878 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16879 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16880 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16881 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16882 (STRCPY): Support SSE2 and SSSE3 versions.
16883
d5495a11
UD
168842011-06-24 Ulrich Drepper <drepper@gmail.com>
16885
16886 [BZ #12874]
16887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16888 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16889 kernels which artificially limit size of requests.
16890
0b1cbaae
L
168912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16892
16893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16894 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16895 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16896 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16897 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16898 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16899 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16900 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16903 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16904 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16905 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16906 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16907 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16909 Enable unaligned load optimization for Intel Core i3, i5 and i7
16910 processors.
16911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16912 Define.
16913 (index_Fast_Unaligned_Load): Define.
16914 (HAS_FAST_UNALIGNED_LOAD): Define.
16915
07f494a0
MP
169162011-06-23 Marek Polacek <mpolacek@redhat.com>
16917
16918 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16919
fa3fc0fe
UD
169202011-06-22 Ulrich Drepper <drepper@gmail.com>
16921
16922 [BZ #12907]
16923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16924 until it is clear that the information is realy needed.
16925 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16926
e12df166
AS
169272011-06-22 Andreas Schwab <schwab@redhat.com>
16928
16929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16930
852eb34d
UD
169312011-06-22 Ulrich Drepper <drepper@gmail.com>
16932
84e2a551
UD
16933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16934 /sys/devices/system/cpu/online if it is usable.
16935
852eb34d
UD
16936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16937 reading the information from the /proc filesystem to once a second.
16938
6e502e19
UD
169392011-06-21 Andreas Jaeger <aj@suse.de>
16940
16941 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16942 NULL after inclusion of kernel headers.
16943
75d39ff2
UD
169442011-06-21 Ulrich Drepper <drepper@gmail.com>
16945
51f9aa6a
UD
16946 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16947 calls to internal_setent.
16948
c0244a9d
UD
16949 [BZ #12885]
16950 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16951 addresses using gethostbyname4_r ignore IPv4 addresses.
16952
c5e3c2ae
UD
16953 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16954 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16955
75d39ff2
UD
16956 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16957
42675c6f
DM
169582011-06-20 David S. Miller <davem@davemloft.net>
16959
16960 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16961 inclusions.
16962 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16963
16964 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16965 (elf_irel): Use it.
16966 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16967 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16968 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16969 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16970 * sysdeps/x86_64/dl-irel.h: Likewise.
16971
16972 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16973 * elf/dl-sym.c: Likewise.
16974
57912a71
UD
169752011-06-15 Ulrich Drepper <drepper@gmail.com>
16976
16977 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16978 need to dereference resplen2.
16979
ee22793d
AS
169802011-06-14 Andreas Schwab <schwab@redhat.com>
16981
16982 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16983
a9e836b0
UD
169842011-06-15 Ulrich Drepper <drepper@gmail.com>
16985
77fb9117
UD
16986 * Makeconfig: Define vardbdir and inst_vardbdir.
16987 * nss/Makefile: Add rules to install db-Makefile.
16988
40c1b22c
UD
16989 * nss/nss_db/db-XXX.c: Cleanup.
16990
9f2da732
UD
16991 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16992 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16993 GLIBC_PRIVATE.
16994 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16995 * nss/makedb.c: Implement -g option to specify that value strings
16996 are generated and should not be added to table iterated over for
16997 get*ent calls.
16998 * nss/nss_db/db-initgroups.c: New file.
16999
82e9a1f7
UD
17000 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17001 interface.
17002
c41af17e
UD
17003 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17004 (internal_getgrouplist): Adjust to name change.
17005 Update use_initgroups_entry if this is not the first call.
17006 * nss/databases.def: Add initgroups entry.
17007
a9e836b0
UD
17008 * nss/makedb.c (compute_tables): Check result of multiple hash table
17009 sizes to minimize maximum chain length.
17010
2666d441
UD
170112011-06-14 Ulrich Drepper <drepper@gmail.com>
17012
17013 * Versions.def: Add entry for libnss_db.
17014 * shlib-versions: Likewise.
17015 * nss/Makefile: Add rules to build libnss_db.
17016 * nss/Versions: Add libnss_db information. Organize libnss_files
17017 entries better.
17018 * nss/db-Makefile: Add gshadow support. Change rules for the new
17019 makedb progra. Some minor improvements to generate smaller files.
17020 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17021 here from...
17022 * nss/makedb.c: ...here.
17023 Improve database format to be smaller and require less memory at
17024 runtime.
17025 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17026 db anymore.
17027 * nss/nss_db/db-netgrp.c: Likewise.
17028 * nss/nss_db/db-open.c: Likewise.
17029 * nss/nss_files/flies-XXX.x: Adjust comments.
17030 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17031 * nss/nss_files/files-grp.c: Likewise.
17032 * nss/nss_files/files-hosts.c: Likewise.
17033 * nss/nss_files/files-network.c: Likewise.
17034 * nss/nss_files/files-proto.c: Likewise.
17035 * nss/nss_files/files-pwd.c: Likewise.
17036 * nss/nss_files/files-rpc.c: Likewise.
17037 * nss/nss_files/files-service.c: Likewise.
17038 * nss/nss_files/files-sgrp.c: Likewise.
17039 * nss/nss_files/files-spwd.c: Likewise.
17040 * nss/nss_db/db-alias.c: Removed.
17041 * nss/nss_db/dummy-db.h: Removed.
17042
9ee76b5a
UD
170432011-06-02 Ulrich Drepper <drepper@gmail.com>
17044
17045 * nss/makedb.c: Rewritten to not use database library.
17046 * nss/Makefile: Update to build new makedb program.
17047
c71ca1f8
AJ
170482011-06-14 Andreas Jaeger <aj@suse.de>
17049
17050 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17051 memset declaration.
17052
3154bfb8
UD
170532011-06-10 Andreas Schwab <schwab@redhat.com>
17054
17055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17056 tmpbuf.
17057
b350afab
RM
170582011-06-10 Roland McGrath <roland@hack.frob.com>
17059
decd4e50
RM
17060 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17061 * elf/Makefile ($(objpfx)ld.so): Likewise.
17062
5615eaf2
RM
17063 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17064 Don't list ld.so twice in dependencies.
17065
17066 * posix/bug-regex31.c: Include <stdlib.h>.
17067
17068 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17069
17070 * nis/nss_compat/compat-spwd.c
17071 (getspent_next_nss_netgr): Remove unused variable.
17072 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17073
17074 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17075 nonmembers" output to use the right array.
17076
17077 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17078
17079 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17080
17081 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17082 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17083 * catgets/gencat.c (read_input_file): Likewise.
17084 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17085
17086 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17087 variable definition inside #if's controlling its use.
17088
17089 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17090
17091 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17092
17093 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17094
17095 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17096 unreachable code.
17097
17098 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17099
b68e08db
RM
17100 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17101 * configure: Regenerated.
17102
b350afab
RM
17103 * Makerules: Revert last change.
17104 * elf/Makefile: Likewise.
17105
28368601
RM
171062011-06-09 Roland McGrath <roland@hack.frob.com>
17107
17108 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17109 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17110 (reloc-link): Likewise.
17111
11988f8f
UD
171122011-06-09 Ulrich Drepper <drepper@gmail.com>
17113
17114 * elf/Makefile: Add rules to build pldd.
17115 * elf/pldd.c: New file.
17116 * elf/pldd-xx.c: New file.
17117
e80fab37
UD
171182011-06-07 Ulrich Drepper <drepper@gmail.com>
17119
17120 * version.h: Update for 2.15 development version.
17121
9b849836
DM
171222011-06-07 David S. Miller <davem@davemloft.net>
17123
17124 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17125 ifuncs.
17126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17127 elf_machine_lazy_rel): Likewise.
17128 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17129 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17130 elf_machine_lazy_rel): Likewise.
17131 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17132 dl_hwcap via passed in argument.
17133 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17134 Likewise.
17135
5a31b283
AK
171362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17137
17138 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17139
069e52f8
RM
171402011-06-06 Roland McGrath <roland@hack.frob.com>
17141
17142 [BZ #12849]
17143 * manual/fdl-1.1.texi: New file, verbatim from:
17144 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17145 * manual/lgpl-2.1.texi: New file, verbatim from:
17146 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17147 * manual/Makefile (licenses): New variable, list those new file names.
17148 (texis): Use it.
17149 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17150
17151 * manual/fdl.texi: File removed.
17152 * manual/lesser.texi: File removed.
17153 * manual/libc.texinfo (Copying, Documentation License):
17154 Use new @include file names, put @appendix directive before @include.
17155
f16846a5
JJ
171562011-06-04 Jakub Jelinek <jakub@redhat.com>
17157
17158 [BZ #12841]
17159 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17160 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17161 (mq_open): Add __NTH.
17162
3d29045b
L
171632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17166 Assume Intel Core i3/i5/i7 processor if AVX is available.
17167
8c297311
UD
171682011-05-31 Ulrich Drepper <drepper@gmail.com>
17169
17170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17171 typo.
17172
c8fc0c91
UD
171732011-05-31 Andreas Schwab <schwab@redhat.com>
17174
17175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17176 memory. Use alloca_account. Fix memory leak when retrying.
17177
5b27a807
UD
171782011-05-31 Ulrich Drepper <drepper@gmail.com>
17179
356f8bc6
UD
17180 * version.h (RELEASE): Bump for 2.14 release.
17181 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17182
5b27a807
UD
17183 * config.make.in (RANLIB): Remove entry.
17184
01f16ab0
UD
171852011-05-30 Ulrich Drepper <drepper@gmail.com>
17186
41fce8bd
UD
17187 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17188 (libc.pot): Work around missing support for .ksh extension in xgettext.
17189
4769ae77
UD
17190 [BZ #12684]
17191 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17192 if both request failed.
17193 (send_dg): In case of server errors clear resplen or *resplen2.
17194
6b1e7d19
UD
17195 [BZ #12454]
17196 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17197 when there are multiple maps.
17198 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17199 (_dl_fini): Remove test here.
17200
01f16ab0
UD
17201 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17202
b1ebd700
UD
172032011-05-29 Ulrich Drepper <drepper@gmail.com>
17204
7ae22829
UD
17205 [BZ #12350]
17206 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17207 bit from old_res_options.
17208 (gaih_inet): Likewise.
17209
553149f6 17210 [BZ #11099]
18a84741 17211 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17212 as signed.
17213
652ffab1
UD
17214 * resolv/res_init.c (res_setoptions): Make the code more compact.
17215
16985fd0
UD
17216 [BZ #11558]
17217 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17218 set RES_USEVC.
17219
0464f746
UD
17220 [BZ #11634]
17221 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17222
7d17596c
UD
17223 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17224
cf6bbbd7
UD
17225 [BZ #11781]
17226 * malloc/malloc.h: Declare malloc hook variables as volatile.
17227
13f1ab36
UD
17228 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17229 in last patch.
17230
b1ebd700
UD
17231 [BZ #11799]
17232 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17233 raise in the comment.
80e2212d
UD
17234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17236 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17237
ce67228d
UD
172382011-05-28 Ulrich Drepper <drepper@gmail.com>
17239
8887a920
UD
17240 [BZ #12811]
17241 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17242 grow the buffers more if it already has to be sufficient.
17243 (build_wcs_upper_buffer): Likewise.
17244 * posix/regexec.c (check_matching): Likewise.
17245 (clean_state_log_if_needed): Likewise.
17246 (extend_buffers): Don't enlarge buffers beyond size of the input
17247 buffer.
17248 Patches mostly by Emil Wojak <emil@wojak.eu>.
17249 * posix/bug-regex32.c: New file.
17250 * posix/Makefile (tests): Add bug-regex32.
17251
4f031072
UD
17252 * locale/findlocale.c (_nl_find_locale): Return right away if
17253 _nl_explode_name failed.
17254 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17255
d0478f0c
UD
17256 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17257
de81b246
UD
17258 * debug/xtrace.sh: Unify messages.
17259 * malloc/memusage.sh: Likewise.
17260
c738465a
UD
17261 [BZ #12813]
17262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17263 time symbol from vDSO. Substitute with vsyscall if not available.
17264 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17265 __vdso_time.
17266
f1f929d7
UD
17267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17268 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17269 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17270 Add sendmmsg and internal_sendmmsg.
17271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17273 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17274
ce67228d
UD
17275 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17276 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17278
e57420c6
UD
172792011-05-27 Ulrich Drepper <drepper@gmail.com>
17280
a8509ca5
UD
17281 [BZ #12813]
17282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17283 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17284 available.
17285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17286 __vdso_getcpu.
17287
e57420c6
UD
17288 [BZ #12814]
17289 * iconvdata/Makefile (tests): Add bug-iconv9.
17290 * iconvdata/bug-iconv9.c: New file.
17291
4d07db15
AS
172922011-05-27 Andreas Schwab <schwab@redhat.com>
17293
17294 [BZ #12814]
17295 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17296
ea486f69
JJ
172972011-05-25 Jakub Jelinek <jakub@redhat.com>
17298
17299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17300 (struct user_regs_struct): Change intcs field back to cs.
17301
6f038433
UD
173022011-05-25 Ulrich Drepper <drepper@gmail.com>
17303
17304 * po/ja.po: Update from translation team.
17305
67f86a25
UD
173062011-05-23 Ulrich Drepper <drepper@gmail.com>
17307
17308 [BZ #12795]
17309 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17311
def7fbd6
AS
173122011-05-20 Andreas Schwab <schwab@redhat.com>
17313
17314 * stdlib/longlong.h: Update from GCC.
17315
f50ef8f1
AS
173162011-05-23 Andreas Schwab <schwab@redhat.com>
17317
17318 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17319 parameter name.
17320 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17321 Add parameter name.
17322 (__sysconf): Pass it down.
17323
de7ce8f1
UD
173242011-05-22 Ulrich Drepper <drepper@gmail.com>
17325
f2962a71
UD
17326 [BZ #12671]
17327 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17328 some situations.
17329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17330 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17331 add in in __libc_use_alloca calls. Adjust callers.
17332 (glob): Use malloc in some situations.
17333
de7ce8f1
UD
17334 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17335 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17336 pltexit.
17337
aec84f53
UD
173382011-05-21 Ulrich Drepper <drepper@gmail.com>
17339
05bb4a68
UD
17340 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17341 and CLOCK_BOOTTIME_ALARM.
17342
7ea72f99
UD
17343 [BZ #12782]
17344 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17345 is returned.
17346
7e4afad5
UD
17347 * string/_strerror.c (__strerror_r): Print negative errors as signed
17348 numbers.
17349
8e211fec
UD
17350 [BZ #12777]
17351 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17352 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17353 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17354
f7d82dc9
UD
17355 * configure.in: Fix typo in redirection and correct removal of test
17356 files in two cases.
17357
cc9e536d
UD
17358 [BZ #12788]
17359 * locale/setlocale.c (new_composite_name): Fix test to check for
17360 identical name of all categories.
17361
aec84f53
UD
17362 [BZ #12792]
17363 * libio/filedoalloc.c (local_isatty): New function.
17364 (_IO_file_doallocate): Use local_isatty.
17365 * stdio-common/perror.c (perror): In case a new stream is used
17366 forward the stream error.
17367 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17368 error flag.
17369
78e64fdc
RT
173702011-05-20 Ulrich Drepper <drepper@gmail.com>
17371
34a9094f
UD
17372 [BZ #11869]
17373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17374 alloca.
17375 * include/alloca.h (extend_alloca_account): Define.
17376
78e64fdc
RT
17377 [BZ #11857]
17378 * posix/regex.h: Fix comments with documentation of user-accessible
17379 fields after compilation and describe correct free'ing of pattern
17380 after re_compile_pattern.
17381 Patch by Reuben Thomas <rrt@sc3d.org>.
17382
457bddfc
RA
173832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17384
17385 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17386 and -mno-altivec to prevent the compiler from using Altivec and/or
17387 VSX instructions when the corresponding registers are not available.
17388
a4527b51
AS
173892011-05-19 Andreas Schwab <schwab@redhat.com>
17390
17391 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17392
ed690b2f
UD
173932011-05-19 Ulrich Drepper <drepper@gmail.com>
17394
17395 * libio/freopen.c (freopen): Use __dup2, not dup2.
17396 * libio/freopen64.c (freopen64): Likewise.
17397
8db73634
L
173982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 [BZ #12775]
17401 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17402 * math/Makefile (tests): Add test-powl.
17403 (CFLAGS-test-powl.c): Define.
17404 * math/test-powl.c: New file.
17405
0a197a9d
L
174062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17407
17408 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17409
ee30c380
UD
174102011-05-17 Ulrich Drepper <drepper@gmail.com>
17411
17412 [BZ #11837]
17413 * iconvdata/gb18030.c: Update to GB18020-2005.
17414
6ce75379
UD
174152011-05-16 Ulrich Drepper <drepper@gmail.com>
17416
a4b89fd8
AR
17417 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17418 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17419 Patch by Aharon Robbins <arnold@skeeve.com>.
17420
ea389b12
UD
17421 [BZ #11892]
17422 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17423 on the stack.
17424
68a3f91f
UD
17425 [BZ #11895]
17426 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17427 through underflows.
17428
15cc7dd1
UD
17429 [BZ #12766]
17430 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17431 point to strings before performing equality test for error_one_per_line
17432 mode.
17433
f3799213
UD
17434 [BZ #11697]
17435 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17436
d79a9c94
UD
17437 [BZ #11820]
17438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17439 (struct user_fpregs_struct): Avoid __uint*_t types.
17440
56e5eb46
UD
17441 [BZ #6420]
17442 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17443 symbol info. Use it instead of calling _dl_addr locally.
17444 (lock_and_info): New function.
17445 (tr_freehook): Call lock_and_info and pass symbol info as additional
17446 parameter to tr_where.
17447 (tr_mallochook): Likewise.
17448 (tr_reallochook): Likewise.
17449 (tr_memalignhook): Likewise.
17450
6ce75379
UD
17451 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17452 used and couldn't be at all thread-safe.
17453
f8a3b5bf
UD
174542011-05-15 Ulrich Drepper <drepper@gmail.com>
17455
94b7cc37
UD
17456 * libio/freopen.c (freopen): Don't close old file descriptor
17457 before the new one is opened. Instead dup the new file descriptor
17458 to the old one after the new stream is created.
17459 * libio/freopen64.c (freopen64): Likewise.
17460 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17461 * libio/fileops.c (_IO_new_file_close_it): Handle new
17462 _IO_FLAGS2_NOCLOSE flag.
17463 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17464 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17465 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17466 _IO_FLAGS2_NOCLOSE flag.
17467 * include/unistd.h: Add hidden_proto for dup3.
17468 Define __have_dup3.
17469 * io/dup3.c: Define hidden symbol.
17470 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17471
bd25564e
UD
17472 [BZ #7101]
17473 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17474 when an incomplete long option is used.
17475 * posix/tst-getopt_long1.c: New file.
17476 * posix/Makefile (tests): Add tst-getopt_long1.
17477
c84cfef4
UD
17478 [BZ #10138]
17479 * scripts/config.guess: Update from autoconf-2.68.
17480 * scripts/config.sub: Likewise.
17481
3b85df27
UD
17482 [BZ #10157]
17483 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17484 tests into ...
17485 (has_cpuclock): ...this. New function.
17486 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17487 macro here based on has_cpuclock code.
17488
15a856b1
UD
17489 [BZ #10149]
17490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17491 First byte (not low byte) is now always NUL.
17492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17493
05f399e6
UD
17494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17495 Use non-cancelable interfaces.
17496
10a52685 17497 [BZ #9809]
94ecc67d
UD
17498 * locale/iso-639.def: Add entry for Sorani.
17499
f8a3b5bf
UD
17500 [BZ #11901]
17501 * include/stdlib.h: Move include protection to the right place.
17502 Define abort_msg_s. Declare __abort_msg with it.
17503 * stdlib/abort.c (__abort_msg): Adjust type.
17504 * assert/assert.c (__assert_fail_base): New function. Majority
17505 of code from __assert_fail. Allocate memory for __abort_msg with
17506 mmap.
17507 (__assert_fail): Now call __assert_fail_base.
17508 * assert/assert-perr.c: Remove bulk of implementation. Use
17509 __assert_fail_base.
17510 * include/assert.hL Declare __assert_fail_base.
17511 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17512 mmap.
17513 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17514
1af4e298
UD
175152011-05-14 Ulrich Drepper <drepper@gmail.com>
17516
f8a3b5bf 17517 [BZ #11952]
d26dfc60
MG
17518 [BZ #12453]
17519 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17520 until all modules are registered in the DTV.
17521 * elf/Makefile: Add rules to build and run tst-tls19.
17522 * elf/tst-tls19.c: New file.
17523 * elf/tst-tls19mod1.c: New file.
17524 * elf/tst-tls19mod2.c: New file.
17525 * elf/tst-tls19mod3.c: New file.
17526 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17527
2fc54d6f
UD
17528 [BZ #12083]
17529 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17530 correctly.
17531
98d76b46
UD
17532 [BZ #12601]
17533 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17534 two-byte sequence errors.
17535 * iconvdata/Makefile (tests): Add bug-iconv8.
17536 * iconvdata/bug-iconv8.c: New file.
17537
da3c19ef
UD
17538 [BZ #12626]
17539 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17540 buf2 definition.
17541
ca408c15
UD
17542 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17543
d6f67f7d
UD
17544 [BZ #12432]
17545 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17546 (dummy_getcfa): New function.
17547 (init): Get _Unwind_GetCFA address, use dummy if not found.
17548 (backtrace_helper): In recursion check, also check whether CFA changes.
17549 (__backtrace): Completely initialize arg.
17550
1af4e298 17551 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17552 storing incomplete byte sequence in state object. Avoid testing for
17553 guaranteed too small input if we know there is enough data available.
1af4e298 17554
da62f81b
AS
175552011-05-11 Andreas Schwab <schwab@redhat.com>
17556
17557 * Makeconfig (+link-pie): Indent.
17558 * Rules (binaries-pie): Define if $(have-fpie) and
17559 $(build-shared).
17560 (binaries-shared): Also filter out $(binaries-pie).
17561 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17562 * nscd/Makefile (others-pie): Add nscd.
17563 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17564 ($(objpfx)nscd): Remove command override.
17565 * login/Makefile (others-pie): Add pt_chown.
17566 ($(objpfx)pt_chown): Remove command override.
17567 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17568 remove command overrides.
17569
fcabc0f8
UD
175702011-05-13 Ulrich Drepper <drepper@gmail.com>
17571
20030ae6
UD
17572 * libio/tst_putwc.c: Fix error messages.
17573
fcabc0f8
UD
17574 [BZ #12724]
17575 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17576 currently writing and seek to current position when not.
17577 * libio/Makefile (tests): Add bug-fclose1.
17578 * libio/bug-fclose1.c: New file.
17579
320a5dc0
PB
175802011-05-12 Ulrich Drepper <drepper@gmail.com>
17581
17582 [BZ #12511]
17583 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17584 don't set DF_1_NODELETE here.
17585 (do_lookup_x): When entering new entry test for copy relocation
17586 and if necessary set DF_1_NODELETE flag.
17587 * elf/tst-unique4.cc: New file.
17588 * elf/tst-unique4.h: New file.
17589 * elf/tst-unique4lib.cc: New file.
17590 * elf/Makefile: Add rules to build and run tst-unique4.
17591 Patch by Piotr Bury <pbury@goahead.com>.
17592
22836f52
UD
175932011-05-11 Ulrich Drepper <drepper@gmail.com>
17594
f574184a
UD
17595 [BZ #12052]
17596 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17597
e1fb097f
UD
17598 [BZ #12625]
17599 * misc/mntent_r.c (addmntent): Flush the stream after the output
17600
22836f52
UD
17601 [BZ #12393]
17602 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17603 (is_trusted_path_normalize): Skip initial colon. Append slash
17604 to empty buffer. Duplicate is_trusted_path code but allow
17605 constructed patch to be prefix.
17606 (is_dst): Allow $ORIGIN followed by /.
17607 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17608 Correct testing of result of is_trusted_path_normalize
17609 (decompose_rpath): Fix warning.
17610
7b3b0b2a
UD
176112011-05-10 Ulrich Drepper <drepper@gmail.com>
17612
17613 [BZ #11257]
17614 * grp/initgroups.c (internal_getgrouplist): When we found the service
17615 list through the initgroups entry in nsswitch.conf do not always
17616 continue on a successful lookup. Don't always use the
eac80ce2 17617 __nss_group_database value if it is set.
7b3b0b2a
UD
17618 * nss/nsswitch.conf (initgroups): Change action for successful db
17619 lookup to continue for compatibility.
17620
2a81eaa5
UD
176212011-05-09 Ulrich Drepper <drepper@gmail.com>
17622
be97a69e
UD
17623 [BZ #11532]
17624 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17625 and CP774 modules.
17626 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17627 and CP774 modules.
17628 * iconvdata/tst-tables.sh: Likewise.
17629 * iconvdata/cp770.c: New file.
17630 * iconvdata/cp771.c: New file.
17631 * iconvdata/cp772.c: New file.
17632 * iconvdata/cp773.c: New file.
17633 * iconvdata/cp774.c: New file.
17634 * iconvdata/testdata/CP770: New file.
17635 * iconvdata/testdata/CP770..UTF8: New file.
17636 * iconvdata/testdata/CP771: New file.
17637 * iconvdata/testdata/CP771..UTF8: New file.
17638 * iconvdata/testdata/CP772: New file.
17639 * iconvdata/testdata/CP772..UTF8: New file.
17640 * iconvdata/testdata/CP773: New file.
17641 * iconvdata/testdata/CP773..UTF8: New file.
17642 * iconvdata/testdata/CP774: New file.
17643 * iconvdata/testdata/CP774..UTF8: New file.
17644
17645 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17646 END CHARMAP line.
17647 * iconvdata/gen-8bit-gap.sh: Likewise.
17648 * iconvdata/gen-8bit.sh: Likewise.
17649
c1e9e399
UD
17650 * locale/iso-639.def: Add ary entry.
17651
24c55fb3 17652 [BZ #11258]
96b4b1b0
UD
17653 * locale/C-translit.h.in: Add U20A1 transliteration.
17654
bdc2f971
KB
17655 [BZ #12178]
17656 * locale/iso-639.def: Add wae entry.
17657 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17658
2952b117
UD
17659 [BZ #12545]
17660 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17661 for n.
17662
2a81eaa5
UD
17663 [BZ #12711]
17664 * locale/C-translit.h.in: Add entry for U20B9.
17665 Patch by pravin.d.s@gmail.com.
17666
28377d1b
UD
176672011-05-08 Ulrich Drepper <drepper@gmail.com>
17668
7fb90fb8
UD
17669 [BZ #12713]
17670 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17671 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17672 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17673 in rtld. Use *stat64.
7fb90fb8 17674 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17675 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17676 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17677 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17678 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17679 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17680 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17681 __fstatat64 macros.
7fb90fb8
UD
17682 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17683 * dirent/rewinddir.c: Add libc_hidden_def.
17684 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17685 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17686
28377d1b
UD
17687 * include/dirent.h (__alloc_dir): Add flags parameter.
17688 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17689 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17690 __alloc_dir.
17691 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17692 from fdopendir if O_CLOEXEC is already set.
17693
66bdbaa4
AM
176942011-03-15 Alan Modra <amodra@gmail.com>
17695
17696 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17697 l_tls_firstbyte_offset non-zero. Save padding offset in
17698 l_tls_firstbyte_offset for later use.
17699 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17700 freeing static tls block.
17701
95721191
JN
177022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17703
17704 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17705 where #ifdef was intended. The intent is to prevent ARG_MAX from
17706 being defined by the kernel headers.
17707
f87dfb1f
UD
177082011-05-07 Ulrich Drepper <drepper@gmail.com>
17709
17710 [BZ #12734]
17711 * resolv/resolv.h: Define RES_NOTLDQUERY.
17712 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17713 no-tld-query and set RES_NOTLDQUERY.
17714 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17715 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17716 modern BIND to search name as TLD unless forbidden.
17717
47c3cd7a
UD
177182011-05-07 Petr Baudis <pasky@suse.cz>
17719 Ulrich Drepper <drepper@gmail.com>
17720
17721 [BZ #12393]
17722 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17723 (is_trusted_path): ...to here.
c1e9ea35 17724 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17725 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17726 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17727
8a35c912
PP
177282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17729
17730 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17731 __BEGIN/__END_DECLS.
17732
acd41f47
UD
177332011-05-06 Ulrich Drepper <drepper@gmail.com>
17734
17735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17736 NSS_STATUS_NOTFOUND if no record was found.
17737
597df647
AS
177382011-05-05 Andreas Schwab <schwab@redhat.com>
17739
17740 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17741 (headers-not-in-tirpc): Remove rpc/netdb.h
17742 * resolv/netdb.h: Revert last change.
17743
b9af1301
PP
177442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17745
17746 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17747 circular dependency between libgcc.a and libc.a.
17748
4e34d5f5
AS
177492011-05-05 Andreas Schwab <schwab@redhat.com>
17750
17751 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17752 * nis/Makefile: Don't install rpcsvc/*.
17753 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17754 instead of <rpc/types.h>.
17755 (MAXHOSTNAMELEN): Define.
17756
00ee369c
AS
177572011-05-03 Andreas Schwab <schwab@redhat.com>
17758
17759 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17760
0b592a30
MB
177612011-04-28 Maciej Babinski <mbabinski@google.com>
17762
17763 [BZ #12714]
17764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17765 gethostbyname4_r when IPv6 results are possible.
17766
6e04cbbe
UD
177672011-05-02 Ulrich Drepper <drepper@gmail.com>
17768
17769 [BZ #12723]
17770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17771 _PC_PIPE_BUF handling.
17772
e4ecafe0
BH
177732011-04-30 Bruno Haible <bruno@clisp.org>
17774
17775 [BZ #12717]
17776 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17777 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17778 to 'int'.
17779 * inet/getnameinfo.c (getnameinfo): Likewise.
17780
125ee683
UD
177812011-04-29 Ulrich Drepper <drepper@gmail.com>
17782
17783 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17784 to groups setting in database lookup.
17785 * nss/nsswitch.conf: Add initgroups entry.
17786
b722481a
EB
177872011-04-22 Ulrich Drepper <drepper@gmail.com>
17788
17789 [BZ #12685]
17790 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17791 mode string.
17792 Patch by Eric Blake <eblake@redhat.com>.
17793
4df46dbd
L
177942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 * sunrpc/Makefile (need-export-routines): Add svc_run.
17797 (routines): Remove svc_run.
17798 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17799 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17800 * sunrpc/svc_run.c (svc_run): Likewise.
17801 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17802
e84142d2
UD
178032011-04-21 Ulrich Drepper <drepper@gmail.com>
17804
17805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17806 problem in reallocation in last patch.
17807
877175d8
UD
178082011-04-20 Ulrich Drepper <drepper@gmail.com>
17809
17810 * sunrpc/Makefile: Move inclusion of Rules.
17811
ab8eed78
UD
178122011-04-19 Ulrich Drepper <drepper@gmail.com>
17813
17814 * nss/nss_files/files-initgroups.c: New file.
17815 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17816 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17817 _nss_files_initgroups_dyn.
17818
e3d8f584
RS
178192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17820
17821 * elf/elf.h (R_ARM_IRELATIVE): Define.
17822
af190f45
UD
178232011-04-19 Ulrich Drepper <drepper@gmail.com>
17824
17825 * po/ru.po: Update from translation team.
17826
53cf59ef
UD
178272011-04-17 Ulrich Drepper <drepper@gmail.com>
17828
17829 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17830 dependencies.
17831
4c559bcd
MF
178322011-02-06 Mike Frysinger <vapier@gentoo.org>
17833
17834 [BZ #12653]
17835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17836 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17840
4420675c
AS
178412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17842
17843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17844 differing bytes.
17845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17848
75ea32ab
UD
178492011-04-17 Ulrich Drepper <drepper@gmail.com>
17850
17851 [BZ #12420]
17852 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17853 storing it.
17854 * stdlib/bug-getcontext.c: New file.
17855 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17856
27390476
AK
178572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17858
17859 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17860 instructions into .machine "z9-109".
17861 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17862 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17863
10442705
AK
178642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17865
17866 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17867 between environment variables and auxiliary vector.
17868
7b57bfe5
UD
178692011-04-16 Ulrich Drepper <drepper@gmail.com>
17870
17871 * Makefile: Add rules to build linkobj/libc.so.
17872 * include/libc-symbols.h: Define libc_hidden_nolink.
17873 * include/rpc/auth.h: Mark functions which are to be hidden.
17874 * include/rpc/auth_des.h: Likewise.
17875 * include/rpc/auth_unix.h: Likewise.
17876 * include/rpc/clnt.h: Likewise.
17877 * include/rpc/des_crypt.h: Likewise.
17878 * include/rpc/key_prot.h: Likewise.
17879 * include/rpc/pmap_clnt.h: Likewise.
17880 * include/rpc/pmap_prot.h: Likewise.
17881 * include/rpc/pmap_rmt.h: Likewise.
17882 * include/rpc/rpc_msg.h: Likewise.
17883 * include/rpc/svc.h: Likewise.
17884 * include/rpc/svc_auth.h: Likewise.
17885 * include/rpc/xdr.h: Likewise.
17886 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17887 * nss/Makefile: Likewise.
17888 * sunrpc/Makefile: Don't install headers. Build library with normal
17889 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17890 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17891 for the compat linking library. Remove use of INTDEF/INTUSE.
17892 * sunrpc/auth_none.c: Likewise.
17893 * sunrpc/auth_unix.c: Likewise.
17894 * sunrpc/authdes_prot.c: Likewise.
17895 * sunrpc/authuxprot.c: Likewise.
17896 * sunrpc/clnt_gen.c: Likewise.
17897 * sunrpc/clnt_perr.c: Likewise.
17898 * sunrpc/clnt_raw.c: Likewise.
17899 * sunrpc/clnt_simp.c: Likewise.
17900 * sunrpc/clnt_tcp.c: Likewise.
17901 * sunrpc/clnt_udp.c: Likewise.
17902 * sunrpc/clnt_unix.c: Likewise.
17903 * sunrpc/des_crypt.c: Likewise.
17904 * sunrpc/des_soft.c: Likewise.
17905 * sunrpc/get_myaddr.c: Likewise.
17906 * sunrpc/key_call.c: Likewise.
17907 * sunrpc/key_prot.c: Likewise.
17908 * sunrpc/netname.c: Likewise.
17909 * sunrpc/pm_getmaps.c: Likewise.
17910 * sunrpc/pm_getport.c: Likewise.
17911 * sunrpc/pmap_clnt.c: Likewise.
17912 * sunrpc/pmap_prot.c: Likewise.
17913 * sunrpc/pmap_prot2.c: Likewise.
17914 * sunrpc/pmap_rmt.c: Likewise.
17915 * sunrpc/publickey.c: Likewise.
17916 * sunrpc/rpc_cmsg.c: Likewise.
17917 * sunrpc/rpc_common.c: Likewise.
17918 * sunrpc/rpc_dtable.c: Likewise.
17919 * sunrpc/rpc_prot.c: Likewise.
17920 * sunrpc/rpc_thread.c: Likewise.
17921 * sunrpc/rtime.c: Likewise.
17922 * sunrpc/svc.c: Likewise.
17923 * sunrpc/svc_auth.c: Likewise.
17924 * sunrpc/svc_authux.c: Likewise.
17925 * sunrpc/svc_raw.c: Likewise.
17926 * sunrpc/svc_run.c: Likewise.
17927 * sunrpc/svc_simple.c: Likewise.
17928 * sunrpc/svc_tcp.c: Likewise.
17929 * sunrpc/svc_udp.c: Likewise.
17930 * sunrpc/svc_unix.c: Likewise.
17931 * sunrpc/svcauth_des.c: Likewise.
17932 * sunrpc/xcrypt.c: Likewise.
17933 * sunrpc/xdr.c: Likewise.
17934 * sunrpc/xdr_array.c: Likewise.
17935 * sunrpc/xdr_float.c: Likewise.
17936 * sunrpc/xdr_intXX_t.c: Likewise.
17937 * sunrpc/xdr_mem.c: Likewise.
17938 * sunrpc/xdr_rec.c: Likewise.
17939 * sunrpc/xdr_ref.c: Likewise.
17940 * sunrpc/xdr_sizeof.c: Likewise.
17941 * sunrpc/xdr_stdio.c: Likewise.
17942
e6c61494
UD
179432011-04-10 Ulrich Drepper <drepper@gmail.com>
17944
17945 [BZ #12650]
17946 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17947 * sysdeps/ia64/dl-tls.h: Likewise.
17948 * sysdeps/powerpc/dl-tls.h: Likewise.
17949 * sysdeps/s390/dl-tls.h: Likewise.
17950 * sysdeps/sh/dl-tls.h: Likewise.
17951 * sysdeps/sparc/dl-tls.h: Likewise.
17952 * sysdeps/x86_64/dl-tls.h: Likewise.
17953 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17954
34fe483e
AS
179552011-03-14 Andreas Schwab <schwab@redhat.com>
17956
17957 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17958 rpath element also skip the following colon.
17959 (expand_dynamic_string_token): Add is_path parameter and pass
17960 down to DL_DST_REQUIRED and _dl_dst_substitute.
17961 (decompose_rpath): Call expand_dynamic_string_token with
17962 non-zero is_path. Ignore empty rpaths.
17963 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17964 with zero is_path.
17965
f12a32e6
AS
179662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17967
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17969 Make cancelable.
17970
38a7d692
UD
179712011-04-09 Ulrich Drepper <drepper@gmail.com>
17972
17973 [BZ #12655]
17974 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17975 Patch by Filipe David Manana <fdmanana@apache.org>.
17976
e451d22b
AS
179772011-04-07 Andreas Schwab <schwab@redhat.com>
17978
17979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17980 Maintain aligned stack.
17981 (CHECK_RSP): Remove unused macro.
17982
dedc7c7b
UD
179832011-04-03 Ulrich Drepper <drepper@gmail.com>
17984
17985 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17986 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17987
94521213
UD
179882011-04-02 Ulrich Drepper <drepper@gmail.com>
17989
17990 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17991
8cb700c0 17992 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17993
0354e355
L
179942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17995
17996 [BZ #12518]
17997 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17998 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17999 * sysdeps/x86_64/memmove.c: New file.
18000 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18001 (memcpy): Renamed to ...
18002 (__new_memcpy): This.
18003 (memcpy): Provide GLIBC_2_14 memcpy.
18004 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18005 (memcpy): Provide GLIBC_2_2_5 memcpy.
18006
8593482f
UD
180072011-04-01 Ulrich Drepper <drepper@gmail.com>
18008
18009 [BZ #12631]
18010 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18011
81a5726b
AS
180122011-03-30 Andreas Schwab <schwab@redhat.com>
18013
18014 * misc/syncfs.c: New file.
18015 * misc/Makefile (routines): Add syncfs.
18016 * posix/unistd.h: Declare syncfs.
18017 * sysdeps/unix/syscalls.list: Add syncfs.
18018
00e5419f
AS
180192011-04-01 Andreas Schwab <schwab@redhat.com>
18020
18021 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18022 open_by_handle_at.
18023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18028 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18030
748876bf
UD
180312011-04-01 Ulrich Drepper <drepper@gmail.com>
18032
658e451d
UD
18033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18040
748876bf
UD
18041 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18042 sync_file_range.c with -fexceptions.
18043 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18044 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18045 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18046 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18047 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18050 sync_file_range as cancellation point
18051 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18052 now a wrapper around __call_sync_file_range with cancellation handling.
18053 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18054 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18055 function name to __call_sync_file_range.
18056 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18057 Add call_sync_file_range.
748876bf 18058
6e63d5e1
AS
180592011-04-01 Andreas Schwab <schwab@redhat.com>
18060
18061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18062 bits/timex.h.
6e63d5e1 18063
46998f74
UD
180642011-04-01 Ulrich Drepper <drepper@gmail.com>
18065
4c1423ed
UD
18066 * iconv/iconv.h: Fix typo in comment.
18067 * io/fcntl.h: Likewise.
18068 * libio/stdio.h: Likewise.
18069 * posix/spawn.h: Likewise.
18070 * posix/unistd.h: Likewise.
18071 * stdlib/stdlib.h: Likewise.
18072 * time/time.h: Likewise.
18073 * wcsmbs/wchar.h: Likewise.
18074
158648c0
UD
18075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18076 open_by_handle): Add.
18077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18078 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18079 Augment a few comments.
18080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18085 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18086 open_by_handle.
18087
46998f74
UD
18088 * io/fcntl.h (AT_EMPTY_PATH): Define.
18089
83fe108b
UD
180902011-03-30 Ulrich Drepper <drepper@gmail.com>
18091
18092 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18093 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18094 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18095 to...
18096 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18097 * Versions.def: Add GLIBC_2.14.
18098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18099 Export.
83fe108b 18100
bb242059
UD
181012011-03-22 Ulrich Drepper <drepper@gmail.com>
18102
18103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18104 round counter.
18105 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18106
c97a1282
L
181072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 [BZ #12597]
18110 * string/test-strncmp.c (do_page_test): New function.
18111 (check2): Likewise.
18112 (test_main): Call check2.
18113 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18114
2a115601
UD
181152011-03-20 Ulrich Drepper <drepper@gmail.com>
18116
18117 [BZ #12587]
18118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18119 Handle cache information in CPU leaf 4.
18120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18121
8126d904
UD
181222011-03-18 Ulrich Drepper <drepper@gmail.com>
18123
042c49c6 18124 [BZ #12583]
8126d904
UD
18125 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18126 character representation.
18127 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18128
ccfe366e
RA
181292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18130
18131 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18132 END(__isnan) to END(__isnanf) to match function entry point/label
18133 EALIGN(__isnanf,...).
18134
c6e13027
JJ
181352011-03-10 Jakub Jelinek <jakub@redhat.com>
18136
18137 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18138
33f85a3f
UD
181392011-03-10 Ulrich Drepper <drepper@gmail.com>
18140
028478fa
UD
18141 [BZ #12510]
18142 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18143 copy from the symbol referenced in the relocation to initialize the
18144 used variable.
18145 Patch by Piotr Bury <pbury@goahead.com>.
18146 * elf/Makefile: Add rules to build and tst-unique3.
18147 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18148 * elf/tst-unique3.cc: New file.
18149 * elf/tst-unique3.h: New file.
18150 * elf/tst-unique3lib.cc: New file.
18151 * elf/tst-unique3lib2.cc: New file.
18152
33f85a3f
UD
18153 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18154
03592fc7
MF
181552011-03-10 Mike Frysinger <vapier@gentoo.org>
18156
18157 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18158 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18159 to _start.
03592fc7 18160
6a5ee102
UD
181612011-03-06 Ulrich Drepper <drepper@gmail.com>
18162
18163 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18164 to-be-loaded object along a path to loader is ld.so.
18165
7e4ba49c
HJ
181662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18167 Ulrich Drepper <drepper@gmail.com>
18168
18169 * sysdeps/x86_64/memset.S: After aligning destination, code
18170 branches to different locations depending on the value of
18171 misalignment, when multiarch is enabled. Fix this.
18172
181732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18174
18175 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18176 Set _x86_64_preferred_memory_instruction for AMD processsors.
18177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18178 Set bit_Prefer_SSE_for_memop for AMD processors.
18179
13a804de
UD
181802011-03-04 Ulrich Drepper <drepper@gmail.com>
18181
18182 * libio/fmemopen.c (fmemopen): Optimize a bit.
18183
9d25c392
AS
181842011-03-03 Andreas Schwab <schwab@redhat.com>
18185
18186 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18187
a5543c6a
RM
181882011-03-03 Roland McGrath <roland@redhat.com>
18189
18190 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18191
012d35f7
DM
181922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18193
7e4ba49c 18194 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18195 __bzero_ultra1 instead of __memset_ultra1.
18196
4bff6e01
AS
181972011-02-23 Andreas Schwab <schwab@redhat.com>
18198 Ulrich Drepper <drepper@gmail.com>
18199
18200 [BZ #12509]
18201 * include/link.h (struct link_map): Add l_orig_initfini.
18202 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18203 returning unsuccessfully.
18204 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18205 close of a file loaded at startup, restore the original l_initfini
18206 list.
18207 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18208 list, store the pointer.
18209 * elf/Makefile ($(objpfx)noload-mem): New rule.
18210 (noload-ENV): Define.
18211 (tests): Add $(objpfx)noload-mem.
18212 * elf/noload.c: Include <memcheck.h>.
18213 (main): Call mtrace. Close all opened handles.
18214
f2092faf
AS
182152011-02-17 Andreas Schwab <schwab@redhat.com>
18216
18217 [BZ #12454]
18218 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18219 dependencies are missing.
18220
6c8a2e88
ST
182212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18222
f2092faf 18223 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18224 Hurd needs munmap.
18225 * sysdeps/mach/hurd/ifreq.h: New file.
18226
84a42118
PB
182272011-01-27 Petr Baudis <pasky@suse.cz>
18228 Ulrich Drepper <drepper@gmail.com>
18229
071f805e 18230 [BZ 12445]#
84a42118
PB
18231 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18232 to extend_alloca().
18233 * stdio-common/bug23.c: New file.
18234 * stdio-common/Makefile (tests): Add bug23.
18235
e23fe25b
AS
182362010-09-28 Andreas Schwab <schwab@redhat.com>
18237 Ulrich Drepper <drepper@gmail.com>
18238
18239 [BZ #12489]
18240 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18241 before performing relro protection. At old place add assertion
18242 to make sure nothing changed.
18243
d3f02e10
NS
182442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18245 Glauber de Oliveira Costa <glommer@gmail.com>
18246
18247 * elf/elf.h: Add new ARM TLS relocs.
18248
d55fd7a5
RA
182492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18250
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18252 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18253 cast from r3.
18254 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18255 'tests' variable.
18256 * sysdeps/wordsize-64/tst-writev.c: New file.
18257
2206397e
RA
182582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18259
18260 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18261 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18262 insns in _dl_start to prevent a TOC reference before relocs are
18263 resolved.
18264
e9433893
UD
182652011-02-15 Ulrich Drepper <drepper@gmail.com>
18266
18267 [BZ #12469]
18268 * Makeconfig: Remove RANLIB definition.
18269 * Makerules: Don't use RANLIB.
18270 * aclocal.m4: Remove ranlib test.
18271 * configure.in: No need to check for ranlib.
18272 * elf/rtld-Rules: Don't use RANLIB.
18273
f75286c6
ST
182742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18275
8e31c82d
ST
18276 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18277 protection macro.
18278 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18279 inclusion protection macro.
18280
f75286c6
ST
18281 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18282 SIGRTMIN and SIGRTMAX and print information in that case only when
18283 SIGRTMIN is defined.
18284
c1d0e639
JJ
182852011-02-11 Jakub Jelinek <jakub@redhat.com>
18286
18287 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18288 arginfo fn returning -1.
18289
18290 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18291 and thousands string is zero terminated.
18292
edf9294e
AS
182932011-02-03 Andreas Schwab <schwab@redhat.com>
18294
18295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18296 sysdeps/unix/sysv/linux/bits/socket.h.
18297
2b7e92df
ST
182982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18299
edf9294e
AS
18300 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18301 (__CPU_COUNT): Remove old macros.
18302 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18303 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18304 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18305 (__sched_cpualloc, __sched_cpufree): Add declarations.
18306
a4c7ea7b
UD
183072011-02-05 Ulrich Drepper <drepper@gmail.com>
18308
18309 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18310 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18311 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18312 (readdhstai): Return value of addhstaiX call.
18313 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18314 (addgrbyX): Return value returned by cache_addgr.
18315 (readdgrbyname): Return value returned by addgrbyX.
18316 (readdgrbygid): Likewise.
18317 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18318 (addpwbyX): Return value returned by cache_addpw.
18319 (readdpwbyname): Return value returned by addhstbyX.
18320 (readdpwbyuid): Likewise.
18321 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18322 (addservbyX): Return value returned by cache_addserv.
18323 (readdservbyname): Return value returned by addservbyX:
18324 (readdservbyport): Likewise.
18325 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18326 (addhstbyX): Return value returned by cache_addhst.
18327 (readdhstbyname): Return value returned by addhstbyX.
18328 (readdhstbyaddr): Likewise.
18329 (readdhstbynamev6): Likewise.
18330 (readdhstbyaddrv6): Likewise.
18331 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18332 (readdinitgroups): Return value returned by addinitgroupsX.
18333 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18334 (prune_cache): Keep track of timeout value of re-added entries.
18335 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18336 * nscd/nscd.h: Adjust prototypes of readd* functions.
18337
a0bf67cc
RM
183382011-02-04 Roland McGrath <roland@redhat.com>
18339
18340 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18341 (nis_stats): Likewise.
18342 * nis/nis_modify.c (nis_modify): Likewise.
18343 * nis/nis_remove.c (nis_remove): Likewise.
18344 * nis/nis_add.c (nis_add): Likewise.
18345
18346 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18347
18348 * posix/fnmatch_loop.c: Add some consts.
18349
18350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18351
435b95eb
L
183522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 [BZ #12460]
18355 * config.make.in (config-cflags-novzeroupper): Define.
18356 * configure.in: Substitute libc_cv_cc_novzeroupper.
18357 * elf/Makefile (AVX-CFLAGS): Define.
18358 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18359 (CFLAGS-tst-auditmod4a.c): Likewise.
18360 (CFLAGS-tst-auditmod4b.c): Likewise.
18361 (CFLAGS-tst-auditmod6b.c): Likewise.
18362 (CFLAGS-tst-auditmod6c.c): Likewise.
18363 (CFLAGS-tst-auditmod7b.c): Likewise.
18364 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18365
8517b15e
UD
183662011-02-02 Ulrich Drepper <drepper@gmail.com>
18367
18368 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18369 function to the callback.
18370 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18371
10a656fe
AS
183722011-02-02 Andreas Schwab <schwab@redhat.com>
18373
18374 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18375 of errno.
18376
968dad0a
UD
183772011-01-19 Ulrich Drepper <drepper@gmail.com>
18378
9f94d2ea 18379 [BZ #11724]
968dad0a
UD
18380 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18381 of constructors.
18382 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18383 of destructors.
18384 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18385
18386 [BZ #11724]
18387 * elf/Makefile: Add rules to build and run new test.
18388 * elf/tst-initorder.c: New file.
18389 * elf/tst-initorder.exp: New file.
18390 * elf/tst-initordera1.c: New file.
18391 * elf/tst-initordera2.c: New file.
18392 * elf/tst-initordera3.c: New file.
18393 * elf/tst-initordera4.c: New file.
18394 * elf/tst-initorderb1.c: New file.
18395 * elf/tst-initorderb2.c: New file.
18396 * elf/tst-order-a1.c: New file.
18397 * elf/tst-order-a2.c: New file.
18398 * elf/tst-order-a3.c: New file.
18399 * elf/tst-order-a4.c: New file.
18400 * elf/tst-order-b1.c: New file.
18401 * elf/tst-order-b2.c: New file.
18402 * elf/tst-order-main.c: New file.
18403 New test case by George Gensure <werkt0@gmail.com>.
18404
86e92359
UD
184052010-10-01 Andreas Schwab <schwab@redhat.com>
18406
18407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18408 decoding ACE if AI_CANONIDN.
18409
5d5732b0
UD
184102011-01-18 Ulrich Drepper <drepper@gmail.com>
18411
18412 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18413
a77e8cbc
UD
184142011-01-17 Ulrich Drepper <drepper@gmail.com>
18415
6392473f
UD
18416 * version.h (RELEASE): Bump for 2.13 release.
18417 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18418
620a0529
UD
18419 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18420
18ba70a5
UD
18421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18422 MADV_NOHUGEPAGE.
32465c3e
UD
18423 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18426 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18429
c0dafcf1
UD
18430 * posix/getconf.c: Update copyright year.
18431 * catgets/gencat.c: Likewise.
18432 * csu/version.c: Likewise.
18433 * debug/catchsegv.sh: Likewise.
18434 * debug/xtrace.sh: Likewise.
18435 * elf/ldconfig.c: Likewise.
18436 * elf/ldd.bash.in: Likewise.
18437 * elf/sprof.c (print_version): Likewise.
18438 * iconv/iconv_prog.c: Likewise.
18439 * iconv/iconvconfig.c: Likewise.
18440 * locale/programs/locale.c: Likewise.
18441 * locale/programs/localedef.c: Likewise.
18442 * malloc/memusage.sh: Likewise.
18443 * malloc/mtrace.pl: Likewise.
18444 * nscd/nscd.c (print_version): Likewise.
18445 * nss/getent.c: Likewise.
18446
a77e8cbc
UD
18447 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18448 PF_CAIF, and PF_ALG.
18449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18450
77e8bddf
AS
184512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18452
1f20b93a
AS
18453 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18454 (modules-names): Use them.
18455 (ifunc-test-modules, ifunc-pie-tests): Define.
18456 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18457 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18458 (test-extras): Likewise.
18459 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18460 $(compile-command.c).
18461 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18462 (all-built-dso): Define.
18463 (check-textrel.out, check-execstack.out): Depend on it.
18464
77e8bddf
AS
18465 * configure.in: Don't override --enable-multi-arch.
18466
bc425b33
UD
184672011-01-15 Ulrich Drepper <drepper@gmail.com>
18468
18469 [BZ #6812]
18470 * nscd/hstcache.c (tryagain): Define.
18471 (cache_addhst): Return tryagain not notfound for temporary errors.
18472 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18473 failed.
18474
794c3ad3
UD
184752011-01-14 Ulrich Drepper <drepper@gmail.com>
18476
70181fdd
UD
18477 [BZ #10563]
18478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18479 to make the syscall.
18480 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18481
794c3ad3
UD
18482 [BZ #12378]
18483 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18484 and fall back to matching as normal character if the string ends before
18485 the matching ']' is found. This is what POSIX requires.
18486 * posix/testfnm.c: Adjust test result.
18487 * posix/globtest.sh: Adjust test result. Add new test.
18488 * posix/tst-fnmatch.input: Likewise.
18489 * posix/tst-fnmatch2.c: Add new test.
18490
68dc9497
AS
184912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18492
18493 * elf/Makefile (check-execstack): Revert last change. Depend on
18494 check-execstack.h.
18495 (check-execstack.h): New target.
18496 (generated): Add check-execstack.h.
18497 * elf/check-execstack.c: Include "check-execstack.h".
18498 (main): Revert last change.
18499 (handle_file): Return zero if GNU_STACK is absent and
18500 DEFAULT_STACK_PERMS doesn't include PF_X.
18501
451f001b
UD
185022011-01-13 Ulrich Drepper <drepper@gmail.com>
18503
cfa28e56
UD
18504 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18505 in child fails because the descriptor is already closed.
8cf8ce17
UD
18506 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18507 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18509
1086d70d
UD
18510 [BZ #12397]
18511 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18512 syscall.
18513
451f001b
UD
18514 [BZ #10484]
18515 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18516 temporary buffer used to handle multi lookups locally.
a85b5cb4 18517 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18518
08769175
UD
185192011-01-12 Ulrich Drepper <drepper@gmail.com>
18520
18521 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18522 loader is ld.so.
18523
5e49c52e
UD
185242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18525
18526 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18527 alignment for SSE2.
18528
60522a5f
UD
185292011-01-12 Ulrich Drepper <drepper@gmail.com>
18530
18531 [BZ #12394]
18532 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18533 characters. When rounding increased number of integer digits recompute
18534 number of groups.
18535 * stdio-common/tst-grouping.c: New file.
18536 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18537
f257bbd7
UD
185382011-01-09 Ulrich Drepper <drepper@gmail.com>
18539
18540 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18541 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18542
18543 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18544 void.
18545 * bits/select.h: Likewise.
18546
fa9c15cb
UD
185472011-01-08 Ulrich Drepper <drepper@gmail.com>
18548
18549 * po/ja.po: Update from translation team.
18550
16c2895f
DM
185512011-01-04 David S. Miller <davem@sunset.davemloft.net>
18552
18553 [BZ #11155]
18554 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18555 implementation just like for lxstat, fxstatat, et al.
18556
2543fef2
JM
185572010-12-27 Jim Meyering <meyering@redhat.com>
18558
18559 [BZ #12348]
18560 * posix/regexec.c (build_trtable): Return failure indication upon
18561 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18562
98727dbe
UD
185632010-12-25 Ulrich Drepper <drepper@gmail.com>
18564
5bd6dc5c
UD
18565 [BZ #12201]
18566 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18567 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18570
97983464
UD
18571 [BZ #12207]
18572 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18573
98727dbe
UD
18574 [BZ #12204]
18575 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18576 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18577
4a531bb0
L
185782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18581 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18582 script has SORT_BY_INIT_PRIORITY.
18583 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18584 NO_CTORS_DTORS_SECTIONS is defined.
18585 * elf/soinit.c: Likewise.
18586 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18587 NO_CTORS_DTORS_SECTIONS is defined.
18588 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18589 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18590 * sysdeps/sh/init-first.c: Likewise.
18591 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18592
07eb4b71
UD
185932010-12-24 Ulrich Drepper <drepper@gmail.com>
18594
18595 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18596 always use the slow path.
18597
30950a5f
RA
185982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18599
18600 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18601 similar rule which adds the sysdep directories to the header search in
18602 order to pick up the correct platform stackinfo.h.
18603 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18604 perform test if it is, otherwise return successfully without testing.
18605 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18606 DEFAULT_STACK_PERMS define in stackinfo.h.
18607 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18608 defined in stackinfo.h.
18609 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18610 DEFAULT_STACK_PERMS defined in stackinfo.h.
18611 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18612 * sysdeps/ia64/stackinfo.h: Likewise.
18613 * sysdeps/s390/stackinfo.h: Likewise.
18614 * sysdeps/sh/stackinfo.h: Likewise.
18615 * sysdeps/sparc/stackinfo.h: Likewise.
18616 * sysdeps/x86_64/stackinfo.h: Likewise.
18617 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18618 PF_X for powerpc64. Retain PF_X for powerpc32.
18619
db753e2c
UD
186202010-12-19 Ulrich Drepper <drepper@gmail.com>
18621
14b697f7
UD
18622 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18623 accurately.
db753e2c
UD
18624 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18625 GETDENTS_64BIT_ALIGNED.
18626
28300719
UD
186272010-12-14 Ulrich Drepper <dreper@gmail.com>
18628
14b697f7 18629 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18630
4f197237
AS
186312010-12-10 Andreas Schwab <schwab@redhat.com>
18632
dbb0472f
AS
18633 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18634 _GNU_SOURCE.
18635
4f197237
AS
18636 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18637 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18638 Remove __restrict.
18639 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18640 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18641
fb88ac72
UD
186422010-12-09 Ulrich Drepper <drepper@gmail.com>
18643
18644 [BZ #11655]
18645 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18646 are initialized.
18647
42acbb92
JJ
186482010-12-09 Jakub Jelinek <jakub@redhat.com>
18649
18650 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18651
c038d98d
UD
186522010-12-03 Ulrich Drepper <drepper@gmail.com>
18653
18654 * po/it.po: Update from translation team.
18655
3a4a2499
L
186562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18657
18658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18659 unused codes.
18660
1e24cf6e
UD
186612010-11-30 Ulrich Drepper <drepper@gmail.com>
18662
18663 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18664
a7690819
AS
186652010-11-24 Andreas Schwab <schwab@redhat.com>
18666
18667 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18668 specially.
18669 (gaih_getanswer_slice): Likewise.
18670
3bf8d1b1
JJ
186712010-10-20 Jakub Jelinek <jakub@redhat.com>
18672
18673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18674
6db52fbb
PB
186752010-05-31 Petr Baudis <pasky@suse.cz>
18676
18677 [BZ #11149]
18678 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18679 silently even in the chroot mode.
18680
eaca7569
UD
186812010-11-22 Ulrich Drepper <drepper@gmail.com>
18682
18683 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18684 last patch a bit. Pretty printing
18685
3056dcdb
UD
186862010-05-31 Petr Baudis <pasky@suse.cz>
18687
18688 [BZ #10085]
18689 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18690 initialization of skip_initgroups_dyn.
18691
cf7c9078
UD
186922010-11-19 Ulrich Drepper <drepper@gmail.com>
18693
18694 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18696
a1fb5e3e
UD
186972010-11-16 Ulrich Drepper <drepper@gmail.com>
18698
18699 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18700
3540d66b
AS
187012010-11-11 Andreas Schwab <schwab@redhat.com>
18702
18703 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18704 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18705 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18706 ($(objpfx)tst-fnmatch-mem): New rule.
18707 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18708 * posix/tst-fnmatch.c (main): Call mtrace.
18709
13b69574
L
187102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18713 Support Intel processor model 6 and model 0x2c.
18714
da93d214
LM
187152010-11-10 Luis Machado <luisgpm@br.ibm.com>
18716
18717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18718 signed comparison.
18719
8ca52c6e
L
187202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18721
18722 [BZ #12205]
18723 * string/test-strncasecmp.c (check_result): New function.
18724 (do_one_test): Use it.
18725 (check1): New function.
18726 (test_main): Use it.
18727 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18728 Support strcasecmp and strncasecmp.
18729
69da074d
UD
187302010-11-08 Ulrich Drepper <drepper@gmail.com>
18731
18732 [BZ #12194]
18733 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18735
ff02d528
L
187362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18737
18738 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18739 IFUNC support.
18740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18741 memset-x86-64.
18742 * sysdeps/x86_64/multiarch/bzero.S: New file.
18743 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18744 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18745 * sysdeps/x86_64/multiarch/memset.S: New file.
18746 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18748 Set bit_Prefer_SSE_for_memop for Intel processors.
18749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18750 Define.
18751 (index_Prefer_SSE_for_memop): Define.
18752 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18753
344d0b54
LM
187542010-11-04 Luis Machado <luisgpm@br.ibm.com>
18755
18756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18757 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18758
c0dde15b
UD
187592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18760
18761 [BZ #12191]
18762 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18763 (__x86_64_raw_data_cache_size_half): Likewise.
18764 (__x86_64_raw_shared_cache_size): Likewise.
18765 (__x86_64_raw_shared_cache_size_half): Likewise.
18766
18767 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18768 (__x86_64_raw_data_cache_size_half): Likewise.
18769 (__x86_64_raw_shared_cache_size): Likewise.
18770 (__x86_64_raw_shared_cache_size_half): Likewise.
18771 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18772 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18773 and __x86_64_raw_shared_cache_size_half. Round
18774 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18775 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18776 to multiple of 256 bytes.
18777
0e516e0e
MS
187782010-11-03 Ulrich Drepper <drepper@gmail.com>
18779
18780 [BZ #12167]
18781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18782 of inacessible symlinks. Verify result of symlink before returning it.
18783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18784 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18785
0e012e87
ER
187862010-10-28 Erich Ritz <erichritz@gmail.com>
18787
18788 * math/math.h (isinf): Fix typo in comment.
18789
de0ff7bc
UD
187902010-11-01 Ulrich Drepper <drepper@gmail.com>
18791
18792 * po/da.po: Update from translation team.
18793
fa41c84d
UD
187942010-10-26 Ulrich Drepper <drepper@gmail.com>
18795
18796 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18797 is added to the list.
18798
f0967738
AK
187992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18800 Ulrich Drepper <drepper@gmail.com>
18801
18802 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18803 the global list here. Move code to...
18804 (_dl_add_to_namespace_list): ...here. New function.
18805 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18806 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18807 * elf/dl-load.c (lose): Don't remove the element from the list.
18808 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18809 (_dl_map_object): Likewise.
18810
188112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18812
18813 [BZ #12159]
18814 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18815 into all bytes of SSE register.
18816 Patch by Richard Li <richardpku@gmail.com>.
18817
f0967738 188182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18819
18820 [BZ #12140]
18821 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18822 perturbing.
18823
d0b9e94f
MB
188242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18825
18826 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18827 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18829 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18831 submachine.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18833
8e9f92e9
AS
188342010-10-22 Andreas Schwab <schwab@redhat.com>
18835
18836 * include/dlfcn.h (__RTLD_SECURE): Define.
18837 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18838 mode & __RTLD_SECURE instead.
18839 (open_path): Rename preloaded parameter to secure.
18840 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18841 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18842 * elf/dl-deps.c (openaux): Likewise.
18843 * elf/rtld.c (struct map_args): Remove is_preloaded.
18844 (map_doit): Don't use it.
18845 (dl_main): Likewise.
18846 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18847 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18848
bc96fbda
AS
188492010-09-09 Andreas Schwab <schwab@redhat.com>
18850
18851 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18852 (sysd-rules-targets): Remove duplicates.
18853 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18854 rtld-%.$o dependency.
18855
22cd1c9b
AS
188562010-10-18 Andreas Schwab <schwab@redhat.com>
18857
18858 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18859 _dl_map_object do it.
18860
18edac48
UD
188612010-10-19 Ulrich Drepper <drepper@gmail.com>
18862
18863 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18864 fast fma builtins, define the macros in the C99 standard.
18865 (FP_FAST_FMAF): Likewise.
18866 (FP_FAST_FMAL): Likewise.
18867 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18868
18869 * bits/mathdef.h: Update copyright year.
18870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18871
d2050124
MM
188722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18873
18874 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18875 builtins, define the macros in the C99 standard.
18876 (FP_FAST_FMAF): Likewise.
18877 (FP_FAST_FMAL): Likewise.
18878 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18879 multiply/add.
18880 (FP_FAST_FMAF): Likewise.
18881
475facd1
JJ
188822010-10-15 Jakub Jelinek <jakub@redhat.com>
18883
18884 [BZ #3268]
18885 * math/libm-test.inc (fma_test): Some new testcases.
18886 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18888 y and infinite z. Do multiplication by C already in long double.
18889 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18891 y and infinite z. Do bitwise or of inexact bit into u.d.
18892 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18893 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18894 * sysdeps/i386/fpu/s_fma.S: Removed.
18895 * sysdeps/i386/fpu/s_fmal.S: Removed.
18896
7c08a05c
JJ
188972010-10-16 Jakub Jelinek <jakub@redhat.com>
18898
18899 [BZ #3268]
18900 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18902 computation is not scheduled after fetestexcept. Fix value
18903 of minimum denormal long double.
18904
f3f7372d
JJ
189052010-10-14 Jakub Jelinek <jakub@redhat.com>
18906
18907 [BZ #3268]
18908 * math/libm-test.inc (fma_test): Add some more tests.
18909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18910 correctly.
18911
14d43591
AS
189122010-10-15 Andreas Schwab <schwab@redhat.com>
18913
18914 * scripts/data/localplt-s390-linux-gnu.data: New file.
18915 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18916
5e908464
JJ
189172010-10-13 Jakub Jelinek <jakub@redhat.com>
18918
18919 [BZ #3268]
18920 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18921 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18922 instead of dbl-64.
18923 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18924 inlines.
18925 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18927 if one of x and y is very large and the other is subnormal.
18928 * sysdeps/s390/fpu/s_fmaf.c: New file.
18929 * sysdeps/s390/fpu/s_fma.c: New file.
18930 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18931 * sysdeps/powerpc/fpu/s_fma.S: New file.
18932 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18933 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18934 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18935
189362010-10-12 Jakub Jelinek <jakub@redhat.com>
18937
18938 [BZ #3268]
18939 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18940 fma tests.
18941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18942 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18943 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18944 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18945 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18946 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18948
b833d51f
UD
189492010-10-12 Ulrich Drepper <drepper@redhat.com>
18950
18951 [BZ #12078]
18952 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18953 * posix/bug-regex31.input: Add test case.
18954
1751705d
UD
189552010-10-11 Ulrich Drepper <drepper@gmail.com>
18956
e9b9cbf5
UD
18957 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18958 * posix/bug-regex31.input: New file.
18959
18960 [BZ #12078]
18961 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18962 (parse_sub_exp): Fix last change, use postorder.
18963
ef06edbe
UD
18964 * posix/bug-regex31.c: New file.
18965 * posix/Makefile: Add rules to build and run bug-regex31.
18966
a129c80d
UD
18967 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18968
18969 [BZ #12078]
18970 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18971
b76b818e
UD
18972 [BZ #12108]
18973 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18974 to have entries in sys_siglist.
18975
1751705d
UD
18976 [BZ #12093]
18977 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18978 be NULL.
18979
9ff8d36f
JJ
189802010-10-07 Jakub Jelinek <jakub@redhat.com>
18981
18982 [BZ #3268]
18983 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18984 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18985 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18986 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18987 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18988 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18989 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18990 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18991 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18992 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18993 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18994 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18995 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18996 * math/ftestexcept.c (fetestexcept): Likewise.
18997 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18998 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18999 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19001 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19002 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19003 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19004
af325969
UD
190052010-10-11 Ulrich Drepper <drepper@gmail.com>
19006
c579b202 19007 [BZ #12107]
af325969
UD
19008 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19009 newline.
19010
67a67b95
UD
190112010-10-06 Ulrich Drepper <drepper@gmail.com>
19012
19013 * string/bug-strstr1.c: New file.
19014 * string/Makefile: Add rules to build and run bug-strstr1.
19015
5fb308bc
EB
190162010-10-05 Eric Blake <eblake@redhat.com>
19017
19018 [BZ #12092]
19019 * string/str-two-way.h (two_way_long_needle): Always clear memory
19020 when skipping input due to the shift table.
19021
45db99c7
UD
190222010-10-03 Ulrich Drepper <drepper@gmail.com>
19023
3b111893
UD
19024 [BZ #12005]
19025 * malloc/mcheck.c: Handle large requests.
19026
45db99c7
UD
19027 [BZ #12077]
19028 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19029 for strncmp and strncasecmp.
19030 * string/stratcliff.c: Add tests for strcmp and strncmp.
19031 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19032
cf7a1eb8
NI
190332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19034
19035 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19036 __set_fpscr.
19037
6484ba5e
AJ
190382010-09-30 Andreas Jaeger <aj@suse.de>
19039
19040 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19041 (CGROUP_SUPER_MAGIC): Define.
19042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19043 Handle btrfs and cgroup file systems.
19044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19045 Likewise.
19046
91c42559
LM
190472010-09-27 Luis Machado <luisgpm@br.ibm.com>
19048
19049 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19050 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19051
87a97932
AK
190522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19053
19054 [BZ #12067]
19055 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19056 trying to locate the ELF header.
19057
c21cc9bc
AS
190582010-09-27 Andreas Schwab <schwab@redhat.com>
19059
19060 [BZ #11611]
19061 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19062 Mask out sign-bit copies when constructing f_fsid.
19063
315970f6
PB
190642010-09-24 Petr Baudis <pasky@suse.cz>
19065
19066 * debug/stack_chk_fail_local.c: Add missing licence exception.
19067 * debug/warning-nop.c: Likewise.
19068
1ac7a2c7
JM
190692010-09-15 Joseph Myers <joseph@codesourcery.com>
19070
19071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19072 implementing getdents64 using getdents syscall, set d_type if
19073 __ASSUME_GETDENTS32_D_TYPE.
19074
56801c50
AS
190752010-09-16 Andreas Schwab <schwab@redhat.com>
19076
19077 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19078 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19079
dda51327
UD
190802010-09-21 Ulrich Drepper <drepper@redhat.com>
19081
19082 [BZ #12037]
19083 * posix/unistd.h: Undo change of feature selection for ftruncate from
19084 2010-01-11.
19085
8ffcee4a
UD
190862010-09-20 Ulrich Drepper <drepper@redhat.com>
19087
a545ecd9 19088 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19089 detection.
19090
e24f0a8b
AS
190912010-09-20 Andreas Schwab <schwab@redhat.com>
19092
19093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19094 fanotify_mark.
19095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19096
7291c56f
AS
190972010-09-14 Andreas Schwab <schwab@redhat.com>
19098
19099 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19100 variables after CHECK_SP call.
19101 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19102
bc5fb037
AS
191032010-09-13 Andreas Schwab <schwab@redhat.com>
19104 Ulrich Drepper <drepper@redhat.com>
19105
19106 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19107 re-relocationg ld.so.
19108 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19109 _dl_init_paths call.
19110 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19111 here anymore.
19112
e66e7419
UD
191132010-09-14 Ulrich Drepper <drepper@redhat.com>
19114
19115 * resolv/res_init.c (__res_vinit): Count the default server we added.
19116
c044aa75
CLT
191172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19118 Ulrich Drepper <drepper@redhat.com>
19119
19120 [BZ #11968]
19121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19122 (____longjmp_chk): Use %ebx for saving value across system call.
19123 Add unwind info.
19124
32cf4069
AS
191252010-09-06 Andreas Schwab <schwab@redhat.com>
19126
19127 * manual/Makefile: Don't mix pattern rules with normal rules.
19128
817328ee
AS
191292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19130
19131 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19132 operation.
19133 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19134 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19135 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19136 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19138 Likewise.
19139
29fddf61
UD
191402010-09-04 Ulrich Drepper <drepper@redhat.com>
19141
19142 [BZ #11979]
19143 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19144 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19145
0959ffc9
UD
191462010-09-02 Ulrich Drepper <drepper@redhat.com>
19147
19148 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19149 * sysdeps/x86_64/addmul_1.S: Likewise.
19150 * sysdeps/x86_64/lshift.S: Likewise.
19151 * sysdeps/x86_64/mul_1.S: Likewise.
19152 * sysdeps/x86_64/rshift.S: Likewise.
19153 * sysdeps/x86_64/sub_n.S: Likewise.
19154 * sysdeps/x86_64/submul_1.S: Likewise.
19155
ece29840
ST
191562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19157
0959ffc9
UD
19158 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19159 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19160 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19161 * bits/sched.h [__need_schedparam]
ece29840 19162 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19163 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19164 (__defined_schedparam): Define to 1.
ece29840
ST
19165 (__sched_param): New structure, identical to sched_param.
19166 (__need_schedparam): Undefine.
19167
e53a31fe
MF
191682010-08-31 Mike Frysinger <vapier@gentoo.org>
19169
fdc0c10d
MF
19170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19171 (epoll_create1): Declare.
19172
e53a31fe
MF
19173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19174
a726d796
AS
191752010-08-31 Andreas Schwab <schwab@redhat.com>
19176
19177 [BZ #7066]
19178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19179 shifting retval into place.
19180
2f3e3dc7
UD
191812010-09-01 Ulrich Drepper <drepper@redhat.com>
19182
f2933da9
UD
19183 * nis/rpcsvc/nis.h: Update copyright notice.
19184 * nis/rpcsvc/nis.x: Likewise.
19185 * nis/rpcsvc/nis_callback.h: Likewise.
19186 * nis/rpcsvc/nis_callback.x: Likewise.
19187 * nis/rpcsvc/nis_object.x: Likewise.
19188 * nis/rpcsvc/nis_tags.h: Likewise.
19189 * nis/rpcsvc/yp.h: Likewise.
19190 * nis/rpcsvc/yp.x: Likewise.
19191 * nis/rpcsvc/ypupd.h: Likewise.
19192 * nis/yp_xdr.c: Likewise.
19193 * nis/ypupdate_xdr.c: Likewise.
19194
2f3e3dc7
UD
19195 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19196 mainly the body of pmap_getport. Add parameters to specify timeouts.
19197 (pmap_getport): Use __libc_rpc_getport.
19198 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19199 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19200 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19201
f3dcc2f9
AS
192022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19203
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19205 fanotify_mark.
19206
6d34eb5b
RM
192072010-08-27 Roland McGrath <roland@redhat.com>
19208
19209 * sysdeps/i386/i686/multiarch/Makefile
19210 (CFLAGS-varshift.c): New variable.
19211
9ea3de11
UD
192122010-08-27 Ulrich Drepper <drepper@redhat.com>
19213
c96d23fc
UD
19214 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19215 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19216
9ea3de11
UD
19217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19218
19219 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19220
623aac7f
L
192212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19222
19223 * sysdeps/x86_64/strlen.S: Unroll the loop.
19224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19225 strlen-sse2 strlen-sse2-bsf.
19226 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19227 __strlen_no_bsf if bit_Slow_BSF is set.
19228 (__strlen_sse42): Removed.
19229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19230 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19231
8b2b7715
RM
192322010-08-25 Roland McGrath <roland@redhat.com>
19233
19234 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19235 * sysdeps/x86_64/multiarch/varshift.c: New file.
19236 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19237 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19238 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19239 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19240
e73015f2
L
192412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19242
19243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19244 strlen-sse2 strlen-sse2-bsf.
19245 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19246 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19247 (__strlen_sse2): Removed.
19248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19251 bit_Slow_BSF for Atom.
19252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19253 (index_Slow_BSF): Define.
19254 (HAS_SLOW_BSF): Define.
19255
df24a73e
UD
192562010-08-25 Ulrich Drepper <drepper@redhat.com>
19257
19258 [BZ #10851]
19259 * resolv/res_init.c (__res_vinit): When no server address at all
19260 is given default to loopback.
19261
f2ac4868
RM
192622010-08-24 Roland McGrath <roland@redhat.com>
19263
09055553
RM
19264 * configure.in: Remove config-name.h generation.
19265 * configure: Regenerated.
19266 * config-name.in: File removed.
19267 * scripts/config-uname.sh: New file.
19268 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19269 ($(objdir)config-name.h): New target.
19270
f2ac4868
RM
19271 * sunrpc/rpc_parse.h: Avoid nested comment.
19272
73f27d5e
RH
192732010-08-24 Richard Henderson <rth@redhat.com>
19274 Ulrich Drepper <drepper@redhat.com>
19275 H.J. Lu <hongjiu.lu@intel.com>
19276
19277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19279 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19280 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19281 _mm_alignr_epi8 with _mm_loadu_si128.
19282 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19283 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19284 (__m128i_shift_right): Removed.
19285 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19286 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19287 * sysdeps/x86_64/multiarch/varshift.h: New file.
19288 * sysdeps/x86_64/multiarch/varshift.S: New file.
19289
84b9230c
MF
192902010-08-21 Mike Frysinger <vapier@gentoo.org>
19291
19292 * configure.in: Move assembler checks to before sysdep dir checking.
19293
9bbd0ddc
PB
192942010-08-20 Petr Baudis <pasky@suse.cz>
19295
19296 * LICENSES: Sync the sunrpc license.
19297
9da4bb31
UD
192982010-08-19 Ulrich Drepper <drepper@redhat.com>
19299
a7ab6ec8
UD
19300 * sunrpc/auth_des.c: Update copyright notice once again.
19301 * sunrpc/auth_none.c: Likewise.
19302 * sunrpc/auth_unix.c: Likewise.
19303 * sunrpc/authdes_prot.c: Likewise.
19304 * sunrpc/authuxprot.c: Likewise.
19305 * sunrpc/bindrsvprt.c: Likewise.
19306 * sunrpc/clnt_gen.c: Likewise.
19307 * sunrpc/clnt_perr.c: Likewise.
19308 * sunrpc/clnt_raw.c: Likewise.
19309 * sunrpc/clnt_simp.c: Likewise.
19310 * sunrpc/clnt_tcp.c: Likewise.
19311 * sunrpc/clnt_udp.c: Likewise.
19312 * sunrpc/clnt_unix.c: Likewise.
19313 * sunrpc/des_crypt.c: Likewise.
19314 * sunrpc/des_soft.c: Likewise.
19315 * sunrpc/get_myaddr.c: Likewise.
19316 * sunrpc/getrpcport.c: Likewise.
19317 * sunrpc/key_call.c: Likewise.
19318 * sunrpc/key_prot.c: Likewise.
19319 * sunrpc/openchild.c: Likewise.
19320 * sunrpc/pm_getmaps.c: Likewise.
19321 * sunrpc/pm_getport.c: Likewise.
19322 * sunrpc/pmap_clnt.c: Likewise.
19323 * sunrpc/pmap_prot.c: Likewise.
19324 * sunrpc/pmap_prot2.c: Likewise.
19325 * sunrpc/pmap_rmt.c: Likewise.
19326 * sunrpc/rpc/auth.h: Likewise.
19327 * sunrpc/rpc/auth_unix.h: Likewise.
19328 * sunrpc/rpc/clnt.h: Likewise.
19329 * sunrpc/rpc/des_crypt.h: Likewise.
19330 * sunrpc/rpc/key_prot.h: Likewise.
19331 * sunrpc/rpc/netdb.h: Likewise.
19332 * sunrpc/rpc/pmap_clnt.h: Likewise.
19333 * sunrpc/rpc/pmap_prot.h: Likewise.
19334 * sunrpc/rpc/pmap_rmt.h: Likewise.
19335 * sunrpc/rpc/rpc.h: Likewise.
19336 * sunrpc/rpc/rpc_des.h: Likewise.
19337 * sunrpc/rpc/rpc_msg.h: Likewise.
19338 * sunrpc/rpc/svc.h: Likewise.
19339 * sunrpc/rpc/svc_auth.h: Likewise.
19340 * sunrpc/rpc/types.h: Likewise.
19341 * sunrpc/rpc/xdr.h: Likewise.
19342 * sunrpc/rpc_clntout.c: Likewise.
19343 * sunrpc/rpc_cmsg.c: Likewise.
19344 * sunrpc/rpc_common.c: Likewise.
19345 * sunrpc/rpc_cout.c: Likewise.
19346 * sunrpc/rpc_dtable.c: Likewise.
19347 * sunrpc/rpc_hout.c: Likewise.
19348 * sunrpc/rpc_main.c: Likewise.
19349 * sunrpc/rpc_parse.c: Likewise.
19350 * sunrpc/rpc_parse.h: Likewise.
19351 * sunrpc/rpc_prot.c: Likewise.
19352 * sunrpc/rpc_sample.c: Likewise.
19353 * sunrpc/rpc_scan.c: Likewise.
19354 * sunrpc/rpc_scan.h: Likewise.
19355 * sunrpc/rpc_svcout.c: Likewise.
19356 * sunrpc/rpc_tblout.c: Likewise.
19357 * sunrpc/rpc_util.c: Likewise.
19358 * sunrpc/rpc_util.h: Likewise.
19359 * sunrpc/rpcinfo.c: Likewise.
19360 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19361 * sunrpc/rpcsvc/key_prot.x: Likewise.
19362 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19363 * sunrpc/rpcsvc/mount.x: Likewise.
19364 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19365 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19366 * sunrpc/rpcsvc/rex.x: Likewise.
19367 * sunrpc/rpcsvc/rstat.x: Likewise.
19368 * sunrpc/rpcsvc/rusers.x: Likewise.
19369 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19370 * sunrpc/rpcsvc/spray.x: Likewise.
19371 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19372 * sunrpc/rtime.c: Likewise.
19373 * sunrpc/svc.c: Likewise.
19374 * sunrpc/svc_auth.c: Likewise.
19375 * sunrpc/svc_authux.c: Likewise.
19376 * sunrpc/svc_raw.c: Likewise.
19377 * sunrpc/svc_run.c: Likewise.
19378 * sunrpc/svc_simple.c: Likewise.
19379 * sunrpc/svc_tcp.c: Likewise.
19380 * sunrpc/svc_udp.c: Likewise.
19381 * sunrpc/svc_unix.c: Likewise.
19382 * sunrpc/svcauth_des.c: Likewise.
19383 * sunrpc/xcrypt.c: Likewise.
19384 * sunrpc/xdr.c: Likewise.
19385 * sunrpc/xdr_array.c: Likewise.
19386 * sunrpc/xdr_float.c: Likewise.
19387 * sunrpc/xdr_mem.c: Likewise.
19388 * sunrpc/xdr_rec.c: Likewise.
19389 * sunrpc/xdr_ref.c: Likewise.
19390 * sunrpc/xdr_sizeof.c: Likewise.
19391 * sunrpc/xdr_stdio.c: Likewise.
19392
9da4bb31
UD
19393 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19394 handling.
19395
bdaa77bc
AS
193962010-08-19 Andreas Schwab <schwab@redhat.com>
19397
19398 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19399
fe2f79db
LM
194002010-08-19 Luis Machado <luisgpm@br.ibm.com>
19401
19402 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19405 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19407 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19409 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19412 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19414 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19415 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19416
b9b42ee0
AB
194172010-07-26 Anton Blanchard <anton@samba.org>
19418
19419 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19420 * malloc/arena.c (heap_trim): Likewise.
19421
1c06ba31
UD
194222010-08-16 Ulrich Drepper <drepper@redhat.com>
19423
19424 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19425 here. Not...
19426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19427 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19428
f8392f40
L
194292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19430
19431 * sysdeps/i386/elf/Makefile: New file.
19432
3162f12e
AS
194332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19434
19435 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19436 from fanotify_init.
19437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19439
28c90b2c
UD
194402010-08-15 Ulrich Drepper <drepper@redhat.com>
19441
19442 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19443 of strncasecmp_l.
1feccb6c 19444 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19445
ca6bb004
UD
194462010-08-14 Ulrich Drepper <drepper@redhat.com>
19447
e9f82e0d
UD
19448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19449 strncase_l-nonascii.
19450 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19451 Add strncase_l-ssse3.
19452 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19453 * sysdeps/x86_64/strcmp.S: Likewise.
19454 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19455 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19456 * sysdeps/x86_64/strncase.S: New file.
19457 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19458 * sysdeps/x86_64/strncase_l.S: New file.
19459 * string/Makefile (strop-tests): Add strncasecmp.
19460 * string/test-strncasecmp.c: New file.
19461
19462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19463 warning.
19464
ca6bb004
UD
19465 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19466 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19467
052fa7b3
AS
194682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19469
19470 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19471
962dba78
UD
194722010-08-12 Ulrich Drepper <drepper@redhat.com>
19473
19474 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19477
bebff237
AM
194782010-05-01 Alan Modra <amodra@gmail.com>
19479
19480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19481 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19482 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19483 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19484 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19485 tidying. Don't tail-call __sigjmp_save for static lib.
19486 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19487 save location.
19488 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19489 (CALL_MCOUNT): Add eh info, and nop after bl.
19490 (TAIL_CALL_SYSCALL_ERROR): New macro.
19491 (PSEUDO_RET): Use it.
19492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19493 Correct save location of integer regs and cr.
19494 (_dl_profile_resolve): Correct cr save location. Delete nops
19495 after bl when SHARED. Reduce cfi size a little by better
19496 placement of cfi directives.
19497 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19498 make a stack frame. Instead use parm save area as a temp.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19500 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19502 Don't make a stack frame for parent, use parm save area.
19503 Increase child stack frame to 112 bytes. Don't save unused reg,
19504 and adjust reg usage. Set up cfi on error recovery and
19505 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19507 (__makecontext): Add dummy nop after jump to exit.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19509 Use correct parm save area and cr save, reduce stack frame.
19510 Correct cfi for possible PSEUDO_RET frame setup.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19512 Branch to local label emitted by PSEUDO_RET rather than
19513 __syscall_error.
19514
02637374
AS
195152010-08-12 Andreas Schwab <schwab@redhat.com>
19516
19517 [BZ #11904]
19518 * locale/programs/locale.c (print_assignment): New function.
19519 (show_locale_vars): Use it.
19520
c3e2f19b
UD
195212010-08-11 Ulrich Drepper <drepper@redhat.com>
19522
3cdaa6ad
UD
19523 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19524 field.
19525 (struct statfs64): Likewise.
19526 (_STATFS_F_FLAGS): Define.
19527 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19529 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19530 (ST_VALID): Define locally.
19531 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19532 __statvfs_getflags, use the provided value.
19533 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19534 __ASSUME_STATFS_F_FLAGS.
19535
754f7da3
UD
19536 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19537
10b3bedc
UD
19538 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19539 Add sys/fanotify.h.
19540 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19541 fanotify_mask for GLIBC_2.13.
19542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19543 fanotify_init and fanotify_mark.
19544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19545 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19546
c08fb0d7
UD
19547 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19548 Add prlimit.
19549 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19550 prlimit64 for GLIBC_2.13.
19551 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19552 prlimit64.
19553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19554 syscall.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19560 add prlimit alias.
19561 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19562
15bac72b
UD
19563 [BZ #11903]
19564 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19565 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19566
c3e2f19b
UD
19567 * nss/Makefile: Add rules to build and run tst-nss-test1.
19568 * shlib-versions: Add entry for libnss_test1.
19569 * nss/nss_test1.c: New file.
19570 * nss/tst-nss-test1.c: New file.
19571
19572 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19573 (__nss_configure_lookup): Set appropriate entry in
19574 __nss_configure_lookup to true.
19575 * nss/nsswitch.h: Define enum with indeces of databases in
19576 databases and __nss_database_custom arrays. Declare
19577 __nss_database_custom.
19578 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19579 to avoid using nscd when custom rules are installed.
19580 * nss/getXXbyYY_r.c: Likewise.
19581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19582
19583 * nss/nss_files/files-parse.c: Whitespace fixes.
19584
f15ce4d8
UD
195852010-08-09 Ulrich Drepper <drepper@redhat.com>
19586
19587 [BZ #11883]
19588 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19589 * posix/fnmatch_loop.c: Likewise.
19590
d22e4cc9
AK
195912010-07-17 Andi Kleen <ak@linux.intel.com>
19592
19593 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19594 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19595 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19596 * Versions.def [GLIBC_2.13]: Add.
19597
805bc17d
UD
195982010-08-06 Ulrich Drepper <drepper@redhat.com>
19599
19600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19601 Also fail if tpwd after pwuid call is NULL.
19602
5a42321d
ST
196032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19604
19605 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19606 when converting to ms.
19607
fd3ebeda
ST
196082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19609
19610 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19611 EOPNOTSUPP errors with ENOTTY.
19612 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19613 EOPNOTSUPP errors with ENOTTY.
19614
73507d3a
UD
196152010-07-31 Ulrich Drepper <drepper@redhat.com>
19616
19617 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19618 Add strcasecmp_l-ssse3.
19619 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19620 strcasecmp.
19621 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19622 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19623 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19624
fe36dd02
UD
196252010-07-30 Ulrich Drepper <drepper@redhat.com>
19626
66f6765a
UD
19627 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19628
42e08a54
UD
19629 * string/Makefile (strop-tests): Add strcasecmp.
19630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19631 strcasecmp_l-nonascii.
19632 (gen-as-const-headers): Add locale-defines.sym.
19633 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19634 * sysdeps/x86_64/strcasecmp.S: New file.
19635 * sysdeps/x86_64/strcasecmp_l.S: New file.
19636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19637 * sysdeps/x86_64/locale-defines.sym: New file.
19638 * string/test-strcasecmp.c: New file.
19639
fe36dd02
UD
19640 * string/test-strcasestr.c: Test both ends of the range of characters.
19641 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19642
48cbc0d6
RM
196432010-07-29 Roland McGrath <roland@redhat.com>
19644
76e6d6bc 19645 [BZ #11856]
48cbc0d6
RM
19646 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19647
880113d9
UD
196482010-07-27 Ulrich Drepper <drepper@redhat.com>
19649
19650 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19651 for ld.so.
19652
deb9cabb
AS
196532010-07-27 Andreas Schwab <schwab@redhat.com>
19654
19655 * manual/memory.texi (Malloc Tunable Parameters): Document
19656 M_PERTURB.
19657
1c7570ff
RM
196582010-07-26 Roland McGrath <roland@redhat.com>
19659
19660 [BZ #11840]
19661 * configure.in (-fgnu89-inline check): Set and substitute
19662 gnu89_inline, not libc_cv_gnu89_inline.
19663 * configure: Regenerated.
19664 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19665
24fb0f88
UD
196662010-07-26 Ulrich Drepper <drepper@redhat.com>
19667
19668 * string/test-strnlen.c: New file.
19669 * string/Makefile (strop-tests): Add strnlen.
19670 * string/tester.c (test_strnlen): Add a few more test cases.
19671 * string/tst-strlen.c: Better error reporting.
19672
19673 * sysdeps/x86_64/strnlen.S: New file.
19674
8e96b93a
UD
196752010-07-24 Ulrich Drepper <drepper@redhat.com>
19676
19677 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19678 lower-latency instructions.
19679
dbc676d4
UD
196802010-07-23 Ulrich Drepper <drepper@redhat.com>
19681
19682 * string/test-strcasestr.c: New file.
19683 * string/test-strstr.c: New file.
19684 * string/Makefile (strop-tests): Add strstr and strcasestr.
19685 * string/str-two-way.h: Don't undefine MAX.
19686 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19687
f6a31e0e
AS
196882010-07-21 Andreas Schwab <schwab@redhat.com>
19689
19690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19691 strcasestr-nonascii.
19692 (CFLAGS-strcasestr-nonascii.c): Define.
19693 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19695 Remove unused attribute.
19696
5dbc3b6c
RM
196972010-07-20 Roland McGrath <roland@redhat.com>
19698
19699 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19700 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19701 ld.so.cache was broken. With it, there is no way to disable dsocaps
19702 like LD_HWCAP_MASK can disable hwcaps.
19703
23d101d8
EPM
197042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19705
19706 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19707
cc9f2e47
UD
197082010-07-16 Ulrich Drepper <drepper@redhat.com>
19709
19710 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19711 call in strcasestr.
19712 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19713 __strcasestr_sse42_nonascii.
19714 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19715 strcasestr-nonascii.c.
19716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19717
77c1b069
LM
197182010-06-15 Luis Machado <luisgpm@br.ibm.com>
19719
19720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19724
440566c3
UD
197252010-07-09 Ulrich Drepper <drepper@redhat.com>
19726
19727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19728 fcntl.
19729
5be9d05d
AS
197302010-07-06 Andreas Schwab <schwab@redhat.com>
19731
c30b7ee2 19732 [BZ #11577]
5be9d05d
AS
19733 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19734 dl_signal_cerror.
19735
8a492a67
UD
197362010-07-06 Ulrich Drepper <drepper@redhat.com>
19737
19738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19739 _PC_PIPE_BUF using F_GETPIPE_SZ.
19740
713df3d5
RM
197412010-07-05 Roland McGrath <roland@redhat.com>
19742
19743 * manual/arith.texi (Rounding Functions): Fix rint description
19744 implicit in round description.
19745
702e8f14
UD
197462010-07-02 Ulrich Drepper <drepper@redhat.com>
19747
19748 * elf/Makefile: Fix linking for a few tests to make recent linker
19749 happy.
19750
52ed8be9
AS
197512010-06-30 Andreas Schwab <schwab@redhat.com>
19752
19753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19754 $(common-objpfx)libc_nonshared.a.
19755
f47c9a11
LM
197562010-06-21 Luis Machado <luisgpm@br.ibm.com>
19757
19758 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19759 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19760 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19761 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19762 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19764 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19765 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19780 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19781 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19782 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19783 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19784 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19785 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19786 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19787 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19788 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19789 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19790 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19791 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19806
6fb8cbcb
L
198072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19808
19809 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19810 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19811 * string/memmove.c (memmove): Renamed to ...
19812 (MEMMOVE): ...this. Default to memmove.
19813 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19814 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19815 (END_CHK): Define.
19816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19817 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19818 mempcpy-ssse3-back memmove-ssse3-back.
19819 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19822 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19823 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19824 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19825 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19826 * sysdeps/x86_64/multiarch/memmove.c: New file.
19827 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19828 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19829 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19830 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19831 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19833 Define.
19834 (index_Fast_Copy_Backward): Define.
19835 (HAS_ARCH_FEATURE): Define.
19836 (HAS_FAST_REP_STRING): Define.
19837 (HAS_FAST_COPY_BACKWARD): Define.
19838
4e733bac 198392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19840
19841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19842 Restore proper fallback handling.
19843
63c4ed22
UD
198442010-06-19 Ulrich Drepper <drepper@redhat.com>
19845
ac2b484c
UD
19846 [BZ #11701]
19847 * posix/group_member.c (__group_member): Correct checking loop.
19848
63c4ed22
UD
19849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19850 OOM in getpwuid_r correctly. Return error number when the caller
19851 should return, otherwise -1.
19852 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19853 call returning > 0 value.
19854 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19855
765ade4b
AS
198562010-06-07 Andreas Schwab <schwab@redhat.com>
19857
19858 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19859 libc_nonshared.a from targets in modules-names.
19860
80da2e09
KS
198612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19862
19863 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19864 requires it.
19865
158db122
LM
198662010-06-10 Luis Machado <luisgpm@br.ibm.com>
19867
19868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19870 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19872
caa78cf8
AS
198732010-06-02 Andreas Schwab <schwab@redhat.com>
19874
19875 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19876
b2ef2c01
UD
198772010-06-14 Ulrich Drepper <drepper@redhat.com>
19878
19879 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19880 and F_GETPIPE_SZ.
19881 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19886 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19887
fbd643b6
RM
198882010-06-14 Roland McGrath <roland@redhat.com>
19889
19890 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19891
f32f2869
JJ
198922010-06-07 Jakub Jelinek <jakub@redhat.com>
19893
19894 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19895 __REDIRECT followed by __THROW.
19896 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19897 * posix/getopt.h (getopt): Likewise.
19898
2a50c078
EPM
198992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19900
19901 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19902 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19903 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19904 in AT_FLAGS.
19905 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19906 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19907
eb5ad2eb
LM
199082010-05-28 Luis Machado <luisgpm@br.ibm.com>
19909
19910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19911
3c88fe1e
L
199122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19913
19914 [BZ #11640]
19915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19916 Properly check family and model.
19917
d2f73151
TY
199182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19919
19920 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19921
ebd2e13d
LM
199222010-05-24 Luis Machado <luisgpm@br.ibm.com>
19923
19924 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19925
b32b8b45
UD
199262010-05-21 Ulrich Drepper <drepper@redhat.com>
19927
19928 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19929 symbol reference.
19930
9acbe24d
AS
199312010-05-19 Andreas Schwab <schwab@redhat.com>
19932
19933 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19934 symbol reference.
19935
f0ccf6ea
AS
199362010-05-21 Andreas Schwab <schwab@redhat.com>
19937
3d04ff3a
AS
19938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19939 and internal_recvmmsg.
19940 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19941 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19942 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19943 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19944
f0ccf6ea
AS
19945 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19946 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19947 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19948
5b08ac57
AS
199492010-05-20 Andreas Schwab <schwab@redhat.com>
19950
19951 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19952
4828935d
LM
199532010-05-17 Luis Machado <luisgpm@br.ibm.com>
19954
19955 POWER7 optimizations.
19956 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19957 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19958
373d545e
UD
199592010-05-19 Ulrich Drepper <drepper@redhat.com>
19960
19961 * version.h: Update for 2.13 development version.
19962
21a2b1ae
AS
199632010-05-12 Andrew Stubbs <ams@codesourcery.com>
19964
19965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19966 exceptions. Return 0.
19967
3f7dcb2b
RM
199682010-05-07 Roland McGrath <roland@redhat.com>
19969
19970 * elf/ldconfig.c (main): Add a const.
19971
5f24d53a 199722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19973
a160f8d8
UD
19974 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19975 (args_options): Add no-idn option.
19976 (ahosts_keys_int): Add idn_flags to ai_flags.
19977 (parse_option): Handle 'i' option to clear idn_flags.
19978
5f24d53a
UD
19979 * malloc/malloc.c (_int_free): Possible race in the most recently
19980 added check. Only act on the data if no current modification
19981 happened.
265bb1ce
UD
19982
19983See ChangeLog.17 for earlier changes.