]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Define __have_atfcts global in stub openat implementation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
93c65d43
RM
12012-10-01 Roland McGrath <roland@hack.frob.com>
2
497a03d6
RM
3 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4
93c65d43
RM
5 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6 * csu/init-first.c: ... here.
7 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11 * sysdeps/i386/init-first.c: File removed.
12 * sysdeps/sh/init-first.c: File removed.
13
bec749fd
JM
142012-10-01 Joseph Myers <joseph@codesourcery.com>
15
16 [BZ #14645]
17 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18 if x * y might underflow to zero and z is zero.
19 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21 * math/libm-test.inc (min_subnorm_value): New variable.
22 (fma_test): Add more tests.
23 (fma_test_towardzero): Likewise.
24 (fma_test_downward): Likewise
25 (fma_test_upward): Likewise.
26 (initialize): Set min_subnorm_value.
27
8ec5b013
JM
282012-09-29 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #14638]
31 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32 0 + 0.
33 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34 mode for addition resulting in exact zero.
35 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37 exact 0 + 0.
38 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40 * math/libm-test.inc (fma_test): Add more tests.
41 (fma_test_towardzero): New function.
42 (fma_test_downward): Likewise.
43 (fma_test_upward): Likewise.
44 (main): Call the new functions.
45
b1fa802e
DM
462012-09-28 David S. Miller <davem@davemloft.net>
47
48 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49
d3b9fd9e
RM
502012-09-28 Roland McGrath <roland@hack.frob.com>
51
ea4d37b3
RM
52 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53 instead of SIGALRM.
54
ac51c949
RM
55 * sysdeps/gnu/_G_config.h: Moved to ...
56 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57 * sysdeps/mach/hurd/_G_config.h: Moved to ...
58 * sysdeps/generic/_G_config.h: ... here.
59
28c195f7
RM
60 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
61
848917f9
RM
62 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63
6bacf05b
RM
64 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65 Conditionalize target on [libnss_test1.so-version].
66
91363dbb
RM
67 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68
cc87f7d8
RM
69 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70 (elfobjdir): Move out of conditionals.
71
b1c608fe
RM
72 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74 (__nss_lookup_function): Conditionalize label remove_from_tree on
75 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 76
1d9a6d96
DM
772012-09-28 David S. Miller <davem@davemloft.net>
78
79 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
80 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
81 file.
82 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
83 sysdep_routines.
84 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
85 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
86 when HWCAP_SPARC_CRYPTO is present.
87
72581615
PT
882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
89
90 * io/tst-mknodat.c: Create a FIFO instead of a socket.
91
715a900c
JL
922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
93
94 [BZ #6530]
95 * stdio-common/vfprintf.c (process_string_arg): Revert
96 2000-07-22 change.
97
982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
99
100 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
101 for testcase.
102 * stdio-common/tst-sprintf.c: Include <locale.h>
103 (main): Test sprintf's handling of incomplete multibyte
104 characters.
105
9bac1d86
L
1062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
107
108 * elf/dl-runtime.c (VERSYMIDX): Removed.
109 * elf/dl-version.c (VERSYMIDX): Likewise.
110 * elf/do-rel.h (VERSYMIDX): Likewise.
111 (VALIDX): Likewise.
112 * elf/dynamic-link.h (VERSYMIDX): Likewise.
113 * elf/rtld.c (VALIDX): Likewise.
114 (ADDRIDX): Likewise.
9bac1d86
L
115 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
116 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
117 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
118 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
119 (VALIDX): Likewise.
120 (ADDRIDX): Likewise.
9bac1d86 121
b31606c0
PT
1222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
123
124 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
125
11541177
JL
1262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
127
128 [BZ #11438]
129 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
130 to global scope.
131 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
132 addresses are in the same scope as 192.0.2/24.
133 * posix/gai.conf: Document new scope table defaults.
134
adb26fae
SP
1352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
136
137 [BZ #5298]
138 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
139 for ftell. Compute offsets from write pointers instead.
140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
141
4573c6b0
SP
1422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
143
144 [BZ #14543]
145 * libio/Makefile (tests): New test case tst-fseek.
146 * libio/tst-fseek.c: New test case to verify that fseek/ftell
147 combination works in wide mode.
148 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
149 state when the external buffer state changes.
150
aa9bbfe6
DM
1512012-09-27 David S. Miller <davem@davemloft.net>
152
153 [BZ #14376]
154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
155 pass reloc->r_addend in as the 'high' argument to
156 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
157
784421e7
DM
158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
159
c39bc8b8
PT
1602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
161
162 * rt/tst-aio2.c: Include <pthread.h>.
163 * rt/tst-aio3.c: Likewise.
164
1ccc2399
SE
1652012-09-27 Steve Ellcey <sellcey@mips.com>
166
167 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
168
31ed4153
L
1692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
170
25f5f885
L
171 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
172 contents on [SHARED].
31ed4153 173
b7bfe116
MP
1742012-09-26 Marek Polacek <polacek@redhat.com>
175
176 [BZ #14530]
177 [BZ #13741]
178 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
179 for C++ and GCC <4.3 as well as for non GCC compilers.
180
43c4edba
MT
1812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
182
183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
184
6a1bf82f
RM
1852012-09-25 Roland McGrath <roland@hack.frob.com>
186
187 * Makefile.in (all, install): Declare with .PHONY.
188 Reported by Michael Hope <michael.hope@linaro.org>.
189
8ad11b9a
TMQMF
1902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
191
192 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
193 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
194 system header.
195 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
196 Likewise.
197 (sydep_routines): Add the new and the internal functions.
198 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
199 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
201 (GLIBC_2.17): Add the new function.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
203 (GLIBC_2.17): Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
205 (GLIBC_2.17): Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
207 (GLIBC_2.17): Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
209
7e2fca8d
AM
2102012-09-25 Alan Modra <amodra@gmail.com>
211
212 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
213 Add release barrier before setting once_control to say
214 initialisation is done. Add hints on lwarx. Use macro in
215 place of isync.
216 (clear_once_control): Add release barrier.
217
b87c4b24
JM
2182012-09-25 Joseph Myers <joseph@codesourcery.com>
219
d032e0d2
JM
220 [BZ #13629]
221 * math/s_clog.c (__clog): Handle more values close to |z| = 1
222 specially.
223 * math/s_clog10.c (__clog10): Likewise.
224 * math/s_clog10f.c (__clog10f): Likewise.
225 * math/s_clog10l.c (__clog10l): Likewise.
226 * math/s_clogf.c (__clogf): Likewise.
227 * math/s_clogl.c (__clogl): Likewise.
228 * math/Makefile (libm-calls): Add x2y2m1.
229 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
230 (__x2y2m1): Likewise.
231 (__x2y2m1l): Likewise.
232 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
233 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
234 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
236 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
237 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
238 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
239 * sysdeps/i386/fpu/libm-test-ulps: Update.
240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241
b87c4b24
JM
242 [BZ #14621]
243 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
244 int as type of variable DEPTH.
245 (glob): Use size_t instead of int as type of variables NEWCOUNT
246 and OLD_PATHC.
247
6d3bf199
LD
2482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
249
22bf5c17
LD
250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
251 Add s_sincosf-sse2.
252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
254 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
255 macros for using routine as __sincosf_ia32.
256 Use macro for function declaration and weak_alias.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258
259 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
261
262 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
263 subnormal argument.
264 * math/s_cexpf.c (__cexpf): Likewise.
265 * math/s_csinf.c (__csinf): Likewise.
266 * math/s_csinhf.c (__csinhf): Likewise.
267 * math/s_ctanf.c (__ctanf): Likewise.
268 * math/s_ctanhf.c (__ctanhf): Likewise.
269 * math/s_ccosh.c (__ccoshf): Likewise.
270 * math/s_cexp.c (__cexpl): Likewise.
271 * math/s_csin.c (__csin): Likewise.
272 * math/s_csinh.c (__csinh): Likewise.
273 * math/s_ctan.c (__ctan): Likewise.
274 * math/s_ctanh.c (ctanh): Likewise.
275 * math/s_ccoshl.c (__ccoshl): Likewise.
276 * math/s_cexpl.c (__cexpl): Likewise.
277 * math/s_csinl.c (__csinl): Likewise.
278 * math/s_csinhl.c (__csinhl): Likewise.
279 * math/s_ctanl.c (__ctanl): Likewise.
280 * math/s_ctanhl.c (__ctanhl): Likewise.
281
203e5603
JM
2822012-09-25 Joseph Myers <joseph@codesourcery.com>
283
284 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
285 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
286 (_IO_off_t): Define to __off_t, not _G_off_t.
287 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
288 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
289 (_IO_wint_t): Define to wint_t, not _G_wint_t.
290 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
291 type of __dummy and __dummy2 fields.
292 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
293 (_G_ssize_t): Likewise.
294 (_G_off_t): Likewise.
295 (_G_pid_t): Likewise.
296 (_G_uid_t): Likewise.
297 (_G_wchar_t): Likewise.
298 (_G_wint_t): Likewise.
299 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
300 (_G_ssize_t): Likewise.
301 (_G_off_t): Likewise.
302 (_G_pid_t): Likewise.
303 (_G_uid_t): Likewise.
304 (_G_wchar_t): Likewise.
305 (_G_wint_t): Likewise.
306 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
307 (_G_ssize_t): Likewise.
308 (_G_off_t): Likewise.
309 (_G_pid_t): Likewise.
310 (_G_uid_t): Likewise.
311 (_G_wchar_t): Likewise.
312 (_G_wint_t): Likewise.
313
9fab36eb
SP
3142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
315
316 * malloc/arena.c: Include malloc-sysdep.h.
317 (shrink_heap): Use check_may_shrink_heap to decide if madvise
318 is sufficient to shrink the heap or an unmap is needed.
319 * sysdeps/generic/malloc-sysdep.h: New file. Define
320 new function check_may_shrink_heap.
321 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
322 new function check_may_shrink_heap.
323
2b4f00d1
SP
3242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
325
326 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
327 comments.
328
9a9028b1
DL
3292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
330
57c69bef
DL
331 * catgets/test-gencat.sh: Add "set -e".
332 * elf/tst-pathopt.sh: Likewise.
333 * grp/tst_fgetgrent.sh: Likewise.
334 * iconvdata/run-iconv-test.sh: Likewise.
335 * intl/tst-gettext.sh: Likewise.
336 * intl/tst-gettext2.sh: Likewise.
337 * intl/tst-gettext4.sh: Likewise.
338 * intl/tst-gettext6.sh: Likewise.
339 * intl/tst-translit.sh: Likewise.
340 * io/ftwtest-sh: Likewise.
341 * libio/test-freopen.sh: Likewise.
342 * malloc/tst-mtrace.sh: Likewise.
343 * posix/globtest.sh: Likewise.
344 * posix/tst-getconf.sh: Likewise.
345 * posix/wordexp-tst.sh: Likewise.
346 * stdio-common/tst-printf.sh: Likewise.
347 * stdio-common/tst-unbputc.sh: Likewise.
348 * stdlib/tst-fmtmsg.sh: Likewise.
349 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
350 * catgets/Makefile: Do not specify -e option when running
351 testsuite shell scripts.
352 * elf/Makefile: Likewise.
353 * grp/Makefile: Likewise.
354 * iconvdata/Makefile: Likewise.
355 * intl/Makefile: Likewise.
356 * io/Makefile: Likewise.
357 * libio/Makefile: Likewise.
358 * malloc/Makefile: Likewise.
359 * posix/Makefile: Likewise.
360 * stdio-common/Makefile: Likewise.
361 * stdlib/Makefile: Likewise.
362 * sysdeps/x86_64/Makefile: Likewise.
363
9a9028b1
DL
364 * io/ftwtest-sh: Add copyright header.
365 * posix/globtest.sh: Likewise.
366 * posix/tst-getconf.sh: Likewise.
367 * posix/wordexp-tst.sh: Likewise.
368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
369
ced6f16e
L
3702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
371
94b32c39
L
372 [BZ #13679]
373 * Makeconfig (+link): Defined as $(+link-static) if
374 $(build-shared) isn't yes.
375 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
376 isn't yes.
377 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
378
189e935b
L
379 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
380
ced6f16e
L
381 [BZ #14562]
382 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
383 new chunk size with MALLOC_ALIGN_MASK.
384
a9f8e53a
JM
3852012-09-24 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #5044]
388 * stdio-common/printf_fphex.c: Include <stdbool.h> and
389 <rounding-mode.h>.
390 (__printf_fphex): Determine rounding using get_rounding_mode and
391 round_away.
392 * stdio-common/tst-printf-round.c (struct hex_test): New
393 structure.
394 (hex_tests): New variable.
395 (test_hex_in_one_mode): New function.
396 (do_test): Also run tests for hex float output.
397
43153109
JM
3982012-09-21 Joseph Myers <joseph@codesourcery.com>
399
400 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
402 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
403 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
405 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
406 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
408
8a26625d
JM
4092012-09-20 Joseph Myers <joseph@codesourcery.com>
410
411 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
412 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
413 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
414 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
415
f3fd569c
DL
4162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
417
418 [BZ #14579]
419 * elf/rtld.c (dl_main): Limit the check for self loading to normal
420 mode only.
421 * elf/tst-rtld-load-self.sh: New test.
422 * elf/Makefile: Run it.
423
63bbedd4
JM
4242012-09-18 Joseph Myers <joseph@codesourcery.com>
425
426 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
427 (tst-writev-ENV): Remove.
428 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
429
626f8b6a
CM
4302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
431
432 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
433
b7aaa4d6
JM
4342012-09-17 Joseph Myers <joseph@codesourcery.com>
435
436 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
437 unconditional.
438 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
439 Likewise.
440 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
441 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
443 Likewise.
444
65513990
L
4452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
446
447 [BZ #14587]
448 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
449 * config.make.in (have-cpp-asm-debuginfo): Removed.
450 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
451 * configure: Regenerated.
452
784761be
JM
4532012-09-14 Joseph Myers <joseph@codesourcery.com>
454
455 [BZ #5044]
456 * stdio-common/printf_fp.c: Include <stdbool.h> and
457 <rounding-mode.h>.
458 (___printf_fp): Determine rounding using get_rounding_mode and
459 round_away.
460 * stdio-common/tst-printf-round.c: New file.
461 * stdio-common/Makefile (tests): Add tst-printf-round.
462 (link-libm): New variable.
463 ($(objpfx)tst-printf-round): Depend in $(link-libm).
464
9503345f
L
4652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
466
467 [BZ #14576]
468 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
469 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
470 Likewise.
471 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
472 Likewise.
473
ad35fc00
JM
4742012-09-13 Joseph Myers <joseph@codesourcery.com>
475
476 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
477 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
478 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
480
6c9b0f68
JM
4812012-09-12 Joseph Myers <joseph@codesourcery.com>
482
483 [BZ #14518]
484 * include/rounding-mode.h: New file.
485 * sysdeps/generic/get-rounding-mode.h: Likewise.
486 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
487 * stdlib/strtod_l.c: Include <rounding-mode.h>.
488 (MAX_VALUE): New macro.
489 (MIN_VALUE): Likewise.
490 (overflow_value): New function.
491 (underflow_value): Likewise.
492 (round_and_return): Use overflow_value and underflow_value to
493 determine return values in overflow and underflow cases. Use
494 round_away to determine rounding depending on rounding mode.
495 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
496 determine return values in overflow and underflow cases.
497 * stdlib/tst-strtod-round.c: Include <fenv.h>.
498 (struct test_results): New structure.
499 (struct test): Use struct test_results to store expected results
500 for all rounding modes.
501 (TEST): Include expected results for all rounding modes.
502 (test_in_one_mode): New function.
503 (do_test): Use test_in_one_mode to compute and check results.
504 Check results for all rounding modes.
505 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
506 $(link-libm).
507
19fcedd5
AM
5082012-12-09 Allan McRae <allan@archlinux.org>
509
510 * sysdeps/i386/fpu/libm-test-ulps: Update
511
8bbfd2f1
JM
5122012-09-11 Joseph Myers <joseph@codesourcery.com>
513
514 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
515 (_G_int32_t): Likewise.
516 (_G_uint16_t): Likewise.
517 (_G_uint32_t): Likewise.
518 (_G_HAVE_BOOL): Likewise.
519 (_G_HAVE_ATEXIT): Likewise.
520 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
521 (_G_HAVE_IO_FILE_OPEN): Likewise.
522 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
523 (_G_int32_t): Likewise.
524 (_G_uint16_t): Likewise.
525 (_G_uint32_t): Likewise.
526 (_G_HAVE_BOOL): Likewise.
527 (_G_HAVE_ATEXIT): Likewise.
528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
529 (_G_HAVE_IO_FILE_OPEN): Likewise.
530 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
531 (_G_int32_t): Likewise.
532 (_G_uint16_t): Likewise.
533 (_G_uint32_t): Likewise.
534 (_G_HAVE_BOOL): Likewise.
535 (_G_HAVE_ATEXIT): Likewise.
536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
537 (_G_HAVE_IO_FILE_OPEN): Likewise.
538
b1dc5912
L
5392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
540
541 * csu/libc-tls.c: Update copyright years.
542
0e886ef9
JM
5432012-09-10 Joseph Myers <joseph@codesourcery.com>
544
28361c5e
JM
545 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
546 [!_G_USING_THUNKS]: Remove conditional code.
547 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
548 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
549
0e886ef9
JM
550 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
551 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
552 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
553 (_G_VTABLE_LABEL_PREFIX): Likewise.
554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
555 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
557 (_G_VTABLE_LABEL_PREFIX): Likewise.
558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
559 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
561 (_G_VTABLE_LABEL_PREFIX): Likewise.
562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
563
bcba7aa2
L
5642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
565
566 * libio/Makefile: Include ../Makeconfig before tests.
567 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
568 only if $(build-shared) is yes.
569
06585ee8
L
570 * iconv/gconv_db.c: Update copyright years.
571
80ccd52c
LD
5722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
573
574 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
575 unwind info if defined PIC. Fix special cases description.
576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
577
578 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
579 DP_HI_MASK entry.
580 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
581
691bc9c1
L
5822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
583
3d9b46b3
L
584 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
585
de2139a9
L
586 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
587 is NULL.
588
5ca78dd0
L
589 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
590 (LDLIBS-tst-chk4): This.
591 (LDFLAGS-tst-chk5): Renamed to ...
592 (LDLIBS-tst-chk5): This.
593 (LDFLAGS-tst-chk6): Renamed to ...
594 (LDLIBS-tst-chk6): This.
595 (LDFLAGS-tst-lfschk4): Renamed to ...
596 (LDLIBS-tst-lfschk4): This.
597 (LDFLAGS-tst-lfschk5): Renamed to ...
598 (LDLIBS-tst-lfschk5): This.
599 (LDFLAGS-tst-lfschk6): Renamed to ...
600 (LDLIBS-tst-lfschk6): This.
601
691bc9c1
L
602 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
603 on $(common-objpfx)soversions.mk.
604
65cafb1c
JM
6052012-09-07 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #10014]
608 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
609 example host name.
610
c78ab094
SP
6112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 * malloc/arena.c (arena_get_retry): New function that gets
614 another arena for the caller to try its request on.
615 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
616 current arena cannot fulfill the request.
617 (__libc_memalign): Likewise.
618 (__libc_memalign): Likewise.
619 (__libc_pvalloc): Likewise.
620 (__libc_calloc): Likewise.
621
01f49f59
JT
6222012-09-05 John Tobey <john.tobey@gmail.com>
623
624 [BZ #13542]
625 * manual/arith.texi (Operations on Complex): Fix description
626 of carg branch cut.
627
4c23fed5
JM
6282012-09-06 Joseph Myers <joseph@codesourcery.com>
629
1d3c8572
JM
630 [BZ #10014]
631 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
632 host name.
633
4c23fed5
JM
634 [BZ #10038]
635 * manual/memory.texi (Memory): Make order of menu items match
636 order of sections.
637
04570aaa
L
6382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
639
640 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
641 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
642 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
643
b80af2f4
L
6442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
645
646 * csu/libc-tls.c (static_dtv): Renamed to ...
647 (_dl_static_dtv): This. Make it global.
648 (_dl_initial_dtv): Removed.
649 (__libc_setup_tls): Updated.
650 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
651 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
652 DL_INITIAL_DTV.
653
2abe9f15
PM
6542012-09-06 Petr Machata <pmachata@redhat.com>
655
656 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
657 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
658 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
659 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
660
0948c3af
L
6612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
662
663 [BZ #14545]
664 * csu/libc-tls.c (_dl_initial_dtv): New variable.
665 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
666 freeing dtv[-1].
667
a5055ad1
L
6682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
669
670 [BZ #14544]
671 * Makeconfig (link-static-before-libc): Replace $(+prector)
672 with $(+prectorT).
673 (link-static-after-libc): Replace $(+postctor) with
674 $(+postctorT).
675 (link-bounded): Replace $(+prector)/$(+postctor) with
676 $(+prectorT)/$(+postctorT).
677 (+prectorT): New macro.
678 (+postctorT): Likewise.
679
ed8c2ecd
JM
6802012-09-06 Joseph Myers <joseph@codesourcery.com>
681
682 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
683 (round_str): Handle values above the maximum for IBM long double
684 as inexact.
685 * stdlib/tst-strtod-round.c (tests): Regenerated.
686
14c996c8
AK
6872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
688
689 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
690 assembler flag.
691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
692 zarch_nohighgprs around the zarch optimized routines.
693 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
694 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
696 for zarch.
697
430d6ce6
DM
6982012-09-05 David S. Miller <davem@davemloft.net>
699
700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
701
ff04dda4
DM
702 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
703 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
706 entries.
707
24d4e01b
AO
7082012-09-05 Alexandre Oliva <aoliva@redhat.com>
709
710 * malloc/arena.c: Fold copyright years.
711 * malloc/mcheck.c, malloc/memusage.c: Likewise.
712
61d58174
AO
7132012-09-05 Alexandre Oliva <aoliva@redhat.com>
714
715 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
716
20196a5e
AO
7172012-09-05 Alexandre Oliva <aoliva@redhat.com>
718
719 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
720
5c447383
AO
7212012-09-05 Alexandre Oliva <aoliva@redhat.com>
722
723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
724 change internal state upon failure.
725
fad64255
AO
7262012-09-05 Alexandre Oliva <aoliva@redhat.com>
727
728 * malloc/mcheck.c (mcheck_check_all): Fix typo.
729 * malloc/memusage.c (mmap): Likewise.
730 (mmap64, mremap): Likewise. Adjust name in comment.
731
1ffb8c90
SP
7322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
733
734 * libio/fileops.c: Fix typos in comments.
735 * libio/oldfileops.c: Likewise.
736 * libio/wfileops.c: Likewise.
737
6ef9cc37
SP
7382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
739
740 [BZ #1349]
741 * malloc/Makefile (tests): Add tst-malloc-usable test case.
742 (tst-malloc-usable-ENV): Set environment for test case.
743 * malloc/hooks.c (malloc_check_get_size): New function to get
744 requested size.
745 * malloc/malloc.c (musable): Use malloc_check_get_size.
746 * malloc/tst-malloc-usable.c: New test case.
747
4d038ae3
AS
7482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
749
750 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
751
c4e85184
AM
7522012-09-05 Allan McRae <allan@archlinux.org>
753
b9dafc56 754 [BZ #13966]
c4e85184
AM
755 * configure.in (CXX_SYSINCLUDES): Use compiler output to
756 determine header location.
757 * configure: Regenerated.
758
e1343020
AS
7592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
760
761 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
762 float format.
763 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
764 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
765 format.
e1343020
AS
766 (test): Regenerate.
767
0a9f1987
DM
7682012-09-04 David S. Miller <davem@davemloft.net>
769
770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
773
29237804
FW
7742012-09-04 Florian Weimer <fweimer@redhat.com>
775
776 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
777 failures.
778
edb3cb88
FW
779 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
780
60160d83
JM
7812012-09-04 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #9914]
784 * libio/iogetdelim.c: Include <limits.h>.
785 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
786 + len + 1 would overflow.
787
bcd6c8dc
AJ
7882012-09-03 Andreas Jaeger <aj@suse.de>
789
790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792
4ffffbd2
LD
7932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
794
795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
796 Add s_sinf-sse2, s_conf-sse2.
797
798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
800 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
801 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
802
803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
804 for using routine as __sinf_ia32.
805 Use macro for function declaration and weak_alias.
806 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
807 for using routine as __cosf_ia32.
808 Use macro for function declaration and weak_alias.
809
810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
811 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
812
813 * sysdeps/x86_64/fpu/s_sinf.S: New file.
814 * sysdeps/x86_64/fpu/s_cosf.S: New file.
815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
816
817 * math/libm-test.inc (cos_test): Add more test cases.
818 (sin_test): Likewise.
819 (sincos_test): Likewise.
820
511fa286
AK
8212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
822
823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
824 (IFUNC_RESOLVE): Make pointers to the specialized implementations
825 hidden.
826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
827
5f30cfec
L
8282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
829
830 [BZ #14538]
831 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
832 first element of the GOT.
833 (elf_machine_load_address): Return the difference between
834 the runtime address of _DYNAMIC and elf_machine_dynamic ().
835
0786794f
AM
8362012-09-01 Allan McRae <allan@archlinux.org>
837
5f30cfec
L
838 [BZ #13412]
839 * configure.in (AWK): Require gawk version 3.0 or later.
840 * configure: Regenerated.
0786794f 841
26889eac
JM
8422012-09-01 Joseph Myers <joseph@codesourcery.com>
843
844 * sysdeps/unix/sysv/linux/kernel-features.h
845 (__ASSUME_POSIX_CPU_TIMERS): Remove.
846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
847 [__NR_clock_getres]: Make code unconditional.
848 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
849 (clock_getcpuclockid): Remove code left unreachable by removal of
850 conditionals.
851 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
852 code unconditional.
853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
856 Make code unconditional.
857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/clock_settime.c
860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
861 conditional code.
862 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
863 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
864
d22e28b0
L
8652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
866
867 [BZ #14476]
868 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
869 scripts/test-installation.pl.
870
871 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
872 and $ld_so_version if it is set.
873
050af9c4
SP
8742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
875
876 [BZ #14516]
877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
878 failure if reading from procfs failed.
879 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
880
ad845c0b
JM
8812012-08-27 Joseph Myers <joseph@codesourcery.com>
882
883 * sysdeps/unix/sysv/linux/kernel-features.h
884 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
885 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
886 Remove conditional code.
887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
889 Remove conditional code.
890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
891 * sysdeps/unix/sysv/linux/i386/fxstat.c
892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
894 * sysdeps/unix/sysv/linux/i386/fxstatat.c
895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
897 * sysdeps/unix/sysv/linux/i386/lxstat.c
898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
901 Remove conditional code.
902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
903 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
904 Remove conditional code.
905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
907 <kernel-features.h>.
908 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
909 Remove.
910 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
911 Remove conditional code.
912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
913 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
914 Remove conditional.
915
5dbf56af
MF
9162012-08-27 Mike Frysinger <vapier@gentoo.org>
917
918 [BZ #5400]
919 * NEWS: Add fixed bug number.
920
d6e70f43
JM
9212012-08-27 Joseph Myers <joseph@codesourcery.com>
922
7efb4737
JM
923 [BZ #14519]
924 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
925 underflowing exponent in case of negative sign.
926 * stdlib/tst-strtod-round-data: Add more tests.
927 * stdlib/tst-strtod-round.c (tests): Regenerated.
928
af92131a
JM
929 [BZ #3479]
930 * stdlib/strtod_l.c (NDIG): Remove.
931 (HEXNDIG): Likewise.
932 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
933 smallest representable value.
934 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
935 lie within an exact representation of 1/2 ulp of the result.
936 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
937 unconditionally.
938 (TENS_P9_IDX): Define unconditionally.
939 (TENS_P9_SIZE): Likewise.
940 (TENS_P10_IDX): Likewise.
941 (TENS_P10_SIZE): Likewise.
942 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
943 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
945 entries for 10^2^13 and 10^2^14.
946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
947 (TENS_P13_IDX): Define.
948 (TENS_P13_SIZE): Likewise.
949 (TENS_P14_IDX): Likewise.
950 (TENS_P14_SIZE): Likewise.
951 (_fpioconst_pow10): Change array size to
952 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
953 unconditional.
954 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
955 1024]: Add entries for 10^2^13 and 10^2^14.
956 [LAST_POW10 > _LAST_POW10]: Remove #error.
957 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
958 (_fpioconst_pow10): Change array size to
959 FPIOCONST_POW10_ARRAY_SIZE.
960 * stdlib/gen-fpioconst.c: New file.
961 * stdlib/gen-tst-strtod-round.c: Likewise.
962 * stdlib/tst-strtod-round-data: Likewise.
963 * stdlib/tst-strtod-round.c: Likewise.
964 * stdlib/Makefile (tests): Add tst-strtod-round.
965
d6e70f43
JM
966 [BZ #14459]
967 * stdlib/strtod_l.c: Include <stdint.h>.
968 (NDEBUG): Do not define.
969 (round_and_return): Change EXPONENT parameter to type intmax_t.
970 Rearrange calculations to avoid internal overflow possibilities.
971 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
972 Rearrange calculations to avoid internal overflow possibilities.
973 Assert that number fits inside MPNSIZE limbs.
974 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
975 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
976 calculations and add assertions to avoid internal overflow
977 possibilities. Add casts to avoid signed/unsigned operations.
978 * stdlib/tst-strtod-overflow.c: New file.
979 * stdlib/Makefile (tests): Add tst-strtod-overflow.
980
1f529f7d
MP
9812012-08-25 Marek Polacek <polacek@redhat.com>
982
983 * time/time.h: Fix some typos in comments.
984
59a629f1
RM
9852012-08-23 Roland McGrath <roland@hack.frob.com>
986
987 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
988 * posix/tst-rfc3484-2.c: Likewise.
989 * posix/tst-rfc3484-3.c: Likewise.
990
d3bafbc9
SM
9912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
992
993 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
994 (EF_ARM_ABI_FLOAT_HARD): Likewise.
995
4efcc022
JM
9962012-08-23 Joseph Myers <joseph@codesourcery.com>
997
998 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
999 #include of fxstatat64.c.
1000
3cc3ef96
RM
10012012-08-22 Roland McGrath <roland@hack.frob.com>
1002
f04e2132
RM
1003 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1004 * shadow/getspent_r.c: Likewise.
1005 * shadow/getspnam.c: Likewise.
1006 * shadow/getspnam_r.c: Likewise.
1007 * gshadow/getsgent.c: Likewise.
1008 * gshadow/getsgent_r.c: Likewise.
1009 * gshadow/getsgnam.c: Likewise.
1010 * gshadow/getsgnam_r.c: Likewise.
1011 * inet/getnetbyad.c: Likewise.
1012 * inet/getnetbyad_r.c: Likewise.
1013 * inet/getnetbynm.c: Likewise.
1014 * inet/getnetbynm_r.c: Likewise.
1015 * inet/getnetent.c: Likewise.
1016 * inet/getnetent_r.c: Likewise.
1017 * inet/getproto.c: Likewise.
1018 * inet/getproto_r.c: Likewise.
1019 * inet/getprtent.c: Likewise.
1020 * inet/getprtent_r.c: Likewise.
1021 * inet/getprtname.c: Likewise.
1022 * inet/getprtname_r.c: Likewise.
1023 * inet/getrpcbyname.c: Likewise.
1024 * inet/getrpcbyname_r.c: Likewise.
1025 * inet/getrpcbynumber.c: Likewise.
1026 * inet/getrpcbynumber_r.c: Likewise.
1027 * inet/getrpcent.c: Likewise.
1028 * inet/getrpcent_r.c: Likewise.
1029 * inet/getaliasent.c: Likewise.
1030 * inet/getaliasent_r.c: Likewise.
1031 * inet/getaliasname.c: Likewise.
1032 * inet/getaliasname_r.c: Likewise.
1033 * nscd/getgrgid_r.c: Likewise.
1034 * nscd/getgrnam_r.c: Likewise.
1035 * nscd/gethstbyad_r.c: Likewise.
1036 * nscd/gethstbynm3_r.c: Likewise.
1037 * nscd/getpwnam_r.c: Likewise.
1038 * nscd/getpwuid_r.c: Likewise.
1039 * nscd/getsrvbynm_r.c: Likewise.
1040 * nscd/getsrvbypt_r.c: Likewise.
1041 * nscd/gai.c: Likewise.
1042
c53d909c
RM
1043 * configure.in (build_nscd): New substituted variable, set
1044 by --disable-build-nscd and defaults to $use_nscd.
1045 * configure: Regenerated.
1046 * config.make.in (build-nscd): New substituted variable.
1047 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1048 Change conditional to require [$(build-nscd) = yes] as well.
1049 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1050
3cc3ef96
RM
1051 [BZ# 13696]
1052 * configure.in (use_nscd): New substituted variable, set by
1053 --disable-nscd. If enabled, define USE_NSCD.
1054 * configure: Regenerated.
1055 * config.h.in: Add USE_NSCD.
1056 * config.make.in (use-nscd): New substituted variable.
1057 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1058 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1059 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1060 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1061 (CFLAGS-getgrnam_r.c): Likewise.
1062 (CFLAGS-initgroups.c): Likewise.
1063 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1064 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1065 Variables removed.
1066 * inet/getnetgrent_r.c
1067 (nscd_setnetgrent): New function, broken out of ...
1068 (setnetgrent): ... here. Call it.
1069 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1070 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1071 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1072 * nscd/Makefile (routines, aux): Move definitions after include of
1073 Makeconfig. Conditionalize on [$(use-nscd) != no].
1074 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1075 Conditionalize on [USE_NSCD].
1076 (is_nscd, nscd_init_cb): Likewise.
1077 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1078 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1079 * nss/nss_db/db-init.c: Likewise.
1080 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1081 [USE_NSCD].
1082 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1083 (make_request): Use it.
1084 (cache_valid_p): New function.
1085 (__check_pf): Use it.
1086 * NEWS: Add item for --disable-nscd.
1087
07e51550
DL
10882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1089
1090 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1091 to support sed >= 4.2.1-20-ga9bf076.
1092 * configure: Regenerated.
1093
35a5b08b
RM
10942012-08-22 Roland McGrath <roland@hack.frob.com>
1095
1096 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1097 Conditionalize whole body on [IREL].
1098
8479f23a
JL
10992012-08-22 Jeff Law <law@redhat.com>
1100
1101 [BZ #14505]
1102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1103 if the family is PF_UNSPEC.
1104
48da0b21
MF
11052012-08-22 Mike Frysinger <vapier@gentoo.org>
1106
1107 * Makerules (lib-version): Rename from V.
1108 (install-lib-nosubdir): Change V to lib-version.
1109
15d0da8c
WS
11102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1111
1112 [BZ #14252]
1113 * powerpc32/power6/wcschr.c: New file.
1114 * powerpc32/power6/wcscpy.c: New file.
1115 * powerpc32/power6/wcsrchr.c: New file.
1116 * powerpc64/power6/wcschr.c: New file.
1117 * powerpc64/power6/wcscpy.c: New file.
1118 * powerpc64/power6/wcsrchr.c: New file.
1119
bcca0895
MK
11202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1121
1122 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1123 (two_way_short_needle): Use it.
5a4aaa33
RM
1124 * string/strstr.c (AVAILABLE1_USES_J): Define.
1125 * string/strcasestr.c: Likewise.
99677e57
MK
1126
1127 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1128 array references.
1129 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1130
400726de
MK
1131 [BZ #11607]
1132 * NEWS: Add an entry.
1133 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1134 define their defaults.
1135 (two_way_short_needle): Detect end-of-string on-the-fly.
1136 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1137 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1138 * string/bug-strcasestr1.c: New test.
1139 * string/Makefile: Run it.
1140
20a71f2c
MK
11412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1142
1143 [BZ #11607]
1144 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1145 the first character.
1146
21ad0558
RM
11472012-08-21 Roland McGrath <roland@hack.frob.com>
1148
1149 * csu/elf-init.c (__libc_csu_irel): Function removed.
1150 * csu/libc-start.c (apply_irel): New function.
1151 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1152
0e1d9911
JM
11532012-08-21 Joseph Myers <joseph@codesourcery.com>
1154
1155 * sysdeps/unix/sysv/linux/kernel-features.h
1156 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1157 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1158 <kernel-features.h>.
1159 [__NR_fadvise64_64]: Make code unconditional.
1160 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1161 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1162 !__NR_fadvise64_64)]: Likewise.
1163 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1164 !__NR_fadvise64_64))]: Likewise.
1165 [__NR_fadvise64]: Make code unconditional.
1166 [!__NR_fadvise64]: Remove conditional code.
1167 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1168 <kernel-features.h>.
1169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1170 unconditional.
1171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1172 conditional code.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1174 not include <kernel-features.h>.
1175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1176 unconditional.
1177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1178 conditional code.
1179 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1180 include <kernel-features.h>.
1181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1182 unconditional.
1183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1184 conditional code.
1185
14a50c9d
WS
11862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1187
1188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1189 slight instruction rearrangements per scrollpipe analysis.
1190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1191
c0f4faf0
RM
11922012-08-20 Roland McGrath <roland@hack.frob.com>
1193
696da859
RM
1194 * manual/syslog.texi (syslog; vsyslog, closelog):
1195 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1196 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1197
c0f4faf0
RM
1198 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1199 DSOCAPS to match condition on defining it.
1200
348363b2
JM
12012012-08-20 Joseph Myers <joseph@codesourcery.com>
1202
a35cbf28
JM
1203 * sysdeps/unix/sysv/linux/kernel-features.h
1204 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1214
445f7ecd
JM
1215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1216 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1217
348363b2
JM
1218 * sysdeps/unix/sysv/linux/kernel-features.h
1219 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1220 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1221 unconditional.
1222 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1223 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1224 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1225 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1226 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1227 Make code unconditional.
1228 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1229 (__mmap64) [!__NR_mmap2]: Likewise.
1230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1234 [__NR_mmap2]: Make code unconditional.
1235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1236 (__mmap64) [!__NR_mmap2]: Likewise.
1237
bc5bc0e5
AK
12382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1239
1240 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1241
88d506de
AJ
12422012-08-18 Andreas Jaeger <aj@suse.de>
1243
1244 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1245
493387d2
MF
12462012-08-18 Mike Frysinger <vapier@gentoo.org>
1247
1248 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1249 * include/unistd.h (__have_sock_cloexec): Likewise.
1250 (__have_pipe2): Likewise.
1251 (__have_dup3): Likewise.
1252
a277af22
MF
12532012-08-18 Mike Frysinger <vapier@gentoo.org>
1254
1255 [BZ #9685]
1256 * include/unistd.h (__have_pipe2): Change define into an extern int.
1257 (__have_dup3): Likewise.
1258 * socket/have_sock_cloexec.c: Include fcntl.h.
1259 (__have_pipe2): New variable.
1260 (__have_dup3): Likewise.
1261
fdab8fd3
MF
12622012-08-17 Mike Frysinger <vapier@gentoo.org>
1263
1264 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1265
31035e80
MP
12662012-08-17 Marek Polacek <polacek@redhat.com>
1267
1268 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1269 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1270
3bd9e993
RM
12712012-08-17 Roland McGrath <roland@hack.frob.com>
1272
c91c505f
RM
1273 * configure.in: Add AC_SUBST for sysheaders.
1274 * configure: Regenerated.
1275 * config.make.in (sysheaders): New substituted variable.
1276
7c6f9d53
RM
1277 * sysdeps/unix/mkfifo.c: Moved ...
1278 * sysdeps/posix/mkfifo.c: ... here.
1279 * sysdeps/unix/mkfifoat.c: Moved ...
1280 * sysdeps/posix/mkfifoat.c: ... here.
1281
1282 * sysdeps/unix/utime.c: Moved ...
1283 * sysdeps/posix/utime.c: ... here.
1284
1285 * sysdeps/unix/time.c: Moved ...
1286 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1287 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1288 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1289
1290 * sysdeps/unix/nice.c: Moved ...
1291 * sysdeps/posix/nice.c: ... here.
1292
1293 * sysdeps/unix/alarm.c: Moved ...
1294 * sysdeps/posix/alarm.c: ... here.
1295
3bd9e993
RM
1296 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1297
d1f09384
JL
12982012-08-17 Jeff Law <law@redhat.com>
1299
1300 * intl/Makefile (codeset_mo): New variable.
1301 ($(codeset_mo)): New target.
1302 (tst-codeset.out): Depend on that. Remove explicit rule.
1303 (tst-gettext3.out, tst-gettext5.out): Likewise.
1304 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1305 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1306 * intl/tst-codeset.sh: Remove.
1307 * intl/tst-gettext3.sh: Likewise.
1308 * intl/tst-gettext5.sh: Likewise.
1309
2ae1ae5c
RM
13102012-08-17 Roland McGrath <roland@hack.frob.com>
1311
c31fdb83
RM
1312 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1313 * sysdeps/unix/syscalls.list: ... here.
1314
a0844057
RM
1315 * sysdeps/posix/getaddrinfo.c
1316 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1317 (gaiconf_init, gaiconf_reload): Use them.
1318 [!_STATBUF_ST_NSEC]
1319 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1320 Define using time_t rather than struct timespec.
1321
750c1f2a
RM
1322 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1323 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1324 Macros removed.
1325 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1326 [!NO_THREADS].
1327 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1328 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1329 Likewise.
1330
2ae1ae5c
RM
1331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1332 __libc_cleanup_push argument.
1333
e66a42f5
RM
1334 * bits/param.h: New file.
1335 * misc/sys/param.h: New file.
1336 * include/sys/param.h: New file.
1337 * misc/Makefile (headers): Add bits/param.h.
1338 * sysdeps/generic/sys/param.h: File removed.
1339 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1340 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1341 * sysdeps/mach/hurd/bits/param.h: New file.
1342 * sysdeps/mach/hurd/sys/param.h: New file.
1343
b7c08a66
RM
1344 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1345 last change.
1346
b2e1c562
RM
1347 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1348 [_IO_MTSAFE_IO].
1349 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1350 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1351 New macros.
1352
c75ccd4c
RM
1353 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1354 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1355 rather than -D_IO_MTSAFE_IO conditionally.
1356 * stdio-common/Makefile (CPPFLAGS): Likewise.
1357 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1358 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1359 Use $(libio-mtsafe).
1360 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1361 of -D_IO_MTSAFE_IO.
1362 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1363 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1364 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1365 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1366 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1367 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1368 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1369 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1370 (CFLAGS-fread_u_chk.c): Likewise.
1371 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1372 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1373 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1374 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1375 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1376 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1377 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1378 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1379 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1380
1381 * libio/Makefile: Test [$(libc-reentrant) = yes]
1382 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1383
1384 * Makeconfig
1385 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1386 * sysdeps/pthread/configure: File removed.
1387 * sysdeps/pthread/Makeconfig: New file.
1388 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1389 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1390
d9195db8
GB
13912012-08-16 Gary Benson <gbenson@redhat.com>
1392
1393 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1394 unmapping the first object in a namespace.
1395
86466cd9
RM
13962012-08-16 Roland McGrath <roland@hack.frob.com>
1397
1398 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1399 (__internal_setnetgrent): ... this. Add internal_function to
1400 definition. Add libc_hidden_def.
1401 (setnetgrent): Update caller.
1402 (internal_endnetgrent): Renamed to ...
1403 (__internal_endnetgrent): ... this. Add internal_function to
1404 definition. Add libc_hidden_def.
1405 (endnetgrent): Update caller.
1406 (internal_getnetgrent_r): Renamed to ...
1407 (__internal_getnetgrent_r): ... this. Add internal_function to
1408 definition. Add libc_hidden_def.
1409 (__getnetgrent_r): Update caller.
1410 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1411
c3c8283c
JM
14122012-08-16 Joseph Myers <joseph@codesourcery.com>
1413
1414 * stdlib/longlong.h: Update from GCC.
1415
db1ee0a8
RM
14162012-08-16 Roland McGrath <roland@hack.frob.com>
1417
1418 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1419 on _QL, which is set by umul_ppmm but never used.
1420 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1421 variables, which are set by GMP macros but never used.
1422 * stdio-common/_itowa.c (_itowa): Likewise.
1423 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1424 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1425
30f69637
CD
14262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1427
1428 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1429 struct La_sh_regs is not constant.
1430 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1431 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1432 and struct La_sparc64_regs are not constant.
1433
93a78ac4
JM
14342012-08-16 Joseph Myers <joseph@codesourcery.com>
1435
1436 * sysdeps/unix/sysv/linux/kernel-features.h
1437 (__ASSUME_POSIX_TIMERS): Remove.
1438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1440 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1441 Make code unconditional.
1442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1443 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1444 Make code unconditional.
1445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1446 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1447 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1449 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1450 Make code unconditional.
1451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1452 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1453 (__libc_missing_posix_timers): Remove.
1454
dd924cd7
RM
14552012-08-15 Roland McGrath <roland@hack.frob.com>
1456
4b4f2771
RM
1457 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1458 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1459
601c888b
RM
1460 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1461
176790a7
RM
1462 * elf/dl-sym.c: Include <stdlib.h>.
1463
329bc018
RM
1464 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1465 constants, which avoids warnings in 32-bit builds.
1466
e04e272d
RM
1467 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1468 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1469
952bf94a
RM
1470 * misc/lseek.c: File moved to ...
1471 * io/lseek.c: ... here.
1472
7c99b50a
RM
1473 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1474
dd924cd7
RM
1475 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1476 shifting LEN more than 31 bits at once.
1477
b3f479a8
LD
14782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1479
1480 [BZ #14195]
8c4ae0d4
RM
1481 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1482 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1483 * string/test-strncasecmp.c (check1): Renamed to...
1484 (bz12205): ...this.
1485 (bz14195): Add new testcase for two empty input strings and N > 0.
1486 (test_main): Call new testcase, adapt for renamed function.
1487
9c55864e
AJ
14882012-08-15 Andreas Jaeger <aj@suse.de>
1489
1490 [BZ #14090]
1491 * crypt/md5test2.c: New test, based on test supplied by Serge
1492 Belyshev <belyshev@depni.sinp.msu.ru>.
1493 * crypt/Makefile (xtests): Add md5test-giant..
1494 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1495
02dcb6c5
PE
14962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1497
1498 [BZ #14090]
1499 * crypt/md5.c (md5_process_block): Don't assume the buffer
1500 length is less than 2**32.
1501 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1502 length is less than 2**64.
1503
a3f95dcc
RM
15042012-08-15 Roland McGrath <roland@hack.frob.com>
1505
be75d758
RM
1506 * string/str-two-way.h: Include <sys/param.h>.
1507 (MAX): Macro removed.
1508
7312ca90
RM
1509 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1510 Move #define and #undef of memmove to just before and after
1511 including <string.h>.
1512
9a0a5486
RM
1513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1514 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1515 and after including <string.h>. Move declarations of
1516 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1517 to before #include "string/memmove.c".
1518
67cc348d
RM
1519 * include/dirent.h: Declare __getdirentries.
1520
a3f95dcc
RM
1521 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1522 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1523
ca98e171
MF
15242012-08-14 Mike Frysinger <vapier@gentoo.org>
1525
1526 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1527 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1528 * sysdeps/i386/configure: Regenerated.
1529 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1530 STABS_CURRENT_FILE, and STABS_FUN.
1531 (END): Remove call to STABS_FUN_END.
1532 (STABS_CURRENT_FILE1): Delete.
1533 (STABS_CURRENT_FILE): Likewise.
1534 (STABS_FUN): Likewise.
1535 (STABS_FUN_END): Likewise.
1536 (STABS_FUN2): Likewise.
1537 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1538 * sysdeps/x86_64/configure: Regenerated.
1539
5908bf46
RM
15402012-08-14 Roland McGrath <roland@hack.frob.com>
1541
1542 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1543 * elf/dl-lookup.c: Likewise.
5908bf46 1544
f2c05b9e
JM
15452012-08-14 Joseph Myers <joseph@codesourcery.com>
1546
1547 * sysdeps/unix/sysv/linux/kernel-features.h
1548 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1549 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1550 unconditionally.
1551 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1552 unconditionally.
1553 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1554 condition on __ASSUME_CLONE_THREAD_FLAGS.
1555
e11f5155
AJ
15562012-08-14 Andreas Jaeger <aj@suse.de>
1557
1558 * sysdeps/i386/fpu/libm-test-ulps: Update.
1559
51a9ba86
MK
15602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1561
2fdd4f78
AJ
1562 * include/atomic.h (atomic_exchange_and_add): Split into ...
1563 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1564 New atomic macros.
51a9ba86 1565
ba6cba9e
MT
15662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1567
1568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1569
42443a47
JL
15702012-08-13 Jeff Law <law@redhat.com>
1571
1572 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1573 null byte in the output string.
1574
121dce05
JM
15752012-08-10 Joseph Myers <joseph@codesourcery.com>
1576
1577 * sysdeps/unix/sysv/linux/kernel-features.h
1578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1579 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1580 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1582 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1583 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1584 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1585
bf51f568
JL
15862012-08-09 Jeff Law <law@redhat.com>
1587
1588 [BZ #13939]
1589 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1590 When avoid_arena is set, don't retry in the that arena. Pick the
1591 next one, whatever it might be.
1592 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1593 (arena_lock): Pass in new parameter to arena_get2.
1594 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1595 arena_get2.
1596 (__libc_malloc): Unify retrying after main arena failure with
1597 __libc_memalign version.
1598 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1599
f85fa270
L
16002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 [BZ #14166]
1603 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1604 to __redirect_strstr.
1605 (__strstr_sse42): Use typeof __redirect_strstr.
1606 (__strstr_ia32): Likewise.
1607 (__libc_strstr): New prototype.
1608 (strstr): Renamed to ...
1609 (__libc_strstr): This.
1610 (strstr): New strong alias of __libc_strstr.
1611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1613 __redirect_time.
1614 Include <time.h>.
1615 (__libc_time): New prototype.
1616 (time_ifunc): Replace time with __libc_time.
1617 (time): New strong alias and hidden definition of __libc_time.
1618 (__GI_time): Remove strong alias.
1619 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1620 Include <stddef.h>.
1621 (memmove): Redefined to __redirect_memmove.
1622 (__memmove_sse2): Use typeof __redirect_memmove.
1623 (__memmove_ssse3): Likewise.
1624 (__memmove_ssse3_back): Likewise.
1625 (__libc_memmove): New prototype.
1626 (memmove): Renamed to ...
1627 (__libc_memmove): This.
1628 (memmove): New strong alias of __libc_memmove.
1629
33b4a91e
MS
16302012-08-08 Mark Salter <msalter@redhat.com>
1631
1632 * elf/elf.h
1633 (R_MN10300_TLS_GD): Define.
1634 (R_MN10300_TLS_LD): Likewise.
1635 (R_MN10300_TLS_LDO): Likewise.
1636 (R_MN10300_TLS_GOTIE): Likewise.
1637 (R_MN10300_TLS_IE): Likewise.
1638 (R_MN10300_TLS_LE): Likewise.
1639 (R_MN10300_TLS_DTPMOD): Likewise.
1640 (R_MN10300_TLS_DTPOFF): Likewise.
1641 (R_MN10300_TLS_TPOFF): Likewise.
1642 (R_MN10300_SYM_DIFF): Likewise.
1643 (R_MN10300_ALIGN): Likewise.
1644 (R_MN10300_NUM): Update.
1645
b36137f1
JM
16462012-08-08 Joseph Myers <joseph@codesourcery.com>
1647
1648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1649 Remove.
1650
cdd915fd
RM
16512012-08-08 Roland McGrath <roland@hack.frob.com>
1652
a2433aac
RM
1653 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1654
cdd915fd
RM
1655 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1656 sysdeps/unix -> sysdeps/posix move.
1657 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1658
bf9b740a
AM
16592012-08-07 Allan McRae <allan@archlinux.org>
1660
1661 [BZ #14303]
1662 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1663 (SUNOS_CPP): Likewise.
1664 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1665 not found.
1666 (open_input): Call CPP using execvp.
1667
93df14ee
JM
16682012-08-07 Joseph Myers <joseph@codesourcery.com>
1669
1670 * sysdeps/unix/sysv/linux/kernel-features.h
1671 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1674 (__ASSUME_WAITID_SYSCALL): Likewise.
1675 * sysdeps/unix/sysv/linux/dl-execstack.c
1676 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1677 code unconditional.
1678 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1679 conditional code.
1680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1681 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1682 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1683 code.
1684 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1685 unconditional.
1686 [__ASSUME_WAITID_SYSCALL]: Likewise.
1687 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1688
d34689de
RM
16892012-08-07 Roland McGrath <roland@hack.frob.com>
1690
a281decc
RM
1691 * sysdeps/unix/closedir.c: Renamed to ...
1692 * sysdeps/posix/closedir.c: ... here.
1693 * sysdeps/unix/dirfd.c: Renamed to ...
1694 * sysdeps/posix/dirfd.c: ... here.
1695 * sysdeps/unix/dirstream.h: Renamed to ...
1696 * sysdeps/posix/dirstream.h: ... here.
1697 * sysdeps/unix/fdopendir.c: Renamed to ...
1698 * sysdeps/posix/fdopendir.c: ... here.
1699 * sysdeps/unix/opendir.c: Renamed to ...
1700 * sysdeps/posix/opendir.c: ... here.
1701 * sysdeps/unix/readdir.c: Renamed to ...
1702 * sysdeps/posix/readdir.c: ... here.
1703 * sysdeps/unix/readdir_r.c: Renamed to ...
1704 * sysdeps/posix/readdir_r.c: ... here.
1705 * sysdeps/unix/rewinddir.c: Renamed to ...
1706 * sysdeps/posix/rewinddir.c: ... here.
1707 * sysdeps/unix/seekdir.c: Renamed to ...
1708 * sysdeps/posix/seekdir.c: ... here.
1709 * sysdeps/unix/telldir.c: Renamed to ...
1710 * sysdeps/posix/telldir.c: ... here.
1711 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1712 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1713 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1714 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1715
22895b47
RM
1716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1717 * bits/fcntl.h: ... here.
1718
707a53b6
RM
1719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1720 not 0.
1721 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1722 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1723 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1724 (struct flock): Move l_start, l_len to the beginning.
1725 Use __pid_t for l_pid.
1726 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1727 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1728 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1729 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1730 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1731 [__USE_LARGEFILE64] (struct flock64): New type.
1732 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1733
f0bd3e25
RM
1734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1735 * bits/dirent.h: ... here.
1736
d34689de
RM
1737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1738 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1739
6dad2c06
JM
17402012-08-07 Joseph Myers <joseph@codesourcery.com>
1741
1742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1743 Change from 2.6.0 to 2.6.16.
1744 * sysdeps/unix/sysv/linux/configure: Regenerated.
1745 * sysdeps/unix/sysv/linux/kernel-features.h
1746 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1747 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1748 version.
1749 (__ASSUME_UTIMES): Likewise.
1750 (__ASSUME_CLONE_STOPPED): Remove.
1751 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1752 architectures, not kernel version.
1753 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1756 (__ASSUME_WAITID_SYSCALL): Likewise.
1757 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1758 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1759 * README: State 2.6.16 as minimum Linux kernel version. Do not
1760 refer to older versions.
1761
03af9520
RM
17622012-08-06 Roland McGrath <roland@hack.frob.com>
1763
8e49df1d
RM
1764 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1765 Define alphasort64 as an alias.
1766 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1767 Define versionsort64 as an alias.
1768 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1769 Define scandir64 as an alias.
1770 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1771 Define scandirat64 as an alias.
1772 * dirent/alphasort64.c (alphasort64):
1773 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1774 * dirent/versionsort64.c: Likewise.
1775 * dirent/scandir64.c: Likewise.
1776 * dirent/scandirat64.c: Likewise.
1777 * sysdeps/wordsize-64/alphasort.c: File removed.
1778 * sysdeps/wordsize-64/alphasort64.c: File removed.
1779 * sysdeps/wordsize-64/scandir.c: File removed.
1780 * sysdeps/wordsize-64/scandir64.c: File removed.
1781 * sysdeps/wordsize-64/scandirat.c: File removed.
1782 * sysdeps/wordsize-64/scandirat64.c: File removed.
1783 * sysdeps/wordsize-64/versionsort.c: File removed.
1784 * sysdeps/wordsize-64/versionsort64.c: File removed.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1793
1794 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1796 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1798 [defined __arch64__ || defined __sparcv9]
1799 (__INO_T_MATCHES_INO64_T): New macro.
1800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1801 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1802 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1803 * sysdeps/unix/sysv/linux/bits/dirent.h
1804 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1805 (_DIRENT_MATCHES_DIRENT64): New macro.
1806
03af9520
RM
1807 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1808 Define lockf64 as an alias.
1809 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1810 Define fseeko64 as an alias.
1811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1812 Define ftello64 as an alias.
1813 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1814 Define _IO_fgetpos64 and fgetpos64 as aliases.
1815 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1816 Define _IO_fsetpos64 and fsetpos64 as aliases.
1817 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1818 Conditionalize body on this.
1819 * libio/fseeko64.c: Likewise.
1820 * libio/ftello64.c: Likewise.
1821 * libio/iofgetpos64.c: Likewise.
1822 * libio/iofsetpos64.c: Likewise.
1823 * sysdeps/wordsize-64/lockf.c: File removed.
1824 * sysdeps/wordsize-64/lockf64.c: File removed.
1825 * sysdeps/wordsize-64/fseeko.c: File removed.
1826 * sysdeps/wordsize-64/fseeko64.c: File removed.
1827 * sysdeps/wordsize-64/ftello.c: File removed.
1828 * sysdeps/wordsize-64/ftello64.c: File removed.
1829 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1830 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1831 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1832 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1843
1844 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1846 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1848 [defined __arch64__ || defined __sparcv9]
1849 (__OFF_T_MATCHES_OFF64_T): New macro.
1850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1851 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1853 (__OFF_T_MATCHES_OFF64_T): New macro.
1854
c5757acd
L
18552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 * stdlib/secure-getenv.c (__secure_getenv): Replace
1858 GLIBC_2_16 with GLIBC_2_17.
1859
3a31811e
L
18602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1864
faa2bccb
DM
18652012-08-03 David S. Miller <davem@davemloft.net>
1866
1867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1868
85fe1997
JM
18692012-08-03 Joseph Myers <joseph@codesourcery.com>
1870
1871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1872 Remove.
1873 (__ASSUME_CORRECT_SI_PID): Likewise.
1874 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1875 (__ASSUME_TMPFS_NAME): Likewise.
1876 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1877 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1878 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1879 (HAVE_AUX_SECURE): Make definition unconditional.
1880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1881 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1882
4f75b7a0
RM
18832012-08-03 Roland McGrath <roland@hack.frob.com>
1884
1885 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1886 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1887 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1889 __eloop_threshold instead of SYMLOOP_MAX.
1890
1891 * sysdeps/generic/eloop-threshold.h: New file.
1892 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1893 of MAXSYMLINKS.
1894 * elf/chroot_canon.c (chroot_canon): Likewise.
1895
7aab07e4
JM
18962012-08-03 Joseph Myers <joseph@codesourcery.com>
1897
1898 [BZ #13717]
1899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1900 Change to 2.6.0 everywhere.
1901 * sysdeps/unix/sysv/linux/configure: Regenerated.
1902 * sysdeps/unix/sysv/linux/kernel-features.h
1903 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1904 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1905 kernel versions.
1906 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1907 (__ASSUME_FUTEX_REQUEUE): Remove.
1908 (__ASSUME_STATFS64): Define unconditionally.
1909 (__ASSUME_AT_SECURE): Likewise.
1910 (__ASSUME_CORRECT_SI_PID): Likewise.
1911 (__ASSUME_TGKILL): Define without depending on kernel version for
1912 i386.
1913 (__ASSUME_UTIMES): Likewise.
1914 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1915 kernel version.
1916 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1917 (__ASSUME_TMPFS_NAME): Likewise.
1918 * README: Update reference to Linux kernel versions.
1919
b67e9372
MP
19202012-08-02 Marek Polacek <polacek@redhat.com>
1921
1f529f7d 1922 [BZ# 14150]
b67e9372
MP
1923 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1924 libc_cv_asm_type_prefix with %.
1925 * configure: Regenerated.
d2441631
RM
1926 * include/libc-symbols.h: Remove comment about
1927 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1928 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1929 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1930 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1931 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1932 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1935 * elf/tst-unique2mod1.c: Likewise.
1936 * elf/tst-unique1mod2.c: Likewise.
1937 * elf/tst-unique1mod1.c: Likewise.
1938 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1939 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1940 Replace ASM_TYPE_DIRECTIVE with .type.
1941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1942 * sysdeps/i386/sysdep.h: Likewise.
1943 * sysdeps/x86_64/sysdep.h: Likewise.
1944 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1946 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1947 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1948 * sysdeps/powerpc/powerpc32/sysdep.h:
1949 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1952 * sysdeps/i386/fpu/e_powf.S: Likewise.
1953 * sysdeps/i386/fpu/e_expl.S: Likewise.
1954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1956 * sysdeps/i386/fpu/e_pow.S: Likewise.
1957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1961 * sysdeps/i386/fpu/e_log2.S: Likewise.
1962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1964 * sysdeps/i386/fpu/e_powl.S: Likewise.
1965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1967 * sysdeps/i386/fpu/e_logl.S: Likewise.
1968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1969 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1973 * sysdeps/i386/fpu/e_log.S: Likewise.
1974 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1975 * sysdeps/i386/fpu/e_logf.S: Likewise.
1976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1979 * sysdeps/i386/fpu/e_log10.S: Likewise.
1980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1987 * sysdeps/i386/i686/strtok.S: Likewise.
1988 * sysdeps/i386/i386-mcount.S: Likewise.
1989 * sysdeps/i386/strtok.S: Likewise.
1990 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1991 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1996 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1997 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1999 * sysdeps/x86_64/_mcount.S: Likewise.
2000 * sysdeps/x86_64/strtok.S: Likewise.
2001 * sysdeps/sh/_mcount.S: Likewise.
2002
2747bf9a
RM
20032012-08-01 Roland McGrath <roland@hack.frob.com>
2004
2005 * libio/iofopen.c: Include <fcntl.h>.
2006 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2007 (_IO_fopen64, fopen64): Define as aliases.
2008 * libio/iofopen64.c: Include <fcntl.h>.
2009 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2010 Conditionalize body on this.
2011 * sysdeps/wordsize-64/iofopen.c: File removed.
2012 * sysdeps/wordsize-64/iofopen64.c: File removed.
2013
3fb791b8
MP
20142012-08-01 Marek Polacek <polacek@redhat.com>
2015
2016 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2017 Use dlfcn directly instead of a variable.
2018 (binfmt-subdir): Do not define.
2019 (dlfcn): Likewise.
2020
a9f1039f
JM
20212012-08-01 Joseph Myers <joseph@codesourcery.com>
2022
23bddc06
JM
2023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2024 Remove all definitions.
2025 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2026 <kernel-features.h>.
2027 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2028 (miss_F_GETOWN_EX): Remove all definitions.
2029 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2030 macro definition.
2031 [!__ASSUME_FCNTL64]: Remove conditional code.
2032 [__ASSUME_FCNTL64]: Make code unconditional.
2033 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2034 <kernel-features.h>.
2035 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2036 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2037 (lockf64) [__NR_fcntl64]: Make code unconditional.
2038 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2039
a9f1039f
JM
2040 * sysdeps/unix/sysv/linux/kernel-features.h
2041 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2042 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2043 Make code unconditional.
2044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2047 [__NR_vfork]: Make code unconditional.
2048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2051 [__NR_vfork]: Make code unconditional.
2052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2054
09c0ee5f
RM
20552012-08-01 Roland McGrath <roland@hack.frob.com>
2056
48aec5b9
RM
2057 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2058 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2059
cd97c966
RM
2060 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2061 Define mkstemp64 as an alias.
3f55550c
RM
2062 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2063 Define mkstemps64 as an alias.
cd97c966
RM
2064 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2065 Define mkostemp64 as an alias.
b8625cfc
RM
2066 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2067 Define mkostemps64 as an alias.
cd97c966
RM
2068 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2069 Conditionalize body on this.
2070 * misc/mkostemp64.c: Likewise.
b8625cfc 2071 * misc/mkostemps64.c: Likewise.
3f55550c 2072 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2073 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2074 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2075 * sysdeps/wordsize-64/mkostemp.c: File removed.
2076 * sysdeps/wordsize-64/mkstemp.c: File removed.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2081
09c0ee5f
RM
2082 [BZ #14138]
2083 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2085 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2086 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2087
2088 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2089 compat_symbol macros from <shlib-compat.h> rather than the underlying
2090 default_symbol_version and symbol_version macros, so that DEFAULT
2091 lines in shlib-versions are respected.
2092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2093
7e66ee51
FW
20942012-08-01 Florian Weimer <fweimer@redhat.com>
2095
2096 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2097 Declare with warn_unused_result.
2098 (setgid, setregid, setegid, setresgid): Likewise.
2099 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2100 Likewise.
2101 * WUR-REPORT: Remove set*id functions.
2102
d2a54255
PT
21032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2104
2105 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2106
7ecdb005
RM
21072012-07-31 Roland McGrath <roland@hack.frob.com>
2108
789bd351
RM
2109 * include/sys/socket.h (__libc_accept, __libc_accept4):
2110 Add attribute_hidden.
2111 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2112
40ce302d
RM
2113 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2114 use of PTR_MANGLE.
2115 * inet/getnetgrent_r.c (setup): Likewise.
2116
7ecdb005
RM
2117 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2118
e2eabb2c
DM
21192012-07-31 David S. Miller <davem@davemloft.net>
2120
2121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2122
d0419dbf
JM
21232012-07-31 Joseph Myers <joseph@codesourcery.com>
2124
2125 [BZ #13629]
2126 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2127 value between 1.0 and 2.0 and smaller part has absolute value less
2128 than 1.0.
2129 * math/s_clog10.c (__clog10): Likewise.
2130 * math/s_clog10f.c (__clog10f): Likewise.
2131 * math/s_clog10l.c (__clog10l): Likewise.
2132 * math/s_clogf.c (__clogf): Likewise.
2133 * math/s_clogl.c (__clogl): Likewise.
2134 * math/libm-test.inc (clog_test): Add more tests.
2135 (clog10_test): Likewise.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2138
2bc13872
FW
21392012-07-31 Florian Weimer <fweimer@redhat.com>
2140
2141 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2142 Exit with zero in case no suitable GID is found, and write a
2143 message to standard error.
2144
bea9b193
RM
21452012-07-30 Roland McGrath <roland@hack.frob.com>
2146
2147 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2148 rather than to 1.
2149 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2150 (MAXPATHLEN): Removed.
2151 (NOGROUP, NODEV): New macros.
2152 (setbit, clrbit, isset, isclr): New macros.
2153 (howmany, roundup, powerof2): New macros.
2154 (DEV_BSIZE): New macro.
2155
2156 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2157 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2158
2159 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2160 definition on [!__NO_LONG_DOUBLE_MATH].
2161
2162 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2163 PTR_MANGLE and PTR_DEMANGLE.
2164
2165 * socket/accept4.c (accept4): Rename to __libc_accept4.
2166 Define accept4 as a weak alias.
2167
2168 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2169 on [_DIRENT_HAVE_D_TYPE].
2170 * io/ftw.c (ftw_dir): Likewise.
2171
2172 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2173
2174 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2175
2176 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2177 Use the BSD numbers rather than the arbitrary ones we had.
2178 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2179 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2180 (SIGXCPU, SIGXFSZ): New macros.
2181 (_NSIG): Now 32.
2182
2183 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2184 initializer on [_LIBC_REENTRANT].
2185
2186 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2187 definitions inside [_POSIX_MAPPED_FILES].
2188
2189 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2190
2191 * dirent/opendir.c: Include <fcntl.h>.
2192
2193 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2194 (__libc_getspecific): Likewise.
2195 (__libc_key_create): Likewise.
2196
2197 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2198 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2199 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2200 (tmpfile64): Define as alias.
2201 * sysdeps/wordsize-64/tmpfile.c: File removed.
2202 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2205
2206 * stdio-common/vfscanf.c: Include <stdbool.h>.
2207 * nss/makedb.c: Likewise.
2208 * stdio-common/_i18n_number.h: Likewise.
2209 * argp/argp-help.c: Likewise.
2210 * posix/wordexp.c: Likewise.
2211 * sysdeps/posix/spawni.c: Likewise.
2212 * nss/nss_files/files-initgroups.c: Likewise.
2213 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2214 * nss/nss_files/files-initgroups.c: Likewise.
2215 * nss/nss_db/db-netgrp.c: Likewise.
2216 * nss/nss_db/db-initgroups.c: Likewise.
2217 * io/fchmodat.c: Include <sys/stat.h>.
2218
2219 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2220 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2221
2222 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2223 [HAVE_MMAP].
2224
2225 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2226 Add multiple inclusion protection.
2227
e5abc686
DM
22282012-07-27 David S. Miller <davem@davemloft.net>
2229
2230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2231
815e6fa3
GB
22322012-07-27 Gary Benson <gbenson@redhat.com>
2233
2234 [BZ #14298]
2235 * elf/rtld.c: Include <stap-probe.h>.
2236 (dl_main): Added static probes "init_start" and "init_complete".
2237 * elf/dl-load.c: Include <stap-probe.h>.
2238 (lose): Take new parameter "nsid".
2239 Added static probe "map_failed".
2240 (_dl_map_object_from_fd): Pass namespace id to lose.
2241 Added static probe "map_start".
2242 (open_verify): Pass namespace id to lose.
2243 * elf/dl-open.c: Include <stap-probe.h>.
2244 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2245 and "reloc_complete".
2246 * elf/dl-close.c: Include <stap-probe.h>.
2247 (_dl_close_worker): Added static probes "unmap_start" and
2248 "unmap_complete".
2249 * elf/rtld-debugger-interface.txt: New file documenting the above.
2250
9f98c16c
RM
22512012-07-26 Roland McGrath <roland@hack.frob.com>
2252
2253 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2254 rather than a string variable.
2255 * sunrpc/rpc_main.c (h_output): Likewise.
2256 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2257
f3c22df3
PT
22582012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2259
2260 * inet/check_native.c: New file.
2261
3129cfc6
JM
22622012-07-26 Joseph Myers <joseph@codesourcery.com>
2263
da865e95
JM
2264 [BZ #13629]
2265 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2266 if larger part has absolute value 1.0.
2267 * math/s_clog10.c (__clog10): Likewise.
2268 * math/s_clog10f.c (__clog10f): Likewise.
2269 * math/s_clog10l.c (__clog10l): Likewise.
2270 * math/s_clogf.c (__clogf): Likewise.
2271 * math/s_clogl.c (__clogl): Likewise.
2272 * math/libm-test.inc (clog_test): Add more tests.
2273 (clog10_test): Likewise.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2276
3129cfc6
JM
2277 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2278 (pltexit): Likewise.
2279 (La_regs): Likewise.
2280 (La_retval): Likewise.
2281 (int_retval): Likewise.
2282 Update #error for removed macros to refer only to definitions in
2283 tst-audit.h.
2284 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2285 macro.
2286 (pltexit): Likewise.
2287 (La_regs): Likewise.
2288 (La_retval): Likewise.
2289 (int_retval): Likewise.
2290 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2291 macro.
2292 (pltexit): Likewise.
2293 (La_regs): Likewise.
2294 (La_retval): Likewise.
2295 (int_retval): Likewise.
2296 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2297 macro.
2298 (pltexit): Likewise.
2299 (La_regs): Likewise.
2300 (La_retval): Likewise.
2301 (int_retval): Likewise.
2302 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2303 macro.
2304 (pltexit): Likewise.
2305 (La_regs): Likewise.
2306 (La_retval): Likewise.
2307 (int_retval): Likewise.
2308 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2309 macro.
2310 (pltexit): Likewise.
2311 (La_regs): Likewise.
2312 (La_retval): Likewise.
2313 (int_retval): Likewise.
2314 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2315 macro.
2316 (pltexit): Likewise.
2317 (La_regs): Likewise.
2318 (La_retval): Likewise.
2319 (int_retval): Likewise.
2320 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2321 macro definitions in tst-audit.h.
2322 * sysdeps/i386/tst-audit.h: New file.
2323 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2324 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2325 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2326 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2327 * sysdeps/sh/tst-audit.h: Likewise.
2328 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2329 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2330 * sysdeps/x86_64/tst-audit.h: Likewise.
2331
bfc07087
AJ
23322012-07-26 Andreas Jaeger <aj@suse.de>
2333
b1b2aaf8
AJ
2334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2335 ptrace.
2336
2337 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2338 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2339 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2340 PTRACE_O_MASK.
2341 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2344
bfc07087
AJ
2345 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2346 value.
2347
2348 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2349 _sigsys.
2350 (si_call_addr, si_syscall, si_arch): Define new macro.
2351 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2352 _sigsys.
2353 (si_call_addr, si_syscall, si_arch): Define new marcro.
2354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2355 _sigsys.
2356 (si_call_addr, si_syscall, si_arch): Define new macro.
2357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2358 _sigsys.
2359 (si_call_addr, si_syscall, si_arch): Define new macro.
2360
89b4b02f
JM
23612012-07-25 Joseph Myers <joseph@codesourcery.com>
2362
2363 [BZ #13717]
2364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2365 Change to 2.4.21 where previously 2.4.1.
2366 * sysdeps/unix/sysv/linux/configure: Regenerated.
2367 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2368 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2369 Linux kernel version.
2370 (__ASSUME_STD_AUXV): Remove.
2371 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2372 kernel version.
2373 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2374 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2375 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2376 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2377 (__ASSUME_NETLINK_SUPPORT): Likewise.
2378 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2379 (__no_netlink_support): Remove conditional definition.
2380 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2381 Remove.
2382 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2383 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2384 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2385 (if_nameindex_ioctl): Remove.
2386 (if_nameindex_netlink): Do not handle __no_netlink_support.
2387 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2388 code.
2389 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2390 Remove conditional code.
2391 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2392 code.
2393 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2394 unconditional.
2395 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2396 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2397 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2398 Remove.
2399 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2400 [!__ASSUME_STD_AUXV]: Remove conditional code.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2402 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2403 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2405 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2406 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2407 code.
2408 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2410 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2411 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2412 conditional code.
2413 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2415 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2416 code.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2419 conditional code.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2421 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2422 code unconditional.
2423 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2424 conditional code.
2425 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2426 unconditional.
2427 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2428 conditional code.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2430 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2431 unconditional.
2432 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2433 conditional code.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2435 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2436 code unconditional.
2437 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2438 conditional code.
2439 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2440 unconditional.
2441 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2442 conditional code.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2444 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2445 code unconditional.
2446 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2447 conditional code.
2448 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2449 unconditional.
2450 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2451 conditional code.
2452
842a39cd
AS
24532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2454
2455 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2456 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2457 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2458 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2459 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2461 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2462 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2464 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2465 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2466 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2468 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2478
84b3fd84
FW
24792012-07-25 Florian Weimer <fweimer@redhat.com>
2480
2481 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2482 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2483 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2484 Introduce __libc_secure_getenv.
0c7936d5
FW
2485 * stdlib/Versions (2.17): Add secure_getenv
2486 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2487 * stdlib/secure-getenv.c: Rename __secure_getenv to
2488 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2489 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2490 * stdlib/tst-secure-getenv.c: New.
2491 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2492 * manual/startup.texi (Environment Access): Document
2493 secure_getenv.
84b3fd84
FW
2494 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2495 __libc_secure_getenv.
2496 * inet/ruserpass.c (ruserpass): Likewise.
2497 * malloc/mtrace.c (mtrace): Likewise.
2498 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2499 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2500 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2501 * sysdeps/posix/tempname.c: Likewise. Evaluate
2502 HAVE_SECURE_GETENV.
2503 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2504 __secure_getenv to __libc_secure_getenv.
84b3fd84 2505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2507 Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2517
56e49b71
JM
25182012-07-25 Joseph Myers <joseph@codesourcery.com>
2519
2520 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2521 (struct La_i86_retval): Likewise.
2522 (struct La_x86_64_regs): Likewise.
2523 (struct La_x86_64_retval): Likewise.
2524 (struct La_x32_regs): Likewise.
2525 (struct La_x32_retval): Likewise.
2526 (struct La_ppc32_regs): Likewise.
2527 (struct La_ppc32_retval): Likewise.
2528 (struct La_ppc64_regs): Likewise.
2529 (struct La_ppc64_retval): Likewise.
2530 (struct La_sh_regs): Likewise.
2531 (struct La_sh_retval): Likewise.
2532 (struct La_s390_32_regs): Likewise.
2533 (struct La_s390_32_retval): Likewise.
2534 (struct La_s390_64_regs): Likewise.
2535 (struct La_s390_64_retval): Likewise.
2536 (struct La_sparc32_regs): Likewise.
2537 (struct La_sparc32_retval): Likewise.
2538 (struct La_sparc64_regs): Likewise.
2539 (struct La_sparc64_retval): Likewise.
2540 (struct audit_ifaces): Remove architecture-specific pltenter and
2541 pltexit members.
2542 * sysdeps/i386/ldsodefs.h: New file.
2543 * sysdeps/powerpc/ldsodefs.h: Likewise.
2544 * sysdeps/s390/ldsodefs.h: Likewise.
2545 * sysdeps/sh/ldsodefs.h: Likewise.
2546 * sysdeps/sparc/ldsodefs.h: Likewise.
2547 * sysdeps/x86_64/ldsodefs.h: Likewise.
2548
354691b7
MP
25492012-07-25 Marek Polacek <polacek@redhat.com>
2550
2551 [BZ #6808]
2552 * math/libm-test.inc (yn_test): Add another test.
2553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2554 to ERANGE when the result is +-Inf.
2555 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2556 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2557 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2559
bf9e2071
JM
25602012-07-24 Joseph Myers <joseph@codesourcery.com>
2561
2562 * conform/data/time.h-data (NULL): Use macro-constant. Require
2563 equal to 0.
2564 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2565 clock_t.
2566 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2567
57633811
TS
25682012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2569
2570 * configure.in <sysdeps resolving>: Correct printing
2571 Implies_before.
2572 * configure: Regenerate.
2573
c23c33b0
TS
25742012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2575
2576 * math/w_ilogb.c: Include <limits.h>.
2577 * math/w_ilogbl.c: Likewise.
2578
b5982523
JM
25792012-07-20 Joseph Myers <joseph@codesourcery.com>
2580
2581 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2582 va_copy. Document allowing for unavailable va_copy only as
2583 pre-C99 compatibility.
2584 * manual/string.texi (Copying and Concatenation): Use va_copy
2585 instead of __va_copy in concat example.
2586
ac4ea442
PT
25872012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2588
2589 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2590 (__sendto): Use create_address_port. Initialize APORT and deallocate
2591 it if not null.
2592
f98eafbd
PT
2593 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2594 with O_NOLINK passed to __file_name_lookup.
2595
898c7aab
PT
2596 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2597 with O_NOLINK passed to __file_name_lookup.
2598
0ced335a
PT
2599 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2600 negative N or less than NGIDS.
2601
b3404dbd
PT
2602 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2603 type to string_t. Set ERANGE as errno and return it if NAME is not big
2604 enough. Use memcpy instead of strncpy.
2605
0f48659e
JM
26062012-07-20 Joseph Myers <joseph@codesourcery.com>
2607
2608 * elf/Makefile (check-data): Remove.
2609 (localplt.data): New vpath directive.
2610 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2611 instead of $(check-data).
2612 * scripts/data/localplt-generic.data: Move to ...
2613 * sysdeps/generic/localplt.data: ... here.
2614 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2615 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2616 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2618 ... here.
2619 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2621 ... here.
2622 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2624 ... here.
2625 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2627 ... here.
2628 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2630 ... here.
2631 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2633 ... here.
2634
d37cbdaa
AZ
26352012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2636
2637 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2638 PPC32 and PPC64 files.
2639 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2640 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2641
46f85fc2
AK
26422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2643
2644 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2645 __makecontext_ret to ...
2646 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2647 ... here and call exit if uc_link is NULL. New file.
2648 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2649 __makecontext_ret.S.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2651 __makecontext_ret to ...
2652 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2653 ... here and call exit if uc_link is NULL. New file.
2654 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2655 __makecontext_ret.S.
2656
08f43f9b
AK
26572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2658
2659 * elf/elf.h (R_390_IRELATIVE): New definition.
2660 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2661 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2662 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2663 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2664 (elf_machine_lazy_rel): Likewise.
2665 * sysdeps/s390/dl-irel.h: New file.
2666 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2667 * sysdeps/s390/s390-64/memset.S: New asm code.
2668 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2669 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2670 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2671 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2672 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2673 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2675 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2676 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2677 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2678 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2679 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2680 * sysdeps/s390/s390-32/memset.S: New asm code.
2681 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2682
3b05db33
MP
26832012-07-17 Marek Polacek <polacek@redhat.com>
2684
2685 [BZ #14349]
2686 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2687 * sysdeps/s390/s390-64/configure.in: Likewise.
2688 * sysdeps/sparc/configure.in: Likewise.
2689 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2690 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2691 * sysdeps/i386/configure.in: Likewise.
2692 * sysdeps/x86_64/configure.in: Likewise.
2693 * sysdeps/sh/configure.in: Likewise.
2694 * sysdeps/s390/s390-32/configure: Regenerated.
2695 * sysdeps/s390/s390-64/configure: Likewise.
2696 * sysdeps/x86_64/configure: Likewise.
2697 * sysdeps/sh/configure: Likewise.
2698 * sysdeps/powerpc/powerpc64/configure: Likewise.
2699 * sysdeps/powerpc/powerpc32/configure: Likewise.
2700 * sysdeps/sparc/configure: Likwise.
2701 * sysdeps/i386/configure: Likewise.
2702
a66877c6
MP
2703 * elf/dl-open.c: Comment fixes.
2704
cfc82fd8
JM
27052012-07-17 Joseph Myers <joseph@codesourcery.com>
2706
bd29910a
JM
2707 * Makefile [CXX] (check-data): Remove.
2708 [CXX] (c++-types.data): New vpath directive.
2709 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2710 vpath. Do not allow for C++ type data being missing.
2711 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2712 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2713 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2714 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2715 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2716 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2717 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2719 ... here.
2720 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2722 ... here.
2723 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2725 ... here.
2726 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2728 ... here.
2729 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2731 ... here.
2732 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2734 ... here.
2735 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2737 ... here.
2738 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2740
cfc82fd8
JM
2741 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2742 definitions to architecture-specific files.
2743 (TLS_IE): Likewise.
2744 (TLS_LD): Likewise.
2745 (TLS_GD): Likewise.
2746 * sysdeps/i386/tls-macros.h: New file.
2747 * sysdeps/powerpc/tls-macros.h: Likewise.
2748 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2749 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2750 * sysdeps/sh/tls-macros.h: Likewise.
2751 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2752 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2753 * sysdeps/x86_64/tls-macros.h: Likewise.
2754
f7db3170
TS
27552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2756
07cbfc23
TS
2757 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2758 zero value for regular exit case.
2759
f7db3170
TS
2760 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2761 (__start_context): Preserve zero value for regular exit case.
2762
dc97c227
TS
27632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2764 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2765
2766 * manual/setjmp.texi (setcontext): Clarify normal process
2767 termination when uc_link is the null pointer.
2768 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2769 exit call.
2770
d0cd7d02
AS
27712012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2772
2773 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2774 preprocessor. Test for each exception mask separately.
2775
dd318934
AJ
27762012-07-16 Andreas Jaeger <aj@suse.de>
2777
2778 * po/ru.po: Update from translation team.
2779
8048311a
JM
27802012-07-15 Joseph Myers <joseph@codesourcery.com>
2781
2782 * conform/data/string.h-data (NULL): Use macro-constant. Require
2783 equal to 0.
2784 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2785 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2786 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2787 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2789
b637d46e
AJ
27902012-07-13 Andreas Jaeger <aj@suse.de>
2791
2792 * po/fr.po: Update from translation team.
2793
541428fe
MP
27942012-07-12 Marek Polacek <polacek@redhat.com>
2795
2796 [BZ #14173]
2797 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2798 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2799 loop condition.
2800
ec332e94
JM
28012012-07-12 Joseph Myers <joseph@codesourcery.com>
2802
2803 [BZ #13717]
2804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2805 Change to 2.4.1 where previously 2.4.0.
2806 * sysdeps/unix/sysv/linux/configure: Regenerated.
2807 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2808 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2809 version.
2810 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2811 (__ASSUME_AT_CLKTCK): Remove.
2812 (__ASSUME_AT_PAGESIZE): Likewise.
2813 (__ASSUME_AT_XID): Likewise.
2814 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2815 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2816 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2817 unconditionally.
2818 (HAVE_AUX_PAGESIZE): Likewise.
2819 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2820 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2821 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2822
7b6e99be
JB
28232012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2824
2825 [BZ #14307]
2826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2827 the temporary buffer used to invoke __gethostbyname2_r,
2828 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2829 host_data / struct gaih_addrtuple.
2830 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2831 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2832 header file nss/nsswitch.h.
2833 * nss/nsswitch.h (global scope): Add definition of implementation
2834 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2835 resolv/nss_dns/dns-host.c).
2836
608404eb
AJ
28372012-07-11 Andreas Jaeger <aj@suse.de>
2838
2839 * po/fr.po: Update from translation team.
2840
71220aca
AJ
2841 * po/sv.po: Update from translation team
2842 * po/fr.po: Another update from translation team.
2843
28cfe843
AZ
28442012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2845
2846 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2847 for subnormals or multiply small sinh result by itself.
2848 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2850
6b90f981
DM
28512012-07-11 David S. Miller <davem@davemloft.net>
2852
2853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2854
c6825772
AS
28552012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2856
2857 [BZ #14347]
2858 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2859 (INTERNAL_MARK): Shift it here.
2860
7b8e0d49
MP
28612012-07-10 Marek Polacek <polacek@redhat.com>
2862
2863 [BZ #14151]
2864 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2865 libc_cv_asm_global_directive with .globl.
2866 * configure: Regenerated.
2867 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2868 with .globl.
2869 * sysdeps/i386/configure: Regenerated.
2870 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2871 with .globl.
2872 * sysdeps/x86_64/configure: Regenerated.
2873 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2874 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2875 * elf/tst-unique2mod2.c: Likewise.
2876 * elf/tst-unique2mod1.c: Likewise.
2877 * elf/tst-unique1mod2.c: Likewise.
2878 * elf/tst-unique1mod1.c: Likewise.
2879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2880 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2882 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2883 * sysdeps/mach/sysdep.h: Likewise.
2884 * sysdeps/i386/sysdep.h: Likewise.
2885 * sysdeps/i386/i386-mcount.S: Likewise.
2886 * sysdeps/x86_64/_mcount.S: Likewise.
2887 * sysdeps/x86_64/sysdep.h: Likewise.
2888 * sysdeps/sh/_mcount.S: Likewise.
2889 * sysdeps/sh/sysdep.h: Likewise.
2890 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2891 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2892 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2893 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2894 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2895 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2896 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2897 * locale/localeinfo.h: Likewise.
2898 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2899 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2900
6c55cda3
RM
29012012-07-09 Roland McGrath <roland@hack.frob.com>
2902
2903 [BZ #14336]
2904 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2905 system".
2906 * manual/message.texi (The Uniforum approach): Likewise.
2907 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2908 (glibc iconv Implementation): Likewise.
2909
638a572e
JM
29102012-07-09 Joseph Myers <joseph@codesourcery.com>
2911
2912 [BZ #14337]
2913 * math/s_clog.c (__clog): Avoid scaling a value down where that
2914 could result in underflow.
2915 * math/s_clog10.c (__clog10): Likewise.
2916 * math/s_clog10f.c (__clog10f): Likewise.
2917 * math/s_clog10l.c (__clog10l): Likewise.
2918 * math/s_clogf.c (__clogf): Likewise.
2919 * math/s_clogl.c (__clogl): Likewise.
2920 * math/libm-test.inc (clog_test): Add more tests.
2921 (clog10_test): Likewise.
2922 * sysdeps/i386/fpu/libm-test-ulps: Update.
2923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924
261f4859
AS
29252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2926
0abaf3e4
AS
2927 [BZ #14283]
2928 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2929 by 7 not 8 to examine high bit of fractional part.
2930
261f4859
AS
2931 [BZ #14042]
2932 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2933 for call to __mcount_internal.
2934 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2935 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2936 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2937
f17ac40d
JM
29382012-07-06 Joseph Myers <joseph@codesourcery.com>
2939
9ad63c23
JM
2940 [BZ #14154]
2941 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2942 approximation for values within 0x1p-13f of an odd multiple of
2943 pi/4.
2944 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2945 exception. Add more tests.
2946 * sysdeps/i386/fpu/libm-test-ulps: Update.
2947
f17ac40d
JM
2948 [BZ #6778]
2949 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2950 inputs and return -1 for them. Do not check for +Inf in case not
2951 reachable for +Inf.
2952 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2953 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2955 and return -1 for them. Do not check for +Inf in case not
2956 reachable for +Inf.
2957 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2958 define.
2959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2960 and return -1 for them. Do not check for +Inf in case not
2961 reachable for +Inf.
2962 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2963 spurious underflow.
2964 * sysdeps/i386/fpu/libm-test-ulps: Update.
2965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2966
fb21f89b
MF
29672012-07-06 Mike Frysinger <vapier@gentoo.org>
2968
2969 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2970
cdfe2c5e
JM
29712012-07-05 Joseph Myers <joseph@codesourcery.com>
2972
2973 [BZ #14157]
2974 [BZ #14331]
2975 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2976 could result in spurious underflow. Scale down values above
2977 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2978 * math/s_csqrtf.c (__csqrtf): Likewise.
2979 * math/s_csqrtl.c (__csqrtl): Likewise.
2980 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2981 spurious underflow.
2982 * sysdeps/i386/fpu/libm-test-ulps: Update.
2983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2984
70d35b67
AS
29852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2986
704bc459
AS
2987 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2988 xopen-msg.sed.
2989 * catgets/xopen-msg.awk: New file.
2990 * catgets/xopen-msg.sed: Removed.
2991
70d35b67
AS
2992 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2993 po2text.sed.
2994 * intl/po2test.awk: New file.
2995 * intl/po2test.sed: Removed.
2996
ca61cf32
JM
29972012-07-04 Joseph Myers <joseph@codesourcery.com>
2998
2999 [BZ #14328]
3000 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3001 or multiply small sinh result by itself.
3002 * math/s_ctanf.c (__ctanf): Likewise.
3003 * math/s_ctanh.c (__ctanh): Likewise.
3004 * math/s_ctanhf.c (__ctanhf): Likewise.
3005 * math/s_ctanhl.c (__ctanhl): Likewise.
3006 * math/s_ctanl.c (__ctanl): Likewise.
3007 * math/libm-test.inc (ctan_test_tonearest): New function.
3008 (ctan_test_towardzero): Likewise.
3009 (ctan_test_downward): Likewise.
3010 (ctan_test_upward): Likewise.
3011 (ctanh_test_tonearest): Likewise.
3012 (ctanh_test_towardzero): Likewise.
3013 (ctanh_test_downward): Likewise.
3014 (ctanh_test_upward): Likewise.
3015 (main): Call these new functions.
3016 * sysdeps/i386/fpu/libm-test-ulps: Update.
3017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3018
ca48a46a
MF
30192012-07-03 Mike Frysinger <vapier@gentoo.org>
3020
3021 * .gitignore: Delete /ports entry.
3022
9d63d37d
AJ
30232012-07-03 Andreas Jaeger <aj@suse.de>
3024
3025 * po/bg.po: Update from translation team.
3026 * po/cs.po: Likewise.
3027 * po/de.po: Likewise.
3028 * po/hr.po: Likewise.
3029 * po/nl.pl: Likewise.
3030 * po/pl.po: Likewise.
3031 * po/vi.po: Likewise.
3032
370ca3d2
JM
30332012-07-03 Joseph Myers <joseph@codesourcery.com>
3034
95f5a9a8
JM
3035 * Makeconfig [!+link] (+link-before-libc): New variable.
3036 [!+link] (+link-after-libc): Likewise.
3037 [!+link] (+link-tests): Likewise.
3038 [!+link] (+link): Define in terms of $(+link-before-libc) and
3039 $(+link-after-libc).
3040 [!+link-static] (+link-static-before-libc): New variable.
3041 [!+link-static] (+link-static-after-libc): Likewise.
3042 [!+link-static] (+link-static-tests): Likewise.
3043 [!+link-static] (+link-static): Define in terms of
3044 $(+link-static-before-libc) and $(+link-static-after-libc).
3045 [build-shared] (link-libc-before-gnulib): New variable.
3046 [build-shared] (link-libc-tests): Likewise.
3047 [build-shared] (link-libc): Define in terms of
3048 $(link-libc-before-gnulib).
3049 [!build-shared] (link-libc-tests): New variable.
3050 (link-libc-static-tests): New variable.
3051 [!gnulib] (gnulib-arch): New variable.
3052 [!gnulib] (gnulib-tests): Likewise.
3053 [!gnulib] (static-gnulib-arch): Likewise.
3054 [!gnulib] (static-gnulib-tests): Likewise.
3055 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3056 Define with "=" instead of ":=".
3057 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3058 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3059 * Rules (binaries-all-notests): New variable.
3060 (binaries-all-tests): Likewise.
3061 (binaries-static-notests): Likewise.
3062 (binaries-static-tests): Likewise.
3063 (binaries-all): Define using $(binaries-all-notests) and
3064 $(binaries-all-tests).
3065 (binaries-static): Define using $(binaries-static-notests) and
3066 $(binaries-static-tests).
3067 (binaries-shared-tests): New variable.
3068 (binaries-shared-notests): Likewise.
3069 (binaries-shared): Remove variable.
3070 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3071 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3072 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3073 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3074 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3075 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3076 * elf/Makefile (sln-modules): New variable.
3077 (extra-objs): Add $(sln-modules:=.o).
3078 (ldconfig-modules): Add static-stubs.
3079 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3080 * elf/static-stubs.c: New file.
3081
7a845b2c
JM
3082 [BZ #14283]
3083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3084 by 7 not 8 to examine high bit of fractional part. Use volatile
3085 variables when splitting into final array of floats if
3086 __FLT_EVAL_METHOD__ != 0.
3087 * math/libm-test.inc (cos_test): Add another test.
3088 (sin_test): Likewise.
3089 * sysdeps/i386/fpu/libm-test-ulps: Update.
3090
e2283f38
JM
3091 [BZ #14273]
3092 * math/libm-test.inc (cosh_test): Add more tests.
3093
370ca3d2
JM
3094 * version.h (RELEASE): Set to "development".
3095 (VERSION): Set to "2.16.90".
3096
ee9247c3
CD
30972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3098
3099 * NEWS: Update copyright. Remove last-updated date.
3100 Mention math library bug fixes and timezone data changes.
3101 * README: Mention GNU/Hurd, x32, and HPPA support status.
3102
4648c381
TS
31032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3104
3105 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3106
aac78a43
AJ
31072012-06-27 Andreas Jaeger <aj@suse.de>
3108
3109 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3110
ed3dbfad
AJ
31112012-06-25 Andreas Jaeger <aj@suse.de>
3112
3113 * sysdeps/s390/fpu/libm-test-ulps: Update.
3114
4d0ee855
AS
31152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3116 Thomas Schwinge <thomas@codesourcery.com>
3117
3118 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3119 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3121 fanotify_mark.
3122
af1bce34
TS
31232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3124
a9fa33ba
TS
3125 * sysdeps/mach/start.c: Remove file.
3126 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3127 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3128 * sysdeps/sh/init-first.c: Likewise.
3129
58f902b8
TS
3130 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3131 registers for frame unwinding purposes, add CFI directives.
3132 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3134 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3135 Likewise.
3136
1518f58b
TS
3137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3138 __fortify_fail returning.
3139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3140
db9b5059
TS
3141 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3142 sysdeps/sh/____longjmp_chk.S.
3143 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3144 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3145 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3146 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3147
967705fe
TS
3148 * sysdeps/sh/abort-instr.h: New file.
3149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3150 process in case exit returns.
3151
a9def8c4
TS
3152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3153 initialize the GOT register before use.
3154
2a649725
TS
3155 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3156 calculation of ARGC > 4.
3157
af1bce34
TS
3158 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3159 meaningful names to some local labels.
3160
d230f50a
KK
31612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3162 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3163
3164 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3165 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3166 (__arch_compare_and_exchange_val_16_acq): Likewise.
3167 (__arch_compare_and_exchange_val_32_acq): Likewise.
3168 (atomic_exchange_and_add): Fix gUSA sequence.
3169 (atomic_add): Likewise.
3170 (atomic_add_negative): Likewise.
3171 (atomic_add_zero): Likewise.
3172 (atomic_bit_test_set): Likewise.
3173
0479b305
AS
31742012-06-22 Andreas Schwab <schwab@redhat.com>
3175
3176 [BZ #13579]
3177 * include/link.h (struct link_map): Add l_free_initfini.
3178 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3179 l_initfini.
3180 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3181 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3182 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3183 set.
3184
0e3933b9
CD
31852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3186
3187 * configure.in: Use AC_LANG_SOURCE.
3188 * configure: Regenerate.
3189
4248b1b1
RM
31902012-06-22 Roland McGrath <roland@hack.frob.com>
3191
3192 * configure.in (libc_cv_localstatedir): New substituted variable.
3193 * configure: Regenerated.
3194 * config.make.in (localstatedir): New variable, substituted from
3195 libc_cv_localstatedir.
3196 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3197 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3198 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3199 * sysdeps/gnu/configure: Regenerated.
3200
006dd861
JL
32012012-06-21 Jeff Law <law@redhat.com>
3202
3203 [BZ #14277]
3204 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3205 free. Simplify list management for _LIBC case.
3206
79662d42
JM
32072012-06-21 Joseph Myers <joseph@codesourcery.com>
3208
b7abb4bf
JM
3209 [BZ #14273]
3210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3211 Clear sign bit of 64-bit integer value before comparing against
3212 overflow value.
3213
79662d42
JM
3214 * sysdeps/mach/configure: Regenerated.
3215
1f150908
L
32162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 [BZ #14278]
3219 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3220
28363bbf
JL
32212012-06-21 Jeff Law <law@redhat.com>
3222
3223 [BZ #13882]
3224 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3225 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3227 * elf/dl-open.c (dl_open_worker): Likewise.
3228
09615db4
CD
32292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3230
3231 * scripts/list-sources.sh: Scan PORTS for translations.
3232 * po/libc.pot: Regenerated.
3233
2174c6dd
AJ
32342012-06-21 Andreas Jaeger <aj@suse.de>
3235
3236 [BZ #12194]
3237 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3238 warning.
3239 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3240 * bits/byteswap-16.h (__bswap_16): Likewise.
3241 * bits/byteswap.h (__bswap_constant_16): Likewise.
3242
3ee947b1
L
32432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3244
3245 [BZ #14117]
a2f34833
L
3246 * sysdeps/i386/fpu_control.h: Removed.
3247 * sysdeps/x86_64/fpu_control.h: Moved to ...
3248 * sysdeps/x86/fpu_control.h: Here.
3249
3ee947b1
L
3250 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3251 (_FPU_SETCW): Likewise.
3252
ed1825f8
L
32532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3254
25f1282a
L
3255 [BZ #14117]
3256 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3257 * sysdeps/x86/fpu/bits/mathinline.h: This.
3258 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3259
ed1825f8
L
3260 [BZ #14050]
3261 [BZ #14117]
3262 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3263 functions if __x86_64__ is defined.
3264
36d54b74
CLT
32652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3266
3267 * string/endian.h: Add !__ASSEMBLER__ condition for including
3268 conversion interfaces.
3269
10285c21
JM
32702012-06-15 Joseph Myers <joseph@codesourcery.com>
3271
3272 [BZ #14241]
3273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3274 of ABS(x) in calculating zero to negative powers other than odd
3275 integers.
3276 * math/libm-test.inc (pow_test): Add more tests.
3277
06c5abbd
AJ
32782012-06-15 Andreas Jaeger <aj@suse.de>
3279
3280 * manual/contrib.texi (Contributors): Update entry of Liubov
3281 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3282 Machado Filho.
3283
a3aeac40
CH
32842012-06-15 Cyril Hrubis <metan@ucw.cz>
3285
3286 * string/string.h: Add __wur to GNU version of strerror_r.
3287
49bdf4c1
L
32882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3289
3290 [BZ #14229]
3291 * string/Makefile (tests): Add tst-strtok_r.
3292 * string/tst-strtok_r.c: New file.
3293 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3294 RAX_LP/RDX_LP on SAVE_PTR.
3295
834f9b8d
RM
32962012-06-14 Roland McGrath <roland@hack.frob.com>
3297
3298 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3299
75fa1921
JM
33002012-06-14 Joseph Myers <joseph@codesourcery.com>
3301
3302 * libm_test.inc (csqrt_test): Allow more spurious underflow
3303 exceptions.
3304 (j0_test): Likewise.
3305 (j1_test): Likewise.
3306 (y0_test): Likewise.
3307 (y1_test): Likewise.
3308
771766df
CD
33092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3310
3311 * po/Makefile (libc.pot): Use UTF-8 charset.
3312
ceb9e56b
PP
33132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3314
3315 [BZ #14210]
3316 Suppress sign-conversion warning from FD_SET.
3317 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3318 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3319 not unsigned long int.
3320 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3321
ddb28975
L
33222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3323
3324 [BZ #14050]
3325 [BZ #14117]
3326 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3327 __extern_always_inline instead of __extern_inline.
3328 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3329 (__signbit): Likewise.
3330 (__signbitl): Support C++ namespace.
3331 (lrintf): New inline function.
3332 (lrint): Likewise.
3333 (llrintf): Likewise.
3334 (llrint): Likewise.
3335 (fmaxf): Likewise.
3336 (fmax): Likewise.
3337 (fminf): Likewise.
3338 (fmin): Likewise.
3339 (rint): Likewise.
3340 (rintf): Likewise.
3341 (ceil): Likewise.
3342 (ceilf): Likewise.
3343 (floor): Likewise.
3344 (floorf): Likewise.
3345 (nearbyint): Likewise.
3346 (nearbyintf): Likewise.
3347
d7b4fb26
TS
33482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3349
3350 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3351 non-default versions.
3352
eb55f5c2
RM
33532012-06-11 Roland McGrath <roland@hack.frob.com>
3354
3355 [BZ #14218]
3356 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3357
366af02c
TS
33582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3359
99ff6e5c
TS
3360 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3361 (FE_UPWARD, FE_DOWNWARD): Don't define.
3362 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3364
366af02c
TS
3365 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3366 reading it.
3367 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3369
793ea851
KK
33702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3371
3372 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3374 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3376
a728a38f
L
33772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3378
3379 [BZ #14117]
c08010c7
L
3380 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3381 * sysdeps/i386/fpu/Implies: New file.
3382 * sysdeps/x86_64/fpu/Implies: Likewise.
3383 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3384 * sysdeps/x86/fpu/bits/fenv.h: This.
3385
a728a38f
L
3386 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3387 __SSE_MATH__.
3388
6e230d11
SP
33892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
3391 [BZ #14134]
3392 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3393 character 0xffff that matches the last element of the
3394 conversion table.
3395
1b671feb
AZ
33962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3397
3398 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3399 fmodl commit.
3400
6043738b
AZ
34012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402
3403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3404 values higher than 25.6283.
3405
34ae0b32
AZ
34062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3409 subnormal exponent extraction and add some __builtin_expect.
3410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3411 Fix for subnormal mantissa calculation.
3412
1214ec8f
MF
34132012-06-04 Mike Frysinger <vapier@gentoo.org>
3414
3415 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3416 cpu2 is -1 and errno is not ENOSYS.
3417
f3d1f93c
L
34182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 [BZ #14117]
0e4a3cd7
L
3421 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3422 * sysdeps/x86/bits/string.h: This.
3423 * sysdeps/x86_64/bits/string.h: Removed.
3424
6704c645
L
3425 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3426 if not compiling for x86-64, but compiling for >= i486.
3427
48495318
L
3428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3429 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3430
14adcbfc
L
3431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3432 New macro from Linux kernel 3.4.0.
3433 (FP_XSTATE_MAGIC2): Likewise.
3434 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3435 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3436 (struct _fpx_sw_bytes): New struct.
3437 (struct _xsave_hdr): Likewise.
3438 (struct _ymmh_state): Likewise.
3439 (struct _xstate): Likewise.
3440
68e408ab
L
3441 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3442 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3444 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3445 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3446 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3447
f3d1f93c
L
3448 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3449 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3450 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3451 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3452 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3453 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3454
d9dc34cd
TMQMF
34552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3456
3457 [BZ #13743]
3458 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3459 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3460 (sysdep_headers): Include sys/platform/ppc.h.
3461 * sysdeps/powerpc/test-gettimebase.c: Test for
3462 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3463 * manual/Makefile (appendices): Include platform.texi.
3464 * manual/contrib.texi (Contributors): Update @node pointers.
3465 * manual/maint.texi (Maintenance): Likewise.
3466 (Platform): New node.
3467 * manual/platform.texi: New file. Document the new features.
3468
4af3879c
SP
34692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 Jakub Jelinek <jakub@redhat.com>
3471
3472 [BZ #14188]
3473 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3474 where __builtin_expect is unavailable.
3475
2fd6ff13
DM
34762012-06-03 David S. Miller <davem@davemloft.net>
3477
3478 * stdlib/longlong.h: Updated from GCC.
3479
173f7220
AS
34802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3481
3482 [BZ #14042]
3483 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3484 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3485 __mcount_internal.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3487 (GLIBC_2.16): Likewise.
3488
f34a1c6f
L
34892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3490
3491 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3492
88a4576f
JM
34932012-06-01 Joseph Myers <joseph@codesourcery.com>
3494
ea32bcdd
JM
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3496 (default-abi): New variable.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3498 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3499 variable.
3500 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3501 Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3503 Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3505 Likewise.
3506
88a4576f
JM
3507 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3508 definition. Document in comment.
3509
402fe938
DM
35102012-06-01 David S. Miller <davem@davemloft.net>
3511
3512 * stdlib/longlong.h: Updated from GCC.
3513
3553723f
L
35142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 [BZ #14117]
3bd872c4
L
3517 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3518 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3519 sys/debugreg.h sys/io.h here.
3520 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3521 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3522 sys/io.h.
3523 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3524 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3525 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3526 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3527 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3528 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3529
3553723f
L
3530 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3531 Define only if __x86_64__ is defined.
3532
4842e4fe
JM
35332012-06-01 Joseph Myers <joseph@codesourcery.com>
3534
c5bfe3d5
JM
3535 [BZ #14048]
3536 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3537 Use int64_t for variable i.
3538 * math/libm-test.inc (fmod_test): Add more tests.
3539
4842e4fe
JM
3540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3541 z computation is not scheduled after fetestexcept.
3542 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3543 Use math_force_eval instead of asm to ensure calculation scheduled
3544 before exception test.
3545 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3546 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3547
efb73488
AJ
35482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3549
3550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3551 computation is not scheduled after fetestexcept.
3552
29bcce7c
L
35532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 [BZ #14117]
3556 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3557 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3558
73a68f94
AZ
35592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560
3561 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3562 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3563
67b6df78
L
35642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3565
edf2933a 3566 [BZ #14117]
ebc64a18
L
3567 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3568 <bits/wordsize.h>.
3569 (__WCHAR_MIN): Support __WORDSIZE == 64.
3570 (__WCHAR_MAX): Likewise.
3571
edf2933a
L
3572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3574
57c6cf40
L
3575 [BZ #14183]
3576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3577 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3578
67b6df78 3579 [BZ #14117]
8eb6281e
L
3580 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3581 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3582
aac639f4
L
3583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3584 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3585
67b6df78
L
3586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3587 Defined to 1 if __x86_64__ isn't defined.
3588 (_STAT_VER_LINUX_OLD): New.
3589 (st_atime): Remove duplicate.
3590 (st_mtime): Likewise.
3591 (st_ctime): Likewise.
3592
1c2cfe81
DM
35932012-05-31 David S. Miller <davem@davemloft.net>
3594
3595 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3596 entries.
3597
5be8418c
AS
35982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3599
e7725326
AS
3600 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3601 gen-libm-test.pl.
3602
5be8418c
AS
3603 [BZ #14132]
3604 * elf/dl-reloc.c: Include <_itoa.h>.
3605 (_dl_reloc_bad_type): Remove use of INTUSE.
3606 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3607 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3608 * stdio-common/psiginfo.c (psiginfo): Likewise.
3609 * stdio-common/psignal.c (psignal): Likewise.
3610 * string/strsignal.c (strsignal): Likewise.
3611 * include/signal.h (_sys_siglist): Declare hidden proto.
3612 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3613 INTVARDEF with libc_hidden_data_def.
3614 * stdio-common/itoa-udigits.c: Likewise.
3615 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3616 (_itoa_lower_digits_internal): Remove declaration.
3617 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3618 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3619 (_sys_sigabbrev_internal): Remove aliases.
3620 (_sys_siglist): Define hidden alias.
3621
507352f1
MT
36222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3623
3624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3625 bits/sysctl.h.
3626
42bbb1c3
L
36272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3628
3629 [BZ #14117]
6bd784b6
L
3630 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3631 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3632
8bca20f0
L
3633 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3634 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3635 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3636 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3638 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3639
f9e890a9
L
3640 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3641 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3642 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3643
471101a1
L
3644 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3645 with __addr.
3646 (insw): Likewise.
3647 (insl): Likewise.
3648 (outsb): Likewise.
3649 (outsw): Likewise.
3650 (outsl): Likewise.
3651
6451c862
L
3652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3654 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3655
a254b8c9
L
3656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3657 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3659 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3660 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3661 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3662
b8dfdd92
L
3663 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3664 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3665
578cd270
L
3666 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3667 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3668
de662f5f
L
3669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3671 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3672
25653439
L
3673 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3674 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3675 to ...
3676 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3677
6bad24a0
L
3678 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3679 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3680 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3681
42bbb1c3
L
3682 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3683 for x86-64.
3684 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3685
2d10d547
JM
36862012-05-31 Joseph Myers <joseph@codesourcery.com>
3687
3688 * math/math.h (M_El): Use two more decimal places.
3689 (M_LOG2El): Likewise.
3690 (M_LOG10El): Likewise.
3691 (M_LN2l): Likewise.
3692 (M_LN10l): Likewise.
3693 (M_PIl): Likewise.
3694 (M_PI_2l): Likewise.
3695 (M_PI_4l): Likewise.
3696 (M_1_PIl): Likewise.
3697 (M_2_PIl): Likewise.
3698 (M_2_SQRTPIl): Likewise.
3699 (M_SQRT2l): Likewise.
3700 (M_SQRT1_2l): Likewise.
3701
f230c29b
DM
37022012-05-31 David S. Miller <davem@davemloft.net>
3703
3704 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3705 values between float registers.
3706 * sysdeps/sparc/sparc64/memset.S: Likewise.
3707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3708
fed806c3
MF
37092012-05-31 Mike Frysinger <vapier@gentoo.org>
3710
3711 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3712 -D_FORTIFY_SOURCE=1.
3713 (CPPFLAGS-tst-longjmp_chk.c): Define.
3714 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3715 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3716 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3717 CFLAGS-tst-wchar-h.c.
3718
30917259
MP
37192012-05-31 Marek Polacek <polacek@redhat.com>
3720
3721 [BZ #14132]
3722 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3723 __endmntent_internal): Remove declaration.
3724 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3725 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3726 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3727
1c58d5dc
DM
37282012-05-30 David S. Miller <davem@davemloft.net>
3729
3730 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3731 (___Q_simulate_exceptions): Use real FP ops rather than writing
3732 into the %fsr.
3733 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3734 Likewise.
3735
7dc00e0d
L
37362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3737
3738 [BZ #14117]
0bd53985
L
3739 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3740 * sysdeps/x86/bits/xtitypes.h: This.
3741
3a257e66
L
3742 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3743 * sysdeps/x86/bits/wordsize.h: This.
3744
62f62904
L
3745 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3746 * sysdeps/x86/bits/huge_vall.h: This.
3747
404fe9d9
L
3748 * sysdeps/i386/bits/select.h: Removed.
3749 * sysdeps/x86_64/bits/select.h: Renamed to ...
3750 * sysdeps/x86/bits/select.h: This.
3751
d48d0446
L
3752 * sysdeps/i386/bits/setjmp.h: Removed.
3753 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3754 * sysdeps/x86/bits/setjmp.h: This.
3755
7dc00e0d
L
3756 * sysdeps/i386/bits/mathdef.h: Removed.
3757 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3758 * sysdeps/x86/bits/mathdef.h: This.
3759
03277f8f
AS
37602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3761
3762 [BZ #14132]
3763 * include/sys/socket.h (__connect_internal)
3764 (__libc_sa_len_internal): Remove declaration.
3765 (__connect, __libc_sa_len): Declare hidden_proto.
3766 (SA_LEN): Remove use of INTUSE.
3767 * socket/connect.c: Add libc_hidden_def.
3768 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3769 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3770 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3771 alias.
3772 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3774 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3775 of adding _internal alias.
3776
13764867
L
37772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3778
3779 [BZ #14117]
6bd97696
L
3780 * sysdeps/i386/bits/link.h: Removed.
3781 * sysdeps/i386/bits/linkmap.h: Likewise.
3782 * sysdeps/x86_64/bits/link.h: Renamed to ...
3783 * sysdeps/x86/bits/link.h: This.
3784 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3785 * sysdeps/x86/bits/linkmap.h: This.
3786
f726f0bb
L
3787 * sysdeps/i386/bits/endian.h: Removed.
3788 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3789 * sysdeps/x86/bits/endian.h: This.
3790
13764867
L
3791 * sysdeps/i386/bits/byteswap.h: Removed.
3792 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3793 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3794 * sysdeps/x86/bits/byteswap.h: This.
3795 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3796 * sysdeps/x86/bits/byteswap-16.h: This.
3797 * sysdeps/i386/Implies: Add x86.
3798 * sysdeps/x86_64/Implies: Likewise.
3799
ae251b0b
DM
38002012-05-30 David S. Miller <davem@davemloft.net>
3801
3802 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3803 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3805 (FP_TRAPPING_EXCEPTIONS): Define.
3806 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3807 (FP_TRAPPING_EXCEPTIONS): Define.
3808 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3809 subnormals only when inexact has been signalled or underflow
3810 exceptions are enabled.
3811 (_FP_PACK_CANONICAL): Likewise.
3812
d5c90867
L
38132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 [BZ #14183]
3816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3817 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3818
63f1549e
RH
38192012-05-30 Richard Henderson <rth@twiddle.net>
3820
8d8f2279
RH
3821 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3822 with #ifndef NOT_IN_libc.
3823
63f1549e
RH
3824 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3825 marked to avoid plt entry.
3826
0ab0291b
L
38272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3828
3829 [BZ #14112]
3830 * Makeconfig (default-abi): New macro.
3831 (abi-includes): Likewise.
3832 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3833 $(abi-$(default-abi)-lib-soname) for soname if defined.
3834 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3835 abi-variants.
3836 * Makefile (installed-stubs): Likewise.
3837 * include/stubs-biarch.h: Removed.
3838 * scripts/lib-names.awk: Only handle one library at a time.
3839 * scripts/soversions.awk: Remove WORDSIZE support.
3840 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3841 entries.
3842 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3843 Removed.
3844 (syscall-list-default-condition): Likewise.
3845 (syscall-list-default-condition): Likewise.
3846 (syscall-list-includes): Likewise.
3847 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3848 syscall-list-* with abi-*. Handle undefined abi-variants.
3849 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3850 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3851 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3854 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3855 Removed.
3856 (syscall-list-32-options): Likewise.
3857 (syscall-list-32-condition): Likewise.
3858 (syscall-list-64-options): Likewise.
3859 (syscall-list-64-condition): Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3861 macro.
3862 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3863 Renamed to ...
3864 (abi-*): This.
3865 (abi-64-ld-soname): New macro.
3866 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3867 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3868 Renamed to ...
3869 (abi-*): This.
3870 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3871 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3872
4da0431d
JM
38732012-05-30 Joseph Myers <joseph@codesourcery.com>
3874
3a85279c
JM
3875 * sysdeps/unix/sysv/linux/kernel-features.h
3876 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3877 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3878 include <kernel-features.h>.
3879 [!__NR_ftruncate64]: Remove conditional code.
3880 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3881 [__NR_ftruncate64]: Make code unconditional.
3882 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3883 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3884 include <kernel-features.h>.
3885 [!__NR_ftruncate64]: Remove conditional code.
3886 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3887 [__NR_ftruncate64]: Make code unconditional.
3888 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3890 include <kernel-features.h>.
3891 [!__NR_ftruncate64]: Remove conditional code.
3892 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3893 [__NR_ftruncate64]: Make code unconditional.
3894 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3896 include <kernel-features.h>.
3897 [!__NR_ftruncate64]: Remove conditional code.
3898 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3899 [__NR_ftruncate64]: Make code unconditional.
3900 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3901
4da0431d
JM
3902 * configure.in (libc_cv_fpie): Weaken to a compile test using
3903 LIBC_TRY_CC_OPTION.
3904 * configure: Regenerated.
3905
11ef492c
AK
39062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3907
3908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3912 Refreshed.
3913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3919 Refreshed.
3920
d66ef399
DM
39212012-05-27 David S. Miller <davem@davemloft.net>
3922
3923 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3924 (___Q_zero): New.
3925 (__Q_simulate_exceptions): Return void. Change to simulate
3926 exceptions by writing into the %fsr.
3927 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3928 (__Qp_handle_exceptions): Likewise.
3929 (numbers): Delete.
3930 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3931 __Qp_handle_exceptions.
3932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3933 __Qp_handle_exceptions.
3934 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3935 as unused and give dummy FP_RND_NEAREST initializer.
3936 (FP_INHIBIT_RESULTS): Define.
3937 (___Q_simulate_exceptions): Update declaration.
3938 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3939 formatting.
3940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3941 as unused and give dummy FP_RND_NEAREST initializer.
3942 (__Qp_handle_exceptions): Update declaration.
3943 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3944 formatting.
3945
04fb54b5
TS
39462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3947
3948 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3949 the temporary FPU control word.
3950 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3951 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3953 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3954 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3955 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3956 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3957 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3958 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3959 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3960 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3961
3f99608f
KK
39622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3963
3964 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3965 fields.
3966
65a4de4e
CLT
39672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3968
3969 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3970 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3971 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3972 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3973 Likewise.
3974 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3975 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3976 Likewise.
3977
15749d40
UD
39782012-05-27 Ulrich Drepper <drepper@gmail.com>
3979
3980 * po/h.po: Update from translation team.
3981
25dbcb27
AS
39822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3983
3d3f8e55
AS
3984 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3985
25dbcb27
AS
3986 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3987 handling of denormals.
3988 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3989 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3990 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3995 Likewise.
3996
7ad47a80 39972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3998
3999 [BZ #14152]
4000 * math/libm-test.inc (fma_test): Don't always expect underflow
4001 exception.
4002
9c6ea9fa
SP
40032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4004
4005 [BZ #12416]
4006 * elf/tst-execstack.c: Include stackinfo.h.
4007 (do_test): Adjust test case to ensure that pthread_getattr_np
4008 behaviour remains the same after marking stack executable.
4009
a8239222
JM
40102012-05-25 Joseph Myers <joseph@codesourcery.com>
4011
4012 * sysdeps/unix/sysv/linux/kernel-features.h
4013 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4014 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4015 kernel-features.h.
4016 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4017 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4018 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4019 kernel-features.h.
4020 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4021 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4022
918b5606
L
40232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 * configure.in: Define the default includes to being none.
4026 * configure: Regenerated.
4027
3a097cc7
RM
40282012-05-25 Roland McGrath <roland@hack.frob.com>
4029
8422c9a5
RM
4030 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4031 * sysdeps/x86_64/setjmp.S: Likewise.
4032 * sysdeps/i386/bsd-setjmp.S: Likewise.
4033 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4034 * sysdeps/i386/setjmp.S: Likewise.
4035 * sysdeps/i386/__longjmp.S: Likewise.
4036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4037 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4038
3a097cc7
RM
4039 * include/stap-probe.h: New file.
4040 * configure.in: Handle --enable-systemtap.
4041 * configure: Regenerated.
4042 * config.h.in (USE_STAP_PROBE): New #undef.
4043 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4044 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4045 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4046
21708942
JM
40472012-05-25 Joseph Myers <joseph@codesourcery.com>
4048
4049 [BZ #13717]
4050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4051 to 2.4.0 where earlier.
4052 * sysdeps/unix/sysv/linux/configure: Regenerated.
4053 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4054 <kernel-features.h>.
4055 [__ASSUME_32BITUIDS]: Make code unconditional.
4056 [!__ASSUME_32BITUIDS]: Remove conditional code.
4057 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4058 <kernel-features.h>.
4059 [__ASSUME_32BITUIDS]: Make code unconditional.
4060 [!__ASSUME_32BITUIDS]: Remove conditional code.
4061 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4062 [__ASSUME_32BITUIDS]: Make code unconditional.
4063 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4064 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4065 <kernel-features.h>.
4066 [__ASSUME_32BITUIDS]: Make code unconditional.
4067 [!__ASSUME_32BITUIDS]: Remove conditional code.
4068 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4069 <kernel-features.h>.
4070 [__ASSUME_32BITUIDS]: Make code unconditional.
4071 [!__ASSUME_32BITUIDS]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4073 <kernel-features.h>.
4074 [__ASSUME_32BITUIDS]: Make code unconditional.
4075 [!__ASSUME_32BITUIDS]: Remove conditional code.
4076 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4077 <kernel-features.h>.
4078 [__ASSUME_32BITUIDS]: Make code unconditional.
4079 [!__ASSUME_32BITUIDS]: Remove conditional code.
4080 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4081 <kernel-features.h>.
4082 [__ASSUME_32BITUIDS]: Make code unconditional.
4083 [!__ASSUME_32BITUIDS]: Remove conditional code.
4084 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4085 <kernel-features.h>.
4086 [__ASSUME_32BITUIDS]: Make code unconditional.
4087 [!__ASSUME_32BITUIDS]: Remove conditional code.
4088 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4089 <kernel-features.h>.
4090 [__ASSUME_32BITUIDS]: Make code unconditional.
4091 [!__ASSUME_32BITUIDS]: Remove conditional code.
4092 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4093 <kernel-features.h>.
4094 [__ASSUME_32BITUIDS]: Make code unconditional.
4095 [!__ASSUME_32BITUIDS]: Remove conditional code.
4096 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4097 <kernel-features.h>.
4098 [__ASSUME_32BITUIDS]: Make code unconditional.
4099 [!__ASSUME_32BITUIDS]: Remove conditional code.
4100 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4101 <kernel-features.h>.
4102 [__ASSUME_32BITUIDS]: Make code unconditional.
4103 [!__ASSUME_32BITUIDS]: Remove conditional code.
4104 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4105 <kernel-features.h>.
4106 [__NR_setresgid] (__setresgid): Do not declare.
4107 [__ASSUME_32BITUIDS]: Make code unconditional.
4108 [!__ASSUME_32BITUIDS]: Remove conditional code.
4109 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4110 <kernel-features.h>.
4111 [__NR_setresuid] (__setresuid): Do not declare.
4112 [__ASSUME_32BITUIDS]: Make code unconditional.
4113 [!__ASSUME_32BITUIDS]: Remove conditional code.
4114 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4115 <kernel-features.h>.
4116 [__ASSUME_32BITUIDS]: Make code unconditional.
4117 [!__ASSUME_32BITUIDS]: Remove conditional code.
4118 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4119 <kernel-features.h>.
4120 [__ASSUME_32BITUIDS]: Make code unconditional.
4121 [!__ASSUME_32BITUIDS]: Remove conditional code.
4122 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4123 <kernel-features.h>.
4124 [__ASSUME_32BITUIDS]: Make code unconditional.
4125 [!__ASSUME_32BITUIDS]: Remove conditional code.
4126 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4127 <kernel-features.h>.
4128 [__ASSUME_32BITUIDS]: Make code unconditional.
4129 [!__ASSUME_32BITUIDS]: Remove conditional code.
4130 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4131 <kernel-features.h>.
4132 [__ASSUME_32BITUIDS]: Make code unconditional.
4133 [!__ASSUME_32BITUIDS]: Remove conditional code.
4134 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4135 <kernel-features.h>.
4136 [__ASSUME_32BITUIDS]: Make code unconditional.
4137 [!__ASSUME_32BITUIDS]: Remove conditional code.
4138 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4139 <kernel-features.h>.
4140 [__ASSUME_32BITUIDS]: Make code unconditional.
4141 [!__ASSUME_32BITUIDS]: Remove conditional code.
4142 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4143 <kernel-features.h>.
4144 [__ASSUME_32BITUIDS]: Make code unconditional.
4145 [!__ASSUME_32BITUIDS]: Remove conditional code.
4146 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4147 <kernel-features.h>.
4148 [__ASSUME_32BITUIDS]: Make code unconditional.
4149 [!__ASSUME_32BITUIDS]: Remove conditional code.
4150 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4151 <kernel-features.h>.
4152 [__ASSUME_32BITUIDS]: Make code unconditional.
4153 [!__ASSUME_32BITUIDS]: Remove conditional code.
4154 * sysdeps/unix/sysv/linux/kernel-features.h
4155 (__ASSUME_SETRESUID_SYSCALL): Remove.
4156 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4157 (__ASSUME_32BITUIDS): Likewise.
4158 (__ASSUME_LDT_WORKS): Likewise.
4159 (__ASSUME_O_DIRECTORY): Likewise.
4160 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4161 architecture but not kernel version.
4162 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4163 (__ASSUME_MMAP2_SYSCALL): Likewise.
4164 (__ASSUME_STAT64_SYSCALL): Likewise.
4165 (__ASSUME_IPC64): Likewise.
4166 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4167 <kernel-features.h>.
4168 [__ASSUME_32BITUIDS]: Make code unconditional.
4169 [!__ASSUME_32BITUIDS]: Remove conditional code.
4170 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4171 <kernel-features.h>.
4172 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4173 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4174 132096]: Remove conditional code.
4175 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4176 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4177 <kernel-features.h>.
4178 [__ASSUME_32BITUIDS]: Make code unconditional.
4179 [!__ASSUME_32BITUIDS]: Remove conditional code.
4180 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4181 <kernel-features.h>.
4182 [__ASSUME_32BITUIDS]: Make code unconditional.
4183 [!__ASSUME_32BITUIDS]: Remove conditional code.
4184 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4185 <kernel-features.h>.
4186 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4187 unconditional.
4188 (__setresgid): Do not declare.
4189 [__ASSUME_32BITUIDS]: Make code unconditional.
4190 [!__ASSUME_32BITUIDS]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4192 <kernel-features.h>.
4193 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4194 unconditional.
4195 (__setresuid): Do not declare.
4196 [__ASSUME_32BITUIDS]: Make code unconditional.
4197 [!__ASSUME_32BITUIDS]: Remove conditional code.
4198 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4199 <kernel-features.h>.
4200 [__ASSUME_32BITUIDS]: Make code unconditional.
4201 [!__ASSUME_32BITUIDS]: Remove conditional code.
4202 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4203 <kernel-features.h>.
4204 [__ASSUME_32BITUIDS]: Make code unconditional.
4205 [!__ASSUME_32BITUIDS]: Remove conditional code.
4206
a386f1cc
RH
42072012-05-25 Richard Henderson <rth@twiddle.net>
4208
4209 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4210 dl_hwcap to ifunc resolver.
4211 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4212 elf_ifunc_invoke.
4213 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4214 dl_hwcap to ifunc resolver.
4215 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4216
b6550497
JM
42172012-05-24 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #14153]
4220 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4221 for |x| <= 2**-26, not 2**-57.
4222 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4223 exception.
4224
b0bc23a1
JL
42252012-05-24 Jeff Law <law@redhat.com>
4226
4227 * stdio-common/Makefile (tests): Add bug25.
4228 * stdio-common/bug25.c: New test.
4229
347c92e9
L
42302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4231
4232 [BZ #13576]
4233 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4234 multiple of MALLOC_ALIGNMENT in size.
4235 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4236
6bcc8b3f
JM
42372012-05-24 Joseph Myers <joseph@codesourcery.com>
4238
4239 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4240 Require >= 256.
4241 (FILENAME_MAX): Use macro-int-constant.
4242 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4243 (_IOFBF): Use macro-int-constant.
4244 (_IOLBF): Likewise.
4245 (_IONBF): Likewise.
4246 (SEEK_CUR): Likewise.
4247 (SEEK_END): Likewise.
4248 (SEEK_SET): Likewise.
4249 (TMP_MAX): Likewise.
4250 (EOF): Use macro-int-constant. Require < 0.
4251 (NULL): Use macro-constant. Require == 0.
4252 (stdin): Require type to be FILE *.
4253 (stdout): Likewise.
4254 (stderr): Likewise.
4255 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4256 macro-int-constant.
4257 (EXIT_SUCCESS): Likewise.
4258 (NULL): Use macro-constant. Require == 0.
4259 (RAND_MAX): Use macro-int-constant.
4260 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4261 [C99-based standards] (strtof): Require function.
4262 [C99-based standards] (strtold): Likewise.
4263 [C99-based standards] (strtoll): Likewise.
4264 [C99-based standards] (strtoull): Likewise.
4265 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4266 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4267 [ISO || ISO99 || ISO11] (math.h): Likewise.
4268 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4269 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4271
d18ea0c5
AS
42722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4273
4274 [BZ #14132]
56d25bb8
AS
4275 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4276 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4277 * intl/dgettext.c (DCGETTEXT): Likewise.
4278 * intl/gettext.c (DCGETTEXT): Likewise.
4279 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4280 * posix/regex_internal.h (gettext): Likewise.
4281 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4282 Remove declaration.
4283 * include/argz.h (__argz_count_internal)
4284 (__argz_stringify_internal): Remove declaration.
4285 (__argz_count, __argz_stringify): Declare hidden proto.
4286 * intl/dcgettext.c: Remove use of INTDEF.
4287 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4288 * string/argz-stringify.c: Likewise.
4289 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4290 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4291 Declare hidden proto.
d18ea0c5
AS
4292 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4293 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4294 Declare hidden proto.
4295 * include/stdio.h (__asprintf_internal): Don't declare.
4296 (__asprintf): Don't define as macro. Declare hidden proto.
4297 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4298 (__fsetlocking): Declare hidden proto.
4299 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4300 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4301 hidden proto.
4302 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4303 (_IO_setlinebuf): Remove use of INTUSE.
4304 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4305 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4306 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4307 Remove declaration.
4308 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4309 (_IO_do_flush): Remove use of INTUSE.
4310 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4311 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4312 (_IO_adjust_column, _IO_least_wmarker)
4313 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4314 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4315 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4316 (_IO_default_doallocate, _IO_wdefault_doallocate)
4317 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4318 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4319 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4320 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4321 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4322 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4323 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4324 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4325 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4326 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4327 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4328 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4329 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4330 proto.
4331 (_IO_flush_all_internal, _IO_adjust_column_internal)
4332 (_IO_default_uflow_internal, _IO_default_finish_internal)
4333 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4334 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4335 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4336 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4337 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4338 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4339 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4340 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4341 (_IO_file_close_internal, _IO_file_close_it_internal)
4342 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4343 (_IO_file_init_internal, _IO_file_attach_internal)
4344 (_IO_file_fopen_internal, _IO_file_read_internal)
4345 (_IO_file_sync_internal, _IO_file_seek_internal)
4346 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4347 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4348 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4349 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4350 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4351 (_IO_list_all_internal, _IO_link_in_internal)
4352 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4353 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4354 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4355 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4356 (_IO_do_write_internal, _IO_padn_internal)
4357 (_IO_getline_info_internal, _IO_getline_internal)
4358 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4359 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4360 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4361 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4362 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4363 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4364 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4365 with libc_hidden_ver, remove use of INTUSE.
4366 * libio/genops.c: Likewise.
4367 * libio/freopen.c: Likewise.
4368 * libio/freopen64.c: Likewise.
4369 * libio/iofclose.c: Likewise.
4370 * libio/iofdopen.c: Likewise.
4371 * libio/iofflush.c: Likewise.
4372 * libio/iofflush_u.c: Likewise.
4373 * libio/iofgets.c: Likewise.
4374 * libio/iofgets_u.c: Likewise.
4375 * libio/iofopen.c: Likewise.
4376 * libio/iofopncook.c: Likewise.
4377 * libio/iofread.c: Likewise.
4378 * libio/iofread_u.c: Likewise.
4379 * libio/ioftell.c: Likewise.
4380 * libio/iofwrite.c: Likewise.
4381 * libio/iogetline.c: Likewise.
4382 * libio/iogets.c: Likewise.
4383 * libio/iogetwline.c: Likewise.
4384 * libio/iopadn.c: Likewise.
4385 * libio/iopopen.c: Likewise.
4386 * libio/ioseekoff.c: Likewise.
4387 * libio/ioseekpos.c: Likewise.
4388 * libio/iosetbuffer.c: Likewise.
4389 * libio/iosetvbuf.c: Likewise.
4390 * libio/ioungetc.c: Likewise.
4391 * libio/ioungetwc.c: Likewise.
4392 * libio/iovdprintf.c: Likewise.
4393 * libio/iovsprintf.c: Likewise.
4394 * libio/iovsscanf.c: Likewise.
4395 * libio/memstream.c: Likewise.
4396 * libio/obprintf.c: Likewise.
4397 * libio/oldfileops.c: Likewise.
4398 * libio/oldiofclose.c: Likewise.
4399 * libio/oldiofdopen.c: Likewise.
4400 * libio/oldiofopen.c: Likewise.
4401 * libio/oldiopopen.c: Likewise.
4402 * libio/oldstdfiles.c: Likewise.
4403 * libio/putc.c: Likewise.
4404 * libio/setbuf.c: Likewise.
4405 * libio/setlinebuf.c: Likewise.
4406 * libio/stdfiles.c: Likewise.
4407 * libio/strops.c: Likewise.
4408 * libio/vasprintf.c: Likewise.
4409 * libio/vscanf.c: Likewise.
4410 * libio/vsnprintf.c: Likewise.
4411 * libio/vswprintf.c: Likewise.
4412 * libio/wfiledoalloc.c: Likewise.
4413 * libio/wfileops.c: Likewise.
4414 * libio/wgenops.c: Likewise.
4415 * libio/wmemstream.c: Likewise.
4416 * libio/wstrops.c: Likewise.
4417 * libio/__fpurge.c: Likewise.
4418 * libio/__fsetlocking.c: Likewise.
4419 * assert/assert.c: Likewise.
4420 * debug/fgets_chk.c: Likewise.
4421 * debug/fgets_u_chk.c: Likewise.
4422 * debug/fread_chk.c: Likewise.
4423 * debug/fread_u_chk.c: Likewise.
4424 * debug/gets_chk.c: Likewise.
4425 * debug/obprintf_chk.c: Likewise.
4426 * debug/vasprintf_chk.c: Likewise.
4427 * debug/vdprintf_chk.c: Likewise.
4428 * debug/vsnprintf_chk.c: Likewise.
4429 * debug/vsprintf_chk.c: Likewise.
4430 * malloc/mtrace.c: Likewise.
4431 * misc/error.c: Likewise.
4432 * misc/syslog.c: Likewise.
4433 * stdio-common/asprintf.c: Likewise.
4434 * stdio-common/fxprintf.c: Likewise.
4435 * stdio-common/getw.c: Likewise.
4436 * stdio-common/isoc99_fscanf.c: Likewise.
4437 * stdio-common/isoc99_scanf.c: Likewise.
4438 * stdio-common/isoc99_vfscanf.c: Likewise.
4439 * stdio-common/isoc99_vscanf.c: Likewise.
4440 * stdio-common/isoc99_vsscanf.c: Likewise.
4441 * stdio-common/printf-prs.c: Likewise.
4442 * stdio-common/printf_fp.c: Likewise.
4443 * stdio-common/printf_fphex.c: Likewise.
4444 * stdio-common/printf_size.c: Likewise.
4445 * stdio-common/putw.c: Likewise.
4446 * stdio-common/scanf.c: Likewise.
4447 * stdio-common/sprintf.c: Likewise.
4448 * stdio-common/tmpfile.c: Likewise.
4449 * stdio-common/vfprintf.c: Likewise.
4450 * stdio-common/vfscanf.c: Likewise.
4451 * stdlib/strfmon_l.c: Likewise.
4452 * sunrpc/openchild.c: Likewise.
4453 * sunrpc/xdr_stdio.c: Likewise.
4454 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4455 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4456
d6c33fda
RM
44572012-05-24 Roland McGrath <roland@hack.frob.com>
4458
c1487492
RM
4459 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4460
4461 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4462 in the third column, to generate for the shared library an IFUNC
4463 that uses _dl_vdso_vsym.
4464 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4465 * Makeconfig (object-suffixes-noshared): New variable.
4466
4467 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4468 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4469 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4470 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4471
d6c33fda
RM
4472 [BZ #14132]
4473 * include/sys/time.h (__gettimeofday): Remove macro.
4474 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4475 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4476 Remove INTDEF.
4477 (__gettimeofday): Add libc_hidden_def.
4478 (gettimeofday): Add libc_hidden_weak.
4479 * sysdeps/mach/gettimeofday.c: Likewise.
4480 * sysdeps/posix/gettimeofday.c: Likewise.
4481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4482 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4484 (__gettimeofday_internal): Remove strong_alias.
4485 (__gettimeofday): Add libc_hidden_def.
4486 (gettimeofday): Add libc_hidden_weak.
4487 * sysdeps/unix/syscalls.list (gettimeofday):
4488 Remove __gettimeofday_internal alias.
4489
b5a2bbe6
L
44902012-05-24 Daniel Jacobowitz <drow@false.org>
4491 H.J. Lu <hongjiu.lu@intel.com>
4492
4493 [BZ #12495]
4494 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4495 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4496 (largebin_index_32_big): New.
4497 (largebin_index): Use it for 16-byte alignment.
4498 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4499 correction with front_misalign.
4500
cfba4fda
L
45012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4502
7f907421
L
4503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4505 Likewise.
4506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4507 Likewise.
4508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4509 Likewise.
4510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4511 Likewise.
4512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4515 Likewise.
4516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4517 Likewise.
4518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4519 Likewise.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4521 Likewise.
4522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4523 Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4525 Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4527 Likewise.
4528
cfba4fda
L
4529 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4530 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4531
80bad0cc
JM
45322012-05-24 Joseph Myers <joseph@codesourcery.com>
4533
7a25eb06
JM
4534 [BZ #10846]
4535 [BZ #14036]
4536 * math/libm-test.inc (exp_test): Add test from bug 14036.
4537 (pow_test): Add test from bug 10846.
4538
795405f9
JM
4539 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4540 and other flags.
4541 (special_function): Do not include flags in test name.
4542 (parse_args): Likewise.
4543 * sysdeps/i386/fpu/libm-test-ulps: Update.
4544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4545 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4546 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548
80bad0cc
JM
4549 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4550 exceptions.
4551 * math/libm-test.inc ("Philosophy"): Update comment about
4552 exception testing.
4553 (UNDERFLOW_EXCEPTION): New macro.
4554 (UNDERFLOW_EXCEPTION_OK): Likewise.
4555 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4556 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4557 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4558 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4559 (INVALID_EXCEPTION_OK): Update value.
4560 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4561 (OVERFLOW_EXCEPTION_OK): Likewise.
4562 (IGNORE_ZERO_INF_SIGN): Likewise.
4563 (test_exceptions): Handle underflow exceptions.
4564 (acos_test): Update for underflow exception expectations.
4565 (cexp_test): Likewise.
4566 (clog_test): Likewise.
4567 (clog10_test): Likewise.
4568 (csqrt_test): Likewise.
4569 (ctan_test): Likewise.
4570 (ctanh_test): Likewise.
4571 (exp_test): Likewise.
4572 (exp10_test): Likewise.
4573 (exp2_test): Likewise.
4574 (expm1_test): Likewise.
4575 (fma_test): Likewise.
4576 (j0_test): Likewise.
4577 (jn_test): Likewise.
4578 (nexttoward_test): Likewise.
4579 (pow_test): Likewise.
4580 (scalbn_test): Likewise.
4581 (scalbln_test): Likewise.
4582 (tan_test): Likewise.
4583 (y1_test): Likewise.
4584 * sysdeps/i386/fpu/libm-test-ulps: Update.
4585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4586
9e0e3d0b
DM
45872012-05-23 David S. Miller <davem@davemloft.net>
4588
4589 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4590 (__libc_sigaction): Remove unused local variables.
4591
ccd0a08f
L
45922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4595
62bdf9a6
PE
45962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4597
f8591f80
PE
4598 mktime: avoid signed integer overflow
4599 * time/mktime.c (__mktime_internal): Do not mishandle the case
4600 where diff == INT_MIN.
4601
94c7d826
PE
4602 mktime: simplify computation of average
4603 * time/mktime.c (ranged_convert): Use new time_t_avg function
4604 instead of rolling our own (probably-slower) code.
4605
ce73d683
PE
4606 mktime: do not assume signed right shift propagates sign bit
4607 * time/mktime.c (isdst_differ): New static function.
4608 (__mktime_internal): No need to normalize tm_isdst now.
4609 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4610 tm_isdst values.
4611
72a22e59
PE
4612 mktime: merge another wrapv change from gnulib
4613 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4614 from some compilers.
4615
68605433
PE
4616 mktime: remove incorrect attempt at unusual arithmetics
4617 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4618 The code didn't really work on such machines anyway.
4619 (TYPE_MINIMUM): Assume two's complement.
4620 (twos_complement_arithmetic): Verify that long_int and time_t
4621 are two's complement (or unsigned, in the latter case).
4622
03cf7fe3
PE
4623 mktime: check signed shifts on long_int and time_t, too
4624 * time/mktime.c (SHR): Check that shifts work as desired
4625 on the types long_int and time_t too, as SHR is used on
4626 such types.
4627
f04dfbc2
PE
4628 mktime: do not assume 'long' is wide enough
4629 * time/mktime.c (verify): Move decl up.
4630 (long_int): New type.
4631 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4632 to remove assumption in the code that 'long' is wide enough to
4633 store year values. This assumption is not true on x32 and on
4634 some non-glibc platforms.
4635
62bdf9a6
PE
4636 mktime: merge wrapv change from gnulib
4637 * time/mktime.c (WRAPV): New macro.
4638 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4639 (guess_time_tm, __mktime_internal): Do not assume that signed
4640 integer overflow wraps around; modern compilers generate code
4641 where this assumption is no longer valid.
4642
5e292e4f
L
46432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4646 Replace "jmp L(pseudo_end)" with "ret".
4647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4648 Likewise.
4649
8caf8c87
AJ
46502012-05-23 Andreas Jaeger <aj@suse.de>
4651
4652 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4653 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4654
1a09dc56
AJ
46552012-05-23 Andreas Jaeger <aj@suse.de>
4656 Maximilian Attems <max@stro.at>
4657
4658 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4659 New macros.
4660
1c87aba0
L
46612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4664 code so that pseudo_end is just ret and the stack pointer is
4665 correct also for static library in error case.
4666
40e45bd5
JM
46672012-05-23 Joseph Myers <joseph@codesourcery.com>
4668
c2670533
JM
4669 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4670 move to syscalls.list.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4675
40e45bd5
JM
4676 * manual/install.texi (Running make install): Do not mention Linux
4677 kernel version for which pt_chown is not needed.
4678 (Linux): Do not mention problems with nscd with 2.0 kernels.
4679 * INSTALL: Regenerated.
4680
be08eda5
AJ
46812012-05-23 Andreas Jaeger <aj@suse.de>
4682
4683 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4684 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4685 macro.
4686 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4688 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4690 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4696 * sysdeps/unix/sysv/linux/bits/in.h
4697 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4698
a6a056bb
RM
46992012-05-22 Roland McGrath <roland@hack.frob.com>
4700
4701 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4702 (PREPARE_VERSION): Just use assert instead, it will be elided
4703 under [NDEBUG] anyway.
4704
c9009328
L
47052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4706
4707 * sysdeps/unix/sysv/linux/Makefile: Include
4708 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4709 (sysdep_routines): Remove sysctl.
c9009328
L
4710 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4711 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4714 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4715
73338355
AJ
47162012-05-22 Andreas Jaeger <aj@suse.de>
4717
4718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4719 that pseudo_end is just ret and the stack pointer is correct also
4720 for static library in error case.
4721
d44638b0
PP
47222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4723
4724 [BZ #14122]
4725 * nss/nsswitch.c (defconfig_entries): New variable.
4726 (__nss_database_lookup): Don't leak defconfig entries.
4727 (nss_parse_service_list): Don't leak on error paths.
4728 (free_database_entries): New function.
4729 (free_defconfig): New function.
4730 (free_mem): Move common code to free_database_entries.
4731
31a39bd8
L
47322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4733
da0331a8
L
4734 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4735 Add arch_prctl.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4737
31a39bd8
L
4738 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4739 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4741 New macro.
4742 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4743 (INTERNAL_SYSCALL_TYPES): Likewise.
4744 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4745 (LOAD_REGS_TYPES_[1-6]): Likewise.
4746 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4747 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4748
45470df3
AZ
47492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4750
4751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4752 copysignl for GLIBC_2_0.
4753 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4754 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4756 logbl for GLIBC_2_0.
4757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4758 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4759
98a61bcb
L
47602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4761
a4f6e481
L
4762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4763 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4764
f63d5db6
L
4765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4766 Use "neg %eax".
4767
98a61bcb
L
4768 * time/mktime.c: Update copyright years.
4769
95770f14
PE
47702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4771
6226efbd
PE
4772 mktime: merge comment-quoting-style change from gnulib
4773 * time/mktime.c: Quote 'like this' in comments.
4774 The GNU coding standards suggest that we no longer quote `like this',
4775 as "`" and "'" are typically rendered asymmetrically nowadays.
4776 The typical gnulib style is to quote 'like this' when quoting
4777 code, and "like this" when quoting English.
4778
b99e4f78
PE
4779 * time/mktime.c (compile-command): Add "-I.".
4780
643e01e6
PE
4781 mktime: merge mktime-internal.h change from gnulib
4782 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4783
2554247d
PE
4784 mktime: merge time_r change from gnulib
4785 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4786
826dd0ab
PE
4787 mktime: merge DEBUG change from gnulib
4788 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4789 case system <time.h> has a #define.
4790
bd83aabe
PE
4791 mktime: merge <sys/types.h> change from gnulib
4792 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4793 since <time.t> is now guaranteed to define time_t.
4794
95770f14
PE
4795 mktime: merge HAVE_CONFIG_H change from gnulib
4796 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4797
5e1a27a9
L
47982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4799
0e44a77e
L
4800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4801 Use "neg %eax".
4802
5e1a27a9
L
4803 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4804 __rlim_t cast.
4805 (struct rusage): Use anonymous union to pad each field to
4806 __syscall_slong_t.
4807
46259bec
DM
48082012-05-21 David S. Miller <davem@davemloft.net>
4809
4810 * Makefules (o-iterator): Remove .s cases.
4811 (compile-command.s): Delete.
4812 (COMPILE.s): Delete.
4813 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4814
59f0c22e
JM
48152012-05-21 Joseph Myers <joseph@codesourcery.com>
4816
4817 * configure.in (libc_cv_predef_stack_protector): Only consider
4818 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4819 * configure: Regenerated.
4820
20c07380
L
48212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4822
bbb3154b
L
4823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4824 New macro. Use R*LP on int and pointer.
4825 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4826 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4827 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4828 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4829
20c07380
L
4830 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4831 [__WORDSIZE_TIME64_COMPAT32] instead of
4832 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4833 (struct utmp): Likewise.
4834 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4835 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4836 Renamed to ...
4837 (__WORDSIZE_TIME64_COMPAT32): This.
4838 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4839 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4840 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4841 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4843 (__WORDSIZE_TIME64_COMPAT32): New macro.
4844
d8d1017e
AJ
48452012-05-21 Andreas Jaeger <aj@suse.de>
4846
4847 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4848 only if [SHARED]. Add prototype for __wcschr_ia32.
4849
6c7fb145
RM
48502012-05-21 Roland McGrath <roland@hack.frob.com>
4851
4852 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4853 of %rbp unmolested in the jmp_buf while mangling the low bits.
4854 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4855 unmolested high bits of %rbp while demangling the low bits.
4856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4857
66274218
AJ
48582012-05-21 Andreas Jaeger <aj@suse.de>
4859
07c58f8f
AJ
4860 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4861 * sunrpc/svc_simple.c: Use it for registerrpc.
4862 * sunrpc/xcrypt.c: Use it for passwd2des.
4863
66274218
AJ
4864 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4865
61f65140
L
48662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4867
4868 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4869 Don't define if [__SYSCALL_WORDSIZE != 32].
4870 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4871 New macro.
4872
5fefb436
AJ
48732012-05-21 Bruno Haible <bruno@clisp.org>
4874 Andreas Jaeger <aj@suse.de>
4875
4876 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4877 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4878 inptr and inend for must_buffer_ch.
4879 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4880 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4881 * stdio-common/Makefile (tests): Remove bug15.
4882 (bug15-ENV): Remove macro.
4883 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4884 anymore.
4885
d8e272ab
AJ
48862012-05-19 Andreas Jaeger <aj@suse.de>
4887 Roland McGrath <roland@hack.frob.com>
4888
4889 * manual/contrib.texi: Completely rewritten. It contains now an
4890 alphabetical list of contributors and their contributions.
4891
4a56a162
RH
48922012-05-21 Richard Henderson <rth@twiddle.net>
4893
4894 * misc/getauxval.c (__getauxval): Use unsigned long int.
4895 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4896 (getauxval): Use unsigned long int.
4897
d024d23c
L
48982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4899
4900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4901
cbc00a03
RM
49022012-05-21 Roland McGrath <roland@hack.frob.com>
4903
4904 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4905 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4906 __alignof__ (long double).
4907
478143fa
AZ
49082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909
4910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4911
c7683a6d
RH
49122012-05-20 Richard Henderson <rth@twiddle.net>
4913
4914 * misc/getauxval.c: New file.
4915 * misc/sys/auxv.h: New file.
4916 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4917 (routines): Add getauxval.
4918 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4919 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4920 * elf/dl-sysdep.c (_dl_auxv): Remove.
4921 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4922 * elf/dl-support.c (_dl_auxv): New variable.
4923 (_dl_aux_init): Initialize it.
4924 * manual/startup.texi (Auxiliary Vector): New node.
4925 * sysdeps/generic/bits/hwcap.h: New file.
4926 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4927 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4928 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4929 * sysdeps/sparc/sysdep.h: ... here. Include it.
4930 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4933 Update.
c7683a6d
RH
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4942
a6f1845d
AZ
49432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4944
4945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4946
cbcbe830
DM
49472012-05-19 David S. Miller <davem@davemloft.net>
4948
4949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4950
e0b16cc2
JM
49512012-05-19 Joseph Myers <joseph@codesourcery.com>
4952
4953 [BZ #14123]
4954 * math/s_ccosh.c: Include <float.h>
4955 (__ccosh): Avoid internal overflow calculating sinh and cosh
4956 values before multiplying by sin and cos values.
4957 * math/s_ccoshf.c: Likewise.
4958 * math/s_ccoshl.c: Likewise.
4959 * math/s_csin.c: Likewise.
4960 * math/s_csinf.c: Likewise.
4961 * math/s_csinl.c: Likewise.
4962 * math/s_csinh.c: Likewise.
4963 * math/s_csinhf.c: Likewise.
4964 * math/s_csinhl.c: Likewise.
4965 * math/libm-test.inc (ccos_test): Add more tests.
4966 (ccosh_test): Likewise.
4967 (csin_test): Likewise.
4968 (csinh_test): Likewise.
4969 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971
6ad13e08
L
49722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4973
f66f0ce8
L
4974 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4975 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4976
6ad13e08
L
4977 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4978
b1d072a7
JM
49792012-05-19 Joseph Myers <joseph@codesourcery.com>
4980
4981 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4982 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4983 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4984 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4985 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4986 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4987 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4988 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4989 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4990 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4991 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4992 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4993 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4994 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4995 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4996 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4997 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4998 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4999 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5000 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5001 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5002 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5003 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5004 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5005 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5006 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5007 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5008 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5009 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5010 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5011 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5012
9eae47cb
AJ
50132012-05-18 Andreas Jaeger <aj@suse.de>
5014
5015 * csu/.gitignore: Delete.
5016
bb07f69f
L
50172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5020 (timex): Use __syscall_slong_t.
5021
e6bdb741
AJ
50222012-05-18 Andreas Jaeger <aj@suse.de>
5023 Carlos O'Donell <carlos_odonell@mentor.com>
5024
5025 * manual/install.texi (Configuring and compiling): Update
5026 description about files modified in the source directory.
d6c33fda 5027 * INSTALL: Regenerated.
e6bdb741 5028
1b74487e
L
50292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5030
5031 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5032 value. Use "or" to set return value to -1.
5033 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5034 negate return value.
5035
a88b64b9
TMQMF
50362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5037
5038 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5039 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5040 failure if the compiler has Graphite support disabled.
5041 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5042 Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5044 CFLAGS-memmove.c): Likewise.
5045 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5046 Likewise.
5047
3707636e
L
50482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5049
610b8622
L
5050 * sysdeps/x86_64/x32/_itoa.h: New file.
5051
7cd195df
L
5052 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5053 getdents system call only if kernel and user dirents have the
5054 same d_ino and d_off.
5055
94b07d20
L
5056 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5057 LLONG_MAX != LONG_MAX.
5058 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5059 (_fitoa_word): Likewise.
5060
18298070
L
5061 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5062 years.
5063 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5066
553c7ea4
L
5067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5068 include <bits/wordsize.h>. Check __x86_64__ instead of
5069 __WORDSIZE.
5070 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5071 if __x86_64__ is defined. Use anonymous union on fpstate.
5072
3707636e
L
5073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5074 anonymous union.
5075
b53ef01a
AS
50762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5077
37fb1dc0
AS
5078 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5079 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5080 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5081 Refer to _rtld_local_ro instead of _rtld_global_ro.
5082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5083 Likewise.
5084 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5085 Likewise.
5086 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5087 Likewise.
5088 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5089 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5090 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5091
b53ef01a
AS
5092 * sysdeps/powerpc/powerpc32/dl-machine.c
5093 (__elf_machine_runtime_setup) [PROF]: Don't reference
5094 _dl_prof_resolve.
5095
7a185db2
AJ
50962012-05-18 Andreas Jaeger <aj@suse.de>
5097
5098 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5099 function only available for GCCs before 3.4 since GCC 3.4
5100 introduced a builtin.
5101 (lrint): Likewise.
5102 (llrintf): Likewise.
5103 (llrint): Likewise.
5104 (fmaxf): Likewise.
5105 (fmax): Likewise.
5106 (fminf): Likewise.
5107 (fmin): Likewise.
5108 (rint): Likewise.
5109 (rintf): Likewise.
5110 (nearbyint): Likewise.
5111 (nearbyintf): Likewise.
5112 (ceil): Likewise.
5113 (ceilf): Likewise.
5114 (floor): Likewise.
5115 (floorf): Likewise.
5116
3e5aef87
L
51172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5118
428bd707
L
5119 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5120 on both fields and cast pointer to __syscall_ulong_t.
5121
3e5aef87
L
5122 * bits/types.h (__fsword_t): New type.
5123 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5124 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5126 (__FSWORD_T_TYPE): Likewise.
5127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5128 (__FSWORD_T_TYPE): Likewise.
5129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5130 (__FSWORD_T_TYPE): Likewise.
5131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5132 (__FSWORD_T_TYPE): Likewise.
5133 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5134 __SWORD_TYPE with __fsword_t.
5135 (statfs64): Likewise.
5136
1ba7c3dc
DM
51372012-05-17 David S. Miller <davem@davemloft.net>
5138
5139 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5140
59910343
AJ
51412012-05-17 Andreas Jaeger <aj@suse.de>
5142
5143 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5144 warning.
5145
2e4c1e9e
L
51462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5147
5148 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5149
de7f5ce7
AJ
51502012-05-17 Andreas Jaeger <aj@suse.de>
5151
5152 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5153 when it is used.
5154
286abc3d
CM
51552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5156
5157 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5158
477cc68e
L
51592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5162 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5163
1a0994f5
CD
51642012-05-17 Andreas Jaeger <aj@suse.de>
5165 Carlos O'Donell <carlos_odonell@mentor.com>
5166
5167 [BZ #14059]
5168 * sysdeps/x86_64/multiarch/init-arch.h
5169 (bit_YMM_Usable): Rename to...
5170 (bit_AVX_Usable): ... this.
5171 (bit_FMA4_Usable): New macro.
5172 (bit_XMM_state): New macro.
5173 (bit_YMM_state): New macro.
5174 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5175 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5176 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5177 (CPUID_OSXSAVE): New macro.
5178 (CPUID_AVX): New macro.
5179 (CPUID_FMA4): New macro.
5180 (index_YMM_Usable): Rename to...
5181 (index_AVX_Usable): ... this.
5182 (HAS_AVX): Use HAS_ARCH_FEATURE.
5183 (HAS_FMA4): Likewise.
5184 (HAS_YMM_USABLE): Remove.
5185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5186 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5187 are present.
5188 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5189 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5190 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5191 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5192 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5193
0af797de
CM
51942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5195
5196 * math/libm-test.c: Support platforms without multiple rounding modes.
5197 * math/bug-nextafter.c: Support platforms without FP exceptions.
5198 * math/bug-nexttoward.c: Likewise.
5199 * math/test-fenv.c: Likewise.
5200 * math/test-misc.c: Likewise.
5201 * stdlib/bug-getcontext.c: Likewise.
5202
e39745ff
AJ
52032012-05-17 Andreas Jaeger <aj@suse.de>
5204
5205 * manual/examples/search.c (critter_cmp): Change signature to
5206 avoid warnings.
5207 * manual/string.texi (Collation Functions): Likewise.
5208
48970aba
L
52092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5210
5211 * bits/types.h: Fold copyright years.
5212 * bits/typesizes.h: Likewise.
5213 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5217 * time/time.h: Likewise.
5218
bedee953
PP
52192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5220
5221 [BZ #208]
5222 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5223 in instead of returning them. Return void.
5224 (__libc_mallinfo): Accumulate over all arenas.
5225 (__malloc_stats): Adjust for change in int_mallinfo interface.
5226
61653dfb
RM
52272012-05-16 Roland McGrath <roland@hack.frob.com>
5228
30b99d79
RM
5229 [BZ #10375]
5230 * configure.in (NM): Add AC_CHECK_TOOL for it.
5231 (libc_extra_cflags): New substituted variable.
5232 Check for -fstack-protector being used implicitly.
5233 * configure: Regenerated.
5234 * config.make.in (config-extra-cflags): New variable,
5235 gets @libc_extra_cflags@.
5236 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5237
61653dfb
RM
5238 [BZ #10375]
5239 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5240 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5241 * configure: Regenerated.
5242 * config.make.in (CPPUNDEFS): New substituted variable.
5243 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5244 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5245 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5246
661768bb
L
52472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5248
5249 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5250 (mq_attr): Use __syscall_slong_t.
5251
d4261567
L
52522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5255 Check __x86_64__ instead of __WORDSIZE.
5256 (_STAT_VER_LINUX): Likewise.
5257 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5258 __syscall_ulong_t and __syscall_slong_t.
5259 (stat64): Likewise.
5260
cf3ff365
L
52612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5264
76cf3e4d
L
52652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5268
a637753a
L
52692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5270
5271 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5272 __syscall_ulong_t.
5273
d5e05119
L
5274 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5275 include <bits/wordsize.h>. Check __x86_64__ instead of
5276 __WORDSIZE.
5277 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5278 defined.
5279 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5280
f62ee380
L
5281 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5282 include <bits/wordsize.h>. Check __x86_64__ instead of
5283 __WORDSIZE.
5284 (user_regs_struct): Use "__extension__ unsigned long long"
5285 instead of "unsigned long" if __x86_64__ is defined.
5286 (user): Likewise. Pad after pointer field if __ILP32__ is
5287 defined.
5288
4e124ced
JM
52892012-05-16 Joseph Myers <joseph@codesourcery.com>
5290
6a3951a0
JM
5291 * configure.in (makeinfo): Require version 4.5 or later. Allow
5292 versions 5 to 9.
5293 * configure: Regenerated.
5294 * manual/install.texi (texinfo): Increase version requirement to
5295 4.5 or later.
5296 * INSTALL: Regenerated.
5297
4e124ced
JM
5298 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5299
953ca31a
L
53002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5301
5302 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5303
617aca05
L
5304 * sysdeps/x86_64/x32/ffs.c: New file.
5305
5762f7ae
L
5306 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5307 __syscall_ulong_t.
5308 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5309 defined. Use __syscall_ulong_t.
5310 (shminfo): Use __syscall_ulong_t.
5311 (shm_info): Likewise.
5312
a26b6856
L
5313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5314 __syscall_ulong_t.
5315
cb2b9ef7
L
5316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5317 <bits/wordsize.h>.
5318 (msgqnum_t): Use __syscall_ulong_t.
5319 (msglen_t): Likewise.
5320 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5321 __syscall_ulong_t.
5322
34683bb0
L
5323 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5324 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5325
84a68786
L
5326 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5327
48baa5f1
L
5328 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5329 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5330
180be88b
L
5331 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5332 __syscall_slong_t.
5333
5e90c8ad
L
5334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5335 include <bits/wordsize.h>. Check __x86_64__ instead of
5336 __WORDSIZE.
5337
23dfb58b
L
5338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5339 "unsigned long long int" if __x86_64__ is defined.
5340 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5341
ce5d54b0
L
5342 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5344 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5345
13dc9eac
L
5346 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5347 <stdint.h>.
5348 (GET_PC): Cast to uintptr_t first.
5349 (GET_FRAME): Likewise.
5350 (GET_STACK): Likewise.
5351
a7895d15
L
5352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5354 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5356 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5358 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5361 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5363 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5367 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5369 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5371 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5375 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5379 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5381
656416c9
AS
53822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5383
5bd66283
AS
5384 * Makerules (+depfiles): Also collect depfiles from .oS in
5385 $(extra-objs).
5386 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5387 .oS, $(libnldbl-routines)).
5388
656416c9
AS
5389 * Makerules (native-compile-mkdep-flags): Define.
5390 * sunrpc/Makefile (extra-objs): Add $(addprefix
5391 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5392 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5393 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5394 calling $(make-target-directory).
5395
a46f2169
L
53962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5397
5398 * bits/types.h (__snseconds_t): Removed.
5399 * time/time.h (struct timespec): Replace __snseconds_t with
5400 __syscall_slong_t.
5401 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5402 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5403 Likewise.
5404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5405 (__SNSECONDS_T_TYPE): Likewise.
5406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5407 (__SNSECONDS_T_TYPE): Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5409 (__SNSECONDS_T_TYPE): Likewise.
5410
6af6528b
L
54112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * sysdeps/mach/hurd/bits/typesizes.h
5414 (__SYSCALL_SLONG_TYPE): New macro.
5415 (__SYSCALL_ULONG_TYPE): Likewise.
5416
de986b56
L
54172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 * bits/types.h (__syscall_slong_t): New type.
5420 (__syscall_ulong_t): Likewise.
5421
5422 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5423 (__SYSCALL_ULONG_TYPE): Likewise.
5424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5425 (__SYSCALL_SLONG_TYPE): Likewise.
5426 (__SYSCALL_ULONG_TYPE): Likewise.
5427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5428 (__SYSCALL_SLONG_TYPE): Likewise.
5429 (__SYSCALL_ULONG_TYPE): Likewise.
5430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5431 (__SYSCALL_SLONG_TYPE): Likewise.
5432 (__SYSCALL_ULONG_TYPE): Likewise.
5433
85736dc7
L
54342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5435
5436 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5437 Add sigaltstack-offsets.sym.
5438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5439 <sigaltstack-offsets.h>.
5440 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5441 longjmp_msg pointer.
5442 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5443 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5444 signal stack.
5445 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5446
cc03b296
JM
54472012-05-15 Joseph Myers <joseph@codesourcery.com>
5448
a9538892
JM
5449 * elf/stackguard-macros.h: Remove file.
5450 * sysdeps/generic/stackguard-macros.h: New file.
5451 * sysdeps/i386/stackguard-macros.h: Likewise.
5452 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5453 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5454 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5455 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5456 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5457 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5458 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5459 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5460 <elf/stackguard-macros.h>.
5461
cc03b296
JM
5462 [BZ #14109]
5463 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5464 __aligned__ in attribute.
5465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5466 (gregset_t): Likewise.
5467
93171016
L
54682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5471 * sysdeps/x86_64/64/Implies-after: Here. New file.
5472 * sysdeps/x86_64/x32/Implies-after: New file.
5473
d86813a0
L
54742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5475
5476 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5477 and access return value for _dl_profile_fixup. Use R10_LP to
5478 load frame size.
5479
2953ec75
L
54802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5481
5482 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5483
3b550e9e
L
54842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5487 * sysdeps/x86_64/x32/sysdep.h: New file.
5488
eda41706
L
54892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5490
5491 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5492 * sysdeps/x86_64/setjmp.S: Likewise.
5493
9ea01d93
AZ
54942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495
5496 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5498 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5499 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5500 remove unused global constant.
5501
02a91938
CM
55022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5503
5504 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5505 include of <not-cancel.h>.
5506
6540185f
RM
55072012-05-15 Roland McGrath <roland@hack.frob.com>
5508
5509 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5510
509072a0
AJ
55112012-05-15 Jeff Law <law@redhat.com>
5512 Andreas Jaeger <aj@suse.de>
5513
5514 [BZ #13594]
5515 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5516 out from...
5517 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5518 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5519 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5520 code changing __hst_map_handle.map.
5521
ba75122d
RM
55222012-05-15 Roland McGrath <roland@hack.frob.com>
5523
5524 * configure.in (sysnames): Look for Implies-before and Implies-after
5525 files.
5526 * configure: Regenerated.
5527
890d8bd8
L
55282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5529
5530 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5531 8-byte data alignment with LP_SIZE alignment.
5532
f6ee6623
L
55332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5536 into R10_LP.
5537
ea2626f6
L
55382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5541
085f715e
L
55422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5545 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5547 Likewise.
5548 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5549
be8498fc
L
55502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5551
5552 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5553 (stackinfo_sub_sp): Likewise.
5554
70bc83b9
L
55552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5556
5557 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5558 RAX_LP.
5559
9bc0b730
L
55602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5561
5562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5563 into R*_LP.
5564
6d2850e7
L
55652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5566
5567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5568 sizes into R*_LP.
5569
3cb84561
L
55702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5571
5572 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5573
54e2ed81
L
55742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5577 into R11_LP and load __x86_64_shared_cache_size_half into
5578 R8_LP.
5579
8a17f349
L
55802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5581
5582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5583 R8_LP.
5584
777b1eea
AZ
55852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586
5587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5588 logb for POWER7.
5589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5590 logbf for POWER7.
5591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5592 logbl for POWER7.
5593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5594 powerpc32/power7/fpu/s_logb.c via #include.
5595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5596 powerpc32/power7/fpu/s_logbf.c via #include.
5597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5598 powerpc32/power7/fpu/s_logbl.c via #include.
5599
d20d4ac2
JM
56002012-05-15 Joseph Myers <joseph@codesourcery.com>
5601
5602 * README.libm: Remove file.
5603
6cdef1ab
L
56042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5607 count for x32. Use R*_LP and omit operand-size suffix.
5608
0b254d8f
L
56092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5612 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5613 * sysdeps/x86_64/x32/shlib-versions: New file.
5614
ceb809dc
RM
56152012-05-14 Roland McGrath <roland@hack.frob.com>
5616
5617 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5618 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5619 Use _dl_fatal_printf instead.
5620
37f1abd4
JM
56212012-05-14 Joseph Myers <joseph@codesourcery.com>
5622
5623 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5624 set if not set by the user. Do not allow for being unset.
5625 * sysdeps/unix/sysv/linux/configure: Regenerated.
5626
11de3a33
L
56272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5630 the `q' suffix from lea and replace .quad with ASM_ADDR.
5631
e02f153a
L
56322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5635 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5636 instead of $17.
5637 (PTR_DEMANGLE): Likewise.
5638
520ae0fd
L
56392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5642 (LP_OP): Likewise.
5643 (ASM_ADDR): Likewise.
5644 (RAX_LP): Likewise.
5645 (RBP_LP): Likewise.
5646 (RBX_LP): Likewise.
5647 (RCX_LP): Likewise.
5648 (RDI_LP): Likewise.
5649 (RSI_LP): Likewise.
5650 (RSP_LP): Likewise.
5651 (R8_LP): Likewise.
5652 (R9_LP): Likewise.
5653 (R10_LP): Likewise.
5654 (R10_LP): Likewise.
5655 (R11_LP): Likewise.
5656 (R12_LP): Likewise.
5657 (R13_LP): Likewise.
5658 (R14_LP): Likewise.
5659 (R15_LP): Likewise.
5660
b985be81
L
56612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5662
5663 * sysdeps/x86_64/x32/dl-machine.h: New file.
5664
6a4888ff
AJ
56652012-05-14 Andreas Jaeger <aj@suse.de>
5666
5667 * manual/Makefile (subdir): Remove export of subdir.
5668 (all): Remove target.
5669 (.PHONY): Remove all from list.
5670 (mkinstalldirs): Remove.
5671 (.PHONY): Remove installdirs from list.
5672 ($(inst_infodir)/libc.info): Use make-target-directory.
5673 (installdirs): Remove.
5674 (subdir_%): Remove.
5675 (glibc-targets): Remove.
5676 (lib): Remove.
5677 (stubs): Remove.
5678 ($(objpfx)stubs ../po/manual.pot): Remove.
5679 ($(objpfx)stamp%): Remove.
5680 (make-target-directory): Remove.
5681 (subdir_install): Remove.
5682 (routines): Remove.
5683 (aux): Remove.
5684 (sources): Remove.
5685 (objects): Remove.
5686 (headers): Remove.
5687
5688 [BZ #13750]
5689 * manual/.gitignore: Remove, it's not needed anymore.
5690 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5691 all files in it.
5692 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5693 directory.
5694 (texis): Renamed to $(objpfx)texis.
5695 (texis-path): New, contains path to generated files.
5696 (chapters.%): Use texis-path for complete path, add extra argument
5697 libc-texinfo.sh.
5698 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5699 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5700 (summary,texi, stamp-summary): Use complete path of
5701 files. Generate files in build dir.
5702 (dir-add.texi): Build in build dir.
5703 (libm-err.texi,stamp-libm-err): Likewise.
5704 (version.texi, stamp-version): Likewise.
5705 (.%c.texi): Likewise.
5706 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5707 (mostlyclean): Remove target.
5708 (realclean): Remove target.
5709 (generated): Add new variable with contents from mostlyclean and
5710 realclean, remove entries duplicated in common-mostlyclean, add
5711 stamp-libm-err and stamp-version.
5712 (generated-dirs): Add libc directory.
5713 ($(inst_infodir)/libc.info): Install files from build dir.
5714
5715 * manual/install.texi (Configuring and compiling): Adjust since
5716 the info files are not part of the tar ball anymore.
5717
7ac77294
AJ
57182012-05-14 Andreas Jaeger <aj@suse.de>
5719
5720 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5721 variable.
5722
ffb7875d
JM
57232012-05-14 Joseph Myers <joseph@codesourcery.com>
5724
5725 [BZ #13717]
5726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5727 to 2.2.0 where earlier.
5728 * sysdeps/unix/sysv/linux/configure: Regenerated.
5729 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5730 Remove conditional code.
5731 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5732 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5733 Remove conditional code.
5734 [!__NR_lchown]: Likewise.
5735 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5736 [__NR_lchown]: Likewise.
5737 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5738 comment referencing __ASSUME_LCHOWN_SYSCALL.
5739 * sysdeps/unix/sysv/linux/i386/sigaction.c
5740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5742 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5743 Remove conditional code.
5744 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5745 (__protocol_available): Remove #if 0 code.
5746 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5747 conditional code.
5748 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5749 * sysdeps/unix/sysv/linux/kernel-features.h
5750 (__ASSUME_GETCWD_SYSCALL): Don't define.
5751 (__ASSUME_REALTIME_SIGNALS): Likewise.
5752 (__ASSUME_PREAD_SYSCALL): Likewise.
5753 (__ASSUME_PWRITE_SYSCALL): Likewise.
5754 (__ASSUME_POLL_SYSCALL): Likewise.
5755 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5756 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5757 non-SPARC.
5758 (__ASSUME_SIOCGIFNAME): Don't define.
5759 (__ASSUME_MSG_NOSIGNAL): Likewise.
5760 (__ASSUME_SENDFILE): Define unconditionally.
5761 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5762 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5763 conditional code.
5764 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5765 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5766 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5767 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5768 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5769 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5770 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5795 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5796 Remove conditional code.
5797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5798 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5799 Remove conditional code.
5800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5801 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5802 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5803 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5804 Remove conditional code.
5805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5806 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5807 Remove conditional code.
5808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5809 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5810 Remove conditional code.
5811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5812 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5813 Remove conditional code.
5814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5815 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5816 Remove conditional code.
5817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5818 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5821 * sysdeps/unix/sysv/linux/sigaction.c
5822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5824 * sysdeps/unix/sysv/linux/sigpending.c
5825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5827 * sysdeps/unix/sysv/linux/sigprocmask.c
5828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5830 * sysdeps/unix/sysv/linux/sigsuspend.c
5831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5834 (__libc_missing_rt_sigs): Remove.
5835 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5836 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5837 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5838 Remove conditional code.
5839 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5840 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5841 return 1.
5842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5845 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5846
1bfb7291
AJ
58472012-05-14 Andreas Jaeger <aj@suse.de>
5848
caae5a81
AJ
5849 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5850 it's not used in glibc.
5851 (__coshm1): Likewise.
5852 (__acosh1p): Likewise.
5853 (__sgn): Likewise.
5854
1bfb7291
AJ
5855 * manual/string.texi (Copying and Concatenation): Add missing
5856 variable in concat example.
5857 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5858
c044d724
L
58592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5860
144c5467 5861 [BZ #14103]
c044d724
L
5862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5863 __builtin_clzl with __builtin_clzll.
5864
2523c62b
L
58652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 [BZ #14104]
5868 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5869 libc_freeres_ptr.
5870
d7bb4c42
LD
58712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5872
5873 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5874 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5875 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5877
9dc4e1fb
MF
58782012-05-14 Mike Frysinger <vapier@gentoo.org>
5879
5880 * NEWS: Update ia64 info.
5881
c7df0112
AS
58822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5883
5884 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5885 used as bcopy.
5886
dc70356c
TS
58872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5888
5889 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5890 * sysdeps/unix/syscalls.list (dup3): Likewise.
5891 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5892 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5893
9fb1a21f
L
58942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5895
5896 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5897 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5898
4822a2a5
L
58992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5900
5901 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5902 thread pointer.
5903 (TLS_IE): Use mov/add instead of movq/addq to load thread
5904 pointer.
5905 (TLS_GD_PREFIX): New.
5906 (TLS_GD): Use it.
5907
842b81d6
DM
59082012-05-11 David S. Miller <davem@davemloft.net>
5909
5910 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5911 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5912 (_FPU_SETCW): Likewise.
5913
1cf463cd
L
59142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5915
5916 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5917 is 32-byte aligned.
5918
60cc4a18
AS
59192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5920
5921 [BZ #11837]
5922 * iconvdata/gb18030.c: Update tables.
5923 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5924 characters specially.
5925 (BODY for TO_LOOP): Add encoding of missing ranges.
5926
febb44a4
TS
59272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5928
5929 [BZ #13673]
5930 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5931 * sysdeps/mach/hurd/dup3.c: Likewise.
5932 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5933 * sysdeps/powerpc/memmove.c:: Likewise.
5934
0a10fb9e
L
59352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5938 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5939
df8a552f
L
59402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 * elf/elf.h (R_X86_64_RELATIVE64): New.
5943 (R_X86_64_NUM): Updated.
5944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5945 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5946 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5947 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5948 tst-quad1pie tst-quad2pie
5949 (modules-names): Add tst-quadmod1 tst-quadmod2.
5950 ($(objpfx)tst-quad1): New dependency.
5951 ($(objpfx)tst-quad2): Likewise.
5952 ($(objpfx)tst-quad1pie): Likewise.
5953 ($(objpfx)tst-quad2pie): Likewise.
5954 * sysdeps/x86_64/tst-quad1.c: New file.
5955 * sysdeps/x86_64/tst-quad1pie.c: New file.
5956 * sysdeps/x86_64/tst-quad2.c: Likewise.
5957 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5958 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5959 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5960 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5961 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5962
f34d6f84
ST
59632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5964
f42d41d1
ST
5965 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5966 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5967 * streams/stropts.h (t_scalar_t): Define type.
5968
3c3571fc
ST
5969 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5970 (_PATH_PRESERVE): Set to "/var/lib".
5971 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5972
61f06bd3
ST
5973 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5974 instead of int.
5975
918d4d71
ST
5976 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5977 if __dir_mkfile succeeded.
5978
f34d6f84
ST
5979 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5980 checking for _hurd_dtablesize. Unlock it right after having
5981 finished _hurd_dtable allocation.
5982
10589b4a
TS
59832012-05-10 Thomas Schwinge <thomas@schwinge.name>
5984
674cdbc7
TS
5985 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5986 * sysdeps/mach/hurd/configure: Regenerated.
5987 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5988 special-casing to...
5989 * sysdeps/gnu/configure.in: ... this new file.
5990 * sysdeps/unix/sysv/linux/configure: Regenerated.
5991 * sysdeps/gnu/configure: New generated file.
5992
8e41b99f
TS
5993 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5994 for Linux: use nsec instead of usec, as well as:
5995 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5996 members of type struct timespec.
5997 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5998 New macros.
5999 (struct stat64): Likewise.
6000 (_STATBUF_ST_NSEC): New macro.
6001 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6002
10589b4a
TS
6003 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6004 __strtoul_internal rather than strtoul.
6005
63643c85
PT
60062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6007
6008 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6009 and reject them.
6010
3faebe6a
ST
60112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6012
6013 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6014 which preserves existing values.
6015 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6016
c6474b07
PT
60172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6018
6019 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6020 TIMEOUT values. Return EINVAL for NFDS values either negative or
6021 greater than FD_SETSIZE.
6022
1043890b
ST
60232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6024
6025 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6026 allocated, call __vm_protect to finish enabling the existing space, and
6027 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6028 allocate the remainder.
6029
37ed8b9b
PT
60302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6031
6032 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6033 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6034
db653660
ST
60352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6036
37ed8b9b
PT
6037 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6038 sysdeps/mach/hurd/readlink.c.
b29d4053 6039
db653660
ST
6040 * posix/tst-sysconf.c (posix_options): Only use
6041 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6042 _POSIX_SYNCHRONIZED_IO when they are defined
6043 * sysdeps/mach/hurd/bits/posix_opt.h:
6044 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6045 (_XOPEN_REALTIME): Undefine macro.
6046 (_XOPEN_REALTIME_THREADS): Undefine macro.
6047 (_XOPEN_SHM): Undefine macro.
6048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6049 macro to -1.
6050 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6051 macro to -1.
6052 (_POSIX_ASYNC_IO): Undefine macro.
6053 (_POSIX_PRIORITIZED_IO): Undefine macro.
6054 (_POSIX_SPIN_LOCKS): Define macro to -1.
6055
ee16e894
ST
6056 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6057 SA_NODEFER, SA_RESETHAND.
6058 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6059 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6060 F_DUPFD_CLOEXEC.
6061
6103ae3b
TS
60622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6063
6064 * elf/Makefile (pldd-modules): Define unconditionally.
6065
80b4e5f3
TS
60662012-05-10 Thomas Schwinge <thomas@schwinge.name>
6067
6068 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6069
edadcbd6
ST
60702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6071
6072 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6073 Return ENOENT when name is empty.
6074 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6075
80694780
TS
60762012-05-10 Thomas Schwinge <thomas@schwinge.name>
6077
1792c087
TS
6078 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6079
80694780
TS
6080 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6081
6b645f0d
ST
60822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6083
80694780
TS
6084 Fix mlock in all cases except non-readable pages.
6085 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6086 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6087
6b645f0d
ST
6088 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6089 (__mkdir): When path is `/', just fail with EEXIST.
6090 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6091
e468f8a3
TS
60922012-05-10 Thomas Schwinge <thomas@schwinge.name>
6093
6094 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6095 <sys/uio.h> (for writev).
6096 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6097 and <sys/param.h> (for MIN).
6098
a4186cff
PT
60992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6100
6101 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6102 REQUESTED_TIME. Properly set the remaining time and return EINTR
6103 if interrupted.
6104
510bbf14
TS
61052012-05-10 Thomas Schwinge <thomas@schwinge.name>
6106
6107 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6108 Depend on against $(link-rpcuserlibs).
6109
5d5722e8
ST
61102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6111
a4186cff
PT
6112 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6113 (__libc_stack_end): Do not use attribute_relro.
6114 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6115 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6116 to libthread-provided value.
a4186cff
PT
6117 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6118 attribute_relro.
5d5722e8 6119
37233df9
TS
61202012-05-10 Thomas Schwinge <thomas@schwinge.name>
6121
be971a2b
TS
6122 [BZ #3748]
6123 * bits/libc-lock.h (__libc_once_get): New macro.
6124 * sysdeps/mach/bits/libc-lock.h: Likewise.
6125 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6127 instead of using implementation details.
6128
37233df9
TS
6129 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6130 * libio/freopen.c: Likewise.
6131 * libio/freopen64.c: Likewise.
6132 * misc/syslog.c: Likewise.
6133 * nscd/connections.c: Likewise.
6134 * nscd/netgroupcache.c: Likewise.
6135 * sysdeps/posix/getcwd.c: Likewise.
6136
38de94a5
RM
61372012-05-10 Roland McGrath <roland@hack.frob.com>
6138
6139 * math/w_ilogbf.c: Add #include <limits.h>.
6140
67530489
ST
61412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6142
a4186cff 6143 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6144 path instead of returning without unlocking.
6145
67530489
ST
6146 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6147 immediate-write ioctls.
6148 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6149
5aa3a74a
TS
61502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6151
18bad2ae
TS
6152 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6153 __builtin_frame_address instead of making assumptions about the
6154 location of the return address relative to DATA. Force early load of
6155 the return address.
6156 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6157 __builtin_frame_address.
6158
5aa3a74a
TS
6159 dup3 for GNU Hurd.
6160 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6161 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6162 implement dup3 and do some further code clean-ups.
6163 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6164 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6165
ecd0de9a
ST
61662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6167
cd9fa985
ST
6168 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6169
a4186cff
PT
6170 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6171 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6172 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6173 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6174 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6175 d->port.lock.
802ca5a5 6176
a4186cff
PT
6177 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6178 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6179 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6180
bcf55240
TS
61812012-05-10 Thomas Schwinge <thomas@schwinge.name>
6182
6960eb42
TS
6183 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6184 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6185 definitions.
6186
eb43375f
TS
6187 accept4 for GNU Hurd.
6188 * include/sys/socket.h (__libc_accept4): New prototype.
6189 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6190 to implement __libc_accept4.
6191 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6192 __libc_accept4.
6193 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6194
bcf55240
TS
6195 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6196 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6197 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6198 signal-defines.sym.
6199
6178c55b
ST
62002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6201
a4186cff 6202 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6203
6f080c2f
TS
62042012-05-10 Thomas Schwinge <thomas@schwinge.name>
6205
6206 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6207 assertion on O_CLOEXEC flag.
6208 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6209 * hurd/intern-fd.c: Likewise.
6210 * hurd/port2fd.c: Likewise.
6211
bcfe3a54
ST
62122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6213
6214 [BZ #3906]
6215 * bits/in.h (IPV6_PKTINFO): Define new macro.
6216 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6217
89c9aa49
AZ
62182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219
6220 [BZ #13954]
6221 [BZ #13955]
6222 [BZ #13956]
6223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6225 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6226 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6229 * math/libm-test.inc (logb_test) : Additional logb tests.
6230
021db4be
AJ
62312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6232 Andreas Jaeger <aj@suse.de>
6233
6234 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6235 * configure: Regenerated.
6236 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6237 * config.make.in (link-obsolete-rpc): New substituted variable.
6238 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6239 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6240 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6241 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6242 so that libc.a contains the symbols.
6243 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6244 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6245 * sunrpc/auth_none.c: Likewise.
6246 * sunrpc/auth_unix.c: Likewise.
6247 * sunrpc/authdes_prot.c: Likewise.
6248 * sunrpc/authuxprot.c: Likewise.
6249 * sunrpc/clnt_gen.c: Likewise.
6250 * sunrpc/clnt_perr.c: Likewise.
6251 * sunrpc/clnt_raw.c: Likewise.
6252 * sunrpc/clnt_simp.c: Likewise.
6253 * sunrpc/clnt_tcp.c: Likewise.
6254 * sunrpc/clnt_udp.c: Likewise.
6255 * sunrpc/clnt_unix.c: Likewise.
6256 * sunrpc/des_crypt.c: Likewise.
6257 * sunrpc/des_soft.c: Likewise.
6258 * sunrpc/get_myaddr.c: Likewise.
6259 * sunrpc/key_call.c: Likewise.
6260 * sunrpc/key_prot.c: Likewise.
6261 * sunrpc/netname.c: Likewise.
6262 * sunrpc/pm_getmaps.c: Likewise.
6263 * sunrpc/pm_getport.c: Likewise.
6264 * sunrpc/pmap_clnt.c: Likewise.
6265 * sunrpc/pmap_prot.c: Likewise.
6266 * sunrpc/pmap_prot2.c: Likewise.
6267 * sunrpc/pmap_rmt.c: Likewise.
6268 * sunrpc/publickey.c: Likewise.
6269 * sunrpc/rpc_cmsg.c: Likewise.
6270 * sunrpc/rpc_common.c: Likewise.
6271 * sunrpc/rpc_dtable.c: Likewise.
6272 * sunrpc/rpc_prot.c: Likewise.
6273 * sunrpc/rpc_thread.c: Likewise.
6274 * sunrpc/rtime.c: Likewise.
6275 * sunrpc/svc.c: Likewise.
6276 * sunrpc/svc_auth.c: Likewise.
6277 * sunrpc/svc_raw.c: Likewise.
6278 * sunrpc/svc_run.c: Likewise.
6279 * sunrpc/svc_tcp.c: Likewise.
6280 * sunrpc/svc_udp.c: Likewise.
6281 * sunrpc/svc_unix.c: Likewise.
6282 * sunrpc/svcauth_des.c: Likewise.
6283 * sunrpc/xcrypt.c: Likewise.
6284 * sunrpc/xdr.c: Likewise.
6285 * sunrpc/xdr_array.c: Likewise.
6286 * sunrpc/xdr_float.c: Likewise.
6287 * sunrpc/xdr_intXX_t.c: Likewise.
6288 * sunrpc/xdr_mem.c: Likewise.
6289 * sunrpc/xdr_rec.c: Likewise.
6290 * sunrpc/xdr_ref.c: Likewise.
6291 * sunrpc/xdr_sizeof.c: Likewise.
6292 * sunrpc/xdr_stdio.c: Likewise.
6293
b5c086a2
RM
62942012-05-10 Roland McGrath <roland@hack.frob.com>
6295
6296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6297 change. Update copyright years.
6298
6d74dd09
JM
62992012-05-10 Joseph Myers <joseph@codesourcery.com>
6300
6301 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6302
28e72501
MK
63032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6304 Joseph Myers <joseph@codesourcery.com>
6305 Paul Pluzhnikov <ppluzhnikov@google.com>
6306
6307 [BZ #14012]
6308 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6309 requiring rpcgen.
6310 [cross-compiling] (extra-libs): Likewise.
6311 [cross-compiling] (extra-libs-others): Likewise.
6312 [cross-compiling] (librpcsvc-routines): Likewise.
6313 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6314 [cross-compiling] (omit-deps): Likewise.
6315 (sunrpc-CPPFLAGS): New variable.
6316 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6317 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6318 (cross-rpcgen-objs): New variable.
6319 (extra-objs): Append $(cross-rpcgen-objs).
6320 ($(cross-rpcgen-objs)): New rule.
6321 ($(objpfx)cross-rpcgen): Likewise.
6322 (rpcgen-cmd): Define to use $(built-program-file). Expand
6323 comment.
6324 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6325 ($(objpfx)x%.stmp): Likewise.
6326 * sunrpc/proto.h [IS_IN_build] (_): Define.
6327 [IS_IN_build] (_libc_intl_domainname): Likewise.
6328
c8c59454
L
63292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6332 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6333 and R_X86_64_TPOFF64.
6334
6f27cd16
JM
63352012-05-10 Joseph Myers <joseph@codesourcery.com>
6336
6337 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6338 sysdeps/unix/sysv/syscalls.list.
6339 (stime): Likewise.
6340 (utime): Likewise.
6341 * sysdeps/unix/sysv/syscalls.list: Remove file.
6342
02467e1c
PE
63432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6344
6345 [BZ #3440]
6346 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6347 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6348 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6349 (__LC_IDENTIFICATION): Make these macros useful in #if
6350 expressions, as required by C99.
6351
da392631
AS
63522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6355 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6356 after this.
6357
8115f29b
L
63582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6359
6360 * stdlib/longlong.h: Updated from GCC.
6361
bdd74070
AJ
63622012-05-09 Andreas Jaeger <aj@suse.de>
6363
edfe0dbe
AJ
6364 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6365 default is first entry.
6366 (run_mode): Set type.
6367 (main): Remove informal message about syslog.
6368 (options): Fix typo.
6369
bcfe3a54
ST
6370 [BZ #14053]
6371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6372 to asm.
bcfe3a54
ST
6373 (lrint): Likewise.
6374 (llrintf): Likewise.
6375 (llrint): Likewise.
6376 (rint): Likewise.
6377 (rintf): Likewise.
6378 (nearbyint): Likewise.
6379 (nearbyintf): Likewise.
bdd74070 6380
91d8d69e
AJ
63812012-05-09 Andreas Jaeger <aj@suse.de>
6382 Pedro Alves <palves@redhat.com>
6383
6384 * nscd/nscd.c (run_mode): Use enum.
6385 (main): Cleanup coding style issue.
6386
bb90b80b
AJ
63872012-05-09 Alexandre Oliva <aoliva@redhat.com>
6388 Andreas Jaeger <aj@suse.de>
6389
bcfe3a54
ST
6390 * nscd/nscd.c (go_background): Replaced with...
6391 (run_mode): ... this.
bb90b80b 6392 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6393 (options): Add -F --foreground.
6394 (main): Implement it.
6395 (parse_opt): Parse it.
bb90b80b 6396
1a4b75a1
AJ
63972012-05-09 Andreas Jaeger <aj@suse.de>
6398
6399 [BZ #14083]
6400 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6401 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6402 -Wconversion warning.
6403 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6404 Likewise.
6405
b1cc2472
JM
64062012-05-09 Joseph Myers <joseph@codesourcery.com>
6407
6408 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6409 == 0.
6410 (LC_ALL): Use macro-int-constant.
6411 (LC_COLLATE): Likewise.
6412 (LC_CTYPE): Likewise.
6413 (LC_MESSAGES): Likewise.
6414 (LC_MONETARY): Likewise.
6415 (LC_NUMERIC): Likewise.
6416 (LC_TIME): Likewise.
6417 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6418 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6420 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6421 Specify type.
6422 [C99-based standards] (float_t): Expect type.
6423 [C99-based standards] (double_t): Expect type.
6424 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6425 type.
6426 [C99-based standards] (HUGE_VALL): Likewise.
6427 [C99-based standards] (INFINITY): Likewise.
6428 [C99-based standards] (NAN): Likewise.
6429 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6430 [C99-based standards] (FP_NAN): Likewise.
6431 [C99-based standards] (FP_NORMAL): Likewise.
6432 [C99-based standards] (FP_SUBNORMAL): Likewise.
6433 [C99-based standards] (FP_ZERO): Likewise.
6434 [C99-based standards] (FP_FAST_FMA): Use
6435 optional-macro-int-constant. Specify type. Require == 1.
6436 [C99-based standards] (FP_FAST_FMAF): Likewise.
6437 [C99-based standards] (FP_FAST_FMAL): Likewise.
6438 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6439 [C99-based standards] (FP_ILOGBNAN): Likewise.
6440 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6441 Specify type.
6442 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6443 [C99-based standards] (math_errhandling): Specify type.
6444 [ISO99 || ISO11] (signgam): Do not allow.
6445 [non-C99-based standards] (copysignf): Do not allow.
6446 [non-C99-based standards] (exp2f): Likewise.
6447 [non-C99-based standards] (log2f): Likewise.
6448 [non-C99-based standards] (modff): Allow.
6449 [non-C99-based standards] (erff): Do not allow.
6450 [non-C99-based standards] (erfcf): Likewise.
6451 [non-C99-based standards] (gammaf): Likewise.
6452 [non-C99-based standards] (hypotf): Likewise.
6453 [non-C99-based standards] (j0f): Likewise.
6454 [non-C99-based standards] (j1f): Likewise.
6455 [non-C99-based standards] (jnf): Likewise.
6456 [non-C99-based standards] (lgammaf): Likewise.
6457 [non-C99-based standards] (tgammaf): Likewise.
6458 [non-C99-based standards] (y0f): Likewise.
6459 [non-C99-based standards] (y1f): Likewise.
6460 [non-C99-based standards] (ynf): Likewise.
6461 [non-C99-based standards] (isnanf): Likewise.
6462 [non-C99-based standards] (acoshf): Likewise.
6463 [non-C99-based standards] (asinhf): Likewise.
6464 [non-C99-based standards] (atanhf): Likewise.
6465 [non-C99-based standards] (cbrtf): Likewise.
6466 [non-C99-based standards] (expm1f): Likewise.
6467 [non-C99-based standards] (ilogbf): Likewise.
6468 [non-C99-based standards] (log1pf): Likewise.
6469 [non-C99-based standards] (logbf): Likewise.
6470 [non-C99-based standards] (nextafterf): Likewise.
6471 [non-C99-based standards] (remainderf): Likewise.
6472 [non-C99-based standards] (rintf): Likewise.
6473 [non-C99-based standards] (scalbf): Likewise.
6474 [non-C99-based standards] (copysignl): Likewise.
6475 [non-C99-based standards] (exp2l): Likewise.
6476 [non-C99-based standards] (log2l): Likewise.
6477 [non-C99-based standards] (modfl): Allow.
6478 [non-C99-based standards] (erfl): Do not allow.
6479 [non-C99-based standards] (erfcl): Likewise.
6480 [non-C99-based standards] (gammal): Likewise.
6481 [non-C99-based standards] (hypotl): Likewise.
6482 [non-C99-based standards] (j0l): Likewise.
6483 [non-C99-based standards] (j1l): Likewise.
6484 [non-C99-based standards] (jnl): Likewise.
6485 [non-C99-based standards] (lgammal): Likewise.
6486 [non-C99-based standards] (tgammal): Likewise.
6487 [non-C99-based standards] (y0l): Likewise.
6488 [non-C99-based standards] (y1l): Likewise.
6489 [non-C99-based standards] (ynl): Likewise.
6490 [non-C99-based standards] (isnanl): Likewise.
6491 [non-C99-based standards] (acoshl): Likewise.
6492 [non-C99-based standards] (asinhl): Likewise.
6493 [non-C99-based standards] (atanhl): Likewise.
6494 [non-C99-based standards] (cbrtl): Likewise.
6495 [non-C99-based standards] (expm1l): Likewise.
6496 [non-C99-based standards] (ilogbl): Likewise.
6497 [non-C99-based standards] (log1pl): Likewise.
6498 [non-C99-based standards] (logbl): Likewise.
6499 [non-C99-based standards] (nextafterl): Likewise.
6500 [non-C99-based standards] (remainderl): Likewise.
6501 [non-C99-based standards] (rintl): Likewise.
6502 [non-C99-based standards] (scalbl): Likewise.
6503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6504 [non-C99-based standards] (FP_*): Do not allow.
6505 [C99-based standards] (FP_*): Change to
6506 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6507 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6508 allow.
6509 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6510 (SIG_ERR): Likewise.
6511 [X/Open-based standards] (SIG_HOLD): Likewise.
6512 (SIG_IGN): Likewise.
6513 (SIGABRT): Use macro-int-constant. Specify type. Require
6514 positive value.
6515 (SIGFPE): Likewise.
6516 (SIGILL): Likewise.
6517 (SIGINT): Likewise.
6518 (SIGSEGV): Likewise.
6519 (SIGTER): Likewise.
6520 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6521 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6522 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6528 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6529 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6530 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6531 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6532 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6533 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6534 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6535 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6536 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6537 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6538 [X/Open-based standards] (SIGTRAP): Likewise.
6539 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6540 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6541 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6542 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6543 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6544 allow.
6545
b9f1922d
IW
65462012-05-08 Ian Wienand <ianw@vmware.com>
6547
6548 [BZ #14080]
6549 * time/tzset.c (__tzset_parse_tz): Update default rules for
6550 daylight time changes in the Energy Policy Act of 2005.
6551
1db86e88
AJ
65522012-05-09 Andreas Jaeger <aj@suse.de>
6553
6554 [BZ #13983]
6555 * elf/ldconfig.c (parse_conf): Change string to make clear that
6556 ldconfig only issued a warning if ld.so.conf does not exist.
6557
dee4a4e3
DM
65582012-05-08 David S. Miller <davem@davemloft.net>
6559
ee0db190
DM
6560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6561 movxtod instead of popping the value on the stack.
6562
dee4a4e3
DM
6563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6564
6a43ec98
CD
65652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6566
6567 * config.h.in: Add HAVE_ARM_PCS_VFP.
6568
05c2c961
RMG
65692012-05-08 Roland Mc Grath <roland@hack.frob.com>
6570
bcfe3a54
ST
6571 [BZ #13979]
6572 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6573 checking but the checks are disabled for any reason.
05c2c961 6574
4b30f61a
L
65752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6578 and ELF64_R_TYPE with ELFW(R_TYPE).
6579
eee2bc67
JM
65802012-05-08 Joseph Myers <joseph@codesourcery.com>
6581
7ea5391a
JM
6582 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6583 (ulimit): Likewise.
6584
eee2bc67
JM
6585 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6586 (settimeofday): Likewise.
6587
abb66a67
MF
65882012-05-08 Mike Frysinger <vapier@gentoo.org>
6589
6590 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6591 a struct th_u2 inside the union, and move tu_block/tu_code into
6592 a new th_u3 union of tu_block/tu_code inside of that. Move
6593 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6594 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6595 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6596 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6597 (th_stuff): Change to th_u1.tu_stuff.
6598 (th_data): Define.
6599 (th_msg): Change to th_u1.th_u2.tu_data.
6600
7f18b530
DM
66012012-05-07 David S. Miller <davem@davemloft.net>
6602
05760585
DM
6603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6604
7f18b530
DM
6605 [BZ #14074]
6606 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6607 (SETUP_PIC_REG): Use it.
6608 (SETUP_PIC_REG_LEAF): Use it.
6609
495fd99f
JM
66102012-05-07 Joseph Myers <joseph@codesourcery.com>
6611
6612 [BZ #13885]
6613 [BZ #13923]
6614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6615 USE_AS_EXPM1L.
6616 (EXPL_FINITE): Likewise.
6617 (FLDLOG): Likewise.
6618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6619 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6620 e_expl.S.
6621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6622 USE_AS_EXPM1L.
6623 (EXPL_FINITE): Likewise.
6624 (FLDLOG): Likewise.
6625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6626 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6627 e_expl.S.
6628 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6629 test of -max_value argument for long double.
6630 * sysdeps/i386/fpu/libm-test-ulps: Update.
6631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632
6693d694
DM
66332012-05-06 David S. Miller <davem@davemloft.net>
6634
6635 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6636 quad soft-float symbols whose references which are compiler
6637 generated.
6638 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6639
6c23e11c
JM
66402012-05-06 Joseph Myers <joseph@codesourcery.com>
6641
d8b82cad
JM
6642 [BZ #13884]
6643 [BZ #13914]
6644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6645 USE_AS_EXP10L.
6646 (EXPL_FINITE): Likewise.
6647 (FLDLOG): Likewise.
6648 (c0): Likewise.
6649 (c1): Likewise.
6650 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6651 Adjust comments for base varying.
6652 (__expl_finite): Change alias to EXPL_FINITE.
6653 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6654 e_expl.S.
6655 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6656 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6658 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6660 USE_AS_EXP10L.
6661 (EXPL_FINITE): Likewise.
6662 (FLDLOG): Likewise.
6663 (c0): Likewise.
6664 (c1): Likewise.
6665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6666 Adjust comments for base varying.
6667 (__expl_finite): Change alias to EXPL_FINITE.
6668 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6669 tests for bugs.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6671
6c23e11c
JM
6672 [BZ #14064]
6673 * math/libm-test.inc (check_float_internal): Correct ulp
6674 calculation for subnormal expected results.
6675
29ba805c
AJ
66762012-05-06 Andreas Jaeger <aj@suse.de>
6677
6678 * Makeconfig (+math-flags): New, set to -frounding-math.
6679 (+cflags): Add +math-flags so that all of glibc gets compiled with
6680 it.
6681
6682 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6683
7b17aeda
JM
66842012-05-05 Joseph Myers <joseph@codesourcery.com>
6685
5779f134
JM
6686 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6687 Disable one test.
6688
41498f4d
JM
6689 [BZ #13787]
6690 [BZ #13922]
6691 [BZ #14036]
6692 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6693 (__ieee754_expl): Allow for and saturate large arguments.
6694 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6695 (u_threshold): Likewise.
6696 (__exp): Call __ieee754_exp before checking for overflow and
6697 underflow.
6698 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6699 (u_threshold): Likewise.
6700 (__expf): Call __ieee754_expf before checking for overflow and
6701 underflow.
6702 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6703 (u_threshold): Likewise.
6704 (__expl): Call __ieee754_expl before checking for overflow and
6705 underflow.
6706 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6707 (__ieee754_expl): Allow for and saturate large arguments.
6708 * math/libm-test.inc (exp_test): Add another test. Do not allow
6709 missing overflow exception on overflow.
6710 (expm1_test): Do not allow missing overflow exception on overflow.
6711
6698b8bf
JM
6712 * sysdeps/i386/fpu/e_expl.c: Move to ...
6713 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6714 rather than using inline asm.
6715 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6716 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6717 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6718
7b17aeda
JM
6719 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6720 (nice): Likewise.
6721 (poll): Likewise.
6722 (signal): Likewise.
6723 (time): Likewise.
6724 (times): Likewise.
6725
f7c85819
JM
67262012-05-04 Joseph Myers <joseph@codesourcery.com>
6727
6728 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6729 sysdeps/unix/common/syscalls.list.
6730 (fchmod): Likewise.
6731 (fchown): Likewise.
6732 (ftruncate): Likewise.
6733 (getrusage): Likewise.
6734 (gettimeofday): Likewise.
6735 (setpgid): Likewise.
6736 (setregid): Likewise.
6737 (setreuid): Likewise.
6738 (sigaction): Likewise.
6739 (truncate): Likewise.
6740 (vhangup): Likewise.
6741 * sysdeps/unix/common/syscalls.list: Remove file.
6742 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6743 * sysdeps/unix/sysv/linux/Implies: Likewise.
6744
336270d0
L
67452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6746
6747 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6749 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6750 Moved to ...
6751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6752 Here.
6753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6754 to ...
6755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6757 to ...
6758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6760 to ...
6761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6762 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6763 to ...
6764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6766 to ...
6767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6768 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6769 to ...
6770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6771 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6772 to ...
6773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6774 Here.
6775 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6776 to ...
6777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6778 Here.
6779 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6780 to ...
6781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6782 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6783 Moved to ...
6784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6785 Here.
6786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6787 to ...
6788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6789
d128e450
JM
67902012-05-04 Joseph Myers <joseph@codesourcery.com>
6791
fa8ee516
JM
6792 * sysdeps/unix/common/bits/dirent.h: Remove file.
6793 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6794
d128e450
JM
6795 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6796 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6797 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6798 * sysdeps/unix/bsd/isatty.c: Likewise.
6799 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6800 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6801 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6802
ff8faaf0 68032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6804
62881be4 6805 [BZ #13563]
31dc8730
AZ
6806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6807 long double comparison inaccuracies.
6808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6810
6fef930c
AS
68112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6812
6813 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6815
8f203e6c
JM
68162012-05-04 Joseph Myers <joseph@codesourcery.com>
6817
6818 [BZ #14049]
6819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6820 nonzero digits before rounding a hex value.
6821 * stdlib/tst-strtod.c (tests): Add another test.
6822
5197d9c2
AK
68232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6824
6825 * sysdeps/s390/fpu/libm-test-ulps: Update.
6826
f0c1dedf
AJ
68272012-05-03 Andreas Jaeger <aj@suse.de>
6828
6829 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6830 does not get optimized out.
6831 (malloc_opt_barrier): New.
6832
a65ef2ae 68332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6834 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6835
2b942cb7 6836 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6837 intermediate file deletion.
2b942cb7 6838 (generated): Add .symlist files.
a65ef2ae 6839
54b71e02
JM
68402012-05-03 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #13775]
6843 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6844 Redirect under this condition.
6845 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6846 [__USE_GNU] (__dprintf_chk): Not under this condition.
6847 [__USE_GNU] (__vdprintf_chk): Likewise.
6848 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6849 under this condition.
6850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6851 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6852 [__USE_XOPEN2K8] (vdprintf): Likewise.
6853 [__USE_GNU] (__dprintf_chk): Not under this condition.
6854 [__USE_GNU] (__vdprintf_chk): Likewise.
6855 [__USE_GNU] (dprintf): Likewise.
6856 [__USE_GNU] (vdprintf): Likewise.
6857
d3dfcc41
RM
68582012-05-03 Roland McGrath <roland@hack.frob.com>
6859
6860 * elf/Makefile (common-generated): Set this instead of generated for
6861 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6862 $(all-built-dso)-derived lists.
6863
7ac30cc5
AJ
68642012-05-03 Andreas Jaeger <aj@suse.de>
6865
0c51e550
AJ
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867
7ac30cc5
AJ
6868 * FAQ: Removed.
6869 * FAQ.in: Likewise.
6870 * scripts/gen-FAQ.pl: Likewise.
6871 * manual/install.texi (Installation): Point to online location of
6872 FAQ.
6873 * Makefile (files-for-dist): Remove FAQ.
6874 (FAQ): Remove.
6875
d4c2917f
AM
68762012-05-02 Allan McRae <allan@archlinux.org>
6877
6878 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6879 (LDFLAGS-reldepmod5.so): Likewise.
6880 (LDFLAGS-reldep6mod1.so): Likewise.
6881 (LDFLAGS-reldep6mod4.so): Likewise.
6882 (LDFLAGS-reldep8mod3.so): Likewise.
6883 (LDFLAGS-unload4mod1.so): Likewise.
6884 (LDFLAGS-unload4mod2.so): Likewise.
6885 (LDFLAGS-tst-initorder): Likewise.
6886 (LDFLAGS-tst-initordera2.so): Likewise.
6887 (LDFLAGS-tst-initordera3.so): Likewise.
6888 (LDFLAGS-tst-initordera4.so): Likewise.
6889 (LDFLAGS-tst-initorderb2.so): Likewise.
6890 (LDFLAGS-noload): Likewise.
6891 (LDFLAGS-next): Likewise.
6892 (LDFLAGS-order2mod1.so): Likewise.
6893 (LDFLAGS-order2mod2.so): Likewise.
6894 (LDFLAGS-tst-initorder2): Likewise.
6895 (LDFLAGS-tst-initorder2a.so): Likewise.
6896 (LDFLAGS-tst-initorder2b.so): Likewise.
6897 (LDFLAGS-tst-initorder2c.so): Likewise.
6898 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6899
d77f993f
DM
69002012-05-02 David S. Miller <davem@davemloft.net>
6901
6902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6903
171a70b4
PP
69042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6905
6906 [BZ #14055]
6907 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6908
0be196ad
AJ
69092012-05-02 Andreas Jaeger <aj@suse.de>
6910
6911 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6912 since we manipulate rounding mode.
6913 (CPPFLAGS-test-idouble.c): Likewise.
6914 (CPPFLAGS-test-ifloat.c): Likewise.
6915 (CFLAGS-test-ldouble.c): Likewise.
6916 (CFLAGS-test-double.c): Likewise.
6917 (CFLAGS-test-float.c): Likewise.
6918 (CFLAGS-test-misc.c): Likewise.
6919 (CFLAGS-test-test-fenv.c): Likewise.
6920
4f9d04aa
AZ
69212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6922
2b942cb7
RM
6923 [BZ #2550]
6924 [BZ #2570]
6925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6926 comparisons to determine direction to adjust input.
4f9d04aa 6927
82a79e7d
RM
69282012-05-01 Roland McGrath <roland@hack.frob.com>
6929
f5a01ca9
RM
6930 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6931 output to the target.
6932
90fe4186
RM
6933 * scripts/localplt.awk: New file.
6934 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6935 (check-localplt-CFLAGS): Variable removed.
6936 ($(all-built-dso:=.jmprel)): New static pattern rule.
6937 (generated): Add those targets.
6938 (localplt-built-dso): New variable.
6939 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6940
6941 * elf/check-localplt.c: File removed.
6942
82397ed6
RM
6943 * scripts/check-execstack.awk: New file.
6944 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6945 (check-execstack-CFLAGS): Variable removed.
6946 ($(objpfx)check-execstack.h): Target removed.
6947 ($(objpfx)execstack-default): New target.
6948 (generated): Add that instead of check-execstack.h.
6949 ($(all-built-dso:=.phdr)): New static pattern rule.
6950 (generated): Add those targets.
6951 * elf/check-execstack.c: File removed.
6952
82a79e7d
RM
6953 * scripts/check-textrel.awk: New file.
6954 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6955 (check-textrel-CFLAGS): Variable removed.
6956 (all-built-dso): Use := to define.o
6957 ($(all-built-dso:=.dyn)): New static pattern rule.
6958 (generated): Add those targets.
6959 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6960 * config.make.in (READELF): New substituted variable.
6961 * elf/check-textrel.c: File removed.
6962
62fde54f 69632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6964
615605c9
JM
6965 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6966 allow.
6967 * conform/data/ctype.h-data [C99-based standards] (isblank):
6968 Expect function.
6969 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6970 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6972 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6973 Specify type. Require positive value.
6974 (EILSEQ): Likewise.
6975 (ERANGE): Likewise.
6976 [ISO || POSIX] (EILSEQ): Do not expect.
6977 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6978 Specify type. Require positive value.
6979 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7010 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7011 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7012 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7013 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7014 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7015 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7016 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7017 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7018 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7019 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7020 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7021 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7022 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7023 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7024 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7025 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7026 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7027 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7028 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7029 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7030 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7031 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7032 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7033 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7034 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7035 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7036 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7037 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7038 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7039 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7040 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7041 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7042 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7043 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7044 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7045 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7046 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7047 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7048 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7049 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7050 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7051 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7052 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7053 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7054 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7055 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7056 Require >= 2.
7057 (FLT_ROUNDS): Expect as macro, not constant.
7058 (FLT_MANT_DIG): Use macro-int-constant.
7059 (DBL_MANT_DIG): Likewise.
7060 (LDBL_MANT_DIG): Likewise.
7061 (FLT_DIG): Likewise.
7062 (DBL_DIG): Likewise.
7063 (LDBL_DIG): Likewise.
7064 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7065 (DBL_MIN_EXP): Likewise.
7066 (LDBL_MIN_EXP): Likewise.
7067 (FLT_MAX_EXP): Use macro-int-constant.
7068 (DBL_MAX_EXP): Likewise.
7069 (LDBL_MAX_EXP): Likewise.
7070 (FLT_MAX_10_EXP): Likewise.
7071 (DBL_MAX_10_EXP): Likewise.
7072 (LDBL_MAX_10_EXP): Likewise.
7073 (FLT_MAX): Use macro-constant.
7074 (DBL_MAX): Likewise.
7075 (LDBL_MAX): Likewise.
7076 (FLT_EPSILON): Use macro-constant. Give upper bound.
7077 (DBL_EPSILON): Likewise.
7078 (LDBL_EPSILON): Likewise.
7079 (FLT_MIN): Likewise.
7080 (DBL_MIN): Likewise.
7081 (LDBL_MIN): Likewise.
7082 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7083 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7084 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7085 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7086 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7087 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7088 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7089 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7090 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7091 [ISO11] (FLT_TRUE_MIN): Likewise.
7092 [ISO11] (LDBL_TRUE_MIN): Likewise.
7093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7094 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7095 (SCHAR_MIN): Use macro-int-constant. Specify type.
7096 (SCHAR_MAX): Likewise.
7097 (UCHAR_MAX): Likewise.
7098 (CHAR_MIN): Likewise.
7099 (CHAR_MAX): Likewise.
7100 (MB_LEN_MAX): Use macro-int-constant.
7101 (SHRT_MIN): Use macro-int-constant. Specify type.
7102 (SHRT_MAX): Likewise.
7103 (USHRT_MAX): Likewise.
7104 (INT_MAX): Likewise.
7105 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7106 bound negative.
7107 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7108 bound with "U".
7109 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7110 bound with "L".
7111 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7112 bound negative. Suffix upper bound with "L".
7113 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7114 bound with "UL".
7115 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7116 Specify type.
7117 [C99-based standards] (LLONG_MAX): Likewise.
7118 [C99-based standards] (ULLONG_MAX): Likewise.
7119 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7120 == 0.
7121 [ISO11] (max_align_t): Require type.
7122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7123
c9140a62
JM
7124 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7125 from $CFLAGS, without defining away __attribute__ calls.
7126 (checknamespace): Use $CFLAGS_namespace.
7127
9af0bf29
JM
7128 * conform/conformtest.pl (@keywords): Only include C99 keywords
7129 for standards based on C99 or C11.
7130
343222a2
JM
7131 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7132 Disable tests.
7133 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7134 UNIX98]: Likewise.
7135
661f8cf0
JM
7136 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7137 usability of symbols in #if.
7138
ee74b9cb
JM
7139 * conform/conformtest.pl: If macro or constant types start
7140 "promoted:", expect the symbol to be of the following type
7141 promoted by the integer promotions.
62fde54f 7142
aafc49b3
JM
7143 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7144 in one place. Also handle "macro-constant".
7145
fefdf574
JM
7146 * conform/conformtest.pl: Only accept expected macro values with
7147 "==". Parse all "macro" lines in one place.
7148 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7149
f2d922fe
JM
7150 * conform/conformtest.pl: Handle braced types on "constant" lines
7151 instead of handling "typed-constant".
7152 * conform/data/signal.h-data: Use "constant" instead of
7153 "typed-constant".
7154
d22956c9
JM
7155 * conform/conformtest.pl: Handle "optional-" at start of lines in
7156 one place rather than duplicating several cases. Handle each
7157 format of "macro" line with initial "optional-".
7158
028e2e38
JM
7159 * conform/conformtest.pl: Only accept expected constant or
7160 optional-constant values with "==". Parse all "constant" lines in
7161 one place. Parse all "optional-constant" lines in one place.
7162 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7163 * conform/data/fmtmsg.h-data: Likewise.
7164 * conform/data/netinet/in.h-data: Likewise.
7165 * conform/data/tar.h-data: Likewise.
7166 * conform/data/limits.h-data: Use "==" form on "constant" and
7167 "optional-constant" lines.
7168
1b8f2850
JM
7169 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7170 Use -std=c99 for XOPEN2K.
7171 (@knownproblems): Remove.
7172 (newtoken): Don't check %isknown.
7173
a05a144b
JM
7174 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7175 Do not expect macro.
7176 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7188 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7189 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7206 [XPG3] (acosh): Likewise.
7207 [XPG3] (asinh): Likewise.
7208 [XPG3] (atanh): Likewise.
7209 [XPG3] (cbrt): Likewise.
7210 [XPG3] (expm1): Likewise.
7211 [XPG3] (ilogb): Likewise.
7212 [XPG3] (log1p): Likewise.
7213 [XPG3] (logb): Likewise.
7214 [XPG3] (nextafter): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7217 [XPG3] (remainder): Likewise.
7218 [XPG3] (rint): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7226 [UNIX98 || XOPEN2K] (scalb): Expect.
7227 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7228 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7337 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7338 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7339 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7340 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7341 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7342 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7343 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7344 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7345 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7346 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7347 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7348 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7349 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7350 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7351 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7352 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7353 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7354 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7355 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7356 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7357 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7358 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7359 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7360 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7361 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7362 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7363 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7364
73c5ebe3
JM
7365 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7366 _XOPEN_SOURCE_EXTENDED for XPG4.
7367
39c33b6c
JM
7368 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7369
62fde54f
JM
7370 * Makeconfig (localtime): Remove variable.
7371 (inst_localtime-file): Likewise.
7372
0741d64c
AS
73732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7374
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7376 Update.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7378 Update.
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7380 Update.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7382 Update.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7384 Update.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7386 Update.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7388 Update.
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7390 Update.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7392 Update.
7393
7cb029ee
JM
73942012-05-01 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #2550]
7397 [BZ #2570]
7398 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7399 comparisons to determine direction to adjust input.
7400 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7401 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7403 Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7405 Likewise.
7406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7407 Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7410 Likewise.
7411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7412 Likewise.
7413 * math/libm-test.inc (nexttoward_test): Add more tests.
7414
412bd966
AS
74152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7416
7417 [BZ #14040]
7418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7419 in version GLIBC_2.1, not GLIBC_2.0.
7420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7421 Likewise.
7422
9568c0c2
JM
74232012-04-30 Joseph Myers <joseph@codesourcery.com>
7424
adfbc8ac
JM
7425 [BZ #13942]
7426 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7427 (1 - x) * (1 + x).
7428 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7429 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7430 * math/libm-test.inc (acos_test): Add more tests.
7431 (asin_test): Likewise.
7432 * sysdeps/i386/fpu/libm-test-ulps: Update.
7433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434
5ba3cc69
JM
7435 [BZ #14034]
7436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7437 of square root.
7438 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7440 * math/libm-test.inc (acos_test_tonearest): New function.
7441 (acos_test_towardzero): Likewise.
7442 (acos_test_downward): Likewise.
7443 (acos_test_upward): Likewise.
7444 (asin_test_tonearest): Likewise.
7445 (asin_test_towardzero): Likewise.
7446 (asin_test_downward): Likewise.
7447 (asin_test_upward): Likewise.
7448 (main): Call the new functions.
7449 * sysdeps/i386/fpu/libm-test-ulps: Update.
7450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7451
9568c0c2
JM
7452 [BZ #13884]
7453 [BZ #13924]
7454 * math/e_exp10.c: Include <float.h>.
7455 (__ieee754_exp10): Handle underflow here rather than multiplying
7456 large negative argument by M_LN10.
7457 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7458 of __ieee754_expf.
7459 * math/e_exp10l.c: Include <float.h>.
7460 (__ieee754_exp10l): Handle underflow here rather than multiplying
7461 large negative argument by M_LN10l.
7462 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7463 spurious overflow exception on underflow.
7464
5ac3ea17
MP
74652012-04-29 Marek Polacek <polacek@redhat.com>
7466
7467 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7468 (__fortify_function): New macro.
7469 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7470 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7471 __extern_always_inline.
7472 * libio/bits/stdio2.h: Likewise.
7473 * libio/bits/stdio.h: Likewise.
7474 * string/string.h: Likewise.
7475 * string/bits/string3.h: Likewise.
7476 * include/stdio.h: Likewise.
7477 * stdlib/bits/stdlib.h: Likewise.
7478 * stdlib/stdlib.h: Likewise.
7479 * rt/bits/mqueue2.h: Likewise.
7480 * rt/mqueue.h: Likewise.
7481 * posix/bits/unistd.h: Likewise.
7482 * posix/unistd.h: Likewise.
7483 * io/bits/poll2.h: Likewise.
7484 * io/bits/fcntl2.h: Likewise.
7485 * io/fcntl.h: Likewise.
7486 * io/sys/poll.h: Likewise.
7487 * misc/bits/syslog.h: Likewise.
7488 * misc/bits/syslog-ldbl.h: Likewise.
7489 * misc/sys/syslog.h: Likewise.
7490 * socket/bits/socket2.h: Likewise.
7491 * socket/sys/socket.h: Likewise.
7492 * debug/tst-chk1.c: Likewise.
7493 * wcsmbs/bits/wchar2.h: Likewise.
7494 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7495 * wcsmbs/wchar.h: Likewise.
7496
ecf0ebfb
AJ
74972012-04-29 Andreas Jaeger <aj@suse.de>
7498
7499 * Makerules (tests): Remove enable-check-abi protection.
7500 (check-abi-warn): Remove.
7501 (check-abi-%): Remove check-abi-warn usage.
7502
7503 * configure.in: Remove check-abi configure option.
7504 * configure: Regenerated.
7505 * config.make.in (enable-check-abi): Remove.
7506
6d5c57fa
AS
75072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7508
24c5d07e 7509 [BZ #14033]
ded5180a
AS
7510 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7511 double functions to double *_finite functions.
7512
7e0d315d
AS
7513 [BZ #13941]
7514 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7515 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7516 LDBL_MIN_EXP.
7517 * stdio-common/Makefile (tests): Add tst-sprintf3.
7518 * stdio-common/tst-sprintf3.c: New file.
7519
6d5c57fa
AS
7520 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7521 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7522
0749ff8b
JM
75232012-04-28 Joseph Myers <joseph@codesourcery.com>
7524
7525 * conform/conformtest.pl: Remove duplicate typed-constant
7526 handling.
7527
8dbd5d7b
DM
75282012-04-28 David S. Miller <davem@davemloft.net>
7529
7530 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7531 (check-abi-%): Remove AWK script prerequisite and explicit
7532 abilist directory.
7533 (check-abi): Rewrite to just diff the symlist with the abilist.
7534 (config-tls, config-abi-config): Delete, no longer used.
7535 (update-abi-%): Remove AWK script and explicit abilist directory.
7536 (update-abi): Rewrite to simply compare and conditionally copy the
7537 symlist and the sysdep abilist file. Remove update-abi-config
7538 checks.
7539 * abilist/ld.abilist: Remove.
7540 * abilist/libBrokenLocale.abilist: Remove.
7541 * abilist/libanl.abilist: Remove.
7542 * abilist/libcrypt.abilist: Remove.
7543 * abilist/libdl.abilist: Remove.
7544 * abilist/librt.abilist: Remove.
7545 * abilist/libthread_db.abilist: Remove.
7546 * abilist/libutil.abilist: Remove.
7547 * scripts/extract-abilist.awk: Remove.
7548 * scripts/merge-abilist.awk: Remove.
7549 * sysdeps/generic/libcidn.abilist: New file.
7550 * sysdeps/generic/libnss_compat.abilist: New file.
7551 * sysdeps/generic/libnss_db.abilist: New file.
7552 * sysdeps/generic/libnss_dns.abilist: New file.
7553 * sysdeps/generic/libnss_files.abilist: New file.
7554 * sysdeps/generic/libnss_hesiod.abilist: New file.
7555 * sysdeps/generic/libnss_nis.abilist: New file.
7556 * sysdeps/generic/libnss_nisplus.abilist: New file.
7557 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7558 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7559 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7560 file.
7561 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7562 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7564 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7565 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7566 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7567 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7568 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7569 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7570 file.
7571 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7575 file.
7576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7577 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7578 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7579 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7580 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7581 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7582 file.
7583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7584 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7586 file.
7587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7589 New file.
7590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7591 New file.
7592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7593 New file.
7594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7595 New file.
7596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7597 New file.
7598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7599 New file.
7600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7601 New file.
7602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7603 New file.
7604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7605 New file.
7606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7607 New file.
7608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7609 New file.
7610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7611 New file.
7612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7613 New file.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7615 file.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7617 New file.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7619 New file.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7621 file.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7623 New file.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7625 New file.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7627 file.
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7629 New file.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7631 New file.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7633 New file.
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7635 New file.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7637 New file.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7639 New file.
7640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7642 file.
7643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7644 New file.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7646 file.
7647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7648 file.
7649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7650 file.
7651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7652 file.
7653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7654 file.
7655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7656 New file.
7657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7658 file.
7659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7660 file.
7661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7662 New file.
7663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7664 file.
7665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7667 file.
7668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7669 New file.
7670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7671 file.
7672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7673 file.
7674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7675 file.
7676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7677 file.
7678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7679 file.
7680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7681 New file.
7682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7683 file.
7684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7685 file.
7686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7687 New file.
7688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7689 file.
7690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7691 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7692 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7693 file.
7694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7695 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7696 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7698 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7699 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7700 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7701 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7702 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7703 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7706 file.
7707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7708 New file.
7709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7710 file.
7711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7712 file.
7713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7714 file.
7715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7716 file.
7717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7718 file.
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7720 New file.
7721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7722 New file.
7723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7724 file.
7725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7726 New file.
7727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7728 file.
7729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7731 file.
7732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7733 New file.
7734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7735 file.
7736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7737 file.
7738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7739 file.
7740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7741 file.
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7743 file.
7744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7745 New file.
7746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7747 New file.
7748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7749 file.
7750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7751 New file.
7752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7753 file.
7754
41d73a1b
JM
77552012-04-28 Joseph Myers <joseph@codesourcery.com>
7756
7757 * conform/conformtest.pl: Fix typo in handling typed-constant from
7758 allow-header.
7759
28aeeda4
JM
77602012-04-27 Joseph Myers <joseph@codesourcery.com>
7761
adae8f5e
JM
7762 * README: Cut down references to pre-2.6 Linux kernels and
7763 Linuxthreads. Update lists of configurations in libc and ports
7764 and sort alphabetically. Say "or newer" with Linux kernel version
7765 requirements.
7766
28aeeda4
JM
7767 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7768
a462cb63
RA
77692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7770
7771 [BZ #887]
7772 * math/libm-test.inc (logb_test_downward): New test to expose
7773 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7774 rounding mode.
7775
6ad3493e
JM
77762012-04-27 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #14027]
7779 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7780 to be done.
7781 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7782 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7783
2ce4f015
JM
77842012-04-26 Joseph Myers <joseph@codesourcery.com>
7785
5aeb141a
JM
7786 * sysdeps/unix/i386/brk.S: Remove file.
7787 * sysdeps/unix/i386/dl-brk.S: Likewise.
7788 * sysdeps/unix/i386/pipe.S: Likewise.
7789 * sysdeps/unix/i386/sigreturn.S: Likewise.
7790 * sysdeps/unix/i386/syscall.S: Likewise.
7791 * sysdeps/unix/i386/vfork.S: Likewise.
7792 * sysdeps/unix/i386/wait.S: Likewise.
7793
7143acae
JM
7794 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7795 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7796
2ce4f015
JM
7797 * configure.in (arm*-none*): Do not allow without
7798 --enable-hacker-mode.
7799 (netbsd*): Remove case setting base_os.
7800 (386bsd*): Likewise.
7801 (freebsd*): Likewise.
7802 (bsdi*): Likewise.
7803 (osf*): Likewise.
7804 (sunos*): Likewise.
7805 (ultrix*): Likewise.
7806 (newsos*): Likewise.
7807 (dynix*): Likewise.
7808 (*bsd*): Likewise.
7809 (sysv*): Likewise.
7810 (isc*): Likewise.
7811 (esix*): Likewise.
7812 (sco*): Likewise.
7813 (minix*): Likewise.
7814 (irix4*): Likewise.
7815 (irix6*): Likewise.
7816 (solaris[2-9]*): Likewise.
7817 (none): Likewise.
7818 * configure: Regenerated.
7819
0ac229c8
AZ
78202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821
7822 [BZ #11521]
7823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7824 overflow or cancellation in calculating denominator.
7825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7827 down expression to avoid unexpected rounding in newer GCCs.
7828 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7829
33f244f4
DM
78302012-04-26 David S. Miller <davem@davemloft.net>
7831
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7833 long-double compat symbols.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7847
cfa1f3e8
DM
78482012-04-25 David S. Miller <davem@davemloft.net>
7849
7850 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7851 HWCAP_* values only after the memory barriers have been defined.
7852 (atomic_full_barrier): Define.
7853 (atomic_read_barrier): Define.
7854 (atomic_write_barrier): Define.
7855
6e236b92
SP
78562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 * shlib-versions: Add libgcc_s version information.
7859 * sysdeps/generic/libgcc_s.h: Remove.
7860 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7861 libgcc_s.h.
7862 * sysdeps/gnu/unwind-resume.c: Likewise.
7863 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7864
aab39a09
DM
78652012-04-25 David S. Miller <davem@davemloft.net>
7866
7867 * sysdeps/unix/sparc/brk.S: Delete.
7868 * sysdeps/unix/sparc/dl-brk.S: Delete.
7869 * sysdeps/unix/sparc/pipe.S: Delete.
7870 * sysdeps/unix/sparc/sysdep.S: Delete.
7871 * sysdeps/unix/sparc/sysdep.h: Delete.
7872 * sysdeps/unix/sparc/vfork.S: Delete.
7873 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7874 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7876 ret_ERRVAL, r0, r1, MOVE): Define.
7877 (JUMPTARGET): Remove.
7878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7879 sysdeps/unix/sparc/sysdep.h
7880 (ENTRY, END): Remove.
7881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7882
a3cc4f48
JM
78832012-04-25 Joseph Myers <joseph@codesourcery.com>
7884
2ed8cda2
JM
7885 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7886 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7887 -DIS_IN_build.
7888
35d76d59
JM
7889 * timezone/README: Update upstream location and email address for
7890 tzcode and tzdata.
7891 * timezone/zdump.c: Update from tzcode 2012b.
7892 * timezone/zic.c: Likewise.
7893
a3cc4f48
JM
7894 * configure.in (libc_cv_as_needed): Remove test.
7895 * configure: Regenerated.
7896 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7897 conditional definition.
7898 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7899 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7900 * config.make.in (have-as-needed): Remove variable.
7901
ceab42c3
SP
79022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7903 Paul Pluzhnikov <ppluzhnikov@google.com>
7904
7905 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7906 strings correctly.
7907
3ce2865f
CLT
79082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7909
7910 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7911 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7912 * sysdeps/sh/strlen.S: Likewise.
7913
f37e0d68
JM
79142012-04-24 Joseph Myers <joseph@codesourcery.com>
7915
ae186e9a
JM
7916 * sysdeps/unix/fork.S: Remove file.
7917 * sysdeps/unix/i386/fork.S: Likewise.
7918 * sysdeps/unix/sparc/fork.S: Likewise.
7919
b96914af
JM
7920 * sysdeps/unix/system.c: Remove file.
7921 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7922
f37e0d68
JM
7923 * sysdeps/unix/getegid.S: Remove file.
7924 * sysdeps/unix/geteuid.S: Likewise.
7925
87ef29ca
RM
79262012-04-24 Roland McGrath <roland@hack.frob.com>
7927
83bcd236
RM
7928 * scripts/check-localplt.awk: New file.
7929 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7930 of diff.
7931 * scripts/data/localplt-generic.data: Add a comment.
7932
87ef29ca
RM
7933 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7934 NODE when __dir_mkfile failed.
7935 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7936 Reported by Ludovic Courtès <ludo@gnu.org>.
7937
e5a6e567
AJ
79382012-04-24 Andreas Jaeger <aj@suse.de>
7939
7940 * Makerules (common-clean): Also remove gen-as-const-headers
7941 files.
7942
c1820385
JM
79432012-04-24 Joseph Myers <joseph@codesourcery.com>
7944
7945 * Makerules (native-compile): Do not change working directory for
7946 build. Use $(OUTPUT_OPTION) in command.
7947 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7948
94e02fc4
AZ
79492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7950
7951 [BZ #13886]
7952 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7953 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7954 * math/libm-test.inc (floor_test): Add more tests.
7955 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7956
3a533ca3
JM
79572012-04-24 Joseph Myers <joseph@codesourcery.com>
7958
940ab4b3
JM
7959 * sysdeps/unix/getdents.c: Remove file.
7960 * sysdeps/unix/sysv/getdents.c: Likewise.
7961 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7962
90e037bd
JM
7963 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7964 sysdeps/unix/mman/syscalls.list.
7965 (mmap): Likewise.
7966 (mprotect): Likewise.
7967 (msync): Likewise.
7968 (munmap): Likewise.
7969 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7970 * sysdeps/unix/mman/syscalls.list: Remove.
7971 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7972
3a533ca3
JM
7973 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7974 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7975 * configure: Regenerated.
7976 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7977 $(libgcc_s_suffix).
7978 * config.make.in (libgcc_s_suffix): Remove variable.
7979
1ad743de
JM
79802012-04-23 Joseph Myers <joseph@codesourcery.com>
7981
4ad451e2
JM
7982 * sysdeps/unix/sysv/gethostname.c: Move to ...
7983 * sysdeps/posix/gethostname.c: ... here.
7984
5e37ce39
JM
7985 * sysdeps/unix/execve.S: Remove file.
7986
1ad743de
JM
7987 * sysdeps/unix/_exit.S: Remove file.
7988
4e681b5b
AJ
79892012-04-23 Andreas Jaeger <aj@suse.de>
7990
7991 [BZ #13739]
7992 * manual/Makefile: Remove make dist support, there's no
7993 need for a stand-alone documentation tar ball.
7994 (TEXI2DVI): Define always, it's not in Makeconfig.
7995 (dist): Removed.
7996 (tar-it): Removed.
7997 (edition): Removed.
7998 (glibc-doc-$(edition).tar): Removed
7999 (%.Z): Removed.
8000 (%.gz): Removed.
8001 (%.uu): Removed.
8002 (ETAGS): Remove, it's in Makeconfig.
8003 (move-if-change): Remove, it's in Makeconfig.
8004
c0baea34
PE
80052013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8006
8007 [BZ #13970]
8008 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8009 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8010 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8011 (strtod_l, strtof_l, strtold_l): Remove __wur.
8012 It is not necessarily an error to ignore strtol's return value.
8013 One can reliably look at the stored endptr to decide whether
8014 the number had valid syntax.
8015
7c0616fa
AJ
80162012-04-21 Andreas Jaeger <aj@suse.de>
8017
803cb6b7 8018 [BZ #13739]
7c0616fa
AJ
8019 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8020
b0fe253f
JM
80212012-04-21 Joseph Myers <joseph@codesourcery.com>
8022
8023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8024 * sysdeps/unix/sysv/Versions: Remove file.
8025
8280f22d
MT
80262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8027
8028 [BZ #13927]
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8030
75ce411f 80312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8032
8033 [BZ #7064]
8034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8035 version from __vm86.
8036
097d59fa
JM
80372012-04-20 Joseph Myers <joseph@codesourcery.com>
8038
a90f3bcb
JM
8039 * sysdeps/unix/common/lxstat.c: Remove file.
8040 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8041
edc7ea78
JM
8042 * sysdeps/unix/sysv/Makefile: Remove file.
8043
cb78c221
JM
8044 * sysdeps/unix/sysv/direct.h: Remove file.
8045
efa6a45f
JM
8046 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8047 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8048 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8049 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8050 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8051 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8052 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8053
9c9f2d0c
JM
8054 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8055
4541c83b
JM
8056 * sysdeps/unix/xmknod.c: Remove file.
8057 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8058
f5d153a0
JM
8059 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8060
aa746595
JM
8061 * sysdeps/unix/sysv/i386/time.S: Remove file.
8062
cce5905e
JM
8063 * sysdeps/unix/fxstat.c: Remove file.
8064 * sysdeps/unix/xstat.c: Likewise.
8065 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8066
37fa3841
JM
8067 * sysdeps/unix/sysv/sigaction.c: Remove file.
8068
ff1962a3
JM
8069 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8070 (sysdep_headers): Remove variable.
8071 [termio.h not in sysdep_headers] (generated): Likewise.
8072 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8073 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8074 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8075 * sysdeps/unix/sysv/tcflow.c: Likewise.
8076 * sysdeps/unix/sysv/tcflush.c: Likewise.
8077 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8078 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8079 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8080 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8081 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8082
e7740d31
JM
8083 * sysdeps/unix/siglist.c: Remove file.
8084
ee06f18b
JM
8085 * sysdeps/unix/getppid.S: Remove file.
8086
097d59fa
JM
8087 * sysdeps/unix/mkdir.c: Remove file.
8088 * sysdeps/unix/rmdir.c: Likewise.
8089
ff3d51ec
AS
80902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8093 ERR_MAX value.
8094 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8095 errlist-compat value.
8096
50f81fd7
DM
80972012-04-18 David S. Miller <davem@davemloft.net>
8098
8099 * sysdeps/generic/memcopy.h (reg_char): Delete.
8100 * debug/strcat_chk.c: Use char, not reg_char.
8101 * debug/strcpy_chk.c: Likewise.
8102 * debug/strncat_chk.c: Likewise.
8103 * debug/strncpy_chk.c: Likewise.
8104 * string/memchr.c: Likewise.
8105 * string/memrchr.c: Likewise.
8106 * string/rawmemchr.c: Likewise.
8107 * string/strcat.c: Likewise.
8108 * string/strchr.c: Likewise.
8109 * string/strchrnul.c: Likewise.
8110 * string/strcmp.c: Likewise.
8111 * string/strcpy.c: Likewise.
8112 * string/strncat.c: Likewise.
8113 * string/strncmp.c: Likewise.
8114 * string/strncpy.c: Likewise.
8115
8ff41c46
WS
81162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8117
8118 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8119 __builtin_memcopy is called when src and dest ranges are known to not
8120 overlap.
8121
6b652f46
WS
81222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8123
8124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8125 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8126 fwd_align_merge macro call.
8127 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8128 bwd_align_merge macro call.
8129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8130
b282631e
WS
81312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8132
8133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8134 bwd_align_merge macros.
8135 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8136 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8138
95aa737c
DM
81392012-04-18 David S. Miller <davem@davemloft.net>
8140
8141 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8142
7a99a614
AJ
81432012-04-18 Andreas Jaeger <aj@suse.de>
8144
8145 [BZ# 6794]
8146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8147 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8149
8150 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8151 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8153
8154 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8155 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8156 Adjust for changed ldbl-128 files.
8157
8158 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8159 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8161
e5270c23
DM
81622012-04-17 David S. Miller <davem@davemloft.net>
8163
8164 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8165
fb5e92c9
AS
81662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8167
8168 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8169 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8170 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8171 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8173 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8174
76da7265
AZ
81752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8176
8177 [BZ #6794]
8178 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8179 * math/libm-test.inc: Add ilogb errno and exception tests.
8180 * math/w_ilogb.c: New file: ilogb wrapper.
8181 * math/w_ilogbf.c: New file: ilogbf wrapper.
8182 * math/w_ilogbl.c: New file: ilogbl wrapper.
8183 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8184 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8185 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8186 exception being thrown with 0.0 as argument.
8187 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8188 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8189 exception being thrown with 0.0 as argument.
8190 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8191 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8192 exception being thrown with 0.0 as argument.
8193 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8194 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8195 exception being thrown with 0.0 as argument.
8196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8197 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8199 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8201 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8202 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8203 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8204 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8205
0396e69d
PB
82062012-04-17 Petr Baudis <pasky@ucw.cz>
8207
8208 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8209 with altivec.
8210
750b5926
MP
82112012-04-16 Marek Polacek <polacek@redhat.com>
8212
8213 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8214
751728a1
MP
82152012-04-16 Marek Polacek <polacek@redhat.com>
8216
8217 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8218 operands of fdivp instruction.
8219
34a27407
L
82202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8223 * elf/tst-auditmod3b.c: Likewise.
8224 * elf/tst-auditmod4b.c: Likewise.
8225 * elf/tst-auditmod5b.c: Likewise.
8226 * elf/tst-auditmod6b.c: Likewise.
8227 * elf/tst-auditmod6c.c: Likewise.
8228 * elf/tst-auditmod7b.c: Likewise.
8229 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8230 * sysdeps/x86_64/preconfigure.in: Likewise.
8231 * sysdeps/x86_64/preconfigure: Regenerated.
8232
7e73e17d
L
82332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8236 __ILP32__.
8237
c7a6ab72
AB
82382012-04-13 Antoine Balestrat <merkil33@gmail.com>
8239
8240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8241 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8242
a9e8e0e0
CL
82432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8244
8245 [BZ #13973]
8246 * locale/iso-639.def: Fix gl language name. Spotted by
8247 Yaron Shahrabani.
8248
ec98af7d
RM
82492012-04-12 Roland McGrath <roland@hack.frob.com>
8250
8251 [BZ #2074]
8252 * libio/libio.h (__io_write_fn): Update comment.
8253
247c3ede
PB
82542012-04-12 Petr Baudis <pasky@ucw.cz>
8255
8256 [BZ #2074]
8257 * stdio.texi (Hook Functions): The user provided writer function
8258 is not allowed to return -1.
8259
55939d6d
DM
82602012-04-11 David S. Miller <davem@davemloft.net>
8261
8262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8263
90020f5a
MF
82642012-04-11 Mike Frysinger <vapier@gentoo.org>
8265
8266 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8267 Add a leading slash to rtkaio.
8268
288f9098
JM
82692012-04-11 Jim Meyering <meyering@redhat.com>
8270
90020f5a
MF
8271 [BZ #11959]
8272 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8273 It is not necessarily an error to ignore fwrite's return
8274 value. One can reliably use ferror to test for errors after
8275 the fact.
288f9098 8276
4be2b570
L
82772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 * bits/types.h (__snseconds_t): New type.
8280 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8281
8282 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8284 (__SNSECONDS_T_TYPE): Likewise.
8285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8286 (__SNSECONDS_T_TYPE): Likewise.
8287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8288 (__SNSECONDS_T_TYPE): Likewise.
8289
288f9098 82902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8291
8292 [BZ #2636]
8293 * manual/time.texi (Processor Time): Return type of times is
8294 elapsed real time since an arbitrary point in the past.
8295 (CPU Time): Move CLK_TCK from here...
8296 (Processor Time): ...to here. Correct description.
8297 * manual/conf.texi (Constants for Sysconf): Correct description of
8298 _SC_CLK_TCK.
8299
d7dd4413
DM
83002012-04-10 David S. Miller <davem@davemloft.net>
8301
8302 [BZ #13967]
8303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8304 where the is a gap between DT_REL(A) and DT_JMPREL.
8305
b46068fc
L
83062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8311
73d65cc3
SP
83122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
8314 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8315 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8316 (dl_main): Handle --inhibit-cache.
8317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8318 _dl_inhibit_cache.
8319 * elf/dl-load.c (_dl_map_object): Use it.
8320 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8321
bcc8d661
JM
83222012-04-09 Joseph Myers <joseph@codesourcery.com>
8323
8f9a2fae
JM
8324 [BZ #13872]
8325 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8326 (__ieee754_powl): Saturate large exponents rather than testing for
8327 overflow of y*log2(x).
8328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8329 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8330 exceptions.
8331
bcc8d661
JM
8332 [BZ #11521]
8333 * math/s_ctan.c: Include <float.h>.
8334 (__ctan): Avoid internal overflow or cancellation in calculating
8335 denominator.
8336 * math/s_ctanf.c: Likewise.
8337 * math/s_ctanl.c: Likewise.
8338 * math/s_ctanh.c: Likewise.
8339 * math/s_ctanhf.c: Likewise.
8340 * math/s_ctanhl.c: Likewise.
8341 * math/libm-test.inc (ctan_test): Add more tests.
8342 (ctanh_test): Likewise.
8343 * sysdeps/i386/fpu/libm-test-ulps: Update.
8344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8345
823fbbb4
AJ
83462012-04-09 Andreas Jaeger <aj@suse.de>
8347
03879793
AJ
8348 [BZ #6894]
8349 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8350 is an optional BSD extension.
8351
823fbbb4
AJ
8352 [BZ #10254]
8353 * manual/stdio.texi (Opening Streams): Document additional fopen
8354 parameters.
8355
8de131cb
RM
83562012-04-09 Roland McGrath <roland@hack.frob.com>
8357
8358 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8359 %eax without telling the compiler.
8360
c0ed9d7d
CD
83612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8362
8363 [BZ # 13963]
8364 * manual/install.texi: Use sourceware.org.
8365
c483f6b4
JM
83662012-04-09 Joseph Myers <joseph@codesourcery.com>
8367
d7dd9453
JM
8368 [BZ #13873]
8369 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8370 (__ieee754_pow): Generate overflow and underflow using huge*huge
8371 and tiny*tiny rather than just returning constant infinity or zero
8372 for large exponents.
8373 * math/libm-test.inc (pow_test): Require overflow exceptions for
8374 applicable cases of large exponents.
8375
c483f6b4
JM
8376 [BZ #706]
8377 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8378 (__ieee754_pow): Use iterative multiplication algorithm only for
8379 integer exponents with absolute value below 1024. Check for odd
8380 integer exponents when using algorithm for real exponents.
8381 * math/libm-test.inc (pow_test): Add more tests.
8382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8383
d2de7579
JM
83842012-04-08 Joseph Myers <joseph@codesourcery.com>
8385
8386 [BZ #13705]
8387 * math/libm-test.inc (exp_test): Do not allow overflow exception
8388 on underflow test.
8389
f77f1232
AJ
83902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8391
8392 [BZ #13705]
8393 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8394 instead of __kernel_standard_f.
8395
3884932b
MF
83962012-04-08 Mike Frysinger <vapier@gentoo.org>
8397
8398 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8399 * sysdeps/x86_64/memset_chk.S: Likewise.
8400
54472e9c
AJ
84012012-04-08 Andreas Jaeger <aj@suse.de>
8402
6ab0fbfc
AJ
8403 [BZ #10153]
8404 * manual/startup.texi (Environment Access): Describe return value
8405 for putenv and setenv.
8406
61efba8c
AJ
8407 [BZ #6895]
8408 * manual/filesys.texi (Directory Entries): Add description for
8409 DT_LNK.
8410
95c3f29a
AJ
8411 [BZ #6890]
8412 * manual/filesys.texi (Directory Entries): Clarify that it's file
8413 system not operating system in the description of DT_UNKNOWN.
8414
54472e9c
AJ
8415 [BZ #6578]
8416 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8417
624254b1
SC
84182012-04-08 Stephen Compall <s11@member.fsf.org>
8419
8420 [BZ #6649]
8421 * manual/llio.texi (Opening and Closing Files): Add cross
8422 reference to explain mode argument.
8423
1e4920e0
MF
84242012-04-07 Mike Frysinger <vapier@gentoo.org>
8425
8426 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8427 * sysdeps/x86_64/memset_chk.S: Likewise.
8428
5ed848f3
DM
84292012-04-07 David S. Miller <davem@davemloft.net>
8430
8431 * elf/elf.h (R_SPARC_WDISP10): Define.
8432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8433 R_SPARC_SIZE32.
8434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8435 R_SPARC_SIZE64 and R_SPARC_H34.
8436
96154cd8
CD
84372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8438
8439 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8440 conditions and remove no longer applicable assertion.
8441
9904dc47
L
84422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * bits/byteswap.h: Include <features.h>.
8445 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8446 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8447
f8887d0a
L
84482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * bits/byteswap.h (__bswap_16): Removed.
8451 Include <bits/byteswap-16.h> to get __bswap_16.
8452 * sysdeps/i386/bits/byteswap.h: Likewise.
8453 * sysdeps/s390/bits/byteswap.h: Likewise.
8454 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8455 * bits/byteswap-16.h: New file.
8456 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8457 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8458 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8459 * string/Makefile (headers): Add bits/byteswap-16.h.
8460
62470f60
PP
84612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8462
8463 [BZ #13895]
8464 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8465 extra indirection.
8466 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8467 * nss/tst-nss-static.c: New.
8468
4dad7bab
RM
84692012-04-06 Robert Millan <rmh@gnu.org>
8470
8471 [BZ #6486]
8472 * manual/llio.texi (File Position Primitive): lseek
8473 refers to WHENCE when it really means OFFSET.
8474
e9142a17
AJ
84752012-04-06 Andreas Jaeger <aj@suse.de>
8476
2c040eff
AJ
8477 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8478 strncmp declarations.
8479
e9142a17
AJ
8480 * abilist/libc.abilist: Add __poll and __ppoll.
8481
ff9f1c5f
DM
84822012-04-05 David S. Miller <davem@davemloft.net>
8483
dcd2ae90
DM
8484 * scripts/check-local-headers.sh: Accept a host triplet in the
8485 path matched by the exclude regexp.
8486
993eb054
DM
8487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8488 definition.
8489 * sysdeps/powerpc/powerpc32/dl-machine.h
8490 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8491 * sysdeps/s390/s390-32/dl-machine.h
8492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8493 * sysdeps/sparc/sparc32/dl-machine.h
8494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8495 * sysdeps/sparc/sparc64/dl-machine.h
8496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8497
ff9f1c5f
DM
8498 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8499 lazy binding.
48e2e132 8500 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8501 undefined symbol errors.
8502
48e2e132 8503 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8504 DT_NEEDED entries.
8505
e80d6f94
MM
85062012-04-05 Michael Matz <matz@suse.de>
8507
8508 [BZ #13592]
8509 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8510
349fa79f
AJ
85112012-04-05 Andreas Jaeger <aj@suse.de>
8512
8513 [BZ #13908]
8514 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8515 comment.
8516
f402708f
KK
85172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8518
8519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8520 which ROUND is no valid rounding mode.
8521
2ecccfc9
KK
85222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8523
8524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8525 read again.
8526 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8527
8a53f50f
KK
85282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8529
8530 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8531 an exception using FPU order intentionally.
8532
85332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8534
8535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8536 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8537 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8538 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8539
d653abb7
SJ
85402012-04-05 Simon Josefsson <simon@josefsson.org>
8541
8542 [BZ #12340]
8543 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8544 EINVAL when BUFLEN is too smal.
8545
c3b1bf7d
TS
85462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8547
8548 [BZ #13553]
8549 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8550 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8551
b1aa60f3
AJ
85522012-04-03 Andreas Jaeger <aj@suse.de>
8553
c3b1bf7d 8554 [BZ #13938]
67f60a26
AJ
8555 * manual/setjmp.texi (System V contexts): Fix sentence.
8556
b1aa60f3
AJ
8557 [BZ #13926]
8558 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8559 New macro for this case.
8560 [!__GNUC__] (__bswap_64): New inline function for this case.
8561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8562 * bits/byteswap.h: Likewise.
8563 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8564 ull, guard with __GLIBC_HAVE_LONG_LONG.
8565
8566 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8567 __GLIBC_HAVE_LONG_LONG.
8568
8569 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8570 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8571
39c59c35
TMQMF
85722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8573
8574 [BZ #13691]
8575 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8576 inptr and inend, rather than using last_ch.
8577
135ffda8
DM
85782012-04-02 David S. Miller <davem@davemloft.net>
8579
8580 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8581 * stdio-common/printf-parse.h (read_int): Change return type to
8582 'int', return -1 on INT_MAX overflow.
8583 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8584 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8585 overflows INT_MAX. Check for overflow of in-format-string precision
8586 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8587 SIZE_MAX not INT_MAX for integer overflow test.
8588 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8589 skip the construct in the format string but do not record anything.
8590 * stdio-common/bug22.c: Adjust to test both width/prevision
8591 INT_MAX overflow as well as total length INT_MAX overflow. Check
8592 explicitly for proper errno values.
8593
228c019e
TS
85942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8595
302cadd3
TS
8596 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8597 CHAR_MAX.
8598 * string/test-strcmp.c [! WIDE]: Likewise.
8599 * time/tst-mktime2.c: Likewise for INT_MAX.
8600 * string/test-string.h: #include <sys/param.h> for MIN.
8601
228c019e
TS
8602 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8603 * sysdeps/i386/init-first.c (init): Likewise.
8604 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8605 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8606 * sysdeps/sh/init-first.c (init): Likewise.
8607
cfa633f5
UD
86082012-04-01 Ulrich Drepper <drepper@gmail.com>
8609
8610 * po/ru.po: Update from translation team.
d1635ef8 8611 * po/vi.po: Likewise.
cfa633f5 8612
6cd0a5ea
SP
86132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8614
8615 * resolv/nss_dns/dns-host.c: Merge copyright years.
8616
4b43400f
LD
86172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8618
8619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8620 Optimize memcpy with prefetch if
8621 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8622 src, dst pointers have unequal 16 byte alignments.
8623
48c41d04
SP
86242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8625
8626 [BZ #13928]
8627 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8628 from a CNAME entry and return the minimum ttl for the query.
8629 (gaih_getanswer_slice): Likewise.
8630
b8dc394d
JL
86312012-03-30 Jeff Law <law@redhat.com>
8632
8633 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8634 due to long keys.
8635 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8636 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8637
2f5a5ed0
JL
8638 * resolv/nss_dns/dns-host.c: Update copyright year.
8639
1d39e359
UD
86402012-03-30 Ulrich Drepper <drepper@gmail.com>
8641
c030f70c 8642 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8643 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8644
1d39e359
UD
8645 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8646 comments for sendmmsg.
8647
86482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8649
8650 [BZ #13691]
8651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8652 with only 1 character between 0x0041 and 0x01b0.
8653 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8654 * wcsmbs/tst-mbsnrtowcs.c: New file.
8655
20fde227
DM
86562012-03-29 David S. Miller <davem@davemloft.net>
8657
8658 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8659 small copies by hand.
8660
984a4237
JL
86612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8662
8663 [BZ #13761]
8664 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8665 _nss_compat_initgroups_dyn): Fall back to malloc/free
8666 for large group memberships.
8667
18c9d62b
DM
86682012-03-28 David S. Miller <davem@davemloft.net>
8669
88d85d4f
DM
8670 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8671 that branches into memcpy.
8672 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8673 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8675 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8677 bits.
8678 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8679 implementation too.
8680 * sysdeps/sparc/mempcpy.S: New file.
8681
e5aa83e1
DM
8682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8683 the IFUNC routine in the libc case.
8684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8685
88570753
DM
8686 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8688 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8689 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8690 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8691 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8692 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8693 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8694
249d7567
DM
8695 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8696 loop to 256 bytes instead of 64 bytes and fix test signedness.
8697
18c9d62b
DM
8698 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8699 * sysdeps/sparc/sparc32/Makefile: rather than here...
8700 * sysdeps/sparc/sparc64/Makefile: and here.
8701
05f3d1f6
UD
87022012-03-28 Ulrich Drepper <drepper@gmail.com>
8703
8704 * malloc/mallocbug.c: Avoid warnings about unused variables.
8705
86ae07a8
JL
87062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
8708 [BZ #13760]
8709 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8710 in the right place. Discard and retry query if response is
8711 larger than input buffer size.
8712
41bf21a1
JM
87132012-03-28 Joseph Myers <joseph@codesourcery.com>
8714
d6270972
JM
8715 [BZ #369]
8716 [BZ #2678]
8717 [BZ #3866]
8718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8719 x for large integer exponent.
8720 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8721 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8722 sign of result as needed afterwards.
8723 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8724 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8725 result for underflowing pow the same as for overflow.
8726 (__kernel_standard_l): Handle powl overflow and underflow here
8727 rather than calling __kernel_standard.
8728 * math/libm-test.inc (pow_test): Add more tests.
8729
414fca03 8730 [BZ #3868]
41bf21a1
JM
8731 [BZ #13879]
8732 [BZ #13910]
8733 [BZ #13911]
8734 [BZ #13912]
8735 [BZ #13913]
8736 [BZ #13915]
8737 [BZ #13916]
8738 [BZ #13917]
8739 [BZ #13918]
8740 [BZ #13919]
8741 [BZ #13920]
8742 [BZ #13921]
8743 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8744 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8745 (__kernel_standard_l): New function.
8746 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8747 __kernel_standard.
8748 * math/w_acosl.c (__acosl): Likewise.
8749 * math/w_asinl.c (__asinl): Likewise.
8750 * math/w_atan2l.c (__atan2l): Likewise.
8751 * math/w_atanhl.c (__atanhl): Likewise.
8752 * math/w_coshl.c (__coshl): Likewise.
8753 * math/w_exp10l.c (__exp10l): Likewise.
8754 * math/w_exp2l.c (__exp2l): Likewise.
8755 * math/w_fmodl.c (__fmodl): Likewise.
8756 * math/w_hypotl.c (__hypotl): Likewise.
8757 * math/w_j0l.c (__j0l, __y0l): Likewise.
8758 * math/w_j1l.c (__j1l, __y1l): Likewise.
8759 * math/w_jnl.c (__jnl, __ynl): Likewise.
8760 * math/w_lgammal.c (__lgammal): Likewise.
8761 * math/w_log10l.c (__log10l): Likewise.
8762 * math/w_log2l.c (__log2l): Likewise.
8763 * math/w_logl.c (__logl): Likewise.
8764 * math/w_powl.c (__powl): Likewise.
8765 * math/w_remainderl.c (__remainderl): Likewise.
8766 * math/w_scalbl.c (sysv_scalbl): Likewise.
8767 * math/w_sinhl.c (__sinhl): Likewise.
8768 * math/w_sqrtl.c (__sqrtl): Likewise.
8769 * math/w_tgammal.c (__tgammal): Likewise.
8770 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8771 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8772 * math/libm-test.inc (acos_test): Add more tests.
8773 (acosh_test): Likewise.
8774 (asin_test): Likewise.
8775 (atanh_test): Likewise.
8776 (exp_test): Likewise.
8777 (exp10_test): Likewise.
8778 (exp2_test): Likewise.
8779 (expm1_test): Likewise.
8780 (lgamma_test): Likewise.
8781 (log_test): Likewise.
8782 (log10_test): Likewise.
8783 (log1p_test): Likewise.
8784 (log2_test): Likewise.
8785 (pow_test): Do not allow some spurious overflow exceptions.
8786 (sqrt_test): Add more tests.
8787 (tgamma_test): Likewise.
8788 (y0_test): Likewise.
8789 (y1_test): Likewise.
8790 (yn_test): Likewise.
8791
dd62fda6
AB
87922012-03-27 Anton Blanchard <anton@samba.org>
8793
8794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8795 MAP_HUGETLB.
8796 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8799
1e3cdfda
AJ
88002012-03-27 David S. Miller <davem@davemloft.net>
8801
b855ab85
DM
8802 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8803
1e3cdfda
AJ
8804 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8805 have-as-vis3 check.
8806
88072012-03-27 Andreas Jaeger <aj@suse.de>
8808
8809 * sysdeps/x86_64/elf/configure.in: Moved to ...
8810 * sysdeps/x86_64/configure.in: ... here.
8811 * sysdeps/x86_64/elf/start.S: Moved to ...
8812 * sysdeps/x86_64/start.S: ... here.
8813 * sysdeps/x86_64/elf/configure: Delete.
8814
8815 * sysdeps/x86_64/configure.in: Merge contents from
8816 sysdeps/i386/configure.in (without i686 check).
8817
8818 * sysdeps/i386/elf/Versions: Merge into ...
8819 * sysdeps/i386/Versions: ... this.
8820 * sysdeps/i386/elf/Versions: Delete file.
8821 * sysdeps/i386/elf/start.S: Moved to ...
8822 * sysdeps/i386/start.S: ...here.
8823 * sysdeps/i386/elf/configure.in: Merge into...
8824 * sysdeps/i386/configure.in: ...here.
8825 * sysdeps/i386/elf/configure.in: Delete file.
8826 * sysdeps/i386/elf/configure: Delete file.
8827
8828 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8829 * debug/backtracesyms.c: ... here.
8830 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8831 * debug/backtracesymsfd.c: ... here.
8832 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8833 * sysdeps/generic/ifunc-sel.h: ... here.
8834
8835 * sysdeps/unix/i386/start.c: Delete file.
8836 * sysdeps/unix/sparc/start.c: Delete file.
8837 * sysdeps/unix/start.c: Delete file.
8838
8839 * sysdeps/sh/elf/configure.in: Moved to ...
8840 * sysdeps/sh/configure.in: ... here.
8841 * sysdeps/sh/elf/start.S: Moved to ...
8842 * sysdeps/sh/start.S: ... here.
8843 * sysdeps/sh/elf/configure: Delete file.
8844
8845 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8846 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8847 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8848 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8849 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8850 * sysdeps/powerpc/powerpc64/start.S: here.
8851 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8852 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8853 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8854 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8855 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8856
8857 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8858 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8859 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8860 * sysdeps/powerpc/powerpc32/start.S: ... here.
8861 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8862 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8863 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8864
8865 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8866 * sysdeps/powerpc/ifunc-sel.h: ... here.
8867 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8868 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8869
8870 * sysdeps/sparc/elf/configure.in: Moved to ...
8871 * sysdeps/sparc/configure.in: ... here.
8872 * sysdeps/sparc/elf/configure: Delete file.
8873 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8874 * sysdeps/sparc/sparc32/start.S: ... here.
8875 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8876 * sysdeps/sparc/sparc64/start.S: ... here.
8877 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8878 * sysdeps/sparc/sparc32/Makefile: ... this.
8879 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8880 * sysdeps/sparc/sparc64/Makefile: ... this.
8881
8882 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8883 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8884 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8885 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8886 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8887 * sysdeps/s390/s390-32/setjmp.S: ... here.
8888 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8889 * sysdeps/s390/s390-32/configure.in: ... here.
8890 * sysdeps/s390/s390-32/elf/configure: Delete file.
8891 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8892 * sysdeps/s390/s390-32/start.S: ... here.
8893
8894 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8895 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8896 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8897 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8898 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8899 * sysdeps/s390/s390-64/setjmp.S: ... here.
8900 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8901 * sysdeps/s390/s390-64/configure.in: ... here
8902 * sysdeps/s390/s390-64/elf/configure: Delete file.
8903 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8904 * sysdeps/s390/s390-64/start.S: ... here.
8905 * sysdeps/s390/s390-64/elf/configure: Delete.
8906
8907 * configure.in: Remove support for elf directories in sysdeps.
8908
8909 * configure: Regenerated.
8910 * sysdeps/i386/configure: Regenerated.
8911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8913 * sysdeps/s390/s390-32/configure: Regenerated.
8914 * sysdeps/s390/s390-64/configure: Regenerated.
8915 * sysdeps/sh/configure: Regenerated.
8916 * sysdeps/sparc/configure: Regenerated.
8917 * sysdeps/x86_64/configure: Regenerated.
8918
a3f61311
AS
89192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8920
c876e002
AS
8921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8922
a3f61311
AS
8923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8924 denormal result into account.
8925
ac4c54f0
RM
89262012-03-25 Roland McGrath <roland@hack.frob.com>
8927
8928 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8929 Reported by Allan McRae <allan@archlinux.org>.
8930
6a9b9c02
JL
89312012-03-23 Jeff Law <law@redhat.com>
8932
8933 * nss/getnssent.c (__nss_getent): Fix typo.
8934
4c42a0c1
DM
89352012-03-23 David S. Miller <davem@davemloft.net>
8936
8937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8938
1532c7ac
L
89392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8940
8941 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8942 to pad to uint64_t for each field.
8943 (dl_tls_index): Replace unsigned long with uint64_t.
8944
3ff42526
PP
89452012-03-23 Daniel Jacobowitz <dmj@google.com>
8946 Paul Pluzhnikov <ppluzhnikov@google.com>
8947
8948 [BZ #6528]
8949 * grp/Makefile (otherlibs): Don't set it.
8950 * inet/Makefile (otherlibs): Likewise.
8951 * login/Makefile (otherlibs): Likewise.
8952 * nscd/Makefile (otherlibs): Likewise.
8953 * posix/Makefile (otherlibs): Likewise.
8954 * pwd/Makefile (otherlibs): Likewise.
8955 * rt/Makefile (otherlibs): Likewise.
8956 * sunrpc/Makefile (otherlibs): Likewise.
8957 * nss/Makefile (otherlibs): Likewise.
8958 Add libnss_files to routines and static-only-routines.
8959 ($(objpfx)getent): Remove rule.
8960 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8961 static-only-routines.
8962
7c69cd14
JM
89632012-03-22 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #13892]
8966 * math/s_cexp.c: Include <float.h>.
8967 (__cexp): Handle exp result overflowing not necessarily
8968 overflowing both real and imaginary parts of result.
8969 * math/s_cexpf.c: Likewise.
8970 * math/s_cexpl.c: Likewise.
8971 * math/libm-test.inc (cexp_test): Add more tests.
8972 * sysdeps/i386/fpu/libm-test-ulps: Update.
8973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8974
81b035fe
L
89752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 * include/link.h (ELFW): New macro.
8978 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8979 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8980
1da7940c
L
89812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8982
8983 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8984 with uint64_t.
8985
b749dbb9
L
89862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8989 declaration.
8990 (struct La_x32_retval): Likewise.
8991
2ff87f3f
L
89922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 * sysdeps/x86_64/preconfigure.in: New file.
8995 * sysdeps/x86_64/preconfigure: New generated file.
8996
c0df8e69
JM
89972012-03-22 Joseph Myers <joseph@codesourcery.com>
8998
48e44791
JM
8999 [BZ #13824]
9000 * math/e_exp2l.c: Include <float.h>.
9001 (__ieee754_exp2l): Handle overflow and underflow cases
9002 separately. Only pass fractional part of argument to
9003 __ieee754_expl.
9004 * math/libm-test.inc (exp2_test): Add more tests.
9005
c0df8e69
JM
9006 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9007 negating x to take absolute value.
9008 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9009 Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9012 Likewise.
9013 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9014 computing low part if x was negated.
9015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9016
c8e43ba7
L
90172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9020 la_x32_gnu_pltexit.
9021 (pltexit): Cast int_retval to ptrdiff_t.
9022 * elf/tst-auditmod3b.c: Likewise.
9023 * elf/tst-auditmod4b.c: Likewise.
9024 * elf/tst-auditmod5b.c: Likewise.
9025 * elf/tst-auditmod6b.c: Likewise.
9026 * elf/tst-auditmod6c.c: Likewise.
9027 * elf/tst-auditmod7b.c: Likewise.
9028
9029 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9030 and x32_gnu_pltexit.
9031
9032 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9033 __ELF_NATIVE_CLASS.
9034 (La_x32_regs): New macro.
9035 (La_x32_retval): Likewise.
9036 (la_x32_gnu_pltenter): New function prototype.
9037 (la_x32_gnu_pltexit): Likewise.
9038
7998fa78
AS
90392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9040
dcb33988
AS
9041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9042 exponent.
9043
233fc563
AS
9044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9045
7998fa78
AS
9046 * configure.in (libc_cv_cc_nofma): Check for option to disable
9047 generation of FMA instructions.
9048 * configure: Regenerate.
9049 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9050 * sysdeps/ieee754/dbl-64/Makefile: New file.
9051 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9052 Remove brandred-fma4.
9053 (CFLAGS-brandred-fma4.c): Remove.
9054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9056 define.
9057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9058 define.
9059
8e95c99a
L
90602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9063 LLONG_MAX != LONG_MAX.
9064 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9065 (_fitoa_word): Likewise.
9066 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9067 LLONG_MAX != LONG_MAX.
9068 * stdio-common/_itowa.h: Include <_itoa.h>.
9069 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9070 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9071 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9072 only if not defined.
9073 (_ITOA_WORD_TYPE): Likewise.
9074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9075 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9076
6f4db457
DM
90772012-03-21 David S. Miller <davem@davemloft.net>
9078
9079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9080
7785fe5a
L
90812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9082
9083 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9084 of x86_64 when setting libc_cv_slibdir, libdir and
9085 libc_cv_localedir.
9086 * sysdeps/unix/sysv/linux/configure: Regenerated.
9087
4535cd55
JM
90882012-03-21 Joseph Myers <joseph@codesourcery.com>
9089
9090 * manual/lang.texi (Old Varargs): Remove section.
9091 (How Variadic): Update menu.
9092 (va_start): Do not mention varargs.h.
9093
17228132
TS
90942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9095 Joseph Myers <joseph@codesourcery.com>
9096
9097 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9098 link test.
9099 * configure: Regenerated.
9100
8149f976
TS
91012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9102
05f3d1f6
UD
9103 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9104 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9105 conformtest.pl
8149f976 9106
1a4ac776
JM
91072012-03-21 Joseph Myers <joseph@codesourcery.com>
9108
be22ce65
JM
9109 * NOTES: Remove.
9110 * Makefile (files-for-dist): Remove NOTES.
9111 (NOTES): Remove rule.
9112 * README: Don't refer to NOTES.
9113 * manual/creature.texi: Don't include macros.texi.
9114 * manual/intro.texi (creature.texi): Remove comment referring to
9115 NOTES.
9116
40b601fb
JM
9117 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9118 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9119 * configure: Regenerated.
9120 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9121 LIBC_TRY_CC_OPTION.
9122 (libc_cv_as_i686): Likewise.
9123 (libc_cv_cc_avx): Likewise.
9124 (libc_cv_cc_sse2avx): Likewise.
9125 (libc_cv_cc_fma4): Likewise.
9126 (libc_cv_cc_novzeroupper): Likewise.
9127 * sysdeps/i386/configure: Regenerated.
9128
1a4ac776
JM
9129 [BZ #13883]
9130 * sysdeps/i386/fpu/s_cexp.S: Remove.
9131 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9133 * math/libm-test.inc (cexp_test): Add more tests.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136
a458e7fe
AM
91372012-03-21 Allan McRae <allan@archlinux.org>
9138
9139 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9140
0cb7efc5
JM
91412012-03-21 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #13871]
9144 * math/w_exp2.c: Do not include <float.h>.
9145 (o_threshold, u_threshold): Remove.
9146 (__exp2): Calculate result before checking finiteness and calling
9147 __kernel_standard.
9148 * math/w_exp2f.c: Likewise.
9149 * math/w_exp2l.c: Likewise.
9150 * math/libm-test.inc (exp2_test): Require overflow exception for
9151 1e6 input.
2460d3aa
JM
9152
9153 [BZ #3866]
9154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9155 range of signed 64-bit integers before using fistpll. Remove
9156 checks for whether integers fit in mantissa bits.
9157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9158 the range of signed 32-bit integers before using fistpl. Remove
9159 checks for whether integers fit in mantissa bits.
9160 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9161 (__ieee754_powl): Test for y outside the range of signed 64-bit
9162 integers before using fistpll. Reduce 64-bit values to 63-bit
9163 ones as needed.
9164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9165 divide-by-zero is raised for zero to large negative powers.
9166 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9167 (__ieee754_powl): Test for y outside the range of signed 64-bit
9168 integers before using fistpll. Reduce 64-bit values to 63-bit
9169 ones as needed.
9170 * math/libm-test.inc (pow_test): Add more tests.
9171
eb96ffb0
L
91722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9175 <stdio-common/_itoa.h>.
9176 * debug/segfault.c: Likewise.
9177 * elf/dl-cache.c: Likewise.
9178 * elf/dl-minimal.c: Likewise.
9179 * elf/dl-misc.c: Likewise.
9180 * elf/dl-sysdep.c: Likewise.
9181 * elf/dl-version.c: Likewise.
9182 * elf/rtld.c: Likewise.
9183 * hurd/hurdsock.c: Likewise.
9184 * hurd/lookup-retry.c: Likewise.
9185 * malloc/malloc.c: Likewise.
9186 * malloc/mtrace.c: Likewise.
9187 * nscd/nscd_getgr_r.c: Likewise.
9188 * nscd/nscd_getpw_r.c: Likewise.
9189 * nscd/nscd_getserv_r.c: Likewise.
9190 * posix/getopt_init.c: Likewise.
9191 * posix/wordexp.c: Likewise.
9192 * stdio-common/_itoa.c: Likewise.
9193 * stdio-common/printf_fphex.c: Likewise.
9194 * stdio-common/vfprintf.c: Likewise.
9195 * string/_strerror.c: Likewise.
9196 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9197 * sysdeps/i386/i686/hp-timing.h: Likewise.
9198 * sysdeps/mach/_strerror.c: Likewise.
9199 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9200 * sysdeps/mach/hurd/sethostid.c: Likewise.
9201 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9202 * sysdeps/mach/xpg-strerror.c: Likewise.
9203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9205 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9206 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9207 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9208 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9211 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9212 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9213 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9214 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9221 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9222 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9224
9225 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9226
9227 * stdio-common/_itoa.h: Moved to ...
9228 * sysdeps/generic/_itoa.h: Here.
9229
9230 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9231
9232 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9233 instead of "_itoa.h" and "_itowa.h".
9234 * stdio-common/vfprintf.: Likewise.
9235
d1af992d
L
92362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9237
9238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9239 <bits/wordsize.h>.
9240 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9241 (__signbit): Likwise.
9242 (llrintf): Likwise.
9243 (llrint): Likwise.
9244
114883e0
L
92452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9246
9247 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9248 __WORDSIZE != 64.
9249
c135cc1b
JM
92502012-03-20 Joseph Myers <joseph@codesourcery.com>
9251
9252 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9253 OVERFLOW_EXCEPTION_OK.
9254 * math/libm-test.inc ("Philosophy"): Update comment about
9255 exception testing.
9256 (OVERFLOW_EXCEPTION): Define.
9257 (OVERFLOW_EXCEPTION_OK): Likewise.
9258 (INVALID_EXCEPTION_OK): Renumber.
9259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9260 (IGNORE_ZERO_INF_SIGN): Likewise.
9261 (test_exceptions): Handle FE_OVERFLOW.
9262 (exp10_test): Expect overflow exceptions.
9263 (exp2_test): Likewise.
9264 (expm1_test): Likewise.
9265 (nextafter_test): Likewise.
9266 (pow_test): Likewise.
9267 (scalbn_test): Likewise.
9268 (scalbln_test): Likewise.
9269
95443d88
L
92702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9271
9272 * sysdeps/x86_64/bits/atomic.h
9273 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9274 64bit integer.
9275 (atomic_exchange_acq): Likewise.
9276 (__arch_exchange_and_add_body): Likewise.
9277 (__arch_add_body): Likewise.
9278 (atomic_add_negative): Likewise.
9279 (atomic_add_zero): Likewise.
9280
490df6c4
L
92812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9282
c2722551 9283 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9284 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9285
5e52b189
L
92862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9289 Check __x86_64__ instead of __WORDSIZE.
9290
a9879d4c
L
92912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9294
5df98260
DM
92952012-03-19 David S. Miller <davem@davemloft.net>
9296
e1497744
DM
9297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9298
5df98260
DM
9299 * sysdeps/sparc/fpu/fenv_private.h: New file.
9300 * sysdeps/sparc/fpu/math_private.h: Use it.
9301 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9302 Remove.
9303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9304 (libc_feholdexcept_setroundl): Remove.
9305 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9306 Remove.
9307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9309
b4c35121
L
93102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9313 int64_t instead of long int.
9314 (INSERT_WORDS64): Likwise.
9315
56965fd7
L
93162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9319 _Unwind_GetCFA return to _Unwind_Ptr first.
9320
83d1aec8
JM
93212012-03-19 Joseph Myers <joseph@codesourcery.com>
9322
1897ad44
JM
9323 [BZ #13629]
9324 * math/s_clog.c: Include <float.h>.
9325 (__clog): Scale large or subnormal inputs.
9326 * math/s_clogf.c: Likewise.
9327 * math/s_clogl.c: Likewise.
9328 * math/s_clog10.c: Include <float.h>.
9329 (M_LOG10_2): Define.
9330 (__clog10): Scale large or subnormal inputs.
9331 * math/s_clog10f.c: Likewise.
9332 * math/s_clog10l.c: Likewise.
9333 * math/libm-test.inc (clog_test): Add more tests.
9334 (clog10_test): Likewise.
9335 * sysdeps/i386/fpu/libm-test-ulps: Update.
9336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9337
7726d6a9
JM
9338 [BZ #11451]
9339 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9340 x and y.
9341 * math/libm-test.inc (atan2_test): Add another test.
9342
83d1aec8
JM
9343 * Makerules (common-objdir-compile): Remove.
9344 * sysdeps/unix/Makefile (config-generated): Do not add
9345 $(unix-generated) to variable.
9346 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9347 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9348 Remove rule.
9349 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9350 Likewise.
9351 [generic bits/local_lim.h] (before-compile): Do not append to
9352 variable.
9353 [generic bits/local_lim.h] (common-generated): Likewise.
9354 [generic sys/param.h] (before-compile): Do not append to variable.
9355 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9356 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9357 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9359 include.
9360 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9361 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9362 [generic sys/param.h] ($(addprefix
9363 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9364 [generic sys/param.h] (common-generated): Do not append to
9365 variable.
9366 [generic sys/param.h] (sysdep_headers): Likewise.
9367 [generic bits/errno.h] (before-compile): Do not append to
9368 variable.
9369 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9370 rule.
9371 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9372 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9373 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9374 [generic bits/errno.h] (common-generated): Do not append to
9375 variable.
9376 [generic bits/ioctls.h] (before-compile): Do not append to
9377 variable.
9378 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9379 rule.
9380 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9381 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9383 rule.
9384 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9385 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9386 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9387 [generic bits/ioctls.h] (common-generated): Do not append to
9388 variable.
9389 [generic sys/syscall.h] (syscall.h): Remove variable.
9390 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9391 rule.
9392 [generic sys/syscall.h] (before-compile): Do not append to
9393 variable.
9394 [generic sys/syscall.h] (common-generated): Likewise.
9395 * sysdeps/unix/errnos-tmpl.c: Remove file.
9396 * sysdeps/unix/errnos.awk: Likewise.
9397 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9398 * sysdeps/unix/ioctls.awk: Likewise.
9399 * sysdeps/unix/mk-local_lim.c: Likewise.
9400 * sysdeps/unix/snarf-ioctls: Likewise.
9401
4851a949
RH
94022012-03-19 Richard Henderson <rth@twiddle.net>
9403
bd37f2ee
RH
9404 * sysdeps/i386/fpu/fenv_private.h: New file.
9405 * sysdeps/i386/fpu/math_private.h: Use it.
9406 (math_opt_barrier, math_force_eval): Remove.
9407 (libc_feholdexcept_setround_53bit): Remove.
9408 (libc_feupdateenv_53bit): Remove.
9409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9410 (math_opt_barrier, math_force_eval): Remove.
9411 (libc_feholdexcept): Remove.
9412 (libc_feholdexcept_setround): Remove.
9413 (libc_fetestexcept, libc_fesetenv): Remove.
9414 (libc_feupdateenv_test): Remove.
9415 (libc_feupdateenv, libc_feholdsetround): Remove.
9416 (libc_feresetround): Remove.
9417
d0adc922
RH
9418 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9419 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9420
0fe0f1f8
RH
9421 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9422 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9423 (libc_feupdateenv_testl): New.
9424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9425 (libc_feupdateenv_testf): New.
9426 (libc_feupdateenv): Use libc_feupdateenv_test.
9427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9429
eb92c487
RH
9430 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9431 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9432 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9433 (libc_feresetround_noex): New.
9434 (libc_feresetround_noexf): New.
9435 (libc_feresetround_noexl): New.
9436 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9437 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9438 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9440 SET_RESTORE_ROUND.
9441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9443 (__cos): Likewise.
9444 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9445 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9446 SET_RESTORE_ROUND_NOEX.
9447 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9448 SET_RESTORE_ROUND_NOEXF.
9449 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9450 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9451 (libc_feholdsetroundf): New.
9452 (libc_feresetround, libc_feresetroundf): New.
9453
7d2e8012
RH
9454 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9455 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9456 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9457
b4dabbb4
RH
9458 * sysdeps/generic/math_private.h: Include <fenv.h>.
9459 (default_libc_feholdexcept): New.
9460 (default_libc_feholdexcept_setround): New.
9461 (default_libc_fesetenv, default_libc_feupdateenv): New.
9462 (libc_feholdexcept): Only define if undefined.
9463 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9464 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9465 (libc_feholdexcept_setroundl): Likewise.
9466 (libc_feholdexcept_setround_53bit): Likewise.
9467 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9468 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9469 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9470 (libc_feupdateenv_53bit): Likewise.
9471 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9472 (libc_feholdexcept): Convert from macro to inline function.
9473 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9474 (libc_fesetenv, libc_feupdateenv): Likewise.
9475
4851a949
RH
9476 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9477 not previously defined.
9478 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9479 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9480 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9481 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9482 * sysdeps/ieee754/flt-32/math_private.h: New file.
9483 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9484 math_private.h below SET_FLOAT_WORD.
9485 (__isnan, __isinf_ns, __finite): Remove.
9486 (__isnanf, __isinf_nsf, __finitef): Remove.
9487
e79d442e
AS
94882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9489
9490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9491
90b80344
DM
94922012-03-17 David S. Miller <davem@davemloft.net>
9493
9494 [BZ #6471]
9495 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9496 for 2.16.
9497
edc21804
DM
94982012-03-16 David S. Miller <davem@davemloft.net>
9499
77e927af
DM
9500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9501 warnings.
9502
374976dd
DM
9503 [BZ #6471]
9504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9505 properly.
9506 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9507 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9508 sysdep_routines when subdir is sysvipc.
9509 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9510 __getshmlba helper.
9511
edc21804
DM
9512 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9513
473c3ef3
L
95142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9517 [__LP64__].
9518
eb0f39b6
L
95192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9523 (__lround): Renamed to ...
9524 (__llround): This. Replace long int with long long int.
9525 Define lround functions as aliases of llround functions.
9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9527
6b6cd74b
L
95282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9531 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9532 adresses to uintptr_t. Replace "long int" and "unsigned long
9533 int" with "greg_t" on va_arg.
9534
f1a77b01
L
95352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9536
9537 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9538 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9539
9540 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9541 Move e_machine check before EI_CLASS check. Handle x32
9542 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9543 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9544 SKIP_EM_IA_64 and include
9545 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9546
9547 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9548 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9549 (add_system_dir): New macro.
9550
9551 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9553
11b90b9f
JM
95542012-03-16 Joseph Myers <joseph@codesourcery.com>
9555
c36e1d23
JM
9556 [BZ #2551]
9557 [BZ #2552]
9558 [BZ #2553]
9559 [BZ #2554]
9560 [BZ #2562]
9561 [BZ #2563]
9562 [BZ #2565]
9563 [BZ #2566]
9564 [BZ #2576]
9565 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9566 (y0): Likewise.
9567 * math/w_j0f.c (j0f): Likewise.
9568 (y0f): Likewise.
9569 * math/w_j0l.c (__j0l): Likewise.
9570 (__y0l): Likewise.
9571 * math/w_j1.c (j1): Likewise.
9572 (y1): Likewise.
9573 * math/w_j1f.c (j1f): Likewise.
9574 (y1f): Likewise.
9575 * math/w_j1l.c (__j1l): Likewise.
9576 (__y1l): Likewise.
9577 * math/w_jn.c (jn): Likewise.
9578 (yn): Likewise.
9579 * math/w_jnf.c (jnf): Likewise.
9580 (ynf): Likewise.
9581 * math/w_jnl.c (__jnl): Likewise.
9582 (__ynl): Likewise.
9583 * math/libm-test.inc (j0_test): Add more tests.
9584 (j1_test): Likewise.
9585 (jn_test): Likewise. Add trailing semicolon to existing test.
9586 (y0_test): Likewise.
9587 (y1_test): Likewise.
9588 * sysdeps/i386/fpu/libm-test-ulps: Update.
9589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9590
11b90b9f
JM
9591 [BZ #13851]
9592 [BZ #13854]
9593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9594 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9595 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9597 (__tanl): Set errno for infinite argument.
9598 * sysdeps/i386/fpu/mptan.c: Remove.
9599 * sysdeps/i386/fpu/s_tan.S: Likewise.
9600 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9601 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9602 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9603 * math/libm-test.inc (tan_test): Add more tests and enable more
9604 tests for double and long double.
9605 * sysdeps/i386/fpu/libm-test-ulps: Update.
9606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9607
6a1bd2a1
JK
96082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9609
9610 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9611 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9612
10a803e0
RM
96132012-03-16 Roland McGrath <roland@hack.frob.com>
9614
9615 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9616 * configure.in: Use it for both main tree and add-ons.
9617 * configure: Regenerated.
9618
f196c7f7
L
96192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9620
9621 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9622
8848d99d
JM
96232012-03-16 Joseph Myers <joseph@codesourcery.com>
9624
96cbe7f4
JM
9625 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9626 in comment.
9627
8848d99d
JM
9628 [BZ #13851]
9629 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9630 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9634 infinite argument.
9635 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9637 != 0 for prec == 2.
9638 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9639 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9640 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9641 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9642 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9643 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9644 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9645 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9646 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9647 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9648 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9649 * math/libm-test.inc (cos_test): Add more tests and enable more
9650 tests for long double.
9651 (sin_test): Likewise.
9652 (sincos_test): Likewise.
9653 * sysdeps/i386/fpu/libm-test-ulps: Update.
9654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9655
dd7f4703
DM
96562012-03-16 David S. Miller <davem@davemloft.net>
9657
9658 * sysdeps/sparc/fpu/math_private.h: New file.
9659
006f1daa
DM
96602012-03-15 David S. Miller <davem@davemloft.net>
9661
c0c83bc8
DM
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9663 file.
e6a62e18 9664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9666 file.
e6a62e18
DM
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9673 sysdep routines.
9674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9675
88cb87d9
DM
9676 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9677 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9678
006f1daa 9679 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9681 sparc-ifunc.h
006f1daa 9682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9684 Likewise.
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9686 Likewise.
006f1daa
DM
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9691 Likewise.
006f1daa
DM
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9697 Likewise.
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9699 Likewise.
006f1daa
DM
9700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9724
11e0098e
AS
97252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9726
9727 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9728 scaling.
9729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9730
e85b09d0
AJ
97312012-03-15 Andreas Jaeger <aj@suse.de>
9732
9733 [BZ #13852]
9734 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9735 ieee754/flt-32 implementation for sin, cos and sincos.
9736 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9737 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9738 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9739 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9740 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9741 ieee754/flt-32 implementation for tan.
9742
9743 * math/libm-test.inc (cos_test): Enable some large input tests for
9744 float as well
9745 (sin_test): Likewise.
9746 (sincos_test): Likewise.
9747 (tan_test): Add tests for large input.
9748
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750
81c64153
AJ
97512012-03-15 Andreas Jaeger <aj@suse.de>
9752
9753 [BZ #13658]
9754 * math/libm-test.inc (cos_test): Add more test cases.
9755 (sin_test): Likewise.
9756 (sincos_test): Likewise.
9757
7bbfa5c6
AJ
97582012-03-15 Andreas Jaeger <aj@suse.de>
9759
9760 [BZ #13837]
9761 * math/libm-test.inc (cos_test): Add a test case for large input
9762 value.
9763 (sin_test): Likewise.
9764 (sincos_test): Likewise.
9765
97662012-03-15 Andreas Jaeger <aj@suse.de>,
9767 Joseph Myers <joseph@codesourcery.com>
9768
9769 [BZ #13658]
0671f479 9770 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9771 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9772 * sysdeps/i386/fpu/branred.c: Likewise.
9773 * sysdeps/i386/fpu/dosincos.c: Likewise.
9774 * sysdeps/i386/fpu/mpa.c: Likewise.
9775 * sysdeps/i386/fpu/s_cos.S: Likewise.
9776 * sysdeps/i386/fpu/s_sin.S: Likewise.
9777 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9778 * sysdeps/i386/fpu/sincos32.c: Likewise.
9779
9780 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9781 Define.
9782 (libc_feupdateenv_53bit): Define.
9783 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9784 Define.
9785 (libc_feupdateenv_53bit): Define.
9786
9787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9788 53 bit (without extend i386 double precision).
9789
9790 * math/libm-test.inc (sincos_test): Add tests for large input.
9791 (sin): Likewise.
9792 (cos): Likewise.
9793
9794 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9795
9cad04ea
AS
97962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9797
9798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9799
f7062b9a
DM
98002012-03-15 David S. Miller <davem@davemloft.net>
9801
9802 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9803 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9804 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9805 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9818 file.
f7062b9a 9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9821 file.
f7062b9a 9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9824 file.
f7062b9a 9825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9827 file.
f7062b9a
DM
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9830 fmin/fmax sysdep routines.
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9832
7bd951ff
DM
98332012-03-14 David S. Miller <davem@davemloft.net>
9834
559398ab
DM
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9864 routines.
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9866 file.
559398ab 9867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9869 file.
559398ab 9870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9872 file.
559398ab 9873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9875 file.
559398ab 9876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9878 file.
559398ab 9879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9881 file.
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9883 file.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9885 file.
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9887 file.
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9889 New file.
9890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9891 file.
9892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9893 file.
559398ab 9894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9896 file.
559398ab 9897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9899 file.
559398ab 9900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9902 file.
559398ab 9903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9905 VIS3 routines.
559398ab
DM
9906
9907 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9908 New file.
9909
5a1c1e32
DM
9910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9911
eae47a36
DM
9912 * sysdeps/sparc/configure.in: New file.
9913 * sysdeps/sparc/configure: Generate.
9914 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9915 * configure: Regenerate.
9916 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9917 * config.make.in (have-as-vis3): New.
9918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9919 available use -Av9d instead of -Av9a.
9920 * sysdeps/sparc/sparc64/Makefile: Likewise.
9921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9923 New file.
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9925 file.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9927 New file.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9929 file.
eae47a36
DM
9930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9935
c0c83bc8
DM
9936 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9937 fzeros/fnegs to load 0x80000000 into a float register instead of
9938 using the stack.
7bd951ff
DM
9939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9940
bd951ccb
JM
99412012-03-14 Joseph Myers <joseph@codesourcery.com>
9942
9943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9944 bits/syscall.h.
9945 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9946 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9947 ($(inst_includedir)/bits/syscall.h): Remove rule.
9948 ($(objpfx)bits/syscall.d): Include instead of
9949 $(objpfx)syscall-list.d.
9950 (generated): Change syscall-list.h and syscall-list.d to
9951 bits/syscall.h and bits/syscall.d.
9952
bb4e6db2
RM
99532012-03-14 Roland McGrath <roland@hack.frob.com>
9954
9955 [BZ #13846]
9956 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9957
aa4a2ae1
JM
99582012-03-14 Joseph Myers <joseph@codesourcery.com>
9959
e456826d
JM
9960 [BZ #13841]
9961 * math/s_csqrt.c: Include <float.h>.
9962 (__csqrt): Scale large or subnormal inputs.
9963 * math/s_csqrtf.c: Likewise.
9964 * math/s_csqrtl.c: Likewise.
9965 * math/libm-test.inc (csqrt_test): Add more tests.
9966 * sysdeps/i386/fpu/libm-test-ulps: Update.
9967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968
aa4a2ae1
JM
9969 [BZ #13840]
9970 * math/libm-test.inc (hypot_test): Add more tests.
9971
7c10fd35
DM
99722012-03-13 David S. Miller <davem@davemloft.net>
9973
9974 [BZ #13840]
9975 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9976 double-precision for the calculation instead of scaling.
9977
f453b98b
JM
99782012-03-13 Joseph Myers <joseph@codesourcery.com>
9979
9980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9981 manipulate bits before adding and subtracting TWO52[sx].
9982 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9984 Likewise.
9985 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9986
09a3453f
DM
99872012-03-13 David S. Miller <davem@davemloft.net>
9988
8e59da90
DM
9989 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9990 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9992 rtld-global-offsets.h
9993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9994
2a8ab7f2
DM
9995 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9996 large parameters.
9997
10f62770
DM
9998 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9999
5f0bdb18
DM
10000 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10001 'err' in the ifdef scope in which it is actually used.
10002
09a3453f
DM
10003 * nss/nss_db/db-init.c: Include string.h
10004
b4b2eb5e
DM
100052012-03-12 David S. Miller <davem@davemloft.net>
10006
98bb2f1c
DM
10007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10008 masking out of the most significant byte of random value used.
10009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10010 Fix coding style in previous change.
10011
b4b2eb5e
DM
10012 * sysdeps/unix/sysv/linux/kernel-features.h
10013 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10014 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10015 expression.
10016 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10017 later.
10018
6e226b09
DM
100192012-03-11 David S. Miller <davem@davemloft.net>
10020
a1bcbd40
DM
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10022 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10024 for 'resultvar' otherwise things get truncated on 64-bit.
10025
cb9d6174
DM
10026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10027 Fix masking out of the most significant byte of random value used.
10028
6e226b09
DM
10029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10030
058c132d
AS
100312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10034
2d2cd515
DM
100352012-03-09 David S. Miller <davem@davemloft.net>
10036
10037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10038 variables with appropriate CPP guards.
10039 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10040 frame pointer, not the stack pointer. Correct layout comments. Fix test
10041 on resulting framesize and the management of the outregs buffer for pltexit.
10042 Preserve floating point return values across _dl_call_pltexit call.
10043 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10044 framesize and the management of the outregs buffer for pltexit.
10045 Preserve floating point return values across _dl_call_pltexit
10046 call.
10047 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10048 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10049 (print_exit): Fix format string for return register value.
10050
9a07f9d0
JM
100512012-03-10 Joseph Myers <joseph@codesourcery.com>
10052
10053 * sunrpc/Makefile (others): Add rpcgen.
10054 ($(objpfx)rpcgen): Remove special build rule and dependency on
10055 libc.
10056 * sunrpc/rpcgen.c: New file.
10057
547b5e30
PE
100582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10059
c524201a
PE
10060 [BZ #13673]
10061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10063 * sysdeps/i386/crti.S: Likewise.
10064 * sysdeps/i386/crtn.S: Likewise.
10065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10069 * sysdeps/sh/crti.S: Likewise.
10070 * sysdeps/sh/crtn.S: Likewise.
10071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10072
7b6235f2
PE
10073 [BZ #13673]
10074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10075 with URL.
10076 * locale/programs/locfile-kw.gperf: Likewise.
10077 * locale/programs/charmap-kw.h: Regenerated.
10078 * locale/programs/locfile-kw.h: Likewise.
10079
547b5e30
PE
10080 [BZ #13673]
10081 * intl/plural.y: Replace FSF snail mail address with URL.
10082 * intl/plural.c: Regenerated.
10083
5f0a5dae
RH
100842012-03-09 Richard Henderson <rth@twiddle.net>
10085
10086 * include/math_private.h: Remove file.
10087 * math/math_private.h: Move file ...
10088 * sysdeps/generic/math_private.h: ... here.
10089
b8c03620
RH
10090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10093
4e234f5d 10094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10095 and <math_private.h>.
10096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10245 * sysdeps/ieee754/k_standard.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10406 * sysdeps/ieee754/s_lib_version.c: Likewise.
10407 * sysdeps/ieee754/s_matherr.c: Likewise.
10408 * sysdeps/ieee754/s_signgam.c: Likewise.
10409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10430
1991fa03
JM
104312012-03-09 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10434 * sunrpc/rpc_main.c: Likewise.
10435 * sunrpc/rpc_svcout.c: Likewise.
10436
60d6f5a6
DM
104372012-03-09 David S. Miller <davem@davemloft.net>
10438
10439 * include/math_private.h: New file.
10440
4962050e
JM
104412012-03-09 Joseph Myers <joseph@codesourcery.com>
10442
02a6f887
JM
10443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10446 from <bits/socket_type.h>.
10447 (enum __socket_type): Don't define here.
10448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10450 bits/socket_type.h.
10451
c6e013c1
JM
10452 [BZ #13566]
10453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10454 checking __USE_GNU.
10455
4962050e
JM
10456 * Makerules ($(inst_includedir)/%.h): New rule.
10457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10458 (install-others): Remove variable setting.
10459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10460
38842f45
RH
104612012-03-08 Richard Henderson <rth@twiddle.net>
10462
67bb6da6
RH
10463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10464 from macro to inline function; merge with the
10465 !__LIBC_INTERNAL_MATH_INLINES version.
10466 (__ieee754_sqrtf): Likewise.
10467
15194b4b
RH
10468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10469 to inline function.
10470 (__rintf, __floor, __floorf): Likewise.
10471
64e21ede
RH
10472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10473 macro to inline function.
10474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10475
38842f45
RH
10476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10477 not <math/math_private.h>.
10478
c64bf5fe
DM
104792012-03-08 David S. Miller <davem@davemloft.net>
10480
10481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10482 copyright year.
10483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10484
82d86f28
TS
104852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10486
10487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10488 normalization.
10489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10491
aea5d727
UD
104922012-03-08 Ulrich Drepper <drepper@gmail.com>
10493
10494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10495 be defined individually, they must be defined as a block. Define
10496 S for printing a string instead of hidint the different by using a
10497 macro for adding the 'l'.
10498 * stdio-common/tst-fphex-wide.c: Adjust.
10499
70bca0a3
MP
105002012-03-07 Marek Polacek <polacek@redhat.com>
10501
10502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10503
65b81130
MP
105042012-03-08 Marek Polacek <polacek@redhat.com>
10505
10506 [BZ #13806]
10507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10508 * stdio-common/tst-fphex.c: Define a few macros to make the
10509 test reusable. Use them.
10510 * stdio-common/tst-fphex-wide.c: New file.
10511
07037eeb
JM
105122012-03-08 Joseph Myers <joseph@codesourcery.com>
10513
a7a93d50
JM
10514 [BZ #6911]
10515 * manual/macros.texi (gnusystems): New macro.
10516 (nongnusystems): Likewise.
10517 (gnulinuxhurdsystems): Likewise.
10518 (gnuhurdsystems): Likewise..
10519 (gnulinuxsystems): Likewise.
10520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10521 variants of the GNU system, not "GNU system".
10522 * manual/conf.texi: Likewise.
10523 * manual/errno.texi: Likewise. Update example of errno macro
10524 expansion.
10525 * manual/filesys.texi: Likewise.
10526 (getumask): Document as specific to GNU/Hurd.
10527 * manual/install.texi: Likewise. Reword some references to
10528 GNU/Linux.
10529 * manual/intro.texi: Likewise.
10530 * manual/io.texi: Likewise.
10531 (File Name Portability): Detail which constraints are inapplicable
10532 to all GNU systems and which are only inapplicable to GNU/Hurd.
10533 * manual/job.texi: Likewise.
10534 * manual/llio.texi: Likewise.
10535 (O_NOCTTY): Document as present on GNU/Linux.
10536 * manual/maint.texi: Likewise.
10537 * manual/memory.texi: Likewise.
10538 * manual/pattern.texi: Likewise.
10539 * manual/pipe.texi: Likewise.
10540 * manual/process.texi: Likewise.
10541 * manual/resource.texi: Likewise.
10542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10543 child on GNU/Hurd.
10544 * manual/setjmp.texi: Likewise.
10545 * manual/signal.texi: Likewise.
10546 * manual/startup.texi: Likewise.
10547 * manual/stdio.texi: Likewise.
10548 * manual/terminal.texi: Likewise.
10549 (ONLCR): Document as POSIX.
10550 (OXTABS): Document availability on GNU/Linux as XTABS.
10551 (ONOEOT): Document availability separately from other bits.
10552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10553 * manual/time.texi: Likewise.
10554 * manual/users.texi: Likewise.
10555 * INSTALL: Regenerated.
10556 * sysdeps/gnu/errlist.c: Regenerated.
10557
07037eeb
JM
10558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10561 puts.
10562 * configure: Regenerated.
10563
d1d3431a
JM
105642012-03-07 Joseph Myers <joseph@codesourcery.com>
10565
af6a1e37
JM
10566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10567 default includes instead of AC_HEADER_CHECK.
10568 * sysdeps/i386/configure: Regenerated.
10569
d1d3431a
JM
10570 [BZ #10716]
10571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10572 * math/s_cacoshf.c (__cacoshf): Likewise.
10573 * math/s_cacoshl.c (__cacoshl): Likewise.
10574 * math/s_casinh.c (__casinh): Set signs of result from argument.
10575 * math/s_casinhf.c (__casinhf): Likewise.
10576 * math/s_casinhl.c (__casinhl): Likewise.
10577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10578 (casinh_test): Add more tests.
10579 * sysdeps/i386/fpu/libm-test-ulps: Update.
10580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10581
482ff4da
UD
105822012-03-07 Ulrich Drepper <drepper@gmail.com>
10583
872fda05
UD
10584 * po/zh_TW.po: Update from translation team.
10585
a4300c7a
UD
10586 * login/Makefile (distribute): Remove variable.
10587 * catgets/Makefile: Likewise.
10588 * mach/Makefile: Likewise.
10589 * malloc/Makefile: Likewise.
10590 * misc/Makefile: Likewise.
10591 * iconv/Makefile: Likewise.
10592 * nscd/Makefile: Likewise.
10593 * hurd/Makefile: Likewise.
10594 * manual/Makefile: Likewise.
10595 * locale/Makefile: Likewise.
10596 * intl/Makefile: Likewise.
10597 * conform/Makefile: Likewise.
10598 * nss/Makefile: Likewise.
10599 * time/Makefile: Likewise.
10600 * soft-fp/Makefile: Likewise.
10601 * dirent/Makefile: Likewise.
10602 * gmon/Makefile: Likewise.
10603 * po/Makefile: Likewise.
10604 * rt/Makefile: Likewise.
10605 * socket/Makefile: Likewise.
10606 * math/Makefile: Likewise.
10607 * signal/Makefile: Likewise.
10608 * debug/Makefile: Likewise.
10609 * elf/Makefile: Likewise.
10610 * timezone/Makefile: Likewise.
10611 * stdlib/Makefile: Likewise.
10612 * iconvdata/Makefile: Likewise.
10613 * sunrpc/Makefile: Likewise.
10614 * io/Makefile: Likewise.
10615 * argp/Makefile: Likewise.
10616 * inet/Makefile: Likewise.
10617 * hesiod/Makefile: Likewise.
10618 * grp/Makefile: Likewise.
10619 * csu/Makefile: Likewise.
10620 * wctype/Makefile: Likewise.
10621 * crypt/Makefile: Likewise.
10622 * libio/Makefile: Likewise.
10623 * string/Makefile: Likewise.
10624 * nis/Makefile: Likewise.
10625 * resolv/Makefile: Likewise.
10626 * stdio-common/Makefile: Likewise.
10627 * wcsmbs/Makefile: Likewise.
10628 * dlfcn/Makefile: Likewise.
10629 * posix/Makefile: Likewise.
10630
3b7c4e74 10631 [BZ #6959]
482ff4da
UD
10632 * timezone/Makefile: Don't install timezone files, just the programs
10633 and scripts.
10634
f72ed77d
UD
106352012-03-06 Ulrich Drepper <drepper@gmail.com>
10636
a000466f
UD
10637 * nss/databases.def: Add missing gshadow entry.
10638
f72ed77d
UD
10639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10640
a53b7a4e
MP
106412012-03-06 Marek Polacek <polacek@redhat.com>
10642
10643 [BZ #13726]
10644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10647 * stdio-common/tst-long-dbl-fphex.c: New file.
10648
e9258400
DM
106492012-03-06 David S. Miller <davem@davemloft.net>
10650
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10652 (set_obp_int): New function.
10653 (get_obp_int): New function.
10654 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10656 Avoid unused variable warnings on 'val' and use builtin_expect.
10657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10658 __builtin_expect.
e9258400
DM
10659 (INLINE_CLONE_SYSCALL): Likewise.
10660
3bd2c723
DM
106612012-03-05 David S. Miller <davem@davemloft.net>
10662
10663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10664
bbb78d03
AS
106652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10666
884c5db4
AS
10667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10668
bbb78d03
AS
10669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10670 only for |x| >= 40.
10671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10672
1c9f702a 106732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10674
10675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10676 Replace gettimeofday with __vdso_gettimeofday.
10677
7be16f82
RM
10678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10680 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10681
10682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10683 time with __vdso_time.
10684
ed58a00f
JM
106852012-03-05 Joseph Myers <joseph@codesourcery.com>
10686
10687 * manual/lang.texi (size_t): Note types to which size_t may be
10688 equivalent with the GNU C Library, but do not describe when
10689 differences between them are significant.
10690
30ee4ced
AJ
106912012-03-05 Andreas Jaeger <aj@suse.de>
10692
10693 * sysdeps/i386/fpu/libm-test-ulps: Update.
10694
b7cd39e8
JM
106952012-03-05 Joseph Myers <joseph@codesourcery.com>
10696
10697 [BZ #3976]
10698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10699 (__ieee754_pow): Save and restore rounding mode and use
10700 round-to-nearest for main computations.
10701 * math/libm-test.inc (pow_test_tonearest): New function.
10702 (pow_test_towardzero): Likewise.
10703 (pow_test_downward): Likewise.
10704 (pow_test_upward): Likewise.
10705 (main): Call the new functions.
10706 * sysdeps/i386/fpu/libm-test-ulps: Update.
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10708
10709 [BZ #3976]
10710 * math/libm-test.inc (cosh_test_tonearest): New function.
10711 (cosh_test_towardzero): Likewise.
10712 (cosh_test_downward): Likewise.
10713 (cosh_test_upward): Likewise.
10714 (sinh_test_tonearest): Likewise.
10715 (sinh_test_towardzero): Likewise.
10716 (sinh_test_downward): Likewise.
10717 (sinh_test_upward): Likewise.
10718 (main): Call the new functions.
10719 * sysdeps/i386/fpu/libm-test-ulps: Update.
10720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10721
6c6a98c9
TV
107222012-03-05 Tom de Vries <tom@codesourcery.com>
10723
10724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10725 default stack guard is set in last bytes.
10726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10727
21bb2d2e 107282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10729
21bb2d2e 10730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10731
21bb2d2e
AJ
10732 [BZ #13656]
10733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10734 possibly allocate from heap instead of stack.
10735 * stdio-common/bug-vfprintf-nargs.c: New file.
10736 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10737
c6922934
AS
107382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10739
10740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10741
bc957d53
MP
107422012-03-03 Marek Polacek <polacek@redhat.com>
10743
10744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10745 * math/math_private.h: Likewise.
10746 * stdlib/tst-strtod.c: Likewise.
10747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10748 * sysdeps/x86_64/bits/atomic.h: Likewise.
10749
6358490d
DM
107502012-03-02 David S. Miller <davem@davemloft.net>
10751
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10760
01ae168d
RM
107612012-03-02 Roland McGrath <roland@hack.frob.com>
10762
d9a17c07
RM
10763 [BZ #13792]
10764 * manual/examples/README: New file, says the example source files
10765 can be used under GPL>=2.
10766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10767 line containing just "*/".
10768 * manual/examples/add.c: Add copyright header (GPL>=2).
10769 * manual/examples/argp-ex1.c: Likewise.
10770 * manual/examples/argp-ex2.c: Likewise.
10771 * manual/examples/argp-ex3.c: Likewise.
10772 * manual/examples/argp-ex4.c: Likewise.
10773 * manual/examples/atexit.c: Likewise.
10774 * manual/examples/db.c: Likewise.
10775 * manual/examples/dir.c: Likewise.
10776 * manual/examples/dir2.c: Likewise.
10777 * manual/examples/execinfo.c: Likewise.
10778 * manual/examples/filecli.c: Likewise.
10779 * manual/examples/filesrv.c: Likewise.
10780 * manual/examples/fmtmsgexpl.c: Likewise.
10781 * manual/examples/genpass.c: Likewise.
10782 * manual/examples/inetcli.c: Likewise.
10783 * manual/examples/inetsrv.c: Likewise.
10784 * manual/examples/isockad.c: Likewise.
10785 * manual/examples/longopt.c: Likewise.
10786 * manual/examples/memopen.c: Likewise.
10787 * manual/examples/memstrm.c: Likewise.
10788 * manual/examples/mkfsock.c: Likewise.
10789 * manual/examples/mkisock.c: Likewise.
10790 * manual/examples/mygetpass.c: Likewise.
10791 * manual/examples/pipe.c: Likewise.
10792 * manual/examples/popen.c: Likewise.
10793 * manual/examples/rprintf.c: Likewise.
10794 * manual/examples/search.c: Likewise.
10795 * manual/examples/select.c: Likewise.
10796 * manual/examples/setjmp.c: Likewise.
10797 * manual/examples/sigh1.c: Likewise.
10798 * manual/examples/sigusr.c: Likewise.
10799 * manual/examples/stpcpy.c: Likewise.
10800 * manual/examples/strdupa.c: Likewise.
10801 * manual/examples/strftim.c: Likewise.
10802 * manual/examples/strncat.c: Likewise.
10803 * manual/examples/subopt.c: Likewise.
10804 * manual/examples/swapcontext.c: Likewise.
10805 * manual/examples/termios.c: Likewise.
10806 * manual/examples/testopt.c: Likewise.
10807 * manual/examples/testpass.c: Likewise.
10808 * manual/examples/timeval_subtract.c: Likewise.
10809
01ae168d
RM
10810 [BZ #13792]
10811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10812 function to ...
10813 * manual/timeval_subtract.c.texi: ... here, new file.
10814
49efa33d
DM
108152012-03-02 David S. Miller <davem@davemloft.net>
10816
10817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10818
28afd92d
JM
108192012-03-02 Joseph Myers <joseph@codesourcery.com>
10820
804360ed
JM
10821 [BZ #3976]
10822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10823 (__sin): Save and restore rounding mode and use round-to-nearest
10824 for all computations.
10825 (__cos): Save and restore rounding mode and use round-to-nearest
10826 for all computations.
10827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10828 <fenv.h>.
10829 (tan): Save and restore rounding mode and use round-to-nearest for
10830 all computations.
10831 * math/libm-test.inc (cos_test_tonearest): New function.
10832 (cos_test_towardzero): Likewise.
10833 (cos_test_downward): Likewise.
10834 (cos_test_upward): Likewise.
10835 (sin_test_tonearest): Likewise.
10836 (sin_test_towardzero): Likewise.
10837 (sin_test_downward): Likewise.
10838 (sin_test_upward): Likewise.
10839 (tan_test_tonearest): Likewise.
10840 (tan_test_towardzero): Likewise.
10841 (tan_test_downward): Likewise.
10842 (tan_test_upward): Likewise.
10843 (main): Call the new functions.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846
a6d06d7b
JM
10847 [BZ #10135]
10848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10849 small n, then large n, before computing and testing k+n.
10850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10852 Likewise.
10853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10854 Likewise.
10855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10863 * math/libm-test.inc (scalbn_test): Add more tests.
10864 (scalbln_test): Likewise.
10865
07e12bb3
JM
10866 * manual/filesys.texi (mode_t): Describe constraints on size and
10867 signedness, not exact equivalence to a particular type.
10868 (ino_t): Likewise.
10869 (ino64_t): Likewise.
10870 (dev_t): Likewise.
10871 (nlink_t): Likewise.
10872 (blkcnt_t): Likewise.
10873 (blkcnt64_t): Likewise.
10874 * manual/llio.texi (off_t): Likewise.
10875
28afd92d
JM
10876 [BZ #3976]
10877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10878 (__ieee754_exp): Save and restore rounding mode and use
10879 round-to-nearest for all computations.
10880 * math/libm-test.inc (exp_test_tonearest): New function.
10881 (exp_test_towardzero): Likewise.
10882 (exp_test_downward): Likewise.
10883 (exp_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.
10887
b1eeb65d
CD
108882012-03-01 Chris Demetriou <cgd@google.com>
10889
10890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10891 have predictable order.
10892
53362a4b
DM
108932012-03-01 David S. Miller <davem@davemloft.net>
10894
3c969083
DM
10895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10896
759707de
DM
10897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10901
dfdb8ff2
DM
10902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10911
ead89f96
DM
10912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10913
7f66bd07
DM
10914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10917
53362a4b
DM
10918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10936 * sysdeps/sparc/elf/configure: Regenerated.
10937
7b1902cb
JM
109382012-03-01 Joseph Myers <joseph@codesourcery.com>
10939
bec039bc
JM
10940 * configure.in (AS, LD): Require binutils 2.20 or later.
10941 * configure: Regenerated.
10942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10943 as required minimum version.
10944 * INSTALL: Regenerated.
10945
7b1902cb
JM
10946 [BZ #2541]
10947 [BZ #4108]
10948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10949 before squaring exponent.
10950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10951 bottom long double and 27 bits of top long double before squaring
10952 exponent.
10953 * math/libm-test.inc (erfc_test): Add more tests.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10957
f775c276
KT
109582012-03-01 Kai Tietz <ktietz@redhat.com>
10959
10960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10962 containing bit-fields.
10963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10964 * soft-fp/single.h (_FP_UNION_S): Likewise.
10965 * soft-fp/double.h (_FP_UNION_D): Likewise.
10966
5b8a4d4a
JM
109672012-02-29 Joseph Myers <joseph@codesourcery.com>
10968
0bab47b6
JM
10969 [BZ #13786]
10970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10971 not include ../strcmp.S.
10972 [USE_AS_STRNCASECMP_L]: Likewise.
10973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10976 (__strncasecmp_l_ia32): Define as alias to
10977 __strncasecmp_l_nonascii.
10978
0fcad3e2
JM
10979 [BZ #5794]
10980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10981 * sysdeps/i386/fpu/libm-test-ulps: Update.
10982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10983
5b8a4d4a
JM
10984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10986
8fdceb2e
JL
109872012-02-29 Jeff Law <law@redhat.com>
10988
10989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10990 out of bounds read.
10991
1f393a11
MP
109922012-02-29 Marek Polacek <polacek@redhat.com>
10993
10994 [BZ #13706]
10995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10996 * elf/Makefile: Add rules to run tst-unused-dep.out.
10997
8847f037
DM
109982012-02-28 David S. Miller <davem@davemloft.net>
10999
11000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11006
169d7f11
JM
110072012-02-29 Joseph Myers <joseph@codesourcery.com>
11008
11009 * math/libm-test.inc (llround_test): Move one test from
11010 lround_test. Use TEST_f_L in moved test.
11011 (lround_test): Move misplaced test to llround_test. Add testcase
11012 from bug 2561.
11013
39adf059
UD
110142012-02-28 Ulrich Drepper <drepper@gmail.com>
11015
11016 * sysdeps/x86_64/fpu/e_expf.S: New file.
11017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11018
71b5d1c5
SB
110192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11020
11021 [BZ #13637]
11022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11023 of remain_len that may cause incomplete multi-byte character and
11024 false match.
11025 * posix/bug-regex33.c: New file.
11026 * posix/Makefile (tests): Add bug-regex33.
11027
1f77f049
JM
110282012-02-28 Joseph Myers <joseph@codesourcery.com>
11029
11030 * manual/macros.texi: New file.
11031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11032 * manual/libc.texinfo: Include macros.texi.
11033 * manual/creatute.texi: Likewise.
11034 * manual/install.texi: Likewise.
11035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11036 @glibcadj{} in references to the GNU C Library.
11037 * manual/charset.texi: Likewise.
11038 * manual/conf.texi: Likewise.
11039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11040 when not using those macros.
11041 * manual/creature.texi: Likewise.
11042 * manual/crypt.texi: Likewise.
11043 * manual/errno.texi: Likewise.
11044 * manual/filesys.texi: Likewise.
11045 * manual/header.texi: Likewise.
11046 * manual/install.texi: Likewise.
11047 * manual/intro.texi: Likewise.
11048 * manual/io.texi: Likewise.
11049 * manual/job.texi: Likewise.
11050 * manual/lang.texi: Likewise.
11051 * manual/libc.texiinfo: Likewise.
11052 * manual/llio.texi: Likewise.
11053 * manual/locale.texi: Likewise.
11054 * manual/maint.texi: Likewise.
11055 * manual/math.texi: Likewise.
11056 * manual/memory.texi: Likewise.
11057 * manual/message.texi: Likewise.
11058 * manual/nss.texi: Likewise.
11059 * manual/pattern.texi: Likewise.
11060 * manual/process.texi: Likewise.
11061 * manual/resource.texi: Likewise.
11062 * manual/search.texi: Likewise.
11063 * manual/setjmp.texi: Likewise.
11064 * manual/signal.texi: Likewise.
11065 * manual/socket.texi: Likewise.
11066 * manual/startup.texi: Likewise.
11067 * manual/stdio.texi: Likewise.
11068 * manual/string.texi: Likewise.
11069 * manual/sysinfo.texi: Likewise.
11070 * manual/syslog.texi: Likewise.
11071 * manual/terminal.texi: Likewise.
11072 * manual/time.texi: Likewise.
11073 * manual/users.texi: Likewise.
11074 * INSTALL: Regenerated.
11075 * NOTES: Regenerated.
d40c5d54 11076 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11077
450bf206
AS
110782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11079
11080 * include/dirent.h: Include <dirstream.h> before
11081 <dirent/dirent.h>.
11082
741a235b
DM
110832012-02-28 David S. Miller <davem@davemloft.net>
11084
11085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11089
d6b5aa58
DM
110902012-02-27 David S. Miller <davem@davemloft.net>
11091
1aff59a3
DM
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11096
d6b5aa58
DM
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11098 frame pointer instead of stack pointer relative arg slot.
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11102
433f48bf
CD
111032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11104
11105 [BZ #3992]
11106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11107
d674b76d
DM
111082012-02-27 David S. Miller <davem@davemloft.net>
11109
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11118
0e7727f7
JM
111192012-02-27 Joseph Myers <joseph@codesourcery.com>
11120
11121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11122 later. Allow versions 5-9.
43be4ca2 11123 * configure: Regenerated.
0e7727f7
JM
11124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11125 required minimum version and 4.6 as recommended version. Do not
11126 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11127 * INSTALL: Regenerated.
0e7727f7 11128
a78bc654
DM
111292012-02-27 David S. Miller <davem@davemloft.net>
11130
428d5830
DM
11131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11139
a78bc654
DM
11140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11141 manipulate bits before adding and subtracting TWO112[sx].
11142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11143
4579f81c
RM
111442012-02-27 Roland McGrath <roland@hack.frob.com>
11145
36c8acb4
RM
11146 [BZ #13775]
11147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11150 being in POSIX, because they are in 1003.1-2008.
11151
84ad622b
RM
11152 * rt/tst-aio.c: Include <fcntl.h>.
11153 * rt/tst-aio7.c: Likewise.
11154 * rt/tst-aio64.c: Likewise.
11155
4579f81c
RM
11156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11157
abd923db
JM
111582012-02-27 Joseph Myers <joseph@codesourcery.com>
11159
11160 * manual/install.texi (--with-headers): Describe headers as
11161 interface headers, not private headers.
11162 (Specific advice for GNU/Linux systems): Describe use of headers
11163 from "make headers_install", not private headers from older
11164 kernels.
43be4ca2 11165 * INSTALL: Regenerated.
abd923db
JM
11166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11167 Change to 2.6.19.
11168 * sysdeps/unix/sysv/linux/configure: Regenerated.
11169
6664049b
JM
11170 * manual/llio.texi (fclean): Remove documentation.
11171
bb8b6697
JM
11172 * manual/Makefile (libc-texi-generated): New variable. Include
11173 version.texi.
11174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11175 $(libc-texi-generated), not duplicated list of files.
11176 (version.texi, stamp-version): New rules.
11177 (realclean): Remove $(libc-texi-generated), not individual files
11178 from that list. Do not remove dir-add.texinfo.
11179 * manual/libc.texinfo: Comment out uses of edition numbers and
11180 references to printed manual. Remove last-updated dates.
11181 (EDITION): Comment out.
11182 (ISBN): Likewise.
11183 (VERSION, UPDATED): Remove.
11184 (version.texi): Include.
11185
12e5c3b9
AS
111862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11187
11188 * sysdeps/posix/spawni.c: Include <signal.h>.
11189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11190 * sysdeps/pthread/aio_fsync.c: Likewise.
11191
4efeffc1 111922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11193
ba63ba08
UD
11194 * conform/Makefile (tests): Run only when not cross-compiling and
11195 when fast-check is not defined.
11196
d94a4670
UD
11197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11198 * conform/data/limits.h-data: Fixes for POSIX2008.
11199 * conform/run-conformtest.sh: Run all tests.
11200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11201 headers.
11202 * include/bits/dlfcn.h: Likewise.
11203 * include/langinfo.h: Likewise.
11204 * include/monetary.h: Likewise.
11205 * include/sys/poll.h: Likewise.
11206
11207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11208 for __USE_GNU.
11209 * posix/spawn.h: Define __need_sigset_t.
11210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11213 to get sigevent_t only.
11214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11215 only for __USE_GNU.
11216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11218 process_vm_writev only for __USE_GNU.
11219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11220
11221 * conform/Makefile: For now ignore errors from run-conformtest.
11222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11223 POSIX to avoid namespace pollution. Don't prepend headers.
11224 * conform/data/aio.h-data: Fixes for POSIX testing.
11225 * conform/data/fcntl.h-data: Likewise.
11226 * conform/data/glob.h-data: Likewise.
11227 * conform/data/grp.h-data: Likewise.
11228 * conform/data/pthread.h-data: Likewise.
11229 * conform/data/pwd.h-data: Likewise.
11230 * conform/data/signal.h-data: Likewise.
11231 * conform/data/spawn.h-data: Likewise.
11232 * conform/data/stdio.h-data: Likewise.
11233 * conform/data/stdlib.h-data: Likewise.
11234 * conform/data/stropts.h-data: Likewise.
11235 * conform/data/sys/mman.h-data: Likewise.
11236 * conform/data/sys/stat.h-data: Likewise.
11237 * conform/data/sys/types.h-data: Likewise.
11238 * conform/data/sys/wait.h-data: Likewise.
11239 * conform/data/time.h-data: Likewise.
11240 * conform/data/unistd.h-data: Likewise.
11241 * conform/data/utime.h-data: Likewise.
11242
11243 * io/sys/stat.h: fchmod was always in POSIX.
11244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11246 * rt/aio.h: Define __need_timespec before including <time.h>.
11247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11248 struct. Add forward declaration of pthread_attr_t and use it in
11249 sigevent.
11250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11253 always remove CLK_TCK definition.
11254
c20105c3
AS
112552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11256
11257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11258
7a270350
UD
112592012-02-25 Ulrich Drepper <drepper@gmail.com>
11260
31341567
UD
11261 * conform/run-conformtest.sh: New file.
11262 * conform/Makefile: Run run-conformtest for tests.
11263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11264 support.
11265
11266 * conform/data/uchar.h-data: New file.
11267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11268 * conform/data/arpa/inet.h-data: Likewise.
11269 * conform/data/assert.h-data: Likewise.
11270 * conform/data/complex.h-data: Likewise.
11271 * conform/data/cpio.h-data: Likewise.
11272 * conform/data/ctype.h-data: Likewise.
11273 * conform/data/dirent.h-data: Likewise.
11274 * conform/data/dlfcn.h-data: Likewise.
11275 * conform/data/errno.h-data: Likewise.
11276 * conform/data/fcntl.h-data: Likewise.
11277 * conform/data/float.h-data: Likewise.
11278 * conform/data/fmtmsg.h-data: Likewise.
11279 * conform/data/fnmatch.h-data: Likewise.
11280 * conform/data/ftw.h-data: Likewise.
11281 * conform/data/glob.h-data: Likewise.
11282 * conform/data/grp.h-data: Likewise.
11283 * conform/data/iconv.h-data: Likewise.
11284 * conform/data/inttypes.h-data: Likewise.
11285 * conform/data/langinfo.h-data: Likewise.
11286 * conform/data/libgen.h-data: Likewise.
11287 * conform/data/limits.h-data: Likewise.
11288 * conform/data/locale.h-data: Likewise.
11289 * conform/data/math.h-data: Likewise.
11290 * conform/data/monetary.h-data: Likewise.
11291 * conform/data/mqueue.h-data: Likewise.
11292 * conform/data/ndbm.h-data: Likewise.
11293 * conform/data/net/if.h-data: Likewise.
11294 * conform/data/netdb.h-data: Likewise.
11295 * conform/data/netinet/in.h-data: Likewise.
11296 * conform/data/nl_types.h-data: Likewise.
11297 * conform/data/poll.h-data: Likewise.
11298 * conform/data/pthread.h-data: Likewise.
11299 * conform/data/pwd.h-data: Likewise.
11300 * conform/data/regex.h-data: Likewise.
11301 * conform/data/sched.h-data: Likewise.
11302 * conform/data/search.h-data: Likewise.
11303 * conform/data/semaphore.h-data: Likewise.
11304 * conform/data/setjmp.h-data: Likewise.
11305 * conform/data/signal.h-data: Likewise.
11306 * conform/data/spawn.h-data: Likewise.
11307 * conform/data/stdarg.h-data: Likewise.
11308 * conform/data/stdio.h-data: Likewise.
11309 * conform/data/stdlib.h-data: Likewise.
11310 * conform/data/string.h-data: Likewise.
11311 * conform/data/strings.h-data: Likewise.
11312 * conform/data/stropts.h-data: Likewise.
11313 * conform/data/sys/ipc.h-data: Likewise.
11314 * conform/data/sys/mman.h-data: Likewise.
11315 * conform/data/sys/msg.h-data: Likewise.
11316 * conform/data/sys/resource.h-data: Likewise.
11317 * conform/data/sys/select.h-data: Likewise.
11318 * conform/data/sys/sem.h-data: Likewise.
11319 * conform/data/sys/shm.h-data: Likewise.
11320 * conform/data/sys/socket.h-data: Likewise.
11321 * conform/data/sys/stat.h-data: Likewise.
11322 * conform/data/sys/statvfs.h-data: Likewise.
11323 * conform/data/sys/time.h-data: Likewise.
11324 * conform/data/sys/timeb.h-data: Likewise.
11325 * conform/data/sys/times.h-data: Likewise.
11326 * conform/data/sys/types.h-data: Likewise.
11327 * conform/data/sys/uio.h-data: Likewise.
11328 * conform/data/sys/un.h-data: Likewise.
11329 * conform/data/sys/utsname.h-data: Likewise.
11330 * conform/data/sys/wait.h-data: Likewise.
11331 * conform/data/syslog.h-data: Likewise.
11332 * conform/data/tar.h-data: Likewise.
11333 * conform/data/termios.h-data: Likewise.
11334 * conform/data/utime.h-data: Likewise.
11335 * conform/data/utmpx.h-data: Likewise.
11336 * conform/data/varargs.h-data: Likewise.
11337 * conform/data/wchar.h-data: Likewise.
11338 * conform/data/wctype.h-data: Likewise.
11339 * conform/data/wordexp.h-data: Likewise.
11340
11341 * include/stropts.h: New file.
11342 * include/uchar.h: New file.
11343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11344 * include/assert.h: Likewise.
11345 * include/ctype.h: Likewise.
11346 * include/dirent.h: Likewise.
11347 * include/dlfcn.h: Likewise.
11348 * include/fcntl.h: Likewise.
11349 * include/fnmatch.h: Likewise.
11350 * include/glob.h: Likewise.
11351 * include/grp.h: Likewise.
11352 * include/libio.h: Likewise.
11353 * include/locale.h: Likewise.
11354 * include/math.h: Likewise.
11355 * include/net/if.h: Likewise.
11356 * include/netdb.h: Likewise.
11357 * include/netinet/in.h: Likewise.
11358 * include/pthread.h: Likewise.
11359 * include/pwd.h: Likewise.
11360 * include/regex.h: Likewise.
11361 * include/sched.h: Likewise.
11362 * include/search.h: Likewise.
11363 * include/setjmp.h: Likewise.
11364 * include/signal.h: Likewise.
11365 * include/stdio.h: Likewise.
11366 * include/stdlib.h: Likewise.
11367 * include/string.h: Likewise.
11368 * include/sys/cdefs.h: Likewise.
11369 * include/sys/mman.h: Likewise.
11370 * include/sys/msg.h: Likewise.
11371 * include/sys/resource.h: Likewise.
11372 * include/sys/select.h: Likewise.
11373 * include/sys/socket.h: Likewise.
11374 * include/sys/stat.h: Likewise.
11375 * include/sys/statvfs.h: Likewise.
11376 * include/sys/time.h: Likewise.
11377 * include/sys/times.h: Likewise.
11378 * include/sys/uio.h: Likewise.
11379 * include/sys/utsname.h: Likewise.
11380 * include/sys/wait.h: Likewise.
11381 * include/termios.h: Likewise.
11382 * include/time.h: Likewise.
11383 * include/ulimit.h: Likewise.
11384 * include/unistd.h: Likewise.
11385 * include/utime.h: Likewise.
11386 * include/wchar.h: Likewise.
11387 * include/wctype.h: Likewise.
11388 * include/wordexp.h: Likewise.
11389
11390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11391
7a270350
UD
11392 * time/time.h: TIME_UTC must be a macro.
11393 Make timespec_get available for ISO C11 only as well.
11394
7724defc
UD
113952012-02-24 Ulrich Drepper <drepper@gmail.com>
11396
11397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11399
6b1d1d46
JM
114002012-02-24 Joseph Myers <joseph@codesourcery.com>
11401
11402 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11403
0f8bbd69
JM
114042012-02-24 Joseph Myers <joseph@codesourcery.com>
11405
11406 * manual/texinfo.tex: Update to version 2012-01-19.16.
11407
66ab80bc
JM
114082012-02-24 Joseph Myers <joseph@codesourcery.com>
11409
11410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11411
74981cc5
RM
114122012-02-24 Roland McGrath <roland@hack.frob.com>
11413
ee968201
RM
11414 [BZ #13738]
11415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11416 * manual/fdl-1.3.texi: New file.
11417 * manual/fdl-1.1.texi: File removed.
11418
74981cc5
RM
11419 [BZ #13738]
11420 * manual/libc.texinfo (FDL_VERSION): New @set.
11421 Use it for mention of FDL in cover text.
11422 (Documentation License): Use it in @include file name.
11423
7bb764bc
JM
114242012-02-22 Joseph Myers <joseph@codesourcery.com>
11425 Roland McGrath <roland@hack.frob.com>
11426
11427 [BZ #5461]
11428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11429 not LONG_LONG_MAX and LONG_LONG_MIN.
11430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11432 name.
11433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11434
6cbeae47
JM
114352012-02-22 Joseph Myers <joseph@codesourcery.com>
11436
11437 [BZ #2547]
11438 [BZ #11365]
11439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11440 manipulate bits before adding and subtracting TWO23[sx].
11441 * math/libm-test.inc (nearbyint_test): Add more tests.
11442
fe45ce09
JM
114432012-02-22 Joseph Myers <joseph@codesourcery.com>
11444
11445 [BZ #2548]
11446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11447 bits before adding and subtracting TWO23[sx].
11448 * math/libm-test.inc (rint_test): Add more tests.
11449 (rint_test_tonearest): Likewise.
11450 (rint_test_towardzero): Likewise.
11451 (rint_test_downward): Likewise.
11452 (rint_test_upward: Likewise.
11453
ff3b3d82
JM
114542012-02-22 Joseph Myers <joseph@codesourcery.com>
11455
11456 [BZ #10110]
11457 * include/stdc-predef.h: New file. Extracted from features.h.
11458 * include/features.h: Include stdc-predef.h.
11459 * Makefile (headers): Add stdc-predef.h.
11460 * CONFORMANCE (Compiler limitations): Update.
11461
ef0aab35
JM
114622012-02-22 Joseph Myers <joseph@codesourcery.com>
11463
11464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11465
58639409
DM
114662012-02-21 David S. Miller <davem@davemloft.net>
11467
11468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11470
c0e70b25
DM
114712012-02-20 David S. Miller <davem@davemloft.net>
11472
11473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11474 using a normal save/restore sequence, rather than allocating a
11475 dummy stack frame just to store a frame pointer and restore.
11476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11477
fb06851d
JM
114782012-02-21 Joseph Myers <joseph@codesourcery.com>
11479
11480 * manual/install.texi: Fix stray word in line-wrapped comment.
11481
7a8b71c3
DM
114822012-02-20 David S. Miller <davem@davemloft.net>
11483
d510c123
DM
11484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11485 both binutils and gcc support GOTDATA.
11486
0722d7c2
DM
11487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11488 "rd %pc" in the PIC register setup sequences.
11489
3d2b3019
DM
11490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11499 (SYSCALL_ERROR_HANDLER): Likewise.
11500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11503 (SYSCALL_ERROR_HANDLER): Likewise.
11504
c80098a9
DM
11505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11506 (HAVE_GCC_GOTDATA): New.
11507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11508 relocation support in both binutils and gcc.
11509 * sysdeps/sparc/elf/configure: Regenerate.
11510
3a2545a0
DM
11511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11512 * sysdeps/sparc/sparc32/elf/configure: Delete.
11513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11514 * sysdeps/sparc/sparc64/elf/configure: Delete.
11515 * sysdeps/sparc/elf/configure.in: New file.
11516 * sysdeps/sparc/elf/configure: Generate.
11517
7a8b71c3
DM
11518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11523
f1e86fca
JM
115242012-02-21 Joseph Myers <joseph@codesourcery.com>
11525
11526 * manual/install.texi: Do not mention specific glibc version
11527 numbers.
11528 * manual/libc.texinfo (VERSION, UPDATED): Update.
11529 (@copying): Use @copyright{} and range of years.
11530
0e7dfaef
JM
115312012-02-21 Joseph Myers <joseph@codesourcery.com>
11532
11533 [BZ #13695]
11534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11535 [crti.S not in sysdirs] (generated): Do not append.
11536 [crti.S not in sysdirs] (omit-deps): Likewise.
11537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11542 Likewise.
11543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11546 * csu/defs.awk: Remove file.
11547 * sysdeps/generic/initfini.c: Likewise.
11548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11549 variable.
11550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11551 Likewise.
11552
599af3ca
JM
115532012-02-20 Joseph Myers <joseph@codesourcery.com>
11554
11555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11561 <bits/epoll.h>.
11562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11563 (__EPOLL_PACKED): Define to empty if not defined by
11564 <bits/epoll.h>.
11565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11567 bits/epoll.h.
11568
0e499750
JM
115692012-02-20 Joseph Myers <joseph@codesourcery.com>
11570
11571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11575 <bits/timerfd.h>.
11576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11578 bits/timerfd.h.
11579
5ad91f6e
JM
115802012-02-20 Joseph Myers <joseph@codesourcery.com>
11581
11582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11583 in C locale.
11584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11588
06b99b02
AJ
115892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11590
11591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11593
7638c0fd
AS
115942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11595
11596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11598 defined.
11599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11602 entry for 2.16.
11603
92221550
AJ
116042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11605
11606 * math/w_acos.c: Use non-signaling floating-point comparisons.
11607 * math/w_acosf.c: Likewise.
11608 * math/w_acosh.c: Likewise.
11609 * math/w_acoshf.c: Likewise.
11610 * math/w_acoshl.c: Likewise.
11611 * math/w_acosl.c: Likewise.
11612 * math/w_asin.c: Likewise.
11613 * math/w_asinf.c: Likewise.
11614 * math/w_asinl.c: Likewise.
11615 * math/w_atanh.c: Likewise.
11616 * math/w_atanhf.c: Likewise.
11617 * math/w_atanhl.c: Likewise.
11618 * math/w_exp2.c: Likewise.
11619 * math/w_exp2f.c: Likewise.
11620 * math/w_exp2l.c: Likewise.
11621 * math/w_j0.c: Likewise.
11622 * math/w_j0f.c: Likewise.
11623 * math/w_j0l.c: Likewise.
11624 * math/w_j1.c: Likewise.
11625 * math/w_j1f.c: Likewise.
11626 * math/w_j1l.c: Likewise.
11627 * math/w_jn.c: Likewise.
11628 * math/w_jnf.c: Likewise.
11629 * math/w_log.c: Likewise.
11630 * math/w_log10.c: Likewise.
11631 * math/w_log10f.c: Likewise.
11632 * math/w_log10l.c: Likewise.
11633 * math/w_log2.c: Likewise.
11634 * math/w_log2f.c: Likewise.
11635 * math/w_log2l.c: Likewise.
11636 * math/w_logf.c: Likewise.
11637 * math/w_logl.c: Likewise.
11638 * math/w_sqrt.c: Likewise.
11639 * math/w_sqrtf.c: Likewise.
11640 * math/w_sqrtl.c: Likewise.
11641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11646
ebaf36eb
JM
116472012-02-19 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #9739]
11650 * manual/string.texi (strnlen): Use correct parameter name in
11651 equivalent expression.
11652
71c254a6
JM
116532012-02-19 Joseph Myers <joseph@codesourcery.com>
11654
11655 [BZ #11174]
11656 * manual/users.texi (seteuid): Consistently use neweuid for
11657 argument name.
11658
16d2c631
JM
116592012-02-19 Joseph Myers <joseph@codesourcery.com>
11660
11661 [BZ #13704]
11662 * manual/nss.texi (Services in the NSS configuration): Correct
11663 list of services in example configuration file.
11664
cd837b09
NB
116652012-02-19 Nick Bowler <nbowler@draconx.ca>
11666
11667 [BZ #11322]
11668 * manual/arith.texi: Remove statements about negative zero
11669 behaving identically to zero.
11670
02c4bbad
JM
116712012-02-18 Joseph Myers <joseph@codesourcery.com>
11672
11673 [BZ #5993]
11674 * manual/install.texi: Do not document upgrading from libc5.
11675
366842e7
JM
116762012-02-18 Joseph Myers <joseph@codesourcery.com>
11677
11678 [BZ #4596]
11679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11680
dd54084d
DM
116812012-02-18 David S. Miller <davem@davemloft.net>
11682
11683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11685 %o7 across the call.
11686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11687 instead.
11688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11689 SETUP_PIC_REG_LEAF.
11690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11692 * sysdeps/sparc/crtn.S: Likewise.
11693
2bcc53a3
UD
116942012-02-17 Ulrich Drepper <drepper@gmail.com>
11695
11696 * aout/Makefile: Remove.
11697
09c093b5
RK
116982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11699
11700 [BZ #13058]
11701 * manual/examples/argp-ex1.c (main): Format definition in GNU
11702 style.
11703 * manual/examples/argp-ex2.c (main): Likewise.
11704 * manual/examples/argp-ex3.c (main): Likewise.
11705 * manual/examples/argp-ex4.c (main): Likewise.
11706 * manual/examples/longopt.c (main): Use new-style prototype
11707 definition.
11708 * manual/examples/strncat.c (main): Specify return type and use
11709 (void) for arguments.
11710 * manual/examples/subopt.c (main): Use char **argv argument.
11711
2ee633a2
JM
117122012-02-17 Joseph Myers <joseph@codesourcery.com>
11713
11714 [BZ #5077]
11715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11716 rounding modes.
11717
0520adde
FB
117182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11719
11720 [BZ #6907]
11721 * manual/string.texi (strchr): Change when strchrnul is
11722 recommended.
11723
3f4081cd
DGM
117242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11725
11726 [BZ #174]
11727 * manual/locale.texi (setlocale): Document LOCPATH.
11728
d1b10e78
JM
117292012-02-17 Joseph Myers <joseph@codesourcery.com>
11730
11731 [BZ #10210]
11732 * manual/process.texi (execle): Move @dots{} before last argument.
11733
79c6869c
PB
117342012-02-17 Paul Bolle <pebolle@tiscali.nl>
11735
11736 [BZ #12047]
11737 * manual/charset.texi (Generic Charset Conversion): Fix typo
11738 (LC_TYPE -> LC_CTYPE).
11739
cc6e48bc
NB
117402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11741
11742 [BZ #5805]
11743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11744 (scalbnf): Likewise.
11745 (scalbnl): Likewise.
11746 (scalbln): Likewise.
11747 (scalblnf): Likewise.
11748 (scalblnl): Likewise.
11749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11750 (vwarnx): Likewise.
11751 (verr): Likewise.
11752 (verrx): Likewise.
11753 * manual/filesys.texi (telldir): Use braces around return type.
11754 * manual/llio.texi (mmap): Add space after comma.
11755 (mmap64): Likewise.
11756 * manual/math.texi (jn): Use @var{} on parameter names.
11757 (jnf): Likewise.
11758 (jnl): Likewise.
11759 (yn): Likewise.
11760 (ynf): Likewise.
11761 (ynl): Likewise.
11762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11763 line.
11764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11765 "...".
11766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11767 (sched_get_priority_max): Likewise.
11768 * manual/signal.texi (sigvec): Add space after comma.
11769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11770 names.
11771 (if_indextoname): Likewise.
11772 (if_freenameindex): Likewise.
11773 (sendto): Use ',' instead of '.' in prototype.
11774 * manual/startup.texi (syscall): Use @dots{} instead of literal
11775 "...".
11776 * manual/stdio.texi (__fpending): Separate initial words of
11777 paragraph from @deftypefun line.
11778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11779 "...".
11780 (vsyslog): Use @var{} on parameter names.
11781 * manual/terminal.texi (stty): Use @var{} on parameter names.
11782 * manual/users.texi (getutmp): Use @var{} on parameter names.
11783 (getutmpx): Likewise.
11784
5b23062f
JM
117852012-02-17 Joseph Myers <joseph@codesourcery.com>
11786
11787 [BZ #6884]
11788 * manual/stdio.texi (fopen): Fix typos in description of
11789 ",ccs=STRING".
11790
8dee4833
AJ
117912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11792
11793 [BZ #4026]
11794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11795 get clock_id definition.
11796
9078ce93
TS
117972012-02-17 Thomas Schwinge <thomas@schwinge.name>
11798
11799 [BZ #4822]
11800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11801 (madvise): Cast every argument to void on its own.
11802
3835c55f
JM
118032012-02-17 Joseph Myers <joseph@codesourcery.com>
11804
11805 [BZ #9902]
11806 * manual/startup.texi (Exit Status): Fix typo.
11807
35c47e37
JM
118082012-02-17 Joseph Myers <joseph@codesourcery.com>
11809
11810 [BZ #10140]
11811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11812 * manual/examples/argp-ex2.c: Likewise.
11813 * manual/examples/argp-ex3.c: Likewise.
11814
e3b69ca7
RH
118152012-02-16 Richard Henderson <rth@redhat.com>
11816
11817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11818 * sysdeps/s390/s390-32/initfini.c: Remove.
11819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11820 * sysdeps/s390/s390-64/initfini.c: Remove.
11821
df83af67
KK
118222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11823
11824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11825 compiler output for sysdeps/generic/initfini.c.
11826 * sysdeps/sh/elf/initfini.c: Remove file.
11827
f63f3380
DM
118282012-02-16 David S. Miller <davem@davemloft.net>
11829
fb59b3a4
DM
11830 [BZ #11494]
11831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11832
f63f3380
DM
11833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11834 * sysdeps/sparc/crti.S: New file.
11835 * sysdeps/sparc/crtn.S: New file.
11836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11837 * sysdeps/sparc/sparc64/Makefile: Likewise.
11838
df6a4a4a
MF
118392012-02-15 Mike Frysinger <vapier@gentoo.org>
11840
6dd8f3dc 11841 [BZ #3335]
df6a4a4a
MF
11842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11843
1cac7236
RM
118442012-02-15 Roland McGrath <roland@hack.frob.com>
11845
d2c736f8
RM
11846 [BZ #4822]
11847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11848
1cac7236
RM
11849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11850 (write, read, close): Likewise.
11851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11852
8e475601
JM
118532012-02-15 Joseph Myers <joseph@codesourcery.com>
11854
11855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11859 <bits/signalfd.h>.
11860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11862 bits/signalfd.h.
11863
ed656b40
MP
118642012-02-14 Marek Polacek <polacek@redhat.com>
11865
11866 * sysdeps/x86_64/crti.S: New file.
11867 * sysdeps/x86_64/crtn.S: New file.
11868 * sysdeps/x86_64/elf/initfini.c: Remove file.
11869
2a979d3a
JM
118702012-02-13 Joseph Myers <joseph@codesourcery.com>
11871
11872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11876 <bits/inotify.h>.
11877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11879 bits/inotify.h.
11880
2a418ac3
JM
118812012-02-13 Joseph Myers <joseph@codesourcery.com>
11882
11883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11887 <bits/eventfd.h>.
11888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11890 bits/eventfd.h.
11891
fb779be7
TS
118922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11893
e19e83c5
RM
11894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11895 __feraiseexcept instead of feraiseexcept.
7c35ffed 11896
fb779be7
TS
11897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11898 nanosleep invocations.
11899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11900 strings, and add error checking for a nanosleep invocations.
11901
59ba27a6
PE
119022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11903
11904 Replace FSF snail mail address with URLs, as per GNU coding standards.
11905 Most of the snail mail addresses were wrong anyway, and omitting
11906 them makes the source code easier to maintain. Almost all of the
11907 changes are to license notices and to locale LC_IDENTIFICATION
11908 addresses, except for this one:
11909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11910 not its snail mail address.
11911
57b957eb
RH
119122012-02-09 Richard Henderson <rth@twiddle.net>
11913
af850b1c
RH
11914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11915 of kernel-features.h.
11916
57b957eb
RH
11917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11918
6b73181a
MP
119192012-02-08 Marek Polacek <polacek@redhat.com>
11920
11921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11923 * sysdeps/gnu/_G_config.h: Likewise.
11924 * sysdeps/generic/_G_config.h: Likewise.
11925
26ecc33a
AS
119262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11927
6c6dbc63
AS
11928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11929 tests.
11930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11931
e216c012
AS
11932 * sysdeps/powerpc/powerpc32/crti.S: New file.
11933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11934 * sysdeps/powerpc/powerpc64/crti.S: New file.
11935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11936
26ecc33a
AS
11937 * Makeconfig (have-initfini): Don't set.
11938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11939 * configure.in (nopic_initfini): Don't substitute.
11940 * config.h.in (HAVE_INITFINI): Don't #undef.
11941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11943
3add8e13
JM
119442012-02-08 Joseph Myers <joseph@codesourcery.com>
11945
11946 Support crti.S and crtn.S provided directly by architectures.
11947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11948 [crti.S in sysdirs] (omit-deps): Likewise.
11949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11958 compiler output for sysdeps/generic/initfini.c.
11959 * sysdeps/i386/elf/Makefile: Remove file.
11960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11961
a22f12b4
MP
119622012-02-07 Marek Polacek <polacek@redhat.com>
11963
11964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11965 * sysdeps/gnu/_G_config.h: Likewise.
11966 * sysdeps/mach/hurd/_G_config.h: Likewise.
11967
148cf100
MP
119682012-02-07 Marek Polacek <polacek@redhat.com>
11969
11970 * math/Makefile (tests): Add tst-CMPLX2.
11971 * math/tst-CMPLX2.c: New file.
11972
cfdc0dd7
AS
119732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11974
84ba42c4
AS
11975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11976
cfdc0dd7
AS
11977 * math/libm-test.inc (jn_test): Add missing L suffix.
11978
622c86f4
MP
119792012-02-06 Marek Polacek <polacek@redhat.com>
11980
11981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11982 * sysdeps/i386/fpu/e_powf.S: Likewise.
11983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11986 * sysdeps/i386/fpu/e_pow.S: Likewise.
11987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11991 * sysdeps/i386/fpu/e_log2.S: Likewise.
11992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11994 * sysdeps/i386/fpu/e_powl.S: Likewise.
11995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11998 * sysdeps/i386/fpu/e_logl.S: Likewise.
11999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12005 * sysdeps/i386/fpu/e_log.S: Likewise.
12006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12009 * sysdeps/i386/fpu/e_logf.S: Likewise.
12010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12015 * sysdeps/i386/fpu/e_log10.S: Likewise.
12016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12022 * sysdeps/i386/asm-syntax.h: Likewise.
12023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12032 * sysdeps/powerpc/sysdep.h: Likewise.
12033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12035
d4a54ac6
JM
120362012-02-06 Joseph Myers <joseph@codesourcery.com>
12037
12038 [BZ #411]
12039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12040
314054ea
JM
120412012-02-06 Joseph Myers <joseph@codesourcery.com>
12042
12043 * sysdeps/i386/sysdep.h: Include <features.h>.
12044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12045 version.
12046
d8e0ca50
JM
120472012-02-05 Joseph Myers <joseph@codesourcery.com>
12048
12049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12050 Define.
12051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12052 LOAD_PIC_REG_STR.
12053
b1da7dd9
JM
120542012-02-03 Joseph Myers <joseph@codesourcery.com>
12055
12056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12057 (SETUP_PIC_REG): Use GET_PC_THUNK.
12058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12059 macro.
12060
9a1d9254
JM
120612012-02-03 Joseph Myers <joseph@codesourcery.com>
12062
12063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12064 for non-PIC compilation.
12065 (SETUP_PIC_REG): Add .p2align directive.
12066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12107
65dc3b75
JM
121082012-02-03 Joseph Myers <joseph@codesourcery.com>
12109
12110 * math/tst-CMPLX.c: Include <stdio.h>.
12111
d55bf177
JM
121122012-01-31 Joseph Myers <joseph@codesourcery.com>
12113
12114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12115 float.
12116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12117 * sysdeps/sparc/bits/mathdef.h: Likewise.
12118
69db4f8f
MP
121192012-01-31 Marek Polacek <polacek@redhat.com>
12120
12121 * libio/libio.h: Don't define _PARAMS.
12122 * locale/programs/config.h: Don't define PARAMS.
12123 * stdlib/strtol_l.c: Likewise.
12124 (__strtol_l): Remove PARAMS from the prototype.
12125
41b81892
UD
121262012-01-31 Ulrich Drepper <drepper@gmail.com>
12127
3b49edc0
UD
12128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12129 names. Just use the correct names. Remove unnecessary wrapper
12130 functions.
12131 * malloc/arena.c: Likewise.
12132 * malloc/hooks.c: Likewise.
12133
41b81892
UD
12134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12135 ARENA_TEST says not to. Simplify test for creation of a new arena.
12136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12137
27a25b6e
UD
121382012-01-30 Ulrich Drepper <drepper@gmail.com>
12139
12140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12141 into tail calls.
12142 (update_get_addr): New function.
12143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12144 GET_ADDR_MODULE parameter.
12145
c8a89e7d
JM
121462012-01-30 Joseph Myers <joseph@codesourcery.com>
12147
12148 * crypt/cert.c: Remove __STDC__ conditionals.
12149 * crypt/crypt-entry.c: Likewise.
12150 * crypt/crypt_util.c: Likewise.
12151 * libio/filedoalloc.c: Likewise.
12152 * libio/fileops.c: Likewise.
12153 * libio/genops.c: Likewise.
12154 * libio/iofclose.c: Likewise.
12155 * libio/iofdopen.c: Likewise.
12156 * libio/iofopen.c: Likewise.
12157 * libio/iofopen64.c: Likewise.
12158 * libio/iogetdelim.c: Likewise.
12159 * libio/iopopen.c: Likewise.
12160 * libio/obprintf.c: Likewise.
12161 * libio/oldfileops.c: Likewise.
12162 * libio/oldiofclose.c: Likewise.
12163 * libio/oldiofdopen.c: Likewise.
12164 * libio/oldiofopen.c: Likewise.
12165 * libio/oldiopopen.c: Likewise.
12166 * libio/wfiledoalloc.c: Likewise.
12167 * libio/wgenops.c: Likewise.
12168 * locale/programs/xmalloc.c: Likewise.
12169 * misc/syslog.c: Likewise.
12170 * stdio-common/xbug.c: Likewise.
12171 * string/memchr.c: Likewise.
12172 * string/memcmp.c: Likewise.
12173 * string/memrchr.c: Likewise.
12174 * string/rawmemchr.c: Likewise.
12175 * sysdeps/posix/getcwd.c: Likewise.
12176 * time/strftime_l.c: Likewise.
12177
3b100462
JM
121782012-01-30 Joseph Myers <joseph@codesourcery.com>
12179
12180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12181 * config.make.in (config-cflags-sse2avx): Define.
12182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12183 Fix typo.
12184
607998af
CM
121852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12186
12187 * scripts/config.guess: Update from upstream config git repository.
12188 * scripts/config.sub: Likewise.
12189
3601428f
CM
121902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12191
3ac8b282
CM
12192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12193 (EM_NUM): Update.
12194 (R_TILEPRO_*, R_TILEGX_*): New macros.
12195
e034841e
CM
12196 * scripts/firstversions.awk: Fix bug in version range handling.
12197
540d7568
CM
12198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12199
3601428f
CM
12200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12201
463de862
CM
12202 * include/sys/epoll.h: New file.
12203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12204 libc_hidden_def.
12205
73139a76
UD
122062012-01-28 Ulrich Drepper <drepper@gmail.com>
12207
96bc5b45
UD
12208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12209 Avoid unnecessary __WORDSIZE == 64 test.
12210 (fmaxf): Use VEX format if possible.
12211 (fmax): Likewise.
12212 (fminf): Likewise.
12213 (fmin): Likewise.
12214
56f6f6a2
UD
12215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12216 * math/math_private.h: Remove libc_fegetround* and
12217 libc_fesetround*.
12218 * sysdeps/i386/configure.in: Check for -msse2avx.
12219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12220 also if SSE2AVX is defined.
12221 Remove libc_fegetround* and libc_fesetround*.
12222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12225 of HAS_YMM_USABLE.
12226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12231
73139a76
UD
12232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12233
d73f93a4
AZ
122342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12235
12236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12237 size is not set.
12238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12239
6ee65ed6
UD
122402012-01-27 Ulrich Drepper <drepper@gmail.com>
12241
12242 [BZ #13618]
12243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12244 relocation.
12245 * Makeconfig (libm): Define.
12246 * elf/Makefile: Add rules to build and run tst-relsort1.
12247 * elf/tst-relsort1.c: New file.
12248 * elf/tst-relsort1mod1.c: New file.
12249 * elf/tst-relsort1mod2.c: New file.
12250
8db21882
JM
122512012-01-27 Joseph Myers <joseph@codesourcery.com>
12252
12253 * math/s_ldexp.c: Remove __STDC__ conditionals.
12254 * math/s_ldexpf.c: Likewise.
12255 * math/s_ldexpl.c: Likewise.
12256 * math/s_nextafter.c: Likewise.
12257 * math/s_nexttowardf.c: Likewise.
12258 * math/s_significand.c: Likewise.
12259 * math/s_significandf.c: Likewise.
12260 * math/s_significandl.c: Likewise.
12261 * math/w_jnl.c: Likewise.
12262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12302 * sysdeps/ieee754/k_standard.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12382 * sysdeps/ieee754/s_matherr.c: Likewise.
12383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12387
965a54a4
JM
123882012-01-26 Joseph Myers <joseph@codesourcery.com>
12389
12390 * crypt/md5.h: Remove __STDC__ conditionals.
12391 * libio/libioP.h: Likewise.
12392 * locale/programs/config.h: Likewise.
12393 * sysdeps/generic/sysdep.h: Likewise.
12394 * sysdeps/i386/asm-syntax.h: Likewise.
12395 * sysdeps/s390/asm-syntax.h: Likewise.
12396 * sysdeps/unix/sysdep.h: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12399
7071ad79
JM
124002012-01-26 Joseph Myers <joseph@codesourcery.com>
12401
12402 * libio/libio.h: Remove __STDC__ conditionals.
12403 * malloc/obstack.h: Likewise.
12404 * math/complex.h: Likewise.
12405 * math/math.h: Likewise.
12406 * sysdeps/generic/_G_config.h: Likewise.
12407 * sysdeps/gnu/_G_config.h: Likewise.
12408 * sysdeps/mach/hurd/_G_config.h: Likewise.
12409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12411 * sysdeps/sparc/bits/mathdef.h: Likewise.
12412
afc5ed09
UD
124132012-01-26 Ulrich Drepper <drepper@gmail.com>
12414
12415 [BZ #13583]
12416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12417 Clean up HAS_* macros.
afc5ed09 12418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12420 possible.
12421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12422 HAS_AVX.
12423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12428
bdb6de1d
JM
124292012-01-25 Joseph Myers <joseph@codesourcery.com>
12430
12431 * elf/tst-unique3.cc (gets): Remove declaration.
12432 * elf/tst-unique3lib.cc (gets): Likewise.
12433 * elf/tst-unique3lib2.cc (gets): Likewise.
12434 * elf/tst-unique4.cc (gets): Likewise.
12435
b15549e6
UD
124362012-01-24 Ulrich Drepper <drepper@gmail.com>
12437
12438 * include/stdio.h: Add C++ protection. Add gets declarations and
12439 definitions.
12440 * debug/tst-chk1.c: Don't declare gets here.
12441 * stdio-common/tst-gets.c: Likewise.
12442
a037381f
JM
124432012-01-24 Joseph Myers <joseph@codesourcery.com>
12444
12445 * posix/glob: Remove directory.
12446
f1d4aa75
JM
124472012-01-24 Joseph Myers <joseph@codesourcery.com>
12448
12449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12450
81c0c964
PT
124512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12452
12453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12454 of the non-standard EPFNOSUPPORT.
12455
0ea698ae
ST
124562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12457
12458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12461
d220b117
UD
124622012-01-21 Ulrich Drepper <drepper@gmail.com>
12463
12464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12465
3e1aa84e
UD
124662012-01-20 Ulrich Drepper <drepper@gmail.com>
12467
12468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12469 transient errors.
12470 * nscd/grpcache.c (cache_addgr): Likewise.
12471 * nscd/hstcache.c (cache_addhst): Likewise.
12472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12473 * nscd/pwdcache.c (cache_addpw): Likewise.
12474 * nscd/servicescache.c (cache_addserv): Likewise.
12475
400aa020
UD
124762012-01-16 Ulrich Drepper <drepper@gmail.com>
12477
d77e7869
UD
12478 * malloc/malloc.c: Various cleanups.
12479 * malloc/hooks.c: Likewise.
12480
400aa020
UD
12481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12482 * stdlib/bug-fmtmsg1.c: New file.
12483
12484 * stdlib/fmtmsg.c (init): Add missing unlock.
12485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12486
e0a309cf
MP
124872012-01-12 Marek Polacek <polacek@redhat.com>
12488
12489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12490 and _GNU_SOURCE.
12491
929d11c7
WS
124922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12493
12494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12496 macro to ensure uniqueness of label name.
12497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12499
41d0e869
UD
125002012-01-11 Ulrich Drepper <drepper@gmail.com>
12501
0cc5ed3b
UD
12502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12503
41d0e869
UD
12504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12508
a47a831a
UD
125092012-01-10 Ulrich Drepper <drepper@gmail.com>
12510
daa891c0
UD
12511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12512
12513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12516
e58ef0f2
UD
12517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12518
a47a831a 12519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12523
12524 * math/bits/math-finite.h: Add ldexp support.
12525
a0bfc9c7
MP
125262012-01-10 Marek Polacek <polacek@redhat.com>
12527
12528 * locale/programs/localedef.h (show_archive_content): Add noreturn
12529 attribute.
12530
d6e97a1d
UD
125312012-01-09 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12534
d5835c26
UD
125352012-01-08 Ulrich Drepper <drepper@gmail.com>
12536
e5f484c6
UD
12537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12538
d5835c26
UD
12539 * io/Makefile (headers): Add bits/poll2.h.
12540
d1f741e9
WS
125412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12542
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12544 typo #include statement.
12545
ec09c1c4
UD
125462012-01-08 Ulrich Drepper <drepper@gmail.com>
12547
12548 * include/sys/cdefs.h: Define __attribute_alloc_size.
12549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12551 * elf/pldd.c: Likewise.
12552 * iconv/iconv_charmap.c: Likewise.
12553 * iconv/iconvconfig.c: Likewise.
12554 * iconv/strtab.c: Likewise.
12555 * locale/programs/locale.c: Likewise.
12556 * locale/programs/localedef.h: Likewise.
12557 * locale/programs/simple-hash.c: Likewise.
12558 * nscd/nscd.h: Likewise.
12559 * nss/makedb.c: Likewise.
12560 * sysdeps/generic/ldconfig.h: Likewise.
12561 * locale/programs/localedef.c: Remove xmalloc prototype.
12562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12563
20b38e03
PP
125642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12565
12566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12567 appropriate.
12568
a0da5fe1
UD
125692012-01-08 Ulrich Drepper <drepper@gmail.com>
12570
1d5a644a 12571 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12572 * math/tst-CMPLX.c: New file.
1d5a644a 12573
8784a6db
UD
12574 * math/complex.h (CMPLXL): Fix typo.
12575
d9a216c0
UD
12576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12578 GLIBC_2.16.
12579 * debug/tst-chk1.c: Add poll and ppoll tests.
12580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12581 * include/sys/poll.h: Add hidden proto for ppoll.
12582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12583 * sysdeps/mach/hurd/ppoll.c: Likewise.
12584 * io/ppoll.c: Likewise.
12585 * debug/poll_chk.c: New file.
12586 * debug/ppoll_chk.c: New file.
12587 * include/bits/poll2.h: New file.
12588 * io/bits/poll2.h: New file.
12589
ac097f5c
UD
12590 [BZ #1350]
12591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12592
2119dcfa
UD
12593 * configure.in: static is always set to yes. Remove.
12594 * config.make.in: Don't set build-static.
12595 * Makeconfig: Remove use of build-static.
12596 * dlfcn/Makefile: Likewise.
12597 * elf/Makefile: Likewise.
12598 * math/Makefile: Likewise.
12599 * misc/Makefile: Likewise.
12600 * nptl/Makefile: Likewise.
12601 * sysdeps/mach/hurd/Makefile: Likewise.
12602
121766a9
UD
12603 * configure.in: PWD_P is not used anymore.
12604 * config.make.in: Remove PWD_P entry.
12605
51a1d39c 12606 * configure.in: Remove last remnants of RANLIB.
8720d066 12607 No need to check for signed size_t anymore.
215f4bdc
UD
12608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12609 and IA-64.
3857022a 12610 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12611 * aclocal.m4: Likewise.
12612
d3ed7225
UD
12613 * wcsmbs/mbrtoc16.c: Implement using towc function.
12614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12615 * wcsmbs/wcsmbsload.c: Likewise.
12616 * iconv/gconv_simple.c: Likewise.
12617 * iconv/gconv_int.h: Likewise.
12618 * iconv/gconv_builtin.h: Likewise.
12619 * iconv/iconv_prog.c: Remove CHAR16 handling.
12620
12621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12622
12623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12624
a0da5fe1
UD
12625 * configure.in: Remove --with-elf and --enable-bounded options.
12626 Dont set base_machine for ia64. More non-ELF conditions removed.
12627 Remove testing and setting of leading underscore information.
12628 * config.make.in (build-bounded): Set to no.
12629 * config.h.in: Remove NO_UNDERSCORES entry.
12630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12631 them.
12632 * csu/start.c: Remove !NO_UNDERSCORE code.
12633 * locale/localeinfo.h: Likewise.
12634 * sysdeps/generic/machine-gmon.h: Likewise.
12635 * sysdeps/generic/sysdep.h: Likewise.
12636 * sysdeps/i386/sysdep.h: Likewise.
12637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12638 * sysdeps/mach/sysdep.h: Likewise.
12639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12641 * sysdeps/sh/sysdep.h: Likewise.
12642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12643 * sysdeps/unix/i386/sysdep.S: Likewise.
12644 * sysdeps/unix/sparc/start.c: Likewise.
12645 * sysdeps/unix/sparc/sysdep.S: Likewise.
12646 * sysdeps/unix/sparc/sysdep.h: Likewise.
12647 * sysdeps/unix/start.c: Likewise.
12648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12649 * sysdeps/x86_64/sysdep.h: Likewise.
12650
df78418a
UD
126512012-01-07 Ulrich Drepper <drepper@gmail.com>
12652
a784e502
UD
12653 [BZ #13553]
12654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12655 for non-gcc.
12656 * argp/argp-fmtstream.h: Use const instead __const.
12657 * argp/argp.h: Likewise.
12658 * assert/assert.h: Likewise.
12659 * bits/fenv.h: Likewise.
12660 * bits/sched.h: Likewise.
12661 * bits/sigset.h: Likewise.
12662 * bits/sigthread.h: Likewise.
12663 * catgets/nl_types.h: Likewise.
12664 * conform/data/pthread.h-data: Likewise.
12665 * crypt/crypt-private.h: Likewise.
12666 * crypt/crypt.h: Likewise.
12667 * crypt/crypt_util.c: Likewise.
12668 * ctype/ctype.h: Likewise.
12669 * debug/execinfo.h: Likewise.
12670 * debug/mbsnrtowcs_chk.c: Likewise.
12671 * debug/mbsrtowcs_chk.c: Likewise.
12672 * debug/wcsnrtombs_chk.c: Likewise.
12673 * debug/wcsrtombs_chk.c: Likewise.
12674 * debug/wcstombs_chk.c: Likewise.
12675 * dirent/dirent.h: Likewise.
12676 * dlfcn/dlfcn.h: Likewise.
12677 * elf/neededtest4.c: Likewise.
12678 * grp/grp.h: Likewise.
12679 * gshadow/gshadow.h: Likewise.
12680 * iconv/gconv.h: Likewise.
12681 * iconv/gconv_int.h: Likewise.
12682 * iconv/gconv_simple.c: Likewise.
12683 * iconv/iconv.h: Likewise.
12684 * iconv/loop.c: Likewise.
12685 * iconv/skeleton.c: Likewise.
12686 * include/aio.h: Likewise.
12687 * include/aliases.h: Likewise.
12688 * include/argz.h: Likewise.
12689 * include/arpa/inet.h: Likewise.
12690 * include/assert.h: Likewise.
12691 * include/dirent.h: Likewise.
12692 * include/dlfcn.h: Likewise.
12693 * include/execinfo.h: Likewise.
12694 * include/fcntl.h: Likewise.
12695 * include/fenv.h: Likewise.
12696 * include/glob.h: Likewise.
12697 * include/grp.h: Likewise.
12698 * include/libintl.h: Likewise.
12699 * include/mntent.h: Likewise.
12700 * include/netdb.h: Likewise.
12701 * include/pwd.h: Likewise.
12702 * include/rpc/netdb.h: Likewise.
12703 * include/sched.h: Likewise.
12704 * include/search.h: Likewise.
12705 * include/shadow.h: Likewise.
12706 * include/signal.h: Likewise.
12707 * include/stdio.h: Likewise.
12708 * include/stdlib.h: Likewise.
12709 * include/string.h: Likewise.
12710 * include/sys/socket.h: Likewise.
12711 * include/sys/stat.h: Likewise.
12712 * include/sys/statfs.h: Likewise.
12713 * include/sys/statvfs.h: Likewise.
12714 * include/sys/syslog.h: Likewise.
12715 * include/sys/time.h: Likewise.
12716 * include/sys/uio.h: Likewise.
12717 * include/time.h: Likewise.
12718 * include/unistd.h: Likewise.
12719 * include/utmp.h: Likewise.
12720 * include/wchar.h: Likewise.
12721 * include/wctype.h: Likewise.
12722 * inet/aliases.h: Likewise.
12723 * inet/arpa/inet.h: Likewise.
12724 * inet/netinet/ether.h: Likewise.
12725 * inet/netinet/in.h: Likewise.
12726 * intl/libintl.h: Likewise.
12727 * io/bits/fcntl2.h: Likewise.
12728 * io/fcntl.h: Likewise.
12729 * io/ftw.h: Likewise.
12730 * io/sys/poll.h: Likewise.
12731 * io/sys/stat.h: Likewise.
12732 * io/sys/statfs.h: Likewise.
12733 * io/sys/statvfs.h: Likewise.
12734 * io/utime.h: Likewise.
12735 * libio/bits/stdio.h: Likewise.
12736 * libio/bits/stdio2.h: Likewise.
12737 * libio/libio.h: Likewise.
12738 * libio/libioP.h: Likewise.
12739 * libio/stdio.h: Likewise.
12740 * locale/lc-ctype.c: Likewise.
12741 * locale/locale.h: Likewise.
12742 * login/utmp.h: Likewise.
12743 * malloc/arena.c: Likewise.
12744 * malloc/malloc.c: Likewise.
12745 * malloc/malloc.h: Likewise.
12746 * malloc/mcheck.c: Likewise.
12747 * malloc/mtrace.c: Likewise.
12748 * math/bits/mathcalls.h: Likewise.
12749 * math/fenv.h: Likewise.
12750 * math/math_private.h: Likewise.
12751 * misc/bits/error.h: Likewise.
12752 * misc/bits/syslog.h: Likewise.
12753 * misc/err.h: Likewise.
12754 * misc/error.h: Likewise.
12755 * misc/fstab.h: Likewise.
12756 * misc/mntent.h: Likewise.
12757 * misc/regexp.h: Likewise.
12758 * misc/search.h: Likewise.
12759 * misc/sgtty.h: Likewise.
12760 * misc/sys/mman.h: Likewise.
12761 * misc/sys/syslog.h: Likewise.
12762 * misc/sys/uio.h: Likewise.
12763 * misc/sys/xattr.h: Likewise.
12764 * misc/ttyent.h: Likewise.
12765 * nis/rpcsvc/ypclnt.h: Likewise.
12766 * nss/nss.h: Likewise.
12767 * posix/bits/unistd.h: Likewise.
12768 * posix/fnmatch.h: Likewise.
12769 * posix/glob.h: Likewise.
12770 * posix/sched.h: Likewise.
12771 * posix/spawn.h: Likewise.
12772 * posix/sys/wait.h: Likewise.
12773 * posix/unistd.h: Likewise.
12774 * posix/wordexp.h: Likewise.
12775 * pwd/pwd.h: Likewise.
12776 * resolv/netdb.h: Likewise.
12777 * resource/sys/resource.h: Likewise.
12778 * rt/aio.h: Likewise.
12779 * rt/bits/mqueue2.h: Likewise.
12780 * rt/mqueue.h: Likewise.
12781 * shadow/shadow.h: Likewise.
12782 * signal/signal.h: Likewise.
12783 * socket/send.c: Likewise.
12784 * socket/sendto.c: Likewise.
12785 * socket/sys/socket.h: Likewise.
12786 * stdio-common/printf.h: Likewise.
12787 * stdlib/bits/stdlib.h: Likewise.
12788 * stdlib/fmtmsg.h: Likewise.
12789 * stdlib/monetary.h: Likewise.
12790 * stdlib/stdlib.h: Likewise.
12791 * stdlib/ucontext.h: Likewise.
12792 * streams/stropts.h: Likewise.
12793 * string/argz.h: Likewise.
12794 * string/bits/string2.h: Likewise.
12795 * string/string.h: Likewise.
12796 * string/strings.h: Likewise.
12797 * sunrpc/rpc/auth.h: Likewise.
12798 * sunrpc/rpc/auth_des.h: Likewise.
12799 * sunrpc/rpc/clnt.h: Likewise.
12800 * sunrpc/rpc/netdb.h: Likewise.
12801 * sunrpc/rpc/pmap_clnt.h: Likewise.
12802 * sunrpc/rpc/xdr.h: Likewise.
12803 * sysdeps/generic/inttypes.h: Likewise.
12804 * sysdeps/generic/net/if.h: Likewise.
12805 * sysdeps/generic/sys/swap.h: Likewise.
12806 * sysdeps/gnu/net/if.h: Likewise.
12807 * sysdeps/gnu/utmpx.h: Likewise.
12808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12809 * sysdeps/i386/i486/bits/string.h: Likewise.
12810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12811 * sysdeps/s390/bits/string.h: Likewise.
12812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12843 * sysvipc/sys/ipc.h: Likewise.
12844 * sysvipc/sys/msg.h: Likewise.
12845 * sysvipc/sys/sem.h: Likewise.
12846 * sysvipc/sys/shm.h: Likewise.
12847 * termios/termios.h: Likewise.
12848 * time/sys/time.h: Likewise.
12849 * time/time.h: Likewise.
12850 * wcsmbs/bits/wchar2.h: Likewise.
12851 * wcsmbs/uchar.h: Likewise.
12852 * wcsmbs/wchar.h: Likewise.
12853 * wctype/wctype.h: Likewise.
12854
0269750c
UD
12855 [BZ #13551]
12856 * Makeconfig: Remove all but ELF support including AIX support.
12857 * Makerules: Likewise.
12858 * config.h.in: Likewise.
12859 * config.make.in: Likewise.
12860 * configure: Likewise.
12861 * configure.in: Likewise.
12862 * csu/Makefile: Likewise.
12863 * csu/version.c: Likewise.
12864 * debug/Makefile: Likewise.
12865 * dlfcn/Makefile: Likewise.
12866 * elf/Makefile: Likewise.
12867 * extra-lib.mk: Likewise.
12868 * iconv/Makefile: Likewise.
12869 * include/libc-symbols.h: Likewise.
12870 * include/shlib-compat.h: Likewise.
12871 * resolv/Makefile: Likewise.
12872 * resolv/res_libc.c: Likewise.
12873 * rt/Makefile: Likewise.
12874 * sysdeps/i386/asm-syntax.h: Likewise.
12875 * sysdeps/i386/sysdep.h: Likewise.
12876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12877 * sysdeps/mach/sysdep.h: Likewise.
12878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12880 * sysdeps/s390/asm-syntax.h: Likewise.
12881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12883 * sysdeps/sh/sysdep.h: Likewise.
12884 * sysdeps/unix/sparc/sysdep.h: Likewise.
12885 * sysdeps/wordsize-32/divdi3.c: Likewise.
12886 * sysdeps/x86_64/sysdep.h: Likewise.
12887
00bbd29b
UD
12888 * argp/Versions: Remove _argp_unlock_xxx.
12889
12890 [BZ #13559]
12891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12892 * abilist/libBrokenLocale.abilist: Likewise.
12893 * abilist/libanl.abilist: Likewise.
12894 * abilist/libc.abilist: Likewise.
12895 * abilist/libcrypt.abilist: Likewise.
12896 * abilist/libdl.abilist: Likewise.
12897 * abilist/libm.abilist: Likewise.
12898 * abilist/libnsl.abilist: Likewise.
12899 * abilist/libpthread.abilist: Likewise.
12900 * abilist/libresolv.abilist: Likewise.
12901 * abilist/librt.abilist: Likewise.
12902 * abilist/libthread_db.abilist: Likewise.
12903 * abilist/libutil.abilist: Likewise.
12904 * abilist/libnss_db.abilist: New file.
12905
12906 * scripts/abilist.awk: Add support for indirect functions.
12907
a2693a0e
UD
12908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12909
3f05895f
UD
12910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12911
ecb6fb48
UD
12912 * shlib-versions: Remove entries for ports architectures.
12913
664f8cb9
UD
12914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12915 files in ports.
12916 * elf/stackguard-macros.h: Remove support for IA-64.
12917 * elf/tst-auditmod1.c: Likewise.
12918 * sysdeps/generic/ldsodefs.h: Likewise.
12919
7ae81d88
UD
12920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12922 configure files.
12923
bdeba135
UD
12924 [BZ #13552]
12925 * configure.in: Remove --enable-omitfp support.
12926 * FAQ.in: Adjust.
12927 * config.make.in: Likewise.
12928 * Makeconfig: Likewise.
12929 * manual/install.texi: Likewise.
12930
d75a0a62
UD
12931 In case anyone cares, the IA-64 architecture could move to ports.
12932 * sysdeps/ia64/*: Removed.
12933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12935
dcc9756b
UD
12936 [BZ #13555]
12937 * configure.in: Remove entries for unsupported architectures.
12938
d3761ebc 12939 [BZ #13533]
9954432e
UD
12940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12942 routines.
12943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12946 fall back to using wcrtomb.
12947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12949 renaming.
12950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12951 * wcsmbs/tst-c16c32-1.c: New file.
12952
12953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12954 local variable.
12955
c3a87236
UD
12956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12957
28926a1b
UD
12958 * elf/tst-unique3.cc: Add explicit declaration of gets.
12959 * elf/tst-unique3lib.cc: Likewise.
12960 * elf/tst-unique3lib2.cc: Likewise.
12961 * elf/tst-unique4.cc: Likewise.
12962
df78418a
UD
12963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12964
8ecd6b2a
JM
129652012-01-06 Joseph Myers <joseph@codesourcery.com>
12966
12967 [BZ #13566]
12968 * assert/assert.h (static_assert): Don't define for C++.
12969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12971
9f115170
UD
129722012-01-03 Ulrich Drepper <drepper@gmail.com>
12973
5e0d0300
UD
12974 * iconv/loop.c (single loop): Fix assertion in storing of
12975 remaining bytes.
12976
9f115170
UD
12977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12978
81fb02b0
UD
129792012-01-01 Ulrich Drepper <drepper@gmail.com>
12980
12981 * posix/getconf.c: Update copyright year.
12982 * nss/getent.c: Likewise.
a316c1f6 12983 * nss/makedb.c: Likewise.
81fb02b0
UD
12984 * iconv/iconvconfig.c: Likewise.
12985 * iconv/iconv_prog.c: Likewise.
12986 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12987 * elf/pldd.c: Likewise.
12988 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12989 * catgets/gencat.c: Likewise.
12990 * csu/version.c: Likewise.
12991 * elf/ldd.bash.in: Likewise.
12992 * elf/sprof.c (print_version): Likewise.
12993 * locale/programs/locale.c: Likewise.
12994 * locale/programs/localedef.c: Likewise.
a316c1f6 12995 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12996 * nscd/nscd.c (print_version): Likewise.
12997 * debug/xtrace.sh: Likewise.
12998 * malloc/memusage.sh: Likewise.
12999 * malloc/mtrace.pl: Likewise.
13000 * debug/catchsegv.sh: Likewise.
13001
2ba92745
JJ
130022011-12-30 Jakub Jelinek <jakub@redhat.com>
13003
13004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13005 pure attribute.
13006
dadebdae
UD
130072011-12-24 Ulrich Drepper <drepper@gmail.com>
13008
d3761ebc 13009 [BZ #13533]
db6af3eb
UD
13010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13012 transformations.
13013 * iconv/gconv_int.h: Likewise.
13014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13016 from libc for GLIBC_2.16.
13017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13019 * wcsmbs/uchar.h: Really define mbstate_t.
13020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13021 * wcsmbs/c16rtomb.c: New file.
13022 * wcsmbs/mbrtoc16.c: New file.
13023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13024 for C/POSIX locale.
13025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13027
dadebdae
UD
13028 * wcsmbs/wchar.h: Add missing __restrict.
13029
67371b56
UD
130302011-12-23 Ulrich Drepper <drepper@gmail.com>
13031
74033a25
UD
13032 [BZ #13532]
13033 * time/Makefile (routines): Add timespec_get.
13034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13036 timespec for ISO C11.
13037 * time/timespec_get.c: New file.
13038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13040
380d7e87
UD
13041 [BZ #13531]
13042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13043 * stdlib/stdlib.h: Declare aligned_alloc.
13044 * Versions.def: Add GLIBC_2.16 for libc.
13045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13046
4e9e7a35
UD
13047 [BZ 13527]
13048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13049 ISO C11.
13050
380d7e87 13051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13052 code.
13053
03a71829
UD
13054 [BZ #13528]
13055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13056
839e283e
UD
13057 [BZ #13529]
13058 * assert/assert.h (static_assert): Define.
13059
ce5294e2 13060 * version.h: Update for 2.16 development version.
90fa7312 13061
8d44e150 13062 [BZ #13526]
d7809905
UD
13063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13064 _ISOC11_SOURCE.
13065
c0da14cd
UD
13066 * version.h (RELEASE): Bump for 2.15 release.
13067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13068
530a3249
MP
13069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13070 Patch by Marek Polacek <mpolacek@redhat.com>.
13071
67371b56
UD
13072 * bits/byteswap.h: Protect long long constants with __extension__.
13073 * sysdeps/i386/bits/byteswap.h: Likewise.
13074 * sysdeps/ia64/bits/byteswap.h: Likewise.
13075 * sysdeps/s390/bits/byteswap.h: Likewise.
13076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13077
15db4de1
LD
130782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13079
13080 [BZ #13540]
bbe315ea
LD
13081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13082 destination buffer.
15db4de1
LD
13083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13084
2b2596b1
MP
130852011-12-23 Marek Polacek <polacek@redhat.com>
13086
13087 * elf/dl-addr.c (determine_info): Add inline keyword.
13088 * elf/tst-auditmod4b.c (check_avx): Likewise.
13089 * elf/tst-auditmod6b.c (check_avx): Likewise.
13090 * elf/tst-auditmod6c.c (check_avx): Likewise.
13091 * elf/tst-auditmod7b.c (check_avx): Likewise.
13092
70c6c246
UD
130932011-12-23 Ulrich Drepper <drepper@gmail.com>
13094
13095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13096 !__SSE_MATH__.
13097
c044cf14
LD
130982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13099
15db4de1 13100 [BZ #13540]
c044cf14
LD
13101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13102 processing for last bytes.
13103
6b13d9d9
BH
131042011-08-06 Bruno Haible <bruno@clisp.org>
13105
d455f537
BH
13106 [BZ #13061]
13107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13108 U+0385, not to U+1FEE.
13109
6b13d9d9
BH
13110 [BZ #13062]
13111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13112 entry for U+00A5 U+0301.
13113
db910efd
UD
131142011-12-22 Ulrich Drepper <drepper@gmail.com>
13115
27deeafc
UD
13116 [BZ #13166]
13117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13118 buffer for the output is too small.
13119
aed9d171
UD
13120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13121 optimization.
13122
db910efd
UD
13123 [BZ #13185]
13124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13125 SSE flags if possible.
13126
2bd779ae
LD
131272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13128
e7f9dac3 13129 [BZ #13540]
2bd779ae
LD
13130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13131 processing for last bytes.
13132
154bfc16
JM
131332011-12-22 Joseph Myers <joseph@codesourcery.com>
13134
13135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13136 (syscall-list-default-options, syscall-list-default-condition)
13137 (syscall-list-includes): Define.
13138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13139 list of ABIs and options and #if conditions for each ABI. Do not
13140 handle common syscalls between ABIs specially.
13141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13142 Remove.
13143 (syscall-list-variants, syscall-list-32bit-options)
13144 (syscall-list-32bit-condition, syscall-list-64bit-options)
13145 (syscall-list-64bit-condition): Define.
13146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13147 (syscall-list-variants, syscall-list-32bit-options)
13148 (syscall-list-32bit-condition, syscall-list-64bit-options)
13149 (syscall-list-64bit-condition): Define.
13150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13151 Remove.
13152 (syscall-list-variants, syscall-list-32bit-options)
13153 (syscall-list-32bit-condition, syscall-list-64bit-options)
13154 (syscall-list-64bit-condition): Define.
13155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13156 Remove.
13157 (syscall-list-variants, syscall-list-32bit-options)
13158 (syscall-list-32bit-condition, syscall-list-64bit-options)
13159 (syscall-list-64bit-condition): Define.
13160
21eaf3a5
UD
131612011-12-22 Ulrich Drepper <drepper@gmail.com>
13162
16c6f992
UD
13163 * locale/iso-639.def: Add brx entry.
13164
41043168
UD
13165 [BZ #13328]
13166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13168
21eaf3a5
UD
13169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13170 __feraiseexcept_renamed.
13171
e3a851a2
UD
131722011-12-21 Ulrich Drepper <drepper@gmail.com>
13173
4920765e
UD
13174 [BZ #13538]
13175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13176 EPOLLET with unsigned values.
13177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13179
e3a851a2
UD
13180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13181 to large cancellation.
13182 * math/s_cacoshf.c: Likewise.
13183 * math/s_cacoshl.c: Likewise.
13184
b27e24b8
RK
131852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13186
13187 [BZ #13305]
aebefeee 13188 [BZ #12786]
b27e24b8
RK
13189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13190 * math/s_cacoshf.c: Likewise.
13191 * math/s_cacoshl.c: Likewise.
13192
ee190f67
UD
131932011-12-21 Ulrich Drepper <drepper@gmail.com>
13194
13195 [BZ #13439]
13196 * iconv/gconv.h: Define __GCONV_SWAP.
13197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13198 * iconvdata/utf-16.c: Likewise.
13199 * iconvdata/utf-32.c: Likewise.
13200
707f25df
AS
132012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13202
13203 [BZ #13524]
13204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13205 numerator after shifting it by one limb.
13206
d2daaa1e
RÁE
132072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13208
13209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13210 under [__USE_EXTERN_INLINES].
13211
a4647e72
UD
132122011-12-17 Ulrich Drepper <drepper@gmail.com>
13213
13214 [BZ #13446]
13215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13216
f0b264f1
AZ
132172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13218
13219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13221 optimized code.
13222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13226 for strncasecmp/strncasecmp_l compilation.
13227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13229
8ef4f244
MP
132302011-12-08 Marek Polacek <mpolacek@redhat.com>
13231
13232 [BZ #13484]
13233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13234 of __asm__.
13235
97ac2654
UD
132362011-12-17 Ulrich Drepper <drepper@gmail.com>
13237
13238 [BZ #13506]
13239 * time/tzfile.c (__tzfile_read): Check values from file header.
13240
91d2a845
WS
132412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13242
13243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13245 * powerpc/powerpc32/dl-start.S: Likewise.
13246 * powerpc/powerpc32/elf/start.S: Likewise.
13247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13260 * powerpc/powerpc32/memset.S: Likewise.
13261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13274
a1267ba1
AZ
132752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13276
13277 * math/libm-test.inc: Added more nearbyint tests.
13278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13282
ad8ac1bd
RL
132832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13284
13285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13286 FD_CLOEXEC.
13287
1d3e4b61
UD
132882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13289
13290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13291 Add wcscpy-ssse3 wcscpy-c.
13292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13295 * sysdeps/x86_64/wcschr.S: New file.
13296 * sysdeps/x86_64/wcsrchr.S: New file.
13297 * string/test-strcmp.c: Remove checking of wcscmp function for
13298 wrong alignments.
13299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13301 wcsrchr-sse2 wcsrchr-c.
13302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13311 * wcsmbc/wcschr.c (WCSCHR): New macro.
13312
5b330a2d
UD
133132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13314
13315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13316 * wcsmbs/test-wcsrchr.c: New file.
13317 * string/test-strrchr.c: Add wcsrchr support.
13318 (WIDE): New macro.
13319 * wcsmbs/test-wcscpy.c: New file.
13320 * string/test-strcpy.c: Add wcscpy support.
13321 (WIDE): New macro.
26428b7c 13322
f039c043
UD
133232011-12-10 Ulrich Drepper <drepper@gmail.com>
13324
13325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13326 the inner loop.
13327
850fb039
AS
133282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13329
13330 [BZ #13472]
13331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13332
4efbd5cb
UD
133332011-12-04 Ulrich Drepper <drepper@gmail.com>
13334
52ff5dd0 13335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13336 Minor optimizations.
52ff5dd0 13337
4efbd5cb
UD
13338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13341
8a426e12
UD
133422011-12-03 Ulrich Drepper <drepper@gmail.com>
13343
aff2453d
UD
13344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13347 for gcc to avoid warnings.
13348 * inet/Makefile (tests): Add tst-checks.
13349 * inet/tst-checks.c: New file.
13350
13351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13352 warning.
13353
13354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13355 __wmemcmp_sse2.
13356
13357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13359
8a426e12
UD
13360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13361
9bea3473
UD
133622011-12-02 Ulrich Drepper <drepper@gmail.com>
13363
3a965496
UD
13364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13365 problem.
13366
9bea3473
UD
13367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13368
f101631b
UD
133692011-11-29 Joseph Myers <joseph@codesourcery.com>
13370
13371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13372 conditional on GCC version.
13373 (__arch_compare_and_exchange_val_8_acq)
13374 (__arch_compare_and_exchange_val_16_acq)
13375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13378
a98275aa
UD
133792011-12-02 Joseph Myers <joseph@codesourcery.com>
13380
13381 * sysdeps/sh/backtrace.c: New file.
13382
d4cc29a2
AS
133832011-12-02 Andreas Schwab <schwab@redhat.com>
13384
13385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13386 parenthesis.
13387
6257af2d
AS
133882011-12-01 Andreas Schwab <schwab@redhat.com>
13389
13390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13391 falling back to utime.
13392
b5f44c1a
AS
133932011-11-30 Andreas Schwab <schwab@redhat.com>
13394
13395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13396 expectations for float.
13397
f3a6cc0a
AS
133982011-11-29 Andreas Schwab <schwab@redhat.com>
13399
13400 * locale/weight.h (findidx): Add parameter len.
13401 * locale/weightwc.h (findidx): Likewise.
13402 * posix/fnmatch_loop.c (FCT): Adjust caller.
13403 * posix/regcomp.c (build_equiv_class): Likewise.
13404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13405 * posix/regexec.c (check_node_accept_bytes): Likewise.
13406 * string/strcoll_l.c (STRCOLL): Likewise.
13407 * string/strxfrm_l.c (STRXFRM): Likewise.
13408
9d65ea3a
UD
134092011-11-17 Ulrich Drepper <drepper@gmail.com>
13410
13411 * Makefile.in: Remove CVSOPT handling.
13412 * configure.in: Remove use of AC_REVISION.
13413 * iconvdata/Makefile (distribute): No need to filter out CVS.
13414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13415 handling.
13416
5583a086
AS
134172011-11-16 Andreas Schwab <schwab@redhat.com>
13418
13419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13421 [USE_AS_STRNCASECMP_L]: Likewise.
13422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13423 NO_TLS_DIRECT_SEG_REFS.
13424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13425 Fix argument offsets for non-PIC.
13426 [USE_AS_STRNCASECMP_L]: Likewise.
13427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13428 NO_TLS_DIRECT_SEG_REFS.
13429
d62a8200
UD
134302011-11-15 Ulrich Drepper <drepper@gmail.com>
13431
9d65ea3a 13432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13433 O_CLOEXEC.
13434 * locale/loadlocale.c (_nl_load_locale): Likewise.
13435
09f93bd3
AS
134362011-11-15 Andreas Schwab <schwab@redhat.com>
13437
446514f9
AS
13438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13441 (SYSCALL_GETTIME): Set errno on error.
13442
09f93bd3
AS
13443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13444 count references to noai6ai_cached.
13445
312be3f9
UD
134462011-11-15 Ulrich Drepper <drepper@gmail.com>
13447
13448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13449
13450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13451 FD_CLOEXEC for /proc/self/maps.
13452
13453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13454 FD_CLOEXEC for /proc/meminfo.
13455
13456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13457 gai.conf.
13458
13459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13460 FD_CLOEXEC for given file.
13461
13462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13463
13464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13465 FD_CLOEXEC for /etc/hosts.
13466 (_gethtent): Likewise.
13467
13468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13469
13470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13471 cancellation and set FD_CLOEXEC for /etc/netgroup.
13472
13473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13474 reading /etc/publickey.
13475
13476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13477 allow cancellation when reading /etc/group.
13478
13479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13480 cancellation.
13481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13482
13483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13484 when using data file.
13485
13486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13487
13488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13489 (write_nis_obj): Use "c" and "e" in fopen.
13490
13491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13492
13493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13494
13495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13496
13497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13498
13499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13500 locale.alias.
13501
13502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13503
13504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13505
13506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13507
13508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13509 file parsing and set FD_CLOEXEC.
13510
82af0fa8
UD
135112011-11-14 Ulrich Drepper <drepper@gmail.com>
13512
13513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13514
a5fb313c
AS
135152011-11-14 Andreas Schwab <schwab@redhat.com>
13516
13517 * malloc/arena.c (arena_get2): Don't call reused_arena when
13518 _int_new_arena failed.
13519
6abf3465
UD
135202011-11-14 Ulrich Drepper <drepper@gmail.com>
13521
13522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13528 to compile strcasecmp and strncasecmp.
13529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13531
13532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13533
76e3966e
UD
135342011-11-13 Ulrich Drepper <drepper@gmail.com>
13535
13536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13537 locale-defines.sym to gen-as-const-headers.
13538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13541 to compile strcasecmp and strncasecmp.
13542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13543 strcasecmp_l and strncasecmp_l.
13544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13555
ab26144e
UD
135562011-11-12 Ulrich Drepper <drepper@gmail.com>
13557
7edb22ef
UD
13558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13559 result of SYSDEP_GETTIME_CPU to retval.
13560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13561 parameter list to macro. Remove trailing semicolon. Adjust users.
13562
9694fc44
UD
13563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13564 variable.
13565
8ad89ef8
UD
13566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13567 mantissa words.
13568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13569
0c822ef9
UD
13570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13571 from unused variable.
13572
874e0564
UD
13573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13574 DWARF definitions.
13575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13576 for assembling.
13577
3a2edc79
UD
13578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13579 over namespaces.
13580
f3c2577f
UD
13581 * sunrpc/rpc_prot.c (rejected): Fix case value.
13582
294ce126
UD
13583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13584 unsigned long long int to avoid warnings in shift.
13585
5e2b63c6
UD
13586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13587 of use of trans.
13588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13589 variable tmp.
13590
e7f4b08e
UD
13591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13594
ab26144e
UD
13595 * nis/nis_table.c (nis_list): Use variable of correct type for
13596 result of __follow_path call.
13597
8a6d5255
AZ
135982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13599
13600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13601 of math functions ceil, trunc, floor, round, and sqrt, when
13602 avaliable on the platform.
13603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13604 name clash.
13605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13608
aaddc98c
MP
136092011-10-30 Marek Polacek <mpolacek@redhat.com>
13610
13611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13613
95b7042b
RM
136142011-11-11 Roland McGrath <roland@hack.frob.com>
13615
13616 * include/unistd.h: Fix __readlink return type.
13617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13618
57769839
UD
136192011-11-11 Ulrich Drepper <drepper@gmail.com>
13620
13621 * stdlib/ucontext.h: Undo last change for makecontext.
13622
edc5984d
AS
136232011-11-11 Andreas Schwab <schwab@redhat.com>
13624
98591e58
AS
13625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13626
edc5984d
AS
13627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13628 * setjmp/setjmp.h: Mark functions as non-leaf.
13629 * setjmp/bits/setjmp2.h: Likewise.
13630 * stdlib/ucontext.h: Likewise.
13631
77cdc054
AS
136322011-11-10 Andreas Schwab <schwab@redhat.com>
13633
13634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13635 (reused_arena): Don't check arena limit.
13636 (arena_get2): Atomically check arena limit.
13637
fe72eebd
UD
136382011-11-08 Ulrich Drepper <drepper@gmail.com>
13639
5f078c32
UD
13640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13642
fe72eebd
UD
13643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13644 instructions.
13645
ae1bc2fa
AS
136462011-11-07 Andreas Schwab <schwab@redhat.com>
13647
7583a88d
AS
13648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13649 handler when locking.
13650
ae1bc2fa
AS
13651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13652 Fix size of allocated buffer.
13653
10fb0bfa
AS
136542011-11-04 Andreas Schwab <schwab@redhat.com>
13655
998832a4
AS
13656 [BZ #10103]
13657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13658 declarations for long double functions.
13659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13660
10fb0bfa
AS
13661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13662
3d7ba52b
AS
136632011-11-03 Andreas Schwab <schwab@redhat.com>
13664
a9ae54a1
AS
13665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13666 installed.
13667
3d7ba52b
AS
13668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13669 is disabled.
13670
bc8db248
ST
136712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13672
13673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13674
45b96dd6
AS
136752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13676
647776f6
AS
13677 * include/alloca.h (stackinfo_alloca_round): Define.
13678 (extend_alloca): Use it.
13679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13681 here.
13682
d91a8b93
AS
13683 * scripts/check-local-headers.sh: Ignore libaudit.h.
13684
45b96dd6
AS
13685 * nscd/Makefile (extra-objs): Make recursively expanded.
13686
432d41ce
UD
136872011-11-01 Ulrich Drepper <drepper@gmail.com>
13688
34372fc6
UD
13689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13691
fadb59f8
UD
13692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13693 * posix/tst-rfc3484-2.c: Likewise.
13694 * posix/tst-rfc3484-3.c: Likewise.
13695
78239589
UD
13696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13697 process_vm_writev.
13698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13699 process_vm_writev.
13700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13701 process_vm_writev from libc using GLIBC_2.15 version.
13702
432d41ce
UD
13703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13704
02f9c6cf
PP
137052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13706
13707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13708 stack usage.
13709
3a2c0242
UD
137102011-10-31 Ulrich Drepper <drepper@gmail.com>
13711
f4ec4833
UD
13712 [BZ #13367]
13713 * nss/getent.c (initgroups_keys): Show error message in case no group
13714 names are given.
13715
3a2c0242
UD
13716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13718 __bump_nl_timestamp.
13719 * nscd/connections (nscd_init): When host database is served open
13720 netlink socket and request notification about configuration changes.
13721 (main_loop_poll): Track netlink file descriptor and bump timestamp
13722 in case data becomes available.
13723 (main_loop_epoll): Likewise.
13724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13725 (database_pers_head): Add extra_data fileds.
13726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13729 Adjust caller.
13730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13731 in6ai data, call __free_in6ai.
13732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13733 Add -DHAVE_NETLINK.
13734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13735 interface information. Reuse previous data if netlink timestamp
13736 is not changed.
13737 (__bump_nl_timestamp): New function.
13738 (__free_in6ai): New function.
13739
636064eb
UD
137402011-10-30 Ulrich Drepper <drepper@gmail.com>
13741
13742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13743 close_not_cancel_no_status here.
13744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13745
9beb2334
UD
137462011-10-29 Ulrich Drepper <drepper@gmail.com>
13747
6ef76f3b
UD
13748 [BZ #13276]
13749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13750 return value.
13751
0ffc4f3e 13752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13755
cb95113e
UD
137562011-07-03 Andreas Jaeger <aj@suse.de>
13757
13758 [BZ #10709]
13759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13761 * math/libm-test.inc (sin_test): Add test case.
13762
a1b560ff
UD
137632011-10-29 Ulrich Drepper <drepper@gmail.com>
13764
c9aaface
UD
13765 [BZ #13337]
13766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13768
d272e7f1
UD
13769 * elf/chroot_canon.c (chroot_canon): Cleanups.
13770
1bc33071
UD
13771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13772
1760874d
TJ
13773 [BZ #13335]
13774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13776
51d91b18
UD
13777 * string/test-strchr.c: Make usable for strchrnul testing.
13778 * string/test-strchrnul.c: New file.
13779 * string/Makefile (strop-tests): Add strchrnul.
13780
a1b560ff 13781 * po/it.po: Update from translation team.
b611fb81 13782 * po/es.po: Likewise.
a1b560ff 13783
a5b81e1f
UD
137842011-10-28 Ulrich Drepper <drepper@gmail.com>
13785
fd52bc6d
UD
13786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13787 the three constants needed as parameters. Drop the others.
13788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13789 __m128i_strloadu_tolower.
52e4b9eb
UD
13790 Create and initialize variable zero and use it in all the places
13791 where _mm_setzero_si128 was used.
fd52bc6d 13792
a5b81e1f
UD
13793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13797 anymore.
13798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13803 __mpranred, __mptan.
13804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13813
b4343346
AS
138142011-10-28 Andreas Schwab <schwab@redhat.com>
13815
0c92d8a8
AS
13816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13817 redefine if SHARED.
13818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13819
b4343346
AS
13820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13821 wide char related routines to wcsmbs subdir.
13822
3871f58f
AS
138232011-10-27 Andreas Schwab <schwab@redhat.com>
13824
13825 [BZ #13344]
13826 * misc/sys/cdefs.h (__THROWNL): Define.
13827 * posix/unistd.h: Use __THREADNL instead of __THREAD
13828 for memory synchronization functions.
13829
94d44d9f
RM
138302011-10-26 Roland McGrath <roland@hack.frob.com>
13831
21b64b15 13832 [BZ #13349]
94d44d9f
RM
13833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13834 doesn't exist.
13835 * manual/stdio.texi (Obstack Streams): Node removed.
13836
f6ce9294
AS
138372011-10-26 Andreas Schwab <schwab@redhat.com>
13838
80479147
AS
13839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13842
f6ce9294
AS
13843 * math/math_private.h (math_force_eval): Allow non-addressable
13844 arguments.
13845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13846
618280a1
UD
138472011-10-25 Ulrich Drepper <drepper@gmail.com>
13848
e0016b11
UD
13849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13850 file is not needed.
13851
13852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13860 Add AVX variants.
13861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13880
13881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13883
618280a1
UD
13884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13885 place. Use VEX encoding when compiling for AVX.
13886
37822576
AS
138872011-10-25 Andreas Schwab <schwab@redhat.com>
13888
1f1e1947
AS
13889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13891
37822576
AS
13892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13893
31ea014d
UD
138942011-10-25 Ulrich Drepper <drepper@gmail.com>
13895
d7826aa1 13896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13897 useless if() expression.
d7826aa1
UD
13898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13917
31ea014d
UD
13918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13919
16437fec
AS
139202011-10-25 Andreas Schwab <schwab@redhat.com>
13921
13922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13923 condition.
13924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13925
31d3cc00
UD
139262011-10-25 Ulrich Drepper <drepper@gmail.com>
13927
13928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13929 .text section. Avoid duplicate constants.
13930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13975
58985aa9
UD
139762011-10-24 Ulrich Drepper <drepper@gmail.com>
13977
202c9deb
UD
13978 * sysdeps/x86_64/dla.h: Move to ...
13979 * sysdeps/x86_64/fpu/dla.h: ...here.
13980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13981 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13982
af968f62
UD
13983 * config.make.in: Add have-mfma4 entry.
13984 * configure.in: Substitute libc_cv_cc_fma4.
13985 * math/Makefile (dbl-only-routines): Add sincostab.
13986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13987 Use __sincostab not sincos.
13988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13989 name is a macro.
13990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13994 using __copysign.
13995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13999 and __inv.
14000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14002 __copysign.
14003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14004 define aliases when function name is a macro.
14005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14006 sysdeps/ieee754/dbl-64/sincos.tbl.
14007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14008 fma4-enabled routines.
14009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14039
58985aa9
UD
14040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14041 rename.
14042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14050
a201fbcf
AS
140512011-10-24 Andreas Schwab <schwab@redhat.com>
14052
14053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14054
fc2ee42a
LD
140552011-10-23 Ulrich Drepper <drepper@gmail.com>
14056
bb3129bd
UD
14057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14058
0275fff8
UD
14059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14060 prediction.
14061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14062
2fa2ae85
UD
14063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14064 Remove unused variable magic_bits.
14065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14066
fc2ee42a
LD
14067 * string/strnlen.c: Define and use STRNLEN macro.
14068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14071 * wcsmbs/wcslen.c: Define and use WCSLEN.
14072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14079
ce7dd29f
LD
140802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14081
14082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14083 strnlen-sse2-no-bsf.
14084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14087 Add strnlen support.
14088 (USE_AS_STRNLEN): New macro.
14089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14092 * sysdeps/x86_64/wcslen.S: New file.
14093
979c70a3
MZ
140942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14095
14096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14097 XMM-moves are used for copying on small sizes.
14098
2d09f82f
LD
140992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14100
14101 * wcsmbs/Makefile (strop-tests): Add wcschr.
14102 * wcsmbs/test-wcschr.c: New file.
14103 * string/test-strchr.c: Update.
14104 Add wcschr support.
14105 (WIDE): New macro.
14106
619fccca
LD
141072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14108
2d09f82f 14109 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14110 * wcsmbs/test-wcslen.c: New file.
14111 * string/test-strlen.c: Update.
14112 Add wcslen support.
14113 (WIDE): New macro.
14114
09f699ea
UD
141152011-10-23 Ulrich Drepper <drepper@gmail.com>
14116
14117 * po/it.po: Update from translation team.
14118
95584d3b
LD
141192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14120
14121 * sysdeps/x86_64/wcscmp.S: Update.
14122 Fix wrong comparison semantics.
14123 wcscmp shall use signed comparison not unsigned.
14124 Don't use substraction to avoid overflow bug.
14125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14126 * wcsmbc/wcscmp.c: Likewise.
14127 * string/test-strcmp.c: Likewise.
14128 Add new tests to check cases with negative values.
14129
c8b3296b
UD
141302011-10-23 Ulrich Drepper <drepper@gmail.com>
14131
14132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14133 * sysdeps/x86_64/dla.h: ...here. New file.
14134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14143
246ad57a
AS
141442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14145
14146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14147 __ynl_finite aliases.
14148
a1a87169
UD
141492011-10-22 Ulrich Drepper <drepper@gmail.com>
14150
0d355eb7
UD
14151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14152
a1a87169
UD
14153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14154 define DLA_FMA.
14155 [DLA_FMA] (EMULV): Use DLA_FMA.
14156 [DLA_FMA] (MUL12): Use EMULV.
14157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14158 that are not needed.
14159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14166
ee2aafe0
AS
141672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14168
14169 * math/s_nan.c: Undef __nan.
14170 * math/s_nanf.c: Undef __nanf.
14171 * math/s_nanl.c: Undef __nanl.
14172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14173 "math_private.h".
14174
bc62c2fb
UD
141752011-10-22 Ulrich Drepper <drepper@gmail.com>
14176
77425c63
UD
14177 * math/s_catan.c: Add branch predictions.
14178 * math/s_catanf.c: Likewise.
14179 * math/s_catanh.c: Likewise.
14180 * math/s_catanhf.c: Likewise.
14181 * math/s_catanhl.c: Likewise.
14182 * math/s_catanl.c: Likewise.
14183 * math/s_cexp.c: Likewise.
14184 * math/s_cexpf.c: Likewise.
14185 * math/s_cexpl.c: Likewise.
14186 * math/s_clog.c: Likewise.
14187 * math/s_clog10.c: Likewise.
14188 * math/s_clog10f.c: Likewise.
14189 * math/s_clog10l.c: Likewise.
14190 * math/s_clogf.c: Likewise.
14191 * math/s_clogl.c: Likewise.
14192 * math/s_csqrt.c: Likewise.
14193 * math/s_csqrtf.c: Likewise.
14194 * math/s_csqrtl.c: Likewise.
14195 * math/s_ctanf.c: Likewise.
14196 * math/s_ctanh.c: Likewise.
14197 * math/s_ctanhf.c: Likewise.
14198 * math/s_ctanhl.c: Likewise.
14199 * math/s_ctanl.c: Likewise.
14200
bc62c2fb
UD
14201 * math/math_private.h: Define __nan, __nanf, __nanl.
14202 * math/s_cacosh.c: Include <math_private.h>.
14203 * math/s_cacoshl.c: Likewise.
14204 * math/s_casinh.c: Likewise.
14205 * math/s_casinhf.c: Likewise.
14206 * math/s_casinhl.c: Likewise.
14207 * math/s_ccos.c: Rely entire on ccosh.
14208 * math/s_ccosf.c: Rely entire on ccoshf.
14209 * math/s_ccosl.c: Rely entirely on ccoshl.
14210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14211 Remove tests for FE_INVALID.
14212 * math/s_ccoshf.c: Likewise.
14213 * math/s_ccoshl.c: Likewise.
14214 * math/s_csin.c: Likewise.
14215 * math/s_csinf.c: Likewise.
14216 * math/s_csinh.c Likewise.
14217 * math/s_csinhf.c: Likewise.
14218 * math/s_csinhl.c: Likewise.
14219 * math/s_csinl.c: Likewise.
14220 * math/s_ctan.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14224
8ec250a4
UD
142252011-10-21 Ulrich Drepper <drepper@gmail.com>
14226
c196fed8
UD
14227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14228 compilation problems.
14229
8ec250a4
UD
14230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14231 __builtin_expect.
14232
8d4f46c6
UD
142332011-10-20 Ulrich Drepper <drepper@gmail.com>
14234
ed72b654
UD
14235 * sysdeps/i386/configure.in: Test for -mfma4 option.
14236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14238 COMMON_CPUID_INDEX_80000001.
14239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14241 use it if FMA3 is not supported.
14242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14243
8d4f46c6
UD
14244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14246
d45c60c2
AS
142472011-10-20 Andreas Schwab <schwab@redhat.com>
14248
14249 [BZ #12892]
14250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14251 it would create a cycle with a link time dependency.
14252
d9a4d2ab
UD
142532011-10-19 Ulrich Drepper <drepper@gmail.com>
14254
855d1560
UD
14255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14256 instruction.
14257 * string/Makefile (strop-tests): Add rawmemchr.
14258 * string/test-rawmemchr.c: New file.
14259
d9a4d2ab
UD
14260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14263 when compiling str{,n}casecmp and when AVX is available. Hook up
14264 new optimized code in initializers.
14265
8f3b1ffe
AS
142662011-10-19 Andreas Schwab <schwab@redhat.com>
14267
14268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14269 __feraiseexcept instead of feraiseexcept.
14270
d38f1dba
UD
142712011-10-18 Ulrich Drepper <drepper@gmail.com>
14272
d9a8d0ab
UD
14273 * math/math_private.h: Define defaults for libc_fetestexcept and
14274 libc_feupdateenv.
14275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14281 libc_fetestexcept and libc_feupdateenv.
14282
4855e3dd
UD
14283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14287 libc_feholdexcept_setround.
14288
581d30e3
UD
14289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14290 Add s_nearbyint-c and s_nearbyintf-c.
14291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14292 nearbyintf inlines.
14293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14297
d38f1dba
UD
14298 * math/math_private.h: Define defaults for libc_fegetround,
14299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14304 standard functions.
14305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14306 Remove comments and hacks for old compiler versions.
14307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14309 libc_feholdexceptl.
14310
caa6c9d8
AS
143112011-10-18 Andreas Schwab <schwab@redhat.com>
14312
14313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14314 (__feraiseexcept_renamed): Add __NTH.
14315 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14316 namespace violations.
14317
97c066e6
UD
143182011-10-17 Ulrich Drepper <drepper@gmail.com>
14319
99ce7b04
UD
14320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14321
1004d182
UD
14322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14323
228a984d
UD
14324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14325 recently added interfaces.
14326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14327
c8553a6a
UD
14328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14329 about macro parameter expansion.
14330
ed22dcf6
UD
14331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14332 __NO_MATH_INLINES is defined. Cleanups.
14333
14334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14335 and __floorf is target has SSE4.1.
14336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14340
b171c137
UD
14341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14342 name.
14343 (floorf): Likewise.
14344
97c066e6
UD
14345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14346
629f62ef
AS
143472011-10-17 Andreas Schwab <schwab@redhat.com>
14348
49a43d80
AS
14349 * misc/sys/cdefs.h: Fix last change.
14350
629f62ef
AS
14351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14352 database lookup.
14353
e453f6cd
UD
143542011-10-16 Ulrich Drepper <drepper@gmail.com>
14355
aa78043a
UD
14356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14357
ad0f5cad
UD
14358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14380
14381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14382 ceil, ceilf, floor, floorf.
14383
14384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14385 Perform IRELATIVE relocations last.
14386
e453f6cd
UD
14387 * elf/do-rel.h: Add another parameter nrelative, replacing the
14388 local variable with the same name. Change name of the function
14389 to end in Rel or Rela (uppercase).
14390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14392 elf_dynamic_do_##reloc function.
14393
fd5bdc09
UD
143942011-10-15 Ulrich Drepper <drepper@gmail.com>
14395
79b195b5
UD
14396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14397 is sufficient, at least on modern CPUs.
14398
d4a28569
UD
14399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14400
b61099b5
UD
14401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14403
bcf01e6d
UD
14404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14405 __expl_finite.
14406 * math/bits/math-finite.h: Add entries for exp.
14407 * math/e_expl.c: Add __*_finite alias.
14408 * sysdeps/i386/fpu/e_exp.S: Likewise.
14409 * sysdeps/i386/fpu/e_expf.S: Likewise.
14410 * sysdeps/i386/fpu/e_expl.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14418
ba1a0d59
UD
14419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14420 is sufficient, at least on modern CPUs.
14421
fd5bdc09
UD
14422 * ctype/ctype-info.c (__ctype_init): Define.
14423 * include/ctype.h (__ctype_init): Declare.
14424 (__ctype_b_loc): The variable is always initialized.
14425 (__ctype_toupper_loc): Likewise.
14426 (__ctype_tolower_loc): Likewise.
14427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14429
7872cfb0
AS
144302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14431
b468825a
AS
14432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14433
7872cfb0
AS
14434 * configure.in: Also look in $cxxmachine/include for C++ system
14435 headers.
14436
be13f7bf
LD
144372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14438
14439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14444 (USE_AS_WMEMCMP): New macro.
14445 Fixing indents.
14446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14457 (USE_AS_WMEMCMP): New macro.
14458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14459 * sysdeps/string/test-memcmp.c: Update.
14460 Fix simple_wmemcmp.
14461 Add new tests.
14462 * wcsmbs/wmemcmp.c: Update.
14463 (WMEMCMP): New macro.
14464 Fix overflow bug.
14465
556a2007
AJ
144662011-10-12 Andreas Jaeger <aj@suse.de>
14467
14468 [BZ #13268]
14469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14470
538faaa7
UD
144712011-10-15 Ulrich Drepper <drepper@gmail.com>
14472
ab6737ff
UD
14473 * libio/iofwide.c (do_length): Avoid warning.
14474
538faaa7
UD
14475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14476
396a21b1
UD
144772011-10-14 Ulrich Drepper <drepper@gmail.com>
14478
cdf2901f
UD
14479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14480
38ad40ce
UD
14481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14484 * sysdeps/i386/i686/fpu/e_log.S: New file.
14485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14487
396a21b1
UD
14488 * ctype/ctype.h: Add support for inlined isXXX functions when
14489 compiling C++ code.
14490
6b1f68c9
AS
144912011-10-14 Andreas Schwab <schwab@redhat.com>
14492
349290c0
AS
14493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14494
6b1f68c9
AS
14495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14496
f2282d42
RM
144972011-10-13 Roland McGrath <roland@hack.frob.com>
14498
14499 [BZ #13291]
14500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14501
5298ffa8
AS
145022011-10-13 Andreas Schwab <schwab@redhat.com>
14503
714fad23
AS
14504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14506 feraiseexcept.
14507
81dcc7fb
AS
14508 * sysdeps/x86_64/memrchr.S: Check for zero size.
14509
5298ffa8
AS
14510 * string/stratcliff.c: Add memrchr tests.
14511
951fbcec
LD
145122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14513
14514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14516 rawmemchr-sse2 rawmemchr-sse2-bsf.
14517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14527 * string/memrchr.c (MEMRCHR): New macro.
14528
0ac5ae23
UD
145292011-10-12 Ulrich Drepper <drepper@gmail.com>
14530
14531 Add integration with gcc's -ffinite-math-only and optimize wrapper
14532 functions in libm.
14533 * Versions.def: Define GLIBC_2.15 version for libm.
14534 * math/Makefile (headers): Add bits/math-finite.h.
14535 * math/bits/math-finite.h: New file.
14536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14538 * math/e_acoshl.c: Add __*_finite alias.
14539 * math/e_acosl.c: Likewise.
14540 * math/e_asinl.c: Likewise.
14541 * math/e_atan2l.c: Likewise.
14542 * math/e_atanhl.c: Likewise.
14543 * math/e_coshl.c: Likewise.
14544 * math/e_exp10.c: Likewise.
14545 * math/e_exp10f.c: Likewise.
14546 * math/e_exp10l.c: Likewise.
14547 * math/e_exp2l.c: Likewise.
14548 * math/e_fmodl.c: Likewise.
14549 * math/e_gammal_r.c: Likewise.
14550 * math/e_hypotl.c: Likewise.
14551 * math/e_j0l.c: Likewise.
14552 * math/e_j1l.c: Likewise.
14553 * math/e_jnl.c: Likewise.
14554 * math/e_lgammal_r.c: Likewise.
14555 * math/e_log10l.c: Likewise.
14556 * math/e_log2l.c: Likewise.
14557 * math/e_logl.c: Likewise.
14558 * math/e_powl.c: Likewise.
14559 * math/e_sinhl.c: Likewise.
14560 * math/e_sqrtl.c: Likewise.
14561 * math/e_scalb.c: Completely rewritten and optimized.
14562 * math/e_scalbf.c: Likewise.
14563 * math/e_scalbl.c: Likewise.
14564 * math/w_acos.c: Likewise.
14565 * math/w_acosf.c: Likewise.
14566 * math/w_acosl.c: Likewise.
14567 * math/w_acosh.c: Likewise.
14568 * math/w_acoshf.c: Likewise.
14569 * math/w_acoshl.c: Likewise.
14570 * math/w_asin.c: Likewise.
14571 * math/w_asinf.c: Likewise.
14572 * math/w_asinl.c: Likewise.
14573 * math/w_atan2.c: Likewise.
14574 * math/w_atan2f.c: Likewise.
14575 * math/w_atan2l.c: Likewise.
14576 * math/w_atanh.c: Likewise.
14577 * math/w_atanhf.c: Likewise.
14578 * math/w_atanhl.c: Likewise.
14579 * math/w_exp10.c: Likewise.
14580 * math/w_exp10f.c: Likewise.
14581 * math/w_exp10l.c: Likewise.
14582 * math/w_fmod.c: Likewise.
14583 * math/w_fmodf.c: Likewise.
14584 * math/w_fmodl.c: Likewise.
14585 * math/w_j0.c: Likewise.
14586 * math/w_j0f.c: Likewise.
14587 * math/w_j0l.c: Likewise.
14588 * math/w_j1.c: Likewise.
14589 * math/w_j1f.c: Likewise.
14590 * math/w_j1l.c: Likewise.
14591 * math/w_jn.c: Likewise.
14592 * math/w_jnf.c: Likewise.
14593 * math/w_log.c: Likewise.
14594 * math/w_logf.c: Likewise.
14595 * math/w_logl.c: Likewise.
14596 * math/w_log10.c: Likewise.
14597 * math/w_log10f.c: Likewise.
14598 * math/w_log10l.c: Likewise.
14599 * math/w_log2.c: Likewise.
14600 * math/w_log2f.c: Likewise.
14601 * math/w_log2l.c: Likewise.
14602 * math/w_pow.c: Likewise.
14603 * math/w_powf.c: Likewise.
14604 * math/w_powl.c: Likewise.
14605 * math/w_remainder.c: Likewise.
14606 * math/w_remainderf.c: Likewise.
14607 * math/w_remainderl.c: Likewise.
14608 * math/w_scalb.c: Likewise.
14609 * math/w_scalbf.c: Likewise.
14610 * math/w_scalbl.c: Likewise.
14611 * math/w_sqrt.c: Likewise.
14612 * math/w_sqrtf.c: Likewise.
14613 * math/w_sqrtl.c: Likewise.
14614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14616 used.
14617 * math/math_private.h: Declare __kernel_standard_f.
14618 * math/w_cosh.c: Remove cruft and optimize a bit.
14619 * math/w_coshf.c: Likewise.
14620 * math/w_coshl.c: Likewise.
14621 * math/w_exp2.c: Likewise.
14622 * math/w_exp2f.c: Likewise.
14623 * math/w_exp2l.c: Likewise.
14624 * math/w_hypot.c: Likewise.
14625 * math/w_hypotf.c: Likewise.
14626 * math/w_hypotl.c: Likewise.
14627 * math/w_lgamma.c: Likewise.
14628 * math/w_lgamma_r.c: Likewise.
14629 * math/w_lgammaf.c: Likewise.
14630 * math/w_lgammaf_r.c: Likewise.
14631 * math/w_lgammal.c: Likewise.
14632 * math/w_lgammal_r.c: Likewise.
14633 * math/w_sinh.c: Likewise.
14634 * math/w_sinhf.c: Likewise.
14635 * math/w_sinhl.c: Likewise.
14636 * math/w_tgamma.c: Likewise.
14637 * math/w_tgammaf.c: Likewise.
14638 * math/w_tgammal.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14642 Minor optimizations. Pretty printing. Remove cruft.
14643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14648 * sysdeps/i386/fpu/e_asin.S: Likewise.
14649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14667 * sysdeps/i386/fpu/e_log.S: Likewise.
14668 * sysdeps/i386/fpu/e_log10.S: Likewise.
14669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14671 * sysdeps/i386/fpu/e_log2.S: Likewise.
14672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14674 * sysdeps/i386/fpu/e_logf.S: Likewise.
14675 * sysdeps/i386/fpu/e_logl.S: Likewise.
14676 * sysdeps/i386/fpu/e_pow.S: Likewise.
14677 * sysdeps/i386/fpu/e_powf.S: Likewise.
14678 * sysdeps/i386/fpu/e_powl.S: Likewise.
14679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14801 (__isnanf): Likewise.
14802 (__isinf_ns): Likewise.
14803 (__isinf_nsf): Likewise.
14804 (__finite): Likewise.
14805 (__finitef): Likewise.
14806 (__ieee754_sqrt): Define as macro.
14807 (__ieee754_sqrtf): Define as macro.
14808 (__ieee754_sqrtl): Define as macro.
14809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14810 inlined copy.
14811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14812 __FINITE_MATH_ONLY__ consistent.
14813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14814
12cc2fcd
AS
148152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14816
a843a204
AS
14817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14818 of rawmemchr.
14819
12cc2fcd
AS
14820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14821
c853acd5
UD
148222011-10-09 Ulrich Drepper <drepper@gmail.com>
14823
14824 * po/ja.po: Update from translation team.
14825
c658d255
RM
148262011-10-08 Roland McGrath <roland@hack.frob.com>
14827
110946e4
RM
14828 * locale/programs/locarchive.c (prepare_address_space): New function.
14829 (create_archive, enlarge_archive, open_archive): Use it.
14830
50604220
RM
14831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14832 inside [SHARED], where it is used.
14833
c658d255
RM
14834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14835
14836 * nss/getent.c (netgroup_keys): Remove unused variable.
14837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14838
6a621eb7
UD
148392011-10-08 Ulrich Drepper <drepper@gmail.com>
14840
7edb55ce
UD
14841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14847 * math/Makefile (libm-calls): Add s_isinf_ns.
14848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14849 * math/multc3.c: Likewise.
14850 * math/s_casin.c: Likewise.
14851 * math/s_casinf.c: Likewise.
14852 * math/s_casinl.c: Likewise.
14853 * math/s_ccos.c: Likewise.
14854 * math/s_ccosf.c: Likewise.
14855 * math/s_ccosl.c: Likewise.
14856 * math/s_ctan.c: Likewise.
14857 * math/s_ctanf.c: Likewise.
14858 * math/s_ctanh.c: Likewise.
14859 * math/s_ctanhf.c: Likewise.
14860 * math/s_ctanhl.c: Likewise.
14861 * math/s_ctanl.c: Likewise.
14862 * math/w_fmod.c: Likewise.
14863 * math/w_fmodf.c: Likewise.
14864 * math/w_fmodl.c: Likewise.
14865 * math/w_remainder.c: Likewise.
14866 * math/w_remainderf.c: Likewise.
14867 * math/w_remainderl.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14876
187da0ae
UD
14877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14878 of the number.
14879 * stdio-common/printf_fphex.c: Likewise.
14880 * stdio-common/printf_size.c: Likewise.
14881
9277c064
UD
14882 * math/e_exp10.c: Include math_private.h using <...> not "...".
14883 * math/e_exp10f.c: Likewise.
14884 * math/e_exp10l.c: Likewise.
14885 * math/e_exp2l.c: Likewise.
14886 * math/e_j0l.c: Likewise.
14887 * math/e_j1l.c: Likewise.
14888 * math/e_jnl.c: Likewise.
14889 * math/e_lgammal_r.c: Likewise.
14890 * math/e_rem_pio2l.c: Likewise.
14891 * math/e_scalb.c: Likewise.
14892 * math/e_scalbf.c: Likewise.
14893 * math/e_scalbl.c: Likewise.
14894 * math/k_cosl.c: Likewise.
14895 * math/k_sinl.c: Likewise.
14896 * math/k_tanl.c: Likewise.
14897 * math/s_cacoshf.c: Likewise.
14898 * math/s_catan.c: Likewise.
14899 * math/s_catanf.c: Likewise.
14900 * math/s_catanh.c: Likewise.
14901 * math/s_catanhf.c: Likewise.
14902 * math/s_catanhl.c: Likewise.
14903 * math/s_catanl.c: Likewise.
14904 * math/s_ccosh.c: Likewise.
14905 * math/s_ccoshf.c: Likewise.
14906 * math/s_ccoshl.c: Likewise.
14907 * math/s_cexp.c: Likewise.
14908 * math/s_cexpf.c: Likewise.
14909 * math/s_cexpl.c: Likewise.
14910 * math/s_clog.c: Likewise.
14911 * math/s_clog10.c: Likewise.
14912 * math/s_clog10f.c: Likewise.
14913 * math/s_clog10l.c: Likewise.
14914 * math/s_clogf.c: Likewise.
14915 * math/s_clogl.c: Likewise.
14916 * math/s_csin.c: Likewise.
14917 * math/s_csinf.c: Likewise.
14918 * math/s_csinh.c: Likewise.
14919 * math/s_csinhf.c: Likewise.
14920 * math/s_csinhl.c: Likewise.
14921 * math/s_csinl.c: Likewise.
14922 * math/s_csqrt.c: Likewise.
14923 * math/s_csqrtf.c: Likewise.
14924 * math/s_csqrtl.c: Likewise.
14925 * math/s_ctan.c: Likewise.
14926 * math/s_ctanf.c: Likewise.
14927 * math/s_ctanh.c: Likewise.
14928 * math/s_ctanhf.c: Likewise.
14929 * math/s_ctanhl.c: Likewise.
14930 * math/s_ctanl.c: Likewise.
14931 * math/s_ldexp.c: Likewise.
14932 * math/s_ldexpf.c: Likewise.
14933 * math/s_ldexpl.c: Likewise.
14934 * math/s_significand.c: Likewise.
14935 * math/s_significandf.c: Likewise.
14936 * math/s_significandl.c: Likewise.
14937 * math/w_acos.c: Likewise.
14938 * math/w_acosf.c: Likewise.
14939 * math/w_acosh.c: Likewise.
14940 * math/w_acoshf.c: Likewise.
14941 * math/w_acoshl.c: Likewise.
14942 * math/w_acosl.c: Likewise.
14943 * math/w_asin.c: Likewise.
14944 * math/w_asinf.c: Likewise.
14945 * math/w_asinl.c: Likewise.
14946 * math/w_atan2.c: Likewise.
14947 * math/w_atan2f.c: Likewise.
14948 * math/w_atan2l.c: Likewise.
14949 * math/w_atanh.c: Likewise.
14950 * math/w_atanhf.c: Likewise.
14951 * math/w_atanhl.c: Likewise.
14952 * math/w_cosh.c: Likewise.
14953 * math/w_coshf.c: Likewise.
14954 * math/w_coshl.c: Likewise.
14955 * math/w_dremf.c: Likewise.
14956 * math/w_exp10.c: Likewise.
14957 * math/w_exp10f.c: Likewise.
14958 * math/w_exp10l.c: Likewise.
14959 * math/w_exp2.c: Likewise.
14960 * math/w_exp2f.c: Likewise.
14961 * math/w_fmod.c: Likewise.
14962 * math/w_fmodf.c: Likewise.
14963 * math/w_fmodl.c: Likewise.
14964 * math/w_hypot.c: Likewise.
14965 * math/w_hypotf.c: Likewise.
14966 * math/w_hypotl.c: Likewise.
14967 * math/w_j0.c: Likewise.
14968 * math/w_j0f.c: Likewise.
14969 * math/w_j0l.c: Likewise.
14970 * math/w_j1.c: Likewise.
14971 * math/w_j1f.c: Likewise.
14972 * math/w_j1l.c: Likewise.
14973 * math/w_jn.c: Likewise.
14974 * math/w_jnf.c: Likewise.
14975 * math/w_jnl.c: Likewise.
14976 * math/w_lgamma.c: Likewise.
14977 * math/w_lgamma_r.c: Likewise.
14978 * math/w_lgammaf.c: Likewise.
14979 * math/w_lgammaf_r.c: Likewise.
14980 * math/w_lgammal.c: Likewise.
14981 * math/w_lgammal_r.c: Likewise.
14982 * math/w_log.c: Likewise.
14983 * math/w_log10.c: Likewise.
14984 * math/w_log10f.c: Likewise.
14985 * math/w_log10l.c: Likewise.
14986 * math/w_log2.c: Likewise.
14987 * math/w_log2f.c: Likewise.
14988 * math/w_log2l.c: Likewise.
14989 * math/w_logf.c: Likewise.
14990 * math/w_logl.c: Likewise.
14991 * math/w_pow.c: Likewise.
14992 * math/w_powf.c: Likewise.
14993 * math/w_powl.c: Likewise.
14994 * math/w_remainder.c: Likewise.
14995 * math/w_remainderf.c: Likewise.
14996 * math/w_remainderl.c: Likewise.
14997 * math/w_scalb.c: Likewise.
14998 * math/w_scalbf.c: Likewise.
14999 * math/w_scalbl.c: Likewise.
15000 * math/w_sinh.c: Likewise.
15001 * math/w_sinhf.c: Likewise.
15002 * math/w_sinhl.c: Likewise.
15003 * math/w_sqrt.c: Likewise.
15004 * math/w_sqrtf.c: Likewise.
15005 * math/w_sqrtl.c: Likewise.
15006 * math/w_tgamma.c: Likewise.
15007 * math/w_tgammaf.c: Likewise.
15008 * math/w_tgammal.c: Likewise.
15009
6a621eb7
UD
15010 * po/ja.po: Update from translation team.
15011
bf582445
AJ
150122011-09-29 Andreas Jaeger <aj@suse.de>
15013
f9efbf3a
AJ
15014 [BZ #13179]
15015 * sunrpc/netname.c (netname2host): Fix logic.
15016
bf582445
AJ
15017 [BZ #6779]
15018 [BZ #6783]
15019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15020 correctly.
15021 * math/w_remainder.c (__remainder): Likewise.
15022 * math/w_remainderf.c (__remainderf): Likewise.
15023 * math/libm-test.inc (remainder_test): Add test cases.
15024
48693bea
AK
150252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15026
15027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15028 sdiv_qrnnd.
15029
42622229
LD
150302011-10-07 Ulrich Drepper <drepper@gmail.com>
15031
15032 * string/test-memcmp.c: Avoid unncessary #defines.
15033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15034
093ecf92
LD
150352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15036
15037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15038 Use new sse2 version for core i3 - i7 as it's faster
15039 than sse42 version.
15040 (bit_Prefer_PMINUB_for_stringop): New.
15041 * sysdeps/x86_64/rawmemchr.S: Update.
15042 Replace with faster SSE2 version.
15043 * sysdeps/x86_64/memrchr.S: New file.
15044 * sysdeps/x86_64/memchr.S: Update.
15045 Replace with faster SSE2 version.
15046
fde56e5c
MP
150472011-09-12 Marek Polacek <mpolacek@redhat.com>
15048
15049 * elf/dl-load.c (lose): Add cast to avoid warning.
15050
21fd49a9
UD
150512011-10-07 Ulrich Drepper <drepper@gmail.com>
15052
5a06e643
UD
15053 * po/ca.po: Update from translation team.
15054
684ae515
UD
15055 * inet/getnetgrent_r.c: Hook up nscd.
15056 * nscd/Makefile (routines): Add nscd_netgroup.
15057 (nscd-modules): Add netgroupcache.
15058 (CFLAGS-netgroupcache.c): Define.
15059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15060 (cache_search): Add const to second parameter.
15061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15062 INNETGR.
15063 (dbs): Add netgrdb entry.
15064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15065 (verify_persistent_db): Handle netgrdb.
15066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15068 GETFDNETGR.
15069 (netgroup_response_header): Define.
15070 (innetgroup_response_header): Define.
15071 (datahead): Add netgroup_response_header and innetgroup_response_header
15072 elements.
15073 * nscd/nscd.conf: Add entries for netgroup cache.
15074 * nscd/nscd.h (dbtype): Add netgrdb.
15075 (_PATH_NSCD_NETGROUP_DB): Define.
15076 (netgroup_iov_disabled): Declare.
15077 (xmalloc, xcalloc, xrealloc): Move declarations here.
15078 (cache_search): Adjust prototype.
15079 Add netgroup-related prototypes.
15080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15082 (__nscd_innetgr): Declare.
15083 * nscd/selinux.c (perms): Use access_vector_t as element type and
15084 add netgroup-related initializers.
15085 * nscd/netgroupcache.c: New file.
15086 * nscd/nscd_netgroup.c: New file.
15087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15089 For four parameters use innetgr.
15090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15094
21fd49a9
UD
15095 * nscd/connections.c (register_traced_file): Don't register file
15096 for disabled databases.
15097
054c0457
UD
150982011-10-06 Ulrich Drepper <drepper@gmail.com>
15099
32b63198
UD
15100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15101
054c0457
UD
15102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15103 from tree and freeing node.
15104
64031225
JO
151052011-09-25 Jiri Olsa <jolsa@redhat.com>
15106
15107 * nss/nsswitch.c (__nss_database_lookup): Handle
15108 nss_parse_service_list out of memory case.
15109
0490345c
JO
151102011-09-15 Jiri Olsa <jolsa@redhat.com>
15111
15112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15113 out of memory case.
15114
3a62d00d
AS
151152011-10-04 Andreas Schwab <schwab@redhat.com>
15116
15117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15119 pass it down.
15120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15121 elf_machine_rela, elf_machine_lazy_rel.
15122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15123 (ELF_DYNAMIC_DO_REL): Likewise.
15124 (ELF_DYNAMIC_DO_RELA): Likewise.
15125 (ELF_DYNAMIC_RELOCATE): Likewise.
15126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15127 to ELF_DYNAMIC_DO_REL.
15128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15131 elf_machine_rela.
15132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15133 skip_ifunc, don't call ifunc function if non-zero.
15134 (elf_machine_rela): Likewise.
15135 (elf_machine_lazy_rel): Likewise.
15136 (elf_machine_lazy_rela): Likewise.
15137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15138 (elf_machine_lazy_rel): Likewise.
15139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15140 Likewise.
15141 (elf_machine_lazy_rel): Likewise.
15142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15143 Likewise.
15144 (elf_machine_lazy_rel): Likewise.
15145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15146 (elf_machine_lazy_rel): Likewise.
15147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15148 (elf_machine_lazy_rel): Likewise.
15149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15150 (elf_machine_lazy_rel): Likewise.
15151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15152 (elf_machine_lazy_rel): Likewise.
15153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15154 (elf_machine_lazy_rel): Likewise.
15155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15156 (elf_machine_lazy_rel): Likewise.
15157
68577918
UD
151582011-09-28 Ulrich Drepper <drepper@gmail.com>
15159
15160 * nss/nss_files/files-init.c (_nss_files_init): Use static
15161 initialization for all the *_traced_file variables.
15162
68822d74
AS
151632011-09-28 Andreas Schwab <schwab@redhat.com>
15164
15165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15166
2056100b
RM
151672011-09-27 Roland McGrath <roland@hack.frob.com>
15168
15169 [BZ #13226]
15170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15171
32c76b63
AS
151722011-09-27 Andreas Schwab <schwab@redhat.com>
15173
15174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15175 Reread the line before reparsing it.
15176
bf972c9d
AS
151772011-09-26 Andreas Schwab <schwab@redhat.com>
15178
15179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15180
e057a1b5
JM
151812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15182 Maxim Kuvyrkov <maxim@codesourcery.com>
15183 Joseph Myers <joseph@codesourcery.com>
15184
15185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15186 if needed for __stack_chk_guard.
15187
bc7e1c36
RM
151882011-09-19 Roland McGrath <roland@hack.frob.com>
15189
ecb1482f
RM
15190 * sysdeps/posix/spawni.c (script_execute): Always define it.
15191 It will be optimized away if unused.
15192 (maybe_script_execute): New function.
15193 (__spawni): Call it.
15194
bc7e1c36
RM
15195 * Makerules: Don't include tls.make.
15196 (config-tls): Always set to thread.
15197 * tls.make.c: File removed.
15198
1c3b002b
MF
151992011-09-19 Mike Frysinger <vapier@gentoo.org>
15200
15201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15202 * config.make.in (CPPFLAGS-config): New substituted variable.
15203
2840865d
UD
152042011-09-15 Ulrich Drepper <drepper@gmail.com>
15205
88738eb6
UD
15206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15207
cbf645a6 15208 [BZ #13192]
2840865d
UD
15209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15211
b402e91a
RM
152122011-09-15 Roland McGrath <roland@hack.frob.com>
15213
15214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15217 (CALL_FAIL): Likewise.
15218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15219 (CALL_FAIL): Macro removed.
15220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15221
4c1a1f71
UD
152222011-09-15 Ulrich Drepper <drepper@gmail.com>
15223
15224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15225 for __FINITE_MATH_ONLY__ == 1.
15226
edc121be
AS
152272011-09-15 Andreas Schwab <schwab@redhat.com>
15228
15229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15230 __ieee754_sqrt instead of sqrt.
15231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15232 __ieee754_sqrtf instead of sqrtf.
15233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15234 __floorf instead of floorf.
15235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15236 __floorf, __truncf instead of floorf, truncf.
15237
cd205654
UD
152382011-09-14 Ulrich Drepper <drepper@gmail.com>
15239
ee4d0315
UD
15240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15241
cd205654
UD
15242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15243 __extern_always_inline.
15244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15245 32-bit.
15246
48b67d71
AS
152472011-09-14 Andreas Schwab <schwab@redhat.com>
15248
15249 * elf/rtld.c (dl_main): Also relocate in dependency order when
15250 doing symbol dependency testing.
15251
1ae12c75
AS
152522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15253
15254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15255 Always define `refsym'.
15256
995a80df
AS
152572011-09-13 Andreas Schwab <schwab@redhat.com>
15258
e529793b
AS
15259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15260 (__FD_ELT): Renamed from __FDELT.
15261 * misc/bits/select2.h (__FD_ELT): Likewise.
15262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15263 __FD_MASK instead of __FDELT, __FDMASK.
15264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15265 Likewise.
15266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15267 Likewise.
15268
52d4fef8
AS
15269 * elf/Makefile (gen-ldd): Fix pattern.
15270
995a80df
AS
15271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15272 (init_tls): Likewise.
15273
8682f8b0
UD
152742011-09-12 Ulrich Drepper <drepper@gmail.com>
15275
15276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15277
de82006d
AS
152782011-09-12 Andreas Schwab <schwab@redhat.com>
15279
a7c8e6a1
AS
15280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15281 `struct cmsghdr *' instead of `void *'.
15282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15283 Likewise.
15284
0f31fe77
AS
152852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15286
15287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15288 if non-absolute.
15289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15290 ldd_rewrite_script.
0f31fe77 15291
32b4c839
UD
152922011-09-11 Ulrich Drepper <drepper@gmail.com>
15293
83cd1420
UD
15294 * configure.in: Remove --with-tls option.
15295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15297 out in case it is missing.
15298 * sysdeps/ia64/elf/configure.in: Likewise.
15299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15303 * sysdeps/sh/elf/configure.in: Likewise.
15304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15306 * sysdeps/x86_64/elf/configure.in: Likewise.
15307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15308 * sysdeps/mach/hurd/tls.h: Likewise.
15309
633f745d
UD
15310 [BZ #13067]
15311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15312
f318beb8
UD
15313 [BZ #13090]
15314 * configure.in: Fix use of AC_INIT.
15315
32b4c839
UD
15316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15317
3ce1f295
UD
153182011-09-10 Ulrich Drepper <drepper@gmail.com>
15319
bb016596
UD
15320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15321 __set_errno.
8e58439c
UD
15322 * malloc/hooks.c: Likewise.
15323
aebae053 15324 [BZ #11929]
02d46fc4
UD
15325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15326 variables statically.
15327 (narenas): Initialize.
15328 (list_lock): Initialize.
bb016596
UD
15329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15330 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15333 Add initializers to main_arena and mp_.
15334 (malloc_state): Remove pagesize member. Change all users to use
15335 GLRO(dl_pagesize).
15336
15337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15339 is always initialized.
15340
22a89187
UD
15341 * malloc/malloc.c: Removed unused configurations and dead code.
15342 * malloc/arena.c: Likewise.
15343 * malloc/hooks.c: Likewise.
02d46fc4 15344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15345
d063d164
UD
15346 * include/tls.h: Removed. USE___THREAD must always be defined.
15347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15348 * elf/dl-libc.c: Likewise.
15349 * elf/dl-tsd.c: Likewise.
15350 * include/errno.h: Likewise.
15351 * include/netdb.h: Likewise.
15352 * include/resolv.h: Likewise.
15353 * inet/herrno-loc.c: Likewise.
15354 * inet/herrno.c: Likewise.
15355 * malloc/arena.c: Likewise.
15356 * malloc/hooks.c: Likewise.
15357 * malloc/malloc.c: Likewise.
15358 * resolv/res-state.c: Likewise.
15359 * resolv/res_libc.c: Likewise.
15360 * sysdeps/i386/dl-machine.h: Likewise.
15361 * sysdeps/ia64/dl-machine.h: Likewise.
15362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15366 * sysdeps/sh/dl-machine.h: Likewise.
15367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15369 * sysdeps/unix/i386/sysdep.S: Likewise.
15370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15381 * sysdeps/x86_64/dl-machine.h: Likewise.
15382 * tls.make.c: Likewise.
15383
3ce1f295
UD
15384 * configure.in: Remove --with-__thread option. Make tests for
15385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15386 tls_model attribute fail if no support is available. Remove
15387 USE_IN_LIBIO.
15388 * Makeconfig: Adjust for dropped configure option. All features are
15389 now mandatory.
15390 * Makerules: Likewise.
15391 * Versions.def: Likewise.
15392 * argp/argp-fmtstream.c: Likewise.
15393 * argp/argp-fmtstream.h: Likewise.
15394 * argp/argp-help.c: Likewise.
15395 * assert/assert.c: Likewise.
15396 * config.h.in: Likewise.
15397 * config.make.in: Likewise.
15398 * configure: Likewise.
15399 * configure.in: Likewise.
15400 * csu/Versions: Likewise.
15401 * csu/init.c: Likewise.
15402 * elf/tst-audit2.c: Likewise.
15403 * elf/tst-tls10.c: Likewise.
15404 * elf/tst-tls10.h: Likewise.
15405 * elf/tst-tls11.c: Likewise.
15406 * elf/tst-tls12.c: Likewise.
15407 * elf/tst-tls14.c: Likewise.
15408 * elf/tst-tlsmod11.c: Likewise.
15409 * elf/tst-tlsmod12.c: Likewise.
15410 * elf/tst-tlsmod13.c: Likewise.
15411 * elf/tst-tlsmod13a.c: Likewise.
15412 * elf/tst-tlsmod14a.c: Likewise.
15413 * elf/tst-tlsmod15b.c: Likewise.
15414 * elf/tst-tlsmod16a.c: Likewise.
15415 * elf/tst-tlsmod16b.c: Likewise.
15416 * elf/tst-tlsmod7.c: Likewise.
15417 * elf/tst-tlsmod8.c: Likewise.
15418 * elf/tst-tlsmod9.c: Likewise.
15419 * gmon/gmon.c: Likewise.
15420 * grp/fgetgrent_r.c: Likewise.
15421 * grp/putgrent.c: Likewise.
15422 * hurd/fopenport.c: Likewise.
15423 * include/libc-symbols.h: Likewise.
15424 * include/tls.h: Likewise.
15425 * intl/gettextP.h: Likewise.
15426 * intl/loadinfo.h: Likewise.
15427 * locale/global-locale.c: Likewise.
15428 * locale/localeinfo.h: Likewise.
15429 * mach/devstream.c: Likewise.
15430 * malloc/arena.c: Likewise.
15431 * malloc/set-freeres.c: Likewise.
15432 * misc/err.c: Likewise.
15433 * misc/getttyent.c: Likewise.
15434 * misc/mntent_r.c: Likewise.
15435 * posix/getopt.c: Likewise.
15436 * posix/wordexp.c: Likewise.
15437 * pwd/fgetpwent_r.c: Likewise.
15438 * resolv/Versions: Likewise.
15439 * resolv/res_hconf.c: Likewise.
15440 * shadow/fgetspent_r.c: Likewise.
15441 * shadow/putspent.c: Likewise.
15442 * stdio-common/printf_fphex.c: Likewise.
15443 * stdio-common/tmpfile.c: Likewise.
15444 * stdlib/abort.c: Likewise.
15445 * stdlib/fmtmsg.c: Likewise.
15446 * sunrpc/auth_unix.c: Likewise.
15447 * sunrpc/clnt_perr.c: Likewise.
15448 * sunrpc/clnt_tcp.c: Likewise.
15449 * sunrpc/clnt_udp.c: Likewise.
15450 * sunrpc/clnt_unix.c: Likewise.
15451 * sunrpc/openchild.c: Likewise.
15452 * sunrpc/svc_simple.c: Likewise.
15453 * sunrpc/svc_tcp.c: Likewise.
15454 * sunrpc/svc_udp.c: Likewise.
15455 * sunrpc/svc_unix.c: Likewise.
15456 * sunrpc/xdr.c: Likewise.
15457 * sunrpc/xdr_array.c: Likewise.
15458 * sunrpc/xdr_rec.c: Likewise.
15459 * sunrpc/xdr_ref.c: Likewise.
15460 * sunrpc/xdr_stdio.c: Likewise.
15461
1248c1c4
PB
154622011-09-09 Ulrich Drepper <drepper@gmail.com>
15463
15464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15465
154662011-07-03 Andreas Jaeger <aj@suse.de>
15467
15468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15470 regenerate with gen-libm-tests.pl.
15471
154722010-05-12 Petr Baudis <pasky@suse.cz>
15473
15474 [BZ #11589]
15475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15476 around j0() zero points by switching to j1().
15477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15481
f22e1074
UD
154822011-09-09 Ulrich Drepper <drepper@gmail.com>
15483
f19009c1
UD
15484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15485 instead of 0.
15486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15487 instead of 0. .
15488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15489 Patch in part by Pavel Roskin <proski@gnu.org>.
15490
3f8cc204
UD
15491 [BZ #13138]
15492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15493 realloc.
15494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15495 Free memory block if necessary.
15496
f22e1074
UD
15497 [BZ #12847]
15498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15499 be NULL. Don't lock in this case.
15500
0a2349f9
RM
155012011-09-09 Roland McGrath <roland@hack.frob.com>
15502
15503 * elf/elf.h (ELFOSABI_GNU): New macro.
15504 (ELFOSABI_LINUX): Define to that.
15505
f3cdd467
DZ
155062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15507
15508 * string/strncat.c (strncat): Undef the symbol in case it has been
15509 defined in bits/string.h.
15510
74718d13
UD
155112011-09-09 Ulrich Drepper <drepper@gmail.com>
15512
633e9e0f
UD
15513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15514
0a2349f9 15515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15516 link map.
15517
f9924780
AJ
155182011-08-17 Andreas Jaeger <aj@suse.de>
15519
15520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15521
7f5517aa
PP
155222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15523 Ian Lance Taylor <iant@google.com>
15524
15525 * math/libm-test.inc (lround_test): New testcase.
15526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15527
762011fe
UD
155282011-09-08 Ulrich Drepper <drepper@gmail.com>
15529
92963737
UD
15530 * Makefile: Remove support for automatic cvs check-ins.
15531 * Makerules: Likewise.
15532 * config.make.in: Likewise.
15533 * configure.in: Likewise.
15534 * intl/Makefile: Likewise.
15535 * locale/Makefile: Likewise.
15536 * po/Makefile: Likewise.
15537 * posix/Makefile: Likewise.
15538 * sysdeps/gnu/Makefile: Likewise.
15539 * sysdeps/mach/hurd/Makefile: Likewise.
15540 * sysdeps/sparc/sparc32/Makefile: Likewise.
15541
b0727fd8
JS
15542 [BZ #13118]
15543 * posix/Makefile (bug-regex32-ENV): Define.
15544 Patch by John Stanley <jpsinthemix@verizon.net>.
15545
a0f33f99
UD
15546 * misc/Makefile (headers): Add bits/select2.h.
15547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15548 * misc/bits/select2.h: New file.
15549 * include/bits/select2.h: New file.
15550 * debug/Makefile (routines): Add fdelt_chk.
15551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15553 FD_ISSET.
15554 * debug/fdelt_chk.c: New file.
15555
762011fe
UD
15556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15557 * wcsmbs/test-wmemcmp.c: Likewise.
15558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15560
155612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15562
15563 * string/Makefile (strop-tests): Add memcmp.
15564 * string/test-wmemcmp.c: New file.
15565 * string/test-memcmp.c: Add wmemcmp support.
15566
7f513ec8
RM
155672011-09-08 Roland McGrath <roland@hack.frob.com>
15568
0442afb4
RM
15569 [BZ #13153]
15570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15571 2011-07-19 change.
15572
7f513ec8
RM
15573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15574 garbage value in a __mach_port_mod_refs call in the cases of the
15575 task-self and thread-self ports.
15576
a12b2239
ST
155772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15578
15579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15580
610f9ab4
AS
155812011-09-08 Andreas Schwab <schwab@redhat.com>
15582
7f513ec8 15583 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15584
48882a1a
LD
155852011-09-07 Ulrich Drepper <drepper@gmail.com>
15586
b49865be
UD
15587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15588
fdc86bc9
UD
15589 * elf/dl-libc.c (dlerror_run): Pass back error code from
15590 dl_catch_error.
15591
c966526a
UD
15592 [BZ #13123]
15593 * elf/dl-load.c (lose): Free l_origin if it is valid.
15594
48882a1a
LD
15595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15596 names.
15597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15603
77a2a8b4
AZ
156042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15605
15606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15616
24f579d8
AM
156172011-08-15 Alan Modra <amodra@gmail.com>
15618
15619 [BZ #13092]
15620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15623 ppc_mcount to static-only-routines.
15624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15625 __mcount_internal.
15626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15628
3d4837df
UD
156292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15630
15631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15632 for finite and infinity parameters.
15633
22700377
WS
156342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15635
15636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15637 and add nop instructions for throughput optimization.
15638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15639
5025581e
WS
156402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15641
15642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15643 aligned copy for power7 with vector-scalar instructions.
15644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15645
08a300c9
L
156462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15647
15648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15649 AVX check.
15650
59178ef9
AS
156512011-09-07 Andreas Schwab <schwab@redhat.com>
15652
15653 [BZ #13144]
15654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15655 last change.
15656
e38ba7ab
UD
156572011-09-07 Ulrich Drepper <drepper@gmail.com>
15658
15659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15663 clock_gettime.
15664
d53a73ac
UD
156652011-09-06 Ulrich Drepper <drepper@gmail.com>
15666
fc8bffcc
UD
15667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15668 Forgot to demangle the pointer.
15669
ceaa0c5d
UD
15670 * sysdeps/i386/sysdep.h: Define atom_text_section.
15671 * sysdeps/x86_64/sysdep.h: Likewise.
15672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15673 section with atom_text_section.
15674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15679
a77d3c17
UD
15680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15682 already be defined. Change to take two parameters and don't assign
15683 result to variable. Adjust all users.
15684 Define INTERNAL_GETTIME if not already defined.
15685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15686 call.
15687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15688 HAVE_CLOCK_GETTIME_VSYSCALL.
15689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15690
d53a73ac
UD
15691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15692 gettimeofday vsyscall, just use time.
15693
a8f84144
AS
156942011-09-06 Andreas Schwab <schwab@redhat.com>
15695
15696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15697 <errno.h>.
15698
ef606249
UD
156992011-09-06 Ulrich Drepper <drepper@gmail.com>
15700
15701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15702 syscall on x86-64.
15703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15704 syscall.
15705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15707 syscall if possible.
15708
6585cb60
UD
157092011-09-05 Ulrich Drepper <drepper@gmail.com>
15710
15711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15712 e_ident. Don't pass to find_mapsXX.
15713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15714
a5f524e4
LD
157152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15716
15717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15719 * sysdeps/x86_64/multiarch/strchr.S: Update.
15720 Check bit_slow_BSF bit.
15721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15724
554881ef
UD
157252011-09-05 Ulrich Drepper <drepper@gmail.com>
15726
d96de963
UD
15727 [BZ #13134]
15728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15729 before glibc 2.15.
15730 (tryshell): Define.
15731 (__spawni): Change last parameter to be flag. Test
15732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15735 * posix/spawni.c: Likewise.
15736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15737 * posix/spawnp.c: Likewise. Change normal version to use
15738 SPAWN_XFLAGS_USE_PATH.
15739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15740 SPAWN_XFLAGS_TRY_SHELL.
15741
d48e5868
UD
15742 [BZ #13150]
15743 * posix/glob.h: Remove gcc 1.x support.
15744
554881ef
UD
15745 [BZ #13068]
15746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15747
693fb948
LD
157482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15749
15750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15752 strrchr-sse2-bsf
15753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15759
1b48c537
UD
157602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15761
49d42c37
UD
15762 * sysdeps/x86_64/wcscmp.S: New file.
15763
1b48c537
UD
15764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15765 wcscmp-c wcscmp-sse2
15766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15769 * wcsmbs/wcscmp.c: Allow renaming.
15770
15c95c5d
DM
157712011-09-05 David S. Miller <davem@davemloft.net>
15772
15773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15774 stack slot, rather than the struct return pointer slot.
15775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15779
2f0ad8f3
UD
157802011-09-05 Ulrich Drepper <drepper@gmail.com>
15781
d88ae418
UD
15782 * po/ja.po: Update from translation team.
15783
2f0ad8f3
UD
15784 [BZ #13144]
15785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15786 kernel in 64-bit binaries.
15787
5f4318d1
DM
157882011-09-01 David S. Miller <davem@davemloft.net>
15789
15790 * elf/elf.h (HWCAP_SPARC_*): Move to..
15791 * sysdeps/sparc/sysdep.h: this new file and add new values.
15792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15794 _DL_HWCAP_COUNT to 24.
15795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15796 entries.
15797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15801 instead of magic constants.
15802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15803
3ba57516
DM
158042011-08-31 David S. Miller <davem@davemloft.net>
15805
15806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15808 Reimplement to do errno handling inline.
15809 (SYSCALL_ERROR_HANDLER): New macro.
15810 (__SYSCALL_STRING): Do not do errno handling in asm.
15811 (__CLONE_SYSCALL_STRING): Delete.
15812 (__INTERNAL_SYSCALL_STRING): Delete.
15813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15815 (PSEUDO): Reimplement to do errno handling inline.
15816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15817 (SYSCALL_ERROR_HANDLER): New macro.
15818 (__SYSCALL_STRING): Do not do errno handling in asm.
15819 (__CLONE_SYSCALL_STRING): Delete.
15820 (__INTERNAL_SYSCALL_STRING): Delete.
15821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15823 i386.
15824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15825 (inline_syscall*): Add 'err' argument.
15826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15830
15831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15833
2bc17433
AS
158342011-08-30 Andreas Schwab <schwab@redhat.com>
15835
15836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15837
fbeb5f4d
JO
158382011-08-29 Jiri Olsa <jolsa@redhat.com>
15839
15840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15841 directive.
15842
ad69cc26
DM
158432011-08-24 David S. Miller <davem@davemloft.net>
15844
15845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15846
39dd69df
AS
158472011-08-24 Andreas Schwab <schwab@redhat.com>
15848
15849 * elf/Makefile: Add rules to build and run unload8 test.
15850 * elf/unload8.c: New file.
15851 * elf/unload8mod1.c: New file.
15852 * elf/unload8mod1x.c: New file.
15853 * elf/unload8mod2.c: New file.
15854 * elf/unload8mod3.c: New file.
15855
15856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15857 it wasn't used.
15858
2c0b250a
DM
158592011-08-23 David S. Miller <davem@davemloft.net>
15860
15861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15862 subtract stack bias.
15863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15864 %sp not %fp in calculations.
15865 (_JMPBUF_UNWINDS_ADJ): Likewise.
15866
22044b48
DM
15867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15868 (aio_suspend): Call it to force an exception region around the
15869 AIO_MISC_WAIT() invocation.
15870
2cae4995
AS
158712011-08-23 Andreas Schwab <schwab@redhat.com>
15872
15873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15874 backslash.
15875
873a772e
AJ
158762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15877
15878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15879 protection macro.
15880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15881 and <dl-machine.h>.
15882 (Elf64_FuncDesc): Remove.
15883
25ad0df1
DM
158842011-08-22 David S. Miller <davem@davemloft.net>
15885
15886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15887 sigaltstack check, add missing cfi directives.
15888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15889 missing cfi directives, and sigaltstack handling.
15890
e888bcbe
AS
158912011-08-16 Andreas Schwab <schwab@redhat.com>
15892
15893 [BZ #11724]
15894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15895 object is seen twice.
15896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15897
15898 * elf/Makefile (distribute): Add tst-initorder2.c.
15899 (tests): Add tst-initorder2.
15900 (modules-names): Add tst-initorder2a tst-initorder2b
15901 tst-initorder2c tst-initorder2d. Add rules to build them.
15902 ($(objpfx)tst-initorder2.out): New rule.
15903 * elf/tst-initorder2.c: New file.
15904 * elf/tst-initorder2.exp: New file.
15905
87162f46
AS
159062011-08-22 Andreas Schwab <schwab@redhat.com>
15907
70538b7f
AS
15908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15909
f55ffe58
AS
15910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15911 dependencies back to end of function.
15912
87162f46
AS
15913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15914 $(elfobjdir)/ld.so.
15915
91b392a4
UD
159162011-08-21 Ulrich Drepper <drepper@gmail.com>
15917
15918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15923 of __vdso_gettimeofday.
15924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15926 attribute_hidden.
15927 (_libc_vdso_platform_setup): Remove initialization of
15928 __vdso_gettimeofday and __vdso_time.
15929
5c43483f
UD
159302011-08-20 Ulrich Drepper <drepper@gmail.com>
15931
775a77e7
UD
15932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15933 and fgetc_unlocked.
15934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15935 getc_unlocked.
89f447ed 15936
49c74ba9
UD
15937 * elf/dl-open.c (add_to_global): Report additions to the global scope
15938 for LD_DEBUG=scopes.
15939 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15940 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15941
5c43483f
UD
15942 [BZ #13114]
15943 * stdio-common/Makefile (tests): Add bug24.
15944 * stdio-common/bug24.c: New file.
15945
a101b025
AJ
159462011-08-19 Andreas Jaeger <aj@suse.de>
15947
15948 [BZ #13114]
15949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15950 non-existant file when using close-on-exec mode.
15951
c88f1766
UD
159522011-08-20 Ulrich Drepper <drepper@gmail.com>
15953
0276a718
UD
15954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15955 the very first instruction.
15956
c88f1766
UD
15957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15958 the CFI state in the end.
15959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15960 inclusion of dl-trampoline.h.
15961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15962
51ccffa0
AS
159632011-08-19 Andreas Schwab <schwab@redhat.com>
15964
94d7165f
AS
15965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15966 expectations for long double.
15967
51ccffa0
AS
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15970
fd708658 159712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15972
15973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15974 artificual limit depends upon the system page size.
15975
44f0a71e
UD
159762011-08-17 Ulrich Drepper <drepper@gmail.com>
15977
15978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15979 * resolv/Makefile: Define CFLAGS-libresolv.
15980
8de79a24
AS
159812011-08-17 Andreas Schwab <schwab@redhat.com>
15982
15983 * nss/makedb.c (compute_tables): Make variables used in nested
15984 function static.
15985
27724598
UD
159862011-08-17 Ulrich Drepper <drepper@gmail.com>
15987
c5305d88
UD
15988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15990 if buffer was too small.
15991
27724598
UD
15992 * elf/pldd.c (main): Attach to all threads in the process.
15993 Rewrite /proc handling to use *at functions.
15994
076fe015
UD
159952011-08-16 Ulrich Drepper <drepper@gmail.com>
15996
174baab3
UD
15997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15998 specifies first scope to show.
15999 (dl_open_worker): Update callers. Move printing scope of new
16000 object to before the relocation.
44f0a71e 16001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16002 * sysdeps/generic/ldsodefs.h: Update declaration.
16003
076fe015
UD
16004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16005 string for the scope number.
16006
a60df2c3
UD
160072011-08-14 Ulrich Drepper <drepper@gmail.com>
16008
16009 * nscd/servicescache.c (cache_addserv): Make sure written is always
16010 initialized.
16011
5e4287d1
RM
160122011-08-14 Roland McGrath <roland@hack.frob.com>
16013
85ae0589
RM
16014 * sysdeps/i386/i486/bits/atomic.h
16015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16016 statement expression, so as to suppress "set but not used" warning.
16017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16018
69f63097
RM
16019 * string/strncat.c (STRNCAT): Use prototype definition.
16020
675456ef
RM
16021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16023 -Iprograms here.
16024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16025 (localedef-modules): Add localedef.
16026 (locale-modules): Add locale.
16027
5e4287d1
RM
16028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16030 to avoid a warning.
16031
9c96ff23
DM
160322011-08-14 David S. Miller <davem@davemloft.net>
16033
16034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16036
f9ddf089
UD
160372011-08-13 Ulrich Drepper <drepper@gmail.com>
16038
44f0a71e 16039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16041 * elf/rtld.c (dl_main): Set l_name of vDSO.
16042 Call _dl_show_scope when DL_DEBUG_SCOPES.
16043 (process_dl_debug): Recognize scopes flag and also set it for all.
16044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16045 Declare _dl_show_scope.
16046
1dc27704
UD
16047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16048 (do_dlopen): Pass caller_dlopen to dl_open.
16049 (__libc_dlopen_mode): Initialize caller_dlopen.
16050
f9ddf089
UD
16051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16052 of libc. Make tolower call locale-independent. Optimize a bit by
16053 using isdigit instead of isalnum.
16054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16055
9ac533d3
UD
160562011-08-12 Ulrich Drepper <drepper@gmail.com>
16057
16058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16059 was a dependency or dynamically loaded.
16060
89edf2e9
UD
160612011-08-11 Ulrich Drepper <drepper@gmail.com>
16062
8e999d29
UD
16063 * intl/l10nflist.c: Allow architecture-specific pop function.
16064 * sysdeps/x86_64/l10nflist.c: New file.
16065
89edf2e9
UD
16066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16067 classification.
16068
14d96785
AS
160692011-08-10 Andreas Schwab <schwab@redhat.com>
16070
16071 * include/dirent.h: Add libc_hidden_proto for scandirat and
16072 scandirat64. Don't declare __scandirat64.
16073 * dirent/scandirat.c: Add libc_hidden_def.
16074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16076
6761ac04
DM
160772011-08-10 David S. Miller <davem@davemloft.net>
16078
16079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16080 enum.
16081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16084
c55fbd1e
UD
160852011-08-09 Ulrich Drepper <drepper@gmail.com>
16086
16087 * Versions.def [libc]: Add GLIBC_2.15.
16088 * dirent/Makefile (routines): Add scandirat and scandirat64.
16089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16090 GLIBC_2.15.
16091 * dirent/dirent.h: Declare scandirat and scandirat64.
16092 * dirent/scandirat.c: New file.
16093 * dirent/scandirat64.c: New file.
16094 * sysdeps/wordsize-64/scandirat.c: New file.
16095 * sysdeps/wordsize-64/scandirat64.c: New file.
16096 * dirent/opendir.c: Define opendirat.
16097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16098 using scandirat.
16099 * dirent/scandir64.c: Adjust for scandir.c change.
16100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16101 __scandirat64, and __scandir_cancel_handler.
16102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16103 additional parameter and use openat instead of open (outside of ld.so).
16104 Add new __opendir as wrapper around __opendirat.
16105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16106 here without requiring old scandirat implementation.
16107
879165f2
UD
161082011-08-08 Ulrich Drepper <drepper@gmail.com>
16109
16110 * dirent/scandir.c (cancel_handler): Renamed to
16111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16112 defined. Adjust users.
16113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16115
cb7e923b
UD
161162011-08-04 Ulrich Drepper <drepper@gmail.com>
16117
16292edd
UD
16118 * string/test-string.h (IMPL): Use __STRING to expand name and then
16119 stringify it.
16120
cb7e923b
UD
16121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16122 of cleanups.
16123
cff82933
LD
161242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16125
16126 * string/Makefile: Update.
16127 (strop-tests): Append strncat.
16128 * string/test-wcscmp.c: New file.
16129 New comprehensive test for wcscmp.
16130 * string/test-strcmp.c: Update.
16131 (WIDE): New define.
16132
9be9bfcc
AS
161332011-07-22 Andreas Schwab <schwab@redhat.com>
16134
16135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16136 line.
16137
2e96f1c7
AS
161382011-07-26 Andreas Schwab <schwab@redhat.com>
16139
16140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16141 encoding to ACE if AI_IDN.
16142
85188888
JJ
161432011-08-01 Jakub Jelinek <jakub@redhat.com>
16144
16145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16147
5fa16e9b
LD
161482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16149
16150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16151 Fix overflow bug in strncat.
16152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16153
16154 * string/test-strncat.c: Update.
16155 Add new tests for checking overflow bugs.
16156
161572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16158
16159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16168
16169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16170 (USE_AS_STRCAT): Define.
16171 Add strcat and strncat support.
16172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16173
8c1a459f
AS
161742011-07-25 Andreas Schwab <schwab@redhat.com>
16175
16176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16177 __n bigger than INT_MAX+1.
16178 (__strncmp_g): Likewise.
16179
bba33c28
UD
161802011-07-23 Ulrich Drepper <drepper@gmail.com>
16181
798be72d
UD
16182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16183 * libio/stido.h: Likewise.
16184
8accd4dc
UD
16185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16186 (AF_NFC): Define.
16187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16188 (AF_NFC): Define.
16189
cbff0d96
UD
16190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16195
9191c04a
UD
16196 [BZ #13021]
16197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16198 installed.
16199
bba33c28
UD
16200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16201 typo.
16202 (_dl_x86_64_save_sse): Likewise.
16203
90f139dd
UD
162042011-07-22 Ulrich Drepper <drepper@gmail.com>
16205
1aae088a
UD
16206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16207 OSXSAVE.
16208 (_dl_x86_64_save_sse): Likewise.
16209
8e2045f5
UD
16210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16211
90f139dd
UD
16212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16213
1d002f25
AS
162142011-07-21 Andreas Schwab <schwab@redhat.com>
16215
16216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16217 change.
16218 (_dl_x86_64_save_sse): Use correct AVX check.
16219
21137f89
UD
162202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16221
16222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16223 bug in strncpy/strncat.
16224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16225
a65c0b7a
UD
162262011-07-21 Ulrich Drepper <drepper@gmail.com>
16227
16228 * string/tester.c (test_strcat): Add tests for different alignments
16229 of source and destination.
16230 (test_strncat): Likewise.
16231
6986b98a
UD
162322011-07-20 Ulrich Drepper <drepper@gmail.com>
16233
90bb2039
UD
16234 [BZ #12852]
16235 * posix/glob.c (glob): Check passed in values before using them in
16236 expressions to avoid some overflows.
16237 (glob_in_dir): Likewise.
16238
5644ef54
UD
16239 [BZ #13007]
16240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16241 check for AVX enablement so that we don't crash with old kernels and
16242 new hardware.
16243 * elf/tst-audit4.c: Add same checks here.
16244 * elf/tst-audit6.c: Likewise.
16245
16246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16247
bfc9dc9b
AS
162482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16249
16250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16251
702e64bb
UD
162522011-07-20 Ulrich Drepper <drepper@gmail.com>
16253
16254 * po/cs.po: Update from translation team.
16255 * po/bg.po: Likewise.
16256
295e904f
MP
162572011-07-12 Marek Polacek <mpolacek@redhat.com>
16258
16259 * misc/sys/cdefs.h: Add support for const attribute.
16260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16261 to gnu_dev_{major,minor,makedev} functions.
16262
3ff94596
MP
162632011-07-20 Marek Polacek <mpolacek@redhat.com>
16264
16265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16266
28b59fca
AS
162672011-07-20 Andreas Schwab <schwab@redhat.com>
16268
16269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16270 strlen results.
16271
19df733e
AK
162722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16273
16274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16276 register in order to avoid conflicts with the soft frame pointer
16277 being held in r11 when necessary.
16278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16279 (INTERNAL_VSYSCALL_NCS): Likewise.
16280
c8835729
MP
162812011-07-14 Marek Polacek <mpolacek@redhat.com>
16282
16283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16284 * elf/dl-fini.c (_dl_fini): Adjust caller.
16285 * elf/dl-close.c (_dl_close_worker): Likewise.
16286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16287
b902330c
MP
162882011-07-15 Marek Polacek <mpolacek@redhat.com>
16289
8991e135
MP
16290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16291 "aux_cache->nlibs < 0".
16292
b902330c
MP
16293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16294 in the reload-count case.
16295
99710781
LD
162962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16297
16298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16302 * sysdeps/x86_64/multiarch/strcat.S: New file.
16303 * sysdeps/x86_64/multiarch/strncat.S: New file.
16304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16309 (USE_AS_STRCAT): Define.
16310 Add strcat and strncat support.
16311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16314 * string/strncat.c: Update.
16315 (USE_AS_STRNCAT): Define.
16316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16318 and i7.
16319 * sysdeps/x86_64/multiarch/init-arch.h
16320 (bit_Prefer_PMINUB_for_stringop): New.
16321 (index_Prefer_PMINUB_for_stringop): Likewise.
16322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16323 bit_Prefer_PMINUB_for_stringop.
16324
7dc6bd90
UD
163252011-07-19 Ulrich Drepper <drepper@gmail.com>
16326
16327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16328 buffer64.
16329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16330 of casting of buffer.
16331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16332 buffer32 and buffer64.
16333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16334 writes instead of casting of buffer.
16335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16336 buffer32.
16337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16338 casting of buffer.
16339
e0e72284
AS
163402011-07-19 Andreas Schwab <schwab@redhat.com>
16341
16342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16343
feb1eb0b
UD
163442011-07-19 Ulrich Drepper <drepper@gmail.com>
16345
16346 * nscd/nscd.c (termination_handler): Don't do anything for a database
16347 if it has not yet been initialized.
16348
298711ff
UD
163492011-07-18 Ulrich Drepper <drepper@gmail.com>
16350
16351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16352
163532011-07-15 Marek Polacek <mpolacek@redhat.com>
16354
16355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16356
f9d68389
UD
163572011-07-18 Ulrich Drepper <drepper@gmail.com>
16358
16359 * po/nl.po: Update from translation team.
16360 * po/sv.po: Likewise.
16361
db290cf5
RM
163622011-07-16 Roland McGrath <roland@hack.frob.com>
16363
16364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16365 now disallowed by GCC.
5c550700 16366
fd5e21c7
RM
16367 * configure.in (use-default-link): Default to yes if a test -shared
16368 link meets our qualifications.
16369 * configure: Regenerated.
16370
5c550700
RM
16371 * config.make.in (output-format): New variable.
16372 * configure.in: Check for ld --print-output-format support.
16373 * configure: Regenerated.
16374 * Makerules ($(common-objpfx)format.lds)
16375 [$(output-format) != unknown]: Just use $(output-format),
16376 instead of the linker-script munging.
16377
9fa2c032
RM
163782011-07-14 Roland McGrath <roland@hack.frob.com>
16379
a6928d51
RM
16380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16381 of $(common-objpfx)shlib.lds.
16382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16383
661607b3
RM
16384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16386
9fa2c032
RM
16387 * configure.in (-z relro check): Adjust test code to add a large
16388 writable data section after it.
16389 * configure: Regenerated.
16390
defe9061
RM
163912011-07-11 Roland McGrath <roland@hack.frob.com>
16392
16393 * configure.in (-z relro check): Fix test code to make the variable
16394 truly const.
16395 * configure: Regenerated.
16396
319b9ad4
UD
163972011-07-11 Ulrich Drepper <drepper@gmail.com>
16398
16399 * nscd/nscd.h (struct traced_file): Define.
16400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16401 elements. Add traced_files.
16402 (inotify_fd): Declare.
16403 (register_traced_file): Declare.
16404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16405 (inotify_fd): Export.
16406 (resolv_conf_descr): Remove.
16407 (nscd_init): Move inotify descriptor creation to main.
16408 Don't register files for notification here.
16409 (register_traced_file): New function.
16410 (invalidate_cache): Don't use reset_res to determine whether to call
16411 res_init, go through the list of registered files.
16412 (main_loop_poll): The inotify descriptors are now stored in the
16413 structures for the traced files.
16414 (main_loop_epoll): Likewise
16415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16416 to __nss_disable_nscd.
16417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16418 for a database anymore. Check the records for all the registered
16419 files instead.
16420 * nss/Makefile (libnss_files-routines): Add files-init.
16421 (libnss_db-routines): Add db-init.
16422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16424 * nss/nss_db/db-init.c: New file.
16425 * nss/nss_files/files-init.c: New file.
16426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16427 __nss_lookup_function.
16428 (__nss_lookup_function): Call nss_load_library.
16429 (nss_load_all_libraries): New function.
16430 (__nss_disable_nscd): Take parameter with callback function for files
16431 to register. Set is_nscd. Load all the DSOs for the NSS modules
16432 used for the cached services.
16433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16435 options for features to all the files in nscd.
16436
16437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16438
23bee3e8
RM
164392011-07-10 Roland McGrath <roland@hack.frob.com>
16440
16441 * csu/elf-init.c (__libc_csu_init): Comment typo.
16442
46a5b7f0
UD
164432011-07-09 Ulrich Drepper <drepper@gmail.com>
16444
16445 * po/pl.po: Update from translation team.
16446 * po/ja.po: Likewise.
16447 * po/ru.po: Likewise.
16448 * po/ko.po: Likewise.
16449 * po/fr.po: Likewise.
16450
d30cf5bb
RM
164512011-07-09 Roland McGrath <roland@hack.frob.com>
16452
113ddea4
RM
16453 * configure.in (.ctors/.dtors header and trailer check):
16454 Use an empirical test on a built program.
16455 * configure: Regenerated.
16456
574920b4
RM
16457 * configure.in (-z relro check): Use an empirical test on a built DSO.
16458 Detect, but do not require, on ia64.
16459 * configure: Regenerated.
16460
d30cf5bb
RM
16461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16462 Update tests that use readelf to use $READELF instead.
16463 * configure: Regenerated.
16464
8538fdb3
UD
164652011-07-08 Ulrich Drepper <drepper@gmail.com>
16466
16467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16468 if the result is not used.
16469
04d08991
AJ
164702011-07-05 Andreas Jaeger <aj@suse.de>
16471
16472 [BZ#9696]
16473 * stdlib/tst-strtod.c: Add testcase.
16474
de283087
AD
164752011-07-07 Ulrich Drepper <drepper@gmail.com>
16476
4e5f31c8 16477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16479 The latter has a higher limit. Take additional parameter to pass to
16480 the new function.
16481 (__pathconf): Pass file to __statfs_link_max.
16482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16483 __statfs_link_max.
16484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16485 __statfs_link_max.
16486
de283087
AD
16487 [BZ #12868]
16488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16490 Handle Lustre.
16491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16492 (__statfs_filesize_max): Likewise.
16493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16494
c75fa153
AJ
164952011-07-05 Andreas Jaeger <aj@suse.de>
16496
16497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16498
1a544854
UD
164992011-07-06 Marek Polacek <mpolacek@redhat.com>
16500
16501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16502 `status' variable.
16503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16504 Likewise.
16505
6f0eec67
UD
165062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * Makefile (strop-tests): Add strncat.
16509 * string/test-strncat.c: New file.
16510
aae30307
UD
165112011-06-30 Marek Polacek <mpolacek@redhat.com>
16512
16513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16514
c0cfb5eb
UD
165152011-06-21 Andreas Jaeger <aj@suse.de>
16516
16517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16518 Copy rule from iconvdata/Makefile.
16519
01636b21
UD
165202011-07-06 Ulrich Drepper <drepper@gmail.com>
16521
16522 [BZ #12922]
16523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16524 but no long options are defined, just return 'W'.
16525
9895c8bc
UD
165262011-06-22 Marek Polacek <mpolacek@redhat.com>
16527
16528 [BZ #9696]
16529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16530
5d4cf042
UD
165312011-07-06 Ulrich Drepper <drepper@gmail.com>
16532
16533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16534 netgroups to read.
960e5535 16535 (innetgr): Likewise.
5d4cf042 16536
751eb97e
RM
165372011-07-05 Roland McGrath <roland@hack.frob.com>
16538
16539 * config.make.in (install_root): Default to $(DESTDIR).
16540
f15f1e45
UD
165412011-07-05 Ulrich Drepper <drepper@gmail.com>
16542
16543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16544
4e34ac6a
RM
165452011-07-02 Roland McGrath <roland@hack.frob.com>
16546
5e9b6af4
RM
16547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16548
84f9ea0f
RM
16549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16550 containing directory rather than embedding absolute directory names.
16551
ea5ee9f7
RM
16552 * scripts/check-local-headers.sh: Rewritten using awk.
16553 Match by word, not by line. Print error messages for matches.
16554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16555
1b74661a
RM
16556 * Makerules [shlib-lds-flags empty]:
16557 ($(common-objpfx)libc_pic.opts): New target.
16558 ($(common-objpfx)libc_pic.os.clean): New target.
16559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16560
16561 * config.make.in (OBJCOPY): New variable.
16562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16563 * configure: Regenerated.
16564
f781ef40
RM
16565 * config.make.in (use-default-link): New variable.
16566 * configure.in (use_default_link): Grok --with-default-link to set it.
16567 * configure: Regenerated.
16568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16569 (shlib-lds, shlib-lds-flags): Define to empty.
16570
2d4fa81e
RM
16571 * Makerules (shlib-lds): New variable.
16572 (shlib-lds-flags): New variable.
16573 (build-shlib, build-moduile, build-module-asneeded): Use it.
16574 ($(common-objpfx)libc.so): Use $(shlib-lds).
16575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16577
31fffa6b
RM
16578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16579 DT_FLAGS/DT_FLAGS_1 with zero flags.
16580
4e34ac6a
RM
16581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16582 linker script munging.
16583
fcfc776b
UD
165842011-07-02 Ulrich Drepper <drepper@gmail.com>
16585
16586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16587 as 128-bit value.
16588 * crypt/sha512.c (sha512_process_block): Perform total addition using
16589 128-bit if possible.
16590 (__sha512_finish_ctx): Likewise.
16591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16592 as 64-bit value.
16593 * crypt/sha256.c (SWAP64): Define.
16594 (sha256_process_block): Perform total addition using 64-bit if
16595 possible.
16596 (__sha256_finish_ctx): Likewise.
16597
99231d9a
UD
165982011-07-01 Ulrich Drepper <drepper@gmail.com>
16599
16600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16602 * nscd/hstcache.c (cache_addhst): Likewise.
16603 * nscd/grpcache.c (cache_addgr): Likewise.
16604 * nscd/aicache.c (addhstaiX): Likewise
16605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16606
445b4a53
TK
166072011-07-01 Thorsten Kukuk <kukuk@suse.de>
16608
16609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16611 * nscd/hstcache.c (cache_addhst): Likewise.
16612 * nscd/grpcache.c (cache_addgr): Likewise.
16613 * nscd/aicache.c (addhstaiX): Likewise
16614
6d4d8e8e
AS
166152011-07-01 Andreas Schwab <schwab@redhat.com>
16616
16617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16618 domain only when needed.
16619
89f654c5
AS
166202011-06-30 Andreas Schwab <schwab@redhat.com>
16621
16622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16623 is always restored.
16624
cf3b23ff
UD
166252011-06-29 Ulrich Drepper <drepper@gmail.com>
16626
16627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16628 are re-adding the entry.
16629 * nscd/servicescache.c (cache_addserv): Likewise.
16630
751626f9
AJ
166312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16632
16633 * sysdeps/generic/dl-irel.h: fix protection against multiple
16634 inclusions.
16635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16636
9113ea1f
UD
166372011-06-28 Ulrich Drepper <drepper@gmail.com>
16638
5c0b8d90
UD
16639 [BZ #12935]
16640 * malloc/memusage.sh: Fix quoting in message.
16641 * debug/xtrace.sh: Likewise.
16642
9113ea1f
UD
16643 * configure.in: Remove support for --experimental-malloc option, make
16644 it the default.
16645 * config.make.in: Likewise.
16646 * malloc/Makefile: Likewise.
16647
a4172181
AS
166482011-06-27 Andreas Schwab <schwab@redhat.com>
16649
16650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16651 two-byte characters.
16652
78a7eee7
RM
166532011-06-27 Roland McGrath <roland@hack.frob.com>
16654
62bede13
RM
16655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16656 AC_CACHE_CHECK invocation.
16657 * configure: Regenerated.
16658
78a7eee7
RM
16659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16660
5ce33a62
UD
166612011-06-27 Ulrich Drepper <drepper@gmail.com>
16662
034807a9
UD
16663 [BZ #12350]
16664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16665 bit from old_res_options.
16666
4902da17
UD
16667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16668
5ce33a62
UD
16669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16670 value type for setfct.
16671
c2344f56
L
166722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16675 __gettimeofday instead of gettimeofday.
16676
68468076
UD
166772011-06-26 Ulrich Drepper <drepper@gmail.com>
16678
16679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16680
acb0d739
L
166812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16682
16683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16684
16685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16686 info.
16687
8912479f
L
166882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16689
16690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16692 strcpy-sse2-unaligned strncpy-sse2-unaligned
16693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16703 (STRCPY): Support SSE2 and SSSE3 versions.
16704
d5495a11
UD
167052011-06-24 Ulrich Drepper <drepper@gmail.com>
16706
16707 [BZ #12874]
16708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16710 kernels which artificially limit size of requests.
16711
0b1cbaae
L
167122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16713
16714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16730 Enable unaligned load optimization for Intel Core i3, i5 and i7
16731 processors.
16732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16733 Define.
16734 (index_Fast_Unaligned_Load): Define.
16735 (HAS_FAST_UNALIGNED_LOAD): Define.
16736
07f494a0
MP
167372011-06-23 Marek Polacek <mpolacek@redhat.com>
16738
16739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16740
fa3fc0fe
UD
167412011-06-22 Ulrich Drepper <drepper@gmail.com>
16742
16743 [BZ #12907]
16744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16745 until it is clear that the information is realy needed.
16746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16747
e12df166
AS
167482011-06-22 Andreas Schwab <schwab@redhat.com>
16749
16750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16751
852eb34d
UD
167522011-06-22 Ulrich Drepper <drepper@gmail.com>
16753
84e2a551
UD
16754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16755 /sys/devices/system/cpu/online if it is usable.
16756
852eb34d
UD
16757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16758 reading the information from the /proc filesystem to once a second.
16759
6e502e19
UD
167602011-06-21 Andreas Jaeger <aj@suse.de>
16761
16762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16763 NULL after inclusion of kernel headers.
16764
75d39ff2
UD
167652011-06-21 Ulrich Drepper <drepper@gmail.com>
16766
51f9aa6a
UD
16767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16768 calls to internal_setent.
16769
c0244a9d
UD
16770 [BZ #12885]
16771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16772 addresses using gethostbyname4_r ignore IPv4 addresses.
16773
c5e3c2ae
UD
16774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16776
75d39ff2
UD
16777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16778
42675c6f
DM
167792011-06-20 David S. Miller <davem@davemloft.net>
16780
16781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16782 inclusions.
16783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16784
16785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16786 (elf_irel): Use it.
16787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16791 * sysdeps/x86_64/dl-irel.h: Likewise.
16792
16793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16794 * elf/dl-sym.c: Likewise.
16795
57912a71
UD
167962011-06-15 Ulrich Drepper <drepper@gmail.com>
16797
16798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16799 need to dereference resplen2.
16800
ee22793d
AS
168012011-06-14 Andreas Schwab <schwab@redhat.com>
16802
16803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16804
a9e836b0
UD
168052011-06-15 Ulrich Drepper <drepper@gmail.com>
16806
77fb9117
UD
16807 * Makeconfig: Define vardbdir and inst_vardbdir.
16808 * nss/Makefile: Add rules to install db-Makefile.
16809
40c1b22c
UD
16810 * nss/nss_db/db-XXX.c: Cleanup.
16811
9f2da732
UD
16812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16814 GLIBC_PRIVATE.
16815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16816 * nss/makedb.c: Implement -g option to specify that value strings
16817 are generated and should not be added to table iterated over for
16818 get*ent calls.
16819 * nss/nss_db/db-initgroups.c: New file.
16820
82e9a1f7
UD
16821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16822 interface.
16823
c41af17e
UD
16824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16825 (internal_getgrouplist): Adjust to name change.
16826 Update use_initgroups_entry if this is not the first call.
16827 * nss/databases.def: Add initgroups entry.
16828
a9e836b0
UD
16829 * nss/makedb.c (compute_tables): Check result of multiple hash table
16830 sizes to minimize maximum chain length.
16831
2666d441
UD
168322011-06-14 Ulrich Drepper <drepper@gmail.com>
16833
16834 * Versions.def: Add entry for libnss_db.
16835 * shlib-versions: Likewise.
16836 * nss/Makefile: Add rules to build libnss_db.
16837 * nss/Versions: Add libnss_db information. Organize libnss_files
16838 entries better.
16839 * nss/db-Makefile: Add gshadow support. Change rules for the new
16840 makedb progra. Some minor improvements to generate smaller files.
16841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16842 here from...
16843 * nss/makedb.c: ...here.
16844 Improve database format to be smaller and require less memory at
16845 runtime.
16846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16847 db anymore.
16848 * nss/nss_db/db-netgrp.c: Likewise.
16849 * nss/nss_db/db-open.c: Likewise.
16850 * nss/nss_files/flies-XXX.x: Adjust comments.
16851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16852 * nss/nss_files/files-grp.c: Likewise.
16853 * nss/nss_files/files-hosts.c: Likewise.
16854 * nss/nss_files/files-network.c: Likewise.
16855 * nss/nss_files/files-proto.c: Likewise.
16856 * nss/nss_files/files-pwd.c: Likewise.
16857 * nss/nss_files/files-rpc.c: Likewise.
16858 * nss/nss_files/files-service.c: Likewise.
16859 * nss/nss_files/files-sgrp.c: Likewise.
16860 * nss/nss_files/files-spwd.c: Likewise.
16861 * nss/nss_db/db-alias.c: Removed.
16862 * nss/nss_db/dummy-db.h: Removed.
16863
9ee76b5a
UD
168642011-06-02 Ulrich Drepper <drepper@gmail.com>
16865
16866 * nss/makedb.c: Rewritten to not use database library.
16867 * nss/Makefile: Update to build new makedb program.
16868
c71ca1f8
AJ
168692011-06-14 Andreas Jaeger <aj@suse.de>
16870
16871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16872 memset declaration.
16873
3154bfb8
UD
168742011-06-10 Andreas Schwab <schwab@redhat.com>
16875
16876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16877 tmpbuf.
16878
b350afab
RM
168792011-06-10 Roland McGrath <roland@hack.frob.com>
16880
decd4e50
RM
16881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16882 * elf/Makefile ($(objpfx)ld.so): Likewise.
16883
5615eaf2
RM
16884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16885 Don't list ld.so twice in dependencies.
16886
16887 * posix/bug-regex31.c: Include <stdlib.h>.
16888
16889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16890
16891 * nis/nss_compat/compat-spwd.c
16892 (getspent_next_nss_netgr): Remove unused variable.
16893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16894
16895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16896 nonmembers" output to use the right array.
16897
16898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16899
16900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16901
16902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16904 * catgets/gencat.c (read_input_file): Likewise.
16905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16906
16907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16908 variable definition inside #if's controlling its use.
16909
16910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16911
16912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16913
16914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16915
16916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16917 unreachable code.
16918
16919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16920
b68e08db
RM
16921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16922 * configure: Regenerated.
16923
b350afab
RM
16924 * Makerules: Revert last change.
16925 * elf/Makefile: Likewise.
16926
28368601
RM
169272011-06-09 Roland McGrath <roland@hack.frob.com>
16928
16929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16931 (reloc-link): Likewise.
16932
11988f8f
UD
169332011-06-09 Ulrich Drepper <drepper@gmail.com>
16934
16935 * elf/Makefile: Add rules to build pldd.
16936 * elf/pldd.c: New file.
16937 * elf/pldd-xx.c: New file.
16938
e80fab37
UD
169392011-06-07 Ulrich Drepper <drepper@gmail.com>
16940
16941 * version.h: Update for 2.15 development version.
16942
9b849836
DM
169432011-06-07 David S. Miller <davem@davemloft.net>
16944
16945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16946 ifuncs.
16947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16948 elf_machine_lazy_rel): Likewise.
16949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16951 elf_machine_lazy_rel): Likewise.
16952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16953 dl_hwcap via passed in argument.
16954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16955 Likewise.
16956
5a31b283
AK
169572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16958
16959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16960
069e52f8
RM
169612011-06-06 Roland McGrath <roland@hack.frob.com>
16962
16963 [BZ #12849]
16964 * manual/fdl-1.1.texi: New file, verbatim from:
16965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16966 * manual/lgpl-2.1.texi: New file, verbatim from:
16967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16968 * manual/Makefile (licenses): New variable, list those new file names.
16969 (texis): Use it.
16970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16971
16972 * manual/fdl.texi: File removed.
16973 * manual/lesser.texi: File removed.
16974 * manual/libc.texinfo (Copying, Documentation License):
16975 Use new @include file names, put @appendix directive before @include.
16976
f16846a5
JJ
169772011-06-04 Jakub Jelinek <jakub@redhat.com>
16978
16979 [BZ #12841]
16980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16982 (mq_open): Add __NTH.
16983
3d29045b
L
169842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16985
16986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16987 Assume Intel Core i3/i5/i7 processor if AVX is available.
16988
8c297311
UD
169892011-05-31 Ulrich Drepper <drepper@gmail.com>
16990
16991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16992 typo.
16993
c8fc0c91
UD
169942011-05-31 Andreas Schwab <schwab@redhat.com>
16995
16996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16997 memory. Use alloca_account. Fix memory leak when retrying.
16998
5b27a807
UD
169992011-05-31 Ulrich Drepper <drepper@gmail.com>
17000
356f8bc6
UD
17001 * version.h (RELEASE): Bump for 2.14 release.
17002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17003
5b27a807
UD
17004 * config.make.in (RANLIB): Remove entry.
17005
01f16ab0
UD
170062011-05-30 Ulrich Drepper <drepper@gmail.com>
17007
41fce8bd
UD
17008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17009 (libc.pot): Work around missing support for .ksh extension in xgettext.
17010
4769ae77
UD
17011 [BZ #12684]
17012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17013 if both request failed.
17014 (send_dg): In case of server errors clear resplen or *resplen2.
17015
6b1e7d19
UD
17016 [BZ #12454]
17017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17018 when there are multiple maps.
17019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17020 (_dl_fini): Remove test here.
17021
01f16ab0
UD
17022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17023
b1ebd700
UD
170242011-05-29 Ulrich Drepper <drepper@gmail.com>
17025
7ae22829
UD
17026 [BZ #12350]
17027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17028 bit from old_res_options.
17029 (gaih_inet): Likewise.
17030
553149f6 17031 [BZ #11099]
18a84741 17032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17033 as signed.
17034
652ffab1
UD
17035 * resolv/res_init.c (res_setoptions): Make the code more compact.
17036
16985fd0
UD
17037 [BZ #11558]
17038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17039 set RES_USEVC.
17040
0464f746
UD
17041 [BZ #11634]
17042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17043
7d17596c
UD
17044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17045
cf6bbbd7
UD
17046 [BZ #11781]
17047 * malloc/malloc.h: Declare malloc hook variables as volatile.
17048
13f1ab36
UD
17049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17050 in last patch.
17051
b1ebd700
UD
17052 [BZ #11799]
17053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17054 raise in the comment.
80e2212d
UD
17055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17058
ce67228d
UD
170592011-05-28 Ulrich Drepper <drepper@gmail.com>
17060
8887a920
UD
17061 [BZ #12811]
17062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17063 grow the buffers more if it already has to be sufficient.
17064 (build_wcs_upper_buffer): Likewise.
17065 * posix/regexec.c (check_matching): Likewise.
17066 (clean_state_log_if_needed): Likewise.
17067 (extend_buffers): Don't enlarge buffers beyond size of the input
17068 buffer.
17069 Patches mostly by Emil Wojak <emil@wojak.eu>.
17070 * posix/bug-regex32.c: New file.
17071 * posix/Makefile (tests): Add bug-regex32.
17072
4f031072
UD
17073 * locale/findlocale.c (_nl_find_locale): Return right away if
17074 _nl_explode_name failed.
17075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17076
d0478f0c
UD
17077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17078
de81b246
UD
17079 * debug/xtrace.sh: Unify messages.
17080 * malloc/memusage.sh: Likewise.
17081
c738465a
UD
17082 [BZ #12813]
17083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17084 time symbol from vDSO. Substitute with vsyscall if not available.
17085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17086 __vdso_time.
17087
f1f929d7
UD
17088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17091 Add sendmmsg and internal_sendmmsg.
17092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17095
ce67228d
UD
17096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17099
e57420c6
UD
171002011-05-27 Ulrich Drepper <drepper@gmail.com>
17101
a8509ca5
UD
17102 [BZ #12813]
17103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17105 available.
17106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17107 __vdso_getcpu.
17108
e57420c6
UD
17109 [BZ #12814]
17110 * iconvdata/Makefile (tests): Add bug-iconv9.
17111 * iconvdata/bug-iconv9.c: New file.
17112
4d07db15
AS
171132011-05-27 Andreas Schwab <schwab@redhat.com>
17114
17115 [BZ #12814]
17116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17117
ea486f69
JJ
171182011-05-25 Jakub Jelinek <jakub@redhat.com>
17119
17120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17121 (struct user_regs_struct): Change intcs field back to cs.
17122
6f038433
UD
171232011-05-25 Ulrich Drepper <drepper@gmail.com>
17124
17125 * po/ja.po: Update from translation team.
17126
67f86a25
UD
171272011-05-23 Ulrich Drepper <drepper@gmail.com>
17128
17129 [BZ #12795]
17130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17132
def7fbd6
AS
171332011-05-20 Andreas Schwab <schwab@redhat.com>
17134
17135 * stdlib/longlong.h: Update from GCC.
17136
f50ef8f1
AS
171372011-05-23 Andreas Schwab <schwab@redhat.com>
17138
17139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17140 parameter name.
17141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17142 Add parameter name.
17143 (__sysconf): Pass it down.
17144
de7ce8f1
UD
171452011-05-22 Ulrich Drepper <drepper@gmail.com>
17146
f2962a71
UD
17147 [BZ #12671]
17148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17149 some situations.
17150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17152 add in in __libc_use_alloca calls. Adjust callers.
17153 (glob): Use malloc in some situations.
17154
de7ce8f1
UD
17155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17157 pltexit.
17158
aec84f53
UD
171592011-05-21 Ulrich Drepper <drepper@gmail.com>
17160
05bb4a68
UD
17161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17162 and CLOCK_BOOTTIME_ALARM.
17163
7ea72f99
UD
17164 [BZ #12782]
17165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17166 is returned.
17167
7e4afad5
UD
17168 * string/_strerror.c (__strerror_r): Print negative errors as signed
17169 numbers.
17170
8e211fec
UD
17171 [BZ #12777]
17172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17175
f7d82dc9
UD
17176 * configure.in: Fix typo in redirection and correct removal of test
17177 files in two cases.
17178
cc9e536d
UD
17179 [BZ #12788]
17180 * locale/setlocale.c (new_composite_name): Fix test to check for
17181 identical name of all categories.
17182
aec84f53
UD
17183 [BZ #12792]
17184 * libio/filedoalloc.c (local_isatty): New function.
17185 (_IO_file_doallocate): Use local_isatty.
17186 * stdio-common/perror.c (perror): In case a new stream is used
17187 forward the stream error.
17188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17189 error flag.
17190
78e64fdc
RT
171912011-05-20 Ulrich Drepper <drepper@gmail.com>
17192
34a9094f
UD
17193 [BZ #11869]
17194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17195 alloca.
17196 * include/alloca.h (extend_alloca_account): Define.
17197
78e64fdc
RT
17198 [BZ #11857]
17199 * posix/regex.h: Fix comments with documentation of user-accessible
17200 fields after compilation and describe correct free'ing of pattern
17201 after re_compile_pattern.
17202 Patch by Reuben Thomas <rrt@sc3d.org>.
17203
457bddfc
RA
172042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17205
17206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17207 and -mno-altivec to prevent the compiler from using Altivec and/or
17208 VSX instructions when the corresponding registers are not available.
17209
a4527b51
AS
172102011-05-19 Andreas Schwab <schwab@redhat.com>
17211
17212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17213
ed690b2f
UD
172142011-05-19 Ulrich Drepper <drepper@gmail.com>
17215
17216 * libio/freopen.c (freopen): Use __dup2, not dup2.
17217 * libio/freopen64.c (freopen64): Likewise.
17218
8db73634
L
172192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17220
17221 [BZ #12775]
17222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17223 * math/Makefile (tests): Add test-powl.
17224 (CFLAGS-test-powl.c): Define.
17225 * math/test-powl.c: New file.
17226
0a197a9d
L
172272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17228
17229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17230
ee30c380
UD
172312011-05-17 Ulrich Drepper <drepper@gmail.com>
17232
17233 [BZ #11837]
17234 * iconvdata/gb18030.c: Update to GB18020-2005.
17235
6ce75379
UD
172362011-05-16 Ulrich Drepper <drepper@gmail.com>
17237
a4b89fd8
AR
17238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17240 Patch by Aharon Robbins <arnold@skeeve.com>.
17241
ea389b12
UD
17242 [BZ #11892]
17243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17244 on the stack.
17245
68a3f91f
UD
17246 [BZ #11895]
17247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17248 through underflows.
17249
15cc7dd1
UD
17250 [BZ #12766]
17251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17252 point to strings before performing equality test for error_one_per_line
17253 mode.
17254
f3799213
UD
17255 [BZ #11697]
17256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17257
d79a9c94
UD
17258 [BZ #11820]
17259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17260 (struct user_fpregs_struct): Avoid __uint*_t types.
17261
56e5eb46
UD
17262 [BZ #6420]
17263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17264 symbol info. Use it instead of calling _dl_addr locally.
17265 (lock_and_info): New function.
17266 (tr_freehook): Call lock_and_info and pass symbol info as additional
17267 parameter to tr_where.
17268 (tr_mallochook): Likewise.
17269 (tr_reallochook): Likewise.
17270 (tr_memalignhook): Likewise.
17271
6ce75379
UD
17272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17273 used and couldn't be at all thread-safe.
17274
f8a3b5bf
UD
172752011-05-15 Ulrich Drepper <drepper@gmail.com>
17276
94b7cc37
UD
17277 * libio/freopen.c (freopen): Don't close old file descriptor
17278 before the new one is opened. Instead dup the new file descriptor
17279 to the old one after the new stream is created.
17280 * libio/freopen64.c (freopen64): Likewise.
17281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17282 * libio/fileops.c (_IO_new_file_close_it): Handle new
17283 _IO_FLAGS2_NOCLOSE flag.
17284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17287 _IO_FLAGS2_NOCLOSE flag.
17288 * include/unistd.h: Add hidden_proto for dup3.
17289 Define __have_dup3.
17290 * io/dup3.c: Define hidden symbol.
17291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17292
bd25564e
UD
17293 [BZ #7101]
17294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17295 when an incomplete long option is used.
17296 * posix/tst-getopt_long1.c: New file.
17297 * posix/Makefile (tests): Add tst-getopt_long1.
17298
c84cfef4
UD
17299 [BZ #10138]
17300 * scripts/config.guess: Update from autoconf-2.68.
17301 * scripts/config.sub: Likewise.
17302
3b85df27
UD
17303 [BZ #10157]
17304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17305 tests into ...
17306 (has_cpuclock): ...this. New function.
17307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17308 macro here based on has_cpuclock code.
17309
15a856b1
UD
17310 [BZ #10149]
17311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17312 First byte (not low byte) is now always NUL.
17313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17314
05f399e6
UD
17315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17316 Use non-cancelable interfaces.
17317
10a52685 17318 [BZ #9809]
94ecc67d
UD
17319 * locale/iso-639.def: Add entry for Sorani.
17320
f8a3b5bf
UD
17321 [BZ #11901]
17322 * include/stdlib.h: Move include protection to the right place.
17323 Define abort_msg_s. Declare __abort_msg with it.
17324 * stdlib/abort.c (__abort_msg): Adjust type.
17325 * assert/assert.c (__assert_fail_base): New function. Majority
17326 of code from __assert_fail. Allocate memory for __abort_msg with
17327 mmap.
17328 (__assert_fail): Now call __assert_fail_base.
17329 * assert/assert-perr.c: Remove bulk of implementation. Use
17330 __assert_fail_base.
17331 * include/assert.hL Declare __assert_fail_base.
17332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17333 mmap.
17334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17335
1af4e298
UD
173362011-05-14 Ulrich Drepper <drepper@gmail.com>
17337
f8a3b5bf 17338 [BZ #11952]
d26dfc60
MG
17339 [BZ #12453]
17340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17341 until all modules are registered in the DTV.
17342 * elf/Makefile: Add rules to build and run tst-tls19.
17343 * elf/tst-tls19.c: New file.
17344 * elf/tst-tls19mod1.c: New file.
17345 * elf/tst-tls19mod2.c: New file.
17346 * elf/tst-tls19mod3.c: New file.
17347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17348
2fc54d6f
UD
17349 [BZ #12083]
17350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17351 correctly.
17352
98d76b46
UD
17353 [BZ #12601]
17354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17355 two-byte sequence errors.
17356 * iconvdata/Makefile (tests): Add bug-iconv8.
17357 * iconvdata/bug-iconv8.c: New file.
17358
da3c19ef
UD
17359 [BZ #12626]
17360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17361 buf2 definition.
17362
ca408c15
UD
17363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17364
d6f67f7d
UD
17365 [BZ #12432]
17366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17367 (dummy_getcfa): New function.
17368 (init): Get _Unwind_GetCFA address, use dummy if not found.
17369 (backtrace_helper): In recursion check, also check whether CFA changes.
17370 (__backtrace): Completely initialize arg.
17371
1af4e298 17372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17373 storing incomplete byte sequence in state object. Avoid testing for
17374 guaranteed too small input if we know there is enough data available.
1af4e298 17375
da62f81b
AS
173762011-05-11 Andreas Schwab <schwab@redhat.com>
17377
17378 * Makeconfig (+link-pie): Indent.
17379 * Rules (binaries-pie): Define if $(have-fpie) and
17380 $(build-shared).
17381 (binaries-shared): Also filter out $(binaries-pie).
17382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17383 * nscd/Makefile (others-pie): Add nscd.
17384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17385 ($(objpfx)nscd): Remove command override.
17386 * login/Makefile (others-pie): Add pt_chown.
17387 ($(objpfx)pt_chown): Remove command override.
17388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17389 remove command overrides.
17390
fcabc0f8
UD
173912011-05-13 Ulrich Drepper <drepper@gmail.com>
17392
20030ae6
UD
17393 * libio/tst_putwc.c: Fix error messages.
17394
fcabc0f8
UD
17395 [BZ #12724]
17396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17397 currently writing and seek to current position when not.
17398 * libio/Makefile (tests): Add bug-fclose1.
17399 * libio/bug-fclose1.c: New file.
17400
320a5dc0
PB
174012011-05-12 Ulrich Drepper <drepper@gmail.com>
17402
17403 [BZ #12511]
17404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17405 don't set DF_1_NODELETE here.
17406 (do_lookup_x): When entering new entry test for copy relocation
17407 and if necessary set DF_1_NODELETE flag.
17408 * elf/tst-unique4.cc: New file.
17409 * elf/tst-unique4.h: New file.
17410 * elf/tst-unique4lib.cc: New file.
17411 * elf/Makefile: Add rules to build and run tst-unique4.
17412 Patch by Piotr Bury <pbury@goahead.com>.
17413
22836f52
UD
174142011-05-11 Ulrich Drepper <drepper@gmail.com>
17415
f574184a
UD
17416 [BZ #12052]
17417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17418
e1fb097f
UD
17419 [BZ #12625]
17420 * misc/mntent_r.c (addmntent): Flush the stream after the output
17421
22836f52
UD
17422 [BZ #12393]
17423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17424 (is_trusted_path_normalize): Skip initial colon. Append slash
17425 to empty buffer. Duplicate is_trusted_path code but allow
17426 constructed patch to be prefix.
17427 (is_dst): Allow $ORIGIN followed by /.
17428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17429 Correct testing of result of is_trusted_path_normalize
17430 (decompose_rpath): Fix warning.
17431
7b3b0b2a
UD
174322011-05-10 Ulrich Drepper <drepper@gmail.com>
17433
17434 [BZ #11257]
17435 * grp/initgroups.c (internal_getgrouplist): When we found the service
17436 list through the initgroups entry in nsswitch.conf do not always
17437 continue on a successful lookup. Don't always use the
eac80ce2 17438 __nss_group_database value if it is set.
7b3b0b2a
UD
17439 * nss/nsswitch.conf (initgroups): Change action for successful db
17440 lookup to continue for compatibility.
17441
2a81eaa5
UD
174422011-05-09 Ulrich Drepper <drepper@gmail.com>
17443
be97a69e
UD
17444 [BZ #11532]
17445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17446 and CP774 modules.
17447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17448 and CP774 modules.
17449 * iconvdata/tst-tables.sh: Likewise.
17450 * iconvdata/cp770.c: New file.
17451 * iconvdata/cp771.c: New file.
17452 * iconvdata/cp772.c: New file.
17453 * iconvdata/cp773.c: New file.
17454 * iconvdata/cp774.c: New file.
17455 * iconvdata/testdata/CP770: New file.
17456 * iconvdata/testdata/CP770..UTF8: New file.
17457 * iconvdata/testdata/CP771: New file.
17458 * iconvdata/testdata/CP771..UTF8: New file.
17459 * iconvdata/testdata/CP772: New file.
17460 * iconvdata/testdata/CP772..UTF8: New file.
17461 * iconvdata/testdata/CP773: New file.
17462 * iconvdata/testdata/CP773..UTF8: New file.
17463 * iconvdata/testdata/CP774: New file.
17464 * iconvdata/testdata/CP774..UTF8: New file.
17465
17466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17467 END CHARMAP line.
17468 * iconvdata/gen-8bit-gap.sh: Likewise.
17469 * iconvdata/gen-8bit.sh: Likewise.
17470
c1e9e399
UD
17471 * locale/iso-639.def: Add ary entry.
17472
24c55fb3 17473 [BZ #11258]
96b4b1b0
UD
17474 * locale/C-translit.h.in: Add U20A1 transliteration.
17475
bdc2f971
KB
17476 [BZ #12178]
17477 * locale/iso-639.def: Add wae entry.
17478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17479
2952b117
UD
17480 [BZ #12545]
17481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17482 for n.
17483
2a81eaa5
UD
17484 [BZ #12711]
17485 * locale/C-translit.h.in: Add entry for U20B9.
17486 Patch by pravin.d.s@gmail.com.
17487
28377d1b
UD
174882011-05-08 Ulrich Drepper <drepper@gmail.com>
17489
7fb90fb8
UD
17490 [BZ #12713]
17491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17492 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17494 in rtld. Use *stat64.
7fb90fb8 17495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17502 __fstatat64 macros.
7fb90fb8
UD
17503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17504 * dirent/rewinddir.c: Add libc_hidden_def.
17505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17507
28377d1b
UD
17508 * include/dirent.h (__alloc_dir): Add flags parameter.
17509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17511 __alloc_dir.
17512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17513 from fdopendir if O_CLOEXEC is already set.
17514
66bdbaa4
AM
175152011-03-15 Alan Modra <amodra@gmail.com>
17516
17517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17518 l_tls_firstbyte_offset non-zero. Save padding offset in
17519 l_tls_firstbyte_offset for later use.
17520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17521 freeing static tls block.
17522
95721191
JN
175232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17524
17525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17526 where #ifdef was intended. The intent is to prevent ARG_MAX from
17527 being defined by the kernel headers.
17528
f87dfb1f
UD
175292011-05-07 Ulrich Drepper <drepper@gmail.com>
17530
17531 [BZ #12734]
17532 * resolv/resolv.h: Define RES_NOTLDQUERY.
17533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17534 no-tld-query and set RES_NOTLDQUERY.
17535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17537 modern BIND to search name as TLD unless forbidden.
17538
47c3cd7a
UD
175392011-05-07 Petr Baudis <pasky@suse.cz>
17540 Ulrich Drepper <drepper@gmail.com>
17541
17542 [BZ #12393]
17543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17544 (is_trusted_path): ...to here.
c1e9ea35 17545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17547 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17548
8a35c912
PP
175492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17550
17551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17552 __BEGIN/__END_DECLS.
17553
acd41f47
UD
175542011-05-06 Ulrich Drepper <drepper@gmail.com>
17555
17556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17557 NSS_STATUS_NOTFOUND if no record was found.
17558
597df647
AS
175592011-05-05 Andreas Schwab <schwab@redhat.com>
17560
17561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17562 (headers-not-in-tirpc): Remove rpc/netdb.h
17563 * resolv/netdb.h: Revert last change.
17564
b9af1301
PP
175652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17566
17567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17568 circular dependency between libgcc.a and libc.a.
17569
4e34d5f5
AS
175702011-05-05 Andreas Schwab <schwab@redhat.com>
17571
17572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17573 * nis/Makefile: Don't install rpcsvc/*.
17574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17575 instead of <rpc/types.h>.
17576 (MAXHOSTNAMELEN): Define.
17577
00ee369c
AS
175782011-05-03 Andreas Schwab <schwab@redhat.com>
17579
17580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17581
0b592a30
MB
175822011-04-28 Maciej Babinski <mbabinski@google.com>
17583
17584 [BZ #12714]
17585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17586 gethostbyname4_r when IPv6 results are possible.
17587
6e04cbbe
UD
175882011-05-02 Ulrich Drepper <drepper@gmail.com>
17589
17590 [BZ #12723]
17591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17592 _PC_PIPE_BUF handling.
17593
e4ecafe0
BH
175942011-04-30 Bruno Haible <bruno@clisp.org>
17595
17596 [BZ #12717]
17597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17599 to 'int'.
17600 * inet/getnameinfo.c (getnameinfo): Likewise.
17601
125ee683
UD
176022011-04-29 Ulrich Drepper <drepper@gmail.com>
17603
17604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17605 to groups setting in database lookup.
17606 * nss/nsswitch.conf: Add initgroups entry.
17607
b722481a
EB
176082011-04-22 Ulrich Drepper <drepper@gmail.com>
17609
17610 [BZ #12685]
17611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17612 mode string.
17613 Patch by Eric Blake <eblake@redhat.com>.
17614
4df46dbd
L
176152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 * sunrpc/Makefile (need-export-routines): Add svc_run.
17618 (routines): Remove svc_run.
17619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17621 * sunrpc/svc_run.c (svc_run): Likewise.
17622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17623
e84142d2
UD
176242011-04-21 Ulrich Drepper <drepper@gmail.com>
17625
17626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17627 problem in reallocation in last patch.
17628
877175d8
UD
176292011-04-20 Ulrich Drepper <drepper@gmail.com>
17630
17631 * sunrpc/Makefile: Move inclusion of Rules.
17632
ab8eed78
UD
176332011-04-19 Ulrich Drepper <drepper@gmail.com>
17634
17635 * nss/nss_files/files-initgroups.c: New file.
17636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17638 _nss_files_initgroups_dyn.
17639
e3d8f584
RS
176402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17641
17642 * elf/elf.h (R_ARM_IRELATIVE): Define.
17643
af190f45
UD
176442011-04-19 Ulrich Drepper <drepper@gmail.com>
17645
17646 * po/ru.po: Update from translation team.
17647
53cf59ef
UD
176482011-04-17 Ulrich Drepper <drepper@gmail.com>
17649
17650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17651 dependencies.
17652
4c559bcd
MF
176532011-02-06 Mike Frysinger <vapier@gentoo.org>
17654
17655 [BZ #12653]
17656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17661
4420675c
AS
176622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17663
17664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17665 differing bytes.
17666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17669
75ea32ab
UD
176702011-04-17 Ulrich Drepper <drepper@gmail.com>
17671
17672 [BZ #12420]
17673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17674 storing it.
17675 * stdlib/bug-getcontext.c: New file.
17676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17677
27390476
AK
176782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17679
17680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17681 instructions into .machine "z9-109".
17682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17684
10442705
AK
176852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17686
17687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17688 between environment variables and auxiliary vector.
17689
7b57bfe5
UD
176902011-04-16 Ulrich Drepper <drepper@gmail.com>
17691
17692 * Makefile: Add rules to build linkobj/libc.so.
17693 * include/libc-symbols.h: Define libc_hidden_nolink.
17694 * include/rpc/auth.h: Mark functions which are to be hidden.
17695 * include/rpc/auth_des.h: Likewise.
17696 * include/rpc/auth_unix.h: Likewise.
17697 * include/rpc/clnt.h: Likewise.
17698 * include/rpc/des_crypt.h: Likewise.
17699 * include/rpc/key_prot.h: Likewise.
17700 * include/rpc/pmap_clnt.h: Likewise.
17701 * include/rpc/pmap_prot.h: Likewise.
17702 * include/rpc/pmap_rmt.h: Likewise.
17703 * include/rpc/rpc_msg.h: Likewise.
17704 * include/rpc/svc.h: Likewise.
17705 * include/rpc/svc_auth.h: Likewise.
17706 * include/rpc/xdr.h: Likewise.
17707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17708 * nss/Makefile: Likewise.
17709 * sunrpc/Makefile: Don't install headers. Build library with normal
17710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17712 for the compat linking library. Remove use of INTDEF/INTUSE.
17713 * sunrpc/auth_none.c: Likewise.
17714 * sunrpc/auth_unix.c: Likewise.
17715 * sunrpc/authdes_prot.c: Likewise.
17716 * sunrpc/authuxprot.c: Likewise.
17717 * sunrpc/clnt_gen.c: Likewise.
17718 * sunrpc/clnt_perr.c: Likewise.
17719 * sunrpc/clnt_raw.c: Likewise.
17720 * sunrpc/clnt_simp.c: Likewise.
17721 * sunrpc/clnt_tcp.c: Likewise.
17722 * sunrpc/clnt_udp.c: Likewise.
17723 * sunrpc/clnt_unix.c: Likewise.
17724 * sunrpc/des_crypt.c: Likewise.
17725 * sunrpc/des_soft.c: Likewise.
17726 * sunrpc/get_myaddr.c: Likewise.
17727 * sunrpc/key_call.c: Likewise.
17728 * sunrpc/key_prot.c: Likewise.
17729 * sunrpc/netname.c: Likewise.
17730 * sunrpc/pm_getmaps.c: Likewise.
17731 * sunrpc/pm_getport.c: Likewise.
17732 * sunrpc/pmap_clnt.c: Likewise.
17733 * sunrpc/pmap_prot.c: Likewise.
17734 * sunrpc/pmap_prot2.c: Likewise.
17735 * sunrpc/pmap_rmt.c: Likewise.
17736 * sunrpc/publickey.c: Likewise.
17737 * sunrpc/rpc_cmsg.c: Likewise.
17738 * sunrpc/rpc_common.c: Likewise.
17739 * sunrpc/rpc_dtable.c: Likewise.
17740 * sunrpc/rpc_prot.c: Likewise.
17741 * sunrpc/rpc_thread.c: Likewise.
17742 * sunrpc/rtime.c: Likewise.
17743 * sunrpc/svc.c: Likewise.
17744 * sunrpc/svc_auth.c: Likewise.
17745 * sunrpc/svc_authux.c: Likewise.
17746 * sunrpc/svc_raw.c: Likewise.
17747 * sunrpc/svc_run.c: Likewise.
17748 * sunrpc/svc_simple.c: Likewise.
17749 * sunrpc/svc_tcp.c: Likewise.
17750 * sunrpc/svc_udp.c: Likewise.
17751 * sunrpc/svc_unix.c: Likewise.
17752 * sunrpc/svcauth_des.c: Likewise.
17753 * sunrpc/xcrypt.c: Likewise.
17754 * sunrpc/xdr.c: Likewise.
17755 * sunrpc/xdr_array.c: Likewise.
17756 * sunrpc/xdr_float.c: Likewise.
17757 * sunrpc/xdr_intXX_t.c: Likewise.
17758 * sunrpc/xdr_mem.c: Likewise.
17759 * sunrpc/xdr_rec.c: Likewise.
17760 * sunrpc/xdr_ref.c: Likewise.
17761 * sunrpc/xdr_sizeof.c: Likewise.
17762 * sunrpc/xdr_stdio.c: Likewise.
17763
e6c61494
UD
177642011-04-10 Ulrich Drepper <drepper@gmail.com>
17765
17766 [BZ #12650]
17767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17768 * sysdeps/ia64/dl-tls.h: Likewise.
17769 * sysdeps/powerpc/dl-tls.h: Likewise.
17770 * sysdeps/s390/dl-tls.h: Likewise.
17771 * sysdeps/sh/dl-tls.h: Likewise.
17772 * sysdeps/sparc/dl-tls.h: Likewise.
17773 * sysdeps/x86_64/dl-tls.h: Likewise.
17774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17775
34fe483e
AS
177762011-03-14 Andreas Schwab <schwab@redhat.com>
17777
17778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17779 rpath element also skip the following colon.
17780 (expand_dynamic_string_token): Add is_path parameter and pass
17781 down to DL_DST_REQUIRED and _dl_dst_substitute.
17782 (decompose_rpath): Call expand_dynamic_string_token with
17783 non-zero is_path. Ignore empty rpaths.
17784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17785 with zero is_path.
17786
f12a32e6
AS
177872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17788
17789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17790 Make cancelable.
17791
38a7d692
UD
177922011-04-09 Ulrich Drepper <drepper@gmail.com>
17793
17794 [BZ #12655]
17795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17796 Patch by Filipe David Manana <fdmanana@apache.org>.
17797
e451d22b
AS
177982011-04-07 Andreas Schwab <schwab@redhat.com>
17799
17800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17801 Maintain aligned stack.
17802 (CHECK_RSP): Remove unused macro.
17803
dedc7c7b
UD
178042011-04-03 Ulrich Drepper <drepper@gmail.com>
17805
17806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17808
94521213
UD
178092011-04-02 Ulrich Drepper <drepper@gmail.com>
17810
17811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17812
8cb700c0 17813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17814
0354e355
L
178152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17816
17817 [BZ #12518]
17818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17820 * sysdeps/x86_64/memmove.c: New file.
17821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17822 (memcpy): Renamed to ...
17823 (__new_memcpy): This.
17824 (memcpy): Provide GLIBC_2_14 memcpy.
17825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17826 (memcpy): Provide GLIBC_2_2_5 memcpy.
17827
8593482f
UD
178282011-04-01 Ulrich Drepper <drepper@gmail.com>
17829
17830 [BZ #12631]
17831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17832
81a5726b
AS
178332011-03-30 Andreas Schwab <schwab@redhat.com>
17834
17835 * misc/syncfs.c: New file.
17836 * misc/Makefile (routines): Add syncfs.
17837 * posix/unistd.h: Declare syncfs.
17838 * sysdeps/unix/syscalls.list: Add syncfs.
17839
00e5419f
AS
178402011-04-01 Andreas Schwab <schwab@redhat.com>
17841
17842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17843 open_by_handle_at.
17844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17851
748876bf
UD
178522011-04-01 Ulrich Drepper <drepper@gmail.com>
17853
658e451d
UD
17854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17861
748876bf
UD
17862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17863 sync_file_range.c with -fexceptions.
17864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17871 sync_file_range as cancellation point
17872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17873 now a wrapper around __call_sync_file_range with cancellation handling.
17874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17876 function name to __call_sync_file_range.
17877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17878 Add call_sync_file_range.
748876bf 17879
6e63d5e1
AS
178802011-04-01 Andreas Schwab <schwab@redhat.com>
17881
17882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17883 bits/timex.h.
6e63d5e1 17884
46998f74
UD
178852011-04-01 Ulrich Drepper <drepper@gmail.com>
17886
4c1423ed
UD
17887 * iconv/iconv.h: Fix typo in comment.
17888 * io/fcntl.h: Likewise.
17889 * libio/stdio.h: Likewise.
17890 * posix/spawn.h: Likewise.
17891 * posix/unistd.h: Likewise.
17892 * stdlib/stdlib.h: Likewise.
17893 * time/time.h: Likewise.
17894 * wcsmbs/wchar.h: Likewise.
17895
158648c0
UD
17896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17897 open_by_handle): Add.
17898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17900 Augment a few comments.
17901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17907 open_by_handle.
17908
46998f74
UD
17909 * io/fcntl.h (AT_EMPTY_PATH): Define.
17910
83fe108b
UD
179112011-03-30 Ulrich Drepper <drepper@gmail.com>
17912
17913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17916 to...
17917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17918 * Versions.def: Add GLIBC_2.14.
17919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17920 Export.
83fe108b 17921
bb242059
UD
179222011-03-22 Ulrich Drepper <drepper@gmail.com>
17923
17924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17925 round counter.
17926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17927
c97a1282
L
179282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 [BZ #12597]
17931 * string/test-strncmp.c (do_page_test): New function.
17932 (check2): Likewise.
17933 (test_main): Call check2.
17934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17935
2a115601
UD
179362011-03-20 Ulrich Drepper <drepper@gmail.com>
17937
17938 [BZ #12587]
17939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17940 Handle cache information in CPU leaf 4.
17941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17942
8126d904
UD
179432011-03-18 Ulrich Drepper <drepper@gmail.com>
17944
042c49c6 17945 [BZ #12583]
8126d904
UD
17946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17947 character representation.
17948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17949
ccfe366e
RA
179502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17951
17952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17953 END(__isnan) to END(__isnanf) to match function entry point/label
17954 EALIGN(__isnanf,...).
17955
c6e13027
JJ
179562011-03-10 Jakub Jelinek <jakub@redhat.com>
17957
17958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17959
33f85a3f
UD
179602011-03-10 Ulrich Drepper <drepper@gmail.com>
17961
028478fa
UD
17962 [BZ #12510]
17963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17964 copy from the symbol referenced in the relocation to initialize the
17965 used variable.
17966 Patch by Piotr Bury <pbury@goahead.com>.
17967 * elf/Makefile: Add rules to build and tst-unique3.
17968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17969 * elf/tst-unique3.cc: New file.
17970 * elf/tst-unique3.h: New file.
17971 * elf/tst-unique3lib.cc: New file.
17972 * elf/tst-unique3lib2.cc: New file.
17973
33f85a3f
UD
17974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17975
03592fc7
MF
179762011-03-10 Mike Frysinger <vapier@gentoo.org>
17977
17978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17980 to _start.
03592fc7 17981
6a5ee102
UD
179822011-03-06 Ulrich Drepper <drepper@gmail.com>
17983
17984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17985 to-be-loaded object along a path to loader is ld.so.
17986
7e4ba49c
HJ
179872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17988 Ulrich Drepper <drepper@gmail.com>
17989
17990 * sysdeps/x86_64/memset.S: After aligning destination, code
17991 branches to different locations depending on the value of
17992 misalignment, when multiarch is enabled. Fix this.
17993
179942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17995
17996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17997 Set _x86_64_preferred_memory_instruction for AMD processsors.
17998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17999 Set bit_Prefer_SSE_for_memop for AMD processors.
18000
13a804de
UD
180012011-03-04 Ulrich Drepper <drepper@gmail.com>
18002
18003 * libio/fmemopen.c (fmemopen): Optimize a bit.
18004
9d25c392
AS
180052011-03-03 Andreas Schwab <schwab@redhat.com>
18006
18007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18008
a5543c6a
RM
180092011-03-03 Roland McGrath <roland@redhat.com>
18010
18011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18012
012d35f7
DM
180132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18014
7e4ba49c 18015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18016 __bzero_ultra1 instead of __memset_ultra1.
18017
4bff6e01
AS
180182011-02-23 Andreas Schwab <schwab@redhat.com>
18019 Ulrich Drepper <drepper@gmail.com>
18020
18021 [BZ #12509]
18022 * include/link.h (struct link_map): Add l_orig_initfini.
18023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18024 returning unsuccessfully.
18025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18026 close of a file loaded at startup, restore the original l_initfini
18027 list.
18028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18029 list, store the pointer.
18030 * elf/Makefile ($(objpfx)noload-mem): New rule.
18031 (noload-ENV): Define.
18032 (tests): Add $(objpfx)noload-mem.
18033 * elf/noload.c: Include <memcheck.h>.
18034 (main): Call mtrace. Close all opened handles.
18035
f2092faf
AS
180362011-02-17 Andreas Schwab <schwab@redhat.com>
18037
18038 [BZ #12454]
18039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18040 dependencies are missing.
18041
6c8a2e88
ST
180422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18043
f2092faf 18044 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18045 Hurd needs munmap.
18046 * sysdeps/mach/hurd/ifreq.h: New file.
18047
84a42118
PB
180482011-01-27 Petr Baudis <pasky@suse.cz>
18049 Ulrich Drepper <drepper@gmail.com>
18050
071f805e 18051 [BZ 12445]#
84a42118
PB
18052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18053 to extend_alloca().
18054 * stdio-common/bug23.c: New file.
18055 * stdio-common/Makefile (tests): Add bug23.
18056
e23fe25b
AS
180572010-09-28 Andreas Schwab <schwab@redhat.com>
18058 Ulrich Drepper <drepper@gmail.com>
18059
18060 [BZ #12489]
18061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18062 before performing relro protection. At old place add assertion
18063 to make sure nothing changed.
18064
d3f02e10
NS
180652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18066 Glauber de Oliveira Costa <glommer@gmail.com>
18067
18068 * elf/elf.h: Add new ARM TLS relocs.
18069
d55fd7a5
RA
180702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18071
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18074 cast from r3.
18075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18076 'tests' variable.
18077 * sysdeps/wordsize-64/tst-writev.c: New file.
18078
2206397e
RA
180792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18080
18081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18083 insns in _dl_start to prevent a TOC reference before relocs are
18084 resolved.
18085
e9433893
UD
180862011-02-15 Ulrich Drepper <drepper@gmail.com>
18087
18088 [BZ #12469]
18089 * Makeconfig: Remove RANLIB definition.
18090 * Makerules: Don't use RANLIB.
18091 * aclocal.m4: Remove ranlib test.
18092 * configure.in: No need to check for ranlib.
18093 * elf/rtld-Rules: Don't use RANLIB.
18094
f75286c6
ST
180952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18096
8e31c82d
ST
18097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18098 protection macro.
18099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18100 inclusion protection macro.
18101
f75286c6
ST
18102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18103 SIGRTMIN and SIGRTMAX and print information in that case only when
18104 SIGRTMIN is defined.
18105
c1d0e639
JJ
181062011-02-11 Jakub Jelinek <jakub@redhat.com>
18107
18108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18109 arginfo fn returning -1.
18110
18111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18112 and thousands string is zero terminated.
18113
edf9294e
AS
181142011-02-03 Andreas Schwab <schwab@redhat.com>
18115
18116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18117 sysdeps/unix/sysv/linux/bits/socket.h.
18118
2b7e92df
ST
181192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18120
edf9294e
AS
18121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18122 (__CPU_COUNT): Remove old macros.
18123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18125 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18126 (__sched_cpualloc, __sched_cpufree): Add declarations.
18127
a4c7ea7b
UD
181282011-02-05 Ulrich Drepper <drepper@gmail.com>
18129
18130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18133 (readdhstai): Return value of addhstaiX call.
18134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18135 (addgrbyX): Return value returned by cache_addgr.
18136 (readdgrbyname): Return value returned by addgrbyX.
18137 (readdgrbygid): Likewise.
18138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18139 (addpwbyX): Return value returned by cache_addpw.
18140 (readdpwbyname): Return value returned by addhstbyX.
18141 (readdpwbyuid): Likewise.
18142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18143 (addservbyX): Return value returned by cache_addserv.
18144 (readdservbyname): Return value returned by addservbyX:
18145 (readdservbyport): Likewise.
18146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18147 (addhstbyX): Return value returned by cache_addhst.
18148 (readdhstbyname): Return value returned by addhstbyX.
18149 (readdhstbyaddr): Likewise.
18150 (readdhstbynamev6): Likewise.
18151 (readdhstbyaddrv6): Likewise.
18152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18153 (readdinitgroups): Return value returned by addinitgroupsX.
18154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18155 (prune_cache): Keep track of timeout value of re-added entries.
18156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18157 * nscd/nscd.h: Adjust prototypes of readd* functions.
18158
a0bf67cc
RM
181592011-02-04 Roland McGrath <roland@redhat.com>
18160
18161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18162 (nis_stats): Likewise.
18163 * nis/nis_modify.c (nis_modify): Likewise.
18164 * nis/nis_remove.c (nis_remove): Likewise.
18165 * nis/nis_add.c (nis_add): Likewise.
18166
18167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18168
18169 * posix/fnmatch_loop.c: Add some consts.
18170
18171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18172
435b95eb
L
181732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 [BZ #12460]
18176 * config.make.in (config-cflags-novzeroupper): Define.
18177 * configure.in: Substitute libc_cv_cc_novzeroupper.
18178 * elf/Makefile (AVX-CFLAGS): Define.
18179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18180 (CFLAGS-tst-auditmod4a.c): Likewise.
18181 (CFLAGS-tst-auditmod4b.c): Likewise.
18182 (CFLAGS-tst-auditmod6b.c): Likewise.
18183 (CFLAGS-tst-auditmod6c.c): Likewise.
18184 (CFLAGS-tst-auditmod7b.c): Likewise.
18185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18186
8517b15e
UD
181872011-02-02 Ulrich Drepper <drepper@gmail.com>
18188
18189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18190 function to the callback.
18191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18192
10a656fe
AS
181932011-02-02 Andreas Schwab <schwab@redhat.com>
18194
18195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18196 of errno.
18197
968dad0a
UD
181982011-01-19 Ulrich Drepper <drepper@gmail.com>
18199
9f94d2ea 18200 [BZ #11724]
968dad0a
UD
18201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18202 of constructors.
18203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18204 of destructors.
18205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18206
18207 [BZ #11724]
18208 * elf/Makefile: Add rules to build and run new test.
18209 * elf/tst-initorder.c: New file.
18210 * elf/tst-initorder.exp: New file.
18211 * elf/tst-initordera1.c: New file.
18212 * elf/tst-initordera2.c: New file.
18213 * elf/tst-initordera3.c: New file.
18214 * elf/tst-initordera4.c: New file.
18215 * elf/tst-initorderb1.c: New file.
18216 * elf/tst-initorderb2.c: New file.
18217 * elf/tst-order-a1.c: New file.
18218 * elf/tst-order-a2.c: New file.
18219 * elf/tst-order-a3.c: New file.
18220 * elf/tst-order-a4.c: New file.
18221 * elf/tst-order-b1.c: New file.
18222 * elf/tst-order-b2.c: New file.
18223 * elf/tst-order-main.c: New file.
18224 New test case by George Gensure <werkt0@gmail.com>.
18225
86e92359
UD
182262010-10-01 Andreas Schwab <schwab@redhat.com>
18227
18228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18229 decoding ACE if AI_CANONIDN.
18230
5d5732b0
UD
182312011-01-18 Ulrich Drepper <drepper@gmail.com>
18232
18233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18234
a77e8cbc
UD
182352011-01-17 Ulrich Drepper <drepper@gmail.com>
18236
6392473f
UD
18237 * version.h (RELEASE): Bump for 2.13 release.
18238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18239
620a0529
UD
18240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18241
18ba70a5
UD
18242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18243 MADV_NOHUGEPAGE.
32465c3e
UD
18244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18250
c0dafcf1
UD
18251 * posix/getconf.c: Update copyright year.
18252 * catgets/gencat.c: Likewise.
18253 * csu/version.c: Likewise.
18254 * debug/catchsegv.sh: Likewise.
18255 * debug/xtrace.sh: Likewise.
18256 * elf/ldconfig.c: Likewise.
18257 * elf/ldd.bash.in: Likewise.
18258 * elf/sprof.c (print_version): Likewise.
18259 * iconv/iconv_prog.c: Likewise.
18260 * iconv/iconvconfig.c: Likewise.
18261 * locale/programs/locale.c: Likewise.
18262 * locale/programs/localedef.c: Likewise.
18263 * malloc/memusage.sh: Likewise.
18264 * malloc/mtrace.pl: Likewise.
18265 * nscd/nscd.c (print_version): Likewise.
18266 * nss/getent.c: Likewise.
18267
a77e8cbc
UD
18268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18269 PF_CAIF, and PF_ALG.
18270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18271
77e8bddf
AS
182722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18273
1f20b93a
AS
18274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18275 (modules-names): Use them.
18276 (ifunc-test-modules, ifunc-pie-tests): Define.
18277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18279 (test-extras): Likewise.
18280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18281 $(compile-command.c).
18282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18283 (all-built-dso): Define.
18284 (check-textrel.out, check-execstack.out): Depend on it.
18285
77e8bddf
AS
18286 * configure.in: Don't override --enable-multi-arch.
18287
bc425b33
UD
182882011-01-15 Ulrich Drepper <drepper@gmail.com>
18289
18290 [BZ #6812]
18291 * nscd/hstcache.c (tryagain): Define.
18292 (cache_addhst): Return tryagain not notfound for temporary errors.
18293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18294 failed.
18295
794c3ad3
UD
182962011-01-14 Ulrich Drepper <drepper@gmail.com>
18297
70181fdd
UD
18298 [BZ #10563]
18299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18300 to make the syscall.
18301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18302
794c3ad3
UD
18303 [BZ #12378]
18304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18305 and fall back to matching as normal character if the string ends before
18306 the matching ']' is found. This is what POSIX requires.
18307 * posix/testfnm.c: Adjust test result.
18308 * posix/globtest.sh: Adjust test result. Add new test.
18309 * posix/tst-fnmatch.input: Likewise.
18310 * posix/tst-fnmatch2.c: Add new test.
18311
68dc9497
AS
183122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18313
18314 * elf/Makefile (check-execstack): Revert last change. Depend on
18315 check-execstack.h.
18316 (check-execstack.h): New target.
18317 (generated): Add check-execstack.h.
18318 * elf/check-execstack.c: Include "check-execstack.h".
18319 (main): Revert last change.
18320 (handle_file): Return zero if GNU_STACK is absent and
18321 DEFAULT_STACK_PERMS doesn't include PF_X.
18322
451f001b
UD
183232011-01-13 Ulrich Drepper <drepper@gmail.com>
18324
cfa28e56
UD
18325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18326 in child fails because the descriptor is already closed.
8cf8ce17
UD
18327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18330
1086d70d
UD
18331 [BZ #12397]
18332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18333 syscall.
18334
451f001b
UD
18335 [BZ #10484]
18336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18337 temporary buffer used to handle multi lookups locally.
a85b5cb4 18338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18339
08769175
UD
183402011-01-12 Ulrich Drepper <drepper@gmail.com>
18341
18342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18343 loader is ld.so.
18344
5e49c52e
UD
183452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18346
18347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18348 alignment for SSE2.
18349
60522a5f
UD
183502011-01-12 Ulrich Drepper <drepper@gmail.com>
18351
18352 [BZ #12394]
18353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18354 characters. When rounding increased number of integer digits recompute
18355 number of groups.
18356 * stdio-common/tst-grouping.c: New file.
18357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18358
f257bbd7
UD
183592011-01-09 Ulrich Drepper <drepper@gmail.com>
18360
18361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18363
18364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18365 void.
18366 * bits/select.h: Likewise.
18367
fa9c15cb
UD
183682011-01-08 Ulrich Drepper <drepper@gmail.com>
18369
18370 * po/ja.po: Update from translation team.
18371
16c2895f
DM
183722011-01-04 David S. Miller <davem@sunset.davemloft.net>
18373
18374 [BZ #11155]
18375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18376 implementation just like for lxstat, fxstatat, et al.
18377
2543fef2
JM
183782010-12-27 Jim Meyering <meyering@redhat.com>
18379
18380 [BZ #12348]
18381 * posix/regexec.c (build_trtable): Return failure indication upon
18382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18383
98727dbe
UD
183842010-12-25 Ulrich Drepper <drepper@gmail.com>
18385
5bd6dc5c
UD
18386 [BZ #12201]
18387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18391
97983464
UD
18392 [BZ #12207]
18393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18394
98727dbe
UD
18395 [BZ #12204]
18396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18398
4a531bb0
L
183992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18400
18401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18403 script has SORT_BY_INIT_PRIORITY.
18404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18405 NO_CTORS_DTORS_SECTIONS is defined.
18406 * elf/soinit.c: Likewise.
18407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18408 NO_CTORS_DTORS_SECTIONS is defined.
18409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18411 * sysdeps/sh/init-first.c: Likewise.
18412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18413
07eb4b71
UD
184142010-12-24 Ulrich Drepper <drepper@gmail.com>
18415
18416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18417 always use the slow path.
18418
30950a5f
RA
184192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18420
18421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18422 similar rule which adds the sysdep directories to the header search in
18423 order to pick up the correct platform stackinfo.h.
18424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18425 perform test if it is, otherwise return successfully without testing.
18426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18427 DEFAULT_STACK_PERMS define in stackinfo.h.
18428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18429 defined in stackinfo.h.
18430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18431 DEFAULT_STACK_PERMS defined in stackinfo.h.
18432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18433 * sysdeps/ia64/stackinfo.h: Likewise.
18434 * sysdeps/s390/stackinfo.h: Likewise.
18435 * sysdeps/sh/stackinfo.h: Likewise.
18436 * sysdeps/sparc/stackinfo.h: Likewise.
18437 * sysdeps/x86_64/stackinfo.h: Likewise.
18438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18439 PF_X for powerpc64. Retain PF_X for powerpc32.
18440
db753e2c
UD
184412010-12-19 Ulrich Drepper <drepper@gmail.com>
18442
14b697f7
UD
18443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18444 accurately.
db753e2c
UD
18445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18446 GETDENTS_64BIT_ALIGNED.
18447
28300719
UD
184482010-12-14 Ulrich Drepper <dreper@gmail.com>
18449
14b697f7 18450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18451
4f197237
AS
184522010-12-10 Andreas Schwab <schwab@redhat.com>
18453
dbb0472f
AS
18454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18455 _GNU_SOURCE.
18456
4f197237
AS
18457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18459 Remove __restrict.
18460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18462
fb88ac72
UD
184632010-12-09 Ulrich Drepper <drepper@gmail.com>
18464
18465 [BZ #11655]
18466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18467 are initialized.
18468
42acbb92
JJ
184692010-12-09 Jakub Jelinek <jakub@redhat.com>
18470
18471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18472
c038d98d
UD
184732010-12-03 Ulrich Drepper <drepper@gmail.com>
18474
18475 * po/it.po: Update from translation team.
18476
3a4a2499
L
184772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18478
18479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18480 unused codes.
18481
1e24cf6e
UD
184822010-11-30 Ulrich Drepper <drepper@gmail.com>
18483
18484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18485
a7690819
AS
184862010-11-24 Andreas Schwab <schwab@redhat.com>
18487
18488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18489 specially.
18490 (gaih_getanswer_slice): Likewise.
18491
3bf8d1b1
JJ
184922010-10-20 Jakub Jelinek <jakub@redhat.com>
18493
18494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18495
6db52fbb
PB
184962010-05-31 Petr Baudis <pasky@suse.cz>
18497
18498 [BZ #11149]
18499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18500 silently even in the chroot mode.
18501
eaca7569
UD
185022010-11-22 Ulrich Drepper <drepper@gmail.com>
18503
18504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18505 last patch a bit. Pretty printing
18506
3056dcdb
UD
185072010-05-31 Petr Baudis <pasky@suse.cz>
18508
18509 [BZ #10085]
18510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18511 initialization of skip_initgroups_dyn.
18512
cf7c9078
UD
185132010-11-19 Ulrich Drepper <drepper@gmail.com>
18514
18515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18517
a1fb5e3e
UD
185182010-11-16 Ulrich Drepper <drepper@gmail.com>
18519
18520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18521
3540d66b
AS
185222010-11-11 Andreas Schwab <schwab@redhat.com>
18523
18524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18527 ($(objpfx)tst-fnmatch-mem): New rule.
18528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18529 * posix/tst-fnmatch.c (main): Call mtrace.
18530
13b69574
L
185312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18532
18533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18534 Support Intel processor model 6 and model 0x2c.
18535
da93d214
LM
185362010-11-10 Luis Machado <luisgpm@br.ibm.com>
18537
18538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18539 signed comparison.
18540
8ca52c6e
L
185412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 [BZ #12205]
18544 * string/test-strncasecmp.c (check_result): New function.
18545 (do_one_test): Use it.
18546 (check1): New function.
18547 (test_main): Use it.
18548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18549 Support strcasecmp and strncasecmp.
18550
69da074d
UD
185512010-11-08 Ulrich Drepper <drepper@gmail.com>
18552
18553 [BZ #12194]
18554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18556
ff02d528
L
185572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18558
18559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18560 IFUNC support.
18561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18562 memset-x86-64.
18563 * sysdeps/x86_64/multiarch/bzero.S: New file.
18564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18566 * sysdeps/x86_64/multiarch/memset.S: New file.
18567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18569 Set bit_Prefer_SSE_for_memop for Intel processors.
18570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18571 Define.
18572 (index_Prefer_SSE_for_memop): Define.
18573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18574
344d0b54
LM
185752010-11-04 Luis Machado <luisgpm@br.ibm.com>
18576
18577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18579
c0dde15b
UD
185802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18581
18582 [BZ #12191]
18583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18584 (__x86_64_raw_data_cache_size_half): Likewise.
18585 (__x86_64_raw_shared_cache_size): Likewise.
18586 (__x86_64_raw_shared_cache_size_half): Likewise.
18587
18588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18589 (__x86_64_raw_data_cache_size_half): Likewise.
18590 (__x86_64_raw_shared_cache_size): Likewise.
18591 (__x86_64_raw_shared_cache_size_half): Likewise.
18592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18594 and __x86_64_raw_shared_cache_size_half. Round
18595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18597 to multiple of 256 bytes.
18598
0e516e0e
MS
185992010-11-03 Ulrich Drepper <drepper@gmail.com>
18600
18601 [BZ #12167]
18602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18603 of inacessible symlinks. Verify result of symlink before returning it.
18604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18606
0e012e87
ER
186072010-10-28 Erich Ritz <erichritz@gmail.com>
18608
18609 * math/math.h (isinf): Fix typo in comment.
18610
de0ff7bc
UD
186112010-11-01 Ulrich Drepper <drepper@gmail.com>
18612
18613 * po/da.po: Update from translation team.
18614
fa41c84d
UD
186152010-10-26 Ulrich Drepper <drepper@gmail.com>
18616
18617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18618 is added to the list.
18619
f0967738
AK
186202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18621 Ulrich Drepper <drepper@gmail.com>
18622
18623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18624 the global list here. Move code to...
18625 (_dl_add_to_namespace_list): ...here. New function.
18626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18628 * elf/dl-load.c (lose): Don't remove the element from the list.
18629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18630 (_dl_map_object): Likewise.
18631
186322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18633
18634 [BZ #12159]
18635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18636 into all bytes of SSE register.
18637 Patch by Richard Li <richardpku@gmail.com>.
18638
f0967738 186392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18640
18641 [BZ #12140]
18642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18643 perturbing.
18644
d0b9e94f
MB
186452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18646
18647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18652 submachine.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18654
8e9f92e9
AS
186552010-10-22 Andreas Schwab <schwab@redhat.com>
18656
18657 * include/dlfcn.h (__RTLD_SECURE): Define.
18658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18659 mode & __RTLD_SECURE instead.
18660 (open_path): Rename preloaded parameter to secure.
18661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18663 * elf/dl-deps.c (openaux): Likewise.
18664 * elf/rtld.c (struct map_args): Remove is_preloaded.
18665 (map_doit): Don't use it.
18666 (dl_main): Likewise.
18667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18669
bc96fbda
AS
186702010-09-09 Andreas Schwab <schwab@redhat.com>
18671
18672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18673 (sysd-rules-targets): Remove duplicates.
18674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18675 rtld-%.$o dependency.
18676
22cd1c9b
AS
186772010-10-18 Andreas Schwab <schwab@redhat.com>
18678
18679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18680 _dl_map_object do it.
18681
18edac48
UD
186822010-10-19 Ulrich Drepper <drepper@gmail.com>
18683
18684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18685 fast fma builtins, define the macros in the C99 standard.
18686 (FP_FAST_FMAF): Likewise.
18687 (FP_FAST_FMAL): Likewise.
18688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18689
18690 * bits/mathdef.h: Update copyright year.
18691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18692
d2050124
MM
186932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18694
18695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18696 builtins, define the macros in the C99 standard.
18697 (FP_FAST_FMAF): Likewise.
18698 (FP_FAST_FMAL): Likewise.
18699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18700 multiply/add.
18701 (FP_FAST_FMAF): Likewise.
18702
475facd1
JJ
187032010-10-15 Jakub Jelinek <jakub@redhat.com>
18704
18705 [BZ #3268]
18706 * math/libm-test.inc (fma_test): Some new testcases.
18707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18709 y and infinite z. Do multiplication by C already in long double.
18710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18712 y and infinite z. Do bitwise or of inexact bit into u.d.
18713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18715 * sysdeps/i386/fpu/s_fma.S: Removed.
18716 * sysdeps/i386/fpu/s_fmal.S: Removed.
18717
7c08a05c
JJ
187182010-10-16 Jakub Jelinek <jakub@redhat.com>
18719
18720 [BZ #3268]
18721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18723 computation is not scheduled after fetestexcept. Fix value
18724 of minimum denormal long double.
18725
f3f7372d
JJ
187262010-10-14 Jakub Jelinek <jakub@redhat.com>
18727
18728 [BZ #3268]
18729 * math/libm-test.inc (fma_test): Add some more tests.
18730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18731 correctly.
18732
14d43591
AS
187332010-10-15 Andreas Schwab <schwab@redhat.com>
18734
18735 * scripts/data/localplt-s390-linux-gnu.data: New file.
18736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18737
5e908464
JJ
187382010-10-13 Jakub Jelinek <jakub@redhat.com>
18739
18740 [BZ #3268]
18741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18743 instead of dbl-64.
18744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18745 inlines.
18746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18748 if one of x and y is very large and the other is subnormal.
18749 * sysdeps/s390/fpu/s_fmaf.c: New file.
18750 * sysdeps/s390/fpu/s_fma.c: New file.
18751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18752 * sysdeps/powerpc/fpu/s_fma.S: New file.
18753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18756
187572010-10-12 Jakub Jelinek <jakub@redhat.com>
18758
18759 [BZ #3268]
18760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18761 fma tests.
18762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18769
b833d51f
UD
187702010-10-12 Ulrich Drepper <drepper@redhat.com>
18771
18772 [BZ #12078]
18773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18774 * posix/bug-regex31.input: Add test case.
18775
1751705d
UD
187762010-10-11 Ulrich Drepper <drepper@gmail.com>
18777
e9b9cbf5
UD
18778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18779 * posix/bug-regex31.input: New file.
18780
18781 [BZ #12078]
18782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18783 (parse_sub_exp): Fix last change, use postorder.
18784
ef06edbe
UD
18785 * posix/bug-regex31.c: New file.
18786 * posix/Makefile: Add rules to build and run bug-regex31.
18787
a129c80d
UD
18788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18789
18790 [BZ #12078]
18791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18792
b76b818e
UD
18793 [BZ #12108]
18794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18795 to have entries in sys_siglist.
18796
1751705d
UD
18797 [BZ #12093]
18798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18799 be NULL.
18800
9ff8d36f
JJ
188012010-10-07 Jakub Jelinek <jakub@redhat.com>
18802
18803 [BZ #3268]
18804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18817 * math/ftestexcept.c (fetestexcept): Likewise.
18818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18825
af325969
UD
188262010-10-11 Ulrich Drepper <drepper@gmail.com>
18827
c579b202 18828 [BZ #12107]
af325969
UD
18829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18830 newline.
18831
67a67b95
UD
188322010-10-06 Ulrich Drepper <drepper@gmail.com>
18833
18834 * string/bug-strstr1.c: New file.
18835 * string/Makefile: Add rules to build and run bug-strstr1.
18836
5fb308bc
EB
188372010-10-05 Eric Blake <eblake@redhat.com>
18838
18839 [BZ #12092]
18840 * string/str-two-way.h (two_way_long_needle): Always clear memory
18841 when skipping input due to the shift table.
18842
45db99c7
UD
188432010-10-03 Ulrich Drepper <drepper@gmail.com>
18844
3b111893
UD
18845 [BZ #12005]
18846 * malloc/mcheck.c: Handle large requests.
18847
45db99c7
UD
18848 [BZ #12077]
18849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18850 for strncmp and strncasecmp.
18851 * string/stratcliff.c: Add tests for strcmp and strncmp.
18852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18853
cf7a1eb8
NI
188542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18855
18856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18857 __set_fpscr.
18858
6484ba5e
AJ
188592010-09-30 Andreas Jaeger <aj@suse.de>
18860
18861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18862 (CGROUP_SUPER_MAGIC): Define.
18863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18864 Handle btrfs and cgroup file systems.
18865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18866 Likewise.
18867
91c42559
LM
188682010-09-27 Luis Machado <luisgpm@br.ibm.com>
18869
18870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18872
87a97932
AK
188732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18874
18875 [BZ #12067]
18876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18877 trying to locate the ELF header.
18878
c21cc9bc
AS
188792010-09-27 Andreas Schwab <schwab@redhat.com>
18880
18881 [BZ #11611]
18882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18883 Mask out sign-bit copies when constructing f_fsid.
18884
315970f6
PB
188852010-09-24 Petr Baudis <pasky@suse.cz>
18886
18887 * debug/stack_chk_fail_local.c: Add missing licence exception.
18888 * debug/warning-nop.c: Likewise.
18889
1ac7a2c7
JM
188902010-09-15 Joseph Myers <joseph@codesourcery.com>
18891
18892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18893 implementing getdents64 using getdents syscall, set d_type if
18894 __ASSUME_GETDENTS32_D_TYPE.
18895
56801c50
AS
188962010-09-16 Andreas Schwab <schwab@redhat.com>
18897
18898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18900
dda51327
UD
189012010-09-21 Ulrich Drepper <drepper@redhat.com>
18902
18903 [BZ #12037]
18904 * posix/unistd.h: Undo change of feature selection for ftruncate from
18905 2010-01-11.
18906
8ffcee4a
UD
189072010-09-20 Ulrich Drepper <drepper@redhat.com>
18908
a545ecd9 18909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18910 detection.
18911
e24f0a8b
AS
189122010-09-20 Andreas Schwab <schwab@redhat.com>
18913
18914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18915 fanotify_mark.
18916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18917
7291c56f
AS
189182010-09-14 Andreas Schwab <schwab@redhat.com>
18919
18920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18921 variables after CHECK_SP call.
18922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18923
bc5fb037
AS
189242010-09-13 Andreas Schwab <schwab@redhat.com>
18925 Ulrich Drepper <drepper@redhat.com>
18926
18927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18928 re-relocationg ld.so.
18929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18930 _dl_init_paths call.
18931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18932 here anymore.
18933
e66e7419
UD
189342010-09-14 Ulrich Drepper <drepper@redhat.com>
18935
18936 * resolv/res_init.c (__res_vinit): Count the default server we added.
18937
c044aa75
CLT
189382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18939 Ulrich Drepper <drepper@redhat.com>
18940
18941 [BZ #11968]
18942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18943 (____longjmp_chk): Use %ebx for saving value across system call.
18944 Add unwind info.
18945
32cf4069
AS
189462010-09-06 Andreas Schwab <schwab@redhat.com>
18947
18948 * manual/Makefile: Don't mix pattern rules with normal rules.
18949
817328ee
AS
189502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18951
18952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18953 operation.
18954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18959 Likewise.
18960
29fddf61
UD
189612010-09-04 Ulrich Drepper <drepper@redhat.com>
18962
18963 [BZ #11979]
18964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18966
0959ffc9
UD
189672010-09-02 Ulrich Drepper <drepper@redhat.com>
18968
18969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18970 * sysdeps/x86_64/addmul_1.S: Likewise.
18971 * sysdeps/x86_64/lshift.S: Likewise.
18972 * sysdeps/x86_64/mul_1.S: Likewise.
18973 * sysdeps/x86_64/rshift.S: Likewise.
18974 * sysdeps/x86_64/sub_n.S: Likewise.
18975 * sysdeps/x86_64/submul_1.S: Likewise.
18976
ece29840
ST
189772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18978
0959ffc9
UD
18979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18980 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18981 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18982 * bits/sched.h [__need_schedparam]
ece29840 18983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18985 (__defined_schedparam): Define to 1.
ece29840
ST
18986 (__sched_param): New structure, identical to sched_param.
18987 (__need_schedparam): Undefine.
18988
e53a31fe
MF
189892010-08-31 Mike Frysinger <vapier@gentoo.org>
18990
fdc0c10d
MF
18991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18992 (epoll_create1): Declare.
18993
e53a31fe
MF
18994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18995
a726d796
AS
189962010-08-31 Andreas Schwab <schwab@redhat.com>
18997
18998 [BZ #7066]
18999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19000 shifting retval into place.
19001
2f3e3dc7
UD
190022010-09-01 Ulrich Drepper <drepper@redhat.com>
19003
f2933da9
UD
19004 * nis/rpcsvc/nis.h: Update copyright notice.
19005 * nis/rpcsvc/nis.x: Likewise.
19006 * nis/rpcsvc/nis_callback.h: Likewise.
19007 * nis/rpcsvc/nis_callback.x: Likewise.
19008 * nis/rpcsvc/nis_object.x: Likewise.
19009 * nis/rpcsvc/nis_tags.h: Likewise.
19010 * nis/rpcsvc/yp.h: Likewise.
19011 * nis/rpcsvc/yp.x: Likewise.
19012 * nis/rpcsvc/ypupd.h: Likewise.
19013 * nis/yp_xdr.c: Likewise.
19014 * nis/ypupdate_xdr.c: Likewise.
19015
2f3e3dc7
UD
19016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19017 mainly the body of pmap_getport. Add parameters to specify timeouts.
19018 (pmap_getport): Use __libc_rpc_getport.
19019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19022
f3dcc2f9
AS
190232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19026 fanotify_mark.
19027
6d34eb5b
RM
190282010-08-27 Roland McGrath <roland@redhat.com>
19029
19030 * sysdeps/i386/i686/multiarch/Makefile
19031 (CFLAGS-varshift.c): New variable.
19032
9ea3de11
UD
190332010-08-27 Ulrich Drepper <drepper@redhat.com>
19034
c96d23fc
UD
19035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19037
9ea3de11
UD
19038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19039
19040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19041
623aac7f
L
190422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19043
19044 * sysdeps/x86_64/strlen.S: Unroll the loop.
19045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19046 strlen-sse2 strlen-sse2-bsf.
19047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19048 __strlen_no_bsf if bit_Slow_BSF is set.
19049 (__strlen_sse42): Removed.
19050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19052
8b2b7715
RM
190532010-08-25 Roland McGrath <roland@redhat.com>
19054
19055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19056 * sysdeps/x86_64/multiarch/varshift.c: New file.
19057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19061
e73015f2
L
190622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19063
19064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19065 strlen-sse2 strlen-sse2-bsf.
19066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19068 (__strlen_sse2): Removed.
19069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19072 bit_Slow_BSF for Atom.
19073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19074 (index_Slow_BSF): Define.
19075 (HAS_SLOW_BSF): Define.
19076
df24a73e
UD
190772010-08-25 Ulrich Drepper <drepper@redhat.com>
19078
19079 [BZ #10851]
19080 * resolv/res_init.c (__res_vinit): When no server address at all
19081 is given default to loopback.
19082
f2ac4868
RM
190832010-08-24 Roland McGrath <roland@redhat.com>
19084
09055553
RM
19085 * configure.in: Remove config-name.h generation.
19086 * configure: Regenerated.
19087 * config-name.in: File removed.
19088 * scripts/config-uname.sh: New file.
19089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19090 ($(objdir)config-name.h): New target.
19091
f2ac4868
RM
19092 * sunrpc/rpc_parse.h: Avoid nested comment.
19093
73f27d5e
RH
190942010-08-24 Richard Henderson <rth@redhat.com>
19095 Ulrich Drepper <drepper@redhat.com>
19096 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19102 _mm_alignr_epi8 with _mm_loadu_si128.
19103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19105 (__m128i_shift_right): Removed.
19106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19108 * sysdeps/x86_64/multiarch/varshift.h: New file.
19109 * sysdeps/x86_64/multiarch/varshift.S: New file.
19110
84b9230c
MF
191112010-08-21 Mike Frysinger <vapier@gentoo.org>
19112
19113 * configure.in: Move assembler checks to before sysdep dir checking.
19114
9bbd0ddc
PB
191152010-08-20 Petr Baudis <pasky@suse.cz>
19116
19117 * LICENSES: Sync the sunrpc license.
19118
9da4bb31
UD
191192010-08-19 Ulrich Drepper <drepper@redhat.com>
19120
a7ab6ec8
UD
19121 * sunrpc/auth_des.c: Update copyright notice once again.
19122 * sunrpc/auth_none.c: Likewise.
19123 * sunrpc/auth_unix.c: Likewise.
19124 * sunrpc/authdes_prot.c: Likewise.
19125 * sunrpc/authuxprot.c: Likewise.
19126 * sunrpc/bindrsvprt.c: Likewise.
19127 * sunrpc/clnt_gen.c: Likewise.
19128 * sunrpc/clnt_perr.c: Likewise.
19129 * sunrpc/clnt_raw.c: Likewise.
19130 * sunrpc/clnt_simp.c: Likewise.
19131 * sunrpc/clnt_tcp.c: Likewise.
19132 * sunrpc/clnt_udp.c: Likewise.
19133 * sunrpc/clnt_unix.c: Likewise.
19134 * sunrpc/des_crypt.c: Likewise.
19135 * sunrpc/des_soft.c: Likewise.
19136 * sunrpc/get_myaddr.c: Likewise.
19137 * sunrpc/getrpcport.c: Likewise.
19138 * sunrpc/key_call.c: Likewise.
19139 * sunrpc/key_prot.c: Likewise.
19140 * sunrpc/openchild.c: Likewise.
19141 * sunrpc/pm_getmaps.c: Likewise.
19142 * sunrpc/pm_getport.c: Likewise.
19143 * sunrpc/pmap_clnt.c: Likewise.
19144 * sunrpc/pmap_prot.c: Likewise.
19145 * sunrpc/pmap_prot2.c: Likewise.
19146 * sunrpc/pmap_rmt.c: Likewise.
19147 * sunrpc/rpc/auth.h: Likewise.
19148 * sunrpc/rpc/auth_unix.h: Likewise.
19149 * sunrpc/rpc/clnt.h: Likewise.
19150 * sunrpc/rpc/des_crypt.h: Likewise.
19151 * sunrpc/rpc/key_prot.h: Likewise.
19152 * sunrpc/rpc/netdb.h: Likewise.
19153 * sunrpc/rpc/pmap_clnt.h: Likewise.
19154 * sunrpc/rpc/pmap_prot.h: Likewise.
19155 * sunrpc/rpc/pmap_rmt.h: Likewise.
19156 * sunrpc/rpc/rpc.h: Likewise.
19157 * sunrpc/rpc/rpc_des.h: Likewise.
19158 * sunrpc/rpc/rpc_msg.h: Likewise.
19159 * sunrpc/rpc/svc.h: Likewise.
19160 * sunrpc/rpc/svc_auth.h: Likewise.
19161 * sunrpc/rpc/types.h: Likewise.
19162 * sunrpc/rpc/xdr.h: Likewise.
19163 * sunrpc/rpc_clntout.c: Likewise.
19164 * sunrpc/rpc_cmsg.c: Likewise.
19165 * sunrpc/rpc_common.c: Likewise.
19166 * sunrpc/rpc_cout.c: Likewise.
19167 * sunrpc/rpc_dtable.c: Likewise.
19168 * sunrpc/rpc_hout.c: Likewise.
19169 * sunrpc/rpc_main.c: Likewise.
19170 * sunrpc/rpc_parse.c: Likewise.
19171 * sunrpc/rpc_parse.h: Likewise.
19172 * sunrpc/rpc_prot.c: Likewise.
19173 * sunrpc/rpc_sample.c: Likewise.
19174 * sunrpc/rpc_scan.c: Likewise.
19175 * sunrpc/rpc_scan.h: Likewise.
19176 * sunrpc/rpc_svcout.c: Likewise.
19177 * sunrpc/rpc_tblout.c: Likewise.
19178 * sunrpc/rpc_util.c: Likewise.
19179 * sunrpc/rpc_util.h: Likewise.
19180 * sunrpc/rpcinfo.c: Likewise.
19181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19182 * sunrpc/rpcsvc/key_prot.x: Likewise.
19183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19184 * sunrpc/rpcsvc/mount.x: Likewise.
19185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19187 * sunrpc/rpcsvc/rex.x: Likewise.
19188 * sunrpc/rpcsvc/rstat.x: Likewise.
19189 * sunrpc/rpcsvc/rusers.x: Likewise.
19190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19191 * sunrpc/rpcsvc/spray.x: Likewise.
19192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19193 * sunrpc/rtime.c: Likewise.
19194 * sunrpc/svc.c: Likewise.
19195 * sunrpc/svc_auth.c: Likewise.
19196 * sunrpc/svc_authux.c: Likewise.
19197 * sunrpc/svc_raw.c: Likewise.
19198 * sunrpc/svc_run.c: Likewise.
19199 * sunrpc/svc_simple.c: Likewise.
19200 * sunrpc/svc_tcp.c: Likewise.
19201 * sunrpc/svc_udp.c: Likewise.
19202 * sunrpc/svc_unix.c: Likewise.
19203 * sunrpc/svcauth_des.c: Likewise.
19204 * sunrpc/xcrypt.c: Likewise.
19205 * sunrpc/xdr.c: Likewise.
19206 * sunrpc/xdr_array.c: Likewise.
19207 * sunrpc/xdr_float.c: Likewise.
19208 * sunrpc/xdr_mem.c: Likewise.
19209 * sunrpc/xdr_rec.c: Likewise.
19210 * sunrpc/xdr_ref.c: Likewise.
19211 * sunrpc/xdr_sizeof.c: Likewise.
19212 * sunrpc/xdr_stdio.c: Likewise.
19213
9da4bb31
UD
19214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19215 handling.
19216
bdaa77bc
AS
192172010-08-19 Andreas Schwab <schwab@redhat.com>
19218
19219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19220
fe2f79db
LM
192212010-08-19 Luis Machado <luisgpm@br.ibm.com>
19222
19223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19237
b9b42ee0
AB
192382010-07-26 Anton Blanchard <anton@samba.org>
19239
19240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19241 * malloc/arena.c (heap_trim): Likewise.
19242
1c06ba31
UD
192432010-08-16 Ulrich Drepper <drepper@redhat.com>
19244
19245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19246 here. Not...
19247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19249
f8392f40
L
192502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19251
19252 * sysdeps/i386/elf/Makefile: New file.
19253
3162f12e
AS
192542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19255
19256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19257 from fanotify_init.
19258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19260
28c90b2c
UD
192612010-08-15 Ulrich Drepper <drepper@redhat.com>
19262
19263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19264 of strncasecmp_l.
1feccb6c 19265 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19266
ca6bb004
UD
192672010-08-14 Ulrich Drepper <drepper@redhat.com>
19268
e9f82e0d
UD
19269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19270 strncase_l-nonascii.
19271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19272 Add strncase_l-ssse3.
19273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19274 * sysdeps/x86_64/strcmp.S: Likewise.
19275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19277 * sysdeps/x86_64/strncase.S: New file.
19278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19279 * sysdeps/x86_64/strncase_l.S: New file.
19280 * string/Makefile (strop-tests): Add strncasecmp.
19281 * string/test-strncasecmp.c: New file.
19282
19283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19284 warning.
19285
ca6bb004
UD
19286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19288
052fa7b3
AS
192892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19290
19291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19292
962dba78
UD
192932010-08-12 Ulrich Drepper <drepper@redhat.com>
19294
19295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19298
bebff237
AM
192992010-05-01 Alan Modra <amodra@gmail.com>
19300
19301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19306 tidying. Don't tail-call __sigjmp_save for static lib.
19307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19308 save location.
19309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19310 (CALL_MCOUNT): Add eh info, and nop after bl.
19311 (TAIL_CALL_SYSCALL_ERROR): New macro.
19312 (PSEUDO_RET): Use it.
19313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19314 Correct save location of integer regs and cr.
19315 (_dl_profile_resolve): Correct cr save location. Delete nops
19316 after bl when SHARED. Reduce cfi size a little by better
19317 placement of cfi directives.
19318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19319 make a stack frame. Instead use parm save area as a temp.
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19323 Don't make a stack frame for parent, use parm save area.
19324 Increase child stack frame to 112 bytes. Don't save unused reg,
19325 and adjust reg usage. Set up cfi on error recovery and
19326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19328 (__makecontext): Add dummy nop after jump to exit.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19330 Use correct parm save area and cr save, reduce stack frame.
19331 Correct cfi for possible PSEUDO_RET frame setup.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19333 Branch to local label emitted by PSEUDO_RET rather than
19334 __syscall_error.
19335
02637374
AS
193362010-08-12 Andreas Schwab <schwab@redhat.com>
19337
19338 [BZ #11904]
19339 * locale/programs/locale.c (print_assignment): New function.
19340 (show_locale_vars): Use it.
19341
c3e2f19b
UD
193422010-08-11 Ulrich Drepper <drepper@redhat.com>
19343
3cdaa6ad
UD
19344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19345 field.
19346 (struct statfs64): Likewise.
19347 (_STATFS_F_FLAGS): Define.
19348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19351 (ST_VALID): Define locally.
19352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19353 __statvfs_getflags, use the provided value.
19354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19355 __ASSUME_STATFS_F_FLAGS.
19356
754f7da3
UD
19357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19358
10b3bedc
UD
19359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19360 Add sys/fanotify.h.
19361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19362 fanotify_mask for GLIBC_2.13.
19363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19364 fanotify_init and fanotify_mark.
19365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19367
c08fb0d7
UD
19368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19369 Add prlimit.
19370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19371 prlimit64 for GLIBC_2.13.
19372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19373 prlimit64.
19374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19375 syscall.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19381 add prlimit alias.
19382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19383
15bac72b
UD
19384 [BZ #11903]
19385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19387
c3e2f19b
UD
19388 * nss/Makefile: Add rules to build and run tst-nss-test1.
19389 * shlib-versions: Add entry for libnss_test1.
19390 * nss/nss_test1.c: New file.
19391 * nss/tst-nss-test1.c: New file.
19392
19393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19394 (__nss_configure_lookup): Set appropriate entry in
19395 __nss_configure_lookup to true.
19396 * nss/nsswitch.h: Define enum with indeces of databases in
19397 databases and __nss_database_custom arrays. Declare
19398 __nss_database_custom.
19399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19400 to avoid using nscd when custom rules are installed.
19401 * nss/getXXbyYY_r.c: Likewise.
19402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19403
19404 * nss/nss_files/files-parse.c: Whitespace fixes.
19405
f15ce4d8
UD
194062010-08-09 Ulrich Drepper <drepper@redhat.com>
19407
19408 [BZ #11883]
19409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19410 * posix/fnmatch_loop.c: Likewise.
19411
d22e4cc9
AK
194122010-07-17 Andi Kleen <ak@linux.intel.com>
19413
19414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19417 * Versions.def [GLIBC_2.13]: Add.
19418
805bc17d
UD
194192010-08-06 Ulrich Drepper <drepper@redhat.com>
19420
19421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19422 Also fail if tpwd after pwuid call is NULL.
19423
5a42321d
ST
194242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19425
19426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19427 when converting to ms.
19428
fd3ebeda
ST
194292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19430
19431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19432 EOPNOTSUPP errors with ENOTTY.
19433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19434 EOPNOTSUPP errors with ENOTTY.
19435
73507d3a
UD
194362010-07-31 Ulrich Drepper <drepper@redhat.com>
19437
19438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19439 Add strcasecmp_l-ssse3.
19440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19441 strcasecmp.
19442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19445
fe36dd02
UD
194462010-07-30 Ulrich Drepper <drepper@redhat.com>
19447
66f6765a
UD
19448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19449
42e08a54
UD
19450 * string/Makefile (strop-tests): Add strcasecmp.
19451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19452 strcasecmp_l-nonascii.
19453 (gen-as-const-headers): Add locale-defines.sym.
19454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19455 * sysdeps/x86_64/strcasecmp.S: New file.
19456 * sysdeps/x86_64/strcasecmp_l.S: New file.
19457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19458 * sysdeps/x86_64/locale-defines.sym: New file.
19459 * string/test-strcasecmp.c: New file.
19460
fe36dd02
UD
19461 * string/test-strcasestr.c: Test both ends of the range of characters.
19462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19463
48cbc0d6
RM
194642010-07-29 Roland McGrath <roland@redhat.com>
19465
76e6d6bc 19466 [BZ #11856]
48cbc0d6
RM
19467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19468
880113d9
UD
194692010-07-27 Ulrich Drepper <drepper@redhat.com>
19470
19471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19472 for ld.so.
19473
deb9cabb
AS
194742010-07-27 Andreas Schwab <schwab@redhat.com>
19475
19476 * manual/memory.texi (Malloc Tunable Parameters): Document
19477 M_PERTURB.
19478
1c7570ff
RM
194792010-07-26 Roland McGrath <roland@redhat.com>
19480
19481 [BZ #11840]
19482 * configure.in (-fgnu89-inline check): Set and substitute
19483 gnu89_inline, not libc_cv_gnu89_inline.
19484 * configure: Regenerated.
19485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19486
24fb0f88
UD
194872010-07-26 Ulrich Drepper <drepper@redhat.com>
19488
19489 * string/test-strnlen.c: New file.
19490 * string/Makefile (strop-tests): Add strnlen.
19491 * string/tester.c (test_strnlen): Add a few more test cases.
19492 * string/tst-strlen.c: Better error reporting.
19493
19494 * sysdeps/x86_64/strnlen.S: New file.
19495
8e96b93a
UD
194962010-07-24 Ulrich Drepper <drepper@redhat.com>
19497
19498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19499 lower-latency instructions.
19500
dbc676d4
UD
195012010-07-23 Ulrich Drepper <drepper@redhat.com>
19502
19503 * string/test-strcasestr.c: New file.
19504 * string/test-strstr.c: New file.
19505 * string/Makefile (strop-tests): Add strstr and strcasestr.
19506 * string/str-two-way.h: Don't undefine MAX.
19507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19508
f6a31e0e
AS
195092010-07-21 Andreas Schwab <schwab@redhat.com>
19510
19511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19512 strcasestr-nonascii.
19513 (CFLAGS-strcasestr-nonascii.c): Define.
19514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19516 Remove unused attribute.
19517
5dbc3b6c
RM
195182010-07-20 Roland McGrath <roland@redhat.com>
19519
19520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19522 ld.so.cache was broken. With it, there is no way to disable dsocaps
19523 like LD_HWCAP_MASK can disable hwcaps.
19524
23d101d8
EPM
195252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19526
19527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19528
cc9f2e47
UD
195292010-07-16 Ulrich Drepper <drepper@redhat.com>
19530
19531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19532 call in strcasestr.
19533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19534 __strcasestr_sse42_nonascii.
19535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19536 strcasestr-nonascii.c.
19537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19538
77c1b069
LM
195392010-06-15 Luis Machado <luisgpm@br.ibm.com>
19540
19541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19545
440566c3
UD
195462010-07-09 Ulrich Drepper <drepper@redhat.com>
19547
19548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19549 fcntl.
19550
5be9d05d
AS
195512010-07-06 Andreas Schwab <schwab@redhat.com>
19552
c30b7ee2 19553 [BZ #11577]
5be9d05d
AS
19554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19555 dl_signal_cerror.
19556
8a492a67
UD
195572010-07-06 Ulrich Drepper <drepper@redhat.com>
19558
19559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19560 _PC_PIPE_BUF using F_GETPIPE_SZ.
19561
713df3d5
RM
195622010-07-05 Roland McGrath <roland@redhat.com>
19563
19564 * manual/arith.texi (Rounding Functions): Fix rint description
19565 implicit in round description.
19566
702e8f14
UD
195672010-07-02 Ulrich Drepper <drepper@redhat.com>
19568
19569 * elf/Makefile: Fix linking for a few tests to make recent linker
19570 happy.
19571
52ed8be9
AS
195722010-06-30 Andreas Schwab <schwab@redhat.com>
19573
19574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19575 $(common-objpfx)libc_nonshared.a.
19576
f47c9a11
LM
195772010-06-21 Luis Machado <luisgpm@br.ibm.com>
19578
19579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19627
6fb8cbcb
L
196282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19629
19630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19632 * string/memmove.c (memmove): Renamed to ...
19633 (MEMMOVE): ...this. Default to memmove.
19634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19636 (END_CHK): Define.
19637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19639 mempcpy-ssse3-back memmove-ssse3-back.
19640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19647 * sysdeps/x86_64/multiarch/memmove.c: New file.
19648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19654 Define.
19655 (index_Fast_Copy_Backward): Define.
19656 (HAS_ARCH_FEATURE): Define.
19657 (HAS_FAST_REP_STRING): Define.
19658 (HAS_FAST_COPY_BACKWARD): Define.
19659
4e733bac 196602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19661
19662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19663 Restore proper fallback handling.
19664
63c4ed22
UD
196652010-06-19 Ulrich Drepper <drepper@redhat.com>
19666
ac2b484c
UD
19667 [BZ #11701]
19668 * posix/group_member.c (__group_member): Correct checking loop.
19669
63c4ed22
UD
19670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19671 OOM in getpwuid_r correctly. Return error number when the caller
19672 should return, otherwise -1.
19673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19674 call returning > 0 value.
19675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19676
765ade4b
AS
196772010-06-07 Andreas Schwab <schwab@redhat.com>
19678
19679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19680 libc_nonshared.a from targets in modules-names.
19681
80da2e09
KS
196822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19683
19684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19685 requires it.
19686
158db122
LM
196872010-06-10 Luis Machado <luisgpm@br.ibm.com>
19688
19689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19693
caa78cf8
AS
196942010-06-02 Andreas Schwab <schwab@redhat.com>
19695
19696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19697
b2ef2c01
UD
196982010-06-14 Ulrich Drepper <drepper@redhat.com>
19699
19700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19701 and F_GETPIPE_SZ.
19702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19708
fbd643b6
RM
197092010-06-14 Roland McGrath <roland@redhat.com>
19710
19711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19712
f32f2869
JJ
197132010-06-07 Jakub Jelinek <jakub@redhat.com>
19714
19715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19716 __REDIRECT followed by __THROW.
19717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19718 * posix/getopt.h (getopt): Likewise.
19719
2a50c078
EPM
197202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19721
19722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19725 in AT_FLAGS.
19726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19728
eb5ad2eb
LM
197292010-05-28 Luis Machado <luisgpm@br.ibm.com>
19730
19731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19732
3c88fe1e
L
197332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19734
19735 [BZ #11640]
19736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19737 Properly check family and model.
19738
d2f73151
TY
197392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19740
19741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19742
ebd2e13d
LM
197432010-05-24 Luis Machado <luisgpm@br.ibm.com>
19744
19745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19746
b32b8b45
UD
197472010-05-21 Ulrich Drepper <drepper@redhat.com>
19748
19749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19750 symbol reference.
19751
9acbe24d
AS
197522010-05-19 Andreas Schwab <schwab@redhat.com>
19753
19754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19755 symbol reference.
19756
f0ccf6ea
AS
197572010-05-21 Andreas Schwab <schwab@redhat.com>
19758
3d04ff3a
AS
19759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19760 and internal_recvmmsg.
19761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19765
f0ccf6ea
AS
19766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19769
5b08ac57
AS
197702010-05-20 Andreas Schwab <schwab@redhat.com>
19771
19772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19773
4828935d
LM
197742010-05-17 Luis Machado <luisgpm@br.ibm.com>
19775
19776 POWER7 optimizations.
19777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19779
373d545e
UD
197802010-05-19 Ulrich Drepper <drepper@redhat.com>
19781
19782 * version.h: Update for 2.13 development version.
19783
21a2b1ae
AS
197842010-05-12 Andrew Stubbs <ams@codesourcery.com>
19785
19786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19787 exceptions. Return 0.
19788
3f7dcb2b
RM
197892010-05-07 Roland McGrath <roland@redhat.com>
19790
19791 * elf/ldconfig.c (main): Add a const.
19792
5f24d53a 197932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19794
a160f8d8
UD
19795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19796 (args_options): Add no-idn option.
19797 (ahosts_keys_int): Add idn_flags to ai_flags.
19798 (parse_option): Handle 'i' option to clear idn_flags.
19799
5f24d53a
UD
19800 * malloc/malloc.c (_int_free): Possible race in the most recently
19801 added check. Only act on the data if no current modification
19802 happened.
265bb1ce
UD
19803
19804See ChangeLog.17 for earlier changes.