]> sourceware.org Git - glibc.git/blame - ChangeLog
tst-mknodat: create a FIFO instead of a socket
[glibc.git] / ChangeLog
CommitLineData
72581615
PT
12012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2
3 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4
715a900c
JL
52012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6
7 [BZ #6530]
8 * stdio-common/vfprintf.c (process_string_arg): Revert
9 2000-07-22 change.
10
112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12
13 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14 for testcase.
15 * stdio-common/tst-sprintf.c: Include <locale.h>
16 (main): Test sprintf's handling of incomplete multibyte
17 characters.
18
9bac1d86
L
192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20
21 * elf/dl-runtime.c (VERSYMIDX): Removed.
22 * elf/dl-version.c (VERSYMIDX): Likewise.
23 * elf/do-rel.h (VERSYMIDX): Likewise.
24 (VALIDX): Likewise.
25 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26 * elf/rtld.c (VALIDX): Likewise.
27 (ADDRIDX): Likewise.
9bac1d86
L
28 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32 (VALIDX): Likewise.
33 (ADDRIDX): Likewise.
9bac1d86 34
b31606c0
PT
352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36
37 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38
11541177
JL
392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40
41 [BZ #11438]
42 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43 to global scope.
44 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45 addresses are in the same scope as 192.0.2/24.
46 * posix/gai.conf: Document new scope table defaults.
47
adb26fae
SP
482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49
50 [BZ #5298]
51 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52 for ftell. Compute offsets from write pointers instead.
53 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54
4573c6b0
SP
552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56
57 [BZ #14543]
58 * libio/Makefile (tests): New test case tst-fseek.
59 * libio/tst-fseek.c: New test case to verify that fseek/ftell
60 combination works in wide mode.
61 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62 state when the external buffer state changes.
63
aa9bbfe6
DM
642012-09-27 David S. Miller <davem@davemloft.net>
65
66 [BZ #14376]
67 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68 pass reloc->r_addend in as the 'high' argument to
69 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70
784421e7
DM
71 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72
c39bc8b8
PT
732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74
75 * rt/tst-aio2.c: Include <pthread.h>.
76 * rt/tst-aio3.c: Likewise.
77
1ccc2399
SE
782012-09-27 Steve Ellcey <sellcey@mips.com>
79
80 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
81
31ed4153
L
822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
83
25f5f885
L
84 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
85 contents on [SHARED].
31ed4153 86
b7bfe116
MP
872012-09-26 Marek Polacek <polacek@redhat.com>
88
89 [BZ #14530]
90 [BZ #13741]
91 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
92 for C++ and GCC <4.3 as well as for non GCC compilers.
93
43c4edba
MT
942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
95
96 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
97
6a1bf82f
RM
982012-09-25 Roland McGrath <roland@hack.frob.com>
99
100 * Makefile.in (all, install): Declare with .PHONY.
101 Reported by Michael Hope <michael.hope@linaro.org>.
102
8ad11b9a
TMQMF
1032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
104
105 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
106 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
107 system header.
108 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
109 Likewise.
110 (sydep_routines): Add the new and the internal functions.
111 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
112 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
114 (GLIBC_2.17): Add the new function.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
116 (GLIBC_2.17): Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
118 (GLIBC_2.17): Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
120 (GLIBC_2.17): Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
122
7e2fca8d
AM
1232012-09-25 Alan Modra <amodra@gmail.com>
124
125 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
126 Add release barrier before setting once_control to say
127 initialisation is done. Add hints on lwarx. Use macro in
128 place of isync.
129 (clear_once_control): Add release barrier.
130
b87c4b24
JM
1312012-09-25 Joseph Myers <joseph@codesourcery.com>
132
d032e0d2
JM
133 [BZ #13629]
134 * math/s_clog.c (__clog): Handle more values close to |z| = 1
135 specially.
136 * math/s_clog10.c (__clog10): Likewise.
137 * math/s_clog10f.c (__clog10f): Likewise.
138 * math/s_clog10l.c (__clog10l): Likewise.
139 * math/s_clogf.c (__clogf): Likewise.
140 * math/s_clogl.c (__clogl): Likewise.
141 * math/Makefile (libm-calls): Add x2y2m1.
142 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
143 (__x2y2m1): Likewise.
144 (__x2y2m1l): Likewise.
145 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
146 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
147 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
149 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
150 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
151 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
152 * sysdeps/i386/fpu/libm-test-ulps: Update.
153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
154
b87c4b24
JM
155 [BZ #14621]
156 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
157 int as type of variable DEPTH.
158 (glob): Use size_t instead of int as type of variables NEWCOUNT
159 and OLD_PATHC.
160
6d3bf199
LD
1612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
162
22bf5c17
LD
163 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
164 Add s_sincosf-sse2.
165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
166 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
167 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
168 macros for using routine as __sincosf_ia32.
169 Use macro for function declaration and weak_alias.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171
172 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
174
175 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
176 subnormal argument.
177 * math/s_cexpf.c (__cexpf): Likewise.
178 * math/s_csinf.c (__csinf): Likewise.
179 * math/s_csinhf.c (__csinhf): Likewise.
180 * math/s_ctanf.c (__ctanf): Likewise.
181 * math/s_ctanhf.c (__ctanhf): Likewise.
182 * math/s_ccosh.c (__ccoshf): Likewise.
183 * math/s_cexp.c (__cexpl): Likewise.
184 * math/s_csin.c (__csin): Likewise.
185 * math/s_csinh.c (__csinh): Likewise.
186 * math/s_ctan.c (__ctan): Likewise.
187 * math/s_ctanh.c (ctanh): Likewise.
188 * math/s_ccoshl.c (__ccoshl): Likewise.
189 * math/s_cexpl.c (__cexpl): Likewise.
190 * math/s_csinl.c (__csinl): Likewise.
191 * math/s_csinhl.c (__csinhl): Likewise.
192 * math/s_ctanl.c (__ctanl): Likewise.
193 * math/s_ctanhl.c (__ctanhl): Likewise.
194
203e5603
JM
1952012-09-25 Joseph Myers <joseph@codesourcery.com>
196
197 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
198 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
199 (_IO_off_t): Define to __off_t, not _G_off_t.
200 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
201 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
202 (_IO_wint_t): Define to wint_t, not _G_wint_t.
203 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
204 type of __dummy and __dummy2 fields.
205 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
206 (_G_ssize_t): Likewise.
207 (_G_off_t): Likewise.
208 (_G_pid_t): Likewise.
209 (_G_uid_t): Likewise.
210 (_G_wchar_t): Likewise.
211 (_G_wint_t): Likewise.
212 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
213 (_G_ssize_t): Likewise.
214 (_G_off_t): Likewise.
215 (_G_pid_t): Likewise.
216 (_G_uid_t): Likewise.
217 (_G_wchar_t): Likewise.
218 (_G_wint_t): Likewise.
219 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
220 (_G_ssize_t): Likewise.
221 (_G_off_t): Likewise.
222 (_G_pid_t): Likewise.
223 (_G_uid_t): Likewise.
224 (_G_wchar_t): Likewise.
225 (_G_wint_t): Likewise.
226
9fab36eb
SP
2272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
228
229 * malloc/arena.c: Include malloc-sysdep.h.
230 (shrink_heap): Use check_may_shrink_heap to decide if madvise
231 is sufficient to shrink the heap or an unmap is needed.
232 * sysdeps/generic/malloc-sysdep.h: New file. Define
233 new function check_may_shrink_heap.
234 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
235 new function check_may_shrink_heap.
236
2b4f00d1
SP
2372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
238
239 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
240 comments.
241
9a9028b1
DL
2422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
243
57c69bef
DL
244 * catgets/test-gencat.sh: Add "set -e".
245 * elf/tst-pathopt.sh: Likewise.
246 * grp/tst_fgetgrent.sh: Likewise.
247 * iconvdata/run-iconv-test.sh: Likewise.
248 * intl/tst-gettext.sh: Likewise.
249 * intl/tst-gettext2.sh: Likewise.
250 * intl/tst-gettext4.sh: Likewise.
251 * intl/tst-gettext6.sh: Likewise.
252 * intl/tst-translit.sh: Likewise.
253 * io/ftwtest-sh: Likewise.
254 * libio/test-freopen.sh: Likewise.
255 * malloc/tst-mtrace.sh: Likewise.
256 * posix/globtest.sh: Likewise.
257 * posix/tst-getconf.sh: Likewise.
258 * posix/wordexp-tst.sh: Likewise.
259 * stdio-common/tst-printf.sh: Likewise.
260 * stdio-common/tst-unbputc.sh: Likewise.
261 * stdlib/tst-fmtmsg.sh: Likewise.
262 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
263 * catgets/Makefile: Do not specify -e option when running
264 testsuite shell scripts.
265 * elf/Makefile: Likewise.
266 * grp/Makefile: Likewise.
267 * iconvdata/Makefile: Likewise.
268 * intl/Makefile: Likewise.
269 * io/Makefile: Likewise.
270 * libio/Makefile: Likewise.
271 * malloc/Makefile: Likewise.
272 * posix/Makefile: Likewise.
273 * stdio-common/Makefile: Likewise.
274 * stdlib/Makefile: Likewise.
275 * sysdeps/x86_64/Makefile: Likewise.
276
9a9028b1
DL
277 * io/ftwtest-sh: Add copyright header.
278 * posix/globtest.sh: Likewise.
279 * posix/tst-getconf.sh: Likewise.
280 * posix/wordexp-tst.sh: Likewise.
281 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
282
ced6f16e
L
2832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
284
94b32c39
L
285 [BZ #13679]
286 * Makeconfig (+link): Defined as $(+link-static) if
287 $(build-shared) isn't yes.
288 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
289 isn't yes.
290 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
291
189e935b
L
292 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
293
ced6f16e
L
294 [BZ #14562]
295 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
296 new chunk size with MALLOC_ALIGN_MASK.
297
a9f8e53a
JM
2982012-09-24 Joseph Myers <joseph@codesourcery.com>
299
300 [BZ #5044]
301 * stdio-common/printf_fphex.c: Include <stdbool.h> and
302 <rounding-mode.h>.
303 (__printf_fphex): Determine rounding using get_rounding_mode and
304 round_away.
305 * stdio-common/tst-printf-round.c (struct hex_test): New
306 structure.
307 (hex_tests): New variable.
308 (test_hex_in_one_mode): New function.
309 (do_test): Also run tests for hex float output.
310
43153109
JM
3112012-09-21 Joseph Myers <joseph@codesourcery.com>
312
313 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
314 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
315 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
316 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
318 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
319 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
321
8a26625d
JM
3222012-09-20 Joseph Myers <joseph@codesourcery.com>
323
324 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
325 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
326 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
327 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
328
f3fd569c
DL
3292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
330
331 [BZ #14579]
332 * elf/rtld.c (dl_main): Limit the check for self loading to normal
333 mode only.
334 * elf/tst-rtld-load-self.sh: New test.
335 * elf/Makefile: Run it.
336
63bbedd4
JM
3372012-09-18 Joseph Myers <joseph@codesourcery.com>
338
339 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
340 (tst-writev-ENV): Remove.
341 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
342
626f8b6a
CM
3432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
344
345 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
346
b7aaa4d6
JM
3472012-09-17 Joseph Myers <joseph@codesourcery.com>
348
349 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
350 unconditional.
351 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
352 Likewise.
353 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
354 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
356 Likewise.
357
65513990
L
3582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
359
360 [BZ #14587]
361 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
362 * config.make.in (have-cpp-asm-debuginfo): Removed.
363 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
364 * configure: Regenerated.
365
784761be
JM
3662012-09-14 Joseph Myers <joseph@codesourcery.com>
367
368 [BZ #5044]
369 * stdio-common/printf_fp.c: Include <stdbool.h> and
370 <rounding-mode.h>.
371 (___printf_fp): Determine rounding using get_rounding_mode and
372 round_away.
373 * stdio-common/tst-printf-round.c: New file.
374 * stdio-common/Makefile (tests): Add tst-printf-round.
375 (link-libm): New variable.
376 ($(objpfx)tst-printf-round): Depend in $(link-libm).
377
9503345f
L
3782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
379
380 [BZ #14576]
381 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
382 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
383 Likewise.
384 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
385 Likewise.
386
ad35fc00
JM
3872012-09-13 Joseph Myers <joseph@codesourcery.com>
388
389 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
390 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
391 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
393
6c9b0f68
JM
3942012-09-12 Joseph Myers <joseph@codesourcery.com>
395
396 [BZ #14518]
397 * include/rounding-mode.h: New file.
398 * sysdeps/generic/get-rounding-mode.h: Likewise.
399 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
400 * stdlib/strtod_l.c: Include <rounding-mode.h>.
401 (MAX_VALUE): New macro.
402 (MIN_VALUE): Likewise.
403 (overflow_value): New function.
404 (underflow_value): Likewise.
405 (round_and_return): Use overflow_value and underflow_value to
406 determine return values in overflow and underflow cases. Use
407 round_away to determine rounding depending on rounding mode.
408 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
409 determine return values in overflow and underflow cases.
410 * stdlib/tst-strtod-round.c: Include <fenv.h>.
411 (struct test_results): New structure.
412 (struct test): Use struct test_results to store expected results
413 for all rounding modes.
414 (TEST): Include expected results for all rounding modes.
415 (test_in_one_mode): New function.
416 (do_test): Use test_in_one_mode to compute and check results.
417 Check results for all rounding modes.
418 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
419 $(link-libm).
420
19fcedd5
AM
4212012-12-09 Allan McRae <allan@archlinux.org>
422
423 * sysdeps/i386/fpu/libm-test-ulps: Update
424
8bbfd2f1
JM
4252012-09-11 Joseph Myers <joseph@codesourcery.com>
426
427 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
428 (_G_int32_t): Likewise.
429 (_G_uint16_t): Likewise.
430 (_G_uint32_t): Likewise.
431 (_G_HAVE_BOOL): Likewise.
432 (_G_HAVE_ATEXIT): Likewise.
433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
434 (_G_HAVE_IO_FILE_OPEN): Likewise.
435 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
436 (_G_int32_t): Likewise.
437 (_G_uint16_t): Likewise.
438 (_G_uint32_t): Likewise.
439 (_G_HAVE_BOOL): Likewise.
440 (_G_HAVE_ATEXIT): Likewise.
441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
442 (_G_HAVE_IO_FILE_OPEN): Likewise.
443 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
444 (_G_int32_t): Likewise.
445 (_G_uint16_t): Likewise.
446 (_G_uint32_t): Likewise.
447 (_G_HAVE_BOOL): Likewise.
448 (_G_HAVE_ATEXIT): Likewise.
449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
450 (_G_HAVE_IO_FILE_OPEN): Likewise.
451
b1dc5912
L
4522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
453
454 * csu/libc-tls.c: Update copyright years.
455
0e886ef9
JM
4562012-09-10 Joseph Myers <joseph@codesourcery.com>
457
28361c5e
JM
458 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
459 [!_G_USING_THUNKS]: Remove conditional code.
460 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
461 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
462
0e886ef9
JM
463 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
464 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
465 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
466 (_G_VTABLE_LABEL_PREFIX): Likewise.
467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
468 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
470 (_G_VTABLE_LABEL_PREFIX): Likewise.
471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
472 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
473 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
474 (_G_VTABLE_LABEL_PREFIX): Likewise.
475 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
476
bcba7aa2
L
4772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
478
479 * libio/Makefile: Include ../Makeconfig before tests.
480 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
481 only if $(build-shared) is yes.
482
06585ee8
L
483 * iconv/gconv_db.c: Update copyright years.
484
80ccd52c
LD
4852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
486
487 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
488 unwind info if defined PIC. Fix special cases description.
489 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
490
491 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
492 DP_HI_MASK entry.
493 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
494
691bc9c1
L
4952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
496
3d9b46b3
L
497 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
498
de2139a9
L
499 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
500 is NULL.
501
5ca78dd0
L
502 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
503 (LDLIBS-tst-chk4): This.
504 (LDFLAGS-tst-chk5): Renamed to ...
505 (LDLIBS-tst-chk5): This.
506 (LDFLAGS-tst-chk6): Renamed to ...
507 (LDLIBS-tst-chk6): This.
508 (LDFLAGS-tst-lfschk4): Renamed to ...
509 (LDLIBS-tst-lfschk4): This.
510 (LDFLAGS-tst-lfschk5): Renamed to ...
511 (LDLIBS-tst-lfschk5): This.
512 (LDFLAGS-tst-lfschk6): Renamed to ...
513 (LDLIBS-tst-lfschk6): This.
514
691bc9c1
L
515 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
516 on $(common-objpfx)soversions.mk.
517
65cafb1c
JM
5182012-09-07 Joseph Myers <joseph@codesourcery.com>
519
520 [BZ #10014]
521 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
522 example host name.
523
c78ab094
SP
5242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
525
526 * malloc/arena.c (arena_get_retry): New function that gets
527 another arena for the caller to try its request on.
528 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
529 current arena cannot fulfill the request.
530 (__libc_memalign): Likewise.
531 (__libc_memalign): Likewise.
532 (__libc_pvalloc): Likewise.
533 (__libc_calloc): Likewise.
534
01f49f59
JT
5352012-09-05 John Tobey <john.tobey@gmail.com>
536
537 [BZ #13542]
538 * manual/arith.texi (Operations on Complex): Fix description
539 of carg branch cut.
540
4c23fed5
JM
5412012-09-06 Joseph Myers <joseph@codesourcery.com>
542
1d3c8572
JM
543 [BZ #10014]
544 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
545 host name.
546
4c23fed5
JM
547 [BZ #10038]
548 * manual/memory.texi (Memory): Make order of menu items match
549 order of sections.
550
04570aaa
L
5512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
552
553 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
554 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
555 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
556
b80af2f4
L
5572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
558
559 * csu/libc-tls.c (static_dtv): Renamed to ...
560 (_dl_static_dtv): This. Make it global.
561 (_dl_initial_dtv): Removed.
562 (__libc_setup_tls): Updated.
563 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
564 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
565 DL_INITIAL_DTV.
566
2abe9f15
PM
5672012-09-06 Petr Machata <pmachata@redhat.com>
568
569 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
570 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
571 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
572 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
573
0948c3af
L
5742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
575
576 [BZ #14545]
577 * csu/libc-tls.c (_dl_initial_dtv): New variable.
578 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
579 freeing dtv[-1].
580
a5055ad1
L
5812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
582
583 [BZ #14544]
584 * Makeconfig (link-static-before-libc): Replace $(+prector)
585 with $(+prectorT).
586 (link-static-after-libc): Replace $(+postctor) with
587 $(+postctorT).
588 (link-bounded): Replace $(+prector)/$(+postctor) with
589 $(+prectorT)/$(+postctorT).
590 (+prectorT): New macro.
591 (+postctorT): Likewise.
592
ed8c2ecd
JM
5932012-09-06 Joseph Myers <joseph@codesourcery.com>
594
595 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
596 (round_str): Handle values above the maximum for IBM long double
597 as inexact.
598 * stdlib/tst-strtod-round.c (tests): Regenerated.
599
14c996c8
AK
6002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
601
602 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
603 assembler flag.
604 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
605 zarch_nohighgprs around the zarch optimized routines.
606 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
607 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
608 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
609 for zarch.
610
430d6ce6
DM
6112012-09-05 David S. Miller <davem@davemloft.net>
612
613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
614
ff04dda4
DM
615 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
616 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
617 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
618 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
619 entries.
620
24d4e01b
AO
6212012-09-05 Alexandre Oliva <aoliva@redhat.com>
622
623 * malloc/arena.c: Fold copyright years.
624 * malloc/mcheck.c, malloc/memusage.c: Likewise.
625
61d58174
AO
6262012-09-05 Alexandre Oliva <aoliva@redhat.com>
627
628 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
629
20196a5e
AO
6302012-09-05 Alexandre Oliva <aoliva@redhat.com>
631
632 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
633
5c447383
AO
6342012-09-05 Alexandre Oliva <aoliva@redhat.com>
635
636 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
637 change internal state upon failure.
638
fad64255
AO
6392012-09-05 Alexandre Oliva <aoliva@redhat.com>
640
641 * malloc/mcheck.c (mcheck_check_all): Fix typo.
642 * malloc/memusage.c (mmap): Likewise.
643 (mmap64, mremap): Likewise. Adjust name in comment.
644
1ffb8c90
SP
6452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
646
647 * libio/fileops.c: Fix typos in comments.
648 * libio/oldfileops.c: Likewise.
649 * libio/wfileops.c: Likewise.
650
6ef9cc37
SP
6512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
652
653 [BZ #1349]
654 * malloc/Makefile (tests): Add tst-malloc-usable test case.
655 (tst-malloc-usable-ENV): Set environment for test case.
656 * malloc/hooks.c (malloc_check_get_size): New function to get
657 requested size.
658 * malloc/malloc.c (musable): Use malloc_check_get_size.
659 * malloc/tst-malloc-usable.c: New test case.
660
4d038ae3
AS
6612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
662
663 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
664
c4e85184
AM
6652012-09-05 Allan McRae <allan@archlinux.org>
666
b9dafc56 667 [BZ #13966]
c4e85184
AM
668 * configure.in (CXX_SYSINCLUDES): Use compiler output to
669 determine header location.
670 * configure: Regenerated.
671
e1343020
AS
6722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
673
674 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
675 float format.
676 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
677 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
678 format.
e1343020
AS
679 (test): Regenerate.
680
0a9f1987
DM
6812012-09-04 David S. Miller <davem@davemloft.net>
682
683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
686
29237804
FW
6872012-09-04 Florian Weimer <fweimer@redhat.com>
688
689 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
690 failures.
691
edb3cb88
FW
692 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
693
60160d83
JM
6942012-09-04 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #9914]
697 * libio/iogetdelim.c: Include <limits.h>.
698 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
699 + len + 1 would overflow.
700
bcd6c8dc
AJ
7012012-09-03 Andreas Jaeger <aj@suse.de>
702
703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
704 * sysdeps/i386/fpu/libm-test-ulps: Update.
705
4ffffbd2
LD
7062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
707
708 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
709 Add s_sinf-sse2, s_conf-sse2.
710
711 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
712 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
713 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
714 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
715
716 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
717 for using routine as __sinf_ia32.
718 Use macro for function declaration and weak_alias.
719 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
720 for using routine as __cosf_ia32.
721 Use macro for function declaration and weak_alias.
722
723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
724 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
725
726 * sysdeps/x86_64/fpu/s_sinf.S: New file.
727 * sysdeps/x86_64/fpu/s_cosf.S: New file.
728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
729
730 * math/libm-test.inc (cos_test): Add more test cases.
731 (sin_test): Likewise.
732 (sincos_test): Likewise.
733
511fa286
AK
7342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
735
736 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
737 (IFUNC_RESOLVE): Make pointers to the specialized implementations
738 hidden.
739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
740
5f30cfec
L
7412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
742
743 [BZ #14538]
744 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
745 first element of the GOT.
746 (elf_machine_load_address): Return the difference between
747 the runtime address of _DYNAMIC and elf_machine_dynamic ().
748
0786794f
AM
7492012-09-01 Allan McRae <allan@archlinux.org>
750
5f30cfec
L
751 [BZ #13412]
752 * configure.in (AWK): Require gawk version 3.0 or later.
753 * configure: Regenerated.
0786794f 754
26889eac
JM
7552012-09-01 Joseph Myers <joseph@codesourcery.com>
756
757 * sysdeps/unix/sysv/linux/kernel-features.h
758 (__ASSUME_POSIX_CPU_TIMERS): Remove.
759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
760 [__NR_clock_getres]: Make code unconditional.
761 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
762 (clock_getcpuclockid): Remove code left unreachable by removal of
763 conditionals.
764 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
765 code unconditional.
766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
769 Make code unconditional.
770 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
771 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/clock_settime.c
773 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
774 conditional code.
775 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
777
d22e28b0
L
7782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
779
780 [BZ #14476]
781 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
782 scripts/test-installation.pl.
783
784 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
785 and $ld_so_version if it is set.
786
050af9c4
SP
7872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
788
789 [BZ #14516]
790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
791 failure if reading from procfs failed.
792 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
793
ad845c0b
JM
7942012-08-27 Joseph Myers <joseph@codesourcery.com>
795
796 * sysdeps/unix/sysv/linux/kernel-features.h
797 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
798 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
799 Remove conditional code.
800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
801 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
802 Remove conditional code.
803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
804 * sysdeps/unix/sysv/linux/i386/fxstat.c
805 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
807 * sysdeps/unix/sysv/linux/i386/fxstatat.c
808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
810 * sysdeps/unix/sysv/linux/i386/lxstat.c
811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
813 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
814 Remove conditional code.
815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
816 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
817 Remove conditional code.
818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
820 <kernel-features.h>.
821 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
822 Remove.
823 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
824 Remove conditional code.
825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
826 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
827 Remove conditional.
828
5dbf56af
MF
8292012-08-27 Mike Frysinger <vapier@gentoo.org>
830
831 [BZ #5400]
832 * NEWS: Add fixed bug number.
833
d6e70f43
JM
8342012-08-27 Joseph Myers <joseph@codesourcery.com>
835
7efb4737
JM
836 [BZ #14519]
837 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
838 underflowing exponent in case of negative sign.
839 * stdlib/tst-strtod-round-data: Add more tests.
840 * stdlib/tst-strtod-round.c (tests): Regenerated.
841
af92131a
JM
842 [BZ #3479]
843 * stdlib/strtod_l.c (NDIG): Remove.
844 (HEXNDIG): Likewise.
845 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
846 smallest representable value.
847 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
848 lie within an exact representation of 1/2 ulp of the result.
849 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
850 unconditionally.
851 (TENS_P9_IDX): Define unconditionally.
852 (TENS_P9_SIZE): Likewise.
853 (TENS_P10_IDX): Likewise.
854 (TENS_P10_SIZE): Likewise.
855 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
856 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
858 entries for 10^2^13 and 10^2^14.
859 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
860 (TENS_P13_IDX): Define.
861 (TENS_P13_SIZE): Likewise.
862 (TENS_P14_IDX): Likewise.
863 (TENS_P14_SIZE): Likewise.
864 (_fpioconst_pow10): Change array size to
865 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
866 unconditional.
867 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
868 1024]: Add entries for 10^2^13 and 10^2^14.
869 [LAST_POW10 > _LAST_POW10]: Remove #error.
870 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
871 (_fpioconst_pow10): Change array size to
872 FPIOCONST_POW10_ARRAY_SIZE.
873 * stdlib/gen-fpioconst.c: New file.
874 * stdlib/gen-tst-strtod-round.c: Likewise.
875 * stdlib/tst-strtod-round-data: Likewise.
876 * stdlib/tst-strtod-round.c: Likewise.
877 * stdlib/Makefile (tests): Add tst-strtod-round.
878
d6e70f43
JM
879 [BZ #14459]
880 * stdlib/strtod_l.c: Include <stdint.h>.
881 (NDEBUG): Do not define.
882 (round_and_return): Change EXPONENT parameter to type intmax_t.
883 Rearrange calculations to avoid internal overflow possibilities.
884 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
885 Rearrange calculations to avoid internal overflow possibilities.
886 Assert that number fits inside MPNSIZE limbs.
887 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
888 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
889 calculations and add assertions to avoid internal overflow
890 possibilities. Add casts to avoid signed/unsigned operations.
891 * stdlib/tst-strtod-overflow.c: New file.
892 * stdlib/Makefile (tests): Add tst-strtod-overflow.
893
1f529f7d
MP
8942012-08-25 Marek Polacek <polacek@redhat.com>
895
896 * time/time.h: Fix some typos in comments.
897
59a629f1
RM
8982012-08-23 Roland McGrath <roland@hack.frob.com>
899
900 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
901 * posix/tst-rfc3484-2.c: Likewise.
902 * posix/tst-rfc3484-3.c: Likewise.
903
d3bafbc9
SM
9042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
905
906 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
907 (EF_ARM_ABI_FLOAT_HARD): Likewise.
908
4efcc022
JM
9092012-08-23 Joseph Myers <joseph@codesourcery.com>
910
911 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
912 #include of fxstatat64.c.
913
3cc3ef96
RM
9142012-08-22 Roland McGrath <roland@hack.frob.com>
915
f04e2132
RM
916 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
917 * shadow/getspent_r.c: Likewise.
918 * shadow/getspnam.c: Likewise.
919 * shadow/getspnam_r.c: Likewise.
920 * gshadow/getsgent.c: Likewise.
921 * gshadow/getsgent_r.c: Likewise.
922 * gshadow/getsgnam.c: Likewise.
923 * gshadow/getsgnam_r.c: Likewise.
924 * inet/getnetbyad.c: Likewise.
925 * inet/getnetbyad_r.c: Likewise.
926 * inet/getnetbynm.c: Likewise.
927 * inet/getnetbynm_r.c: Likewise.
928 * inet/getnetent.c: Likewise.
929 * inet/getnetent_r.c: Likewise.
930 * inet/getproto.c: Likewise.
931 * inet/getproto_r.c: Likewise.
932 * inet/getprtent.c: Likewise.
933 * inet/getprtent_r.c: Likewise.
934 * inet/getprtname.c: Likewise.
935 * inet/getprtname_r.c: Likewise.
936 * inet/getrpcbyname.c: Likewise.
937 * inet/getrpcbyname_r.c: Likewise.
938 * inet/getrpcbynumber.c: Likewise.
939 * inet/getrpcbynumber_r.c: Likewise.
940 * inet/getrpcent.c: Likewise.
941 * inet/getrpcent_r.c: Likewise.
942 * inet/getaliasent.c: Likewise.
943 * inet/getaliasent_r.c: Likewise.
944 * inet/getaliasname.c: Likewise.
945 * inet/getaliasname_r.c: Likewise.
946 * nscd/getgrgid_r.c: Likewise.
947 * nscd/getgrnam_r.c: Likewise.
948 * nscd/gethstbyad_r.c: Likewise.
949 * nscd/gethstbynm3_r.c: Likewise.
950 * nscd/getpwnam_r.c: Likewise.
951 * nscd/getpwuid_r.c: Likewise.
952 * nscd/getsrvbynm_r.c: Likewise.
953 * nscd/getsrvbypt_r.c: Likewise.
954 * nscd/gai.c: Likewise.
955
c53d909c
RM
956 * configure.in (build_nscd): New substituted variable, set
957 by --disable-build-nscd and defaults to $use_nscd.
958 * configure: Regenerated.
959 * config.make.in (build-nscd): New substituted variable.
960 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
961 Change conditional to require [$(build-nscd) = yes] as well.
962 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
963
3cc3ef96
RM
964 [BZ# 13696]
965 * configure.in (use_nscd): New substituted variable, set by
966 --disable-nscd. If enabled, define USE_NSCD.
967 * configure: Regenerated.
968 * config.h.in: Add USE_NSCD.
969 * config.make.in (use-nscd): New substituted variable.
970 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
971 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
972 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
973 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
974 (CFLAGS-getgrnam_r.c): Likewise.
975 (CFLAGS-initgroups.c): Likewise.
976 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
977 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
978 Variables removed.
979 * inet/getnetgrent_r.c
980 (nscd_setnetgrent): New function, broken out of ...
981 (setnetgrent): ... here. Call it.
982 (innetgr): Conditionalize nscd bits on [USE_NSCD].
983 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
984 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
985 * nscd/Makefile (routines, aux): Move definitions after include of
986 Makeconfig. Conditionalize on [$(use-nscd) != no].
987 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
988 Conditionalize on [USE_NSCD].
989 (is_nscd, nscd_init_cb): Likewise.
990 (nss_load_library): Conditionalize init callback on [USE_NSCD].
991 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
992 * nss/nss_db/db-init.c: Likewise.
993 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
994 [USE_NSCD].
995 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
996 (make_request): Use it.
997 (cache_valid_p): New function.
998 (__check_pf): Use it.
999 * NEWS: Add item for --disable-nscd.
1000
07e51550
DL
10012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1002
1003 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1004 to support sed >= 4.2.1-20-ga9bf076.
1005 * configure: Regenerated.
1006
35a5b08b
RM
10072012-08-22 Roland McGrath <roland@hack.frob.com>
1008
1009 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1010 Conditionalize whole body on [IREL].
1011
8479f23a
JL
10122012-08-22 Jeff Law <law@redhat.com>
1013
1014 [BZ #14505]
1015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1016 if the family is PF_UNSPEC.
1017
48da0b21
MF
10182012-08-22 Mike Frysinger <vapier@gentoo.org>
1019
1020 * Makerules (lib-version): Rename from V.
1021 (install-lib-nosubdir): Change V to lib-version.
1022
15d0da8c
WS
10232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1024
1025 [BZ #14252]
1026 * powerpc32/power6/wcschr.c: New file.
1027 * powerpc32/power6/wcscpy.c: New file.
1028 * powerpc32/power6/wcsrchr.c: New file.
1029 * powerpc64/power6/wcschr.c: New file.
1030 * powerpc64/power6/wcscpy.c: New file.
1031 * powerpc64/power6/wcsrchr.c: New file.
1032
bcca0895
MK
10332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1034
1035 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1036 (two_way_short_needle): Use it.
5a4aaa33
RM
1037 * string/strstr.c (AVAILABLE1_USES_J): Define.
1038 * string/strcasestr.c: Likewise.
99677e57
MK
1039
1040 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1041 array references.
1042 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1043
400726de
MK
1044 [BZ #11607]
1045 * NEWS: Add an entry.
1046 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1047 define their defaults.
1048 (two_way_short_needle): Detect end-of-string on-the-fly.
1049 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1050 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1051 * string/bug-strcasestr1.c: New test.
1052 * string/Makefile: Run it.
1053
20a71f2c
MK
10542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1055
1056 [BZ #11607]
1057 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1058 the first character.
1059
21ad0558
RM
10602012-08-21 Roland McGrath <roland@hack.frob.com>
1061
1062 * csu/elf-init.c (__libc_csu_irel): Function removed.
1063 * csu/libc-start.c (apply_irel): New function.
1064 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1065
0e1d9911
JM
10662012-08-21 Joseph Myers <joseph@codesourcery.com>
1067
1068 * sysdeps/unix/sysv/linux/kernel-features.h
1069 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1070 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1071 <kernel-features.h>.
1072 [__NR_fadvise64_64]: Make code unconditional.
1073 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1074 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1075 !__NR_fadvise64_64)]: Likewise.
1076 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1077 !__NR_fadvise64_64))]: Likewise.
1078 [__NR_fadvise64]: Make code unconditional.
1079 [!__NR_fadvise64]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1081 <kernel-features.h>.
1082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1083 unconditional.
1084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1085 conditional code.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1087 not include <kernel-features.h>.
1088 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1089 unconditional.
1090 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1091 conditional code.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1093 include <kernel-features.h>.
1094 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1095 unconditional.
1096 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1097 conditional code.
1098
14a50c9d
WS
10992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1100
1101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1102 slight instruction rearrangements per scrollpipe analysis.
1103 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1104
c0f4faf0
RM
11052012-08-20 Roland McGrath <roland@hack.frob.com>
1106
696da859
RM
1107 * manual/syslog.texi (syslog; vsyslog, closelog):
1108 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1109 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1110
c0f4faf0
RM
1111 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1112 DSOCAPS to match condition on defining it.
1113
348363b2
JM
11142012-08-20 Joseph Myers <joseph@codesourcery.com>
1115
a35cbf28
JM
1116 * sysdeps/unix/sysv/linux/kernel-features.h
1117 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1127
445f7ecd
JM
1128 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1129 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1130
348363b2
JM
1131 * sysdeps/unix/sysv/linux/kernel-features.h
1132 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1133 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1134 unconditional.
1135 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1139 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1140 Make code unconditional.
1141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1142 (__mmap64) [!__NR_mmap2]: Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1144 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1145 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1147 [__NR_mmap2]: Make code unconditional.
1148 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1149 (__mmap64) [!__NR_mmap2]: Likewise.
1150
bc5bc0e5
AK
11512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1152
1153 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1154
88d506de
AJ
11552012-08-18 Andreas Jaeger <aj@suse.de>
1156
1157 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1158
493387d2
MF
11592012-08-18 Mike Frysinger <vapier@gentoo.org>
1160
1161 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1162 * include/unistd.h (__have_sock_cloexec): Likewise.
1163 (__have_pipe2): Likewise.
1164 (__have_dup3): Likewise.
1165
a277af22
MF
11662012-08-18 Mike Frysinger <vapier@gentoo.org>
1167
1168 [BZ #9685]
1169 * include/unistd.h (__have_pipe2): Change define into an extern int.
1170 (__have_dup3): Likewise.
1171 * socket/have_sock_cloexec.c: Include fcntl.h.
1172 (__have_pipe2): New variable.
1173 (__have_dup3): Likewise.
1174
fdab8fd3
MF
11752012-08-17 Mike Frysinger <vapier@gentoo.org>
1176
1177 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1178
31035e80
MP
11792012-08-17 Marek Polacek <polacek@redhat.com>
1180
1181 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1182 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1183
3bd9e993
RM
11842012-08-17 Roland McGrath <roland@hack.frob.com>
1185
c91c505f
RM
1186 * configure.in: Add AC_SUBST for sysheaders.
1187 * configure: Regenerated.
1188 * config.make.in (sysheaders): New substituted variable.
1189
7c6f9d53
RM
1190 * sysdeps/unix/mkfifo.c: Moved ...
1191 * sysdeps/posix/mkfifo.c: ... here.
1192 * sysdeps/unix/mkfifoat.c: Moved ...
1193 * sysdeps/posix/mkfifoat.c: ... here.
1194
1195 * sysdeps/unix/utime.c: Moved ...
1196 * sysdeps/posix/utime.c: ... here.
1197
1198 * sysdeps/unix/time.c: Moved ...
1199 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1200 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1201 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1202
1203 * sysdeps/unix/nice.c: Moved ...
1204 * sysdeps/posix/nice.c: ... here.
1205
1206 * sysdeps/unix/alarm.c: Moved ...
1207 * sysdeps/posix/alarm.c: ... here.
1208
3bd9e993
RM
1209 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1210
d1f09384
JL
12112012-08-17 Jeff Law <law@redhat.com>
1212
1213 * intl/Makefile (codeset_mo): New variable.
1214 ($(codeset_mo)): New target.
1215 (tst-codeset.out): Depend on that. Remove explicit rule.
1216 (tst-gettext3.out, tst-gettext5.out): Likewise.
1217 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1218 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1219 * intl/tst-codeset.sh: Remove.
1220 * intl/tst-gettext3.sh: Likewise.
1221 * intl/tst-gettext5.sh: Likewise.
1222
2ae1ae5c
RM
12232012-08-17 Roland McGrath <roland@hack.frob.com>
1224
c31fdb83
RM
1225 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1226 * sysdeps/unix/syscalls.list: ... here.
1227
a0844057
RM
1228 * sysdeps/posix/getaddrinfo.c
1229 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1230 (gaiconf_init, gaiconf_reload): Use them.
1231 [!_STATBUF_ST_NSEC]
1232 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1233 Define using time_t rather than struct timespec.
1234
750c1f2a
RM
1235 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1236 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1237 Macros removed.
1238 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1239 [!NO_THREADS].
1240 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1241 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1242 Likewise.
1243
2ae1ae5c
RM
1244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1245 __libc_cleanup_push argument.
1246
e66a42f5
RM
1247 * bits/param.h: New file.
1248 * misc/sys/param.h: New file.
1249 * include/sys/param.h: New file.
1250 * misc/Makefile (headers): Add bits/param.h.
1251 * sysdeps/generic/sys/param.h: File removed.
1252 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1253 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1254 * sysdeps/mach/hurd/bits/param.h: New file.
1255 * sysdeps/mach/hurd/sys/param.h: New file.
1256
b7c08a66
RM
1257 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1258 last change.
1259
b2e1c562
RM
1260 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1261 [_IO_MTSAFE_IO].
1262 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1263 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1264 New macros.
1265
c75ccd4c
RM
1266 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1267 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1268 rather than -D_IO_MTSAFE_IO conditionally.
1269 * stdio-common/Makefile (CPPFLAGS): Likewise.
1270 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1271 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1272 Use $(libio-mtsafe).
1273 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1274 of -D_IO_MTSAFE_IO.
1275 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1276 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1277 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1278 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1279 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1280 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1281 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1282 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1283 (CFLAGS-fread_u_chk.c): Likewise.
1284 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1285 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1286 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1287 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1288 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1289 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1290 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1291 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1292 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1293
1294 * libio/Makefile: Test [$(libc-reentrant) = yes]
1295 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1296
1297 * Makeconfig
1298 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1299 * sysdeps/pthread/configure: File removed.
1300 * sysdeps/pthread/Makeconfig: New file.
1301 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1302 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1303
d9195db8
GB
13042012-08-16 Gary Benson <gbenson@redhat.com>
1305
1306 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1307 unmapping the first object in a namespace.
1308
86466cd9
RM
13092012-08-16 Roland McGrath <roland@hack.frob.com>
1310
1311 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1312 (__internal_setnetgrent): ... this. Add internal_function to
1313 definition. Add libc_hidden_def.
1314 (setnetgrent): Update caller.
1315 (internal_endnetgrent): Renamed to ...
1316 (__internal_endnetgrent): ... this. Add internal_function to
1317 definition. Add libc_hidden_def.
1318 (endnetgrent): Update caller.
1319 (internal_getnetgrent_r): Renamed to ...
1320 (__internal_getnetgrent_r): ... this. Add internal_function to
1321 definition. Add libc_hidden_def.
1322 (__getnetgrent_r): Update caller.
1323 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1324
c3c8283c
JM
13252012-08-16 Joseph Myers <joseph@codesourcery.com>
1326
1327 * stdlib/longlong.h: Update from GCC.
1328
db1ee0a8
RM
13292012-08-16 Roland McGrath <roland@hack.frob.com>
1330
1331 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1332 on _QL, which is set by umul_ppmm but never used.
1333 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1334 variables, which are set by GMP macros but never used.
1335 * stdio-common/_itowa.c (_itowa): Likewise.
1336 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1337 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1338
30f69637
CD
13392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1340
1341 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1342 struct La_sh_regs is not constant.
1343 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1344 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1345 and struct La_sparc64_regs are not constant.
1346
93a78ac4
JM
13472012-08-16 Joseph Myers <joseph@codesourcery.com>
1348
1349 * sysdeps/unix/sysv/linux/kernel-features.h
1350 (__ASSUME_POSIX_TIMERS): Remove.
1351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1353 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1354 Make code unconditional.
1355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1356 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1357 Make code unconditional.
1358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1359 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1360 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1362 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1363 Make code unconditional.
1364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1365 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1366 (__libc_missing_posix_timers): Remove.
1367
dd924cd7
RM
13682012-08-15 Roland McGrath <roland@hack.frob.com>
1369
4b4f2771
RM
1370 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1371 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1372
601c888b
RM
1373 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1374
176790a7
RM
1375 * elf/dl-sym.c: Include <stdlib.h>.
1376
329bc018
RM
1377 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1378 constants, which avoids warnings in 32-bit builds.
1379
e04e272d
RM
1380 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1381 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1382
952bf94a
RM
1383 * misc/lseek.c: File moved to ...
1384 * io/lseek.c: ... here.
1385
7c99b50a
RM
1386 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1387
dd924cd7
RM
1388 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1389 shifting LEN more than 31 bits at once.
1390
b3f479a8
LD
13912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1392
1393 [BZ #14195]
8c4ae0d4
RM
1394 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1395 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1396 * string/test-strncasecmp.c (check1): Renamed to...
1397 (bz12205): ...this.
1398 (bz14195): Add new testcase for two empty input strings and N > 0.
1399 (test_main): Call new testcase, adapt for renamed function.
1400
9c55864e
AJ
14012012-08-15 Andreas Jaeger <aj@suse.de>
1402
1403 [BZ #14090]
1404 * crypt/md5test2.c: New test, based on test supplied by Serge
1405 Belyshev <belyshev@depni.sinp.msu.ru>.
1406 * crypt/Makefile (xtests): Add md5test-giant..
1407 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1408
02dcb6c5
PE
14092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1410
1411 [BZ #14090]
1412 * crypt/md5.c (md5_process_block): Don't assume the buffer
1413 length is less than 2**32.
1414 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1415 length is less than 2**64.
1416
a3f95dcc
RM
14172012-08-15 Roland McGrath <roland@hack.frob.com>
1418
be75d758
RM
1419 * string/str-two-way.h: Include <sys/param.h>.
1420 (MAX): Macro removed.
1421
7312ca90
RM
1422 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1423 Move #define and #undef of memmove to just before and after
1424 including <string.h>.
1425
9a0a5486
RM
1426 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1427 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1428 and after including <string.h>. Move declarations of
1429 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1430 to before #include "string/memmove.c".
1431
67cc348d
RM
1432 * include/dirent.h: Declare __getdirentries.
1433
a3f95dcc
RM
1434 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1435 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1436
ca98e171
MF
14372012-08-14 Mike Frysinger <vapier@gentoo.org>
1438
1439 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1440 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1441 * sysdeps/i386/configure: Regenerated.
1442 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1443 STABS_CURRENT_FILE, and STABS_FUN.
1444 (END): Remove call to STABS_FUN_END.
1445 (STABS_CURRENT_FILE1): Delete.
1446 (STABS_CURRENT_FILE): Likewise.
1447 (STABS_FUN): Likewise.
1448 (STABS_FUN_END): Likewise.
1449 (STABS_FUN2): Likewise.
1450 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1451 * sysdeps/x86_64/configure: Regenerated.
1452
5908bf46
RM
14532012-08-14 Roland McGrath <roland@hack.frob.com>
1454
1455 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1456 * elf/dl-lookup.c: Likewise.
5908bf46 1457
f2c05b9e
JM
14582012-08-14 Joseph Myers <joseph@codesourcery.com>
1459
1460 * sysdeps/unix/sysv/linux/kernel-features.h
1461 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1462 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1463 unconditionally.
1464 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1465 unconditionally.
1466 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1467 condition on __ASSUME_CLONE_THREAD_FLAGS.
1468
e11f5155
AJ
14692012-08-14 Andreas Jaeger <aj@suse.de>
1470
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472
51a9ba86
MK
14732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1474
2fdd4f78
AJ
1475 * include/atomic.h (atomic_exchange_and_add): Split into ...
1476 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1477 New atomic macros.
51a9ba86 1478
ba6cba9e
MT
14792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1480
1481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1482
42443a47
JL
14832012-08-13 Jeff Law <law@redhat.com>
1484
1485 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1486 null byte in the output string.
1487
121dce05
JM
14882012-08-10 Joseph Myers <joseph@codesourcery.com>
1489
1490 * sysdeps/unix/sysv/linux/kernel-features.h
1491 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1492 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1493 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1494 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1495 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1496 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1497 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1498
bf51f568
JL
14992012-08-09 Jeff Law <law@redhat.com>
1500
1501 [BZ #13939]
1502 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1503 When avoid_arena is set, don't retry in the that arena. Pick the
1504 next one, whatever it might be.
1505 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1506 (arena_lock): Pass in new parameter to arena_get2.
1507 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1508 arena_get2.
1509 (__libc_malloc): Unify retrying after main arena failure with
1510 __libc_memalign version.
1511 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1512
f85fa270
L
15132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 [BZ #14166]
1516 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1517 to __redirect_strstr.
1518 (__strstr_sse42): Use typeof __redirect_strstr.
1519 (__strstr_ia32): Likewise.
1520 (__libc_strstr): New prototype.
1521 (strstr): Renamed to ...
1522 (__libc_strstr): This.
1523 (strstr): New strong alias of __libc_strstr.
1524 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1525 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1526 __redirect_time.
1527 Include <time.h>.
1528 (__libc_time): New prototype.
1529 (time_ifunc): Replace time with __libc_time.
1530 (time): New strong alias and hidden definition of __libc_time.
1531 (__GI_time): Remove strong alias.
1532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1533 Include <stddef.h>.
1534 (memmove): Redefined to __redirect_memmove.
1535 (__memmove_sse2): Use typeof __redirect_memmove.
1536 (__memmove_ssse3): Likewise.
1537 (__memmove_ssse3_back): Likewise.
1538 (__libc_memmove): New prototype.
1539 (memmove): Renamed to ...
1540 (__libc_memmove): This.
1541 (memmove): New strong alias of __libc_memmove.
1542
33b4a91e
MS
15432012-08-08 Mark Salter <msalter@redhat.com>
1544
1545 * elf/elf.h
1546 (R_MN10300_TLS_GD): Define.
1547 (R_MN10300_TLS_LD): Likewise.
1548 (R_MN10300_TLS_LDO): Likewise.
1549 (R_MN10300_TLS_GOTIE): Likewise.
1550 (R_MN10300_TLS_IE): Likewise.
1551 (R_MN10300_TLS_LE): Likewise.
1552 (R_MN10300_TLS_DTPMOD): Likewise.
1553 (R_MN10300_TLS_DTPOFF): Likewise.
1554 (R_MN10300_TLS_TPOFF): Likewise.
1555 (R_MN10300_SYM_DIFF): Likewise.
1556 (R_MN10300_ALIGN): Likewise.
1557 (R_MN10300_NUM): Update.
1558
b36137f1
JM
15592012-08-08 Joseph Myers <joseph@codesourcery.com>
1560
1561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1562 Remove.
1563
cdd915fd
RM
15642012-08-08 Roland McGrath <roland@hack.frob.com>
1565
a2433aac
RM
1566 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1567
cdd915fd
RM
1568 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1569 sysdeps/unix -> sysdeps/posix move.
1570 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1571
bf9b740a
AM
15722012-08-07 Allan McRae <allan@archlinux.org>
1573
1574 [BZ #14303]
1575 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1576 (SUNOS_CPP): Likewise.
1577 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1578 not found.
1579 (open_input): Call CPP using execvp.
1580
93df14ee
JM
15812012-08-07 Joseph Myers <joseph@codesourcery.com>
1582
1583 * sysdeps/unix/sysv/linux/kernel-features.h
1584 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1585 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1586 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1587 (__ASSUME_WAITID_SYSCALL): Likewise.
1588 * sysdeps/unix/sysv/linux/dl-execstack.c
1589 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1590 code unconditional.
1591 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1592 conditional code.
1593 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1594 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1595 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1596 code.
1597 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1598 unconditional.
1599 [__ASSUME_WAITID_SYSCALL]: Likewise.
1600 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1601
d34689de
RM
16022012-08-07 Roland McGrath <roland@hack.frob.com>
1603
a281decc
RM
1604 * sysdeps/unix/closedir.c: Renamed to ...
1605 * sysdeps/posix/closedir.c: ... here.
1606 * sysdeps/unix/dirfd.c: Renamed to ...
1607 * sysdeps/posix/dirfd.c: ... here.
1608 * sysdeps/unix/dirstream.h: Renamed to ...
1609 * sysdeps/posix/dirstream.h: ... here.
1610 * sysdeps/unix/fdopendir.c: Renamed to ...
1611 * sysdeps/posix/fdopendir.c: ... here.
1612 * sysdeps/unix/opendir.c: Renamed to ...
1613 * sysdeps/posix/opendir.c: ... here.
1614 * sysdeps/unix/readdir.c: Renamed to ...
1615 * sysdeps/posix/readdir.c: ... here.
1616 * sysdeps/unix/readdir_r.c: Renamed to ...
1617 * sysdeps/posix/readdir_r.c: ... here.
1618 * sysdeps/unix/rewinddir.c: Renamed to ...
1619 * sysdeps/posix/rewinddir.c: ... here.
1620 * sysdeps/unix/seekdir.c: Renamed to ...
1621 * sysdeps/posix/seekdir.c: ... here.
1622 * sysdeps/unix/telldir.c: Renamed to ...
1623 * sysdeps/posix/telldir.c: ... here.
1624 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1625 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1626 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1627 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1628
22895b47
RM
1629 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1630 * bits/fcntl.h: ... here.
1631
707a53b6
RM
1632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1633 not 0.
1634 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1635 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1636 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1637 (struct flock): Move l_start, l_len to the beginning.
1638 Use __pid_t for l_pid.
1639 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1640 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1641 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1642 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1643 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1644 [__USE_LARGEFILE64] (struct flock64): New type.
1645 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1646
f0bd3e25
RM
1647 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1648 * bits/dirent.h: ... here.
1649
d34689de
RM
1650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1651 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1652
6dad2c06
JM
16532012-08-07 Joseph Myers <joseph@codesourcery.com>
1654
1655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1656 Change from 2.6.0 to 2.6.16.
1657 * sysdeps/unix/sysv/linux/configure: Regenerated.
1658 * sysdeps/unix/sysv/linux/kernel-features.h
1659 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1660 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1661 version.
1662 (__ASSUME_UTIMES): Likewise.
1663 (__ASSUME_CLONE_STOPPED): Remove.
1664 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1665 architectures, not kernel version.
1666 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1669 (__ASSUME_WAITID_SYSCALL): Likewise.
1670 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1671 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1672 * README: State 2.6.16 as minimum Linux kernel version. Do not
1673 refer to older versions.
1674
03af9520
RM
16752012-08-06 Roland McGrath <roland@hack.frob.com>
1676
8e49df1d
RM
1677 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1678 Define alphasort64 as an alias.
1679 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1680 Define versionsort64 as an alias.
1681 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1682 Define scandir64 as an alias.
1683 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1684 Define scandirat64 as an alias.
1685 * dirent/alphasort64.c (alphasort64):
1686 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1687 * dirent/versionsort64.c: Likewise.
1688 * dirent/scandir64.c: Likewise.
1689 * dirent/scandirat64.c: Likewise.
1690 * sysdeps/wordsize-64/alphasort.c: File removed.
1691 * sysdeps/wordsize-64/alphasort64.c: File removed.
1692 * sysdeps/wordsize-64/scandir.c: File removed.
1693 * sysdeps/wordsize-64/scandir64.c: File removed.
1694 * sysdeps/wordsize-64/scandirat.c: File removed.
1695 * sysdeps/wordsize-64/scandirat64.c: File removed.
1696 * sysdeps/wordsize-64/versionsort.c: File removed.
1697 * sysdeps/wordsize-64/versionsort64.c: File removed.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1706
1707 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1709 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1711 [defined __arch64__ || defined __sparcv9]
1712 (__INO_T_MATCHES_INO64_T): New macro.
1713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1714 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1715 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1716 * sysdeps/unix/sysv/linux/bits/dirent.h
1717 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1718 (_DIRENT_MATCHES_DIRENT64): New macro.
1719
03af9520
RM
1720 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1721 Define lockf64 as an alias.
1722 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1723 Define fseeko64 as an alias.
1724 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1725 Define ftello64 as an alias.
1726 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1727 Define _IO_fgetpos64 and fgetpos64 as aliases.
1728 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1729 Define _IO_fsetpos64 and fsetpos64 as aliases.
1730 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1731 Conditionalize body on this.
1732 * libio/fseeko64.c: Likewise.
1733 * libio/ftello64.c: Likewise.
1734 * libio/iofgetpos64.c: Likewise.
1735 * libio/iofsetpos64.c: Likewise.
1736 * sysdeps/wordsize-64/lockf.c: File removed.
1737 * sysdeps/wordsize-64/lockf64.c: File removed.
1738 * sysdeps/wordsize-64/fseeko.c: File removed.
1739 * sysdeps/wordsize-64/fseeko64.c: File removed.
1740 * sysdeps/wordsize-64/ftello.c: File removed.
1741 * sysdeps/wordsize-64/ftello64.c: File removed.
1742 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1743 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1744 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1745 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1753 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1756
1757 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1759 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1761 [defined __arch64__ || defined __sparcv9]
1762 (__OFF_T_MATCHES_OFF64_T): New macro.
1763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1764 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1766 (__OFF_T_MATCHES_OFF64_T): New macro.
1767
c5757acd
L
17682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 * stdlib/secure-getenv.c (__secure_getenv): Replace
1771 GLIBC_2_16 with GLIBC_2_17.
1772
3a31811e
L
17732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1777
faa2bccb
DM
17782012-08-03 David S. Miller <davem@davemloft.net>
1779
1780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1781
85fe1997
JM
17822012-08-03 Joseph Myers <joseph@codesourcery.com>
1783
1784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1785 Remove.
1786 (__ASSUME_CORRECT_SI_PID): Likewise.
1787 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1788 (__ASSUME_TMPFS_NAME): Likewise.
1789 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1790 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1791 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1792 (HAVE_AUX_SECURE): Make definition unconditional.
1793 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1794 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1795
4f75b7a0
RM
17962012-08-03 Roland McGrath <roland@hack.frob.com>
1797
1798 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1799 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1800 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1801 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1802 __eloop_threshold instead of SYMLOOP_MAX.
1803
1804 * sysdeps/generic/eloop-threshold.h: New file.
1805 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1806 of MAXSYMLINKS.
1807 * elf/chroot_canon.c (chroot_canon): Likewise.
1808
7aab07e4
JM
18092012-08-03 Joseph Myers <joseph@codesourcery.com>
1810
1811 [BZ #13717]
1812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1813 Change to 2.6.0 everywhere.
1814 * sysdeps/unix/sysv/linux/configure: Regenerated.
1815 * sysdeps/unix/sysv/linux/kernel-features.h
1816 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1817 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1818 kernel versions.
1819 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1820 (__ASSUME_FUTEX_REQUEUE): Remove.
1821 (__ASSUME_STATFS64): Define unconditionally.
1822 (__ASSUME_AT_SECURE): Likewise.
1823 (__ASSUME_CORRECT_SI_PID): Likewise.
1824 (__ASSUME_TGKILL): Define without depending on kernel version for
1825 i386.
1826 (__ASSUME_UTIMES): Likewise.
1827 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1828 kernel version.
1829 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1830 (__ASSUME_TMPFS_NAME): Likewise.
1831 * README: Update reference to Linux kernel versions.
1832
b67e9372
MP
18332012-08-02 Marek Polacek <polacek@redhat.com>
1834
1f529f7d 1835 [BZ# 14150]
b67e9372
MP
1836 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1837 libc_cv_asm_type_prefix with %.
1838 * configure: Regenerated.
d2441631
RM
1839 * include/libc-symbols.h: Remove comment about
1840 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1841 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1842 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1843 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1844 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1845 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1847 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1848 * elf/tst-unique2mod1.c: Likewise.
1849 * elf/tst-unique1mod2.c: Likewise.
1850 * elf/tst-unique1mod1.c: Likewise.
1851 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1852 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1853 Replace ASM_TYPE_DIRECTIVE with .type.
1854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1855 * sysdeps/i386/sysdep.h: Likewise.
1856 * sysdeps/x86_64/sysdep.h: Likewise.
1857 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1859 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1860 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1861 * sysdeps/powerpc/powerpc32/sysdep.h:
1862 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1863 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1865 * sysdeps/i386/fpu/e_powf.S: Likewise.
1866 * sysdeps/i386/fpu/e_expl.S: Likewise.
1867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1868 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1869 * sysdeps/i386/fpu/e_pow.S: Likewise.
1870 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1871 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1872 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1873 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1874 * sysdeps/i386/fpu/e_log2.S: Likewise.
1875 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1876 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1877 * sysdeps/i386/fpu/e_powl.S: Likewise.
1878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1879 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1880 * sysdeps/i386/fpu/e_logl.S: Likewise.
1881 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1882 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1883 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1886 * sysdeps/i386/fpu/e_log.S: Likewise.
1887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1888 * sysdeps/i386/fpu/e_logf.S: Likewise.
1889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1892 * sysdeps/i386/fpu/e_log10.S: Likewise.
1893 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1894 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1895 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1896 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1897 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1900 * sysdeps/i386/i686/strtok.S: Likewise.
1901 * sysdeps/i386/i386-mcount.S: Likewise.
1902 * sysdeps/i386/strtok.S: Likewise.
1903 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1904 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1905 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1906 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1907 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1912 * sysdeps/x86_64/_mcount.S: Likewise.
1913 * sysdeps/x86_64/strtok.S: Likewise.
1914 * sysdeps/sh/_mcount.S: Likewise.
1915
2747bf9a
RM
19162012-08-01 Roland McGrath <roland@hack.frob.com>
1917
1918 * libio/iofopen.c: Include <fcntl.h>.
1919 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1920 (_IO_fopen64, fopen64): Define as aliases.
1921 * libio/iofopen64.c: Include <fcntl.h>.
1922 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1923 Conditionalize body on this.
1924 * sysdeps/wordsize-64/iofopen.c: File removed.
1925 * sysdeps/wordsize-64/iofopen64.c: File removed.
1926
3fb791b8
MP
19272012-08-01 Marek Polacek <polacek@redhat.com>
1928
1929 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1930 Use dlfcn directly instead of a variable.
1931 (binfmt-subdir): Do not define.
1932 (dlfcn): Likewise.
1933
a9f1039f
JM
19342012-08-01 Joseph Myers <joseph@codesourcery.com>
1935
23bddc06
JM
1936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1937 Remove all definitions.
1938 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1939 <kernel-features.h>.
1940 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1941 (miss_F_GETOWN_EX): Remove all definitions.
1942 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1943 macro definition.
1944 [!__ASSUME_FCNTL64]: Remove conditional code.
1945 [__ASSUME_FCNTL64]: Make code unconditional.
1946 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1947 <kernel-features.h>.
1948 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1949 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1950 (lockf64) [__NR_fcntl64]: Make code unconditional.
1951 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1952
a9f1039f
JM
1953 * sysdeps/unix/sysv/linux/kernel-features.h
1954 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1955 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1956 Make code unconditional.
1957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1960 [__NR_vfork]: Make code unconditional.
1961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1964 [__NR_vfork]: Make code unconditional.
1965 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1966 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1967
09c0ee5f
RM
19682012-08-01 Roland McGrath <roland@hack.frob.com>
1969
48aec5b9
RM
1970 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1971 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1972
cd97c966
RM
1973 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1974 Define mkstemp64 as an alias.
3f55550c
RM
1975 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1976 Define mkstemps64 as an alias.
cd97c966
RM
1977 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1978 Define mkostemp64 as an alias.
b8625cfc
RM
1979 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1980 Define mkostemps64 as an alias.
cd97c966
RM
1981 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1982 Conditionalize body on this.
1983 * misc/mkostemp64.c: Likewise.
b8625cfc 1984 * misc/mkostemps64.c: Likewise.
3f55550c 1985 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1986 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1987 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1988 * sysdeps/wordsize-64/mkostemp.c: File removed.
1989 * sysdeps/wordsize-64/mkstemp.c: File removed.
1990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1994
09c0ee5f
RM
1995 [BZ #14138]
1996 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1997 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1998 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1999 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2000
2001 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2002 compat_symbol macros from <shlib-compat.h> rather than the underlying
2003 default_symbol_version and symbol_version macros, so that DEFAULT
2004 lines in shlib-versions are respected.
2005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2006
7e66ee51
FW
20072012-08-01 Florian Weimer <fweimer@redhat.com>
2008
2009 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2010 Declare with warn_unused_result.
2011 (setgid, setregid, setegid, setresgid): Likewise.
2012 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2013 Likewise.
2014 * WUR-REPORT: Remove set*id functions.
2015
d2a54255
PT
20162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2017
2018 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2019
7ecdb005
RM
20202012-07-31 Roland McGrath <roland@hack.frob.com>
2021
789bd351
RM
2022 * include/sys/socket.h (__libc_accept, __libc_accept4):
2023 Add attribute_hidden.
2024 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2025
40ce302d
RM
2026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2027 use of PTR_MANGLE.
2028 * inet/getnetgrent_r.c (setup): Likewise.
2029
7ecdb005
RM
2030 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2031
e2eabb2c
DM
20322012-07-31 David S. Miller <davem@davemloft.net>
2033
2034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2035
d0419dbf
JM
20362012-07-31 Joseph Myers <joseph@codesourcery.com>
2037
2038 [BZ #13629]
2039 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2040 value between 1.0 and 2.0 and smaller part has absolute value less
2041 than 1.0.
2042 * math/s_clog10.c (__clog10): Likewise.
2043 * math/s_clog10f.c (__clog10f): Likewise.
2044 * math/s_clog10l.c (__clog10l): Likewise.
2045 * math/s_clogf.c (__clogf): Likewise.
2046 * math/s_clogl.c (__clogl): Likewise.
2047 * math/libm-test.inc (clog_test): Add more tests.
2048 (clog10_test): Likewise.
2049 * sysdeps/i386/fpu/libm-test-ulps: Update.
2050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2051
2bc13872
FW
20522012-07-31 Florian Weimer <fweimer@redhat.com>
2053
2054 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2055 Exit with zero in case no suitable GID is found, and write a
2056 message to standard error.
2057
bea9b193
RM
20582012-07-30 Roland McGrath <roland@hack.frob.com>
2059
2060 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2061 rather than to 1.
2062 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2063 (MAXPATHLEN): Removed.
2064 (NOGROUP, NODEV): New macros.
2065 (setbit, clrbit, isset, isclr): New macros.
2066 (howmany, roundup, powerof2): New macros.
2067 (DEV_BSIZE): New macro.
2068
2069 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2070 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2071
2072 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2073 definition on [!__NO_LONG_DOUBLE_MATH].
2074
2075 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2076 PTR_MANGLE and PTR_DEMANGLE.
2077
2078 * socket/accept4.c (accept4): Rename to __libc_accept4.
2079 Define accept4 as a weak alias.
2080
2081 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2082 on [_DIRENT_HAVE_D_TYPE].
2083 * io/ftw.c (ftw_dir): Likewise.
2084
2085 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2086
2087 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2088
2089 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2090 Use the BSD numbers rather than the arbitrary ones we had.
2091 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2092 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2093 (SIGXCPU, SIGXFSZ): New macros.
2094 (_NSIG): Now 32.
2095
2096 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2097 initializer on [_LIBC_REENTRANT].
2098
2099 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2100 definitions inside [_POSIX_MAPPED_FILES].
2101
2102 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2103
2104 * dirent/opendir.c: Include <fcntl.h>.
2105
2106 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2107 (__libc_getspecific): Likewise.
2108 (__libc_key_create): Likewise.
2109
2110 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2111 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2112 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2113 (tmpfile64): Define as alias.
2114 * sysdeps/wordsize-64/tmpfile.c: File removed.
2115 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2118
2119 * stdio-common/vfscanf.c: Include <stdbool.h>.
2120 * nss/makedb.c: Likewise.
2121 * stdio-common/_i18n_number.h: Likewise.
2122 * argp/argp-help.c: Likewise.
2123 * posix/wordexp.c: Likewise.
2124 * sysdeps/posix/spawni.c: Likewise.
2125 * nss/nss_files/files-initgroups.c: Likewise.
2126 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2127 * nss/nss_files/files-initgroups.c: Likewise.
2128 * nss/nss_db/db-netgrp.c: Likewise.
2129 * nss/nss_db/db-initgroups.c: Likewise.
2130 * io/fchmodat.c: Include <sys/stat.h>.
2131
2132 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2133 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2134
2135 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2136 [HAVE_MMAP].
2137
2138 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2139 Add multiple inclusion protection.
2140
e5abc686
DM
21412012-07-27 David S. Miller <davem@davemloft.net>
2142
2143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2144
815e6fa3
GB
21452012-07-27 Gary Benson <gbenson@redhat.com>
2146
2147 [BZ #14298]
2148 * elf/rtld.c: Include <stap-probe.h>.
2149 (dl_main): Added static probes "init_start" and "init_complete".
2150 * elf/dl-load.c: Include <stap-probe.h>.
2151 (lose): Take new parameter "nsid".
2152 Added static probe "map_failed".
2153 (_dl_map_object_from_fd): Pass namespace id to lose.
2154 Added static probe "map_start".
2155 (open_verify): Pass namespace id to lose.
2156 * elf/dl-open.c: Include <stap-probe.h>.
2157 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2158 and "reloc_complete".
2159 * elf/dl-close.c: Include <stap-probe.h>.
2160 (_dl_close_worker): Added static probes "unmap_start" and
2161 "unmap_complete".
2162 * elf/rtld-debugger-interface.txt: New file documenting the above.
2163
9f98c16c
RM
21642012-07-26 Roland McGrath <roland@hack.frob.com>
2165
2166 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2167 rather than a string variable.
2168 * sunrpc/rpc_main.c (h_output): Likewise.
2169 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2170
f3c22df3
PT
21712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2172
2173 * inet/check_native.c: New file.
2174
3129cfc6
JM
21752012-07-26 Joseph Myers <joseph@codesourcery.com>
2176
da865e95
JM
2177 [BZ #13629]
2178 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2179 if larger part has absolute value 1.0.
2180 * math/s_clog10.c (__clog10): Likewise.
2181 * math/s_clog10f.c (__clog10f): Likewise.
2182 * math/s_clog10l.c (__clog10l): Likewise.
2183 * math/s_clogf.c (__clogf): Likewise.
2184 * math/s_clogl.c (__clogl): Likewise.
2185 * math/libm-test.inc (clog_test): Add more tests.
2186 (clog10_test): Likewise.
2187 * sysdeps/i386/fpu/libm-test-ulps: Update.
2188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2189
3129cfc6
JM
2190 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2191 (pltexit): Likewise.
2192 (La_regs): Likewise.
2193 (La_retval): Likewise.
2194 (int_retval): Likewise.
2195 Update #error for removed macros to refer only to definitions in
2196 tst-audit.h.
2197 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2198 macro.
2199 (pltexit): Likewise.
2200 (La_regs): Likewise.
2201 (La_retval): Likewise.
2202 (int_retval): Likewise.
2203 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2204 macro.
2205 (pltexit): Likewise.
2206 (La_regs): Likewise.
2207 (La_retval): Likewise.
2208 (int_retval): Likewise.
2209 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2210 macro.
2211 (pltexit): Likewise.
2212 (La_regs): Likewise.
2213 (La_retval): Likewise.
2214 (int_retval): Likewise.
2215 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2216 macro.
2217 (pltexit): Likewise.
2218 (La_regs): Likewise.
2219 (La_retval): Likewise.
2220 (int_retval): Likewise.
2221 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2222 macro.
2223 (pltexit): Likewise.
2224 (La_regs): Likewise.
2225 (La_retval): Likewise.
2226 (int_retval): Likewise.
2227 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2228 macro.
2229 (pltexit): Likewise.
2230 (La_regs): Likewise.
2231 (La_retval): Likewise.
2232 (int_retval): Likewise.
2233 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2234 macro definitions in tst-audit.h.
2235 * sysdeps/i386/tst-audit.h: New file.
2236 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2237 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2238 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2239 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2240 * sysdeps/sh/tst-audit.h: Likewise.
2241 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2242 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2243 * sysdeps/x86_64/tst-audit.h: Likewise.
2244
bfc07087
AJ
22452012-07-26 Andreas Jaeger <aj@suse.de>
2246
b1b2aaf8
AJ
2247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2248 ptrace.
2249
2250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2251 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2252 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2253 PTRACE_O_MASK.
2254 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2255 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2257
bfc07087
AJ
2258 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2259 value.
2260
2261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2262 _sigsys.
2263 (si_call_addr, si_syscall, si_arch): Define new macro.
2264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2265 _sigsys.
2266 (si_call_addr, si_syscall, si_arch): Define new marcro.
2267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2268 _sigsys.
2269 (si_call_addr, si_syscall, si_arch): Define new macro.
2270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2271 _sigsys.
2272 (si_call_addr, si_syscall, si_arch): Define new macro.
2273
89b4b02f
JM
22742012-07-25 Joseph Myers <joseph@codesourcery.com>
2275
2276 [BZ #13717]
2277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2278 Change to 2.4.21 where previously 2.4.1.
2279 * sysdeps/unix/sysv/linux/configure: Regenerated.
2280 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2281 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2282 Linux kernel version.
2283 (__ASSUME_STD_AUXV): Remove.
2284 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2285 kernel version.
2286 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2287 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2288 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2289 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2290 (__ASSUME_NETLINK_SUPPORT): Likewise.
2291 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2292 (__no_netlink_support): Remove conditional definition.
2293 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2294 Remove.
2295 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2296 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2298 (if_nameindex_ioctl): Remove.
2299 (if_nameindex_netlink): Do not handle __no_netlink_support.
2300 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2301 code.
2302 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2303 Remove conditional code.
2304 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2305 code.
2306 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2307 unconditional.
2308 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2309 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2310 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2311 Remove.
2312 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2313 [!__ASSUME_STD_AUXV]: Remove conditional code.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2315 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2316 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2320 code.
2321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2325 conditional code.
2326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2329 code.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2331 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2332 conditional code.
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2334 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2335 code unconditional.
2336 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2337 conditional code.
2338 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2339 unconditional.
2340 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2341 conditional code.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2343 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2344 unconditional.
2345 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2346 conditional code.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2348 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2349 code unconditional.
2350 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2351 conditional code.
2352 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2353 unconditional.
2354 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2355 conditional code.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2357 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2358 code unconditional.
2359 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2360 conditional code.
2361 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2362 unconditional.
2363 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2364 conditional code.
2365
842a39cd
AS
23662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2367
2368 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2370 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2371 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2372 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2373 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2374 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2375 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2376 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2377 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2378 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2379 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2380 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2388 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2391
84b3fd84
FW
23922012-07-25 Florian Weimer <fweimer@redhat.com>
2393
2394 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2395 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2396 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2397 Introduce __libc_secure_getenv.
0c7936d5
FW
2398 * stdlib/Versions (2.17): Add secure_getenv
2399 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2400 * stdlib/secure-getenv.c: Rename __secure_getenv to
2401 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2402 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2403 * stdlib/tst-secure-getenv.c: New.
2404 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2405 * manual/startup.texi (Environment Access): Document
2406 secure_getenv.
84b3fd84
FW
2407 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2408 __libc_secure_getenv.
2409 * inet/ruserpass.c (ruserpass): Likewise.
2410 * malloc/mtrace.c (mtrace): Likewise.
2411 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2412 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2413 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2414 * sysdeps/posix/tempname.c: Likewise. Evaluate
2415 HAVE_SECURE_GETENV.
2416 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2417 __secure_getenv to __libc_secure_getenv.
84b3fd84 2418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2420 Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2422 Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2430
56e49b71
JM
24312012-07-25 Joseph Myers <joseph@codesourcery.com>
2432
2433 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2434 (struct La_i86_retval): Likewise.
2435 (struct La_x86_64_regs): Likewise.
2436 (struct La_x86_64_retval): Likewise.
2437 (struct La_x32_regs): Likewise.
2438 (struct La_x32_retval): Likewise.
2439 (struct La_ppc32_regs): Likewise.
2440 (struct La_ppc32_retval): Likewise.
2441 (struct La_ppc64_regs): Likewise.
2442 (struct La_ppc64_retval): Likewise.
2443 (struct La_sh_regs): Likewise.
2444 (struct La_sh_retval): Likewise.
2445 (struct La_s390_32_regs): Likewise.
2446 (struct La_s390_32_retval): Likewise.
2447 (struct La_s390_64_regs): Likewise.
2448 (struct La_s390_64_retval): Likewise.
2449 (struct La_sparc32_regs): Likewise.
2450 (struct La_sparc32_retval): Likewise.
2451 (struct La_sparc64_regs): Likewise.
2452 (struct La_sparc64_retval): Likewise.
2453 (struct audit_ifaces): Remove architecture-specific pltenter and
2454 pltexit members.
2455 * sysdeps/i386/ldsodefs.h: New file.
2456 * sysdeps/powerpc/ldsodefs.h: Likewise.
2457 * sysdeps/s390/ldsodefs.h: Likewise.
2458 * sysdeps/sh/ldsodefs.h: Likewise.
2459 * sysdeps/sparc/ldsodefs.h: Likewise.
2460 * sysdeps/x86_64/ldsodefs.h: Likewise.
2461
354691b7
MP
24622012-07-25 Marek Polacek <polacek@redhat.com>
2463
2464 [BZ #6808]
2465 * math/libm-test.inc (yn_test): Add another test.
2466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2467 to ERANGE when the result is +-Inf.
2468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2472
bf9e2071
JM
24732012-07-24 Joseph Myers <joseph@codesourcery.com>
2474
2475 * conform/data/time.h-data (NULL): Use macro-constant. Require
2476 equal to 0.
2477 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2478 clock_t.
2479 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2480
57633811
TS
24812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2482
2483 * configure.in <sysdeps resolving>: Correct printing
2484 Implies_before.
2485 * configure: Regenerate.
2486
c23c33b0
TS
24872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2488
2489 * math/w_ilogb.c: Include <limits.h>.
2490 * math/w_ilogbl.c: Likewise.
2491
b5982523
JM
24922012-07-20 Joseph Myers <joseph@codesourcery.com>
2493
2494 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2495 va_copy. Document allowing for unavailable va_copy only as
2496 pre-C99 compatibility.
2497 * manual/string.texi (Copying and Concatenation): Use va_copy
2498 instead of __va_copy in concat example.
2499
ac4ea442
PT
25002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2501
2502 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2503 (__sendto): Use create_address_port. Initialize APORT and deallocate
2504 it if not null.
2505
f98eafbd
PT
2506 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2507 with O_NOLINK passed to __file_name_lookup.
2508
898c7aab
PT
2509 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2510 with O_NOLINK passed to __file_name_lookup.
2511
0ced335a
PT
2512 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2513 negative N or less than NGIDS.
2514
b3404dbd
PT
2515 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2516 type to string_t. Set ERANGE as errno and return it if NAME is not big
2517 enough. Use memcpy instead of strncpy.
2518
0f48659e
JM
25192012-07-20 Joseph Myers <joseph@codesourcery.com>
2520
2521 * elf/Makefile (check-data): Remove.
2522 (localplt.data): New vpath directive.
2523 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2524 instead of $(check-data).
2525 * scripts/data/localplt-generic.data: Move to ...
2526 * sysdeps/generic/localplt.data: ... here.
2527 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2529 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2531 ... here.
2532 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2534 ... here.
2535 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2537 ... here.
2538 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2540 ... here.
2541 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2543 ... here.
2544 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2546 ... here.
2547
d37cbdaa
AZ
25482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2551 PPC32 and PPC64 files.
2552 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2553 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2554
46f85fc2
AK
25552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2556
2557 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2558 __makecontext_ret to ...
2559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2560 ... here and call exit if uc_link is NULL. New file.
2561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2562 __makecontext_ret.S.
2563 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2564 __makecontext_ret to ...
2565 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2566 ... here and call exit if uc_link is NULL. New file.
2567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2568 __makecontext_ret.S.
2569
08f43f9b
AK
25702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2571
2572 * elf/elf.h (R_390_IRELATIVE): New definition.
2573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2574 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2575 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2577 (elf_machine_lazy_rel): Likewise.
2578 * sysdeps/s390/dl-irel.h: New file.
2579 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2580 * sysdeps/s390/s390-64/memset.S: New asm code.
2581 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2582 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2583 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2584 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2585 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2586 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2588 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2589 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2590 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2591 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2592 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2593 * sysdeps/s390/s390-32/memset.S: New asm code.
2594 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2595
3b05db33
MP
25962012-07-17 Marek Polacek <polacek@redhat.com>
2597
2598 [BZ #14349]
2599 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2600 * sysdeps/s390/s390-64/configure.in: Likewise.
2601 * sysdeps/sparc/configure.in: Likewise.
2602 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2603 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2604 * sysdeps/i386/configure.in: Likewise.
2605 * sysdeps/x86_64/configure.in: Likewise.
2606 * sysdeps/sh/configure.in: Likewise.
2607 * sysdeps/s390/s390-32/configure: Regenerated.
2608 * sysdeps/s390/s390-64/configure: Likewise.
2609 * sysdeps/x86_64/configure: Likewise.
2610 * sysdeps/sh/configure: Likewise.
2611 * sysdeps/powerpc/powerpc64/configure: Likewise.
2612 * sysdeps/powerpc/powerpc32/configure: Likewise.
2613 * sysdeps/sparc/configure: Likwise.
2614 * sysdeps/i386/configure: Likewise.
2615
a66877c6
MP
2616 * elf/dl-open.c: Comment fixes.
2617
cfc82fd8
JM
26182012-07-17 Joseph Myers <joseph@codesourcery.com>
2619
bd29910a
JM
2620 * Makefile [CXX] (check-data): Remove.
2621 [CXX] (c++-types.data): New vpath directive.
2622 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2623 vpath. Do not allow for C++ type data being missing.
2624 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2625 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2626 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2627 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2628 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2629 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2630 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2632 ... here.
2633 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2635 ... here.
2636 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2638 ... here.
2639 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2641 ... here.
2642 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2644 ... here.
2645 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2647 ... here.
2648 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2650 ... here.
2651 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2653
cfc82fd8
JM
2654 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2655 definitions to architecture-specific files.
2656 (TLS_IE): Likewise.
2657 (TLS_LD): Likewise.
2658 (TLS_GD): Likewise.
2659 * sysdeps/i386/tls-macros.h: New file.
2660 * sysdeps/powerpc/tls-macros.h: Likewise.
2661 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2662 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2663 * sysdeps/sh/tls-macros.h: Likewise.
2664 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2665 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2666 * sysdeps/x86_64/tls-macros.h: Likewise.
2667
f7db3170
TS
26682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2669
07cbfc23
TS
2670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2671 zero value for regular exit case.
2672
f7db3170
TS
2673 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2674 (__start_context): Preserve zero value for regular exit case.
2675
dc97c227
TS
26762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2678
2679 * manual/setjmp.texi (setcontext): Clarify normal process
2680 termination when uc_link is the null pointer.
2681 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2682 exit call.
2683
d0cd7d02
AS
26842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2685
2686 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2687 preprocessor. Test for each exception mask separately.
2688
dd318934
AJ
26892012-07-16 Andreas Jaeger <aj@suse.de>
2690
2691 * po/ru.po: Update from translation team.
2692
8048311a
JM
26932012-07-15 Joseph Myers <joseph@codesourcery.com>
2694
2695 * conform/data/string.h-data (NULL): Use macro-constant. Require
2696 equal to 0.
2697 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2698 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2699 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2700 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2702
b637d46e
AJ
27032012-07-13 Andreas Jaeger <aj@suse.de>
2704
2705 * po/fr.po: Update from translation team.
2706
541428fe
MP
27072012-07-12 Marek Polacek <polacek@redhat.com>
2708
2709 [BZ #14173]
2710 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2712 loop condition.
2713
ec332e94
JM
27142012-07-12 Joseph Myers <joseph@codesourcery.com>
2715
2716 [BZ #13717]
2717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2718 Change to 2.4.1 where previously 2.4.0.
2719 * sysdeps/unix/sysv/linux/configure: Regenerated.
2720 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2721 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2722 version.
2723 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2724 (__ASSUME_AT_CLKTCK): Remove.
2725 (__ASSUME_AT_PAGESIZE): Likewise.
2726 (__ASSUME_AT_XID): Likewise.
2727 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2728 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2730 unconditionally.
2731 (HAVE_AUX_PAGESIZE): Likewise.
2732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2733 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2734 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2735
7b6e99be
JB
27362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2737
2738 [BZ #14307]
2739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2740 the temporary buffer used to invoke __gethostbyname2_r,
2741 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2742 host_data / struct gaih_addrtuple.
2743 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2744 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2745 header file nss/nsswitch.h.
2746 * nss/nsswitch.h (global scope): Add definition of implementation
2747 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2748 resolv/nss_dns/dns-host.c).
2749
608404eb
AJ
27502012-07-11 Andreas Jaeger <aj@suse.de>
2751
2752 * po/fr.po: Update from translation team.
2753
71220aca
AJ
2754 * po/sv.po: Update from translation team
2755 * po/fr.po: Another update from translation team.
2756
28cfe843
AZ
27572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2758
2759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2760 for subnormals or multiply small sinh result by itself.
2761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2763
6b90f981
DM
27642012-07-11 David S. Miller <davem@davemloft.net>
2765
2766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2767
c6825772
AS
27682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2769
2770 [BZ #14347]
2771 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2772 (INTERNAL_MARK): Shift it here.
2773
7b8e0d49
MP
27742012-07-10 Marek Polacek <polacek@redhat.com>
2775
2776 [BZ #14151]
2777 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2778 libc_cv_asm_global_directive with .globl.
2779 * configure: Regenerated.
2780 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2781 with .globl.
2782 * sysdeps/i386/configure: Regenerated.
2783 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2784 with .globl.
2785 * sysdeps/x86_64/configure: Regenerated.
2786 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2787 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2788 * elf/tst-unique2mod2.c: Likewise.
2789 * elf/tst-unique2mod1.c: Likewise.
2790 * elf/tst-unique1mod2.c: Likewise.
2791 * elf/tst-unique1mod1.c: Likewise.
2792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2796 * sysdeps/mach/sysdep.h: Likewise.
2797 * sysdeps/i386/sysdep.h: Likewise.
2798 * sysdeps/i386/i386-mcount.S: Likewise.
2799 * sysdeps/x86_64/_mcount.S: Likewise.
2800 * sysdeps/x86_64/sysdep.h: Likewise.
2801 * sysdeps/sh/_mcount.S: Likewise.
2802 * sysdeps/sh/sysdep.h: Likewise.
2803 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2807 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2808 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2809 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2810 * locale/localeinfo.h: Likewise.
2811 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2812 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2813
6c55cda3
RM
28142012-07-09 Roland McGrath <roland@hack.frob.com>
2815
2816 [BZ #14336]
2817 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2818 system".
2819 * manual/message.texi (The Uniforum approach): Likewise.
2820 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2821 (glibc iconv Implementation): Likewise.
2822
638a572e
JM
28232012-07-09 Joseph Myers <joseph@codesourcery.com>
2824
2825 [BZ #14337]
2826 * math/s_clog.c (__clog): Avoid scaling a value down where that
2827 could result in underflow.
2828 * math/s_clog10.c (__clog10): Likewise.
2829 * math/s_clog10f.c (__clog10f): Likewise.
2830 * math/s_clog10l.c (__clog10l): Likewise.
2831 * math/s_clogf.c (__clogf): Likewise.
2832 * math/s_clogl.c (__clogl): Likewise.
2833 * math/libm-test.inc (clog_test): Add more tests.
2834 (clog10_test): Likewise.
2835 * sysdeps/i386/fpu/libm-test-ulps: Update.
2836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837
261f4859
AS
28382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2839
0abaf3e4
AS
2840 [BZ #14283]
2841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2842 by 7 not 8 to examine high bit of fractional part.
2843
261f4859
AS
2844 [BZ #14042]
2845 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2846 for call to __mcount_internal.
2847 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2848 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2849 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2850
f17ac40d
JM
28512012-07-06 Joseph Myers <joseph@codesourcery.com>
2852
9ad63c23
JM
2853 [BZ #14154]
2854 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2855 approximation for values within 0x1p-13f of an odd multiple of
2856 pi/4.
2857 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2858 exception. Add more tests.
2859 * sysdeps/i386/fpu/libm-test-ulps: Update.
2860
f17ac40d
JM
2861 [BZ #6778]
2862 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2863 inputs and return -1 for them. Do not check for +Inf in case not
2864 reachable for +Inf.
2865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2866 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2868 and return -1 for them. Do not check for +Inf in case not
2869 reachable for +Inf.
2870 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2871 define.
2872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2873 and return -1 for them. Do not check for +Inf in case not
2874 reachable for +Inf.
2875 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2876 spurious underflow.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2879
fb21f89b
MF
28802012-07-06 Mike Frysinger <vapier@gentoo.org>
2881
2882 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2883
cdfe2c5e
JM
28842012-07-05 Joseph Myers <joseph@codesourcery.com>
2885
2886 [BZ #14157]
2887 [BZ #14331]
2888 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2889 could result in spurious underflow. Scale down values above
2890 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2891 * math/s_csqrtf.c (__csqrtf): Likewise.
2892 * math/s_csqrtl.c (__csqrtl): Likewise.
2893 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2894 spurious underflow.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2897
70d35b67
AS
28982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2899
704bc459
AS
2900 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2901 xopen-msg.sed.
2902 * catgets/xopen-msg.awk: New file.
2903 * catgets/xopen-msg.sed: Removed.
2904
70d35b67
AS
2905 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2906 po2text.sed.
2907 * intl/po2test.awk: New file.
2908 * intl/po2test.sed: Removed.
2909
ca61cf32
JM
29102012-07-04 Joseph Myers <joseph@codesourcery.com>
2911
2912 [BZ #14328]
2913 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2914 or multiply small sinh result by itself.
2915 * math/s_ctanf.c (__ctanf): Likewise.
2916 * math/s_ctanh.c (__ctanh): Likewise.
2917 * math/s_ctanhf.c (__ctanhf): Likewise.
2918 * math/s_ctanhl.c (__ctanhl): Likewise.
2919 * math/s_ctanl.c (__ctanl): Likewise.
2920 * math/libm-test.inc (ctan_test_tonearest): New function.
2921 (ctan_test_towardzero): Likewise.
2922 (ctan_test_downward): Likewise.
2923 (ctan_test_upward): Likewise.
2924 (ctanh_test_tonearest): Likewise.
2925 (ctanh_test_towardzero): Likewise.
2926 (ctanh_test_downward): Likewise.
2927 (ctanh_test_upward): Likewise.
2928 (main): Call these new functions.
2929 * sysdeps/i386/fpu/libm-test-ulps: Update.
2930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2931
ca48a46a
MF
29322012-07-03 Mike Frysinger <vapier@gentoo.org>
2933
2934 * .gitignore: Delete /ports entry.
2935
9d63d37d
AJ
29362012-07-03 Andreas Jaeger <aj@suse.de>
2937
2938 * po/bg.po: Update from translation team.
2939 * po/cs.po: Likewise.
2940 * po/de.po: Likewise.
2941 * po/hr.po: Likewise.
2942 * po/nl.pl: Likewise.
2943 * po/pl.po: Likewise.
2944 * po/vi.po: Likewise.
2945
370ca3d2
JM
29462012-07-03 Joseph Myers <joseph@codesourcery.com>
2947
95f5a9a8
JM
2948 * Makeconfig [!+link] (+link-before-libc): New variable.
2949 [!+link] (+link-after-libc): Likewise.
2950 [!+link] (+link-tests): Likewise.
2951 [!+link] (+link): Define in terms of $(+link-before-libc) and
2952 $(+link-after-libc).
2953 [!+link-static] (+link-static-before-libc): New variable.
2954 [!+link-static] (+link-static-after-libc): Likewise.
2955 [!+link-static] (+link-static-tests): Likewise.
2956 [!+link-static] (+link-static): Define in terms of
2957 $(+link-static-before-libc) and $(+link-static-after-libc).
2958 [build-shared] (link-libc-before-gnulib): New variable.
2959 [build-shared] (link-libc-tests): Likewise.
2960 [build-shared] (link-libc): Define in terms of
2961 $(link-libc-before-gnulib).
2962 [!build-shared] (link-libc-tests): New variable.
2963 (link-libc-static-tests): New variable.
2964 [!gnulib] (gnulib-arch): New variable.
2965 [!gnulib] (gnulib-tests): Likewise.
2966 [!gnulib] (static-gnulib-arch): Likewise.
2967 [!gnulib] (static-gnulib-tests): Likewise.
2968 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2969 Define with "=" instead of ":=".
2970 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2971 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2972 * Rules (binaries-all-notests): New variable.
2973 (binaries-all-tests): Likewise.
2974 (binaries-static-notests): Likewise.
2975 (binaries-static-tests): Likewise.
2976 (binaries-all): Define using $(binaries-all-notests) and
2977 $(binaries-all-tests).
2978 (binaries-static): Define using $(binaries-static-notests) and
2979 $(binaries-static-tests).
2980 (binaries-shared-tests): New variable.
2981 (binaries-shared-notests): Likewise.
2982 (binaries-shared): Remove variable.
2983 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2984 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2985 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2986 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2987 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2988 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2989 * elf/Makefile (sln-modules): New variable.
2990 (extra-objs): Add $(sln-modules:=.o).
2991 (ldconfig-modules): Add static-stubs.
2992 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2993 * elf/static-stubs.c: New file.
2994
7a845b2c
JM
2995 [BZ #14283]
2996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2997 by 7 not 8 to examine high bit of fractional part. Use volatile
2998 variables when splitting into final array of floats if
2999 __FLT_EVAL_METHOD__ != 0.
3000 * math/libm-test.inc (cos_test): Add another test.
3001 (sin_test): Likewise.
3002 * sysdeps/i386/fpu/libm-test-ulps: Update.
3003
e2283f38
JM
3004 [BZ #14273]
3005 * math/libm-test.inc (cosh_test): Add more tests.
3006
370ca3d2
JM
3007 * version.h (RELEASE): Set to "development".
3008 (VERSION): Set to "2.16.90".
3009
ee9247c3
CD
30102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3011
3012 * NEWS: Update copyright. Remove last-updated date.
3013 Mention math library bug fixes and timezone data changes.
3014 * README: Mention GNU/Hurd, x32, and HPPA support status.
3015
4648c381
TS
30162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3017
3018 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3019
aac78a43
AJ
30202012-06-27 Andreas Jaeger <aj@suse.de>
3021
3022 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3023
ed3dbfad
AJ
30242012-06-25 Andreas Jaeger <aj@suse.de>
3025
3026 * sysdeps/s390/fpu/libm-test-ulps: Update.
3027
4d0ee855
AS
30282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3029 Thomas Schwinge <thomas@codesourcery.com>
3030
3031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3032 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3034 fanotify_mark.
3035
af1bce34
TS
30362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3037
a9fa33ba
TS
3038 * sysdeps/mach/start.c: Remove file.
3039 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3040 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3041 * sysdeps/sh/init-first.c: Likewise.
3042
58f902b8
TS
3043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3044 registers for frame unwinding purposes, add CFI directives.
3045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3047 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3048 Likewise.
3049
1518f58b
TS
3050 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3051 __fortify_fail returning.
3052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3053
db9b5059
TS
3054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3055 sysdeps/sh/____longjmp_chk.S.
3056 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3057 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3058 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3059 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3060
967705fe
TS
3061 * sysdeps/sh/abort-instr.h: New file.
3062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3063 process in case exit returns.
3064
a9def8c4
TS
3065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3066 initialize the GOT register before use.
3067
2a649725
TS
3068 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3069 calculation of ARGC > 4.
3070
af1bce34
TS
3071 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3072 meaningful names to some local labels.
3073
d230f50a
KK
30742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3075 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3076
3077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3078 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3079 (__arch_compare_and_exchange_val_16_acq): Likewise.
3080 (__arch_compare_and_exchange_val_32_acq): Likewise.
3081 (atomic_exchange_and_add): Fix gUSA sequence.
3082 (atomic_add): Likewise.
3083 (atomic_add_negative): Likewise.
3084 (atomic_add_zero): Likewise.
3085 (atomic_bit_test_set): Likewise.
3086
0479b305
AS
30872012-06-22 Andreas Schwab <schwab@redhat.com>
3088
3089 [BZ #13579]
3090 * include/link.h (struct link_map): Add l_free_initfini.
3091 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3092 l_initfini.
3093 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3094 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3095 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3096 set.
3097
0e3933b9
CD
30982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3099
3100 * configure.in: Use AC_LANG_SOURCE.
3101 * configure: Regenerate.
3102
4248b1b1
RM
31032012-06-22 Roland McGrath <roland@hack.frob.com>
3104
3105 * configure.in (libc_cv_localstatedir): New substituted variable.
3106 * configure: Regenerated.
3107 * config.make.in (localstatedir): New variable, substituted from
3108 libc_cv_localstatedir.
3109 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3110 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3111 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3112 * sysdeps/gnu/configure: Regenerated.
3113
006dd861
JL
31142012-06-21 Jeff Law <law@redhat.com>
3115
3116 [BZ #14277]
3117 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3118 free. Simplify list management for _LIBC case.
3119
79662d42
JM
31202012-06-21 Joseph Myers <joseph@codesourcery.com>
3121
b7abb4bf
JM
3122 [BZ #14273]
3123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3124 Clear sign bit of 64-bit integer value before comparing against
3125 overflow value.
3126
79662d42
JM
3127 * sysdeps/mach/configure: Regenerated.
3128
1f150908
L
31292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3130
3131 [BZ #14278]
3132 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3133
28363bbf
JL
31342012-06-21 Jeff Law <law@redhat.com>
3135
3136 [BZ #13882]
3137 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3138 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3140 * elf/dl-open.c (dl_open_worker): Likewise.
3141
09615db4
CD
31422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3143
3144 * scripts/list-sources.sh: Scan PORTS for translations.
3145 * po/libc.pot: Regenerated.
3146
2174c6dd
AJ
31472012-06-21 Andreas Jaeger <aj@suse.de>
3148
3149 [BZ #12194]
3150 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3151 warning.
3152 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3153 * bits/byteswap-16.h (__bswap_16): Likewise.
3154 * bits/byteswap.h (__bswap_constant_16): Likewise.
3155
3ee947b1
L
31562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 [BZ #14117]
a2f34833
L
3159 * sysdeps/i386/fpu_control.h: Removed.
3160 * sysdeps/x86_64/fpu_control.h: Moved to ...
3161 * sysdeps/x86/fpu_control.h: Here.
3162
3ee947b1
L
3163 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3164 (_FPU_SETCW): Likewise.
3165
ed1825f8
L
31662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3167
25f1282a
L
3168 [BZ #14117]
3169 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3170 * sysdeps/x86/fpu/bits/mathinline.h: This.
3171 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3172
ed1825f8
L
3173 [BZ #14050]
3174 [BZ #14117]
3175 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3176 functions if __x86_64__ is defined.
3177
36d54b74
CLT
31782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3179
3180 * string/endian.h: Add !__ASSEMBLER__ condition for including
3181 conversion interfaces.
3182
10285c21
JM
31832012-06-15 Joseph Myers <joseph@codesourcery.com>
3184
3185 [BZ #14241]
3186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3187 of ABS(x) in calculating zero to negative powers other than odd
3188 integers.
3189 * math/libm-test.inc (pow_test): Add more tests.
3190
06c5abbd
AJ
31912012-06-15 Andreas Jaeger <aj@suse.de>
3192
3193 * manual/contrib.texi (Contributors): Update entry of Liubov
3194 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3195 Machado Filho.
3196
a3aeac40
CH
31972012-06-15 Cyril Hrubis <metan@ucw.cz>
3198
3199 * string/string.h: Add __wur to GNU version of strerror_r.
3200
49bdf4c1
L
32012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 [BZ #14229]
3204 * string/Makefile (tests): Add tst-strtok_r.
3205 * string/tst-strtok_r.c: New file.
3206 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3207 RAX_LP/RDX_LP on SAVE_PTR.
3208
834f9b8d
RM
32092012-06-14 Roland McGrath <roland@hack.frob.com>
3210
3211 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3212
75fa1921
JM
32132012-06-14 Joseph Myers <joseph@codesourcery.com>
3214
3215 * libm_test.inc (csqrt_test): Allow more spurious underflow
3216 exceptions.
3217 (j0_test): Likewise.
3218 (j1_test): Likewise.
3219 (y0_test): Likewise.
3220 (y1_test): Likewise.
3221
771766df
CD
32222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3223
3224 * po/Makefile (libc.pot): Use UTF-8 charset.
3225
ceb9e56b
PP
32262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3227
3228 [BZ #14210]
3229 Suppress sign-conversion warning from FD_SET.
3230 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3231 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3232 not unsigned long int.
3233 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3234
ddb28975
L
32352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3236
3237 [BZ #14050]
3238 [BZ #14117]
3239 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3240 __extern_always_inline instead of __extern_inline.
3241 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3242 (__signbit): Likewise.
3243 (__signbitl): Support C++ namespace.
3244 (lrintf): New inline function.
3245 (lrint): Likewise.
3246 (llrintf): Likewise.
3247 (llrint): Likewise.
3248 (fmaxf): Likewise.
3249 (fmax): Likewise.
3250 (fminf): Likewise.
3251 (fmin): Likewise.
3252 (rint): Likewise.
3253 (rintf): Likewise.
3254 (ceil): Likewise.
3255 (ceilf): Likewise.
3256 (floor): Likewise.
3257 (floorf): Likewise.
3258 (nearbyint): Likewise.
3259 (nearbyintf): Likewise.
3260
d7b4fb26
TS
32612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3262
3263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3264 non-default versions.
3265
eb55f5c2
RM
32662012-06-11 Roland McGrath <roland@hack.frob.com>
3267
3268 [BZ #14218]
3269 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3270
366af02c
TS
32712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3272
99ff6e5c
TS
3273 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3274 (FE_UPWARD, FE_DOWNWARD): Don't define.
3275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3277
366af02c
TS
3278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3279 reading it.
3280 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3282
793ea851
KK
32832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3284
3285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3289
a728a38f
L
32902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3291
3292 [BZ #14117]
c08010c7
L
3293 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3294 * sysdeps/i386/fpu/Implies: New file.
3295 * sysdeps/x86_64/fpu/Implies: Likewise.
3296 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3297 * sysdeps/x86/fpu/bits/fenv.h: This.
3298
a728a38f
L
3299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3300 __SSE_MATH__.
3301
6e230d11
SP
33022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3303
3304 [BZ #14134]
3305 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3306 character 0xffff that matches the last element of the
3307 conversion table.
3308
1b671feb
AZ
33092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3310
3311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3312 fmodl commit.
3313
6043738b
AZ
33142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3315
3316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3317 values higher than 25.6283.
3318
34ae0b32
AZ
33192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3320
3321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3322 subnormal exponent extraction and add some __builtin_expect.
3323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3324 Fix for subnormal mantissa calculation.
3325
1214ec8f
MF
33262012-06-04 Mike Frysinger <vapier@gentoo.org>
3327
3328 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3329 cpu2 is -1 and errno is not ENOSYS.
3330
f3d1f93c
L
33312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 [BZ #14117]
0e4a3cd7
L
3334 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3335 * sysdeps/x86/bits/string.h: This.
3336 * sysdeps/x86_64/bits/string.h: Removed.
3337
6704c645
L
3338 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3339 if not compiling for x86-64, but compiling for >= i486.
3340
48495318
L
3341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3342 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3343
14adcbfc
L
3344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3345 New macro from Linux kernel 3.4.0.
3346 (FP_XSTATE_MAGIC2): Likewise.
3347 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3348 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3349 (struct _fpx_sw_bytes): New struct.
3350 (struct _xsave_hdr): Likewise.
3351 (struct _ymmh_state): Likewise.
3352 (struct _xstate): Likewise.
3353
68e408ab
L
3354 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3355 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3357 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3359 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3360
f3d1f93c
L
3361 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3363 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3364 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3365 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3366 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3367
d9dc34cd
TMQMF
33682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3369
3370 [BZ #13743]
3371 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3372 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3373 (sysdep_headers): Include sys/platform/ppc.h.
3374 * sysdeps/powerpc/test-gettimebase.c: Test for
3375 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3376 * manual/Makefile (appendices): Include platform.texi.
3377 * manual/contrib.texi (Contributors): Update @node pointers.
3378 * manual/maint.texi (Maintenance): Likewise.
3379 (Platform): New node.
3380 * manual/platform.texi: New file. Document the new features.
3381
4af3879c
SP
33822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3383 Jakub Jelinek <jakub@redhat.com>
3384
3385 [BZ #14188]
3386 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3387 where __builtin_expect is unavailable.
3388
2fd6ff13
DM
33892012-06-03 David S. Miller <davem@davemloft.net>
3390
3391 * stdlib/longlong.h: Updated from GCC.
3392
173f7220
AS
33932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3394
3395 [BZ #14042]
3396 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3397 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3398 __mcount_internal.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3400 (GLIBC_2.16): Likewise.
3401
f34a1c6f
L
34022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3405
88a4576f
JM
34062012-06-01 Joseph Myers <joseph@codesourcery.com>
3407
ea32bcdd
JM
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3409 (default-abi): New variable.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3412 variable.
3413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3418 Likewise.
3419
88a4576f
JM
3420 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3421 definition. Document in comment.
3422
402fe938
DM
34232012-06-01 David S. Miller <davem@davemloft.net>
3424
3425 * stdlib/longlong.h: Updated from GCC.
3426
3553723f
L
34272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3428
3429 [BZ #14117]
3bd872c4
L
3430 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3431 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3432 sys/debugreg.h sys/io.h here.
3433 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3434 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3435 sys/io.h.
3436 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3437 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3439 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3441 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3442
3553723f
L
3443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3444 Define only if __x86_64__ is defined.
3445
4842e4fe
JM
34462012-06-01 Joseph Myers <joseph@codesourcery.com>
3447
c5bfe3d5
JM
3448 [BZ #14048]
3449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3450 Use int64_t for variable i.
3451 * math/libm-test.inc (fmod_test): Add more tests.
3452
4842e4fe
JM
3453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3454 z computation is not scheduled after fetestexcept.
3455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3456 Use math_force_eval instead of asm to ensure calculation scheduled
3457 before exception test.
3458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3459 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3460
efb73488
AJ
34612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3462
3463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3464 computation is not scheduled after fetestexcept.
3465
29bcce7c
L
34662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 [BZ #14117]
3469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3470 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3471
73a68f94
AZ
34722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3473
3474 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3476
67b6df78
L
34772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3478
edf2933a 3479 [BZ #14117]
ebc64a18
L
3480 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3481 <bits/wordsize.h>.
3482 (__WCHAR_MIN): Support __WORDSIZE == 64.
3483 (__WCHAR_MAX): Likewise.
3484
edf2933a
L
3485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3487
57c6cf40
L
3488 [BZ #14183]
3489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3490 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3491
67b6df78 3492 [BZ #14117]
8eb6281e
L
3493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3495
aac639f4
L
3496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3498
67b6df78
L
3499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3500 Defined to 1 if __x86_64__ isn't defined.
3501 (_STAT_VER_LINUX_OLD): New.
3502 (st_atime): Remove duplicate.
3503 (st_mtime): Likewise.
3504 (st_ctime): Likewise.
3505
1c2cfe81
DM
35062012-05-31 David S. Miller <davem@davemloft.net>
3507
3508 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3509 entries.
3510
5be8418c
AS
35112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3512
e7725326
AS
3513 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3514 gen-libm-test.pl.
3515
5be8418c
AS
3516 [BZ #14132]
3517 * elf/dl-reloc.c: Include <_itoa.h>.
3518 (_dl_reloc_bad_type): Remove use of INTUSE.
3519 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3520 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3521 * stdio-common/psiginfo.c (psiginfo): Likewise.
3522 * stdio-common/psignal.c (psignal): Likewise.
3523 * string/strsignal.c (strsignal): Likewise.
3524 * include/signal.h (_sys_siglist): Declare hidden proto.
3525 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3526 INTVARDEF with libc_hidden_data_def.
3527 * stdio-common/itoa-udigits.c: Likewise.
3528 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3529 (_itoa_lower_digits_internal): Remove declaration.
3530 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3531 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3532 (_sys_sigabbrev_internal): Remove aliases.
3533 (_sys_siglist): Define hidden alias.
3534
507352f1
MT
35352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3536
3537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3538 bits/sysctl.h.
3539
42bbb1c3
L
35402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 [BZ #14117]
6bd784b6
L
3543 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3544 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3545
8bca20f0
L
3546 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3549 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3551 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3552
f9e890a9
L
3553 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3556
471101a1
L
3557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3558 with __addr.
3559 (insw): Likewise.
3560 (insl): Likewise.
3561 (outsb): Likewise.
3562 (outsw): Likewise.
3563 (outsl): Likewise.
3564
6451c862
L
3565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3568
a254b8c9
L
3569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3570 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3575
b8dfdd92
L
3576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3577 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3578
578cd270
L
3579 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3581
de662f5f
L
3582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3585
25653439
L
3586 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3587 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3588 to ...
3589 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3590
6bad24a0
L
3591 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3593 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3594
42bbb1c3
L
3595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3596 for x86-64.
3597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3598
2d10d547
JM
35992012-05-31 Joseph Myers <joseph@codesourcery.com>
3600
3601 * math/math.h (M_El): Use two more decimal places.
3602 (M_LOG2El): Likewise.
3603 (M_LOG10El): Likewise.
3604 (M_LN2l): Likewise.
3605 (M_LN10l): Likewise.
3606 (M_PIl): Likewise.
3607 (M_PI_2l): Likewise.
3608 (M_PI_4l): Likewise.
3609 (M_1_PIl): Likewise.
3610 (M_2_PIl): Likewise.
3611 (M_2_SQRTPIl): Likewise.
3612 (M_SQRT2l): Likewise.
3613 (M_SQRT1_2l): Likewise.
3614
f230c29b
DM
36152012-05-31 David S. Miller <davem@davemloft.net>
3616
3617 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3618 values between float registers.
3619 * sysdeps/sparc/sparc64/memset.S: Likewise.
3620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3621
fed806c3
MF
36222012-05-31 Mike Frysinger <vapier@gentoo.org>
3623
3624 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3625 -D_FORTIFY_SOURCE=1.
3626 (CPPFLAGS-tst-longjmp_chk.c): Define.
3627 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3628 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3629 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3630 CFLAGS-tst-wchar-h.c.
3631
30917259
MP
36322012-05-31 Marek Polacek <polacek@redhat.com>
3633
3634 [BZ #14132]
3635 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3636 __endmntent_internal): Remove declaration.
3637 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3638 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3639 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3640
1c58d5dc
DM
36412012-05-30 David S. Miller <davem@davemloft.net>
3642
3643 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3644 (___Q_simulate_exceptions): Use real FP ops rather than writing
3645 into the %fsr.
3646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3647 Likewise.
3648
7dc00e0d
L
36492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 [BZ #14117]
0bd53985
L
3652 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3653 * sysdeps/x86/bits/xtitypes.h: This.
3654
3a257e66
L
3655 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3656 * sysdeps/x86/bits/wordsize.h: This.
3657
62f62904
L
3658 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3659 * sysdeps/x86/bits/huge_vall.h: This.
3660
404fe9d9
L
3661 * sysdeps/i386/bits/select.h: Removed.
3662 * sysdeps/x86_64/bits/select.h: Renamed to ...
3663 * sysdeps/x86/bits/select.h: This.
3664
d48d0446
L
3665 * sysdeps/i386/bits/setjmp.h: Removed.
3666 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3667 * sysdeps/x86/bits/setjmp.h: This.
3668
7dc00e0d
L
3669 * sysdeps/i386/bits/mathdef.h: Removed.
3670 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3671 * sysdeps/x86/bits/mathdef.h: This.
3672
03277f8f
AS
36732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 [BZ #14132]
3676 * include/sys/socket.h (__connect_internal)
3677 (__libc_sa_len_internal): Remove declaration.
3678 (__connect, __libc_sa_len): Declare hidden_proto.
3679 (SA_LEN): Remove use of INTUSE.
3680 * socket/connect.c: Add libc_hidden_def.
3681 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3682 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3683 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3684 alias.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3687 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3688 of adding _internal alias.
3689
13764867
L
36902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 [BZ #14117]
6bd97696
L
3693 * sysdeps/i386/bits/link.h: Removed.
3694 * sysdeps/i386/bits/linkmap.h: Likewise.
3695 * sysdeps/x86_64/bits/link.h: Renamed to ...
3696 * sysdeps/x86/bits/link.h: This.
3697 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3698 * sysdeps/x86/bits/linkmap.h: This.
3699
f726f0bb
L
3700 * sysdeps/i386/bits/endian.h: Removed.
3701 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3702 * sysdeps/x86/bits/endian.h: This.
3703
13764867
L
3704 * sysdeps/i386/bits/byteswap.h: Removed.
3705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3706 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3707 * sysdeps/x86/bits/byteswap.h: This.
3708 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3709 * sysdeps/x86/bits/byteswap-16.h: This.
3710 * sysdeps/i386/Implies: Add x86.
3711 * sysdeps/x86_64/Implies: Likewise.
3712
ae251b0b
DM
37132012-05-30 David S. Miller <davem@davemloft.net>
3714
3715 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3716 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3718 (FP_TRAPPING_EXCEPTIONS): Define.
3719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3720 (FP_TRAPPING_EXCEPTIONS): Define.
3721 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3722 subnormals only when inexact has been signalled or underflow
3723 exceptions are enabled.
3724 (_FP_PACK_CANONICAL): Likewise.
3725
d5c90867
L
37262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3727
3728 [BZ #14183]
3729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3730 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3731
63f1549e
RH
37322012-05-30 Richard Henderson <rth@twiddle.net>
3733
8d8f2279
RH
3734 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3735 with #ifndef NOT_IN_libc.
3736
63f1549e
RH
3737 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3738 marked to avoid plt entry.
3739
0ab0291b
L
37402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3741
3742 [BZ #14112]
3743 * Makeconfig (default-abi): New macro.
3744 (abi-includes): Likewise.
3745 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3746 $(abi-$(default-abi)-lib-soname) for soname if defined.
3747 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3748 abi-variants.
3749 * Makefile (installed-stubs): Likewise.
3750 * include/stubs-biarch.h: Removed.
3751 * scripts/lib-names.awk: Only handle one library at a time.
3752 * scripts/soversions.awk: Remove WORDSIZE support.
3753 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3754 entries.
3755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3756 Removed.
3757 (syscall-list-default-condition): Likewise.
3758 (syscall-list-default-condition): Likewise.
3759 (syscall-list-includes): Likewise.
3760 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3761 syscall-list-* with abi-*. Handle undefined abi-variants.
3762 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3763 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3764 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3765 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3766 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3767 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3768 Removed.
3769 (syscall-list-32-options): Likewise.
3770 (syscall-list-32-condition): Likewise.
3771 (syscall-list-64-options): Likewise.
3772 (syscall-list-64-condition): Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3774 macro.
3775 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3776 Renamed to ...
3777 (abi-*): This.
3778 (abi-64-ld-soname): New macro.
3779 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3780 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3781 Renamed to ...
3782 (abi-*): This.
3783 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3784 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3785
4da0431d
JM
37862012-05-30 Joseph Myers <joseph@codesourcery.com>
3787
3a85279c
JM
3788 * sysdeps/unix/sysv/linux/kernel-features.h
3789 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3790 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3791 include <kernel-features.h>.
3792 [!__NR_ftruncate64]: Remove conditional code.
3793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3794 [__NR_ftruncate64]: Make code unconditional.
3795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3796 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3797 include <kernel-features.h>.
3798 [!__NR_ftruncate64]: Remove conditional code.
3799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3800 [__NR_ftruncate64]: Make code unconditional.
3801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3803 include <kernel-features.h>.
3804 [!__NR_ftruncate64]: Remove conditional code.
3805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3806 [__NR_ftruncate64]: Make code unconditional.
3807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3809 include <kernel-features.h>.
3810 [!__NR_ftruncate64]: Remove conditional code.
3811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3812 [__NR_ftruncate64]: Make code unconditional.
3813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3814
4da0431d
JM
3815 * configure.in (libc_cv_fpie): Weaken to a compile test using
3816 LIBC_TRY_CC_OPTION.
3817 * configure: Regenerated.
3818
11ef492c
AK
38192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3820
3821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3825 Refreshed.
3826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3832 Refreshed.
3833
d66ef399
DM
38342012-05-27 David S. Miller <davem@davemloft.net>
3835
3836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3837 (___Q_zero): New.
3838 (__Q_simulate_exceptions): Return void. Change to simulate
3839 exceptions by writing into the %fsr.
3840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3841 (__Qp_handle_exceptions): Likewise.
3842 (numbers): Delete.
3843 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3844 __Qp_handle_exceptions.
3845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3846 __Qp_handle_exceptions.
3847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3848 as unused and give dummy FP_RND_NEAREST initializer.
3849 (FP_INHIBIT_RESULTS): Define.
3850 (___Q_simulate_exceptions): Update declaration.
3851 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3852 formatting.
3853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3854 as unused and give dummy FP_RND_NEAREST initializer.
3855 (__Qp_handle_exceptions): Update declaration.
3856 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3857 formatting.
3858
04fb54b5
TS
38592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3860
3861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3862 the temporary FPU control word.
3863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3864 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3867 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3869 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3870 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3872 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3873 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3874
3f99608f
KK
38752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3876
3877 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3878 fields.
3879
65a4de4e
CLT
38802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3881
3882 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3883 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3888 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3889 Likewise.
3890
15749d40
UD
38912012-05-27 Ulrich Drepper <drepper@gmail.com>
3892
3893 * po/h.po: Update from translation team.
3894
25dbcb27
AS
38952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3896
3d3f8e55
AS
3897 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3898
25dbcb27
AS
3899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3900 handling of denormals.
3901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3908 Likewise.
3909
7ad47a80 39102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3911
3912 [BZ #14152]
3913 * math/libm-test.inc (fma_test): Don't always expect underflow
3914 exception.
3915
9c6ea9fa
SP
39162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3917
3918 [BZ #12416]
3919 * elf/tst-execstack.c: Include stackinfo.h.
3920 (do_test): Adjust test case to ensure that pthread_getattr_np
3921 behaviour remains the same after marking stack executable.
3922
a8239222
JM
39232012-05-25 Joseph Myers <joseph@codesourcery.com>
3924
3925 * sysdeps/unix/sysv/linux/kernel-features.h
3926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3928 kernel-features.h.
3929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3931 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3932 kernel-features.h.
3933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3935
918b5606
L
39362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * configure.in: Define the default includes to being none.
3939 * configure: Regenerated.
3940
3a097cc7
RM
39412012-05-25 Roland McGrath <roland@hack.frob.com>
3942
8422c9a5
RM
3943 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3944 * sysdeps/x86_64/setjmp.S: Likewise.
3945 * sysdeps/i386/bsd-setjmp.S: Likewise.
3946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3947 * sysdeps/i386/setjmp.S: Likewise.
3948 * sysdeps/i386/__longjmp.S: Likewise.
3949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3951
3a097cc7
RM
3952 * include/stap-probe.h: New file.
3953 * configure.in: Handle --enable-systemtap.
3954 * configure: Regenerated.
3955 * config.h.in (USE_STAP_PROBE): New #undef.
3956 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3957 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3958 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3959
21708942
JM
39602012-05-25 Joseph Myers <joseph@codesourcery.com>
3961
3962 [BZ #13717]
3963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3964 to 2.4.0 where earlier.
3965 * sysdeps/unix/sysv/linux/configure: Regenerated.
3966 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3967 <kernel-features.h>.
3968 [__ASSUME_32BITUIDS]: Make code unconditional.
3969 [!__ASSUME_32BITUIDS]: Remove conditional code.
3970 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3971 <kernel-features.h>.
3972 [__ASSUME_32BITUIDS]: Make code unconditional.
3973 [!__ASSUME_32BITUIDS]: Remove conditional code.
3974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3975 [__ASSUME_32BITUIDS]: Make code unconditional.
3976 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3977 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3978 <kernel-features.h>.
3979 [__ASSUME_32BITUIDS]: Make code unconditional.
3980 [!__ASSUME_32BITUIDS]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3982 <kernel-features.h>.
3983 [__ASSUME_32BITUIDS]: Make code unconditional.
3984 [!__ASSUME_32BITUIDS]: Remove conditional code.
3985 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3986 <kernel-features.h>.
3987 [__ASSUME_32BITUIDS]: Make code unconditional.
3988 [!__ASSUME_32BITUIDS]: Remove conditional code.
3989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3990 <kernel-features.h>.
3991 [__ASSUME_32BITUIDS]: Make code unconditional.
3992 [!__ASSUME_32BITUIDS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3994 <kernel-features.h>.
3995 [__ASSUME_32BITUIDS]: Make code unconditional.
3996 [!__ASSUME_32BITUIDS]: Remove conditional code.
3997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3998 <kernel-features.h>.
3999 [__ASSUME_32BITUIDS]: Make code unconditional.
4000 [!__ASSUME_32BITUIDS]: Remove conditional code.
4001 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4002 <kernel-features.h>.
4003 [__ASSUME_32BITUIDS]: Make code unconditional.
4004 [!__ASSUME_32BITUIDS]: Remove conditional code.
4005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4006 <kernel-features.h>.
4007 [__ASSUME_32BITUIDS]: Make code unconditional.
4008 [!__ASSUME_32BITUIDS]: Remove conditional code.
4009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4010 <kernel-features.h>.
4011 [__ASSUME_32BITUIDS]: Make code unconditional.
4012 [!__ASSUME_32BITUIDS]: Remove conditional code.
4013 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4014 <kernel-features.h>.
4015 [__ASSUME_32BITUIDS]: Make code unconditional.
4016 [!__ASSUME_32BITUIDS]: Remove conditional code.
4017 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4018 <kernel-features.h>.
4019 [__NR_setresgid] (__setresgid): Do not declare.
4020 [__ASSUME_32BITUIDS]: Make code unconditional.
4021 [!__ASSUME_32BITUIDS]: Remove conditional code.
4022 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4023 <kernel-features.h>.
4024 [__NR_setresuid] (__setresuid): Do not declare.
4025 [__ASSUME_32BITUIDS]: Make code unconditional.
4026 [!__ASSUME_32BITUIDS]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4028 <kernel-features.h>.
4029 [__ASSUME_32BITUIDS]: Make code unconditional.
4030 [!__ASSUME_32BITUIDS]: Remove conditional code.
4031 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4032 <kernel-features.h>.
4033 [__ASSUME_32BITUIDS]: Make code unconditional.
4034 [!__ASSUME_32BITUIDS]: Remove conditional code.
4035 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4036 <kernel-features.h>.
4037 [__ASSUME_32BITUIDS]: Make code unconditional.
4038 [!__ASSUME_32BITUIDS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4040 <kernel-features.h>.
4041 [__ASSUME_32BITUIDS]: Make code unconditional.
4042 [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4044 <kernel-features.h>.
4045 [__ASSUME_32BITUIDS]: Make code unconditional.
4046 [!__ASSUME_32BITUIDS]: Remove conditional code.
4047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4048 <kernel-features.h>.
4049 [__ASSUME_32BITUIDS]: Make code unconditional.
4050 [!__ASSUME_32BITUIDS]: Remove conditional code.
4051 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4052 <kernel-features.h>.
4053 [__ASSUME_32BITUIDS]: Make code unconditional.
4054 [!__ASSUME_32BITUIDS]: Remove conditional code.
4055 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4056 <kernel-features.h>.
4057 [__ASSUME_32BITUIDS]: Make code unconditional.
4058 [!__ASSUME_32BITUIDS]: Remove conditional code.
4059 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4060 <kernel-features.h>.
4061 [__ASSUME_32BITUIDS]: Make code unconditional.
4062 [!__ASSUME_32BITUIDS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4064 <kernel-features.h>.
4065 [__ASSUME_32BITUIDS]: Make code unconditional.
4066 [!__ASSUME_32BITUIDS]: Remove conditional code.
4067 * sysdeps/unix/sysv/linux/kernel-features.h
4068 (__ASSUME_SETRESUID_SYSCALL): Remove.
4069 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4070 (__ASSUME_32BITUIDS): Likewise.
4071 (__ASSUME_LDT_WORKS): Likewise.
4072 (__ASSUME_O_DIRECTORY): Likewise.
4073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4074 architecture but not kernel version.
4075 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4076 (__ASSUME_MMAP2_SYSCALL): Likewise.
4077 (__ASSUME_STAT64_SYSCALL): Likewise.
4078 (__ASSUME_IPC64): Likewise.
4079 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4080 <kernel-features.h>.
4081 [__ASSUME_32BITUIDS]: Make code unconditional.
4082 [!__ASSUME_32BITUIDS]: Remove conditional code.
4083 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4084 <kernel-features.h>.
4085 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4086 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4087 132096]: Remove conditional code.
4088 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4090 <kernel-features.h>.
4091 [__ASSUME_32BITUIDS]: Make code unconditional.
4092 [!__ASSUME_32BITUIDS]: Remove conditional code.
4093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4094 <kernel-features.h>.
4095 [__ASSUME_32BITUIDS]: Make code unconditional.
4096 [!__ASSUME_32BITUIDS]: Remove conditional code.
4097 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4098 <kernel-features.h>.
4099 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4100 unconditional.
4101 (__setresgid): Do not declare.
4102 [__ASSUME_32BITUIDS]: Make code unconditional.
4103 [!__ASSUME_32BITUIDS]: Remove conditional code.
4104 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4105 <kernel-features.h>.
4106 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4107 unconditional.
4108 (__setresuid): Do not declare.
4109 [__ASSUME_32BITUIDS]: Make code unconditional.
4110 [!__ASSUME_32BITUIDS]: Remove conditional code.
4111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4112 <kernel-features.h>.
4113 [__ASSUME_32BITUIDS]: Make code unconditional.
4114 [!__ASSUME_32BITUIDS]: Remove conditional code.
4115 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4116 <kernel-features.h>.
4117 [__ASSUME_32BITUIDS]: Make code unconditional.
4118 [!__ASSUME_32BITUIDS]: Remove conditional code.
4119
a386f1cc
RH
41202012-05-25 Richard Henderson <rth@twiddle.net>
4121
4122 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4123 dl_hwcap to ifunc resolver.
4124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4125 elf_ifunc_invoke.
4126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4127 dl_hwcap to ifunc resolver.
4128 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4129
b6550497
JM
41302012-05-24 Joseph Myers <joseph@codesourcery.com>
4131
4132 [BZ #14153]
4133 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4134 for |x| <= 2**-26, not 2**-57.
4135 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4136 exception.
4137
b0bc23a1
JL
41382012-05-24 Jeff Law <law@redhat.com>
4139
4140 * stdio-common/Makefile (tests): Add bug25.
4141 * stdio-common/bug25.c: New test.
4142
347c92e9
L
41432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 [BZ #13576]
4146 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4147 multiple of MALLOC_ALIGNMENT in size.
4148 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4149
6bcc8b3f
JM
41502012-05-24 Joseph Myers <joseph@codesourcery.com>
4151
4152 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4153 Require >= 256.
4154 (FILENAME_MAX): Use macro-int-constant.
4155 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4156 (_IOFBF): Use macro-int-constant.
4157 (_IOLBF): Likewise.
4158 (_IONBF): Likewise.
4159 (SEEK_CUR): Likewise.
4160 (SEEK_END): Likewise.
4161 (SEEK_SET): Likewise.
4162 (TMP_MAX): Likewise.
4163 (EOF): Use macro-int-constant. Require < 0.
4164 (NULL): Use macro-constant. Require == 0.
4165 (stdin): Require type to be FILE *.
4166 (stdout): Likewise.
4167 (stderr): Likewise.
4168 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4169 macro-int-constant.
4170 (EXIT_SUCCESS): Likewise.
4171 (NULL): Use macro-constant. Require == 0.
4172 (RAND_MAX): Use macro-int-constant.
4173 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4174 [C99-based standards] (strtof): Require function.
4175 [C99-based standards] (strtold): Likewise.
4176 [C99-based standards] (strtoll): Likewise.
4177 [C99-based standards] (strtoull): Likewise.
4178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4179 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4180 [ISO || ISO99 || ISO11] (math.h): Likewise.
4181 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4184
d18ea0c5
AS
41852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4186
4187 [BZ #14132]
56d25bb8
AS
4188 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4189 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4190 * intl/dgettext.c (DCGETTEXT): Likewise.
4191 * intl/gettext.c (DCGETTEXT): Likewise.
4192 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4193 * posix/regex_internal.h (gettext): Likewise.
4194 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4195 Remove declaration.
4196 * include/argz.h (__argz_count_internal)
4197 (__argz_stringify_internal): Remove declaration.
4198 (__argz_count, __argz_stringify): Declare hidden proto.
4199 * intl/dcgettext.c: Remove use of INTDEF.
4200 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4201 * string/argz-stringify.c: Likewise.
4202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4204 Declare hidden proto.
d18ea0c5
AS
4205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4207 Declare hidden proto.
4208 * include/stdio.h (__asprintf_internal): Don't declare.
4209 (__asprintf): Don't define as macro. Declare hidden proto.
4210 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4211 (__fsetlocking): Declare hidden proto.
4212 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4213 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4214 hidden proto.
4215 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4216 (_IO_setlinebuf): Remove use of INTUSE.
4217 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4218 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4219 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4220 Remove declaration.
4221 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4222 (_IO_do_flush): Remove use of INTUSE.
4223 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4224 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4225 (_IO_adjust_column, _IO_least_wmarker)
4226 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4227 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4228 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4229 (_IO_default_doallocate, _IO_wdefault_doallocate)
4230 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4231 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4232 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4233 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4234 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4235 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4236 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4237 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4238 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4239 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4240 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4241 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4242 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4243 proto.
4244 (_IO_flush_all_internal, _IO_adjust_column_internal)
4245 (_IO_default_uflow_internal, _IO_default_finish_internal)
4246 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4247 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4248 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4249 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4250 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4251 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4252 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4253 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4254 (_IO_file_close_internal, _IO_file_close_it_internal)
4255 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4256 (_IO_file_init_internal, _IO_file_attach_internal)
4257 (_IO_file_fopen_internal, _IO_file_read_internal)
4258 (_IO_file_sync_internal, _IO_file_seek_internal)
4259 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4260 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4261 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4262 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4263 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4264 (_IO_list_all_internal, _IO_link_in_internal)
4265 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4266 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4267 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4268 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4269 (_IO_do_write_internal, _IO_padn_internal)
4270 (_IO_getline_info_internal, _IO_getline_internal)
4271 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4272 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4273 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4274 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4275 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4276 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4277 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4278 with libc_hidden_ver, remove use of INTUSE.
4279 * libio/genops.c: Likewise.
4280 * libio/freopen.c: Likewise.
4281 * libio/freopen64.c: Likewise.
4282 * libio/iofclose.c: Likewise.
4283 * libio/iofdopen.c: Likewise.
4284 * libio/iofflush.c: Likewise.
4285 * libio/iofflush_u.c: Likewise.
4286 * libio/iofgets.c: Likewise.
4287 * libio/iofgets_u.c: Likewise.
4288 * libio/iofopen.c: Likewise.
4289 * libio/iofopncook.c: Likewise.
4290 * libio/iofread.c: Likewise.
4291 * libio/iofread_u.c: Likewise.
4292 * libio/ioftell.c: Likewise.
4293 * libio/iofwrite.c: Likewise.
4294 * libio/iogetline.c: Likewise.
4295 * libio/iogets.c: Likewise.
4296 * libio/iogetwline.c: Likewise.
4297 * libio/iopadn.c: Likewise.
4298 * libio/iopopen.c: Likewise.
4299 * libio/ioseekoff.c: Likewise.
4300 * libio/ioseekpos.c: Likewise.
4301 * libio/iosetbuffer.c: Likewise.
4302 * libio/iosetvbuf.c: Likewise.
4303 * libio/ioungetc.c: Likewise.
4304 * libio/ioungetwc.c: Likewise.
4305 * libio/iovdprintf.c: Likewise.
4306 * libio/iovsprintf.c: Likewise.
4307 * libio/iovsscanf.c: Likewise.
4308 * libio/memstream.c: Likewise.
4309 * libio/obprintf.c: Likewise.
4310 * libio/oldfileops.c: Likewise.
4311 * libio/oldiofclose.c: Likewise.
4312 * libio/oldiofdopen.c: Likewise.
4313 * libio/oldiofopen.c: Likewise.
4314 * libio/oldiopopen.c: Likewise.
4315 * libio/oldstdfiles.c: Likewise.
4316 * libio/putc.c: Likewise.
4317 * libio/setbuf.c: Likewise.
4318 * libio/setlinebuf.c: Likewise.
4319 * libio/stdfiles.c: Likewise.
4320 * libio/strops.c: Likewise.
4321 * libio/vasprintf.c: Likewise.
4322 * libio/vscanf.c: Likewise.
4323 * libio/vsnprintf.c: Likewise.
4324 * libio/vswprintf.c: Likewise.
4325 * libio/wfiledoalloc.c: Likewise.
4326 * libio/wfileops.c: Likewise.
4327 * libio/wgenops.c: Likewise.
4328 * libio/wmemstream.c: Likewise.
4329 * libio/wstrops.c: Likewise.
4330 * libio/__fpurge.c: Likewise.
4331 * libio/__fsetlocking.c: Likewise.
4332 * assert/assert.c: Likewise.
4333 * debug/fgets_chk.c: Likewise.
4334 * debug/fgets_u_chk.c: Likewise.
4335 * debug/fread_chk.c: Likewise.
4336 * debug/fread_u_chk.c: Likewise.
4337 * debug/gets_chk.c: Likewise.
4338 * debug/obprintf_chk.c: Likewise.
4339 * debug/vasprintf_chk.c: Likewise.
4340 * debug/vdprintf_chk.c: Likewise.
4341 * debug/vsnprintf_chk.c: Likewise.
4342 * debug/vsprintf_chk.c: Likewise.
4343 * malloc/mtrace.c: Likewise.
4344 * misc/error.c: Likewise.
4345 * misc/syslog.c: Likewise.
4346 * stdio-common/asprintf.c: Likewise.
4347 * stdio-common/fxprintf.c: Likewise.
4348 * stdio-common/getw.c: Likewise.
4349 * stdio-common/isoc99_fscanf.c: Likewise.
4350 * stdio-common/isoc99_scanf.c: Likewise.
4351 * stdio-common/isoc99_vfscanf.c: Likewise.
4352 * stdio-common/isoc99_vscanf.c: Likewise.
4353 * stdio-common/isoc99_vsscanf.c: Likewise.
4354 * stdio-common/printf-prs.c: Likewise.
4355 * stdio-common/printf_fp.c: Likewise.
4356 * stdio-common/printf_fphex.c: Likewise.
4357 * stdio-common/printf_size.c: Likewise.
4358 * stdio-common/putw.c: Likewise.
4359 * stdio-common/scanf.c: Likewise.
4360 * stdio-common/sprintf.c: Likewise.
4361 * stdio-common/tmpfile.c: Likewise.
4362 * stdio-common/vfprintf.c: Likewise.
4363 * stdio-common/vfscanf.c: Likewise.
4364 * stdlib/strfmon_l.c: Likewise.
4365 * sunrpc/openchild.c: Likewise.
4366 * sunrpc/xdr_stdio.c: Likewise.
4367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4368 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4369
d6c33fda
RM
43702012-05-24 Roland McGrath <roland@hack.frob.com>
4371
c1487492
RM
4372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4373
4374 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4375 in the third column, to generate for the shared library an IFUNC
4376 that uses _dl_vdso_vsym.
4377 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4378 * Makeconfig (object-suffixes-noshared): New variable.
4379
4380 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4381 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4382 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4383 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4384
d6c33fda
RM
4385 [BZ #14132]
4386 * include/sys/time.h (__gettimeofday): Remove macro.
4387 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4388 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4389 Remove INTDEF.
4390 (__gettimeofday): Add libc_hidden_def.
4391 (gettimeofday): Add libc_hidden_weak.
4392 * sysdeps/mach/gettimeofday.c: Likewise.
4393 * sysdeps/posix/gettimeofday.c: Likewise.
4394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4397 (__gettimeofday_internal): Remove strong_alias.
4398 (__gettimeofday): Add libc_hidden_def.
4399 (gettimeofday): Add libc_hidden_weak.
4400 * sysdeps/unix/syscalls.list (gettimeofday):
4401 Remove __gettimeofday_internal alias.
4402
b5a2bbe6
L
44032012-05-24 Daniel Jacobowitz <drow@false.org>
4404 H.J. Lu <hongjiu.lu@intel.com>
4405
4406 [BZ #12495]
4407 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4408 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4409 (largebin_index_32_big): New.
4410 (largebin_index): Use it for 16-byte alignment.
4411 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4412 correction with front_misalign.
4413
cfba4fda
L
44142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4415
7f907421
L
4416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4418 Likewise.
4419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4420 Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4422 Likewise.
4423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4424 Likewise.
4425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4426 Likewise.
4427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4428 Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4430 Likewise.
4431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4432 Likewise.
4433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4434 Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4436 Likewise.
4437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4438 Likewise.
4439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4440 Likewise.
4441
cfba4fda
L
4442 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4443 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4444
80bad0cc
JM
44452012-05-24 Joseph Myers <joseph@codesourcery.com>
4446
7a25eb06
JM
4447 [BZ #10846]
4448 [BZ #14036]
4449 * math/libm-test.inc (exp_test): Add test from bug 14036.
4450 (pow_test): Add test from bug 10846.
4451
795405f9
JM
4452 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4453 and other flags.
4454 (special_function): Do not include flags in test name.
4455 (parse_args): Likewise.
4456 * sysdeps/i386/fpu/libm-test-ulps: Update.
4457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461
80bad0cc
JM
4462 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4463 exceptions.
4464 * math/libm-test.inc ("Philosophy"): Update comment about
4465 exception testing.
4466 (UNDERFLOW_EXCEPTION): New macro.
4467 (UNDERFLOW_EXCEPTION_OK): Likewise.
4468 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4469 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4470 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4471 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4472 (INVALID_EXCEPTION_OK): Update value.
4473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4474 (OVERFLOW_EXCEPTION_OK): Likewise.
4475 (IGNORE_ZERO_INF_SIGN): Likewise.
4476 (test_exceptions): Handle underflow exceptions.
4477 (acos_test): Update for underflow exception expectations.
4478 (cexp_test): Likewise.
4479 (clog_test): Likewise.
4480 (clog10_test): Likewise.
4481 (csqrt_test): Likewise.
4482 (ctan_test): Likewise.
4483 (ctanh_test): Likewise.
4484 (exp_test): Likewise.
4485 (exp10_test): Likewise.
4486 (exp2_test): Likewise.
4487 (expm1_test): Likewise.
4488 (fma_test): Likewise.
4489 (j0_test): Likewise.
4490 (jn_test): Likewise.
4491 (nexttoward_test): Likewise.
4492 (pow_test): Likewise.
4493 (scalbn_test): Likewise.
4494 (scalbln_test): Likewise.
4495 (tan_test): Likewise.
4496 (y1_test): Likewise.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4499
9e0e3d0b
DM
45002012-05-23 David S. Miller <davem@davemloft.net>
4501
4502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4503 (__libc_sigaction): Remove unused local variables.
4504
ccd0a08f
L
45052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4508
62bdf9a6
PE
45092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4510
f8591f80
PE
4511 mktime: avoid signed integer overflow
4512 * time/mktime.c (__mktime_internal): Do not mishandle the case
4513 where diff == INT_MIN.
4514
94c7d826
PE
4515 mktime: simplify computation of average
4516 * time/mktime.c (ranged_convert): Use new time_t_avg function
4517 instead of rolling our own (probably-slower) code.
4518
ce73d683
PE
4519 mktime: do not assume signed right shift propagates sign bit
4520 * time/mktime.c (isdst_differ): New static function.
4521 (__mktime_internal): No need to normalize tm_isdst now.
4522 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4523 tm_isdst values.
4524
72a22e59
PE
4525 mktime: merge another wrapv change from gnulib
4526 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4527 from some compilers.
4528
68605433
PE
4529 mktime: remove incorrect attempt at unusual arithmetics
4530 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4531 The code didn't really work on such machines anyway.
4532 (TYPE_MINIMUM): Assume two's complement.
4533 (twos_complement_arithmetic): Verify that long_int and time_t
4534 are two's complement (or unsigned, in the latter case).
4535
03cf7fe3
PE
4536 mktime: check signed shifts on long_int and time_t, too
4537 * time/mktime.c (SHR): Check that shifts work as desired
4538 on the types long_int and time_t too, as SHR is used on
4539 such types.
4540
f04dfbc2
PE
4541 mktime: do not assume 'long' is wide enough
4542 * time/mktime.c (verify): Move decl up.
4543 (long_int): New type.
4544 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4545 to remove assumption in the code that 'long' is wide enough to
4546 store year values. This assumption is not true on x32 and on
4547 some non-glibc platforms.
4548
62bdf9a6
PE
4549 mktime: merge wrapv change from gnulib
4550 * time/mktime.c (WRAPV): New macro.
4551 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4552 (guess_time_tm, __mktime_internal): Do not assume that signed
4553 integer overflow wraps around; modern compilers generate code
4554 where this assumption is no longer valid.
4555
5e292e4f
L
45562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4559 Replace "jmp L(pseudo_end)" with "ret".
4560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4561 Likewise.
4562
8caf8c87
AJ
45632012-05-23 Andreas Jaeger <aj@suse.de>
4564
4565 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4566 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4567
1a09dc56
AJ
45682012-05-23 Andreas Jaeger <aj@suse.de>
4569 Maximilian Attems <max@stro.at>
4570
4571 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4572 New macros.
4573
1c87aba0
L
45742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4575
4576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4577 code so that pseudo_end is just ret and the stack pointer is
4578 correct also for static library in error case.
4579
40e45bd5
JM
45802012-05-23 Joseph Myers <joseph@codesourcery.com>
4581
c2670533
JM
4582 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4583 move to syscalls.list.
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4588
40e45bd5
JM
4589 * manual/install.texi (Running make install): Do not mention Linux
4590 kernel version for which pt_chown is not needed.
4591 (Linux): Do not mention problems with nscd with 2.0 kernels.
4592 * INSTALL: Regenerated.
4593
be08eda5
AJ
45942012-05-23 Andreas Jaeger <aj@suse.de>
4595
4596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4597 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4598 macro.
4599 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4601 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4603 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4609 * sysdeps/unix/sysv/linux/bits/in.h
4610 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4611
a6a056bb
RM
46122012-05-22 Roland McGrath <roland@hack.frob.com>
4613
4614 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4615 (PREPARE_VERSION): Just use assert instead, it will be elided
4616 under [NDEBUG] anyway.
4617
c9009328
L
46182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * sysdeps/unix/sysv/linux/Makefile: Include
4621 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4622 (sysdep_routines): Remove sysctl.
c9009328
L
4623 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4624 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4626 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4627 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4628
73338355
AJ
46292012-05-22 Andreas Jaeger <aj@suse.de>
4630
4631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4632 that pseudo_end is just ret and the stack pointer is correct also
4633 for static library in error case.
4634
d44638b0
PP
46352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4636
4637 [BZ #14122]
4638 * nss/nsswitch.c (defconfig_entries): New variable.
4639 (__nss_database_lookup): Don't leak defconfig entries.
4640 (nss_parse_service_list): Don't leak on error paths.
4641 (free_database_entries): New function.
4642 (free_defconfig): New function.
4643 (free_mem): Move common code to free_database_entries.
4644
31a39bd8
L
46452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4646
da0331a8
L
4647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4648 Add arch_prctl.
4649 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4650
31a39bd8
L
4651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4652 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4654 New macro.
4655 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4656 (INTERNAL_SYSCALL_TYPES): Likewise.
4657 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4658 (LOAD_REGS_TYPES_[1-6]): Likewise.
4659 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4660 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4661
45470df3
AZ
46622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663
4664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4665 copysignl for GLIBC_2_0.
4666 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4667 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4669 logbl for GLIBC_2_0.
4670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4672
98a61bcb
L
46732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4674
a4f6e481
L
4675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4677
f63d5db6
L
4678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4679 Use "neg %eax".
4680
98a61bcb
L
4681 * time/mktime.c: Update copyright years.
4682
95770f14
PE
46832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4684
6226efbd
PE
4685 mktime: merge comment-quoting-style change from gnulib
4686 * time/mktime.c: Quote 'like this' in comments.
4687 The GNU coding standards suggest that we no longer quote `like this',
4688 as "`" and "'" are typically rendered asymmetrically nowadays.
4689 The typical gnulib style is to quote 'like this' when quoting
4690 code, and "like this" when quoting English.
4691
b99e4f78
PE
4692 * time/mktime.c (compile-command): Add "-I.".
4693
643e01e6
PE
4694 mktime: merge mktime-internal.h change from gnulib
4695 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4696
2554247d
PE
4697 mktime: merge time_r change from gnulib
4698 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4699
826dd0ab
PE
4700 mktime: merge DEBUG change from gnulib
4701 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4702 case system <time.h> has a #define.
4703
bd83aabe
PE
4704 mktime: merge <sys/types.h> change from gnulib
4705 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4706 since <time.t> is now guaranteed to define time_t.
4707
95770f14
PE
4708 mktime: merge HAVE_CONFIG_H change from gnulib
4709 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4710
5e1a27a9
L
47112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4712
0e44a77e
L
4713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4714 Use "neg %eax".
4715
5e1a27a9
L
4716 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4717 __rlim_t cast.
4718 (struct rusage): Use anonymous union to pad each field to
4719 __syscall_slong_t.
4720
46259bec
DM
47212012-05-21 David S. Miller <davem@davemloft.net>
4722
4723 * Makefules (o-iterator): Remove .s cases.
4724 (compile-command.s): Delete.
4725 (COMPILE.s): Delete.
4726 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4727
59f0c22e
JM
47282012-05-21 Joseph Myers <joseph@codesourcery.com>
4729
4730 * configure.in (libc_cv_predef_stack_protector): Only consider
4731 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4732 * configure: Regenerated.
4733
20c07380
L
47342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4735
bbb3154b
L
4736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4737 New macro. Use R*LP on int and pointer.
4738 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4739 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4740 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4741 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4742
20c07380
L
4743 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4744 [__WORDSIZE_TIME64_COMPAT32] instead of
4745 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4746 (struct utmp): Likewise.
4747 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4748 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4749 Renamed to ...
4750 (__WORDSIZE_TIME64_COMPAT32): This.
4751 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4752 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4753 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4754 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4755 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4756 (__WORDSIZE_TIME64_COMPAT32): New macro.
4757
d8d1017e
AJ
47582012-05-21 Andreas Jaeger <aj@suse.de>
4759
4760 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4761 only if [SHARED]. Add prototype for __wcschr_ia32.
4762
6c7fb145
RM
47632012-05-21 Roland McGrath <roland@hack.frob.com>
4764
4765 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4766 of %rbp unmolested in the jmp_buf while mangling the low bits.
4767 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4768 unmolested high bits of %rbp while demangling the low bits.
4769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4770
66274218
AJ
47712012-05-21 Andreas Jaeger <aj@suse.de>
4772
07c58f8f
AJ
4773 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4774 * sunrpc/svc_simple.c: Use it for registerrpc.
4775 * sunrpc/xcrypt.c: Use it for passwd2des.
4776
66274218
AJ
4777 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4778
61f65140
L
47792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4780
4781 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4782 Don't define if [__SYSCALL_WORDSIZE != 32].
4783 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4784 New macro.
4785
5fefb436
AJ
47862012-05-21 Bruno Haible <bruno@clisp.org>
4787 Andreas Jaeger <aj@suse.de>
4788
4789 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4790 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4791 inptr and inend for must_buffer_ch.
4792 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4793 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4794 * stdio-common/Makefile (tests): Remove bug15.
4795 (bug15-ENV): Remove macro.
4796 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4797 anymore.
4798
d8e272ab
AJ
47992012-05-19 Andreas Jaeger <aj@suse.de>
4800 Roland McGrath <roland@hack.frob.com>
4801
4802 * manual/contrib.texi: Completely rewritten. It contains now an
4803 alphabetical list of contributors and their contributions.
4804
4a56a162
RH
48052012-05-21 Richard Henderson <rth@twiddle.net>
4806
4807 * misc/getauxval.c (__getauxval): Use unsigned long int.
4808 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4809 (getauxval): Use unsigned long int.
4810
d024d23c
L
48112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4812
4813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4814
cbc00a03
RM
48152012-05-21 Roland McGrath <roland@hack.frob.com>
4816
4817 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4818 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4819 __alignof__ (long double).
4820
478143fa
AZ
48212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4822
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4824
c7683a6d
RH
48252012-05-20 Richard Henderson <rth@twiddle.net>
4826
4827 * misc/getauxval.c: New file.
4828 * misc/sys/auxv.h: New file.
4829 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4830 (routines): Add getauxval.
4831 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4833 * elf/dl-sysdep.c (_dl_auxv): Remove.
4834 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4835 * elf/dl-support.c (_dl_auxv): New variable.
4836 (_dl_aux_init): Initialize it.
4837 * manual/startup.texi (Auxiliary Vector): New node.
4838 * sysdeps/generic/bits/hwcap.h: New file.
4839 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4840 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4841 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4842 * sysdeps/sparc/sysdep.h: ... here. Include it.
4843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4846 Update.
c7683a6d
RH
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4855
a6f1845d
AZ
48562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4857
4858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4859
cbcbe830
DM
48602012-05-19 David S. Miller <davem@davemloft.net>
4861
4862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4863
e0b16cc2
JM
48642012-05-19 Joseph Myers <joseph@codesourcery.com>
4865
4866 [BZ #14123]
4867 * math/s_ccosh.c: Include <float.h>
4868 (__ccosh): Avoid internal overflow calculating sinh and cosh
4869 values before multiplying by sin and cos values.
4870 * math/s_ccoshf.c: Likewise.
4871 * math/s_ccoshl.c: Likewise.
4872 * math/s_csin.c: Likewise.
4873 * math/s_csinf.c: Likewise.
4874 * math/s_csinl.c: Likewise.
4875 * math/s_csinh.c: Likewise.
4876 * math/s_csinhf.c: Likewise.
4877 * math/s_csinhl.c: Likewise.
4878 * math/libm-test.inc (ccos_test): Add more tests.
4879 (ccosh_test): Likewise.
4880 (csin_test): Likewise.
4881 (csinh_test): Likewise.
4882 * sysdeps/i386/fpu/libm-test-ulps: Update.
4883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4884
6ad13e08
L
48852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4886
f66f0ce8
L
4887 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4888 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4889
6ad13e08
L
4890 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4891
b1d072a7
JM
48922012-05-19 Joseph Myers <joseph@codesourcery.com>
4893
4894 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4895 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4896 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4897 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4898 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4899 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4900 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4901 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4902 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4903 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4904 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4905 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4906 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4907 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4908 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4909 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4910 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4911 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4912 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4913 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4914 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4915 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4916 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4917 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4918 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4919 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4920 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4921 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4922 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4923 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4924 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4925
9eae47cb
AJ
49262012-05-18 Andreas Jaeger <aj@suse.de>
4927
4928 * csu/.gitignore: Delete.
4929
bb07f69f
L
49302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4933 (timex): Use __syscall_slong_t.
4934
e6bdb741
AJ
49352012-05-18 Andreas Jaeger <aj@suse.de>
4936 Carlos O'Donell <carlos_odonell@mentor.com>
4937
4938 * manual/install.texi (Configuring and compiling): Update
4939 description about files modified in the source directory.
d6c33fda 4940 * INSTALL: Regenerated.
e6bdb741 4941
1b74487e
L
49422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4943
4944 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4945 value. Use "or" to set return value to -1.
4946 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4947 negate return value.
4948
a88b64b9
TMQMF
49492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4950
4951 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4952 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4953 failure if the compiler has Graphite support disabled.
4954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4955 Likewise.
4956 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4957 CFLAGS-memmove.c): Likewise.
4958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4959 Likewise.
4960
3707636e
L
49612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4962
610b8622
L
4963 * sysdeps/x86_64/x32/_itoa.h: New file.
4964
7cd195df
L
4965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4966 getdents system call only if kernel and user dirents have the
4967 same d_ino and d_off.
4968
94b07d20
L
4969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4970 LLONG_MAX != LONG_MAX.
4971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4972 (_fitoa_word): Likewise.
4973
18298070
L
4974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4975 years.
4976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4979
553c7ea4
L
4980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4981 include <bits/wordsize.h>. Check __x86_64__ instead of
4982 __WORDSIZE.
4983 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4984 if __x86_64__ is defined. Use anonymous union on fpstate.
4985
3707636e
L
4986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4987 anonymous union.
4988
b53ef01a
AS
49892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4990
37fb1dc0
AS
4991 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4992 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4994 Refer to _rtld_local_ro instead of _rtld_global_ro.
4995 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4996 Likewise.
4997 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4998 Likewise.
4999 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5000 Likewise.
5001 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5002 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5003 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5004
b53ef01a
AS
5005 * sysdeps/powerpc/powerpc32/dl-machine.c
5006 (__elf_machine_runtime_setup) [PROF]: Don't reference
5007 _dl_prof_resolve.
5008
7a185db2
AJ
50092012-05-18 Andreas Jaeger <aj@suse.de>
5010
5011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5012 function only available for GCCs before 3.4 since GCC 3.4
5013 introduced a builtin.
5014 (lrint): Likewise.
5015 (llrintf): Likewise.
5016 (llrint): Likewise.
5017 (fmaxf): Likewise.
5018 (fmax): Likewise.
5019 (fminf): Likewise.
5020 (fmin): Likewise.
5021 (rint): Likewise.
5022 (rintf): Likewise.
5023 (nearbyint): Likewise.
5024 (nearbyintf): Likewise.
5025 (ceil): Likewise.
5026 (ceilf): Likewise.
5027 (floor): Likewise.
5028 (floorf): Likewise.
5029
3e5aef87
L
50302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5031
428bd707
L
5032 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5033 on both fields and cast pointer to __syscall_ulong_t.
5034
3e5aef87
L
5035 * bits/types.h (__fsword_t): New type.
5036 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5037 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5039 (__FSWORD_T_TYPE): Likewise.
5040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5041 (__FSWORD_T_TYPE): Likewise.
5042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5043 (__FSWORD_T_TYPE): Likewise.
5044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5045 (__FSWORD_T_TYPE): Likewise.
5046 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5047 __SWORD_TYPE with __fsword_t.
5048 (statfs64): Likewise.
5049
1ba7c3dc
DM
50502012-05-17 David S. Miller <davem@davemloft.net>
5051
5052 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5053
59910343
AJ
50542012-05-17 Andreas Jaeger <aj@suse.de>
5055
5056 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5057 warning.
5058
2e4c1e9e
L
50592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5062
de7f5ce7
AJ
50632012-05-17 Andreas Jaeger <aj@suse.de>
5064
5065 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5066 when it is used.
5067
286abc3d
CM
50682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5069
5070 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5071
477cc68e
L
50722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5075 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5076
1a0994f5
CD
50772012-05-17 Andreas Jaeger <aj@suse.de>
5078 Carlos O'Donell <carlos_odonell@mentor.com>
5079
5080 [BZ #14059]
5081 * sysdeps/x86_64/multiarch/init-arch.h
5082 (bit_YMM_Usable): Rename to...
5083 (bit_AVX_Usable): ... this.
5084 (bit_FMA4_Usable): New macro.
5085 (bit_XMM_state): New macro.
5086 (bit_YMM_state): New macro.
5087 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5088 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5089 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5090 (CPUID_OSXSAVE): New macro.
5091 (CPUID_AVX): New macro.
5092 (CPUID_FMA4): New macro.
5093 (index_YMM_Usable): Rename to...
5094 (index_AVX_Usable): ... this.
5095 (HAS_AVX): Use HAS_ARCH_FEATURE.
5096 (HAS_FMA4): Likewise.
5097 (HAS_YMM_USABLE): Remove.
5098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5099 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5100 are present.
5101 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5102 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5103 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5104 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5105 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5106
0af797de
CM
51072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5108
5109 * math/libm-test.c: Support platforms without multiple rounding modes.
5110 * math/bug-nextafter.c: Support platforms without FP exceptions.
5111 * math/bug-nexttoward.c: Likewise.
5112 * math/test-fenv.c: Likewise.
5113 * math/test-misc.c: Likewise.
5114 * stdlib/bug-getcontext.c: Likewise.
5115
e39745ff
AJ
51162012-05-17 Andreas Jaeger <aj@suse.de>
5117
5118 * manual/examples/search.c (critter_cmp): Change signature to
5119 avoid warnings.
5120 * manual/string.texi (Collation Functions): Likewise.
5121
48970aba
L
51222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 * bits/types.h: Fold copyright years.
5125 * bits/typesizes.h: Likewise.
5126 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5130 * time/time.h: Likewise.
5131
bedee953
PP
51322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5133
5134 [BZ #208]
5135 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5136 in instead of returning them. Return void.
5137 (__libc_mallinfo): Accumulate over all arenas.
5138 (__malloc_stats): Adjust for change in int_mallinfo interface.
5139
61653dfb
RM
51402012-05-16 Roland McGrath <roland@hack.frob.com>
5141
30b99d79
RM
5142 [BZ #10375]
5143 * configure.in (NM): Add AC_CHECK_TOOL for it.
5144 (libc_extra_cflags): New substituted variable.
5145 Check for -fstack-protector being used implicitly.
5146 * configure: Regenerated.
5147 * config.make.in (config-extra-cflags): New variable,
5148 gets @libc_extra_cflags@.
5149 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5150
61653dfb
RM
5151 [BZ #10375]
5152 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5153 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5154 * configure: Regenerated.
5155 * config.make.in (CPPUNDEFS): New substituted variable.
5156 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5157 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5158 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5159
661768bb
L
51602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5163 (mq_attr): Use __syscall_slong_t.
5164
d4261567
L
51652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5166
5167 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5168 Check __x86_64__ instead of __WORDSIZE.
5169 (_STAT_VER_LINUX): Likewise.
5170 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5171 __syscall_ulong_t and __syscall_slong_t.
5172 (stat64): Likewise.
5173
cf3ff365
L
51742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5177
76cf3e4d
L
51782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5179
5180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5181
a637753a
L
51822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5183
5184 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5185 __syscall_ulong_t.
5186
d5e05119
L
5187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5188 include <bits/wordsize.h>. Check __x86_64__ instead of
5189 __WORDSIZE.
5190 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5191 defined.
5192 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5193
f62ee380
L
5194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5195 include <bits/wordsize.h>. Check __x86_64__ instead of
5196 __WORDSIZE.
5197 (user_regs_struct): Use "__extension__ unsigned long long"
5198 instead of "unsigned long" if __x86_64__ is defined.
5199 (user): Likewise. Pad after pointer field if __ILP32__ is
5200 defined.
5201
4e124ced
JM
52022012-05-16 Joseph Myers <joseph@codesourcery.com>
5203
6a3951a0
JM
5204 * configure.in (makeinfo): Require version 4.5 or later. Allow
5205 versions 5 to 9.
5206 * configure: Regenerated.
5207 * manual/install.texi (texinfo): Increase version requirement to
5208 4.5 or later.
5209 * INSTALL: Regenerated.
5210
4e124ced
JM
5211 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5212
953ca31a
L
52132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5214
5215 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5216
617aca05
L
5217 * sysdeps/x86_64/x32/ffs.c: New file.
5218
5762f7ae
L
5219 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5220 __syscall_ulong_t.
5221 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5222 defined. Use __syscall_ulong_t.
5223 (shminfo): Use __syscall_ulong_t.
5224 (shm_info): Likewise.
5225
a26b6856
L
5226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5227 __syscall_ulong_t.
5228
cb2b9ef7
L
5229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5230 <bits/wordsize.h>.
5231 (msgqnum_t): Use __syscall_ulong_t.
5232 (msglen_t): Likewise.
5233 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5234 __syscall_ulong_t.
5235
34683bb0
L
5236 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5238
84a68786
L
5239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5240
48baa5f1
L
5241 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5242 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5243
180be88b
L
5244 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5245 __syscall_slong_t.
5246
5e90c8ad
L
5247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5248 include <bits/wordsize.h>. Check __x86_64__ instead of
5249 __WORDSIZE.
5250
23dfb58b
L
5251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5252 "unsigned long long int" if __x86_64__ is defined.
5253 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5254
ce5d54b0
L
5255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5257 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5258
13dc9eac
L
5259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5260 <stdint.h>.
5261 (GET_PC): Cast to uintptr_t first.
5262 (GET_FRAME): Likewise.
5263 (GET_STACK): Likewise.
5264
a7895d15
L
5265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5294
656416c9
AS
52952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5296
5bd66283
AS
5297 * Makerules (+depfiles): Also collect depfiles from .oS in
5298 $(extra-objs).
5299 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5300 .oS, $(libnldbl-routines)).
5301
656416c9
AS
5302 * Makerules (native-compile-mkdep-flags): Define.
5303 * sunrpc/Makefile (extra-objs): Add $(addprefix
5304 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5305 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5306 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5307 calling $(make-target-directory).
5308
a46f2169
L
53092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5310
5311 * bits/types.h (__snseconds_t): Removed.
5312 * time/time.h (struct timespec): Replace __snseconds_t with
5313 __syscall_slong_t.
5314 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5315 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5316 Likewise.
5317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5318 (__SNSECONDS_T_TYPE): Likewise.
5319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5320 (__SNSECONDS_T_TYPE): Likewise.
5321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5322 (__SNSECONDS_T_TYPE): Likewise.
5323
6af6528b
L
53242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5325
5326 * sysdeps/mach/hurd/bits/typesizes.h
5327 (__SYSCALL_SLONG_TYPE): New macro.
5328 (__SYSCALL_ULONG_TYPE): Likewise.
5329
de986b56
L
53302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * bits/types.h (__syscall_slong_t): New type.
5333 (__syscall_ulong_t): Likewise.
5334
5335 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5336 (__SYSCALL_ULONG_TYPE): Likewise.
5337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5338 (__SYSCALL_SLONG_TYPE): Likewise.
5339 (__SYSCALL_ULONG_TYPE): Likewise.
5340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5341 (__SYSCALL_SLONG_TYPE): Likewise.
5342 (__SYSCALL_ULONG_TYPE): Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5344 (__SYSCALL_SLONG_TYPE): Likewise.
5345 (__SYSCALL_ULONG_TYPE): Likewise.
5346
85736dc7
L
53472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5348
5349 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5350 Add sigaltstack-offsets.sym.
5351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5352 <sigaltstack-offsets.h>.
5353 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5354 longjmp_msg pointer.
5355 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5356 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5357 signal stack.
5358 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5359
cc03b296
JM
53602012-05-15 Joseph Myers <joseph@codesourcery.com>
5361
a9538892
JM
5362 * elf/stackguard-macros.h: Remove file.
5363 * sysdeps/generic/stackguard-macros.h: New file.
5364 * sysdeps/i386/stackguard-macros.h: Likewise.
5365 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5366 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5367 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5368 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5369 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5370 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5371 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5372 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5373 <elf/stackguard-macros.h>.
5374
cc03b296
JM
5375 [BZ #14109]
5376 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5377 __aligned__ in attribute.
5378 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5379 (gregset_t): Likewise.
5380
93171016
L
53812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5384 * sysdeps/x86_64/64/Implies-after: Here. New file.
5385 * sysdeps/x86_64/x32/Implies-after: New file.
5386
d86813a0
L
53872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5388
5389 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5390 and access return value for _dl_profile_fixup. Use R10_LP to
5391 load frame size.
5392
2953ec75
L
53932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5394
5395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5396
3b550e9e
L
53972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5398
5399 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5400 * sysdeps/x86_64/x32/sysdep.h: New file.
5401
eda41706
L
54022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5403
5404 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5405 * sysdeps/x86_64/setjmp.S: Likewise.
5406
9ea01d93
AZ
54072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408
5409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5411 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5413 remove unused global constant.
5414
02a91938
CM
54152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5416
5417 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5418 include of <not-cancel.h>.
5419
6540185f
RM
54202012-05-15 Roland McGrath <roland@hack.frob.com>
5421
5422 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5423
509072a0
AJ
54242012-05-15 Jeff Law <law@redhat.com>
5425 Andreas Jaeger <aj@suse.de>
5426
5427 [BZ #13594]
5428 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5429 out from...
5430 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5431 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5433 code changing __hst_map_handle.map.
5434
ba75122d
RM
54352012-05-15 Roland McGrath <roland@hack.frob.com>
5436
5437 * configure.in (sysnames): Look for Implies-before and Implies-after
5438 files.
5439 * configure: Regenerated.
5440
890d8bd8
L
54412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5444 8-byte data alignment with LP_SIZE alignment.
5445
f6ee6623
L
54462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5447
5448 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5449 into R10_LP.
5450
ea2626f6
L
54512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5452
5453 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5454
085f715e
L
54552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5458 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5460 Likewise.
5461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5462
be8498fc
L
54632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5464
5465 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5466 (stackinfo_sub_sp): Likewise.
5467
70bc83b9
L
54682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5471 RAX_LP.
5472
9bc0b730
L
54732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5474
5475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5476 into R*_LP.
5477
6d2850e7
L
54782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5479
5480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5481 sizes into R*_LP.
5482
3cb84561
L
54832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5484
5485 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5486
54e2ed81
L
54872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5488
5489 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5490 into R11_LP and load __x86_64_shared_cache_size_half into
5491 R8_LP.
5492
8a17f349
L
54932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5494
5495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5496 R8_LP.
5497
777b1eea
AZ
54982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5501 logb for POWER7.
5502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5503 logbf for POWER7.
5504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5505 logbl for POWER7.
5506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5507 powerpc32/power7/fpu/s_logb.c via #include.
5508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5509 powerpc32/power7/fpu/s_logbf.c via #include.
5510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5511 powerpc32/power7/fpu/s_logbl.c via #include.
5512
d20d4ac2
JM
55132012-05-15 Joseph Myers <joseph@codesourcery.com>
5514
5515 * README.libm: Remove file.
5516
6cdef1ab
L
55172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5518
5519 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5520 count for x32. Use R*_LP and omit operand-size suffix.
5521
0b254d8f
L
55222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5525 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5526 * sysdeps/x86_64/x32/shlib-versions: New file.
5527
ceb809dc
RM
55282012-05-14 Roland McGrath <roland@hack.frob.com>
5529
5530 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5531 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5532 Use _dl_fatal_printf instead.
5533
37f1abd4
JM
55342012-05-14 Joseph Myers <joseph@codesourcery.com>
5535
5536 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5537 set if not set by the user. Do not allow for being unset.
5538 * sysdeps/unix/sysv/linux/configure: Regenerated.
5539
11de3a33
L
55402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5543 the `q' suffix from lea and replace .quad with ASM_ADDR.
5544
e02f153a
L
55452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5546
5547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5548 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5549 instead of $17.
5550 (PTR_DEMANGLE): Likewise.
5551
520ae0fd
L
55522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5555 (LP_OP): Likewise.
5556 (ASM_ADDR): Likewise.
5557 (RAX_LP): Likewise.
5558 (RBP_LP): Likewise.
5559 (RBX_LP): Likewise.
5560 (RCX_LP): Likewise.
5561 (RDI_LP): Likewise.
5562 (RSI_LP): Likewise.
5563 (RSP_LP): Likewise.
5564 (R8_LP): Likewise.
5565 (R9_LP): Likewise.
5566 (R10_LP): Likewise.
5567 (R10_LP): Likewise.
5568 (R11_LP): Likewise.
5569 (R12_LP): Likewise.
5570 (R13_LP): Likewise.
5571 (R14_LP): Likewise.
5572 (R15_LP): Likewise.
5573
b985be81
L
55742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/x86_64/x32/dl-machine.h: New file.
5577
6a4888ff
AJ
55782012-05-14 Andreas Jaeger <aj@suse.de>
5579
5580 * manual/Makefile (subdir): Remove export of subdir.
5581 (all): Remove target.
5582 (.PHONY): Remove all from list.
5583 (mkinstalldirs): Remove.
5584 (.PHONY): Remove installdirs from list.
5585 ($(inst_infodir)/libc.info): Use make-target-directory.
5586 (installdirs): Remove.
5587 (subdir_%): Remove.
5588 (glibc-targets): Remove.
5589 (lib): Remove.
5590 (stubs): Remove.
5591 ($(objpfx)stubs ../po/manual.pot): Remove.
5592 ($(objpfx)stamp%): Remove.
5593 (make-target-directory): Remove.
5594 (subdir_install): Remove.
5595 (routines): Remove.
5596 (aux): Remove.
5597 (sources): Remove.
5598 (objects): Remove.
5599 (headers): Remove.
5600
5601 [BZ #13750]
5602 * manual/.gitignore: Remove, it's not needed anymore.
5603 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5604 all files in it.
5605 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5606 directory.
5607 (texis): Renamed to $(objpfx)texis.
5608 (texis-path): New, contains path to generated files.
5609 (chapters.%): Use texis-path for complete path, add extra argument
5610 libc-texinfo.sh.
5611 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5612 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5613 (summary,texi, stamp-summary): Use complete path of
5614 files. Generate files in build dir.
5615 (dir-add.texi): Build in build dir.
5616 (libm-err.texi,stamp-libm-err): Likewise.
5617 (version.texi, stamp-version): Likewise.
5618 (.%c.texi): Likewise.
5619 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5620 (mostlyclean): Remove target.
5621 (realclean): Remove target.
5622 (generated): Add new variable with contents from mostlyclean and
5623 realclean, remove entries duplicated in common-mostlyclean, add
5624 stamp-libm-err and stamp-version.
5625 (generated-dirs): Add libc directory.
5626 ($(inst_infodir)/libc.info): Install files from build dir.
5627
5628 * manual/install.texi (Configuring and compiling): Adjust since
5629 the info files are not part of the tar ball anymore.
5630
7ac77294
AJ
56312012-05-14 Andreas Jaeger <aj@suse.de>
5632
5633 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5634 variable.
5635
ffb7875d
JM
56362012-05-14 Joseph Myers <joseph@codesourcery.com>
5637
5638 [BZ #13717]
5639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5640 to 2.2.0 where earlier.
5641 * sysdeps/unix/sysv/linux/configure: Regenerated.
5642 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5643 Remove conditional code.
5644 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5645 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5646 Remove conditional code.
5647 [!__NR_lchown]: Likewise.
5648 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5649 [__NR_lchown]: Likewise.
5650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5651 comment referencing __ASSUME_LCHOWN_SYSCALL.
5652 * sysdeps/unix/sysv/linux/i386/sigaction.c
5653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5655 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5656 Remove conditional code.
5657 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5658 (__protocol_available): Remove #if 0 code.
5659 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5660 conditional code.
5661 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5662 * sysdeps/unix/sysv/linux/kernel-features.h
5663 (__ASSUME_GETCWD_SYSCALL): Don't define.
5664 (__ASSUME_REALTIME_SIGNALS): Likewise.
5665 (__ASSUME_PREAD_SYSCALL): Likewise.
5666 (__ASSUME_PWRITE_SYSCALL): Likewise.
5667 (__ASSUME_POLL_SYSCALL): Likewise.
5668 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5669 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5670 non-SPARC.
5671 (__ASSUME_SIOCGIFNAME): Don't define.
5672 (__ASSUME_MSG_NOSIGNAL): Likewise.
5673 (__ASSUME_SENDFILE): Define unconditionally.
5674 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5675 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5676 conditional code.
5677 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5678 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5680 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5682 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5683 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5708 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5709 Remove conditional code.
5710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5711 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5712 Remove conditional code.
5713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5714 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5715 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5716 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5717 Remove conditional code.
5718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5719 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5720 Remove conditional code.
5721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5722 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5723 Remove conditional code.
5724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5725 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5726 Remove conditional code.
5727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5728 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5729 Remove conditional code.
5730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5731 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5734 * sysdeps/unix/sysv/linux/sigaction.c
5735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5737 * sysdeps/unix/sysv/linux/sigpending.c
5738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/sigprocmask.c
5741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5743 * sysdeps/unix/sysv/linux/sigsuspend.c
5744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5747 (__libc_missing_rt_sigs): Remove.
5748 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5749 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5750 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5751 Remove conditional code.
5752 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5753 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5754 return 1.
5755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5758 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5759
1bfb7291
AJ
57602012-05-14 Andreas Jaeger <aj@suse.de>
5761
caae5a81
AJ
5762 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5763 it's not used in glibc.
5764 (__coshm1): Likewise.
5765 (__acosh1p): Likewise.
5766 (__sgn): Likewise.
5767
1bfb7291
AJ
5768 * manual/string.texi (Copying and Concatenation): Add missing
5769 variable in concat example.
5770 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5771
c044d724
L
57722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5773
144c5467 5774 [BZ #14103]
c044d724
L
5775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5776 __builtin_clzl with __builtin_clzll.
5777
2523c62b
L
57782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5779
5780 [BZ #14104]
5781 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5782 libc_freeres_ptr.
5783
d7bb4c42
LD
57842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5785
5786 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5787 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5788 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5789 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5790
9dc4e1fb
MF
57912012-05-14 Mike Frysinger <vapier@gentoo.org>
5792
5793 * NEWS: Update ia64 info.
5794
c7df0112
AS
57952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5798 used as bcopy.
5799
dc70356c
TS
58002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5801
5802 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5803 * sysdeps/unix/syscalls.list (dup3): Likewise.
5804 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5805 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5806
9fb1a21f
L
58072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5808
5809 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5810 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5811
4822a2a5
L
58122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5813
5814 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5815 thread pointer.
5816 (TLS_IE): Use mov/add instead of movq/addq to load thread
5817 pointer.
5818 (TLS_GD_PREFIX): New.
5819 (TLS_GD): Use it.
5820
842b81d6
DM
58212012-05-11 David S. Miller <davem@davemloft.net>
5822
5823 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5824 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5825 (_FPU_SETCW): Likewise.
5826
1cf463cd
L
58272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5828
5829 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5830 is 32-byte aligned.
5831
60cc4a18
AS
58322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5833
5834 [BZ #11837]
5835 * iconvdata/gb18030.c: Update tables.
5836 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5837 characters specially.
5838 (BODY for TO_LOOP): Add encoding of missing ranges.
5839
febb44a4
TS
58402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5841
5842 [BZ #13673]
5843 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5844 * sysdeps/mach/hurd/dup3.c: Likewise.
5845 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5846 * sysdeps/powerpc/memmove.c:: Likewise.
5847
0a10fb9e
L
58482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5851 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5852
df8a552f
L
58532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5854
5855 * elf/elf.h (R_X86_64_RELATIVE64): New.
5856 (R_X86_64_NUM): Updated.
5857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5858 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5859 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5860 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5861 tst-quad1pie tst-quad2pie
5862 (modules-names): Add tst-quadmod1 tst-quadmod2.
5863 ($(objpfx)tst-quad1): New dependency.
5864 ($(objpfx)tst-quad2): Likewise.
5865 ($(objpfx)tst-quad1pie): Likewise.
5866 ($(objpfx)tst-quad2pie): Likewise.
5867 * sysdeps/x86_64/tst-quad1.c: New file.
5868 * sysdeps/x86_64/tst-quad1pie.c: New file.
5869 * sysdeps/x86_64/tst-quad2.c: Likewise.
5870 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5871 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5872 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5873 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5874 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5875
f34d6f84
ST
58762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5877
f42d41d1
ST
5878 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5879 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5880 * streams/stropts.h (t_scalar_t): Define type.
5881
3c3571fc
ST
5882 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5883 (_PATH_PRESERVE): Set to "/var/lib".
5884 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5885
61f06bd3
ST
5886 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5887 instead of int.
5888
918d4d71
ST
5889 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5890 if __dir_mkfile succeeded.
5891
f34d6f84
ST
5892 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5893 checking for _hurd_dtablesize. Unlock it right after having
5894 finished _hurd_dtable allocation.
5895
10589b4a
TS
58962012-05-10 Thomas Schwinge <thomas@schwinge.name>
5897
674cdbc7
TS
5898 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5899 * sysdeps/mach/hurd/configure: Regenerated.
5900 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5901 special-casing to...
5902 * sysdeps/gnu/configure.in: ... this new file.
5903 * sysdeps/unix/sysv/linux/configure: Regenerated.
5904 * sysdeps/gnu/configure: New generated file.
5905
8e41b99f
TS
5906 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5907 for Linux: use nsec instead of usec, as well as:
5908 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5909 members of type struct timespec.
5910 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5911 New macros.
5912 (struct stat64): Likewise.
5913 (_STATBUF_ST_NSEC): New macro.
5914 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5915
10589b4a
TS
5916 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5917 __strtoul_internal rather than strtoul.
5918
63643c85
PT
59192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5920
5921 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5922 and reject them.
5923
3faebe6a
ST
59242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5925
5926 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5927 which preserves existing values.
5928 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5929
c6474b07
PT
59302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5931
5932 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5933 TIMEOUT values. Return EINVAL for NFDS values either negative or
5934 greater than FD_SETSIZE.
5935
1043890b
ST
59362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5937
5938 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5939 allocated, call __vm_protect to finish enabling the existing space, and
5940 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5941 allocate the remainder.
5942
37ed8b9b
PT
59432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5944
5945 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5946 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5947
db653660
ST
59482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5949
37ed8b9b
PT
5950 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5951 sysdeps/mach/hurd/readlink.c.
b29d4053 5952
db653660
ST
5953 * posix/tst-sysconf.c (posix_options): Only use
5954 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5955 _POSIX_SYNCHRONIZED_IO when they are defined
5956 * sysdeps/mach/hurd/bits/posix_opt.h:
5957 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5958 (_XOPEN_REALTIME): Undefine macro.
5959 (_XOPEN_REALTIME_THREADS): Undefine macro.
5960 (_XOPEN_SHM): Undefine macro.
5961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5962 macro to -1.
5963 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5964 macro to -1.
5965 (_POSIX_ASYNC_IO): Undefine macro.
5966 (_POSIX_PRIORITIZED_IO): Undefine macro.
5967 (_POSIX_SPIN_LOCKS): Define macro to -1.
5968
ee16e894
ST
5969 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5970 SA_NODEFER, SA_RESETHAND.
5971 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5972 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5973 F_DUPFD_CLOEXEC.
5974
6103ae3b
TS
59752012-05-10 Thomas Schwinge <thomas@schwinge.name>
5976
5977 * elf/Makefile (pldd-modules): Define unconditionally.
5978
80b4e5f3
TS
59792012-05-10 Thomas Schwinge <thomas@schwinge.name>
5980
5981 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5982
edadcbd6
ST
59832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5984
5985 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5986 Return ENOENT when name is empty.
5987 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5988
80694780
TS
59892012-05-10 Thomas Schwinge <thomas@schwinge.name>
5990
1792c087
TS
5991 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5992
80694780
TS
5993 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5994
6b645f0d
ST
59952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5996
80694780
TS
5997 Fix mlock in all cases except non-readable pages.
5998 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5999 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6000
6b645f0d
ST
6001 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6002 (__mkdir): When path is `/', just fail with EEXIST.
6003 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6004
e468f8a3
TS
60052012-05-10 Thomas Schwinge <thomas@schwinge.name>
6006
6007 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6008 <sys/uio.h> (for writev).
6009 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6010 and <sys/param.h> (for MIN).
6011
a4186cff
PT
60122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6013
6014 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6015 REQUESTED_TIME. Properly set the remaining time and return EINTR
6016 if interrupted.
6017
510bbf14
TS
60182012-05-10 Thomas Schwinge <thomas@schwinge.name>
6019
6020 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6021 Depend on against $(link-rpcuserlibs).
6022
5d5722e8
ST
60232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6024
a4186cff
PT
6025 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6026 (__libc_stack_end): Do not use attribute_relro.
6027 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6028 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6029 to libthread-provided value.
a4186cff
PT
6030 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6031 attribute_relro.
5d5722e8 6032
37233df9
TS
60332012-05-10 Thomas Schwinge <thomas@schwinge.name>
6034
be971a2b
TS
6035 [BZ #3748]
6036 * bits/libc-lock.h (__libc_once_get): New macro.
6037 * sysdeps/mach/bits/libc-lock.h: Likewise.
6038 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6040 instead of using implementation details.
6041
37233df9
TS
6042 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6043 * libio/freopen.c: Likewise.
6044 * libio/freopen64.c: Likewise.
6045 * misc/syslog.c: Likewise.
6046 * nscd/connections.c: Likewise.
6047 * nscd/netgroupcache.c: Likewise.
6048 * sysdeps/posix/getcwd.c: Likewise.
6049
38de94a5
RM
60502012-05-10 Roland McGrath <roland@hack.frob.com>
6051
6052 * math/w_ilogbf.c: Add #include <limits.h>.
6053
67530489
ST
60542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6055
a4186cff 6056 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6057 path instead of returning without unlocking.
6058
67530489
ST
6059 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6060 immediate-write ioctls.
6061 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6062
5aa3a74a
TS
60632012-05-10 Thomas Schwinge <thomas@schwinge.name>
6064
18bad2ae
TS
6065 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6066 __builtin_frame_address instead of making assumptions about the
6067 location of the return address relative to DATA. Force early load of
6068 the return address.
6069 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6070 __builtin_frame_address.
6071
5aa3a74a
TS
6072 dup3 for GNU Hurd.
6073 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6074 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6075 implement dup3 and do some further code clean-ups.
6076 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6077 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6078
ecd0de9a
ST
60792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6080
cd9fa985
ST
6081 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6082
a4186cff
PT
6083 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6084 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6085 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6086 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6087 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6088 d->port.lock.
802ca5a5 6089
a4186cff
PT
6090 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6091 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6092 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6093
bcf55240
TS
60942012-05-10 Thomas Schwinge <thomas@schwinge.name>
6095
6960eb42
TS
6096 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6097 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6098 definitions.
6099
eb43375f
TS
6100 accept4 for GNU Hurd.
6101 * include/sys/socket.h (__libc_accept4): New prototype.
6102 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6103 to implement __libc_accept4.
6104 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6105 __libc_accept4.
6106 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6107
bcf55240
TS
6108 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6109 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6110 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6111 signal-defines.sym.
6112
6178c55b
ST
61132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6114
a4186cff 6115 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6116
6f080c2f
TS
61172012-05-10 Thomas Schwinge <thomas@schwinge.name>
6118
6119 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6120 assertion on O_CLOEXEC flag.
6121 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6122 * hurd/intern-fd.c: Likewise.
6123 * hurd/port2fd.c: Likewise.
6124
bcfe3a54
ST
61252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6126
6127 [BZ #3906]
6128 * bits/in.h (IPV6_PKTINFO): Define new macro.
6129 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6130
89c9aa49
AZ
61312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132
6133 [BZ #13954]
6134 [BZ #13955]
6135 [BZ #13956]
6136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6138 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6141 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6142 * math/libm-test.inc (logb_test) : Additional logb tests.
6143
021db4be
AJ
61442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6145 Andreas Jaeger <aj@suse.de>
6146
6147 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6148 * configure: Regenerated.
6149 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6150 * config.make.in (link-obsolete-rpc): New substituted variable.
6151 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6152 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6153 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6154 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6155 so that libc.a contains the symbols.
6156 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6157 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6158 * sunrpc/auth_none.c: Likewise.
6159 * sunrpc/auth_unix.c: Likewise.
6160 * sunrpc/authdes_prot.c: Likewise.
6161 * sunrpc/authuxprot.c: Likewise.
6162 * sunrpc/clnt_gen.c: Likewise.
6163 * sunrpc/clnt_perr.c: Likewise.
6164 * sunrpc/clnt_raw.c: Likewise.
6165 * sunrpc/clnt_simp.c: Likewise.
6166 * sunrpc/clnt_tcp.c: Likewise.
6167 * sunrpc/clnt_udp.c: Likewise.
6168 * sunrpc/clnt_unix.c: Likewise.
6169 * sunrpc/des_crypt.c: Likewise.
6170 * sunrpc/des_soft.c: Likewise.
6171 * sunrpc/get_myaddr.c: Likewise.
6172 * sunrpc/key_call.c: Likewise.
6173 * sunrpc/key_prot.c: Likewise.
6174 * sunrpc/netname.c: Likewise.
6175 * sunrpc/pm_getmaps.c: Likewise.
6176 * sunrpc/pm_getport.c: Likewise.
6177 * sunrpc/pmap_clnt.c: Likewise.
6178 * sunrpc/pmap_prot.c: Likewise.
6179 * sunrpc/pmap_prot2.c: Likewise.
6180 * sunrpc/pmap_rmt.c: Likewise.
6181 * sunrpc/publickey.c: Likewise.
6182 * sunrpc/rpc_cmsg.c: Likewise.
6183 * sunrpc/rpc_common.c: Likewise.
6184 * sunrpc/rpc_dtable.c: Likewise.
6185 * sunrpc/rpc_prot.c: Likewise.
6186 * sunrpc/rpc_thread.c: Likewise.
6187 * sunrpc/rtime.c: Likewise.
6188 * sunrpc/svc.c: Likewise.
6189 * sunrpc/svc_auth.c: Likewise.
6190 * sunrpc/svc_raw.c: Likewise.
6191 * sunrpc/svc_run.c: Likewise.
6192 * sunrpc/svc_tcp.c: Likewise.
6193 * sunrpc/svc_udp.c: Likewise.
6194 * sunrpc/svc_unix.c: Likewise.
6195 * sunrpc/svcauth_des.c: Likewise.
6196 * sunrpc/xcrypt.c: Likewise.
6197 * sunrpc/xdr.c: Likewise.
6198 * sunrpc/xdr_array.c: Likewise.
6199 * sunrpc/xdr_float.c: Likewise.
6200 * sunrpc/xdr_intXX_t.c: Likewise.
6201 * sunrpc/xdr_mem.c: Likewise.
6202 * sunrpc/xdr_rec.c: Likewise.
6203 * sunrpc/xdr_ref.c: Likewise.
6204 * sunrpc/xdr_sizeof.c: Likewise.
6205 * sunrpc/xdr_stdio.c: Likewise.
6206
b5c086a2
RM
62072012-05-10 Roland McGrath <roland@hack.frob.com>
6208
6209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6210 change. Update copyright years.
6211
6d74dd09
JM
62122012-05-10 Joseph Myers <joseph@codesourcery.com>
6213
6214 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6215
28e72501
MK
62162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6217 Joseph Myers <joseph@codesourcery.com>
6218 Paul Pluzhnikov <ppluzhnikov@google.com>
6219
6220 [BZ #14012]
6221 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6222 requiring rpcgen.
6223 [cross-compiling] (extra-libs): Likewise.
6224 [cross-compiling] (extra-libs-others): Likewise.
6225 [cross-compiling] (librpcsvc-routines): Likewise.
6226 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6227 [cross-compiling] (omit-deps): Likewise.
6228 (sunrpc-CPPFLAGS): New variable.
6229 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6230 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6231 (cross-rpcgen-objs): New variable.
6232 (extra-objs): Append $(cross-rpcgen-objs).
6233 ($(cross-rpcgen-objs)): New rule.
6234 ($(objpfx)cross-rpcgen): Likewise.
6235 (rpcgen-cmd): Define to use $(built-program-file). Expand
6236 comment.
6237 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6238 ($(objpfx)x%.stmp): Likewise.
6239 * sunrpc/proto.h [IS_IN_build] (_): Define.
6240 [IS_IN_build] (_libc_intl_domainname): Likewise.
6241
c8c59454
L
62422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6245 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6246 and R_X86_64_TPOFF64.
6247
6f27cd16
JM
62482012-05-10 Joseph Myers <joseph@codesourcery.com>
6249
6250 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6251 sysdeps/unix/sysv/syscalls.list.
6252 (stime): Likewise.
6253 (utime): Likewise.
6254 * sysdeps/unix/sysv/syscalls.list: Remove file.
6255
02467e1c
PE
62562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6257
6258 [BZ #3440]
6259 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6260 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6261 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6262 (__LC_IDENTIFICATION): Make these macros useful in #if
6263 expressions, as required by C99.
6264
da392631
AS
62652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6266
6267 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6268 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6269 after this.
6270
8115f29b
L
62712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * stdlib/longlong.h: Updated from GCC.
6274
bdd74070
AJ
62752012-05-09 Andreas Jaeger <aj@suse.de>
6276
edfe0dbe
AJ
6277 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6278 default is first entry.
6279 (run_mode): Set type.
6280 (main): Remove informal message about syslog.
6281 (options): Fix typo.
6282
bcfe3a54
ST
6283 [BZ #14053]
6284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6285 to asm.
bcfe3a54
ST
6286 (lrint): Likewise.
6287 (llrintf): Likewise.
6288 (llrint): Likewise.
6289 (rint): Likewise.
6290 (rintf): Likewise.
6291 (nearbyint): Likewise.
6292 (nearbyintf): Likewise.
bdd74070 6293
91d8d69e
AJ
62942012-05-09 Andreas Jaeger <aj@suse.de>
6295 Pedro Alves <palves@redhat.com>
6296
6297 * nscd/nscd.c (run_mode): Use enum.
6298 (main): Cleanup coding style issue.
6299
bb90b80b
AJ
63002012-05-09 Alexandre Oliva <aoliva@redhat.com>
6301 Andreas Jaeger <aj@suse.de>
6302
bcfe3a54
ST
6303 * nscd/nscd.c (go_background): Replaced with...
6304 (run_mode): ... this.
bb90b80b 6305 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6306 (options): Add -F --foreground.
6307 (main): Implement it.
6308 (parse_opt): Parse it.
bb90b80b 6309
1a4b75a1
AJ
63102012-05-09 Andreas Jaeger <aj@suse.de>
6311
6312 [BZ #14083]
6313 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6314 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6315 -Wconversion warning.
6316 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6317 Likewise.
6318
b1cc2472
JM
63192012-05-09 Joseph Myers <joseph@codesourcery.com>
6320
6321 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6322 == 0.
6323 (LC_ALL): Use macro-int-constant.
6324 (LC_COLLATE): Likewise.
6325 (LC_CTYPE): Likewise.
6326 (LC_MESSAGES): Likewise.
6327 (LC_MONETARY): Likewise.
6328 (LC_NUMERIC): Likewise.
6329 (LC_TIME): Likewise.
6330 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6331 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6333 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6334 Specify type.
6335 [C99-based standards] (float_t): Expect type.
6336 [C99-based standards] (double_t): Expect type.
6337 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6338 type.
6339 [C99-based standards] (HUGE_VALL): Likewise.
6340 [C99-based standards] (INFINITY): Likewise.
6341 [C99-based standards] (NAN): Likewise.
6342 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6343 [C99-based standards] (FP_NAN): Likewise.
6344 [C99-based standards] (FP_NORMAL): Likewise.
6345 [C99-based standards] (FP_SUBNORMAL): Likewise.
6346 [C99-based standards] (FP_ZERO): Likewise.
6347 [C99-based standards] (FP_FAST_FMA): Use
6348 optional-macro-int-constant. Specify type. Require == 1.
6349 [C99-based standards] (FP_FAST_FMAF): Likewise.
6350 [C99-based standards] (FP_FAST_FMAL): Likewise.
6351 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6352 [C99-based standards] (FP_ILOGBNAN): Likewise.
6353 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6354 Specify type.
6355 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6356 [C99-based standards] (math_errhandling): Specify type.
6357 [ISO99 || ISO11] (signgam): Do not allow.
6358 [non-C99-based standards] (copysignf): Do not allow.
6359 [non-C99-based standards] (exp2f): Likewise.
6360 [non-C99-based standards] (log2f): Likewise.
6361 [non-C99-based standards] (modff): Allow.
6362 [non-C99-based standards] (erff): Do not allow.
6363 [non-C99-based standards] (erfcf): Likewise.
6364 [non-C99-based standards] (gammaf): Likewise.
6365 [non-C99-based standards] (hypotf): Likewise.
6366 [non-C99-based standards] (j0f): Likewise.
6367 [non-C99-based standards] (j1f): Likewise.
6368 [non-C99-based standards] (jnf): Likewise.
6369 [non-C99-based standards] (lgammaf): Likewise.
6370 [non-C99-based standards] (tgammaf): Likewise.
6371 [non-C99-based standards] (y0f): Likewise.
6372 [non-C99-based standards] (y1f): Likewise.
6373 [non-C99-based standards] (ynf): Likewise.
6374 [non-C99-based standards] (isnanf): Likewise.
6375 [non-C99-based standards] (acoshf): Likewise.
6376 [non-C99-based standards] (asinhf): Likewise.
6377 [non-C99-based standards] (atanhf): Likewise.
6378 [non-C99-based standards] (cbrtf): Likewise.
6379 [non-C99-based standards] (expm1f): Likewise.
6380 [non-C99-based standards] (ilogbf): Likewise.
6381 [non-C99-based standards] (log1pf): Likewise.
6382 [non-C99-based standards] (logbf): Likewise.
6383 [non-C99-based standards] (nextafterf): Likewise.
6384 [non-C99-based standards] (remainderf): Likewise.
6385 [non-C99-based standards] (rintf): Likewise.
6386 [non-C99-based standards] (scalbf): Likewise.
6387 [non-C99-based standards] (copysignl): Likewise.
6388 [non-C99-based standards] (exp2l): Likewise.
6389 [non-C99-based standards] (log2l): Likewise.
6390 [non-C99-based standards] (modfl): Allow.
6391 [non-C99-based standards] (erfl): Do not allow.
6392 [non-C99-based standards] (erfcl): Likewise.
6393 [non-C99-based standards] (gammal): Likewise.
6394 [non-C99-based standards] (hypotl): Likewise.
6395 [non-C99-based standards] (j0l): Likewise.
6396 [non-C99-based standards] (j1l): Likewise.
6397 [non-C99-based standards] (jnl): Likewise.
6398 [non-C99-based standards] (lgammal): Likewise.
6399 [non-C99-based standards] (tgammal): Likewise.
6400 [non-C99-based standards] (y0l): Likewise.
6401 [non-C99-based standards] (y1l): Likewise.
6402 [non-C99-based standards] (ynl): Likewise.
6403 [non-C99-based standards] (isnanl): Likewise.
6404 [non-C99-based standards] (acoshl): Likewise.
6405 [non-C99-based standards] (asinhl): Likewise.
6406 [non-C99-based standards] (atanhl): Likewise.
6407 [non-C99-based standards] (cbrtl): Likewise.
6408 [non-C99-based standards] (expm1l): Likewise.
6409 [non-C99-based standards] (ilogbl): Likewise.
6410 [non-C99-based standards] (log1pl): Likewise.
6411 [non-C99-based standards] (logbl): Likewise.
6412 [non-C99-based standards] (nextafterl): Likewise.
6413 [non-C99-based standards] (remainderl): Likewise.
6414 [non-C99-based standards] (rintl): Likewise.
6415 [non-C99-based standards] (scalbl): Likewise.
6416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6417 [non-C99-based standards] (FP_*): Do not allow.
6418 [C99-based standards] (FP_*): Change to
6419 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6420 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6421 allow.
6422 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6423 (SIG_ERR): Likewise.
6424 [X/Open-based standards] (SIG_HOLD): Likewise.
6425 (SIG_IGN): Likewise.
6426 (SIGABRT): Use macro-int-constant. Specify type. Require
6427 positive value.
6428 (SIGFPE): Likewise.
6429 (SIGILL): Likewise.
6430 (SIGINT): Likewise.
6431 (SIGSEGV): Likewise.
6432 (SIGTER): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6451 [X/Open-based standards] (SIGTRAP): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6456 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6457 allow.
6458
b9f1922d
IW
64592012-05-08 Ian Wienand <ianw@vmware.com>
6460
6461 [BZ #14080]
6462 * time/tzset.c (__tzset_parse_tz): Update default rules for
6463 daylight time changes in the Energy Policy Act of 2005.
6464
1db86e88
AJ
64652012-05-09 Andreas Jaeger <aj@suse.de>
6466
6467 [BZ #13983]
6468 * elf/ldconfig.c (parse_conf): Change string to make clear that
6469 ldconfig only issued a warning if ld.so.conf does not exist.
6470
dee4a4e3
DM
64712012-05-08 David S. Miller <davem@davemloft.net>
6472
ee0db190
DM
6473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6474 movxtod instead of popping the value on the stack.
6475
dee4a4e3
DM
6476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6477
6a43ec98
CD
64782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6479
6480 * config.h.in: Add HAVE_ARM_PCS_VFP.
6481
05c2c961
RMG
64822012-05-08 Roland Mc Grath <roland@hack.frob.com>
6483
bcfe3a54
ST
6484 [BZ #13979]
6485 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6486 checking but the checks are disabled for any reason.
05c2c961 6487
4b30f61a
L
64882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6491 and ELF64_R_TYPE with ELFW(R_TYPE).
6492
eee2bc67
JM
64932012-05-08 Joseph Myers <joseph@codesourcery.com>
6494
7ea5391a
JM
6495 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6496 (ulimit): Likewise.
6497
eee2bc67
JM
6498 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6499 (settimeofday): Likewise.
6500
abb66a67
MF
65012012-05-08 Mike Frysinger <vapier@gentoo.org>
6502
6503 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6504 a struct th_u2 inside the union, and move tu_block/tu_code into
6505 a new th_u3 union of tu_block/tu_code inside of that. Move
6506 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6507 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6508 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6509 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6510 (th_stuff): Change to th_u1.tu_stuff.
6511 (th_data): Define.
6512 (th_msg): Change to th_u1.th_u2.tu_data.
6513
7f18b530
DM
65142012-05-07 David S. Miller <davem@davemloft.net>
6515
05760585
DM
6516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6517
7f18b530
DM
6518 [BZ #14074]
6519 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6520 (SETUP_PIC_REG): Use it.
6521 (SETUP_PIC_REG_LEAF): Use it.
6522
495fd99f
JM
65232012-05-07 Joseph Myers <joseph@codesourcery.com>
6524
6525 [BZ #13885]
6526 [BZ #13923]
6527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6528 USE_AS_EXPM1L.
6529 (EXPL_FINITE): Likewise.
6530 (FLDLOG): Likewise.
6531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6532 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6533 e_expl.S.
6534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6535 USE_AS_EXPM1L.
6536 (EXPL_FINITE): Likewise.
6537 (FLDLOG): Likewise.
6538 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6539 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6540 e_expl.S.
6541 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6542 test of -max_value argument for long double.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545
6693d694
DM
65462012-05-06 David S. Miller <davem@davemloft.net>
6547
6548 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6549 quad soft-float symbols whose references which are compiler
6550 generated.
6551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6552
6c23e11c
JM
65532012-05-06 Joseph Myers <joseph@codesourcery.com>
6554
d8b82cad
JM
6555 [BZ #13884]
6556 [BZ #13914]
6557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6558 USE_AS_EXP10L.
6559 (EXPL_FINITE): Likewise.
6560 (FLDLOG): Likewise.
6561 (c0): Likewise.
6562 (c1): Likewise.
6563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6564 Adjust comments for base varying.
6565 (__expl_finite): Change alias to EXPL_FINITE.
6566 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6567 e_expl.S.
6568 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6569 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6571 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6572 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6573 USE_AS_EXP10L.
6574 (EXPL_FINITE): Likewise.
6575 (FLDLOG): Likewise.
6576 (c0): Likewise.
6577 (c1): Likewise.
6578 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6579 Adjust comments for base varying.
6580 (__expl_finite): Change alias to EXPL_FINITE.
6581 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6582 tests for bugs.
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6584
6c23e11c
JM
6585 [BZ #14064]
6586 * math/libm-test.inc (check_float_internal): Correct ulp
6587 calculation for subnormal expected results.
6588
29ba805c
AJ
65892012-05-06 Andreas Jaeger <aj@suse.de>
6590
6591 * Makeconfig (+math-flags): New, set to -frounding-math.
6592 (+cflags): Add +math-flags so that all of glibc gets compiled with
6593 it.
6594
6595 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6596
7b17aeda
JM
65972012-05-05 Joseph Myers <joseph@codesourcery.com>
6598
5779f134
JM
6599 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6600 Disable one test.
6601
41498f4d
JM
6602 [BZ #13787]
6603 [BZ #13922]
6604 [BZ #14036]
6605 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6606 (__ieee754_expl): Allow for and saturate large arguments.
6607 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6608 (u_threshold): Likewise.
6609 (__exp): Call __ieee754_exp before checking for overflow and
6610 underflow.
6611 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6612 (u_threshold): Likewise.
6613 (__expf): Call __ieee754_expf before checking for overflow and
6614 underflow.
6615 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6616 (u_threshold): Likewise.
6617 (__expl): Call __ieee754_expl before checking for overflow and
6618 underflow.
6619 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6620 (__ieee754_expl): Allow for and saturate large arguments.
6621 * math/libm-test.inc (exp_test): Add another test. Do not allow
6622 missing overflow exception on overflow.
6623 (expm1_test): Do not allow missing overflow exception on overflow.
6624
6698b8bf
JM
6625 * sysdeps/i386/fpu/e_expl.c: Move to ...
6626 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6627 rather than using inline asm.
6628 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6629 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6630 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6631
7b17aeda
JM
6632 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6633 (nice): Likewise.
6634 (poll): Likewise.
6635 (signal): Likewise.
6636 (time): Likewise.
6637 (times): Likewise.
6638
f7c85819
JM
66392012-05-04 Joseph Myers <joseph@codesourcery.com>
6640
6641 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6642 sysdeps/unix/common/syscalls.list.
6643 (fchmod): Likewise.
6644 (fchown): Likewise.
6645 (ftruncate): Likewise.
6646 (getrusage): Likewise.
6647 (gettimeofday): Likewise.
6648 (setpgid): Likewise.
6649 (setregid): Likewise.
6650 (setreuid): Likewise.
6651 (sigaction): Likewise.
6652 (truncate): Likewise.
6653 (vhangup): Likewise.
6654 * sysdeps/unix/common/syscalls.list: Remove file.
6655 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6656 * sysdeps/unix/sysv/linux/Implies: Likewise.
6657
336270d0
L
66582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6662 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6663 Moved to ...
6664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6665 Here.
6666 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6667 to ...
6668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6669 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6670 to ...
6671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6673 to ...
6674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6676 to ...
6677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6679 to ...
6680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6681 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6682 to ...
6683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6685 to ...
6686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6687 Here.
6688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6689 to ...
6690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6691 Here.
6692 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6693 to ...
6694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6695 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6696 Moved to ...
6697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6698 Here.
6699 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6700 to ...
6701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6702
d128e450
JM
67032012-05-04 Joseph Myers <joseph@codesourcery.com>
6704
fa8ee516
JM
6705 * sysdeps/unix/common/bits/dirent.h: Remove file.
6706 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6707
d128e450
JM
6708 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6709 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6710 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6711 * sysdeps/unix/bsd/isatty.c: Likewise.
6712 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6713 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6714 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6715
ff8faaf0 67162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6717
62881be4 6718 [BZ #13563]
31dc8730
AZ
6719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6720 long double comparison inaccuracies.
6721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6723
6fef930c
AS
67242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6725
6726 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6728
8f203e6c
JM
67292012-05-04 Joseph Myers <joseph@codesourcery.com>
6730
6731 [BZ #14049]
6732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6733 nonzero digits before rounding a hex value.
6734 * stdlib/tst-strtod.c (tests): Add another test.
6735
5197d9c2
AK
67362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6737
6738 * sysdeps/s390/fpu/libm-test-ulps: Update.
6739
f0c1dedf
AJ
67402012-05-03 Andreas Jaeger <aj@suse.de>
6741
6742 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6743 does not get optimized out.
6744 (malloc_opt_barrier): New.
6745
a65ef2ae 67462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6747 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6748
2b942cb7 6749 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6750 intermediate file deletion.
2b942cb7 6751 (generated): Add .symlist files.
a65ef2ae 6752
54b71e02
JM
67532012-05-03 Joseph Myers <joseph@codesourcery.com>
6754
6755 [BZ #13775]
6756 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6757 Redirect under this condition.
6758 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6759 [__USE_GNU] (__dprintf_chk): Not under this condition.
6760 [__USE_GNU] (__vdprintf_chk): Likewise.
6761 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6762 under this condition.
6763 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6764 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6765 [__USE_XOPEN2K8] (vdprintf): Likewise.
6766 [__USE_GNU] (__dprintf_chk): Not under this condition.
6767 [__USE_GNU] (__vdprintf_chk): Likewise.
6768 [__USE_GNU] (dprintf): Likewise.
6769 [__USE_GNU] (vdprintf): Likewise.
6770
d3dfcc41
RM
67712012-05-03 Roland McGrath <roland@hack.frob.com>
6772
6773 * elf/Makefile (common-generated): Set this instead of generated for
6774 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6775 $(all-built-dso)-derived lists.
6776
7ac30cc5
AJ
67772012-05-03 Andreas Jaeger <aj@suse.de>
6778
0c51e550
AJ
6779 * sysdeps/i386/fpu/libm-test-ulps: Update.
6780
7ac30cc5
AJ
6781 * FAQ: Removed.
6782 * FAQ.in: Likewise.
6783 * scripts/gen-FAQ.pl: Likewise.
6784 * manual/install.texi (Installation): Point to online location of
6785 FAQ.
6786 * Makefile (files-for-dist): Remove FAQ.
6787 (FAQ): Remove.
6788
d4c2917f
AM
67892012-05-02 Allan McRae <allan@archlinux.org>
6790
6791 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6792 (LDFLAGS-reldepmod5.so): Likewise.
6793 (LDFLAGS-reldep6mod1.so): Likewise.
6794 (LDFLAGS-reldep6mod4.so): Likewise.
6795 (LDFLAGS-reldep8mod3.so): Likewise.
6796 (LDFLAGS-unload4mod1.so): Likewise.
6797 (LDFLAGS-unload4mod2.so): Likewise.
6798 (LDFLAGS-tst-initorder): Likewise.
6799 (LDFLAGS-tst-initordera2.so): Likewise.
6800 (LDFLAGS-tst-initordera3.so): Likewise.
6801 (LDFLAGS-tst-initordera4.so): Likewise.
6802 (LDFLAGS-tst-initorderb2.so): Likewise.
6803 (LDFLAGS-noload): Likewise.
6804 (LDFLAGS-next): Likewise.
6805 (LDFLAGS-order2mod1.so): Likewise.
6806 (LDFLAGS-order2mod2.so): Likewise.
6807 (LDFLAGS-tst-initorder2): Likewise.
6808 (LDFLAGS-tst-initorder2a.so): Likewise.
6809 (LDFLAGS-tst-initorder2b.so): Likewise.
6810 (LDFLAGS-tst-initorder2c.so): Likewise.
6811 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6812
d77f993f
DM
68132012-05-02 David S. Miller <davem@davemloft.net>
6814
6815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6816
171a70b4
PP
68172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6818
6819 [BZ #14055]
6820 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6821
0be196ad
AJ
68222012-05-02 Andreas Jaeger <aj@suse.de>
6823
6824 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6825 since we manipulate rounding mode.
6826 (CPPFLAGS-test-idouble.c): Likewise.
6827 (CPPFLAGS-test-ifloat.c): Likewise.
6828 (CFLAGS-test-ldouble.c): Likewise.
6829 (CFLAGS-test-double.c): Likewise.
6830 (CFLAGS-test-float.c): Likewise.
6831 (CFLAGS-test-misc.c): Likewise.
6832 (CFLAGS-test-test-fenv.c): Likewise.
6833
4f9d04aa
AZ
68342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
2b942cb7
RM
6836 [BZ #2550]
6837 [BZ #2570]
6838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6839 comparisons to determine direction to adjust input.
4f9d04aa 6840
82a79e7d
RM
68412012-05-01 Roland McGrath <roland@hack.frob.com>
6842
f5a01ca9
RM
6843 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6844 output to the target.
6845
90fe4186
RM
6846 * scripts/localplt.awk: New file.
6847 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6848 (check-localplt-CFLAGS): Variable removed.
6849 ($(all-built-dso:=.jmprel)): New static pattern rule.
6850 (generated): Add those targets.
6851 (localplt-built-dso): New variable.
6852 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6853
6854 * elf/check-localplt.c: File removed.
6855
82397ed6
RM
6856 * scripts/check-execstack.awk: New file.
6857 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6858 (check-execstack-CFLAGS): Variable removed.
6859 ($(objpfx)check-execstack.h): Target removed.
6860 ($(objpfx)execstack-default): New target.
6861 (generated): Add that instead of check-execstack.h.
6862 ($(all-built-dso:=.phdr)): New static pattern rule.
6863 (generated): Add those targets.
6864 * elf/check-execstack.c: File removed.
6865
82a79e7d
RM
6866 * scripts/check-textrel.awk: New file.
6867 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6868 (check-textrel-CFLAGS): Variable removed.
6869 (all-built-dso): Use := to define.o
6870 ($(all-built-dso:=.dyn)): New static pattern rule.
6871 (generated): Add those targets.
6872 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6873 * config.make.in (READELF): New substituted variable.
6874 * elf/check-textrel.c: File removed.
6875
62fde54f 68762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6877
615605c9
JM
6878 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6879 allow.
6880 * conform/data/ctype.h-data [C99-based standards] (isblank):
6881 Expect function.
6882 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6883 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6885 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6886 Specify type. Require positive value.
6887 (EILSEQ): Likewise.
6888 (ERANGE): Likewise.
6889 [ISO || POSIX] (EILSEQ): Do not expect.
6890 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6891 Specify type. Require positive value.
6892 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6893 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6894 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6895 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6896 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6897 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6898 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6899 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6900 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6901 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6902 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6903 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6904 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6905 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6906 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6907 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6908 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6909 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6910 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6911 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6912 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6913 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6966 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6967 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6968 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6969 Require >= 2.
6970 (FLT_ROUNDS): Expect as macro, not constant.
6971 (FLT_MANT_DIG): Use macro-int-constant.
6972 (DBL_MANT_DIG): Likewise.
6973 (LDBL_MANT_DIG): Likewise.
6974 (FLT_DIG): Likewise.
6975 (DBL_DIG): Likewise.
6976 (LDBL_DIG): Likewise.
6977 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6978 (DBL_MIN_EXP): Likewise.
6979 (LDBL_MIN_EXP): Likewise.
6980 (FLT_MAX_EXP): Use macro-int-constant.
6981 (DBL_MAX_EXP): Likewise.
6982 (LDBL_MAX_EXP): Likewise.
6983 (FLT_MAX_10_EXP): Likewise.
6984 (DBL_MAX_10_EXP): Likewise.
6985 (LDBL_MAX_10_EXP): Likewise.
6986 (FLT_MAX): Use macro-constant.
6987 (DBL_MAX): Likewise.
6988 (LDBL_MAX): Likewise.
6989 (FLT_EPSILON): Use macro-constant. Give upper bound.
6990 (DBL_EPSILON): Likewise.
6991 (LDBL_EPSILON): Likewise.
6992 (FLT_MIN): Likewise.
6993 (DBL_MIN): Likewise.
6994 (LDBL_MIN): Likewise.
6995 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6996 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6997 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6998 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6999 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7000 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7001 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7002 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7003 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7004 [ISO11] (FLT_TRUE_MIN): Likewise.
7005 [ISO11] (LDBL_TRUE_MIN): Likewise.
7006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7007 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7008 (SCHAR_MIN): Use macro-int-constant. Specify type.
7009 (SCHAR_MAX): Likewise.
7010 (UCHAR_MAX): Likewise.
7011 (CHAR_MIN): Likewise.
7012 (CHAR_MAX): Likewise.
7013 (MB_LEN_MAX): Use macro-int-constant.
7014 (SHRT_MIN): Use macro-int-constant. Specify type.
7015 (SHRT_MAX): Likewise.
7016 (USHRT_MAX): Likewise.
7017 (INT_MAX): Likewise.
7018 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7019 bound negative.
7020 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7021 bound with "U".
7022 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7023 bound with "L".
7024 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7025 bound negative. Suffix upper bound with "L".
7026 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7027 bound with "UL".
7028 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7029 Specify type.
7030 [C99-based standards] (LLONG_MAX): Likewise.
7031 [C99-based standards] (ULLONG_MAX): Likewise.
7032 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7033 == 0.
7034 [ISO11] (max_align_t): Require type.
7035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7036
c9140a62
JM
7037 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7038 from $CFLAGS, without defining away __attribute__ calls.
7039 (checknamespace): Use $CFLAGS_namespace.
7040
9af0bf29
JM
7041 * conform/conformtest.pl (@keywords): Only include C99 keywords
7042 for standards based on C99 or C11.
7043
343222a2
JM
7044 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7045 Disable tests.
7046 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7047 UNIX98]: Likewise.
7048
661f8cf0
JM
7049 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7050 usability of symbols in #if.
7051
ee74b9cb
JM
7052 * conform/conformtest.pl: If macro or constant types start
7053 "promoted:", expect the symbol to be of the following type
7054 promoted by the integer promotions.
62fde54f 7055
aafc49b3
JM
7056 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7057 in one place. Also handle "macro-constant".
7058
fefdf574
JM
7059 * conform/conformtest.pl: Only accept expected macro values with
7060 "==". Parse all "macro" lines in one place.
7061 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7062
f2d922fe
JM
7063 * conform/conformtest.pl: Handle braced types on "constant" lines
7064 instead of handling "typed-constant".
7065 * conform/data/signal.h-data: Use "constant" instead of
7066 "typed-constant".
7067
d22956c9
JM
7068 * conform/conformtest.pl: Handle "optional-" at start of lines in
7069 one place rather than duplicating several cases. Handle each
7070 format of "macro" line with initial "optional-".
7071
028e2e38
JM
7072 * conform/conformtest.pl: Only accept expected constant or
7073 optional-constant values with "==". Parse all "constant" lines in
7074 one place. Parse all "optional-constant" lines in one place.
7075 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7076 * conform/data/fmtmsg.h-data: Likewise.
7077 * conform/data/netinet/in.h-data: Likewise.
7078 * conform/data/tar.h-data: Likewise.
7079 * conform/data/limits.h-data: Use "==" form on "constant" and
7080 "optional-constant" lines.
7081
1b8f2850
JM
7082 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7083 Use -std=c99 for XOPEN2K.
7084 (@knownproblems): Remove.
7085 (newtoken): Don't check %isknown.
7086
a05a144b
JM
7087 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7088 Do not expect macro.
7089 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7090 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7091 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7092 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7093 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7094 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7095 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7096 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7097 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7098 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7099 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7100 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7101 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7102 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7103 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7104 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7105 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7106 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7107 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7119 [XPG3] (acosh): Likewise.
7120 [XPG3] (asinh): Likewise.
7121 [XPG3] (atanh): Likewise.
7122 [XPG3] (cbrt): Likewise.
7123 [XPG3] (expm1): Likewise.
7124 [XPG3] (ilogb): Likewise.
7125 [XPG3] (log1p): Likewise.
7126 [XPG3] (logb): Likewise.
7127 [XPG3] (nextafter): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7130 [XPG3] (remainder): Likewise.
7131 [XPG3] (rint): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7139 [UNIX98 || XOPEN2K] (scalb): Expect.
7140 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7141 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7143 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7144 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7148 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7162 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7277
73c5ebe3
JM
7278 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7279 _XOPEN_SOURCE_EXTENDED for XPG4.
7280
39c33b6c
JM
7281 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7282
62fde54f
JM
7283 * Makeconfig (localtime): Remove variable.
7284 (inst_localtime-file): Likewise.
7285
0741d64c
AS
72862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7287
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7289 Update.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7291 Update.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7293 Update.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7295 Update.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7297 Update.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7299 Update.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7301 Update.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7303 Update.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7305 Update.
7306
7cb029ee
JM
73072012-05-01 Joseph Myers <joseph@codesourcery.com>
7308
7309 [BZ #2550]
7310 [BZ #2570]
7311 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7312 comparisons to determine direction to adjust input.
7313 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7314 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7316 Likewise.
7317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7318 Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7320 Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7323 Likewise.
7324 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7325 Likewise.
7326 * math/libm-test.inc (nexttoward_test): Add more tests.
7327
412bd966
AS
73282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7329
7330 [BZ #14040]
7331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7332 in version GLIBC_2.1, not GLIBC_2.0.
7333 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7334 Likewise.
7335
9568c0c2
JM
73362012-04-30 Joseph Myers <joseph@codesourcery.com>
7337
adfbc8ac
JM
7338 [BZ #13942]
7339 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7340 (1 - x) * (1 + x).
7341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7342 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7343 * math/libm-test.inc (acos_test): Add more tests.
7344 (asin_test): Likewise.
7345 * sysdeps/i386/fpu/libm-test-ulps: Update.
7346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7347
5ba3cc69
JM
7348 [BZ #14034]
7349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7350 of square root.
7351 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7352 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7353 * math/libm-test.inc (acos_test_tonearest): New function.
7354 (acos_test_towardzero): Likewise.
7355 (acos_test_downward): Likewise.
7356 (acos_test_upward): Likewise.
7357 (asin_test_tonearest): Likewise.
7358 (asin_test_towardzero): Likewise.
7359 (asin_test_downward): Likewise.
7360 (asin_test_upward): Likewise.
7361 (main): Call the new functions.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7364
9568c0c2
JM
7365 [BZ #13884]
7366 [BZ #13924]
7367 * math/e_exp10.c: Include <float.h>.
7368 (__ieee754_exp10): Handle underflow here rather than multiplying
7369 large negative argument by M_LN10.
7370 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7371 of __ieee754_expf.
7372 * math/e_exp10l.c: Include <float.h>.
7373 (__ieee754_exp10l): Handle underflow here rather than multiplying
7374 large negative argument by M_LN10l.
7375 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7376 spurious overflow exception on underflow.
7377
5ac3ea17
MP
73782012-04-29 Marek Polacek <polacek@redhat.com>
7379
7380 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7381 (__fortify_function): New macro.
7382 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7383 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7384 __extern_always_inline.
7385 * libio/bits/stdio2.h: Likewise.
7386 * libio/bits/stdio.h: Likewise.
7387 * string/string.h: Likewise.
7388 * string/bits/string3.h: Likewise.
7389 * include/stdio.h: Likewise.
7390 * stdlib/bits/stdlib.h: Likewise.
7391 * stdlib/stdlib.h: Likewise.
7392 * rt/bits/mqueue2.h: Likewise.
7393 * rt/mqueue.h: Likewise.
7394 * posix/bits/unistd.h: Likewise.
7395 * posix/unistd.h: Likewise.
7396 * io/bits/poll2.h: Likewise.
7397 * io/bits/fcntl2.h: Likewise.
7398 * io/fcntl.h: Likewise.
7399 * io/sys/poll.h: Likewise.
7400 * misc/bits/syslog.h: Likewise.
7401 * misc/bits/syslog-ldbl.h: Likewise.
7402 * misc/sys/syslog.h: Likewise.
7403 * socket/bits/socket2.h: Likewise.
7404 * socket/sys/socket.h: Likewise.
7405 * debug/tst-chk1.c: Likewise.
7406 * wcsmbs/bits/wchar2.h: Likewise.
7407 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7408 * wcsmbs/wchar.h: Likewise.
7409
ecf0ebfb
AJ
74102012-04-29 Andreas Jaeger <aj@suse.de>
7411
7412 * Makerules (tests): Remove enable-check-abi protection.
7413 (check-abi-warn): Remove.
7414 (check-abi-%): Remove check-abi-warn usage.
7415
7416 * configure.in: Remove check-abi configure option.
7417 * configure: Regenerated.
7418 * config.make.in (enable-check-abi): Remove.
7419
6d5c57fa
AS
74202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7421
24c5d07e 7422 [BZ #14033]
ded5180a
AS
7423 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7424 double functions to double *_finite functions.
7425
7e0d315d
AS
7426 [BZ #13941]
7427 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7428 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7429 LDBL_MIN_EXP.
7430 * stdio-common/Makefile (tests): Add tst-sprintf3.
7431 * stdio-common/tst-sprintf3.c: New file.
7432
6d5c57fa
AS
7433 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7434 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7435
0749ff8b
JM
74362012-04-28 Joseph Myers <joseph@codesourcery.com>
7437
7438 * conform/conformtest.pl: Remove duplicate typed-constant
7439 handling.
7440
8dbd5d7b
DM
74412012-04-28 David S. Miller <davem@davemloft.net>
7442
7443 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7444 (check-abi-%): Remove AWK script prerequisite and explicit
7445 abilist directory.
7446 (check-abi): Rewrite to just diff the symlist with the abilist.
7447 (config-tls, config-abi-config): Delete, no longer used.
7448 (update-abi-%): Remove AWK script and explicit abilist directory.
7449 (update-abi): Rewrite to simply compare and conditionally copy the
7450 symlist and the sysdep abilist file. Remove update-abi-config
7451 checks.
7452 * abilist/ld.abilist: Remove.
7453 * abilist/libBrokenLocale.abilist: Remove.
7454 * abilist/libanl.abilist: Remove.
7455 * abilist/libcrypt.abilist: Remove.
7456 * abilist/libdl.abilist: Remove.
7457 * abilist/librt.abilist: Remove.
7458 * abilist/libthread_db.abilist: Remove.
7459 * abilist/libutil.abilist: Remove.
7460 * scripts/extract-abilist.awk: Remove.
7461 * scripts/merge-abilist.awk: Remove.
7462 * sysdeps/generic/libcidn.abilist: New file.
7463 * sysdeps/generic/libnss_compat.abilist: New file.
7464 * sysdeps/generic/libnss_db.abilist: New file.
7465 * sysdeps/generic/libnss_dns.abilist: New file.
7466 * sysdeps/generic/libnss_files.abilist: New file.
7467 * sysdeps/generic/libnss_hesiod.abilist: New file.
7468 * sysdeps/generic/libnss_nis.abilist: New file.
7469 * sysdeps/generic/libnss_nisplus.abilist: New file.
7470 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7471 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7472 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7473 file.
7474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7475 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7476 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7477 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7478 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7480 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7482 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7483 file.
7484 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7485 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7486 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7487 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7488 file.
7489 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7495 file.
7496 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7497 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7498 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7499 file.
7500 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7502 New file.
7503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7504 New file.
7505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7506 New file.
7507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7508 New file.
7509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7510 New file.
7511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7512 New file.
7513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7514 New file.
7515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7516 New file.
7517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7518 New file.
7519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7520 New file.
7521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7522 New file.
7523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7524 New file.
7525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7526 New file.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7528 file.
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7530 New file.
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7532 New file.
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7534 file.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7536 New file.
7537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7538 New file.
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7540 file.
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7542 New file.
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7544 New file.
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7546 New file.
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7548 New file.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7550 New file.
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7552 New file.
7553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7555 file.
7556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7557 New file.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7559 file.
7560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7561 file.
7562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7563 file.
7564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7565 file.
7566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7567 file.
7568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7569 New file.
7570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7571 file.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7573 file.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7575 New file.
7576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7577 file.
7578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7580 file.
7581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7582 New file.
7583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7584 file.
7585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7586 file.
7587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7588 file.
7589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7590 file.
7591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7592 file.
7593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7594 New file.
7595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7596 file.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7598 file.
7599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7600 New file.
7601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7602 file.
7603 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7605 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7606 file.
7607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7609 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7611 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7612 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7613 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7615 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7616 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7619 file.
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7621 New file.
7622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7623 file.
7624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7625 file.
7626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7627 file.
7628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7629 file.
7630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7631 file.
7632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7633 New file.
7634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7635 New file.
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7637 file.
7638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7639 New file.
7640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7641 file.
7642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7644 file.
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7646 New file.
7647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7648 file.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7650 file.
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7652 file.
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7654 file.
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7656 file.
7657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7658 New file.
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7660 New file.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7662 file.
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7664 New file.
7665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7666 file.
7667
41d73a1b
JM
76682012-04-28 Joseph Myers <joseph@codesourcery.com>
7669
7670 * conform/conformtest.pl: Fix typo in handling typed-constant from
7671 allow-header.
7672
28aeeda4
JM
76732012-04-27 Joseph Myers <joseph@codesourcery.com>
7674
adae8f5e
JM
7675 * README: Cut down references to pre-2.6 Linux kernels and
7676 Linuxthreads. Update lists of configurations in libc and ports
7677 and sort alphabetically. Say "or newer" with Linux kernel version
7678 requirements.
7679
28aeeda4
JM
7680 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7681
a462cb63
RA
76822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7683
7684 [BZ #887]
7685 * math/libm-test.inc (logb_test_downward): New test to expose
7686 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7687 rounding mode.
7688
6ad3493e
JM
76892012-04-27 Joseph Myers <joseph@codesourcery.com>
7690
7691 [BZ #14027]
7692 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7693 to be done.
7694 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7695 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7696
2ce4f015
JM
76972012-04-26 Joseph Myers <joseph@codesourcery.com>
7698
5aeb141a
JM
7699 * sysdeps/unix/i386/brk.S: Remove file.
7700 * sysdeps/unix/i386/dl-brk.S: Likewise.
7701 * sysdeps/unix/i386/pipe.S: Likewise.
7702 * sysdeps/unix/i386/sigreturn.S: Likewise.
7703 * sysdeps/unix/i386/syscall.S: Likewise.
7704 * sysdeps/unix/i386/vfork.S: Likewise.
7705 * sysdeps/unix/i386/wait.S: Likewise.
7706
7143acae
JM
7707 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7708 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7709
2ce4f015
JM
7710 * configure.in (arm*-none*): Do not allow without
7711 --enable-hacker-mode.
7712 (netbsd*): Remove case setting base_os.
7713 (386bsd*): Likewise.
7714 (freebsd*): Likewise.
7715 (bsdi*): Likewise.
7716 (osf*): Likewise.
7717 (sunos*): Likewise.
7718 (ultrix*): Likewise.
7719 (newsos*): Likewise.
7720 (dynix*): Likewise.
7721 (*bsd*): Likewise.
7722 (sysv*): Likewise.
7723 (isc*): Likewise.
7724 (esix*): Likewise.
7725 (sco*): Likewise.
7726 (minix*): Likewise.
7727 (irix4*): Likewise.
7728 (irix6*): Likewise.
7729 (solaris[2-9]*): Likewise.
7730 (none): Likewise.
7731 * configure: Regenerated.
7732
0ac229c8
AZ
77332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734
7735 [BZ #11521]
7736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7737 overflow or cancellation in calculating denominator.
7738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7740 down expression to avoid unexpected rounding in newer GCCs.
7741 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7742
33f244f4
DM
77432012-04-26 David S. Miller <davem@davemloft.net>
7744
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7746 long-double compat symbols.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7760
cfa1f3e8
DM
77612012-04-25 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7764 HWCAP_* values only after the memory barriers have been defined.
7765 (atomic_full_barrier): Define.
7766 (atomic_read_barrier): Define.
7767 (atomic_write_barrier): Define.
7768
6e236b92
SP
77692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7770
7771 * shlib-versions: Add libgcc_s version information.
7772 * sysdeps/generic/libgcc_s.h: Remove.
7773 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7774 libgcc_s.h.
7775 * sysdeps/gnu/unwind-resume.c: Likewise.
7776 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7777
aab39a09
DM
77782012-04-25 David S. Miller <davem@davemloft.net>
7779
7780 * sysdeps/unix/sparc/brk.S: Delete.
7781 * sysdeps/unix/sparc/dl-brk.S: Delete.
7782 * sysdeps/unix/sparc/pipe.S: Delete.
7783 * sysdeps/unix/sparc/sysdep.S: Delete.
7784 * sysdeps/unix/sparc/sysdep.h: Delete.
7785 * sysdeps/unix/sparc/vfork.S: Delete.
7786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7787 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7789 ret_ERRVAL, r0, r1, MOVE): Define.
7790 (JUMPTARGET): Remove.
7791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7792 sysdeps/unix/sparc/sysdep.h
7793 (ENTRY, END): Remove.
7794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7795
a3cc4f48
JM
77962012-04-25 Joseph Myers <joseph@codesourcery.com>
7797
2ed8cda2
JM
7798 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7799 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7800 -DIS_IN_build.
7801
35d76d59
JM
7802 * timezone/README: Update upstream location and email address for
7803 tzcode and tzdata.
7804 * timezone/zdump.c: Update from tzcode 2012b.
7805 * timezone/zic.c: Likewise.
7806
a3cc4f48
JM
7807 * configure.in (libc_cv_as_needed): Remove test.
7808 * configure: Regenerated.
7809 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7810 conditional definition.
7811 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7812 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7813 * config.make.in (have-as-needed): Remove variable.
7814
ceab42c3
SP
78152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7816 Paul Pluzhnikov <ppluzhnikov@google.com>
7817
7818 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7819 strings correctly.
7820
3ce2865f
CLT
78212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7822
7823 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7824 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7825 * sysdeps/sh/strlen.S: Likewise.
7826
f37e0d68
JM
78272012-04-24 Joseph Myers <joseph@codesourcery.com>
7828
ae186e9a
JM
7829 * sysdeps/unix/fork.S: Remove file.
7830 * sysdeps/unix/i386/fork.S: Likewise.
7831 * sysdeps/unix/sparc/fork.S: Likewise.
7832
b96914af
JM
7833 * sysdeps/unix/system.c: Remove file.
7834 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7835
f37e0d68
JM
7836 * sysdeps/unix/getegid.S: Remove file.
7837 * sysdeps/unix/geteuid.S: Likewise.
7838
87ef29ca
RM
78392012-04-24 Roland McGrath <roland@hack.frob.com>
7840
83bcd236
RM
7841 * scripts/check-localplt.awk: New file.
7842 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7843 of diff.
7844 * scripts/data/localplt-generic.data: Add a comment.
7845
87ef29ca
RM
7846 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7847 NODE when __dir_mkfile failed.
7848 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7849 Reported by Ludovic Courtès <ludo@gnu.org>.
7850
e5a6e567
AJ
78512012-04-24 Andreas Jaeger <aj@suse.de>
7852
7853 * Makerules (common-clean): Also remove gen-as-const-headers
7854 files.
7855
c1820385
JM
78562012-04-24 Joseph Myers <joseph@codesourcery.com>
7857
7858 * Makerules (native-compile): Do not change working directory for
7859 build. Use $(OUTPUT_OPTION) in command.
7860 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7861
94e02fc4
AZ
78622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863
7864 [BZ #13886]
7865 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7866 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7867 * math/libm-test.inc (floor_test): Add more tests.
7868 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7869
3a533ca3
JM
78702012-04-24 Joseph Myers <joseph@codesourcery.com>
7871
940ab4b3
JM
7872 * sysdeps/unix/getdents.c: Remove file.
7873 * sysdeps/unix/sysv/getdents.c: Likewise.
7874 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7875
90e037bd
JM
7876 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7877 sysdeps/unix/mman/syscalls.list.
7878 (mmap): Likewise.
7879 (mprotect): Likewise.
7880 (msync): Likewise.
7881 (munmap): Likewise.
7882 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7883 * sysdeps/unix/mman/syscalls.list: Remove.
7884 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7885
3a533ca3
JM
7886 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7887 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7888 * configure: Regenerated.
7889 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7890 $(libgcc_s_suffix).
7891 * config.make.in (libgcc_s_suffix): Remove variable.
7892
1ad743de
JM
78932012-04-23 Joseph Myers <joseph@codesourcery.com>
7894
4ad451e2
JM
7895 * sysdeps/unix/sysv/gethostname.c: Move to ...
7896 * sysdeps/posix/gethostname.c: ... here.
7897
5e37ce39
JM
7898 * sysdeps/unix/execve.S: Remove file.
7899
1ad743de
JM
7900 * sysdeps/unix/_exit.S: Remove file.
7901
4e681b5b
AJ
79022012-04-23 Andreas Jaeger <aj@suse.de>
7903
7904 [BZ #13739]
7905 * manual/Makefile: Remove make dist support, there's no
7906 need for a stand-alone documentation tar ball.
7907 (TEXI2DVI): Define always, it's not in Makeconfig.
7908 (dist): Removed.
7909 (tar-it): Removed.
7910 (edition): Removed.
7911 (glibc-doc-$(edition).tar): Removed
7912 (%.Z): Removed.
7913 (%.gz): Removed.
7914 (%.uu): Removed.
7915 (ETAGS): Remove, it's in Makeconfig.
7916 (move-if-change): Remove, it's in Makeconfig.
7917
c0baea34
PE
79182013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7919
7920 [BZ #13970]
7921 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7922 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7923 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7924 (strtod_l, strtof_l, strtold_l): Remove __wur.
7925 It is not necessarily an error to ignore strtol's return value.
7926 One can reliably look at the stored endptr to decide whether
7927 the number had valid syntax.
7928
7c0616fa
AJ
79292012-04-21 Andreas Jaeger <aj@suse.de>
7930
803cb6b7 7931 [BZ #13739]
7c0616fa
AJ
7932 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7933
b0fe253f
JM
79342012-04-21 Joseph Myers <joseph@codesourcery.com>
7935
7936 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7937 * sysdeps/unix/sysv/Versions: Remove file.
7938
8280f22d
MT
79392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7940
7941 [BZ #13927]
7942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7943
75ce411f 79442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7945
7946 [BZ #7064]
7947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7948 version from __vm86.
7949
097d59fa
JM
79502012-04-20 Joseph Myers <joseph@codesourcery.com>
7951
a90f3bcb
JM
7952 * sysdeps/unix/common/lxstat.c: Remove file.
7953 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7954
edc7ea78
JM
7955 * sysdeps/unix/sysv/Makefile: Remove file.
7956
cb78c221
JM
7957 * sysdeps/unix/sysv/direct.h: Remove file.
7958
efa6a45f
JM
7959 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7960 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7961 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7962 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7963 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7964 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7965 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7966
9c9f2d0c
JM
7967 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7968
4541c83b
JM
7969 * sysdeps/unix/xmknod.c: Remove file.
7970 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7971
f5d153a0
JM
7972 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7973
aa746595
JM
7974 * sysdeps/unix/sysv/i386/time.S: Remove file.
7975
cce5905e
JM
7976 * sysdeps/unix/fxstat.c: Remove file.
7977 * sysdeps/unix/xstat.c: Likewise.
7978 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7979
37fa3841
JM
7980 * sysdeps/unix/sysv/sigaction.c: Remove file.
7981
ff1962a3
JM
7982 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7983 (sysdep_headers): Remove variable.
7984 [termio.h not in sysdep_headers] (generated): Likewise.
7985 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7986 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7987 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7988 * sysdeps/unix/sysv/tcflow.c: Likewise.
7989 * sysdeps/unix/sysv/tcflush.c: Likewise.
7990 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7991 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7992 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7993 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7994 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7995
e7740d31
JM
7996 * sysdeps/unix/siglist.c: Remove file.
7997
ee06f18b
JM
7998 * sysdeps/unix/getppid.S: Remove file.
7999
097d59fa
JM
8000 * sysdeps/unix/mkdir.c: Remove file.
8001 * sysdeps/unix/rmdir.c: Likewise.
8002
ff3d51ec
AS
80032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8004
8005 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8006 ERR_MAX value.
8007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8008 errlist-compat value.
8009
50f81fd7
DM
80102012-04-18 David S. Miller <davem@davemloft.net>
8011
8012 * sysdeps/generic/memcopy.h (reg_char): Delete.
8013 * debug/strcat_chk.c: Use char, not reg_char.
8014 * debug/strcpy_chk.c: Likewise.
8015 * debug/strncat_chk.c: Likewise.
8016 * debug/strncpy_chk.c: Likewise.
8017 * string/memchr.c: Likewise.
8018 * string/memrchr.c: Likewise.
8019 * string/rawmemchr.c: Likewise.
8020 * string/strcat.c: Likewise.
8021 * string/strchr.c: Likewise.
8022 * string/strchrnul.c: Likewise.
8023 * string/strcmp.c: Likewise.
8024 * string/strcpy.c: Likewise.
8025 * string/strncat.c: Likewise.
8026 * string/strncmp.c: Likewise.
8027 * string/strncpy.c: Likewise.
8028
8ff41c46
WS
80292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8030
8031 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8032 __builtin_memcopy is called when src and dest ranges are known to not
8033 overlap.
8034
6b652f46
WS
80352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8036
8037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8038 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8039 fwd_align_merge macro call.
8040 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8041 bwd_align_merge macro call.
8042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8043
b282631e
WS
80442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8045
8046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8047 bwd_align_merge macros.
8048 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8049 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8051
95aa737c
DM
80522012-04-18 David S. Miller <davem@davemloft.net>
8053
8054 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8055
7a99a614
AJ
80562012-04-18 Andreas Jaeger <aj@suse.de>
8057
8058 [BZ# 6794]
8059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8060 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8062
8063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8064 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8066
8067 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8068 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8069 Adjust for changed ldbl-128 files.
8070
8071 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8072 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8074
e5270c23
DM
80752012-04-17 David S. Miller <davem@davemloft.net>
8076
8077 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8078
fb5e92c9
AS
80792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8080
8081 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8082 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8083 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8084 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8085 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8086 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8087
76da7265
AZ
80882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089
8090 [BZ #6794]
8091 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8092 * math/libm-test.inc: Add ilogb errno and exception tests.
8093 * math/w_ilogb.c: New file: ilogb wrapper.
8094 * math/w_ilogbf.c: New file: ilogbf wrapper.
8095 * math/w_ilogbl.c: New file: ilogbl wrapper.
8096 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8097 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8098 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8099 exception being thrown with 0.0 as argument.
8100 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8101 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8102 exception being thrown with 0.0 as argument.
8103 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8104 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8105 exception being thrown with 0.0 as argument.
8106 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8107 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8108 exception being thrown with 0.0 as argument.
8109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8110 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8112 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8114 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8115 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8116 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8117 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8118
0396e69d
PB
81192012-04-17 Petr Baudis <pasky@ucw.cz>
8120
8121 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8122 with altivec.
8123
750b5926
MP
81242012-04-16 Marek Polacek <polacek@redhat.com>
8125
8126 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8127
751728a1
MP
81282012-04-16 Marek Polacek <polacek@redhat.com>
8129
8130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8131 operands of fdivp instruction.
8132
34a27407
L
81332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8134
8135 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8136 * elf/tst-auditmod3b.c: Likewise.
8137 * elf/tst-auditmod4b.c: Likewise.
8138 * elf/tst-auditmod5b.c: Likewise.
8139 * elf/tst-auditmod6b.c: Likewise.
8140 * elf/tst-auditmod6c.c: Likewise.
8141 * elf/tst-auditmod7b.c: Likewise.
8142 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8143 * sysdeps/x86_64/preconfigure.in: Likewise.
8144 * sysdeps/x86_64/preconfigure: Regenerated.
8145
7e73e17d
L
81462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8147
8148 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8149 __ILP32__.
8150
c7a6ab72
AB
81512012-04-13 Antoine Balestrat <merkil33@gmail.com>
8152
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8154 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8155
a9e8e0e0
CL
81562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8157
8158 [BZ #13973]
8159 * locale/iso-639.def: Fix gl language name. Spotted by
8160 Yaron Shahrabani.
8161
ec98af7d
RM
81622012-04-12 Roland McGrath <roland@hack.frob.com>
8163
8164 [BZ #2074]
8165 * libio/libio.h (__io_write_fn): Update comment.
8166
247c3ede
PB
81672012-04-12 Petr Baudis <pasky@ucw.cz>
8168
8169 [BZ #2074]
8170 * stdio.texi (Hook Functions): The user provided writer function
8171 is not allowed to return -1.
8172
55939d6d
DM
81732012-04-11 David S. Miller <davem@davemloft.net>
8174
8175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8176
90020f5a
MF
81772012-04-11 Mike Frysinger <vapier@gentoo.org>
8178
8179 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8180 Add a leading slash to rtkaio.
8181
288f9098
JM
81822012-04-11 Jim Meyering <meyering@redhat.com>
8183
90020f5a
MF
8184 [BZ #11959]
8185 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8186 It is not necessarily an error to ignore fwrite's return
8187 value. One can reliably use ferror to test for errors after
8188 the fact.
288f9098 8189
4be2b570
L
81902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * bits/types.h (__snseconds_t): New type.
8193 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8194
8195 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8197 (__SNSECONDS_T_TYPE): Likewise.
8198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8199 (__SNSECONDS_T_TYPE): Likewise.
8200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8201 (__SNSECONDS_T_TYPE): Likewise.
8202
288f9098 82032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8204
8205 [BZ #2636]
8206 * manual/time.texi (Processor Time): Return type of times is
8207 elapsed real time since an arbitrary point in the past.
8208 (CPU Time): Move CLK_TCK from here...
8209 (Processor Time): ...to here. Correct description.
8210 * manual/conf.texi (Constants for Sysconf): Correct description of
8211 _SC_CLK_TCK.
8212
d7dd4413
DM
82132012-04-10 David S. Miller <davem@davemloft.net>
8214
8215 [BZ #13967]
8216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8217 where the is a gap between DT_REL(A) and DT_JMPREL.
8218
b46068fc
L
82192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8220
8221 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8222 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8223 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8224
73d65cc3
SP
82252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
8227 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8228 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8229 (dl_main): Handle --inhibit-cache.
8230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8231 _dl_inhibit_cache.
8232 * elf/dl-load.c (_dl_map_object): Use it.
8233 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8234
bcc8d661
JM
82352012-04-09 Joseph Myers <joseph@codesourcery.com>
8236
8f9a2fae
JM
8237 [BZ #13872]
8238 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8239 (__ieee754_powl): Saturate large exponents rather than testing for
8240 overflow of y*log2(x).
8241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8242 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8243 exceptions.
8244
bcc8d661
JM
8245 [BZ #11521]
8246 * math/s_ctan.c: Include <float.h>.
8247 (__ctan): Avoid internal overflow or cancellation in calculating
8248 denominator.
8249 * math/s_ctanf.c: Likewise.
8250 * math/s_ctanl.c: Likewise.
8251 * math/s_ctanh.c: Likewise.
8252 * math/s_ctanhf.c: Likewise.
8253 * math/s_ctanhl.c: Likewise.
8254 * math/libm-test.inc (ctan_test): Add more tests.
8255 (ctanh_test): Likewise.
8256 * sysdeps/i386/fpu/libm-test-ulps: Update.
8257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8258
823fbbb4
AJ
82592012-04-09 Andreas Jaeger <aj@suse.de>
8260
03879793
AJ
8261 [BZ #6894]
8262 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8263 is an optional BSD extension.
8264
823fbbb4
AJ
8265 [BZ #10254]
8266 * manual/stdio.texi (Opening Streams): Document additional fopen
8267 parameters.
8268
8de131cb
RM
82692012-04-09 Roland McGrath <roland@hack.frob.com>
8270
8271 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8272 %eax without telling the compiler.
8273
c0ed9d7d
CD
82742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8275
8276 [BZ # 13963]
8277 * manual/install.texi: Use sourceware.org.
8278
c483f6b4
JM
82792012-04-09 Joseph Myers <joseph@codesourcery.com>
8280
d7dd9453
JM
8281 [BZ #13873]
8282 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8283 (__ieee754_pow): Generate overflow and underflow using huge*huge
8284 and tiny*tiny rather than just returning constant infinity or zero
8285 for large exponents.
8286 * math/libm-test.inc (pow_test): Require overflow exceptions for
8287 applicable cases of large exponents.
8288
c483f6b4
JM
8289 [BZ #706]
8290 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8291 (__ieee754_pow): Use iterative multiplication algorithm only for
8292 integer exponents with absolute value below 1024. Check for odd
8293 integer exponents when using algorithm for real exponents.
8294 * math/libm-test.inc (pow_test): Add more tests.
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8296
d2de7579
JM
82972012-04-08 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #13705]
8300 * math/libm-test.inc (exp_test): Do not allow overflow exception
8301 on underflow test.
8302
f77f1232
AJ
83032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8304
8305 [BZ #13705]
8306 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8307 instead of __kernel_standard_f.
8308
3884932b
MF
83092012-04-08 Mike Frysinger <vapier@gentoo.org>
8310
8311 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8312 * sysdeps/x86_64/memset_chk.S: Likewise.
8313
54472e9c
AJ
83142012-04-08 Andreas Jaeger <aj@suse.de>
8315
6ab0fbfc
AJ
8316 [BZ #10153]
8317 * manual/startup.texi (Environment Access): Describe return value
8318 for putenv and setenv.
8319
61efba8c
AJ
8320 [BZ #6895]
8321 * manual/filesys.texi (Directory Entries): Add description for
8322 DT_LNK.
8323
95c3f29a
AJ
8324 [BZ #6890]
8325 * manual/filesys.texi (Directory Entries): Clarify that it's file
8326 system not operating system in the description of DT_UNKNOWN.
8327
54472e9c
AJ
8328 [BZ #6578]
8329 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8330
624254b1
SC
83312012-04-08 Stephen Compall <s11@member.fsf.org>
8332
8333 [BZ #6649]
8334 * manual/llio.texi (Opening and Closing Files): Add cross
8335 reference to explain mode argument.
8336
1e4920e0
MF
83372012-04-07 Mike Frysinger <vapier@gentoo.org>
8338
8339 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8340 * sysdeps/x86_64/memset_chk.S: Likewise.
8341
5ed848f3
DM
83422012-04-07 David S. Miller <davem@davemloft.net>
8343
8344 * elf/elf.h (R_SPARC_WDISP10): Define.
8345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8346 R_SPARC_SIZE32.
8347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8348 R_SPARC_SIZE64 and R_SPARC_H34.
8349
96154cd8
CD
83502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8351
8352 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8353 conditions and remove no longer applicable assertion.
8354
9904dc47
L
83552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 * bits/byteswap.h: Include <features.h>.
8358 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8359 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8360
f8887d0a
L
83612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 * bits/byteswap.h (__bswap_16): Removed.
8364 Include <bits/byteswap-16.h> to get __bswap_16.
8365 * sysdeps/i386/bits/byteswap.h: Likewise.
8366 * sysdeps/s390/bits/byteswap.h: Likewise.
8367 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8368 * bits/byteswap-16.h: New file.
8369 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8370 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8371 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8372 * string/Makefile (headers): Add bits/byteswap-16.h.
8373
62470f60
PP
83742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8375
8376 [BZ #13895]
8377 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8378 extra indirection.
8379 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8380 * nss/tst-nss-static.c: New.
8381
4dad7bab
RM
83822012-04-06 Robert Millan <rmh@gnu.org>
8383
8384 [BZ #6486]
8385 * manual/llio.texi (File Position Primitive): lseek
8386 refers to WHENCE when it really means OFFSET.
8387
e9142a17
AJ
83882012-04-06 Andreas Jaeger <aj@suse.de>
8389
2c040eff
AJ
8390 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8391 strncmp declarations.
8392
e9142a17
AJ
8393 * abilist/libc.abilist: Add __poll and __ppoll.
8394
ff9f1c5f
DM
83952012-04-05 David S. Miller <davem@davemloft.net>
8396
dcd2ae90
DM
8397 * scripts/check-local-headers.sh: Accept a host triplet in the
8398 path matched by the exclude regexp.
8399
993eb054
DM
8400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8401 definition.
8402 * sysdeps/powerpc/powerpc32/dl-machine.h
8403 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8404 * sysdeps/s390/s390-32/dl-machine.h
8405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8406 * sysdeps/sparc/sparc32/dl-machine.h
8407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8408 * sysdeps/sparc/sparc64/dl-machine.h
8409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8410
ff9f1c5f
DM
8411 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8412 lazy binding.
48e2e132 8413 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8414 undefined symbol errors.
8415
48e2e132 8416 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8417 DT_NEEDED entries.
8418
e80d6f94
MM
84192012-04-05 Michael Matz <matz@suse.de>
8420
8421 [BZ #13592]
8422 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8423
349fa79f
AJ
84242012-04-05 Andreas Jaeger <aj@suse.de>
8425
8426 [BZ #13908]
8427 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8428 comment.
8429
f402708f
KK
84302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8431
8432 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8433 which ROUND is no valid rounding mode.
8434
2ecccfc9
KK
84352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8436
8437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8438 read again.
8439 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8440
8a53f50f
KK
84412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8442
8443 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8444 an exception using FPU order intentionally.
8445
84462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8447
8448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8449 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8450 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8451 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8452
d653abb7
SJ
84532012-04-05 Simon Josefsson <simon@josefsson.org>
8454
8455 [BZ #12340]
8456 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8457 EINVAL when BUFLEN is too smal.
8458
c3b1bf7d
TS
84592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8460
8461 [BZ #13553]
8462 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8463 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8464
b1aa60f3
AJ
84652012-04-03 Andreas Jaeger <aj@suse.de>
8466
c3b1bf7d 8467 [BZ #13938]
67f60a26
AJ
8468 * manual/setjmp.texi (System V contexts): Fix sentence.
8469
b1aa60f3
AJ
8470 [BZ #13926]
8471 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8472 New macro for this case.
8473 [!__GNUC__] (__bswap_64): New inline function for this case.
8474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8475 * bits/byteswap.h: Likewise.
8476 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8477 ull, guard with __GLIBC_HAVE_LONG_LONG.
8478
8479 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8480 __GLIBC_HAVE_LONG_LONG.
8481
8482 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8483 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8484
39c59c35
TMQMF
84852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8486
8487 [BZ #13691]
8488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8489 inptr and inend, rather than using last_ch.
8490
135ffda8
DM
84912012-04-02 David S. Miller <davem@davemloft.net>
8492
8493 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8494 * stdio-common/printf-parse.h (read_int): Change return type to
8495 'int', return -1 on INT_MAX overflow.
8496 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8497 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8498 overflows INT_MAX. Check for overflow of in-format-string precision
8499 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8500 SIZE_MAX not INT_MAX for integer overflow test.
8501 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8502 skip the construct in the format string but do not record anything.
8503 * stdio-common/bug22.c: Adjust to test both width/prevision
8504 INT_MAX overflow as well as total length INT_MAX overflow. Check
8505 explicitly for proper errno values.
8506
228c019e
TS
85072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8508
302cadd3
TS
8509 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8510 CHAR_MAX.
8511 * string/test-strcmp.c [! WIDE]: Likewise.
8512 * time/tst-mktime2.c: Likewise for INT_MAX.
8513 * string/test-string.h: #include <sys/param.h> for MIN.
8514
228c019e
TS
8515 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8516 * sysdeps/i386/init-first.c (init): Likewise.
8517 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8518 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8519 * sysdeps/sh/init-first.c (init): Likewise.
8520
cfa633f5
UD
85212012-04-01 Ulrich Drepper <drepper@gmail.com>
8522
8523 * po/ru.po: Update from translation team.
d1635ef8 8524 * po/vi.po: Likewise.
cfa633f5 8525
6cd0a5ea
SP
85262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8527
8528 * resolv/nss_dns/dns-host.c: Merge copyright years.
8529
4b43400f
LD
85302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8531
8532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8533 Optimize memcpy with prefetch if
8534 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8535 src, dst pointers have unequal 16 byte alignments.
8536
48c41d04
SP
85372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8538
8539 [BZ #13928]
8540 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8541 from a CNAME entry and return the minimum ttl for the query.
8542 (gaih_getanswer_slice): Likewise.
8543
b8dc394d
JL
85442012-03-30 Jeff Law <law@redhat.com>
8545
8546 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8547 due to long keys.
8548 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8549 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8550
2f5a5ed0
JL
8551 * resolv/nss_dns/dns-host.c: Update copyright year.
8552
1d39e359
UD
85532012-03-30 Ulrich Drepper <drepper@gmail.com>
8554
c030f70c 8555 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8556 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8557
1d39e359
UD
8558 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8559 comments for sendmmsg.
8560
85612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8562
8563 [BZ #13691]
8564 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8565 with only 1 character between 0x0041 and 0x01b0.
8566 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8567 * wcsmbs/tst-mbsnrtowcs.c: New file.
8568
20fde227
DM
85692012-03-29 David S. Miller <davem@davemloft.net>
8570
8571 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8572 small copies by hand.
8573
984a4237
JL
85742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8575
8576 [BZ #13761]
8577 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8578 _nss_compat_initgroups_dyn): Fall back to malloc/free
8579 for large group memberships.
8580
18c9d62b
DM
85812012-03-28 David S. Miller <davem@davemloft.net>
8582
88d85d4f
DM
8583 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8584 that branches into memcpy.
8585 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8588 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8590 bits.
8591 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8592 implementation too.
8593 * sysdeps/sparc/mempcpy.S: New file.
8594
e5aa83e1
DM
8595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8596 the IFUNC routine in the libc case.
8597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8598
88570753
DM
8599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8601 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8602 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8603 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8604 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8605 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8606 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8607
249d7567
DM
8608 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8609 loop to 256 bytes instead of 64 bytes and fix test signedness.
8610
18c9d62b
DM
8611 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8612 * sysdeps/sparc/sparc32/Makefile: rather than here...
8613 * sysdeps/sparc/sparc64/Makefile: and here.
8614
05f3d1f6
UD
86152012-03-28 Ulrich Drepper <drepper@gmail.com>
8616
8617 * malloc/mallocbug.c: Avoid warnings about unused variables.
8618
86ae07a8
JL
86192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8620
8621 [BZ #13760]
8622 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8623 in the right place. Discard and retry query if response is
8624 larger than input buffer size.
8625
41bf21a1
JM
86262012-03-28 Joseph Myers <joseph@codesourcery.com>
8627
d6270972
JM
8628 [BZ #369]
8629 [BZ #2678]
8630 [BZ #3866]
8631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8632 x for large integer exponent.
8633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8634 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8635 sign of result as needed afterwards.
8636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8638 result for underflowing pow the same as for overflow.
8639 (__kernel_standard_l): Handle powl overflow and underflow here
8640 rather than calling __kernel_standard.
8641 * math/libm-test.inc (pow_test): Add more tests.
8642
414fca03 8643 [BZ #3868]
41bf21a1
JM
8644 [BZ #13879]
8645 [BZ #13910]
8646 [BZ #13911]
8647 [BZ #13912]
8648 [BZ #13913]
8649 [BZ #13915]
8650 [BZ #13916]
8651 [BZ #13917]
8652 [BZ #13918]
8653 [BZ #13919]
8654 [BZ #13920]
8655 [BZ #13921]
8656 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8657 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8658 (__kernel_standard_l): New function.
8659 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8660 __kernel_standard.
8661 * math/w_acosl.c (__acosl): Likewise.
8662 * math/w_asinl.c (__asinl): Likewise.
8663 * math/w_atan2l.c (__atan2l): Likewise.
8664 * math/w_atanhl.c (__atanhl): Likewise.
8665 * math/w_coshl.c (__coshl): Likewise.
8666 * math/w_exp10l.c (__exp10l): Likewise.
8667 * math/w_exp2l.c (__exp2l): Likewise.
8668 * math/w_fmodl.c (__fmodl): Likewise.
8669 * math/w_hypotl.c (__hypotl): Likewise.
8670 * math/w_j0l.c (__j0l, __y0l): Likewise.
8671 * math/w_j1l.c (__j1l, __y1l): Likewise.
8672 * math/w_jnl.c (__jnl, __ynl): Likewise.
8673 * math/w_lgammal.c (__lgammal): Likewise.
8674 * math/w_log10l.c (__log10l): Likewise.
8675 * math/w_log2l.c (__log2l): Likewise.
8676 * math/w_logl.c (__logl): Likewise.
8677 * math/w_powl.c (__powl): Likewise.
8678 * math/w_remainderl.c (__remainderl): Likewise.
8679 * math/w_scalbl.c (sysv_scalbl): Likewise.
8680 * math/w_sinhl.c (__sinhl): Likewise.
8681 * math/w_sqrtl.c (__sqrtl): Likewise.
8682 * math/w_tgammal.c (__tgammal): Likewise.
8683 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8684 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8685 * math/libm-test.inc (acos_test): Add more tests.
8686 (acosh_test): Likewise.
8687 (asin_test): Likewise.
8688 (atanh_test): Likewise.
8689 (exp_test): Likewise.
8690 (exp10_test): Likewise.
8691 (exp2_test): Likewise.
8692 (expm1_test): Likewise.
8693 (lgamma_test): Likewise.
8694 (log_test): Likewise.
8695 (log10_test): Likewise.
8696 (log1p_test): Likewise.
8697 (log2_test): Likewise.
8698 (pow_test): Do not allow some spurious overflow exceptions.
8699 (sqrt_test): Add more tests.
8700 (tgamma_test): Likewise.
8701 (y0_test): Likewise.
8702 (y1_test): Likewise.
8703 (yn_test): Likewise.
8704
dd62fda6
AB
87052012-03-27 Anton Blanchard <anton@samba.org>
8706
8707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8708 MAP_HUGETLB.
8709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8712
1e3cdfda
AJ
87132012-03-27 David S. Miller <davem@davemloft.net>
8714
b855ab85
DM
8715 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8716
1e3cdfda
AJ
8717 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8718 have-as-vis3 check.
8719
87202012-03-27 Andreas Jaeger <aj@suse.de>
8721
8722 * sysdeps/x86_64/elf/configure.in: Moved to ...
8723 * sysdeps/x86_64/configure.in: ... here.
8724 * sysdeps/x86_64/elf/start.S: Moved to ...
8725 * sysdeps/x86_64/start.S: ... here.
8726 * sysdeps/x86_64/elf/configure: Delete.
8727
8728 * sysdeps/x86_64/configure.in: Merge contents from
8729 sysdeps/i386/configure.in (without i686 check).
8730
8731 * sysdeps/i386/elf/Versions: Merge into ...
8732 * sysdeps/i386/Versions: ... this.
8733 * sysdeps/i386/elf/Versions: Delete file.
8734 * sysdeps/i386/elf/start.S: Moved to ...
8735 * sysdeps/i386/start.S: ...here.
8736 * sysdeps/i386/elf/configure.in: Merge into...
8737 * sysdeps/i386/configure.in: ...here.
8738 * sysdeps/i386/elf/configure.in: Delete file.
8739 * sysdeps/i386/elf/configure: Delete file.
8740
8741 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8742 * debug/backtracesyms.c: ... here.
8743 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8744 * debug/backtracesymsfd.c: ... here.
8745 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8746 * sysdeps/generic/ifunc-sel.h: ... here.
8747
8748 * sysdeps/unix/i386/start.c: Delete file.
8749 * sysdeps/unix/sparc/start.c: Delete file.
8750 * sysdeps/unix/start.c: Delete file.
8751
8752 * sysdeps/sh/elf/configure.in: Moved to ...
8753 * sysdeps/sh/configure.in: ... here.
8754 * sysdeps/sh/elf/start.S: Moved to ...
8755 * sysdeps/sh/start.S: ... here.
8756 * sysdeps/sh/elf/configure: Delete file.
8757
8758 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8759 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8760 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8761 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8762 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8763 * sysdeps/powerpc/powerpc64/start.S: here.
8764 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8765 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8766 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8767 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8768 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8769
8770 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8771 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8772 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8773 * sysdeps/powerpc/powerpc32/start.S: ... here.
8774 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8775 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8776 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8777
8778 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8779 * sysdeps/powerpc/ifunc-sel.h: ... here.
8780 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8781 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8782
8783 * sysdeps/sparc/elf/configure.in: Moved to ...
8784 * sysdeps/sparc/configure.in: ... here.
8785 * sysdeps/sparc/elf/configure: Delete file.
8786 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8787 * sysdeps/sparc/sparc32/start.S: ... here.
8788 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8789 * sysdeps/sparc/sparc64/start.S: ... here.
8790 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8791 * sysdeps/sparc/sparc32/Makefile: ... this.
8792 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8793 * sysdeps/sparc/sparc64/Makefile: ... this.
8794
8795 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8796 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8797 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8798 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8799 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8800 * sysdeps/s390/s390-32/setjmp.S: ... here.
8801 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8802 * sysdeps/s390/s390-32/configure.in: ... here.
8803 * sysdeps/s390/s390-32/elf/configure: Delete file.
8804 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8805 * sysdeps/s390/s390-32/start.S: ... here.
8806
8807 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8808 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8809 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8810 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8811 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8812 * sysdeps/s390/s390-64/setjmp.S: ... here.
8813 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8814 * sysdeps/s390/s390-64/configure.in: ... here
8815 * sysdeps/s390/s390-64/elf/configure: Delete file.
8816 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8817 * sysdeps/s390/s390-64/start.S: ... here.
8818 * sysdeps/s390/s390-64/elf/configure: Delete.
8819
8820 * configure.in: Remove support for elf directories in sysdeps.
8821
8822 * configure: Regenerated.
8823 * sysdeps/i386/configure: Regenerated.
8824 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8825 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8826 * sysdeps/s390/s390-32/configure: Regenerated.
8827 * sysdeps/s390/s390-64/configure: Regenerated.
8828 * sysdeps/sh/configure: Regenerated.
8829 * sysdeps/sparc/configure: Regenerated.
8830 * sysdeps/x86_64/configure: Regenerated.
8831
a3f61311
AS
88322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8833
c876e002
AS
8834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8835
a3f61311
AS
8836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8837 denormal result into account.
8838
ac4c54f0
RM
88392012-03-25 Roland McGrath <roland@hack.frob.com>
8840
8841 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8842 Reported by Allan McRae <allan@archlinux.org>.
8843
6a9b9c02
JL
88442012-03-23 Jeff Law <law@redhat.com>
8845
8846 * nss/getnssent.c (__nss_getent): Fix typo.
8847
4c42a0c1
DM
88482012-03-23 David S. Miller <davem@davemloft.net>
8849
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8851
1532c7ac
L
88522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8855 to pad to uint64_t for each field.
8856 (dl_tls_index): Replace unsigned long with uint64_t.
8857
3ff42526
PP
88582012-03-23 Daniel Jacobowitz <dmj@google.com>
8859 Paul Pluzhnikov <ppluzhnikov@google.com>
8860
8861 [BZ #6528]
8862 * grp/Makefile (otherlibs): Don't set it.
8863 * inet/Makefile (otherlibs): Likewise.
8864 * login/Makefile (otherlibs): Likewise.
8865 * nscd/Makefile (otherlibs): Likewise.
8866 * posix/Makefile (otherlibs): Likewise.
8867 * pwd/Makefile (otherlibs): Likewise.
8868 * rt/Makefile (otherlibs): Likewise.
8869 * sunrpc/Makefile (otherlibs): Likewise.
8870 * nss/Makefile (otherlibs): Likewise.
8871 Add libnss_files to routines and static-only-routines.
8872 ($(objpfx)getent): Remove rule.
8873 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8874 static-only-routines.
8875
7c69cd14
JM
88762012-03-22 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #13892]
8879 * math/s_cexp.c: Include <float.h>.
8880 (__cexp): Handle exp result overflowing not necessarily
8881 overflowing both real and imaginary parts of result.
8882 * math/s_cexpf.c: Likewise.
8883 * math/s_cexpl.c: Likewise.
8884 * math/libm-test.inc (cexp_test): Add more tests.
8885 * sysdeps/i386/fpu/libm-test-ulps: Update.
8886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8887
81b035fe
L
88882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8889
8890 * include/link.h (ELFW): New macro.
8891 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8892 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8893
1da7940c
L
88942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8897 with uint64_t.
8898
b749dbb9
L
88992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8902 declaration.
8903 (struct La_x32_retval): Likewise.
8904
2ff87f3f
L
89052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * sysdeps/x86_64/preconfigure.in: New file.
8908 * sysdeps/x86_64/preconfigure: New generated file.
8909
c0df8e69
JM
89102012-03-22 Joseph Myers <joseph@codesourcery.com>
8911
48e44791
JM
8912 [BZ #13824]
8913 * math/e_exp2l.c: Include <float.h>.
8914 (__ieee754_exp2l): Handle overflow and underflow cases
8915 separately. Only pass fractional part of argument to
8916 __ieee754_expl.
8917 * math/libm-test.inc (exp2_test): Add more tests.
8918
c0df8e69
JM
8919 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8920 negating x to take absolute value.
8921 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8922 Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8925 Likewise.
8926 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8927 computing low part if x was negated.
8928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8929
c8e43ba7
L
89302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8933 la_x32_gnu_pltexit.
8934 (pltexit): Cast int_retval to ptrdiff_t.
8935 * elf/tst-auditmod3b.c: Likewise.
8936 * elf/tst-auditmod4b.c: Likewise.
8937 * elf/tst-auditmod5b.c: Likewise.
8938 * elf/tst-auditmod6b.c: Likewise.
8939 * elf/tst-auditmod6c.c: Likewise.
8940 * elf/tst-auditmod7b.c: Likewise.
8941
8942 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8943 and x32_gnu_pltexit.
8944
8945 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8946 __ELF_NATIVE_CLASS.
8947 (La_x32_regs): New macro.
8948 (La_x32_retval): Likewise.
8949 (la_x32_gnu_pltenter): New function prototype.
8950 (la_x32_gnu_pltexit): Likewise.
8951
7998fa78
AS
89522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8953
dcb33988
AS
8954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8955 exponent.
8956
233fc563
AS
8957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8958
7998fa78
AS
8959 * configure.in (libc_cv_cc_nofma): Check for option to disable
8960 generation of FMA instructions.
8961 * configure: Regenerate.
8962 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8963 * sysdeps/ieee754/dbl-64/Makefile: New file.
8964 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8965 Remove brandred-fma4.
8966 (CFLAGS-brandred-fma4.c): Remove.
8967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8969 define.
8970 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8971 define.
8972
8e95c99a
L
89732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8976 LLONG_MAX != LONG_MAX.
8977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8978 (_fitoa_word): Likewise.
8979 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8980 LLONG_MAX != LONG_MAX.
8981 * stdio-common/_itowa.h: Include <_itoa.h>.
8982 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8983 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8984 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8985 only if not defined.
8986 (_ITOA_WORD_TYPE): Likewise.
8987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8988 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8989
6f4db457
DM
89902012-03-21 David S. Miller <davem@davemloft.net>
8991
8992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8993
7785fe5a
L
89942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8997 of x86_64 when setting libc_cv_slibdir, libdir and
8998 libc_cv_localedir.
8999 * sysdeps/unix/sysv/linux/configure: Regenerated.
9000
4535cd55
JM
90012012-03-21 Joseph Myers <joseph@codesourcery.com>
9002
9003 * manual/lang.texi (Old Varargs): Remove section.
9004 (How Variadic): Update menu.
9005 (va_start): Do not mention varargs.h.
9006
17228132
TS
90072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9008 Joseph Myers <joseph@codesourcery.com>
9009
9010 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9011 link test.
9012 * configure: Regenerated.
9013
8149f976
TS
90142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9015
05f3d1f6
UD
9016 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9017 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9018 conformtest.pl
8149f976 9019
1a4ac776
JM
90202012-03-21 Joseph Myers <joseph@codesourcery.com>
9021
be22ce65
JM
9022 * NOTES: Remove.
9023 * Makefile (files-for-dist): Remove NOTES.
9024 (NOTES): Remove rule.
9025 * README: Don't refer to NOTES.
9026 * manual/creature.texi: Don't include macros.texi.
9027 * manual/intro.texi (creature.texi): Remove comment referring to
9028 NOTES.
9029
40b601fb
JM
9030 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9031 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9032 * configure: Regenerated.
9033 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9034 LIBC_TRY_CC_OPTION.
9035 (libc_cv_as_i686): Likewise.
9036 (libc_cv_cc_avx): Likewise.
9037 (libc_cv_cc_sse2avx): Likewise.
9038 (libc_cv_cc_fma4): Likewise.
9039 (libc_cv_cc_novzeroupper): Likewise.
9040 * sysdeps/i386/configure: Regenerated.
9041
1a4ac776
JM
9042 [BZ #13883]
9043 * sysdeps/i386/fpu/s_cexp.S: Remove.
9044 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9046 * math/libm-test.inc (cexp_test): Add more tests.
9047 * sysdeps/i386/fpu/libm-test-ulps: Update.
9048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9049
a458e7fe
AM
90502012-03-21 Allan McRae <allan@archlinux.org>
9051
9052 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9053
0cb7efc5
JM
90542012-03-21 Joseph Myers <joseph@codesourcery.com>
9055
9056 [BZ #13871]
9057 * math/w_exp2.c: Do not include <float.h>.
9058 (o_threshold, u_threshold): Remove.
9059 (__exp2): Calculate result before checking finiteness and calling
9060 __kernel_standard.
9061 * math/w_exp2f.c: Likewise.
9062 * math/w_exp2l.c: Likewise.
9063 * math/libm-test.inc (exp2_test): Require overflow exception for
9064 1e6 input.
2460d3aa
JM
9065
9066 [BZ #3866]
9067 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9068 range of signed 64-bit integers before using fistpll. Remove
9069 checks for whether integers fit in mantissa bits.
9070 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9071 the range of signed 32-bit integers before using fistpl. Remove
9072 checks for whether integers fit in mantissa bits.
9073 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9074 (__ieee754_powl): Test for y outside the range of signed 64-bit
9075 integers before using fistpll. Reduce 64-bit values to 63-bit
9076 ones as needed.
9077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9078 divide-by-zero is raised for zero to large negative powers.
9079 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9080 (__ieee754_powl): Test for y outside the range of signed 64-bit
9081 integers before using fistpll. Reduce 64-bit values to 63-bit
9082 ones as needed.
9083 * math/libm-test.inc (pow_test): Add more tests.
9084
eb96ffb0
L
90852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9088 <stdio-common/_itoa.h>.
9089 * debug/segfault.c: Likewise.
9090 * elf/dl-cache.c: Likewise.
9091 * elf/dl-minimal.c: Likewise.
9092 * elf/dl-misc.c: Likewise.
9093 * elf/dl-sysdep.c: Likewise.
9094 * elf/dl-version.c: Likewise.
9095 * elf/rtld.c: Likewise.
9096 * hurd/hurdsock.c: Likewise.
9097 * hurd/lookup-retry.c: Likewise.
9098 * malloc/malloc.c: Likewise.
9099 * malloc/mtrace.c: Likewise.
9100 * nscd/nscd_getgr_r.c: Likewise.
9101 * nscd/nscd_getpw_r.c: Likewise.
9102 * nscd/nscd_getserv_r.c: Likewise.
9103 * posix/getopt_init.c: Likewise.
9104 * posix/wordexp.c: Likewise.
9105 * stdio-common/_itoa.c: Likewise.
9106 * stdio-common/printf_fphex.c: Likewise.
9107 * stdio-common/vfprintf.c: Likewise.
9108 * string/_strerror.c: Likewise.
9109 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9110 * sysdeps/i386/i686/hp-timing.h: Likewise.
9111 * sysdeps/mach/_strerror.c: Likewise.
9112 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9113 * sysdeps/mach/hurd/sethostid.c: Likewise.
9114 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9115 * sysdeps/mach/xpg-strerror.c: Likewise.
9116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9118 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9119 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9120 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9121 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9124 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9125 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9126 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9130 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9133 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9134 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9135 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9136 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9137
9138 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9139
9140 * stdio-common/_itoa.h: Moved to ...
9141 * sysdeps/generic/_itoa.h: Here.
9142
9143 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9144
9145 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9146 instead of "_itoa.h" and "_itowa.h".
9147 * stdio-common/vfprintf.: Likewise.
9148
d1af992d
L
91492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9152 <bits/wordsize.h>.
9153 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9154 (__signbit): Likwise.
9155 (llrintf): Likwise.
9156 (llrint): Likwise.
9157
114883e0
L
91582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9159
9160 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9161 __WORDSIZE != 64.
9162
c135cc1b
JM
91632012-03-20 Joseph Myers <joseph@codesourcery.com>
9164
9165 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9166 OVERFLOW_EXCEPTION_OK.
9167 * math/libm-test.inc ("Philosophy"): Update comment about
9168 exception testing.
9169 (OVERFLOW_EXCEPTION): Define.
9170 (OVERFLOW_EXCEPTION_OK): Likewise.
9171 (INVALID_EXCEPTION_OK): Renumber.
9172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9173 (IGNORE_ZERO_INF_SIGN): Likewise.
9174 (test_exceptions): Handle FE_OVERFLOW.
9175 (exp10_test): Expect overflow exceptions.
9176 (exp2_test): Likewise.
9177 (expm1_test): Likewise.
9178 (nextafter_test): Likewise.
9179 (pow_test): Likewise.
9180 (scalbn_test): Likewise.
9181 (scalbln_test): Likewise.
9182
95443d88
L
91832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 * sysdeps/x86_64/bits/atomic.h
9186 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9187 64bit integer.
9188 (atomic_exchange_acq): Likewise.
9189 (__arch_exchange_and_add_body): Likewise.
9190 (__arch_add_body): Likewise.
9191 (atomic_add_negative): Likewise.
9192 (atomic_add_zero): Likewise.
9193
490df6c4
L
91942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9195
c2722551 9196 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9197 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9198
5e52b189
L
91992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9200
9201 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9202 Check __x86_64__ instead of __WORDSIZE.
9203
a9879d4c
L
92042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9207
5df98260
DM
92082012-03-19 David S. Miller <davem@davemloft.net>
9209
e1497744
DM
9210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9211
5df98260
DM
9212 * sysdeps/sparc/fpu/fenv_private.h: New file.
9213 * sysdeps/sparc/fpu/math_private.h: Use it.
9214 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9215 Remove.
9216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9217 (libc_feholdexcept_setroundl): Remove.
9218 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9219 Remove.
9220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9222
b4c35121
L
92232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9226 int64_t instead of long int.
9227 (INSERT_WORDS64): Likwise.
9228
56965fd7
L
92292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9230
9231 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9232 _Unwind_GetCFA return to _Unwind_Ptr first.
9233
83d1aec8
JM
92342012-03-19 Joseph Myers <joseph@codesourcery.com>
9235
1897ad44
JM
9236 [BZ #13629]
9237 * math/s_clog.c: Include <float.h>.
9238 (__clog): Scale large or subnormal inputs.
9239 * math/s_clogf.c: Likewise.
9240 * math/s_clogl.c: Likewise.
9241 * math/s_clog10.c: Include <float.h>.
9242 (M_LOG10_2): Define.
9243 (__clog10): Scale large or subnormal inputs.
9244 * math/s_clog10f.c: Likewise.
9245 * math/s_clog10l.c: Likewise.
9246 * math/libm-test.inc (clog_test): Add more tests.
9247 (clog10_test): Likewise.
9248 * sysdeps/i386/fpu/libm-test-ulps: Update.
9249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9250
7726d6a9
JM
9251 [BZ #11451]
9252 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9253 x and y.
9254 * math/libm-test.inc (atan2_test): Add another test.
9255
83d1aec8
JM
9256 * Makerules (common-objdir-compile): Remove.
9257 * sysdeps/unix/Makefile (config-generated): Do not add
9258 $(unix-generated) to variable.
9259 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9260 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9261 Remove rule.
9262 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9263 Likewise.
9264 [generic bits/local_lim.h] (before-compile): Do not append to
9265 variable.
9266 [generic bits/local_lim.h] (common-generated): Likewise.
9267 [generic sys/param.h] (before-compile): Do not append to variable.
9268 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9269 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9272 include.
9273 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9274 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9275 [generic sys/param.h] ($(addprefix
9276 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9277 [generic sys/param.h] (common-generated): Do not append to
9278 variable.
9279 [generic sys/param.h] (sysdep_headers): Likewise.
9280 [generic bits/errno.h] (before-compile): Do not append to
9281 variable.
9282 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9283 rule.
9284 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9285 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9286 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9287 [generic bits/errno.h] (common-generated): Do not append to
9288 variable.
9289 [generic bits/ioctls.h] (before-compile): Do not append to
9290 variable.
9291 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9292 rule.
9293 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9294 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9296 rule.
9297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9298 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9299 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9300 [generic bits/ioctls.h] (common-generated): Do not append to
9301 variable.
9302 [generic sys/syscall.h] (syscall.h): Remove variable.
9303 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9304 rule.
9305 [generic sys/syscall.h] (before-compile): Do not append to
9306 variable.
9307 [generic sys/syscall.h] (common-generated): Likewise.
9308 * sysdeps/unix/errnos-tmpl.c: Remove file.
9309 * sysdeps/unix/errnos.awk: Likewise.
9310 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9311 * sysdeps/unix/ioctls.awk: Likewise.
9312 * sysdeps/unix/mk-local_lim.c: Likewise.
9313 * sysdeps/unix/snarf-ioctls: Likewise.
9314
4851a949
RH
93152012-03-19 Richard Henderson <rth@twiddle.net>
9316
bd37f2ee
RH
9317 * sysdeps/i386/fpu/fenv_private.h: New file.
9318 * sysdeps/i386/fpu/math_private.h: Use it.
9319 (math_opt_barrier, math_force_eval): Remove.
9320 (libc_feholdexcept_setround_53bit): Remove.
9321 (libc_feupdateenv_53bit): Remove.
9322 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9323 (math_opt_barrier, math_force_eval): Remove.
9324 (libc_feholdexcept): Remove.
9325 (libc_feholdexcept_setround): Remove.
9326 (libc_fetestexcept, libc_fesetenv): Remove.
9327 (libc_feupdateenv_test): Remove.
9328 (libc_feupdateenv, libc_feholdsetround): Remove.
9329 (libc_feresetround): Remove.
9330
d0adc922
RH
9331 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9332 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9333
0fe0f1f8
RH
9334 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9335 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9336 (libc_feupdateenv_testl): New.
9337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9338 (libc_feupdateenv_testf): New.
9339 (libc_feupdateenv): Use libc_feupdateenv_test.
9340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9342
eb92c487
RH
9343 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9344 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9345 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9346 (libc_feresetround_noex): New.
9347 (libc_feresetround_noexf): New.
9348 (libc_feresetround_noexl): New.
9349 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9350 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9351 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9353 SET_RESTORE_ROUND.
9354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9356 (__cos): Likewise.
9357 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9359 SET_RESTORE_ROUND_NOEX.
9360 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9361 SET_RESTORE_ROUND_NOEXF.
9362 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9363 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9364 (libc_feholdsetroundf): New.
9365 (libc_feresetround, libc_feresetroundf): New.
9366
7d2e8012
RH
9367 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9368 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9369 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9370
b4dabbb4
RH
9371 * sysdeps/generic/math_private.h: Include <fenv.h>.
9372 (default_libc_feholdexcept): New.
9373 (default_libc_feholdexcept_setround): New.
9374 (default_libc_fesetenv, default_libc_feupdateenv): New.
9375 (libc_feholdexcept): Only define if undefined.
9376 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9378 (libc_feholdexcept_setroundl): Likewise.
9379 (libc_feholdexcept_setround_53bit): Likewise.
9380 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9383 (libc_feupdateenv_53bit): Likewise.
9384 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9385 (libc_feholdexcept): Convert from macro to inline function.
9386 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9387 (libc_fesetenv, libc_feupdateenv): Likewise.
9388
4851a949
RH
9389 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9390 not previously defined.
9391 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9392 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9393 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9395 * sysdeps/ieee754/flt-32/math_private.h: New file.
9396 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9397 math_private.h below SET_FLOAT_WORD.
9398 (__isnan, __isinf_ns, __finite): Remove.
9399 (__isnanf, __isinf_nsf, __finitef): Remove.
9400
e79d442e
AS
94012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9402
9403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9404
90b80344
DM
94052012-03-17 David S. Miller <davem@davemloft.net>
9406
9407 [BZ #6471]
9408 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9409 for 2.16.
9410
edc21804
DM
94112012-03-16 David S. Miller <davem@davemloft.net>
9412
77e927af
DM
9413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9414 warnings.
9415
374976dd
DM
9416 [BZ #6471]
9417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9418 properly.
9419 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9420 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9421 sysdep_routines when subdir is sysvipc.
9422 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9423 __getshmlba helper.
9424
edc21804
DM
9425 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9426
473c3ef3
L
94272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9430 [__LP64__].
9431
eb0f39b6
L
94322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9436 (__lround): Renamed to ...
9437 (__llround): This. Replace long int with long long int.
9438 Define lround functions as aliases of llround functions.
9439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9440
6b6cd74b
L
94412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9442
9443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9444 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9445 adresses to uintptr_t. Replace "long int" and "unsigned long
9446 int" with "greg_t" on va_arg.
9447
f1a77b01
L
94482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9449
9450 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9451 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9452
9453 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9454 Move e_machine check before EI_CLASS check. Handle x32
9455 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9456 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9457 SKIP_EM_IA_64 and include
9458 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9459
9460 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9461 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9462 (add_system_dir): New macro.
9463
9464 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9465 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9466
11b90b9f
JM
94672012-03-16 Joseph Myers <joseph@codesourcery.com>
9468
c36e1d23
JM
9469 [BZ #2551]
9470 [BZ #2552]
9471 [BZ #2553]
9472 [BZ #2554]
9473 [BZ #2562]
9474 [BZ #2563]
9475 [BZ #2565]
9476 [BZ #2566]
9477 [BZ #2576]
9478 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9479 (y0): Likewise.
9480 * math/w_j0f.c (j0f): Likewise.
9481 (y0f): Likewise.
9482 * math/w_j0l.c (__j0l): Likewise.
9483 (__y0l): Likewise.
9484 * math/w_j1.c (j1): Likewise.
9485 (y1): Likewise.
9486 * math/w_j1f.c (j1f): Likewise.
9487 (y1f): Likewise.
9488 * math/w_j1l.c (__j1l): Likewise.
9489 (__y1l): Likewise.
9490 * math/w_jn.c (jn): Likewise.
9491 (yn): Likewise.
9492 * math/w_jnf.c (jnf): Likewise.
9493 (ynf): Likewise.
9494 * math/w_jnl.c (__jnl): Likewise.
9495 (__ynl): Likewise.
9496 * math/libm-test.inc (j0_test): Add more tests.
9497 (j1_test): Likewise.
9498 (jn_test): Likewise. Add trailing semicolon to existing test.
9499 (y0_test): Likewise.
9500 (y1_test): Likewise.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503
11b90b9f
JM
9504 [BZ #13851]
9505 [BZ #13854]
9506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9507 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9508 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9510 (__tanl): Set errno for infinite argument.
9511 * sysdeps/i386/fpu/mptan.c: Remove.
9512 * sysdeps/i386/fpu/s_tan.S: Likewise.
9513 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9514 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9515 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9516 * math/libm-test.inc (tan_test): Add more tests and enable more
9517 tests for double and long double.
9518 * sysdeps/i386/fpu/libm-test-ulps: Update.
9519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9520
6a1bd2a1
JK
95212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9522
9523 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9524 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9525
10a803e0
RM
95262012-03-16 Roland McGrath <roland@hack.frob.com>
9527
9528 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9529 * configure.in: Use it for both main tree and add-ons.
9530 * configure: Regenerated.
9531
f196c7f7
L
95322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9535
8848d99d
JM
95362012-03-16 Joseph Myers <joseph@codesourcery.com>
9537
96cbe7f4
JM
9538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9539 in comment.
9540
8848d99d
JM
9541 [BZ #13851]
9542 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9543 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9547 infinite argument.
9548 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9550 != 0 for prec == 2.
9551 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9552 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9553 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9554 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9555 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9556 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9557 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9558 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9559 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9560 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9561 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9562 * math/libm-test.inc (cos_test): Add more tests and enable more
9563 tests for long double.
9564 (sin_test): Likewise.
9565 (sincos_test): Likewise.
9566 * sysdeps/i386/fpu/libm-test-ulps: Update.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9568
dd7f4703
DM
95692012-03-16 David S. Miller <davem@davemloft.net>
9570
9571 * sysdeps/sparc/fpu/math_private.h: New file.
9572
006f1daa
DM
95732012-03-15 David S. Miller <davem@davemloft.net>
9574
c0c83bc8
DM
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9576 file.
e6a62e18 9577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9579 file.
e6a62e18
DM
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9585 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9586 sysdep routines.
9587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9588
88cb87d9
DM
9589 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9590 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9591
006f1daa 9592 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9594 sparc-ifunc.h
006f1daa 9595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9597 Likewise.
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9599 Likewise.
006f1daa
DM
9600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9604 Likewise.
006f1daa
DM
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9610 Likewise.
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9612 Likewise.
006f1daa
DM
9613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9637
11e0098e
AS
96382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9639
9640 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9641 scaling.
9642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9643
e85b09d0
AJ
96442012-03-15 Andreas Jaeger <aj@suse.de>
9645
9646 [BZ #13852]
9647 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9648 ieee754/flt-32 implementation for sin, cos and sincos.
9649 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9650 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9651 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9652 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9653 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9654 ieee754/flt-32 implementation for tan.
9655
9656 * math/libm-test.inc (cos_test): Enable some large input tests for
9657 float as well
9658 (sin_test): Likewise.
9659 (sincos_test): Likewise.
9660 (tan_test): Add tests for large input.
9661
9662 * sysdeps/i386/fpu/libm-test-ulps: Update.
9663
81c64153
AJ
96642012-03-15 Andreas Jaeger <aj@suse.de>
9665
9666 [BZ #13658]
9667 * math/libm-test.inc (cos_test): Add more test cases.
9668 (sin_test): Likewise.
9669 (sincos_test): Likewise.
9670
7bbfa5c6
AJ
96712012-03-15 Andreas Jaeger <aj@suse.de>
9672
9673 [BZ #13837]
9674 * math/libm-test.inc (cos_test): Add a test case for large input
9675 value.
9676 (sin_test): Likewise.
9677 (sincos_test): Likewise.
9678
96792012-03-15 Andreas Jaeger <aj@suse.de>,
9680 Joseph Myers <joseph@codesourcery.com>
9681
9682 [BZ #13658]
0671f479 9683 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9684 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9685 * sysdeps/i386/fpu/branred.c: Likewise.
9686 * sysdeps/i386/fpu/dosincos.c: Likewise.
9687 * sysdeps/i386/fpu/mpa.c: Likewise.
9688 * sysdeps/i386/fpu/s_cos.S: Likewise.
9689 * sysdeps/i386/fpu/s_sin.S: Likewise.
9690 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9691 * sysdeps/i386/fpu/sincos32.c: Likewise.
9692
9693 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9694 Define.
9695 (libc_feupdateenv_53bit): Define.
9696 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9697 Define.
9698 (libc_feupdateenv_53bit): Define.
9699
9700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9701 53 bit (without extend i386 double precision).
9702
9703 * math/libm-test.inc (sincos_test): Add tests for large input.
9704 (sin): Likewise.
9705 (cos): Likewise.
9706
9707 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9708
9cad04ea
AS
97092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9710
9711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9712
f7062b9a
DM
97132012-03-15 David S. Miller <davem@davemloft.net>
9714
9715 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9716 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9718 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9731 file.
f7062b9a 9732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9734 file.
f7062b9a 9735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9737 file.
f7062b9a 9738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9740 file.
f7062b9a
DM
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9743 fmin/fmax sysdep routines.
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9745
7bd951ff
DM
97462012-03-14 David S. Miller <davem@davemloft.net>
9747
559398ab
DM
9748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9777 routines.
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9779 file.
559398ab 9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9782 file.
559398ab 9783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9785 file.
559398ab 9786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9788 file.
559398ab 9789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9791 file.
559398ab 9792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9794 file.
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9796 file.
9797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9798 file.
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9800 file.
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9802 New file.
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9804 file.
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9806 file.
559398ab 9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9809 file.
559398ab 9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9812 file.
559398ab 9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9815 file.
559398ab 9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9818 VIS3 routines.
559398ab
DM
9819
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9821 New file.
9822
5a1c1e32
DM
9823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9824
eae47a36
DM
9825 * sysdeps/sparc/configure.in: New file.
9826 * sysdeps/sparc/configure: Generate.
9827 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9828 * configure: Regenerate.
9829 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9830 * config.make.in (have-as-vis3): New.
9831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9832 available use -Av9d instead of -Av9a.
9833 * sysdeps/sparc/sparc64/Makefile: Likewise.
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9836 New file.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9838 file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9840 New file.
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9842 file.
eae47a36
DM
9843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9848
c0c83bc8
DM
9849 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9850 fzeros/fnegs to load 0x80000000 into a float register instead of
9851 using the stack.
7bd951ff
DM
9852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9853
bd951ccb
JM
98542012-03-14 Joseph Myers <joseph@codesourcery.com>
9855
9856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9857 bits/syscall.h.
9858 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9859 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9860 ($(inst_includedir)/bits/syscall.h): Remove rule.
9861 ($(objpfx)bits/syscall.d): Include instead of
9862 $(objpfx)syscall-list.d.
9863 (generated): Change syscall-list.h and syscall-list.d to
9864 bits/syscall.h and bits/syscall.d.
9865
bb4e6db2
RM
98662012-03-14 Roland McGrath <roland@hack.frob.com>
9867
9868 [BZ #13846]
9869 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9870
aa4a2ae1
JM
98712012-03-14 Joseph Myers <joseph@codesourcery.com>
9872
e456826d
JM
9873 [BZ #13841]
9874 * math/s_csqrt.c: Include <float.h>.
9875 (__csqrt): Scale large or subnormal inputs.
9876 * math/s_csqrtf.c: Likewise.
9877 * math/s_csqrtl.c: Likewise.
9878 * math/libm-test.inc (csqrt_test): Add more tests.
9879 * sysdeps/i386/fpu/libm-test-ulps: Update.
9880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9881
aa4a2ae1
JM
9882 [BZ #13840]
9883 * math/libm-test.inc (hypot_test): Add more tests.
9884
7c10fd35
DM
98852012-03-13 David S. Miller <davem@davemloft.net>
9886
9887 [BZ #13840]
9888 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9889 double-precision for the calculation instead of scaling.
9890
f453b98b
JM
98912012-03-13 Joseph Myers <joseph@codesourcery.com>
9892
9893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9894 manipulate bits before adding and subtracting TWO52[sx].
9895 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9897 Likewise.
9898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9899
09a3453f
DM
99002012-03-13 David S. Miller <davem@davemloft.net>
9901
8e59da90
DM
9902 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9903 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9905 rtld-global-offsets.h
9906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9907
2a8ab7f2
DM
9908 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9909 large parameters.
9910
10f62770
DM
9911 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9912
5f0bdb18
DM
9913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9914 'err' in the ifdef scope in which it is actually used.
9915
09a3453f
DM
9916 * nss/nss_db/db-init.c: Include string.h
9917
b4b2eb5e
DM
99182012-03-12 David S. Miller <davem@davemloft.net>
9919
98bb2f1c
DM
9920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9921 masking out of the most significant byte of random value used.
9922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9923 Fix coding style in previous change.
9924
b4b2eb5e
DM
9925 * sysdeps/unix/sysv/linux/kernel-features.h
9926 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9927 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9928 expression.
9929 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9930 later.
9931
6e226b09
DM
99322012-03-11 David S. Miller <davem@davemloft.net>
9933
a1bcbd40
DM
9934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9935 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9937 for 'resultvar' otherwise things get truncated on 64-bit.
9938
cb9d6174
DM
9939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9940 Fix masking out of the most significant byte of random value used.
9941
6e226b09
DM
9942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9943
058c132d
AS
99442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9945
9946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9947
2d2cd515
DM
99482012-03-09 David S. Miller <davem@davemloft.net>
9949
9950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9951 variables with appropriate CPP guards.
9952 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9953 frame pointer, not the stack pointer. Correct layout comments. Fix test
9954 on resulting framesize and the management of the outregs buffer for pltexit.
9955 Preserve floating point return values across _dl_call_pltexit call.
9956 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9957 framesize and the management of the outregs buffer for pltexit.
9958 Preserve floating point return values across _dl_call_pltexit
9959 call.
9960 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9961 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9962 (print_exit): Fix format string for return register value.
9963
9a07f9d0
JM
99642012-03-10 Joseph Myers <joseph@codesourcery.com>
9965
9966 * sunrpc/Makefile (others): Add rpcgen.
9967 ($(objpfx)rpcgen): Remove special build rule and dependency on
9968 libc.
9969 * sunrpc/rpcgen.c: New file.
9970
547b5e30
PE
99712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9972
c524201a
PE
9973 [BZ #13673]
9974 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9975 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9976 * sysdeps/i386/crti.S: Likewise.
9977 * sysdeps/i386/crtn.S: Likewise.
9978 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9979 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9980 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9981 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9982 * sysdeps/sh/crti.S: Likewise.
9983 * sysdeps/sh/crtn.S: Likewise.
9984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9985
7b6235f2
PE
9986 [BZ #13673]
9987 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9988 with URL.
9989 * locale/programs/locfile-kw.gperf: Likewise.
9990 * locale/programs/charmap-kw.h: Regenerated.
9991 * locale/programs/locfile-kw.h: Likewise.
9992
547b5e30
PE
9993 [BZ #13673]
9994 * intl/plural.y: Replace FSF snail mail address with URL.
9995 * intl/plural.c: Regenerated.
9996
5f0a5dae
RH
99972012-03-09 Richard Henderson <rth@twiddle.net>
9998
9999 * include/math_private.h: Remove file.
10000 * math/math_private.h: Move file ...
10001 * sysdeps/generic/math_private.h: ... here.
10002
b8c03620
RH
10003 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10004 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10005 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10006
4e234f5d 10007 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10008 and <math_private.h>.
10009 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10010 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10011 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10012 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10013 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10097 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10099 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10100 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10103 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10114 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10115 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10116 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10117 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10128 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10130 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10132 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10133 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10137 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10155 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10156 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10158 * sysdeps/ieee754/k_standard.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10286 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10319 * sysdeps/ieee754/s_lib_version.c: Likewise.
10320 * sysdeps/ieee754/s_matherr.c: Likewise.
10321 * sysdeps/ieee754/s_signgam.c: Likewise.
10322 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10323 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10324 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10325 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10326 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10327 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10328 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10329 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10330 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10331 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10332 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10333 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10334 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10336 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10339 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10343
1991fa03
JM
103442012-03-09 Joseph Myers <joseph@codesourcery.com>
10345
10346 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10347 * sunrpc/rpc_main.c: Likewise.
10348 * sunrpc/rpc_svcout.c: Likewise.
10349
60d6f5a6
DM
103502012-03-09 David S. Miller <davem@davemloft.net>
10351
10352 * include/math_private.h: New file.
10353
4962050e
JM
103542012-03-09 Joseph Myers <joseph@codesourcery.com>
10355
02a6f887
JM
10356 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10357 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10358 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10359 from <bits/socket_type.h>.
10360 (enum __socket_type): Don't define here.
10361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10363 bits/socket_type.h.
10364
c6e013c1
JM
10365 [BZ #13566]
10366 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10367 checking __USE_GNU.
10368
4962050e
JM
10369 * Makerules ($(inst_includedir)/%.h): New rule.
10370 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10371 (install-others): Remove variable setting.
10372 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10373
38842f45
RH
103742012-03-08 Richard Henderson <rth@twiddle.net>
10375
67bb6da6
RH
10376 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10377 from macro to inline function; merge with the
10378 !__LIBC_INTERNAL_MATH_INLINES version.
10379 (__ieee754_sqrtf): Likewise.
10380
15194b4b
RH
10381 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10382 to inline function.
10383 (__rintf, __floor, __floorf): Likewise.
10384
64e21ede
RH
10385 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10386 macro to inline function.
10387 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10388
38842f45
RH
10389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10390 not <math/math_private.h>.
10391
c64bf5fe
DM
103922012-03-08 David S. Miller <davem@davemloft.net>
10393
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10395 copyright year.
10396 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10397
82d86f28
TS
103982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10399
10400 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10401 normalization.
10402 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10403 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10404
aea5d727
UD
104052012-03-08 Ulrich Drepper <drepper@gmail.com>
10406
10407 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10408 be defined individually, they must be defined as a block. Define
10409 S for printing a string instead of hidint the different by using a
10410 macro for adding the 'l'.
10411 * stdio-common/tst-fphex-wide.c: Adjust.
10412
70bca0a3
MP
104132012-03-07 Marek Polacek <polacek@redhat.com>
10414
10415 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10416
65b81130
MP
104172012-03-08 Marek Polacek <polacek@redhat.com>
10418
10419 [BZ #13806]
10420 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10421 * stdio-common/tst-fphex.c: Define a few macros to make the
10422 test reusable. Use them.
10423 * stdio-common/tst-fphex-wide.c: New file.
10424
07037eeb
JM
104252012-03-08 Joseph Myers <joseph@codesourcery.com>
10426
a7a93d50
JM
10427 [BZ #6911]
10428 * manual/macros.texi (gnusystems): New macro.
10429 (nongnusystems): Likewise.
10430 (gnulinuxhurdsystems): Likewise.
10431 (gnuhurdsystems): Likewise..
10432 (gnulinuxsystems): Likewise.
10433 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10434 variants of the GNU system, not "GNU system".
10435 * manual/conf.texi: Likewise.
10436 * manual/errno.texi: Likewise. Update example of errno macro
10437 expansion.
10438 * manual/filesys.texi: Likewise.
10439 (getumask): Document as specific to GNU/Hurd.
10440 * manual/install.texi: Likewise. Reword some references to
10441 GNU/Linux.
10442 * manual/intro.texi: Likewise.
10443 * manual/io.texi: Likewise.
10444 (File Name Portability): Detail which constraints are inapplicable
10445 to all GNU systems and which are only inapplicable to GNU/Hurd.
10446 * manual/job.texi: Likewise.
10447 * manual/llio.texi: Likewise.
10448 (O_NOCTTY): Document as present on GNU/Linux.
10449 * manual/maint.texi: Likewise.
10450 * manual/memory.texi: Likewise.
10451 * manual/pattern.texi: Likewise.
10452 * manual/pipe.texi: Likewise.
10453 * manual/process.texi: Likewise.
10454 * manual/resource.texi: Likewise.
10455 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10456 child on GNU/Hurd.
10457 * manual/setjmp.texi: Likewise.
10458 * manual/signal.texi: Likewise.
10459 * manual/startup.texi: Likewise.
10460 * manual/stdio.texi: Likewise.
10461 * manual/terminal.texi: Likewise.
10462 (ONLCR): Document as POSIX.
10463 (OXTABS): Document availability on GNU/Linux as XTABS.
10464 (ONOEOT): Document availability separately from other bits.
10465 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10466 * manual/time.texi: Likewise.
10467 * manual/users.texi: Likewise.
10468 * INSTALL: Regenerated.
10469 * sysdeps/gnu/errlist.c: Regenerated.
10470
07037eeb
JM
10471 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10472 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10473 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10474 puts.
10475 * configure: Regenerated.
10476
d1d3431a
JM
104772012-03-07 Joseph Myers <joseph@codesourcery.com>
10478
af6a1e37
JM
10479 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10480 default includes instead of AC_HEADER_CHECK.
10481 * sysdeps/i386/configure: Regenerated.
10482
d1d3431a
JM
10483 [BZ #10716]
10484 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10485 * math/s_cacoshf.c (__cacoshf): Likewise.
10486 * math/s_cacoshl.c (__cacoshl): Likewise.
10487 * math/s_casinh.c (__casinh): Set signs of result from argument.
10488 * math/s_casinhf.c (__casinhf): Likewise.
10489 * math/s_casinhl.c (__casinhl): Likewise.
10490 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10491 (casinh_test): Add more tests.
10492 * sysdeps/i386/fpu/libm-test-ulps: Update.
10493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10494
482ff4da
UD
104952012-03-07 Ulrich Drepper <drepper@gmail.com>
10496
872fda05
UD
10497 * po/zh_TW.po: Update from translation team.
10498
a4300c7a
UD
10499 * login/Makefile (distribute): Remove variable.
10500 * catgets/Makefile: Likewise.
10501 * mach/Makefile: Likewise.
10502 * malloc/Makefile: Likewise.
10503 * misc/Makefile: Likewise.
10504 * iconv/Makefile: Likewise.
10505 * nscd/Makefile: Likewise.
10506 * hurd/Makefile: Likewise.
10507 * manual/Makefile: Likewise.
10508 * locale/Makefile: Likewise.
10509 * intl/Makefile: Likewise.
10510 * conform/Makefile: Likewise.
10511 * nss/Makefile: Likewise.
10512 * time/Makefile: Likewise.
10513 * soft-fp/Makefile: Likewise.
10514 * dirent/Makefile: Likewise.
10515 * gmon/Makefile: Likewise.
10516 * po/Makefile: Likewise.
10517 * rt/Makefile: Likewise.
10518 * socket/Makefile: Likewise.
10519 * math/Makefile: Likewise.
10520 * signal/Makefile: Likewise.
10521 * debug/Makefile: Likewise.
10522 * elf/Makefile: Likewise.
10523 * timezone/Makefile: Likewise.
10524 * stdlib/Makefile: Likewise.
10525 * iconvdata/Makefile: Likewise.
10526 * sunrpc/Makefile: Likewise.
10527 * io/Makefile: Likewise.
10528 * argp/Makefile: Likewise.
10529 * inet/Makefile: Likewise.
10530 * hesiod/Makefile: Likewise.
10531 * grp/Makefile: Likewise.
10532 * csu/Makefile: Likewise.
10533 * wctype/Makefile: Likewise.
10534 * crypt/Makefile: Likewise.
10535 * libio/Makefile: Likewise.
10536 * string/Makefile: Likewise.
10537 * nis/Makefile: Likewise.
10538 * resolv/Makefile: Likewise.
10539 * stdio-common/Makefile: Likewise.
10540 * wcsmbs/Makefile: Likewise.
10541 * dlfcn/Makefile: Likewise.
10542 * posix/Makefile: Likewise.
10543
3b7c4e74 10544 [BZ #6959]
482ff4da
UD
10545 * timezone/Makefile: Don't install timezone files, just the programs
10546 and scripts.
10547
f72ed77d
UD
105482012-03-06 Ulrich Drepper <drepper@gmail.com>
10549
a000466f
UD
10550 * nss/databases.def: Add missing gshadow entry.
10551
f72ed77d
UD
10552 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10553
a53b7a4e
MP
105542012-03-06 Marek Polacek <polacek@redhat.com>
10555
10556 [BZ #13726]
10557 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10558 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10559 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10560 * stdio-common/tst-long-dbl-fphex.c: New file.
10561
e9258400
DM
105622012-03-06 David S. Miller <davem@davemloft.net>
10563
10564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10565 (set_obp_int): New function.
10566 (get_obp_int): New function.
10567 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10569 Avoid unused variable warnings on 'val' and use builtin_expect.
10570 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10571 __builtin_expect.
e9258400
DM
10572 (INLINE_CLONE_SYSCALL): Likewise.
10573
3bd2c723
DM
105742012-03-05 David S. Miller <davem@davemloft.net>
10575
10576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10577
bbb78d03
AS
105782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10579
884c5db4
AS
10580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10581
bbb78d03
AS
10582 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10583 only for |x| >= 40.
10584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10585
1c9f702a 105862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10587
10588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10589 Replace gettimeofday with __vdso_gettimeofday.
10590
7be16f82
RM
10591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10592 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10593 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10594
10595 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10596 time with __vdso_time.
10597
ed58a00f
JM
105982012-03-05 Joseph Myers <joseph@codesourcery.com>
10599
10600 * manual/lang.texi (size_t): Note types to which size_t may be
10601 equivalent with the GNU C Library, but do not describe when
10602 differences between them are significant.
10603
30ee4ced
AJ
106042012-03-05 Andreas Jaeger <aj@suse.de>
10605
10606 * sysdeps/i386/fpu/libm-test-ulps: Update.
10607
b7cd39e8
JM
106082012-03-05 Joseph Myers <joseph@codesourcery.com>
10609
10610 [BZ #3976]
10611 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10612 (__ieee754_pow): Save and restore rounding mode and use
10613 round-to-nearest for main computations.
10614 * math/libm-test.inc (pow_test_tonearest): New function.
10615 (pow_test_towardzero): Likewise.
10616 (pow_test_downward): Likewise.
10617 (pow_test_upward): Likewise.
10618 (main): Call the new functions.
10619 * sysdeps/i386/fpu/libm-test-ulps: Update.
10620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10621
10622 [BZ #3976]
10623 * math/libm-test.inc (cosh_test_tonearest): New function.
10624 (cosh_test_towardzero): Likewise.
10625 (cosh_test_downward): Likewise.
10626 (cosh_test_upward): Likewise.
10627 (sinh_test_tonearest): Likewise.
10628 (sinh_test_towardzero): Likewise.
10629 (sinh_test_downward): Likewise.
10630 (sinh_test_upward): Likewise.
10631 (main): Call the new functions.
10632 * sysdeps/i386/fpu/libm-test-ulps: Update.
10633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634
6c6a98c9
TV
106352012-03-05 Tom de Vries <tom@codesourcery.com>
10636
10637 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10638 default stack guard is set in last bytes.
10639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10640
21bb2d2e 106412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10642
21bb2d2e 10643 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10644
21bb2d2e
AJ
10645 [BZ #13656]
10646 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10647 possibly allocate from heap instead of stack.
10648 * stdio-common/bug-vfprintf-nargs.c: New file.
10649 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10650
c6922934
AS
106512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10652
10653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10654
bc957d53
MP
106552012-03-03 Marek Polacek <polacek@redhat.com>
10656
10657 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10658 * math/math_private.h: Likewise.
10659 * stdlib/tst-strtod.c: Likewise.
10660 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10661 * sysdeps/x86_64/bits/atomic.h: Likewise.
10662
6358490d
DM
106632012-03-02 David S. Miller <davem@davemloft.net>
10664
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10669 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10670 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10671 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10673
01ae168d
RM
106742012-03-02 Roland McGrath <roland@hack.frob.com>
10675
d9a17c07
RM
10676 [BZ #13792]
10677 * manual/examples/README: New file, says the example source files
10678 can be used under GPL>=2.
10679 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10680 line containing just "*/".
10681 * manual/examples/add.c: Add copyright header (GPL>=2).
10682 * manual/examples/argp-ex1.c: Likewise.
10683 * manual/examples/argp-ex2.c: Likewise.
10684 * manual/examples/argp-ex3.c: Likewise.
10685 * manual/examples/argp-ex4.c: Likewise.
10686 * manual/examples/atexit.c: Likewise.
10687 * manual/examples/db.c: Likewise.
10688 * manual/examples/dir.c: Likewise.
10689 * manual/examples/dir2.c: Likewise.
10690 * manual/examples/execinfo.c: Likewise.
10691 * manual/examples/filecli.c: Likewise.
10692 * manual/examples/filesrv.c: Likewise.
10693 * manual/examples/fmtmsgexpl.c: Likewise.
10694 * manual/examples/genpass.c: Likewise.
10695 * manual/examples/inetcli.c: Likewise.
10696 * manual/examples/inetsrv.c: Likewise.
10697 * manual/examples/isockad.c: Likewise.
10698 * manual/examples/longopt.c: Likewise.
10699 * manual/examples/memopen.c: Likewise.
10700 * manual/examples/memstrm.c: Likewise.
10701 * manual/examples/mkfsock.c: Likewise.
10702 * manual/examples/mkisock.c: Likewise.
10703 * manual/examples/mygetpass.c: Likewise.
10704 * manual/examples/pipe.c: Likewise.
10705 * manual/examples/popen.c: Likewise.
10706 * manual/examples/rprintf.c: Likewise.
10707 * manual/examples/search.c: Likewise.
10708 * manual/examples/select.c: Likewise.
10709 * manual/examples/setjmp.c: Likewise.
10710 * manual/examples/sigh1.c: Likewise.
10711 * manual/examples/sigusr.c: Likewise.
10712 * manual/examples/stpcpy.c: Likewise.
10713 * manual/examples/strdupa.c: Likewise.
10714 * manual/examples/strftim.c: Likewise.
10715 * manual/examples/strncat.c: Likewise.
10716 * manual/examples/subopt.c: Likewise.
10717 * manual/examples/swapcontext.c: Likewise.
10718 * manual/examples/termios.c: Likewise.
10719 * manual/examples/testopt.c: Likewise.
10720 * manual/examples/testpass.c: Likewise.
10721 * manual/examples/timeval_subtract.c: Likewise.
10722
01ae168d
RM
10723 [BZ #13792]
10724 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10725 function to ...
10726 * manual/timeval_subtract.c.texi: ... here, new file.
10727
49efa33d
DM
107282012-03-02 David S. Miller <davem@davemloft.net>
10729
10730 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10731
28afd92d
JM
107322012-03-02 Joseph Myers <joseph@codesourcery.com>
10733
804360ed
JM
10734 [BZ #3976]
10735 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10736 (__sin): Save and restore rounding mode and use round-to-nearest
10737 for all computations.
10738 (__cos): Save and restore rounding mode and use round-to-nearest
10739 for all computations.
10740 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10741 <fenv.h>.
10742 (tan): Save and restore rounding mode and use round-to-nearest for
10743 all computations.
10744 * math/libm-test.inc (cos_test_tonearest): New function.
10745 (cos_test_towardzero): Likewise.
10746 (cos_test_downward): Likewise.
10747 (cos_test_upward): Likewise.
10748 (sin_test_tonearest): Likewise.
10749 (sin_test_towardzero): Likewise.
10750 (sin_test_downward): Likewise.
10751 (sin_test_upward): Likewise.
10752 (tan_test_tonearest): Likewise.
10753 (tan_test_towardzero): Likewise.
10754 (tan_test_downward): Likewise.
10755 (tan_test_upward): Likewise.
10756 (main): Call the new functions.
10757 * sysdeps/i386/fpu/libm-test-ulps: Update.
10758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10759
a6d06d7b
JM
10760 [BZ #10135]
10761 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10762 small n, then large n, before computing and testing k+n.
10763 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10765 Likewise.
10766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10767 Likewise.
10768 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10769 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10774 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10776 * math/libm-test.inc (scalbn_test): Add more tests.
10777 (scalbln_test): Likewise.
10778
07e12bb3
JM
10779 * manual/filesys.texi (mode_t): Describe constraints on size and
10780 signedness, not exact equivalence to a particular type.
10781 (ino_t): Likewise.
10782 (ino64_t): Likewise.
10783 (dev_t): Likewise.
10784 (nlink_t): Likewise.
10785 (blkcnt_t): Likewise.
10786 (blkcnt64_t): Likewise.
10787 * manual/llio.texi (off_t): Likewise.
10788
28afd92d
JM
10789 [BZ #3976]
10790 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10791 (__ieee754_exp): Save and restore rounding mode and use
10792 round-to-nearest for all computations.
10793 * math/libm-test.inc (exp_test_tonearest): New function.
10794 (exp_test_towardzero): Likewise.
10795 (exp_test_downward): Likewise.
10796 (exp_test_upward): Likewise.
10797 (main): Call the new functions.
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10800
b1eeb65d
CD
108012012-03-01 Chris Demetriou <cgd@google.com>
10802
10803 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10804 have predictable order.
10805
53362a4b
DM
108062012-03-01 David S. Miller <davem@davemloft.net>
10807
3c969083
DM
10808 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10809
759707de
DM
10810 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10811 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10812 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10813 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10814
dfdb8ff2
DM
10815 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10816 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10817 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10819 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10820 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10821 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10822 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10824
ead89f96
DM
10825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10826
7f66bd07
DM
10827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10828 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10830
53362a4b
DM
10831 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10832 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10833 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10834 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10835 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10838 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10839 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10840 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10841 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10845 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10847 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10848 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10849 * sysdeps/sparc/elf/configure: Regenerated.
10850
7b1902cb
JM
108512012-03-01 Joseph Myers <joseph@codesourcery.com>
10852
bec039bc
JM
10853 * configure.in (AS, LD): Require binutils 2.20 or later.
10854 * configure: Regenerated.
10855 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10856 as required minimum version.
10857 * INSTALL: Regenerated.
10858
7b1902cb
JM
10859 [BZ #2541]
10860 [BZ #4108]
10861 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10862 before squaring exponent.
10863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10864 bottom long double and 27 bits of top long double before squaring
10865 exponent.
10866 * math/libm-test.inc (erfc_test): Add more tests.
10867 * sysdeps/i386/fpu/libm-test-ulps: Update.
10868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10870
f775c276
KT
108712012-03-01 Kai Tietz <ktietz@redhat.com>
10872
10873 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10874 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10875 containing bit-fields.
10876 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10877 * soft-fp/single.h (_FP_UNION_S): Likewise.
10878 * soft-fp/double.h (_FP_UNION_D): Likewise.
10879
5b8a4d4a
JM
108802012-02-29 Joseph Myers <joseph@codesourcery.com>
10881
0bab47b6
JM
10882 [BZ #13786]
10883 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10884 not include ../strcmp.S.
10885 [USE_AS_STRNCASECMP_L]: Likewise.
10886 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10887 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10888 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10889 (__strncasecmp_l_ia32): Define as alias to
10890 __strncasecmp_l_nonascii.
10891
0fcad3e2
JM
10892 [BZ #5794]
10893 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10894 * sysdeps/i386/fpu/libm-test-ulps: Update.
10895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896
5b8a4d4a
JM
10897 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10899
8fdceb2e
JL
109002012-02-29 Jeff Law <law@redhat.com>
10901
10902 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10903 out of bounds read.
10904
1f393a11
MP
109052012-02-29 Marek Polacek <polacek@redhat.com>
10906
10907 [BZ #13706]
10908 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10909 * elf/Makefile: Add rules to run tst-unused-dep.out.
10910
8847f037
DM
109112012-02-28 David S. Miller <davem@davemloft.net>
10912
10913 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10914 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10917 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10918 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10919
169d7f11
JM
109202012-02-29 Joseph Myers <joseph@codesourcery.com>
10921
10922 * math/libm-test.inc (llround_test): Move one test from
10923 lround_test. Use TEST_f_L in moved test.
10924 (lround_test): Move misplaced test to llround_test. Add testcase
10925 from bug 2561.
10926
39adf059
UD
109272012-02-28 Ulrich Drepper <drepper@gmail.com>
10928
10929 * sysdeps/x86_64/fpu/e_expf.S: New file.
10930 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10931
71b5d1c5
SB
109322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10933
10934 [BZ #13637]
10935 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10936 of remain_len that may cause incomplete multi-byte character and
10937 false match.
10938 * posix/bug-regex33.c: New file.
10939 * posix/Makefile (tests): Add bug-regex33.
10940
1f77f049
JM
109412012-02-28 Joseph Myers <joseph@codesourcery.com>
10942
10943 * manual/macros.texi: New file.
10944 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10945 * manual/libc.texinfo: Include macros.texi.
10946 * manual/creatute.texi: Likewise.
10947 * manual/install.texi: Likewise.
10948 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10949 @glibcadj{} in references to the GNU C Library.
10950 * manual/charset.texi: Likewise.
10951 * manual/conf.texi: Likewise.
10952 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10953 when not using those macros.
10954 * manual/creature.texi: Likewise.
10955 * manual/crypt.texi: Likewise.
10956 * manual/errno.texi: Likewise.
10957 * manual/filesys.texi: Likewise.
10958 * manual/header.texi: Likewise.
10959 * manual/install.texi: Likewise.
10960 * manual/intro.texi: Likewise.
10961 * manual/io.texi: Likewise.
10962 * manual/job.texi: Likewise.
10963 * manual/lang.texi: Likewise.
10964 * manual/libc.texiinfo: Likewise.
10965 * manual/llio.texi: Likewise.
10966 * manual/locale.texi: Likewise.
10967 * manual/maint.texi: Likewise.
10968 * manual/math.texi: Likewise.
10969 * manual/memory.texi: Likewise.
10970 * manual/message.texi: Likewise.
10971 * manual/nss.texi: Likewise.
10972 * manual/pattern.texi: Likewise.
10973 * manual/process.texi: Likewise.
10974 * manual/resource.texi: Likewise.
10975 * manual/search.texi: Likewise.
10976 * manual/setjmp.texi: Likewise.
10977 * manual/signal.texi: Likewise.
10978 * manual/socket.texi: Likewise.
10979 * manual/startup.texi: Likewise.
10980 * manual/stdio.texi: Likewise.
10981 * manual/string.texi: Likewise.
10982 * manual/sysinfo.texi: Likewise.
10983 * manual/syslog.texi: Likewise.
10984 * manual/terminal.texi: Likewise.
10985 * manual/time.texi: Likewise.
10986 * manual/users.texi: Likewise.
10987 * INSTALL: Regenerated.
10988 * NOTES: Regenerated.
d40c5d54 10989 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10990
450bf206
AS
109912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10992
10993 * include/dirent.h: Include <dirstream.h> before
10994 <dirent/dirent.h>.
10995
741a235b
DM
109962012-02-28 David S. Miller <davem@davemloft.net>
10997
10998 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10999 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11000 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11001 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11002
d6b5aa58
DM
110032012-02-27 David S. Miller <davem@davemloft.net>
11004
1aff59a3
DM
11005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11007 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11008 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11009
d6b5aa58
DM
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11011 frame pointer instead of stack pointer relative arg slot.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11015
433f48bf
CD
110162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11017
11018 [BZ #3992]
11019 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11020
d674b76d
DM
110212012-02-27 David S. Miller <davem@davemloft.net>
11022
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11027 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11028 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11029 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11030 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11031
0e7727f7
JM
110322012-02-27 Joseph Myers <joseph@codesourcery.com>
11033
11034 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11035 later. Allow versions 5-9.
43be4ca2 11036 * configure: Regenerated.
0e7727f7
JM
11037 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11038 required minimum version and 4.6 as recommended version. Do not
11039 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11040 * INSTALL: Regenerated.
0e7727f7 11041
a78bc654
DM
110422012-02-27 David S. Miller <davem@davemloft.net>
11043
428d5830
DM
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11048 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11049 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11050 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11051 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11052
a78bc654
DM
11053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11054 manipulate bits before adding and subtracting TWO112[sx].
11055 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11056
4579f81c
RM
110572012-02-27 Roland McGrath <roland@hack.frob.com>
11058
36c8acb4
RM
11059 [BZ #13775]
11060 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11061 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11062 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11063 being in POSIX, because they are in 1003.1-2008.
11064
84ad622b
RM
11065 * rt/tst-aio.c: Include <fcntl.h>.
11066 * rt/tst-aio7.c: Likewise.
11067 * rt/tst-aio64.c: Likewise.
11068
4579f81c
RM
11069 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11070
abd923db
JM
110712012-02-27 Joseph Myers <joseph@codesourcery.com>
11072
11073 * manual/install.texi (--with-headers): Describe headers as
11074 interface headers, not private headers.
11075 (Specific advice for GNU/Linux systems): Describe use of headers
11076 from "make headers_install", not private headers from older
11077 kernels.
43be4ca2 11078 * INSTALL: Regenerated.
abd923db
JM
11079 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11080 Change to 2.6.19.
11081 * sysdeps/unix/sysv/linux/configure: Regenerated.
11082
6664049b
JM
11083 * manual/llio.texi (fclean): Remove documentation.
11084
bb8b6697
JM
11085 * manual/Makefile (libc-texi-generated): New variable. Include
11086 version.texi.
11087 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11088 $(libc-texi-generated), not duplicated list of files.
11089 (version.texi, stamp-version): New rules.
11090 (realclean): Remove $(libc-texi-generated), not individual files
11091 from that list. Do not remove dir-add.texinfo.
11092 * manual/libc.texinfo: Comment out uses of edition numbers and
11093 references to printed manual. Remove last-updated dates.
11094 (EDITION): Comment out.
11095 (ISBN): Likewise.
11096 (VERSION, UPDATED): Remove.
11097 (version.texi): Include.
11098
12e5c3b9
AS
110992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * sysdeps/posix/spawni.c: Include <signal.h>.
11102 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11103 * sysdeps/pthread/aio_fsync.c: Likewise.
11104
4efeffc1 111052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11106
ba63ba08
UD
11107 * conform/Makefile (tests): Run only when not cross-compiling and
11108 when fast-check is not defined.
11109
d94a4670
UD
11110 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11111 * conform/data/limits.h-data: Fixes for POSIX2008.
11112 * conform/run-conformtest.sh: Run all tests.
11113 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11114 headers.
11115 * include/bits/dlfcn.h: Likewise.
11116 * include/langinfo.h: Likewise.
11117 * include/monetary.h: Likewise.
11118 * include/sys/poll.h: Likewise.
11119
11120 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11121 for __USE_GNU.
11122 * posix/spawn.h: Define __need_sigset_t.
11123 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11124 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11125 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11126 to get sigevent_t only.
11127 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11128 only for __USE_GNU.
11129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11130 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11131 process_vm_writev only for __USE_GNU.
11132 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11133
11134 * conform/Makefile: For now ignore errors from run-conformtest.
11135 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11136 POSIX to avoid namespace pollution. Don't prepend headers.
11137 * conform/data/aio.h-data: Fixes for POSIX testing.
11138 * conform/data/fcntl.h-data: Likewise.
11139 * conform/data/glob.h-data: Likewise.
11140 * conform/data/grp.h-data: Likewise.
11141 * conform/data/pthread.h-data: Likewise.
11142 * conform/data/pwd.h-data: Likewise.
11143 * conform/data/signal.h-data: Likewise.
11144 * conform/data/spawn.h-data: Likewise.
11145 * conform/data/stdio.h-data: Likewise.
11146 * conform/data/stdlib.h-data: Likewise.
11147 * conform/data/stropts.h-data: Likewise.
11148 * conform/data/sys/mman.h-data: Likewise.
11149 * conform/data/sys/stat.h-data: Likewise.
11150 * conform/data/sys/types.h-data: Likewise.
11151 * conform/data/sys/wait.h-data: Likewise.
11152 * conform/data/time.h-data: Likewise.
11153 * conform/data/unistd.h-data: Likewise.
11154 * conform/data/utime.h-data: Likewise.
11155
11156 * io/sys/stat.h: fchmod was always in POSIX.
11157 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11158 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11159 * rt/aio.h: Define __need_timespec before including <time.h>.
11160 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11161 struct. Add forward declaration of pthread_attr_t and use it in
11162 sigevent.
11163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11165 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11166 always remove CLK_TCK definition.
11167
c20105c3
AS
111682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11169
11170 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11171
7a270350
UD
111722012-02-25 Ulrich Drepper <drepper@gmail.com>
11173
31341567
UD
11174 * conform/run-conformtest.sh: New file.
11175 * conform/Makefile: Run run-conformtest for tests.
11176 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11177 support.
11178
11179 * conform/data/uchar.h-data: New file.
11180 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11181 * conform/data/arpa/inet.h-data: Likewise.
11182 * conform/data/assert.h-data: Likewise.
11183 * conform/data/complex.h-data: Likewise.
11184 * conform/data/cpio.h-data: Likewise.
11185 * conform/data/ctype.h-data: Likewise.
11186 * conform/data/dirent.h-data: Likewise.
11187 * conform/data/dlfcn.h-data: Likewise.
11188 * conform/data/errno.h-data: Likewise.
11189 * conform/data/fcntl.h-data: Likewise.
11190 * conform/data/float.h-data: Likewise.
11191 * conform/data/fmtmsg.h-data: Likewise.
11192 * conform/data/fnmatch.h-data: Likewise.
11193 * conform/data/ftw.h-data: Likewise.
11194 * conform/data/glob.h-data: Likewise.
11195 * conform/data/grp.h-data: Likewise.
11196 * conform/data/iconv.h-data: Likewise.
11197 * conform/data/inttypes.h-data: Likewise.
11198 * conform/data/langinfo.h-data: Likewise.
11199 * conform/data/libgen.h-data: Likewise.
11200 * conform/data/limits.h-data: Likewise.
11201 * conform/data/locale.h-data: Likewise.
11202 * conform/data/math.h-data: Likewise.
11203 * conform/data/monetary.h-data: Likewise.
11204 * conform/data/mqueue.h-data: Likewise.
11205 * conform/data/ndbm.h-data: Likewise.
11206 * conform/data/net/if.h-data: Likewise.
11207 * conform/data/netdb.h-data: Likewise.
11208 * conform/data/netinet/in.h-data: Likewise.
11209 * conform/data/nl_types.h-data: Likewise.
11210 * conform/data/poll.h-data: Likewise.
11211 * conform/data/pthread.h-data: Likewise.
11212 * conform/data/pwd.h-data: Likewise.
11213 * conform/data/regex.h-data: Likewise.
11214 * conform/data/sched.h-data: Likewise.
11215 * conform/data/search.h-data: Likewise.
11216 * conform/data/semaphore.h-data: Likewise.
11217 * conform/data/setjmp.h-data: Likewise.
11218 * conform/data/signal.h-data: Likewise.
11219 * conform/data/spawn.h-data: Likewise.
11220 * conform/data/stdarg.h-data: Likewise.
11221 * conform/data/stdio.h-data: Likewise.
11222 * conform/data/stdlib.h-data: Likewise.
11223 * conform/data/string.h-data: Likewise.
11224 * conform/data/strings.h-data: Likewise.
11225 * conform/data/stropts.h-data: Likewise.
11226 * conform/data/sys/ipc.h-data: Likewise.
11227 * conform/data/sys/mman.h-data: Likewise.
11228 * conform/data/sys/msg.h-data: Likewise.
11229 * conform/data/sys/resource.h-data: Likewise.
11230 * conform/data/sys/select.h-data: Likewise.
11231 * conform/data/sys/sem.h-data: Likewise.
11232 * conform/data/sys/shm.h-data: Likewise.
11233 * conform/data/sys/socket.h-data: Likewise.
11234 * conform/data/sys/stat.h-data: Likewise.
11235 * conform/data/sys/statvfs.h-data: Likewise.
11236 * conform/data/sys/time.h-data: Likewise.
11237 * conform/data/sys/timeb.h-data: Likewise.
11238 * conform/data/sys/times.h-data: Likewise.
11239 * conform/data/sys/types.h-data: Likewise.
11240 * conform/data/sys/uio.h-data: Likewise.
11241 * conform/data/sys/un.h-data: Likewise.
11242 * conform/data/sys/utsname.h-data: Likewise.
11243 * conform/data/sys/wait.h-data: Likewise.
11244 * conform/data/syslog.h-data: Likewise.
11245 * conform/data/tar.h-data: Likewise.
11246 * conform/data/termios.h-data: Likewise.
11247 * conform/data/utime.h-data: Likewise.
11248 * conform/data/utmpx.h-data: Likewise.
11249 * conform/data/varargs.h-data: Likewise.
11250 * conform/data/wchar.h-data: Likewise.
11251 * conform/data/wctype.h-data: Likewise.
11252 * conform/data/wordexp.h-data: Likewise.
11253
11254 * include/stropts.h: New file.
11255 * include/uchar.h: New file.
11256 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11257 * include/assert.h: Likewise.
11258 * include/ctype.h: Likewise.
11259 * include/dirent.h: Likewise.
11260 * include/dlfcn.h: Likewise.
11261 * include/fcntl.h: Likewise.
11262 * include/fnmatch.h: Likewise.
11263 * include/glob.h: Likewise.
11264 * include/grp.h: Likewise.
11265 * include/libio.h: Likewise.
11266 * include/locale.h: Likewise.
11267 * include/math.h: Likewise.
11268 * include/net/if.h: Likewise.
11269 * include/netdb.h: Likewise.
11270 * include/netinet/in.h: Likewise.
11271 * include/pthread.h: Likewise.
11272 * include/pwd.h: Likewise.
11273 * include/regex.h: Likewise.
11274 * include/sched.h: Likewise.
11275 * include/search.h: Likewise.
11276 * include/setjmp.h: Likewise.
11277 * include/signal.h: Likewise.
11278 * include/stdio.h: Likewise.
11279 * include/stdlib.h: Likewise.
11280 * include/string.h: Likewise.
11281 * include/sys/cdefs.h: Likewise.
11282 * include/sys/mman.h: Likewise.
11283 * include/sys/msg.h: Likewise.
11284 * include/sys/resource.h: Likewise.
11285 * include/sys/select.h: Likewise.
11286 * include/sys/socket.h: Likewise.
11287 * include/sys/stat.h: Likewise.
11288 * include/sys/statvfs.h: Likewise.
11289 * include/sys/time.h: Likewise.
11290 * include/sys/times.h: Likewise.
11291 * include/sys/uio.h: Likewise.
11292 * include/sys/utsname.h: Likewise.
11293 * include/sys/wait.h: Likewise.
11294 * include/termios.h: Likewise.
11295 * include/time.h: Likewise.
11296 * include/ulimit.h: Likewise.
11297 * include/unistd.h: Likewise.
11298 * include/utime.h: Likewise.
11299 * include/wchar.h: Likewise.
11300 * include/wctype.h: Likewise.
11301 * include/wordexp.h: Likewise.
11302
11303 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11304
7a270350
UD
11305 * time/time.h: TIME_UTC must be a macro.
11306 Make timespec_get available for ISO C11 only as well.
11307
7724defc
UD
113082012-02-24 Ulrich Drepper <drepper@gmail.com>
11309
11310 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11311 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11312
6b1d1d46
JM
113132012-02-24 Joseph Myers <joseph@codesourcery.com>
11314
11315 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11316
0f8bbd69
JM
113172012-02-24 Joseph Myers <joseph@codesourcery.com>
11318
11319 * manual/texinfo.tex: Update to version 2012-01-19.16.
11320
66ab80bc
JM
113212012-02-24 Joseph Myers <joseph@codesourcery.com>
11322
11323 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11324
74981cc5
RM
113252012-02-24 Roland McGrath <roland@hack.frob.com>
11326
ee968201
RM
11327 [BZ #13738]
11328 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11329 * manual/fdl-1.3.texi: New file.
11330 * manual/fdl-1.1.texi: File removed.
11331
74981cc5
RM
11332 [BZ #13738]
11333 * manual/libc.texinfo (FDL_VERSION): New @set.
11334 Use it for mention of FDL in cover text.
11335 (Documentation License): Use it in @include file name.
11336
7bb764bc
JM
113372012-02-22 Joseph Myers <joseph@codesourcery.com>
11338 Roland McGrath <roland@hack.frob.com>
11339
11340 [BZ #5461]
11341 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11342 not LONG_LONG_MAX and LONG_LONG_MIN.
11343 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11344 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11345 name.
11346 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11347
6cbeae47
JM
113482012-02-22 Joseph Myers <joseph@codesourcery.com>
11349
11350 [BZ #2547]
11351 [BZ #11365]
11352 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11353 manipulate bits before adding and subtracting TWO23[sx].
11354 * math/libm-test.inc (nearbyint_test): Add more tests.
11355
fe45ce09
JM
113562012-02-22 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #2548]
11359 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11360 bits before adding and subtracting TWO23[sx].
11361 * math/libm-test.inc (rint_test): Add more tests.
11362 (rint_test_tonearest): Likewise.
11363 (rint_test_towardzero): Likewise.
11364 (rint_test_downward): Likewise.
11365 (rint_test_upward: Likewise.
11366
ff3b3d82
JM
113672012-02-22 Joseph Myers <joseph@codesourcery.com>
11368
11369 [BZ #10110]
11370 * include/stdc-predef.h: New file. Extracted from features.h.
11371 * include/features.h: Include stdc-predef.h.
11372 * Makefile (headers): Add stdc-predef.h.
11373 * CONFORMANCE (Compiler limitations): Update.
11374
ef0aab35
JM
113752012-02-22 Joseph Myers <joseph@codesourcery.com>
11376
11377 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11378
58639409
DM
113792012-02-21 David S. Miller <davem@davemloft.net>
11380
11381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11383
c0e70b25
DM
113842012-02-20 David S. Miller <davem@davemloft.net>
11385
11386 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11387 using a normal save/restore sequence, rather than allocating a
11388 dummy stack frame just to store a frame pointer and restore.
11389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11390
fb06851d
JM
113912012-02-21 Joseph Myers <joseph@codesourcery.com>
11392
11393 * manual/install.texi: Fix stray word in line-wrapped comment.
11394
7a8b71c3
DM
113952012-02-20 David S. Miller <davem@davemloft.net>
11396
d510c123
DM
11397 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11398 both binutils and gcc support GOTDATA.
11399
0722d7c2
DM
11400 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11401 "rd %pc" in the PIC register setup sequences.
11402
3d2b3019
DM
11403 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11404 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11405 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11406 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11407 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11412 (SYSCALL_ERROR_HANDLER): Likewise.
11413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11416 (SYSCALL_ERROR_HANDLER): Likewise.
11417
c80098a9
DM
11418 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11419 (HAVE_GCC_GOTDATA): New.
11420 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11421 relocation support in both binutils and gcc.
11422 * sysdeps/sparc/elf/configure: Regenerate.
11423
3a2545a0
DM
11424 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11425 * sysdeps/sparc/sparc32/elf/configure: Delete.
11426 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11427 * sysdeps/sparc/sparc64/elf/configure: Delete.
11428 * sysdeps/sparc/elf/configure.in: New file.
11429 * sysdeps/sparc/elf/configure: Generate.
11430
7a8b71c3
DM
11431 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11432 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11433 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11434 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11435 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11436
f1e86fca
JM
114372012-02-21 Joseph Myers <joseph@codesourcery.com>
11438
11439 * manual/install.texi: Do not mention specific glibc version
11440 numbers.
11441 * manual/libc.texinfo (VERSION, UPDATED): Update.
11442 (@copying): Use @copyright{} and range of years.
11443
0e7dfaef
JM
114442012-02-21 Joseph Myers <joseph@codesourcery.com>
11445
11446 [BZ #13695]
11447 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11448 [crti.S not in sysdirs] (generated): Do not append.
11449 [crti.S not in sysdirs] (omit-deps): Likewise.
11450 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11451 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11452 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11453 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11454 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11455 Likewise.
11456 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11457 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11458 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11459 * csu/defs.awk: Remove file.
11460 * sysdeps/generic/initfini.c: Likewise.
11461 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11462 variable.
11463 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11464 Likewise.
11465
599af3ca
JM
114662012-02-20 Joseph Myers <joseph@codesourcery.com>
11467
11468 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11469 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11472 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11473 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11474 <bits/epoll.h>.
11475 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11476 (__EPOLL_PACKED): Define to empty if not defined by
11477 <bits/epoll.h>.
11478 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11480 bits/epoll.h.
11481
0e499750
JM
114822012-02-20 Joseph Myers <joseph@codesourcery.com>
11483
11484 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11485 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11487 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11488 <bits/timerfd.h>.
11489 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11491 bits/timerfd.h.
11492
5ad91f6e
JM
114932012-02-20 Joseph Myers <joseph@codesourcery.com>
11494
11495 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11496 in C locale.
11497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11501
06b99b02
AJ
115022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11503
11504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11506
7638c0fd
AS
115072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11508
11509 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11510 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11511 defined.
11512 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11513 Likewise.
11514 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11515 entry for 2.16.
11516
92221550
AJ
115172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11518
11519 * math/w_acos.c: Use non-signaling floating-point comparisons.
11520 * math/w_acosf.c: Likewise.
11521 * math/w_acosh.c: Likewise.
11522 * math/w_acoshf.c: Likewise.
11523 * math/w_acoshl.c: Likewise.
11524 * math/w_acosl.c: Likewise.
11525 * math/w_asin.c: Likewise.
11526 * math/w_asinf.c: Likewise.
11527 * math/w_asinl.c: Likewise.
11528 * math/w_atanh.c: Likewise.
11529 * math/w_atanhf.c: Likewise.
11530 * math/w_atanhl.c: Likewise.
11531 * math/w_exp2.c: Likewise.
11532 * math/w_exp2f.c: Likewise.
11533 * math/w_exp2l.c: Likewise.
11534 * math/w_j0.c: Likewise.
11535 * math/w_j0f.c: Likewise.
11536 * math/w_j0l.c: Likewise.
11537 * math/w_j1.c: Likewise.
11538 * math/w_j1f.c: Likewise.
11539 * math/w_j1l.c: Likewise.
11540 * math/w_jn.c: Likewise.
11541 * math/w_jnf.c: Likewise.
11542 * math/w_log.c: Likewise.
11543 * math/w_log10.c: Likewise.
11544 * math/w_log10f.c: Likewise.
11545 * math/w_log10l.c: Likewise.
11546 * math/w_log2.c: Likewise.
11547 * math/w_log2f.c: Likewise.
11548 * math/w_log2l.c: Likewise.
11549 * math/w_logf.c: Likewise.
11550 * math/w_logl.c: Likewise.
11551 * math/w_sqrt.c: Likewise.
11552 * math/w_sqrtf.c: Likewise.
11553 * math/w_sqrtl.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11557 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11558 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11559
ebaf36eb
JM
115602012-02-19 Joseph Myers <joseph@codesourcery.com>
11561
11562 [BZ #9739]
11563 * manual/string.texi (strnlen): Use correct parameter name in
11564 equivalent expression.
11565
71c254a6
JM
115662012-02-19 Joseph Myers <joseph@codesourcery.com>
11567
11568 [BZ #11174]
11569 * manual/users.texi (seteuid): Consistently use neweuid for
11570 argument name.
11571
16d2c631
JM
115722012-02-19 Joseph Myers <joseph@codesourcery.com>
11573
11574 [BZ #13704]
11575 * manual/nss.texi (Services in the NSS configuration): Correct
11576 list of services in example configuration file.
11577
cd837b09
NB
115782012-02-19 Nick Bowler <nbowler@draconx.ca>
11579
11580 [BZ #11322]
11581 * manual/arith.texi: Remove statements about negative zero
11582 behaving identically to zero.
11583
02c4bbad
JM
115842012-02-18 Joseph Myers <joseph@codesourcery.com>
11585
11586 [BZ #5993]
11587 * manual/install.texi: Do not document upgrading from libc5.
11588
366842e7
JM
115892012-02-18 Joseph Myers <joseph@codesourcery.com>
11590
11591 [BZ #4596]
11592 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11593
dd54084d
DM
115942012-02-18 David S. Miller <davem@davemloft.net>
11595
11596 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11597 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11598 %o7 across the call.
11599 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11600 instead.
11601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11602 SETUP_PIC_REG_LEAF.
11603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11604 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11605 * sysdeps/sparc/crtn.S: Likewise.
11606
2bcc53a3
UD
116072012-02-17 Ulrich Drepper <drepper@gmail.com>
11608
11609 * aout/Makefile: Remove.
11610
09c093b5
RK
116112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11612
11613 [BZ #13058]
11614 * manual/examples/argp-ex1.c (main): Format definition in GNU
11615 style.
11616 * manual/examples/argp-ex2.c (main): Likewise.
11617 * manual/examples/argp-ex3.c (main): Likewise.
11618 * manual/examples/argp-ex4.c (main): Likewise.
11619 * manual/examples/longopt.c (main): Use new-style prototype
11620 definition.
11621 * manual/examples/strncat.c (main): Specify return type and use
11622 (void) for arguments.
11623 * manual/examples/subopt.c (main): Use char **argv argument.
11624
2ee633a2
JM
116252012-02-17 Joseph Myers <joseph@codesourcery.com>
11626
11627 [BZ #5077]
11628 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11629 rounding modes.
11630
0520adde
FB
116312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11632
11633 [BZ #6907]
11634 * manual/string.texi (strchr): Change when strchrnul is
11635 recommended.
11636
3f4081cd
DGM
116372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11638
11639 [BZ #174]
11640 * manual/locale.texi (setlocale): Document LOCPATH.
11641
d1b10e78
JM
116422012-02-17 Joseph Myers <joseph@codesourcery.com>
11643
11644 [BZ #10210]
11645 * manual/process.texi (execle): Move @dots{} before last argument.
11646
79c6869c
PB
116472012-02-17 Paul Bolle <pebolle@tiscali.nl>
11648
11649 [BZ #12047]
11650 * manual/charset.texi (Generic Charset Conversion): Fix typo
11651 (LC_TYPE -> LC_CTYPE).
11652
cc6e48bc
NB
116532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11654
11655 [BZ #5805]
11656 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11657 (scalbnf): Likewise.
11658 (scalbnl): Likewise.
11659 (scalbln): Likewise.
11660 (scalblnf): Likewise.
11661 (scalblnl): Likewise.
11662 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11663 (vwarnx): Likewise.
11664 (verr): Likewise.
11665 (verrx): Likewise.
11666 * manual/filesys.texi (telldir): Use braces around return type.
11667 * manual/llio.texi (mmap): Add space after comma.
11668 (mmap64): Likewise.
11669 * manual/math.texi (jn): Use @var{} on parameter names.
11670 (jnf): Likewise.
11671 (jnl): Likewise.
11672 (yn): Likewise.
11673 (ynf): Likewise.
11674 (ynl): Likewise.
11675 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11676 line.
11677 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11678 "...".
11679 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11680 (sched_get_priority_max): Likewise.
11681 * manual/signal.texi (sigvec): Add space after comma.
11682 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11683 names.
11684 (if_indextoname): Likewise.
11685 (if_freenameindex): Likewise.
11686 (sendto): Use ',' instead of '.' in prototype.
11687 * manual/startup.texi (syscall): Use @dots{} instead of literal
11688 "...".
11689 * manual/stdio.texi (__fpending): Separate initial words of
11690 paragraph from @deftypefun line.
11691 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11692 "...".
11693 (vsyslog): Use @var{} on parameter names.
11694 * manual/terminal.texi (stty): Use @var{} on parameter names.
11695 * manual/users.texi (getutmp): Use @var{} on parameter names.
11696 (getutmpx): Likewise.
11697
5b23062f
JM
116982012-02-17 Joseph Myers <joseph@codesourcery.com>
11699
11700 [BZ #6884]
11701 * manual/stdio.texi (fopen): Fix typos in description of
11702 ",ccs=STRING".
11703
8dee4833
AJ
117042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11705
11706 [BZ #4026]
11707 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11708 get clock_id definition.
11709
9078ce93
TS
117102012-02-17 Thomas Schwinge <thomas@schwinge.name>
11711
11712 [BZ #4822]
11713 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11714 (madvise): Cast every argument to void on its own.
11715
3835c55f
JM
117162012-02-17 Joseph Myers <joseph@codesourcery.com>
11717
11718 [BZ #9902]
11719 * manual/startup.texi (Exit Status): Fix typo.
11720
35c47e37
JM
117212012-02-17 Joseph Myers <joseph@codesourcery.com>
11722
11723 [BZ #10140]
11724 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11725 * manual/examples/argp-ex2.c: Likewise.
11726 * manual/examples/argp-ex3.c: Likewise.
11727
e3b69ca7
RH
117282012-02-16 Richard Henderson <rth@redhat.com>
11729
11730 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11731 * sysdeps/s390/s390-32/initfini.c: Remove.
11732 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11733 * sysdeps/s390/s390-64/initfini.c: Remove.
11734
df83af67
KK
117352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11736
11737 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11738 compiler output for sysdeps/generic/initfini.c.
11739 * sysdeps/sh/elf/initfini.c: Remove file.
11740
f63f3380
DM
117412012-02-16 David S. Miller <davem@davemloft.net>
11742
fb59b3a4
DM
11743 [BZ #11494]
11744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11745
f63f3380
DM
11746 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11747 * sysdeps/sparc/crti.S: New file.
11748 * sysdeps/sparc/crtn.S: New file.
11749 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11750 * sysdeps/sparc/sparc64/Makefile: Likewise.
11751
df6a4a4a
MF
117522012-02-15 Mike Frysinger <vapier@gentoo.org>
11753
6dd8f3dc 11754 [BZ #3335]
df6a4a4a
MF
11755 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11756
1cac7236
RM
117572012-02-15 Roland McGrath <roland@hack.frob.com>
11758
d2c736f8
RM
11759 [BZ #4822]
11760 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11761
1cac7236
RM
11762 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11763 (write, read, close): Likewise.
11764 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11765
8e475601
JM
117662012-02-15 Joseph Myers <joseph@codesourcery.com>
11767
11768 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11769 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11771 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11772 <bits/signalfd.h>.
11773 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11775 bits/signalfd.h.
11776
ed656b40
MP
117772012-02-14 Marek Polacek <polacek@redhat.com>
11778
11779 * sysdeps/x86_64/crti.S: New file.
11780 * sysdeps/x86_64/crtn.S: New file.
11781 * sysdeps/x86_64/elf/initfini.c: Remove file.
11782
2a979d3a
JM
117832012-02-13 Joseph Myers <joseph@codesourcery.com>
11784
11785 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11786 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11788 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11789 <bits/inotify.h>.
11790 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11792 bits/inotify.h.
11793
2a418ac3
JM
117942012-02-13 Joseph Myers <joseph@codesourcery.com>
11795
11796 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11797 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11798 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11799 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11800 <bits/eventfd.h>.
11801 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11803 bits/eventfd.h.
11804
fb779be7
TS
118052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11806
e19e83c5
RM
11807 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11808 __feraiseexcept instead of feraiseexcept.
7c35ffed 11809
fb779be7
TS
11810 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11811 nanosleep invocations.
11812 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11813 strings, and add error checking for a nanosleep invocations.
11814
59ba27a6
PE
118152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11816
11817 Replace FSF snail mail address with URLs, as per GNU coding standards.
11818 Most of the snail mail addresses were wrong anyway, and omitting
11819 them makes the source code easier to maintain. Almost all of the
11820 changes are to license notices and to locale LC_IDENTIFICATION
11821 addresses, except for this one:
11822 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11823 not its snail mail address.
11824
57b957eb
RH
118252012-02-09 Richard Henderson <rth@twiddle.net>
11826
af850b1c
RH
11827 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11828 of kernel-features.h.
11829
57b957eb
RH
11830 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11831
6b73181a
MP
118322012-02-08 Marek Polacek <polacek@redhat.com>
11833
11834 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11835 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11836 * sysdeps/gnu/_G_config.h: Likewise.
11837 * sysdeps/generic/_G_config.h: Likewise.
11838
26ecc33a
AS
118392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11840
6c6dbc63
AS
11841 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11842 tests.
11843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11844
e216c012
AS
11845 * sysdeps/powerpc/powerpc32/crti.S: New file.
11846 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11847 * sysdeps/powerpc/powerpc64/crti.S: New file.
11848 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11849
26ecc33a
AS
11850 * Makeconfig (have-initfini): Don't set.
11851 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11852 * configure.in (nopic_initfini): Don't substitute.
11853 * config.h.in (HAVE_INITFINI): Don't #undef.
11854 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11855 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11856
3add8e13
JM
118572012-02-08 Joseph Myers <joseph@codesourcery.com>
11858
11859 Support crti.S and crtn.S provided directly by architectures.
11860 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11861 [crti.S in sysdirs] (omit-deps): Likewise.
11862 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11863 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11864 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11865 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11866 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11867 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11868 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11869 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11870 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11871 compiler output for sysdeps/generic/initfini.c.
11872 * sysdeps/i386/elf/Makefile: Remove file.
11873 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11874
a22f12b4
MP
118752012-02-07 Marek Polacek <polacek@redhat.com>
11876
11877 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11878 * sysdeps/gnu/_G_config.h: Likewise.
11879 * sysdeps/mach/hurd/_G_config.h: Likewise.
11880
148cf100
MP
118812012-02-07 Marek Polacek <polacek@redhat.com>
11882
11883 * math/Makefile (tests): Add tst-CMPLX2.
11884 * math/tst-CMPLX2.c: New file.
11885
cfdc0dd7
AS
118862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11887
84ba42c4
AS
11888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11889
cfdc0dd7
AS
11890 * math/libm-test.inc (jn_test): Add missing L suffix.
11891
622c86f4
MP
118922012-02-06 Marek Polacek <polacek@redhat.com>
11893
11894 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11895 * sysdeps/i386/fpu/e_powf.S: Likewise.
11896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11897 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11898 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11899 * sysdeps/i386/fpu/e_pow.S: Likewise.
11900 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11902 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11903 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11904 * sysdeps/i386/fpu/e_log2.S: Likewise.
11905 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11906 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11907 * sysdeps/i386/fpu/e_powl.S: Likewise.
11908 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11910 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11911 * sysdeps/i386/fpu/e_logl.S: Likewise.
11912 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11913 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11914 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11915 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11916 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11918 * sysdeps/i386/fpu/e_log.S: Likewise.
11919 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11921 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11922 * sysdeps/i386/fpu/e_logf.S: Likewise.
11923 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11925 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11926 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11927 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11928 * sysdeps/i386/fpu/e_log10.S: Likewise.
11929 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11931 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11932 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11934 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11935 * sysdeps/i386/asm-syntax.h: Likewise.
11936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11938 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11939 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11940 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11941 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11942 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11943 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11945 * sysdeps/powerpc/sysdep.h: Likewise.
11946 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11948
d4a54ac6
JM
119492012-02-06 Joseph Myers <joseph@codesourcery.com>
11950
11951 [BZ #411]
11952 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11953
314054ea
JM
119542012-02-06 Joseph Myers <joseph@codesourcery.com>
11955
11956 * sysdeps/i386/sysdep.h: Include <features.h>.
11957 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11958 version.
11959
d8e0ca50
JM
119602012-02-05 Joseph Myers <joseph@codesourcery.com>
11961
11962 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11963 Define.
11964 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11965 LOAD_PIC_REG_STR.
11966
b1da7dd9
JM
119672012-02-03 Joseph Myers <joseph@codesourcery.com>
11968
11969 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11970 (SETUP_PIC_REG): Use GET_PC_THUNK.
11971 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11972 macro.
11973
9a1d9254
JM
119742012-02-03 Joseph Myers <joseph@codesourcery.com>
11975
11976 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11977 for non-PIC compilation.
11978 (SETUP_PIC_REG): Add .p2align directive.
11979 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11980 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11989 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11990 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11992 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11995 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11996 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11998 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12020
65dc3b75
JM
120212012-02-03 Joseph Myers <joseph@codesourcery.com>
12022
12023 * math/tst-CMPLX.c: Include <stdio.h>.
12024
d55bf177
JM
120252012-01-31 Joseph Myers <joseph@codesourcery.com>
12026
12027 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12028 float.
12029 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12030 * sysdeps/sparc/bits/mathdef.h: Likewise.
12031
69db4f8f
MP
120322012-01-31 Marek Polacek <polacek@redhat.com>
12033
12034 * libio/libio.h: Don't define _PARAMS.
12035 * locale/programs/config.h: Don't define PARAMS.
12036 * stdlib/strtol_l.c: Likewise.
12037 (__strtol_l): Remove PARAMS from the prototype.
12038
41b81892
UD
120392012-01-31 Ulrich Drepper <drepper@gmail.com>
12040
3b49edc0
UD
12041 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12042 names. Just use the correct names. Remove unnecessary wrapper
12043 functions.
12044 * malloc/arena.c: Likewise.
12045 * malloc/hooks.c: Likewise.
12046
41b81892
UD
12047 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12048 ARENA_TEST says not to. Simplify test for creation of a new arena.
12049 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12050
27a25b6e
UD
120512012-01-30 Ulrich Drepper <drepper@gmail.com>
12052
12053 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12054 into tail calls.
12055 (update_get_addr): New function.
12056 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12057 GET_ADDR_MODULE parameter.
12058
c8a89e7d
JM
120592012-01-30 Joseph Myers <joseph@codesourcery.com>
12060
12061 * crypt/cert.c: Remove __STDC__ conditionals.
12062 * crypt/crypt-entry.c: Likewise.
12063 * crypt/crypt_util.c: Likewise.
12064 * libio/filedoalloc.c: Likewise.
12065 * libio/fileops.c: Likewise.
12066 * libio/genops.c: Likewise.
12067 * libio/iofclose.c: Likewise.
12068 * libio/iofdopen.c: Likewise.
12069 * libio/iofopen.c: Likewise.
12070 * libio/iofopen64.c: Likewise.
12071 * libio/iogetdelim.c: Likewise.
12072 * libio/iopopen.c: Likewise.
12073 * libio/obprintf.c: Likewise.
12074 * libio/oldfileops.c: Likewise.
12075 * libio/oldiofclose.c: Likewise.
12076 * libio/oldiofdopen.c: Likewise.
12077 * libio/oldiofopen.c: Likewise.
12078 * libio/oldiopopen.c: Likewise.
12079 * libio/wfiledoalloc.c: Likewise.
12080 * libio/wgenops.c: Likewise.
12081 * locale/programs/xmalloc.c: Likewise.
12082 * misc/syslog.c: Likewise.
12083 * stdio-common/xbug.c: Likewise.
12084 * string/memchr.c: Likewise.
12085 * string/memcmp.c: Likewise.
12086 * string/memrchr.c: Likewise.
12087 * string/rawmemchr.c: Likewise.
12088 * sysdeps/posix/getcwd.c: Likewise.
12089 * time/strftime_l.c: Likewise.
12090
3b100462
JM
120912012-01-30 Joseph Myers <joseph@codesourcery.com>
12092
12093 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12094 * config.make.in (config-cflags-sse2avx): Define.
12095 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12096 Fix typo.
12097
607998af
CM
120982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12099
12100 * scripts/config.guess: Update from upstream config git repository.
12101 * scripts/config.sub: Likewise.
12102
3601428f
CM
121032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12104
3ac8b282
CM
12105 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12106 (EM_NUM): Update.
12107 (R_TILEPRO_*, R_TILEGX_*): New macros.
12108
e034841e
CM
12109 * scripts/firstversions.awk: Fix bug in version range handling.
12110
540d7568
CM
12111 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12112
3601428f
CM
12113 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12114
463de862
CM
12115 * include/sys/epoll.h: New file.
12116 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12117 libc_hidden_def.
12118
73139a76
UD
121192012-01-28 Ulrich Drepper <drepper@gmail.com>
12120
96bc5b45
UD
12121 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12122 Avoid unnecessary __WORDSIZE == 64 test.
12123 (fmaxf): Use VEX format if possible.
12124 (fmax): Likewise.
12125 (fminf): Likewise.
12126 (fmin): Likewise.
12127
56f6f6a2
UD
12128 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12129 * math/math_private.h: Remove libc_fegetround* and
12130 libc_fesetround*.
12131 * sysdeps/i386/configure.in: Check for -msse2avx.
12132 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12133 also if SSE2AVX is defined.
12134 Remove libc_fegetround* and libc_fesetround*.
12135 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12136 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12138 of HAS_YMM_USABLE.
12139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12144
73139a76
UD
12145 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12146
d73f93a4
AZ
121472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12148
12149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12150 size is not set.
12151 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12152
6ee65ed6
UD
121532012-01-27 Ulrich Drepper <drepper@gmail.com>
12154
12155 [BZ #13618]
12156 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12157 relocation.
12158 * Makeconfig (libm): Define.
12159 * elf/Makefile: Add rules to build and run tst-relsort1.
12160 * elf/tst-relsort1.c: New file.
12161 * elf/tst-relsort1mod1.c: New file.
12162 * elf/tst-relsort1mod2.c: New file.
12163
8db21882
JM
121642012-01-27 Joseph Myers <joseph@codesourcery.com>
12165
12166 * math/s_ldexp.c: Remove __STDC__ conditionals.
12167 * math/s_ldexpf.c: Likewise.
12168 * math/s_ldexpl.c: Likewise.
12169 * math/s_nextafter.c: Likewise.
12170 * math/s_nexttowardf.c: Likewise.
12171 * math/s_significand.c: Likewise.
12172 * math/s_significandf.c: Likewise.
12173 * math/s_significandl.c: Likewise.
12174 * math/w_jnl.c: Likewise.
12175 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12176 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12177 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12178 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12179 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12181 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12182 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12188 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12196 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12201 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12202 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12203 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12206 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12207 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12209 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12211 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12212 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12213 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12214 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12215 * sysdeps/ieee754/k_standard.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12290 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12295 * sysdeps/ieee754/s_matherr.c: Likewise.
12296 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12300
965a54a4
JM
123012012-01-26 Joseph Myers <joseph@codesourcery.com>
12302
12303 * crypt/md5.h: Remove __STDC__ conditionals.
12304 * libio/libioP.h: Likewise.
12305 * locale/programs/config.h: Likewise.
12306 * sysdeps/generic/sysdep.h: Likewise.
12307 * sysdeps/i386/asm-syntax.h: Likewise.
12308 * sysdeps/s390/asm-syntax.h: Likewise.
12309 * sysdeps/unix/sysdep.h: Likewise.
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12312
7071ad79
JM
123132012-01-26 Joseph Myers <joseph@codesourcery.com>
12314
12315 * libio/libio.h: Remove __STDC__ conditionals.
12316 * malloc/obstack.h: Likewise.
12317 * math/complex.h: Likewise.
12318 * math/math.h: Likewise.
12319 * sysdeps/generic/_G_config.h: Likewise.
12320 * sysdeps/gnu/_G_config.h: Likewise.
12321 * sysdeps/mach/hurd/_G_config.h: Likewise.
12322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12323 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12324 * sysdeps/sparc/bits/mathdef.h: Likewise.
12325
afc5ed09
UD
123262012-01-26 Ulrich Drepper <drepper@gmail.com>
12327
12328 [BZ #13583]
12329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12330 Clean up HAS_* macros.
afc5ed09 12331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12332 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12333 possible.
12334 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12335 HAS_AVX.
12336 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12337 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12338 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12341
bdb6de1d
JM
123422012-01-25 Joseph Myers <joseph@codesourcery.com>
12343
12344 * elf/tst-unique3.cc (gets): Remove declaration.
12345 * elf/tst-unique3lib.cc (gets): Likewise.
12346 * elf/tst-unique3lib2.cc (gets): Likewise.
12347 * elf/tst-unique4.cc (gets): Likewise.
12348
b15549e6
UD
123492012-01-24 Ulrich Drepper <drepper@gmail.com>
12350
12351 * include/stdio.h: Add C++ protection. Add gets declarations and
12352 definitions.
12353 * debug/tst-chk1.c: Don't declare gets here.
12354 * stdio-common/tst-gets.c: Likewise.
12355
a037381f
JM
123562012-01-24 Joseph Myers <joseph@codesourcery.com>
12357
12358 * posix/glob: Remove directory.
12359
f1d4aa75
JM
123602012-01-24 Joseph Myers <joseph@codesourcery.com>
12361
12362 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12363
81c0c964
PT
123642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12365
12366 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12367 of the non-standard EPFNOSUPPORT.
12368
0ea698ae
ST
123692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12370
12371 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12372 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12373 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12374
d220b117
UD
123752012-01-21 Ulrich Drepper <drepper@gmail.com>
12376
12377 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12378
3e1aa84e
UD
123792012-01-20 Ulrich Drepper <drepper@gmail.com>
12380
12381 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12382 transient errors.
12383 * nscd/grpcache.c (cache_addgr): Likewise.
12384 * nscd/hstcache.c (cache_addhst): Likewise.
12385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12386 * nscd/pwdcache.c (cache_addpw): Likewise.
12387 * nscd/servicescache.c (cache_addserv): Likewise.
12388
400aa020
UD
123892012-01-16 Ulrich Drepper <drepper@gmail.com>
12390
d77e7869
UD
12391 * malloc/malloc.c: Various cleanups.
12392 * malloc/hooks.c: Likewise.
12393
400aa020
UD
12394 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12395 * stdlib/bug-fmtmsg1.c: New file.
12396
12397 * stdlib/fmtmsg.c (init): Add missing unlock.
12398 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12399
e0a309cf
MP
124002012-01-12 Marek Polacek <polacek@redhat.com>
12401
12402 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12403 and _GNU_SOURCE.
12404
929d11c7
WS
124052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12406
12407 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12408 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12409 macro to ensure uniqueness of label name.
12410 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12411 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12412
41d0e869
UD
124132012-01-11 Ulrich Drepper <drepper@gmail.com>
12414
0cc5ed3b
UD
12415 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12416
41d0e869
UD
12417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12418 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12421
a47a831a
UD
124222012-01-10 Ulrich Drepper <drepper@gmail.com>
12423
daa891c0
UD
12424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12425
12426 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12429
e58ef0f2
UD
12430 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12431
a47a831a 12432 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12433 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12436
12437 * math/bits/math-finite.h: Add ldexp support.
12438
a0bfc9c7
MP
124392012-01-10 Marek Polacek <polacek@redhat.com>
12440
12441 * locale/programs/localedef.h (show_archive_content): Add noreturn
12442 attribute.
12443
d6e97a1d
UD
124442012-01-09 Ulrich Drepper <drepper@gmail.com>
12445
12446 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12447
d5835c26
UD
124482012-01-08 Ulrich Drepper <drepper@gmail.com>
12449
e5f484c6
UD
12450 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12451
d5835c26
UD
12452 * io/Makefile (headers): Add bits/poll2.h.
12453
d1f741e9
WS
124542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12455
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12457 typo #include statement.
12458
ec09c1c4
UD
124592012-01-08 Ulrich Drepper <drepper@gmail.com>
12460
12461 * include/sys/cdefs.h: Define __attribute_alloc_size.
12462 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12463 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12464 * elf/pldd.c: Likewise.
12465 * iconv/iconv_charmap.c: Likewise.
12466 * iconv/iconvconfig.c: Likewise.
12467 * iconv/strtab.c: Likewise.
12468 * locale/programs/locale.c: Likewise.
12469 * locale/programs/localedef.h: Likewise.
12470 * locale/programs/simple-hash.c: Likewise.
12471 * nscd/nscd.h: Likewise.
12472 * nss/makedb.c: Likewise.
12473 * sysdeps/generic/ldconfig.h: Likewise.
12474 * locale/programs/localedef.c: Remove xmalloc prototype.
12475 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12476
20b38e03
PP
124772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12478
12479 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12480 appropriate.
12481
a0da5fe1
UD
124822012-01-08 Ulrich Drepper <drepper@gmail.com>
12483
1d5a644a 12484 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12485 * math/tst-CMPLX.c: New file.
1d5a644a 12486
8784a6db
UD
12487 * math/complex.h (CMPLXL): Fix typo.
12488
d9a216c0
UD
12489 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12490 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12491 GLIBC_2.16.
12492 * debug/tst-chk1.c: Add poll and ppoll tests.
12493 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12494 * include/sys/poll.h: Add hidden proto for ppoll.
12495 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12496 * sysdeps/mach/hurd/ppoll.c: Likewise.
12497 * io/ppoll.c: Likewise.
12498 * debug/poll_chk.c: New file.
12499 * debug/ppoll_chk.c: New file.
12500 * include/bits/poll2.h: New file.
12501 * io/bits/poll2.h: New file.
12502
ac097f5c
UD
12503 [BZ #1350]
12504 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12505
2119dcfa
UD
12506 * configure.in: static is always set to yes. Remove.
12507 * config.make.in: Don't set build-static.
12508 * Makeconfig: Remove use of build-static.
12509 * dlfcn/Makefile: Likewise.
12510 * elf/Makefile: Likewise.
12511 * math/Makefile: Likewise.
12512 * misc/Makefile: Likewise.
12513 * nptl/Makefile: Likewise.
12514 * sysdeps/mach/hurd/Makefile: Likewise.
12515
121766a9
UD
12516 * configure.in: PWD_P is not used anymore.
12517 * config.make.in: Remove PWD_P entry.
12518
51a1d39c 12519 * configure.in: Remove last remnants of RANLIB.
8720d066 12520 No need to check for signed size_t anymore.
215f4bdc
UD
12521 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12522 and IA-64.
3857022a 12523 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12524 * aclocal.m4: Likewise.
12525
d3ed7225
UD
12526 * wcsmbs/mbrtoc16.c: Implement using towc function.
12527 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12528 * wcsmbs/wcsmbsload.c: Likewise.
12529 * iconv/gconv_simple.c: Likewise.
12530 * iconv/gconv_int.h: Likewise.
12531 * iconv/gconv_builtin.h: Likewise.
12532 * iconv/iconv_prog.c: Remove CHAR16 handling.
12533
12534 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12535
12536 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12537
a0da5fe1
UD
12538 * configure.in: Remove --with-elf and --enable-bounded options.
12539 Dont set base_machine for ia64. More non-ELF conditions removed.
12540 Remove testing and setting of leading underscore information.
12541 * config.make.in (build-bounded): Set to no.
12542 * config.h.in: Remove NO_UNDERSCORES entry.
12543 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12544 them.
12545 * csu/start.c: Remove !NO_UNDERSCORE code.
12546 * locale/localeinfo.h: Likewise.
12547 * sysdeps/generic/machine-gmon.h: Likewise.
12548 * sysdeps/generic/sysdep.h: Likewise.
12549 * sysdeps/i386/sysdep.h: Likewise.
12550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12551 * sysdeps/mach/sysdep.h: Likewise.
12552 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12554 * sysdeps/sh/sysdep.h: Likewise.
12555 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12556 * sysdeps/unix/i386/sysdep.S: Likewise.
12557 * sysdeps/unix/sparc/start.c: Likewise.
12558 * sysdeps/unix/sparc/sysdep.S: Likewise.
12559 * sysdeps/unix/sparc/sysdep.h: Likewise.
12560 * sysdeps/unix/start.c: Likewise.
12561 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12562 * sysdeps/x86_64/sysdep.h: Likewise.
12563
df78418a
UD
125642012-01-07 Ulrich Drepper <drepper@gmail.com>
12565
a784e502
UD
12566 [BZ #13553]
12567 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12568 for non-gcc.
12569 * argp/argp-fmtstream.h: Use const instead __const.
12570 * argp/argp.h: Likewise.
12571 * assert/assert.h: Likewise.
12572 * bits/fenv.h: Likewise.
12573 * bits/sched.h: Likewise.
12574 * bits/sigset.h: Likewise.
12575 * bits/sigthread.h: Likewise.
12576 * catgets/nl_types.h: Likewise.
12577 * conform/data/pthread.h-data: Likewise.
12578 * crypt/crypt-private.h: Likewise.
12579 * crypt/crypt.h: Likewise.
12580 * crypt/crypt_util.c: Likewise.
12581 * ctype/ctype.h: Likewise.
12582 * debug/execinfo.h: Likewise.
12583 * debug/mbsnrtowcs_chk.c: Likewise.
12584 * debug/mbsrtowcs_chk.c: Likewise.
12585 * debug/wcsnrtombs_chk.c: Likewise.
12586 * debug/wcsrtombs_chk.c: Likewise.
12587 * debug/wcstombs_chk.c: Likewise.
12588 * dirent/dirent.h: Likewise.
12589 * dlfcn/dlfcn.h: Likewise.
12590 * elf/neededtest4.c: Likewise.
12591 * grp/grp.h: Likewise.
12592 * gshadow/gshadow.h: Likewise.
12593 * iconv/gconv.h: Likewise.
12594 * iconv/gconv_int.h: Likewise.
12595 * iconv/gconv_simple.c: Likewise.
12596 * iconv/iconv.h: Likewise.
12597 * iconv/loop.c: Likewise.
12598 * iconv/skeleton.c: Likewise.
12599 * include/aio.h: Likewise.
12600 * include/aliases.h: Likewise.
12601 * include/argz.h: Likewise.
12602 * include/arpa/inet.h: Likewise.
12603 * include/assert.h: Likewise.
12604 * include/dirent.h: Likewise.
12605 * include/dlfcn.h: Likewise.
12606 * include/execinfo.h: Likewise.
12607 * include/fcntl.h: Likewise.
12608 * include/fenv.h: Likewise.
12609 * include/glob.h: Likewise.
12610 * include/grp.h: Likewise.
12611 * include/libintl.h: Likewise.
12612 * include/mntent.h: Likewise.
12613 * include/netdb.h: Likewise.
12614 * include/pwd.h: Likewise.
12615 * include/rpc/netdb.h: Likewise.
12616 * include/sched.h: Likewise.
12617 * include/search.h: Likewise.
12618 * include/shadow.h: Likewise.
12619 * include/signal.h: Likewise.
12620 * include/stdio.h: Likewise.
12621 * include/stdlib.h: Likewise.
12622 * include/string.h: Likewise.
12623 * include/sys/socket.h: Likewise.
12624 * include/sys/stat.h: Likewise.
12625 * include/sys/statfs.h: Likewise.
12626 * include/sys/statvfs.h: Likewise.
12627 * include/sys/syslog.h: Likewise.
12628 * include/sys/time.h: Likewise.
12629 * include/sys/uio.h: Likewise.
12630 * include/time.h: Likewise.
12631 * include/unistd.h: Likewise.
12632 * include/utmp.h: Likewise.
12633 * include/wchar.h: Likewise.
12634 * include/wctype.h: Likewise.
12635 * inet/aliases.h: Likewise.
12636 * inet/arpa/inet.h: Likewise.
12637 * inet/netinet/ether.h: Likewise.
12638 * inet/netinet/in.h: Likewise.
12639 * intl/libintl.h: Likewise.
12640 * io/bits/fcntl2.h: Likewise.
12641 * io/fcntl.h: Likewise.
12642 * io/ftw.h: Likewise.
12643 * io/sys/poll.h: Likewise.
12644 * io/sys/stat.h: Likewise.
12645 * io/sys/statfs.h: Likewise.
12646 * io/sys/statvfs.h: Likewise.
12647 * io/utime.h: Likewise.
12648 * libio/bits/stdio.h: Likewise.
12649 * libio/bits/stdio2.h: Likewise.
12650 * libio/libio.h: Likewise.
12651 * libio/libioP.h: Likewise.
12652 * libio/stdio.h: Likewise.
12653 * locale/lc-ctype.c: Likewise.
12654 * locale/locale.h: Likewise.
12655 * login/utmp.h: Likewise.
12656 * malloc/arena.c: Likewise.
12657 * malloc/malloc.c: Likewise.
12658 * malloc/malloc.h: Likewise.
12659 * malloc/mcheck.c: Likewise.
12660 * malloc/mtrace.c: Likewise.
12661 * math/bits/mathcalls.h: Likewise.
12662 * math/fenv.h: Likewise.
12663 * math/math_private.h: Likewise.
12664 * misc/bits/error.h: Likewise.
12665 * misc/bits/syslog.h: Likewise.
12666 * misc/err.h: Likewise.
12667 * misc/error.h: Likewise.
12668 * misc/fstab.h: Likewise.
12669 * misc/mntent.h: Likewise.
12670 * misc/regexp.h: Likewise.
12671 * misc/search.h: Likewise.
12672 * misc/sgtty.h: Likewise.
12673 * misc/sys/mman.h: Likewise.
12674 * misc/sys/syslog.h: Likewise.
12675 * misc/sys/uio.h: Likewise.
12676 * misc/sys/xattr.h: Likewise.
12677 * misc/ttyent.h: Likewise.
12678 * nis/rpcsvc/ypclnt.h: Likewise.
12679 * nss/nss.h: Likewise.
12680 * posix/bits/unistd.h: Likewise.
12681 * posix/fnmatch.h: Likewise.
12682 * posix/glob.h: Likewise.
12683 * posix/sched.h: Likewise.
12684 * posix/spawn.h: Likewise.
12685 * posix/sys/wait.h: Likewise.
12686 * posix/unistd.h: Likewise.
12687 * posix/wordexp.h: Likewise.
12688 * pwd/pwd.h: Likewise.
12689 * resolv/netdb.h: Likewise.
12690 * resource/sys/resource.h: Likewise.
12691 * rt/aio.h: Likewise.
12692 * rt/bits/mqueue2.h: Likewise.
12693 * rt/mqueue.h: Likewise.
12694 * shadow/shadow.h: Likewise.
12695 * signal/signal.h: Likewise.
12696 * socket/send.c: Likewise.
12697 * socket/sendto.c: Likewise.
12698 * socket/sys/socket.h: Likewise.
12699 * stdio-common/printf.h: Likewise.
12700 * stdlib/bits/stdlib.h: Likewise.
12701 * stdlib/fmtmsg.h: Likewise.
12702 * stdlib/monetary.h: Likewise.
12703 * stdlib/stdlib.h: Likewise.
12704 * stdlib/ucontext.h: Likewise.
12705 * streams/stropts.h: Likewise.
12706 * string/argz.h: Likewise.
12707 * string/bits/string2.h: Likewise.
12708 * string/string.h: Likewise.
12709 * string/strings.h: Likewise.
12710 * sunrpc/rpc/auth.h: Likewise.
12711 * sunrpc/rpc/auth_des.h: Likewise.
12712 * sunrpc/rpc/clnt.h: Likewise.
12713 * sunrpc/rpc/netdb.h: Likewise.
12714 * sunrpc/rpc/pmap_clnt.h: Likewise.
12715 * sunrpc/rpc/xdr.h: Likewise.
12716 * sysdeps/generic/inttypes.h: Likewise.
12717 * sysdeps/generic/net/if.h: Likewise.
12718 * sysdeps/generic/sys/swap.h: Likewise.
12719 * sysdeps/gnu/net/if.h: Likewise.
12720 * sysdeps/gnu/utmpx.h: Likewise.
12721 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12722 * sysdeps/i386/i486/bits/string.h: Likewise.
12723 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12724 * sysdeps/s390/bits/string.h: Likewise.
12725 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12726 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12727 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12728 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12729 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12730 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12731 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12732 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12733 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12734 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12735 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12736 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12737 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12738 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12739 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12740 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12741 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12744 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12748 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12749 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12750 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12751 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12753 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12755 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12756 * sysvipc/sys/ipc.h: Likewise.
12757 * sysvipc/sys/msg.h: Likewise.
12758 * sysvipc/sys/sem.h: Likewise.
12759 * sysvipc/sys/shm.h: Likewise.
12760 * termios/termios.h: Likewise.
12761 * time/sys/time.h: Likewise.
12762 * time/time.h: Likewise.
12763 * wcsmbs/bits/wchar2.h: Likewise.
12764 * wcsmbs/uchar.h: Likewise.
12765 * wcsmbs/wchar.h: Likewise.
12766 * wctype/wctype.h: Likewise.
12767
0269750c
UD
12768 [BZ #13551]
12769 * Makeconfig: Remove all but ELF support including AIX support.
12770 * Makerules: Likewise.
12771 * config.h.in: Likewise.
12772 * config.make.in: Likewise.
12773 * configure: Likewise.
12774 * configure.in: Likewise.
12775 * csu/Makefile: Likewise.
12776 * csu/version.c: Likewise.
12777 * debug/Makefile: Likewise.
12778 * dlfcn/Makefile: Likewise.
12779 * elf/Makefile: Likewise.
12780 * extra-lib.mk: Likewise.
12781 * iconv/Makefile: Likewise.
12782 * include/libc-symbols.h: Likewise.
12783 * include/shlib-compat.h: Likewise.
12784 * resolv/Makefile: Likewise.
12785 * resolv/res_libc.c: Likewise.
12786 * rt/Makefile: Likewise.
12787 * sysdeps/i386/asm-syntax.h: Likewise.
12788 * sysdeps/i386/sysdep.h: Likewise.
12789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12790 * sysdeps/mach/sysdep.h: Likewise.
12791 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12792 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12793 * sysdeps/s390/asm-syntax.h: Likewise.
12794 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12796 * sysdeps/sh/sysdep.h: Likewise.
12797 * sysdeps/unix/sparc/sysdep.h: Likewise.
12798 * sysdeps/wordsize-32/divdi3.c: Likewise.
12799 * sysdeps/x86_64/sysdep.h: Likewise.
12800
00bbd29b
UD
12801 * argp/Versions: Remove _argp_unlock_xxx.
12802
12803 [BZ #13559]
12804 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12805 * abilist/libBrokenLocale.abilist: Likewise.
12806 * abilist/libanl.abilist: Likewise.
12807 * abilist/libc.abilist: Likewise.
12808 * abilist/libcrypt.abilist: Likewise.
12809 * abilist/libdl.abilist: Likewise.
12810 * abilist/libm.abilist: Likewise.
12811 * abilist/libnsl.abilist: Likewise.
12812 * abilist/libpthread.abilist: Likewise.
12813 * abilist/libresolv.abilist: Likewise.
12814 * abilist/librt.abilist: Likewise.
12815 * abilist/libthread_db.abilist: Likewise.
12816 * abilist/libutil.abilist: Likewise.
12817 * abilist/libnss_db.abilist: New file.
12818
12819 * scripts/abilist.awk: Add support for indirect functions.
12820
a2693a0e
UD
12821 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12822
3f05895f
UD
12823 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12824
ecb6fb48
UD
12825 * shlib-versions: Remove entries for ports architectures.
12826
664f8cb9
UD
12827 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12828 files in ports.
12829 * elf/stackguard-macros.h: Remove support for IA-64.
12830 * elf/tst-auditmod1.c: Likewise.
12831 * sysdeps/generic/ldsodefs.h: Likewise.
12832
7ae81d88
UD
12833 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12834 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12835 configure files.
12836
bdeba135
UD
12837 [BZ #13552]
12838 * configure.in: Remove --enable-omitfp support.
12839 * FAQ.in: Adjust.
12840 * config.make.in: Likewise.
12841 * Makeconfig: Likewise.
12842 * manual/install.texi: Likewise.
12843
d75a0a62
UD
12844 In case anyone cares, the IA-64 architecture could move to ports.
12845 * sysdeps/ia64/*: Removed.
12846 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12847 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12848
dcc9756b
UD
12849 [BZ #13555]
12850 * configure.in: Remove entries for unsupported architectures.
12851
d3761ebc 12852 [BZ #13533]
9954432e
UD
12853 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12854 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12855 routines.
12856 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12857 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12858 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12859 fall back to using wcrtomb.
12860 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12861 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12862 renaming.
12863 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12864 * wcsmbs/tst-c16c32-1.c: New file.
12865
12866 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12867 local variable.
12868
c3a87236
UD
12869 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12870
28926a1b
UD
12871 * elf/tst-unique3.cc: Add explicit declaration of gets.
12872 * elf/tst-unique3lib.cc: Likewise.
12873 * elf/tst-unique3lib2.cc: Likewise.
12874 * elf/tst-unique4.cc: Likewise.
12875
df78418a
UD
12876 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12877
8ecd6b2a
JM
128782012-01-06 Joseph Myers <joseph@codesourcery.com>
12879
12880 [BZ #13566]
12881 * assert/assert.h (static_assert): Don't define for C++.
12882 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12883 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12884
9f115170
UD
128852012-01-03 Ulrich Drepper <drepper@gmail.com>
12886
5e0d0300
UD
12887 * iconv/loop.c (single loop): Fix assertion in storing of
12888 remaining bytes.
12889
9f115170
UD
12890 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12891
81fb02b0
UD
128922012-01-01 Ulrich Drepper <drepper@gmail.com>
12893
12894 * posix/getconf.c: Update copyright year.
12895 * nss/getent.c: Likewise.
a316c1f6 12896 * nss/makedb.c: Likewise.
81fb02b0
UD
12897 * iconv/iconvconfig.c: Likewise.
12898 * iconv/iconv_prog.c: Likewise.
12899 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12900 * elf/pldd.c: Likewise.
12901 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12902 * catgets/gencat.c: Likewise.
12903 * csu/version.c: Likewise.
12904 * elf/ldd.bash.in: Likewise.
12905 * elf/sprof.c (print_version): Likewise.
12906 * locale/programs/locale.c: Likewise.
12907 * locale/programs/localedef.c: Likewise.
a316c1f6 12908 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12909 * nscd/nscd.c (print_version): Likewise.
12910 * debug/xtrace.sh: Likewise.
12911 * malloc/memusage.sh: Likewise.
12912 * malloc/mtrace.pl: Likewise.
12913 * debug/catchsegv.sh: Likewise.
12914
2ba92745
JJ
129152011-12-30 Jakub Jelinek <jakub@redhat.com>
12916
12917 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12918 pure attribute.
12919
dadebdae
UD
129202011-12-24 Ulrich Drepper <drepper@gmail.com>
12921
d3761ebc 12922 [BZ #13533]
db6af3eb
UD
12923 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12924 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12925 transformations.
12926 * iconv/gconv_int.h: Likewise.
12927 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12928 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12929 from libc for GLIBC_2.16.
12930 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12931 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12932 * wcsmbs/uchar.h: Really define mbstate_t.
12933 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12934 * wcsmbs/c16rtomb.c: New file.
12935 * wcsmbs/mbrtoc16.c: New file.
12936 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12937 for C/POSIX locale.
12938 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12939 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12940
dadebdae
UD
12941 * wcsmbs/wchar.h: Add missing __restrict.
12942
67371b56
UD
129432011-12-23 Ulrich Drepper <drepper@gmail.com>
12944
74033a25
UD
12945 [BZ #13532]
12946 * time/Makefile (routines): Add timespec_get.
12947 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12948 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12949 timespec for ISO C11.
12950 * time/timespec_get.c: New file.
12951 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12952 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12953
380d7e87
UD
12954 [BZ #13531]
12955 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12956 * stdlib/stdlib.h: Declare aligned_alloc.
12957 * Versions.def: Add GLIBC_2.16 for libc.
12958 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12959
4e9e7a35
UD
12960 [BZ 13527]
12961 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12962 ISO C11.
12963
380d7e87 12964 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12965 code.
12966
03a71829
UD
12967 [BZ #13528]
12968 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12969
839e283e
UD
12970 [BZ #13529]
12971 * assert/assert.h (static_assert): Define.
12972
ce5294e2 12973 * version.h: Update for 2.16 development version.
90fa7312 12974
8d44e150 12975 [BZ #13526]
d7809905
UD
12976 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12977 _ISOC11_SOURCE.
12978
c0da14cd
UD
12979 * version.h (RELEASE): Bump for 2.15 release.
12980 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12981
530a3249
MP
12982 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12983 Patch by Marek Polacek <mpolacek@redhat.com>.
12984
67371b56
UD
12985 * bits/byteswap.h: Protect long long constants with __extension__.
12986 * sysdeps/i386/bits/byteswap.h: Likewise.
12987 * sysdeps/ia64/bits/byteswap.h: Likewise.
12988 * sysdeps/s390/bits/byteswap.h: Likewise.
12989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12990
15db4de1
LD
129912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12992
12993 [BZ #13540]
bbe315ea
LD
12994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12995 destination buffer.
15db4de1
LD
12996 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12997
2b2596b1
MP
129982011-12-23 Marek Polacek <polacek@redhat.com>
12999
13000 * elf/dl-addr.c (determine_info): Add inline keyword.
13001 * elf/tst-auditmod4b.c (check_avx): Likewise.
13002 * elf/tst-auditmod6b.c (check_avx): Likewise.
13003 * elf/tst-auditmod6c.c (check_avx): Likewise.
13004 * elf/tst-auditmod7b.c (check_avx): Likewise.
13005
70c6c246
UD
130062011-12-23 Ulrich Drepper <drepper@gmail.com>
13007
13008 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13009 !__SSE_MATH__.
13010
c044cf14
LD
130112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13012
15db4de1 13013 [BZ #13540]
c044cf14
LD
13014 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13015 processing for last bytes.
13016
6b13d9d9
BH
130172011-08-06 Bruno Haible <bruno@clisp.org>
13018
d455f537
BH
13019 [BZ #13061]
13020 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13021 U+0385, not to U+1FEE.
13022
6b13d9d9
BH
13023 [BZ #13062]
13024 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13025 entry for U+00A5 U+0301.
13026
db910efd
UD
130272011-12-22 Ulrich Drepper <drepper@gmail.com>
13028
27deeafc
UD
13029 [BZ #13166]
13030 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13031 buffer for the output is too small.
13032
aed9d171
UD
13033 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13034 optimization.
13035
db910efd
UD
13036 [BZ #13185]
13037 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13038 SSE flags if possible.
13039
2bd779ae
LD
130402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13041
e7f9dac3 13042 [BZ #13540]
2bd779ae
LD
13043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13044 processing for last bytes.
13045
154bfc16
JM
130462011-12-22 Joseph Myers <joseph@codesourcery.com>
13047
13048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13049 (syscall-list-default-options, syscall-list-default-condition)
13050 (syscall-list-includes): Define.
13051 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13052 list of ABIs and options and #if conditions for each ABI. Do not
13053 handle common syscalls between ABIs specially.
13054 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13055 Remove.
13056 (syscall-list-variants, syscall-list-32bit-options)
13057 (syscall-list-32bit-condition, syscall-list-64bit-options)
13058 (syscall-list-64bit-condition): Define.
13059 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13060 (syscall-list-variants, syscall-list-32bit-options)
13061 (syscall-list-32bit-condition, syscall-list-64bit-options)
13062 (syscall-list-64bit-condition): Define.
13063 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13064 Remove.
13065 (syscall-list-variants, syscall-list-32bit-options)
13066 (syscall-list-32bit-condition, syscall-list-64bit-options)
13067 (syscall-list-64bit-condition): Define.
13068 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13069 Remove.
13070 (syscall-list-variants, syscall-list-32bit-options)
13071 (syscall-list-32bit-condition, syscall-list-64bit-options)
13072 (syscall-list-64bit-condition): Define.
13073
21eaf3a5
UD
130742011-12-22 Ulrich Drepper <drepper@gmail.com>
13075
16c6f992
UD
13076 * locale/iso-639.def: Add brx entry.
13077
41043168
UD
13078 [BZ #13328]
13079 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13080 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13081
21eaf3a5
UD
13082 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13083 __feraiseexcept_renamed.
13084
e3a851a2
UD
130852011-12-21 Ulrich Drepper <drepper@gmail.com>
13086
4920765e
UD
13087 [BZ #13538]
13088 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13089 EPOLLET with unsigned values.
13090 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13092
e3a851a2
UD
13093 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13094 to large cancellation.
13095 * math/s_cacoshf.c: Likewise.
13096 * math/s_cacoshl.c: Likewise.
13097
b27e24b8
RK
130982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13099
13100 [BZ #13305]
aebefeee 13101 [BZ #12786]
b27e24b8
RK
13102 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13103 * math/s_cacoshf.c: Likewise.
13104 * math/s_cacoshl.c: Likewise.
13105
ee190f67
UD
131062011-12-21 Ulrich Drepper <drepper@gmail.com>
13107
13108 [BZ #13439]
13109 * iconv/gconv.h: Define __GCONV_SWAP.
13110 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13111 * iconvdata/utf-16.c: Likewise.
13112 * iconvdata/utf-32.c: Likewise.
13113
707f25df
AS
131142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13115
13116 [BZ #13524]
13117 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13118 numerator after shifting it by one limb.
13119
d2daaa1e
RÁE
131202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13121
13122 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13123 under [__USE_EXTERN_INLINES].
13124
a4647e72
UD
131252011-12-17 Ulrich Drepper <drepper@gmail.com>
13126
13127 [BZ #13446]
13128 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13129
f0b264f1
AZ
131302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13131
13132 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13133 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13134 optimized code.
13135 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13136 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13137 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13138 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13139 for strncasecmp/strncasecmp_l compilation.
13140 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13141 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13142
8ef4f244
MP
131432011-12-08 Marek Polacek <mpolacek@redhat.com>
13144
13145 [BZ #13484]
13146 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13147 of __asm__.
13148
97ac2654
UD
131492011-12-17 Ulrich Drepper <drepper@gmail.com>
13150
13151 [BZ #13506]
13152 * time/tzfile.c (__tzfile_read): Check values from file header.
13153
91d2a845
WS
131542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13155
13156 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13157 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13158 * powerpc/powerpc32/dl-start.S: Likewise.
13159 * powerpc/powerpc32/elf/start.S: Likewise.
13160 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13161 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13162 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13163 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13164 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13165 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13166 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13167 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13168 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13169 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13170 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13171 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13172 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13173 * powerpc/powerpc32/memset.S: Likewise.
13174 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13175 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13176 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13177 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13178 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13179 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13180 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13181 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13182 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13183 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13184 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13187
a1267ba1
AZ
131882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13189
13190 * math/libm-test.inc: Added more nearbyint tests.
13191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13195
ad8ac1bd
RL
131962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13197
13198 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13199 FD_CLOEXEC.
13200
1d3e4b61
UD
132012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13202
13203 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13204 Add wcscpy-ssse3 wcscpy-c.
13205 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13206 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13207 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13208 * sysdeps/x86_64/wcschr.S: New file.
13209 * sysdeps/x86_64/wcsrchr.S: New file.
13210 * string/test-strcmp.c: Remove checking of wcscmp function for
13211 wrong alignments.
13212 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13213 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13214 wcsrchr-sse2 wcsrchr-c.
13215 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13216 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13217 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13218 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13219 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13220 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13221 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13222 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13223 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13224 * wcsmbc/wcschr.c (WCSCHR): New macro.
13225
5b330a2d
UD
132262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13227
13228 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13229 * wcsmbs/test-wcsrchr.c: New file.
13230 * string/test-strrchr.c: Add wcsrchr support.
13231 (WIDE): New macro.
13232 * wcsmbs/test-wcscpy.c: New file.
13233 * string/test-strcpy.c: Add wcscpy support.
13234 (WIDE): New macro.
26428b7c 13235
f039c043
UD
132362011-12-10 Ulrich Drepper <drepper@gmail.com>
13237
13238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13239 the inner loop.
13240
850fb039
AS
132412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13242
13243 [BZ #13472]
13244 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13245
4efbd5cb
UD
132462011-12-04 Ulrich Drepper <drepper@gmail.com>
13247
52ff5dd0 13248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13249 Minor optimizations.
52ff5dd0 13250
4efbd5cb
UD
13251 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13252 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13253 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13254
8a426e12
UD
132552011-12-03 Ulrich Drepper <drepper@gmail.com>
13256
aff2453d
UD
13257 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13258 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13259 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13260 for gcc to avoid warnings.
13261 * inet/Makefile (tests): Add tst-checks.
13262 * inet/tst-checks.c: New file.
13263
13264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13265 warning.
13266
13267 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13268 __wmemcmp_sse2.
13269
13270 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13271 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13272
8a426e12
UD
13273 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13274
9bea3473
UD
132752011-12-02 Ulrich Drepper <drepper@gmail.com>
13276
3a965496
UD
13277 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13278 problem.
13279
9bea3473
UD
13280 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13281
f101631b
UD
132822011-11-29 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13285 conditional on GCC version.
13286 (__arch_compare_and_exchange_val_8_acq)
13287 (__arch_compare_and_exchange_val_16_acq)
13288 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13289 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13290 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13291
a98275aa
UD
132922011-12-02 Joseph Myers <joseph@codesourcery.com>
13293
13294 * sysdeps/sh/backtrace.c: New file.
13295
d4cc29a2
AS
132962011-12-02 Andreas Schwab <schwab@redhat.com>
13297
13298 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13299 parenthesis.
13300
6257af2d
AS
133012011-12-01 Andreas Schwab <schwab@redhat.com>
13302
13303 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13304 falling back to utime.
13305
b5f44c1a
AS
133062011-11-30 Andreas Schwab <schwab@redhat.com>
13307
13308 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13309 expectations for float.
13310
f3a6cc0a
AS
133112011-11-29 Andreas Schwab <schwab@redhat.com>
13312
13313 * locale/weight.h (findidx): Add parameter len.
13314 * locale/weightwc.h (findidx): Likewise.
13315 * posix/fnmatch_loop.c (FCT): Adjust caller.
13316 * posix/regcomp.c (build_equiv_class): Likewise.
13317 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13318 * posix/regexec.c (check_node_accept_bytes): Likewise.
13319 * string/strcoll_l.c (STRCOLL): Likewise.
13320 * string/strxfrm_l.c (STRXFRM): Likewise.
13321
9d65ea3a
UD
133222011-11-17 Ulrich Drepper <drepper@gmail.com>
13323
13324 * Makefile.in: Remove CVSOPT handling.
13325 * configure.in: Remove use of AC_REVISION.
13326 * iconvdata/Makefile (distribute): No need to filter out CVS.
13327 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13328 handling.
13329
5583a086
AS
133302011-11-16 Andreas Schwab <schwab@redhat.com>
13331
13332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13333 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13334 [USE_AS_STRNCASECMP_L]: Likewise.
13335 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13336 NO_TLS_DIRECT_SEG_REFS.
13337 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13338 Fix argument offsets for non-PIC.
13339 [USE_AS_STRNCASECMP_L]: Likewise.
13340 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13341 NO_TLS_DIRECT_SEG_REFS.
13342
d62a8200
UD
133432011-11-15 Ulrich Drepper <drepper@gmail.com>
13344
9d65ea3a 13345 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13346 O_CLOEXEC.
13347 * locale/loadlocale.c (_nl_load_locale): Likewise.
13348
09f93bd3
AS
133492011-11-15 Andreas Schwab <schwab@redhat.com>
13350
446514f9
AS
13351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13352 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13353 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13354 (SYSCALL_GETTIME): Set errno on error.
13355
09f93bd3
AS
13356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13357 count references to noai6ai_cached.
13358
312be3f9
UD
133592011-11-15 Ulrich Drepper <drepper@gmail.com>
13360
13361 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13362
13363 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13364 FD_CLOEXEC for /proc/self/maps.
13365
13366 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13367 FD_CLOEXEC for /proc/meminfo.
13368
13369 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13370 gai.conf.
13371
13372 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13373 FD_CLOEXEC for given file.
13374
13375 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13376
13377 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13378 FD_CLOEXEC for /etc/hosts.
13379 (_gethtent): Likewise.
13380
13381 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13382
13383 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13384 cancellation and set FD_CLOEXEC for /etc/netgroup.
13385
13386 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13387 reading /etc/publickey.
13388
13389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13390 allow cancellation when reading /etc/group.
13391
13392 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13393 cancellation.
13394 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13395
13396 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13397 when using data file.
13398
13399 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13400
13401 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13402 (write_nis_obj): Use "c" and "e" in fopen.
13403
13404 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13405
13406 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13407
13408 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13409
13410 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13411
13412 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13413 locale.alias.
13414
13415 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13416
13417 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13418
13419 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13420
13421 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13422 file parsing and set FD_CLOEXEC.
13423
82af0fa8
UD
134242011-11-14 Ulrich Drepper <drepper@gmail.com>
13425
13426 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13427
a5fb313c
AS
134282011-11-14 Andreas Schwab <schwab@redhat.com>
13429
13430 * malloc/arena.c (arena_get2): Don't call reused_arena when
13431 _int_new_arena failed.
13432
6abf3465
UD
134332011-11-14 Ulrich Drepper <drepper@gmail.com>
13434
13435 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13436 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13438 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13441 to compile strcasecmp and strncasecmp.
13442 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13443 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13444
13445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13446
76e3966e
UD
134472011-11-13 Ulrich Drepper <drepper@gmail.com>
13448
13449 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13450 locale-defines.sym to gen-as-const-headers.
13451 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13452 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13454 to compile strcasecmp and strncasecmp.
13455 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13456 strcasecmp_l and strncasecmp_l.
13457 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13458 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13459 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13460 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13461 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13463 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13464 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13465 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13466 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13467 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13468
ab26144e
UD
134692011-11-12 Ulrich Drepper <drepper@gmail.com>
13470
7edb22ef
UD
13471 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13472 result of SYSDEP_GETTIME_CPU to retval.
13473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13474 parameter list to macro. Remove trailing semicolon. Adjust users.
13475
9694fc44
UD
13476 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13477 variable.
13478
8ad89ef8
UD
13479 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13480 mantissa words.
13481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13482
0c822ef9
UD
13483 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13484 from unused variable.
13485
874e0564
UD
13486 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13487 DWARF definitions.
13488 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13489 for assembling.
13490
3a2edc79
UD
13491 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13492 over namespaces.
13493
f3c2577f
UD
13494 * sunrpc/rpc_prot.c (rejected): Fix case value.
13495
294ce126
UD
13496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13497 unsigned long long int to avoid warnings in shift.
13498
5e2b63c6
UD
13499 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13500 of use of trans.
13501 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13502 variable tmp.
13503
e7f4b08e
UD
13504 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13505 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13506 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13507
ab26144e
UD
13508 * nis/nis_table.c (nis_list): Use variable of correct type for
13509 result of __follow_path call.
13510
8a6d5255
AZ
135112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13512
13513 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13514 of math functions ceil, trunc, floor, round, and sqrt, when
13515 avaliable on the platform.
13516 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13517 name clash.
13518 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13519 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13520 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13521
aaddc98c
MP
135222011-10-30 Marek Polacek <mpolacek@redhat.com>
13523
13524 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13526
95b7042b
RM
135272011-11-11 Roland McGrath <roland@hack.frob.com>
13528
13529 * include/unistd.h: Fix __readlink return type.
13530 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13531
57769839
UD
135322011-11-11 Ulrich Drepper <drepper@gmail.com>
13533
13534 * stdlib/ucontext.h: Undo last change for makecontext.
13535
edc5984d
AS
135362011-11-11 Andreas Schwab <schwab@redhat.com>
13537
98591e58
AS
13538 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13539
edc5984d
AS
13540 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13541 * setjmp/setjmp.h: Mark functions as non-leaf.
13542 * setjmp/bits/setjmp2.h: Likewise.
13543 * stdlib/ucontext.h: Likewise.
13544
77cdc054
AS
135452011-11-10 Andreas Schwab <schwab@redhat.com>
13546
13547 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13548 (reused_arena): Don't check arena limit.
13549 (arena_get2): Atomically check arena limit.
13550
fe72eebd
UD
135512011-11-08 Ulrich Drepper <drepper@gmail.com>
13552
5f078c32
UD
13553 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13554 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13555
fe72eebd
UD
13556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13557 instructions.
13558
ae1bc2fa
AS
135592011-11-07 Andreas Schwab <schwab@redhat.com>
13560
7583a88d
AS
13561 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13562 handler when locking.
13563
ae1bc2fa
AS
13564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13565 Fix size of allocated buffer.
13566
10fb0bfa
AS
135672011-11-04 Andreas Schwab <schwab@redhat.com>
13568
998832a4
AS
13569 [BZ #10103]
13570 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13571 declarations for long double functions.
13572 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13573
10fb0bfa
AS
13574 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13575
3d7ba52b
AS
135762011-11-03 Andreas Schwab <schwab@redhat.com>
13577
a9ae54a1
AS
13578 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13579 installed.
13580
3d7ba52b
AS
13581 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13582 is disabled.
13583
bc8db248
ST
135842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13585
13586 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13587
45b96dd6
AS
135882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13589
647776f6
AS
13590 * include/alloca.h (stackinfo_alloca_round): Define.
13591 (extend_alloca): Use it.
13592 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13593 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13594 here.
13595
d91a8b93
AS
13596 * scripts/check-local-headers.sh: Ignore libaudit.h.
13597
45b96dd6
AS
13598 * nscd/Makefile (extra-objs): Make recursively expanded.
13599
432d41ce
UD
136002011-11-01 Ulrich Drepper <drepper@gmail.com>
13601
34372fc6
UD
13602 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13604
fadb59f8
UD
13605 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13606 * posix/tst-rfc3484-2.c: Likewise.
13607 * posix/tst-rfc3484-3.c: Likewise.
13608
78239589
UD
13609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13610 process_vm_writev.
13611 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13612 process_vm_writev.
13613 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13614 process_vm_writev from libc using GLIBC_2.15 version.
13615
432d41ce
UD
13616 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13617
02f9c6cf
PP
136182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13619
13620 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13621 stack usage.
13622
3a2c0242
UD
136232011-10-31 Ulrich Drepper <drepper@gmail.com>
13624
f4ec4833
UD
13625 [BZ #13367]
13626 * nss/getent.c (initgroups_keys): Show error message in case no group
13627 names are given.
13628
3a2c0242
UD
13629 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13630 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13631 __bump_nl_timestamp.
13632 * nscd/connections (nscd_init): When host database is served open
13633 netlink socket and request notification about configuration changes.
13634 (main_loop_poll): Track netlink file descriptor and bump timestamp
13635 in case data becomes available.
13636 (main_loop_epoll): Likewise.
13637 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13638 (database_pers_head): Add extra_data fileds.
13639 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13640 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13641 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13642 Adjust caller.
13643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13644 in6ai data, call __free_in6ai.
13645 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13646 Add -DHAVE_NETLINK.
13647 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13648 interface information. Reuse previous data if netlink timestamp
13649 is not changed.
13650 (__bump_nl_timestamp): New function.
13651 (__free_in6ai): New function.
13652
636064eb
UD
136532011-10-30 Ulrich Drepper <drepper@gmail.com>
13654
13655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13656 close_not_cancel_no_status here.
13657 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13658
9beb2334
UD
136592011-10-29 Ulrich Drepper <drepper@gmail.com>
13660
6ef76f3b
UD
13661 [BZ #13276]
13662 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13663 return value.
13664
0ffc4f3e 13665 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13666 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13667 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13668
cb95113e
UD
136692011-07-03 Andreas Jaeger <aj@suse.de>
13670
13671 [BZ #10709]
13672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13673 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13674 * math/libm-test.inc (sin_test): Add test case.
13675
a1b560ff
UD
136762011-10-29 Ulrich Drepper <drepper@gmail.com>
13677
c9aaface
UD
13678 [BZ #13337]
13679 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13680 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13681
d272e7f1
UD
13682 * elf/chroot_canon.c (chroot_canon): Cleanups.
13683
1bc33071
UD
13684 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13685
1760874d
TJ
13686 [BZ #13335]
13687 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13689
51d91b18
UD
13690 * string/test-strchr.c: Make usable for strchrnul testing.
13691 * string/test-strchrnul.c: New file.
13692 * string/Makefile (strop-tests): Add strchrnul.
13693
a1b560ff 13694 * po/it.po: Update from translation team.
b611fb81 13695 * po/es.po: Likewise.
a1b560ff 13696
a5b81e1f
UD
136972011-10-28 Ulrich Drepper <drepper@gmail.com>
13698
fd52bc6d
UD
13699 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13700 the three constants needed as parameters. Drop the others.
13701 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13702 __m128i_strloadu_tolower.
52e4b9eb
UD
13703 Create and initialize variable zero and use it in all the places
13704 where _mm_setzero_si128 was used.
fd52bc6d 13705
a5b81e1f
UD
13706 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13707 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13708 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13710 anymore.
13711 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13713 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13714 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13715 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13716 __mpranred, __mptan.
13717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13721 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13722 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13724 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13725 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13726
b4343346
AS
137272011-10-28 Andreas Schwab <schwab@redhat.com>
13728
0c92d8a8
AS
13729 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13730 redefine if SHARED.
13731 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13732
b4343346
AS
13733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13734 wide char related routines to wcsmbs subdir.
13735
3871f58f
AS
137362011-10-27 Andreas Schwab <schwab@redhat.com>
13737
13738 [BZ #13344]
13739 * misc/sys/cdefs.h (__THROWNL): Define.
13740 * posix/unistd.h: Use __THREADNL instead of __THREAD
13741 for memory synchronization functions.
13742
94d44d9f
RM
137432011-10-26 Roland McGrath <roland@hack.frob.com>
13744
21b64b15 13745 [BZ #13349]
94d44d9f
RM
13746 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13747 doesn't exist.
13748 * manual/stdio.texi (Obstack Streams): Node removed.
13749
f6ce9294
AS
137502011-10-26 Andreas Schwab <schwab@redhat.com>
13751
80479147
AS
13752 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13753 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13754 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13755
f6ce9294
AS
13756 * math/math_private.h (math_force_eval): Allow non-addressable
13757 arguments.
13758 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13759
618280a1
UD
137602011-10-25 Ulrich Drepper <drepper@gmail.com>
13761
e0016b11
UD
13762 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13763 file is not needed.
13764
13765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13772 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13773 Add AVX variants.
13774 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13775 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13776 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13777 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13779 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13780 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13781 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13784 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13785 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13786 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13787 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13789 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13790 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13791 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13792 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13793
13794 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13795 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13796
618280a1
UD
13797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13798 place. Use VEX encoding when compiling for AVX.
13799
37822576
AS
138002011-10-25 Andreas Schwab <schwab@redhat.com>
13801
1f1e1947
AS
13802 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13803 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13804
37822576
AS
13805 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13806
31ea014d
UD
138072011-10-25 Ulrich Drepper <drepper@gmail.com>
13808
d7826aa1 13809 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13810 useless if() expression.
d7826aa1
UD
13811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13830
31ea014d
UD
13831 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13832
16437fec
AS
138332011-10-25 Andreas Schwab <schwab@redhat.com>
13834
13835 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13836 condition.
13837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13838
31d3cc00
UD
138392011-10-25 Ulrich Drepper <drepper@gmail.com>
13840
13841 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13842 .text section. Avoid duplicate constants.
13843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13853 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13871 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13874 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13875 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13876 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13877 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13878 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13879 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13881 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13882 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13884 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13885 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13886 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13887 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13888
58985aa9
UD
138892011-10-24 Ulrich Drepper <drepper@gmail.com>
13890
202c9deb
UD
13891 * sysdeps/x86_64/dla.h: Move to ...
13892 * sysdeps/x86_64/fpu/dla.h: ...here.
13893 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13894 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13895
af968f62
UD
13896 * config.make.in: Add have-mfma4 entry.
13897 * configure.in: Substitute libc_cv_cc_fma4.
13898 * math/Makefile (dbl-only-routines): Add sincostab.
13899 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13900 Use __sincostab not sincos.
13901 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13902 name is a macro.
13903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13907 using __copysign.
13908 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13909 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13910 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13911 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13912 and __inv.
13913 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13914 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13915 __copysign.
13916 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13917 define aliases when function name is a macro.
13918 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13919 sysdeps/ieee754/dbl-64/sincos.tbl.
13920 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13921 fma4-enabled routines.
13922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13923 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13924 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13925 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13927 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13928 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13929 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13931 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13932 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13934 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13952
58985aa9
UD
13953 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13954 rename.
13955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13963
a201fbcf
AS
139642011-10-24 Andreas Schwab <schwab@redhat.com>
13965
13966 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13967
fc2ee42a
LD
139682011-10-23 Ulrich Drepper <drepper@gmail.com>
13969
bb3129bd
UD
13970 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13971
0275fff8
UD
13972 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13973 prediction.
13974 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13975
2fa2ae85
UD
13976 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13977 Remove unused variable magic_bits.
13978 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13979
fc2ee42a
LD
13980 * string/strnlen.c: Define and use STRNLEN macro.
13981 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13982 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13984 * wcsmbs/wcslen.c: Define and use WCSLEN.
13985 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13986 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13987 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13988 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13989 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13990 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13992
ce7dd29f
LD
139932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13994
13995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13996 strnlen-sse2-no-bsf.
13997 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13999 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14000 Add strnlen support.
14001 (USE_AS_STRNLEN): New macro.
14002 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14004 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14005 * sysdeps/x86_64/wcslen.S: New file.
14006
979c70a3
MZ
140072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14008
14009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14010 XMM-moves are used for copying on small sizes.
14011
2d09f82f
LD
140122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14013
14014 * wcsmbs/Makefile (strop-tests): Add wcschr.
14015 * wcsmbs/test-wcschr.c: New file.
14016 * string/test-strchr.c: Update.
14017 Add wcschr support.
14018 (WIDE): New macro.
14019
619fccca
LD
140202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14021
2d09f82f 14022 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14023 * wcsmbs/test-wcslen.c: New file.
14024 * string/test-strlen.c: Update.
14025 Add wcslen support.
14026 (WIDE): New macro.
14027
09f699ea
UD
140282011-10-23 Ulrich Drepper <drepper@gmail.com>
14029
14030 * po/it.po: Update from translation team.
14031
95584d3b
LD
140322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14033
14034 * sysdeps/x86_64/wcscmp.S: Update.
14035 Fix wrong comparison semantics.
14036 wcscmp shall use signed comparison not unsigned.
14037 Don't use substraction to avoid overflow bug.
14038 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14039 * wcsmbc/wcscmp.c: Likewise.
14040 * string/test-strcmp.c: Likewise.
14041 Add new tests to check cases with negative values.
14042
c8b3296b
UD
140432011-10-23 Ulrich Drepper <drepper@gmail.com>
14044
14045 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14046 * sysdeps/x86_64/dla.h: ...here. New file.
14047 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14056
246ad57a
AS
140572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14058
14059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14060 __ynl_finite aliases.
14061
a1a87169
UD
140622011-10-22 Ulrich Drepper <drepper@gmail.com>
14063
0d355eb7
UD
14064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14065
a1a87169
UD
14066 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14067 define DLA_FMA.
14068 [DLA_FMA] (EMULV): Use DLA_FMA.
14069 [DLA_FMA] (MUL12): Use EMULV.
14070 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14071 that are not needed.
14072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14079
ee2aafe0
AS
140802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14081
14082 * math/s_nan.c: Undef __nan.
14083 * math/s_nanf.c: Undef __nanf.
14084 * math/s_nanl.c: Undef __nanl.
14085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14086 "math_private.h".
14087
bc62c2fb
UD
140882011-10-22 Ulrich Drepper <drepper@gmail.com>
14089
77425c63
UD
14090 * math/s_catan.c: Add branch predictions.
14091 * math/s_catanf.c: Likewise.
14092 * math/s_catanh.c: Likewise.
14093 * math/s_catanhf.c: Likewise.
14094 * math/s_catanhl.c: Likewise.
14095 * math/s_catanl.c: Likewise.
14096 * math/s_cexp.c: Likewise.
14097 * math/s_cexpf.c: Likewise.
14098 * math/s_cexpl.c: Likewise.
14099 * math/s_clog.c: Likewise.
14100 * math/s_clog10.c: Likewise.
14101 * math/s_clog10f.c: Likewise.
14102 * math/s_clog10l.c: Likewise.
14103 * math/s_clogf.c: Likewise.
14104 * math/s_clogl.c: Likewise.
14105 * math/s_csqrt.c: Likewise.
14106 * math/s_csqrtf.c: Likewise.
14107 * math/s_csqrtl.c: Likewise.
14108 * math/s_ctanf.c: Likewise.
14109 * math/s_ctanh.c: Likewise.
14110 * math/s_ctanhf.c: Likewise.
14111 * math/s_ctanhl.c: Likewise.
14112 * math/s_ctanl.c: Likewise.
14113
bc62c2fb
UD
14114 * math/math_private.h: Define __nan, __nanf, __nanl.
14115 * math/s_cacosh.c: Include <math_private.h>.
14116 * math/s_cacoshl.c: Likewise.
14117 * math/s_casinh.c: Likewise.
14118 * math/s_casinhf.c: Likewise.
14119 * math/s_casinhl.c: Likewise.
14120 * math/s_ccos.c: Rely entire on ccosh.
14121 * math/s_ccosf.c: Rely entire on ccoshf.
14122 * math/s_ccosl.c: Rely entirely on ccoshl.
14123 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14124 Remove tests for FE_INVALID.
14125 * math/s_ccoshf.c: Likewise.
14126 * math/s_ccoshl.c: Likewise.
14127 * math/s_csin.c: Likewise.
14128 * math/s_csinf.c: Likewise.
14129 * math/s_csinh.c Likewise.
14130 * math/s_csinhf.c: Likewise.
14131 * math/s_csinhl.c: Likewise.
14132 * math/s_csinl.c: Likewise.
14133 * math/s_ctan.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14135 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14137
8ec250a4
UD
141382011-10-21 Ulrich Drepper <drepper@gmail.com>
14139
c196fed8
UD
14140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14141 compilation problems.
14142
8ec250a4
UD
14143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14144 __builtin_expect.
14145
8d4f46c6
UD
141462011-10-20 Ulrich Drepper <drepper@gmail.com>
14147
ed72b654
UD
14148 * sysdeps/i386/configure.in: Test for -mfma4 option.
14149 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14150 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14151 COMMON_CPUID_INDEX_80000001.
14152 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14153 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14154 use it if FMA3 is not supported.
14155 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14156
8d4f46c6
UD
14157 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14159
d45c60c2
AS
141602011-10-20 Andreas Schwab <schwab@redhat.com>
14161
14162 [BZ #12892]
14163 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14164 it would create a cycle with a link time dependency.
14165
d9a4d2ab
UD
141662011-10-19 Ulrich Drepper <drepper@gmail.com>
14167
855d1560
UD
14168 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14169 instruction.
14170 * string/Makefile (strop-tests): Add rawmemchr.
14171 * string/test-rawmemchr.c: New file.
14172
d9a4d2ab
UD
14173 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14175 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14176 when compiling str{,n}casecmp and when AVX is available. Hook up
14177 new optimized code in initializers.
14178
8f3b1ffe
AS
141792011-10-19 Andreas Schwab <schwab@redhat.com>
14180
14181 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14182 __feraiseexcept instead of feraiseexcept.
14183
d38f1dba
UD
141842011-10-18 Ulrich Drepper <drepper@gmail.com>
14185
d9a8d0ab
UD
14186 * math/math_private.h: Define defaults for libc_fetestexcept and
14187 libc_feupdateenv.
14188 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14189 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14190 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14191 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14192 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14193 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14194 libc_fetestexcept and libc_feupdateenv.
14195
4855e3dd
UD
14196 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14197 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14198 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14199 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14200 libc_feholdexcept_setround.
14201
581d30e3
UD
14202 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14203 Add s_nearbyint-c and s_nearbyintf-c.
14204 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14205 nearbyintf inlines.
14206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14209 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14210
d38f1dba
UD
14211 * math/math_private.h: Define defaults for libc_fegetround,
14212 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14213 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14214 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14216 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14217 standard functions.
14218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14219 Remove comments and hacks for old compiler versions.
14220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14221 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14222 libc_feholdexceptl.
14223
caa6c9d8
AS
142242011-10-18 Andreas Schwab <schwab@redhat.com>
14225
14226 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14227 (__feraiseexcept_renamed): Add __NTH.
14228 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14229 namespace violations.
14230
97c066e6
UD
142312011-10-17 Ulrich Drepper <drepper@gmail.com>
14232
99ce7b04
UD
14233 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14234
1004d182
UD
14235 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14236
228a984d
UD
14237 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14238 recently added interfaces.
14239 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14240
c8553a6a
UD
14241 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14242 about macro parameter expansion.
14243
ed22dcf6
UD
14244 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14245 __NO_MATH_INLINES is defined. Cleanups.
14246
14247 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14248 and __floorf is target has SSE4.1.
14249 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14250 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14251 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14253
b171c137
UD
14254 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14255 name.
14256 (floorf): Likewise.
14257
97c066e6
UD
14258 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14259
629f62ef
AS
142602011-10-17 Andreas Schwab <schwab@redhat.com>
14261
49a43d80
AS
14262 * misc/sys/cdefs.h: Fix last change.
14263
629f62ef
AS
14264 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14265 database lookup.
14266
e453f6cd
UD
142672011-10-16 Ulrich Drepper <drepper@gmail.com>
14268
aa78043a
UD
14269 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14270
ad0f5cad
UD
14271 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14279 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14280 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14281 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14282 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14283 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14284 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14285 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14286 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14288 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14289 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14290 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14291 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14292 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14293
14294 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14295 ceil, ceilf, floor, floorf.
14296
14297 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14298 Perform IRELATIVE relocations last.
14299
e453f6cd
UD
14300 * elf/do-rel.h: Add another parameter nrelative, replacing the
14301 local variable with the same name. Change name of the function
14302 to end in Rel or Rela (uppercase).
14303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14304 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14305 elf_dynamic_do_##reloc function.
14306
fd5bdc09
UD
143072011-10-15 Ulrich Drepper <drepper@gmail.com>
14308
79b195b5
UD
14309 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14310 is sufficient, at least on modern CPUs.
14311
d4a28569
UD
14312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14313
b61099b5
UD
14314 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14315 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14316
bcf01e6d
UD
14317 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14318 __expl_finite.
14319 * math/bits/math-finite.h: Add entries for exp.
14320 * math/e_expl.c: Add __*_finite alias.
14321 * sysdeps/i386/fpu/e_exp.S: Likewise.
14322 * sysdeps/i386/fpu/e_expf.S: Likewise.
14323 * sysdeps/i386/fpu/e_expl.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14325 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14329 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14331
ba1a0d59
UD
14332 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14333 is sufficient, at least on modern CPUs.
14334
fd5bdc09
UD
14335 * ctype/ctype-info.c (__ctype_init): Define.
14336 * include/ctype.h (__ctype_init): Declare.
14337 (__ctype_b_loc): The variable is always initialized.
14338 (__ctype_toupper_loc): Likewise.
14339 (__ctype_tolower_loc): Likewise.
14340 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14341 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14342
7872cfb0
AS
143432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14344
b468825a
AS
14345 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14346
7872cfb0
AS
14347 * configure.in: Also look in $cxxmachine/include for C++ system
14348 headers.
14349
be13f7bf
LD
143502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14351
14352 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14353 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14354 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14355 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14357 (USE_AS_WMEMCMP): New macro.
14358 Fixing indents.
14359 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14360 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14361 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14362 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14364 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14365 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14366 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14367 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14368 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14370 (USE_AS_WMEMCMP): New macro.
14371 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14372 * sysdeps/string/test-memcmp.c: Update.
14373 Fix simple_wmemcmp.
14374 Add new tests.
14375 * wcsmbs/wmemcmp.c: Update.
14376 (WMEMCMP): New macro.
14377 Fix overflow bug.
14378
556a2007
AJ
143792011-10-12 Andreas Jaeger <aj@suse.de>
14380
14381 [BZ #13268]
14382 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14383
538faaa7
UD
143842011-10-15 Ulrich Drepper <drepper@gmail.com>
14385
ab6737ff
UD
14386 * libio/iofwide.c (do_length): Avoid warning.
14387
538faaa7
UD
14388 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14389
396a21b1
UD
143902011-10-14 Ulrich Drepper <drepper@gmail.com>
14391
cdf2901f
UD
14392 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14393
38ad40ce
UD
14394 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14395 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14396 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14397 * sysdeps/i386/i686/fpu/e_log.S: New file.
14398 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14399 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14400
396a21b1
UD
14401 * ctype/ctype.h: Add support for inlined isXXX functions when
14402 compiling C++ code.
14403
6b1f68c9
AS
144042011-10-14 Andreas Schwab <schwab@redhat.com>
14405
349290c0
AS
14406 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14407
6b1f68c9
AS
14408 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14409
f2282d42
RM
144102011-10-13 Roland McGrath <roland@hack.frob.com>
14411
14412 [BZ #13291]
14413 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14414
5298ffa8
AS
144152011-10-13 Andreas Schwab <schwab@redhat.com>
14416
714fad23
AS
14417 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14418 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14419 feraiseexcept.
14420
81dcc7fb
AS
14421 * sysdeps/x86_64/memrchr.S: Check for zero size.
14422
5298ffa8
AS
14423 * string/stratcliff.c: Add memrchr tests.
14424
951fbcec
LD
144252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14426
14427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14428 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14429 rawmemchr-sse2 rawmemchr-sse2-bsf.
14430 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14431 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14432 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14433 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14434 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14435 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14436 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14437 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14439 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14440 * string/memrchr.c (MEMRCHR): New macro.
14441
0ac5ae23
UD
144422011-10-12 Ulrich Drepper <drepper@gmail.com>
14443
14444 Add integration with gcc's -ffinite-math-only and optimize wrapper
14445 functions in libm.
14446 * Versions.def: Define GLIBC_2.15 version for libm.
14447 * math/Makefile (headers): Add bits/math-finite.h.
14448 * math/bits/math-finite.h: New file.
14449 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14450 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14451 * math/e_acoshl.c: Add __*_finite alias.
14452 * math/e_acosl.c: Likewise.
14453 * math/e_asinl.c: Likewise.
14454 * math/e_atan2l.c: Likewise.
14455 * math/e_atanhl.c: Likewise.
14456 * math/e_coshl.c: Likewise.
14457 * math/e_exp10.c: Likewise.
14458 * math/e_exp10f.c: Likewise.
14459 * math/e_exp10l.c: Likewise.
14460 * math/e_exp2l.c: Likewise.
14461 * math/e_fmodl.c: Likewise.
14462 * math/e_gammal_r.c: Likewise.
14463 * math/e_hypotl.c: Likewise.
14464 * math/e_j0l.c: Likewise.
14465 * math/e_j1l.c: Likewise.
14466 * math/e_jnl.c: Likewise.
14467 * math/e_lgammal_r.c: Likewise.
14468 * math/e_log10l.c: Likewise.
14469 * math/e_log2l.c: Likewise.
14470 * math/e_logl.c: Likewise.
14471 * math/e_powl.c: Likewise.
14472 * math/e_sinhl.c: Likewise.
14473 * math/e_sqrtl.c: Likewise.
14474 * math/e_scalb.c: Completely rewritten and optimized.
14475 * math/e_scalbf.c: Likewise.
14476 * math/e_scalbl.c: Likewise.
14477 * math/w_acos.c: Likewise.
14478 * math/w_acosf.c: Likewise.
14479 * math/w_acosl.c: Likewise.
14480 * math/w_acosh.c: Likewise.
14481 * math/w_acoshf.c: Likewise.
14482 * math/w_acoshl.c: Likewise.
14483 * math/w_asin.c: Likewise.
14484 * math/w_asinf.c: Likewise.
14485 * math/w_asinl.c: Likewise.
14486 * math/w_atan2.c: Likewise.
14487 * math/w_atan2f.c: Likewise.
14488 * math/w_atan2l.c: Likewise.
14489 * math/w_atanh.c: Likewise.
14490 * math/w_atanhf.c: Likewise.
14491 * math/w_atanhl.c: Likewise.
14492 * math/w_exp10.c: Likewise.
14493 * math/w_exp10f.c: Likewise.
14494 * math/w_exp10l.c: Likewise.
14495 * math/w_fmod.c: Likewise.
14496 * math/w_fmodf.c: Likewise.
14497 * math/w_fmodl.c: Likewise.
14498 * math/w_j0.c: Likewise.
14499 * math/w_j0f.c: Likewise.
14500 * math/w_j0l.c: Likewise.
14501 * math/w_j1.c: Likewise.
14502 * math/w_j1f.c: Likewise.
14503 * math/w_j1l.c: Likewise.
14504 * math/w_jn.c: Likewise.
14505 * math/w_jnf.c: Likewise.
14506 * math/w_log.c: Likewise.
14507 * math/w_logf.c: Likewise.
14508 * math/w_logl.c: Likewise.
14509 * math/w_log10.c: Likewise.
14510 * math/w_log10f.c: Likewise.
14511 * math/w_log10l.c: Likewise.
14512 * math/w_log2.c: Likewise.
14513 * math/w_log2f.c: Likewise.
14514 * math/w_log2l.c: Likewise.
14515 * math/w_pow.c: Likewise.
14516 * math/w_powf.c: Likewise.
14517 * math/w_powl.c: Likewise.
14518 * math/w_remainder.c: Likewise.
14519 * math/w_remainderf.c: Likewise.
14520 * math/w_remainderl.c: Likewise.
14521 * math/w_scalb.c: Likewise.
14522 * math/w_scalbf.c: Likewise.
14523 * math/w_scalbl.c: Likewise.
14524 * math/w_sqrt.c: Likewise.
14525 * math/w_sqrtf.c: Likewise.
14526 * math/w_sqrtl.c: Likewise.
14527 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14528 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14529 used.
14530 * math/math_private.h: Declare __kernel_standard_f.
14531 * math/w_cosh.c: Remove cruft and optimize a bit.
14532 * math/w_coshf.c: Likewise.
14533 * math/w_coshl.c: Likewise.
14534 * math/w_exp2.c: Likewise.
14535 * math/w_exp2f.c: Likewise.
14536 * math/w_exp2l.c: Likewise.
14537 * math/w_hypot.c: Likewise.
14538 * math/w_hypotf.c: Likewise.
14539 * math/w_hypotl.c: Likewise.
14540 * math/w_lgamma.c: Likewise.
14541 * math/w_lgamma_r.c: Likewise.
14542 * math/w_lgammaf.c: Likewise.
14543 * math/w_lgammaf_r.c: Likewise.
14544 * math/w_lgammal.c: Likewise.
14545 * math/w_lgammal_r.c: Likewise.
14546 * math/w_sinh.c: Likewise.
14547 * math/w_sinhf.c: Likewise.
14548 * math/w_sinhl.c: Likewise.
14549 * math/w_tgamma.c: Likewise.
14550 * math/w_tgammaf.c: Likewise.
14551 * math/w_tgammal.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14554 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14555 Minor optimizations. Pretty printing. Remove cruft.
14556 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14558 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14559 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14560 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14561 * sysdeps/i386/fpu/e_asin.S: Likewise.
14562 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14563 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14564 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14565 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14568 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14569 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14570 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14571 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14572 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14573 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14574 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14575 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14576 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14577 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14578 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14579 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14580 * sysdeps/i386/fpu/e_log.S: Likewise.
14581 * sysdeps/i386/fpu/e_log10.S: Likewise.
14582 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14584 * sysdeps/i386/fpu/e_log2.S: Likewise.
14585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14586 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14587 * sysdeps/i386/fpu/e_logf.S: Likewise.
14588 * sysdeps/i386/fpu/e_logl.S: Likewise.
14589 * sysdeps/i386/fpu/e_pow.S: Likewise.
14590 * sysdeps/i386/fpu/e_powf.S: Likewise.
14591 * sysdeps/i386/fpu/e_powl.S: Likewise.
14592 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14593 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14594 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14595 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14598 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14599 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14600 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14622 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14625 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14627 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14628 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14629 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14630 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14635 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14636 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14637 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14638 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14639 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14640 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14641 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14642 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14692 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14693 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14694 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14695 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14696 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14697 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14698 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14699 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14700 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14701 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14702 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14703 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14704 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14705 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14706 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14707 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14709 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14710 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14711 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14712 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14713 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14714 (__isnanf): Likewise.
14715 (__isinf_ns): Likewise.
14716 (__isinf_nsf): Likewise.
14717 (__finite): Likewise.
14718 (__finitef): Likewise.
14719 (__ieee754_sqrt): Define as macro.
14720 (__ieee754_sqrtf): Define as macro.
14721 (__ieee754_sqrtl): Define as macro.
14722 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14723 inlined copy.
14724 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14725 __FINITE_MATH_ONLY__ consistent.
14726 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14727
12cc2fcd
AS
147282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14729
a843a204
AS
14730 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14731 of rawmemchr.
14732
12cc2fcd
AS
14733 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14734
c853acd5
UD
147352011-10-09 Ulrich Drepper <drepper@gmail.com>
14736
14737 * po/ja.po: Update from translation team.
14738
c658d255
RM
147392011-10-08 Roland McGrath <roland@hack.frob.com>
14740
110946e4
RM
14741 * locale/programs/locarchive.c (prepare_address_space): New function.
14742 (create_archive, enlarge_archive, open_archive): Use it.
14743
50604220
RM
14744 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14745 inside [SHARED], where it is used.
14746
c658d255
RM
14747 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14748
14749 * nss/getent.c (netgroup_keys): Remove unused variable.
14750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14751
6a621eb7
UD
147522011-10-08 Ulrich Drepper <drepper@gmail.com>
14753
7edb55ce
UD
14754 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14755 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14758 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14759 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14760 * math/Makefile (libm-calls): Add s_isinf_ns.
14761 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14762 * math/multc3.c: Likewise.
14763 * math/s_casin.c: Likewise.
14764 * math/s_casinf.c: Likewise.
14765 * math/s_casinl.c: Likewise.
14766 * math/s_ccos.c: Likewise.
14767 * math/s_ccosf.c: Likewise.
14768 * math/s_ccosl.c: Likewise.
14769 * math/s_ctan.c: Likewise.
14770 * math/s_ctanf.c: Likewise.
14771 * math/s_ctanh.c: Likewise.
14772 * math/s_ctanhf.c: Likewise.
14773 * math/s_ctanhl.c: Likewise.
14774 * math/s_ctanl.c: Likewise.
14775 * math/w_fmod.c: Likewise.
14776 * math/w_fmodf.c: Likewise.
14777 * math/w_fmodl.c: Likewise.
14778 * math/w_remainder.c: Likewise.
14779 * math/w_remainderf.c: Likewise.
14780 * math/w_remainderl.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14782 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14783 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14785 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14786 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14787 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14788 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14789
187da0ae
UD
14790 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14791 of the number.
14792 * stdio-common/printf_fphex.c: Likewise.
14793 * stdio-common/printf_size.c: Likewise.
14794
9277c064
UD
14795 * math/e_exp10.c: Include math_private.h using <...> not "...".
14796 * math/e_exp10f.c: Likewise.
14797 * math/e_exp10l.c: Likewise.
14798 * math/e_exp2l.c: Likewise.
14799 * math/e_j0l.c: Likewise.
14800 * math/e_j1l.c: Likewise.
14801 * math/e_jnl.c: Likewise.
14802 * math/e_lgammal_r.c: Likewise.
14803 * math/e_rem_pio2l.c: Likewise.
14804 * math/e_scalb.c: Likewise.
14805 * math/e_scalbf.c: Likewise.
14806 * math/e_scalbl.c: Likewise.
14807 * math/k_cosl.c: Likewise.
14808 * math/k_sinl.c: Likewise.
14809 * math/k_tanl.c: Likewise.
14810 * math/s_cacoshf.c: Likewise.
14811 * math/s_catan.c: Likewise.
14812 * math/s_catanf.c: Likewise.
14813 * math/s_catanh.c: Likewise.
14814 * math/s_catanhf.c: Likewise.
14815 * math/s_catanhl.c: Likewise.
14816 * math/s_catanl.c: Likewise.
14817 * math/s_ccosh.c: Likewise.
14818 * math/s_ccoshf.c: Likewise.
14819 * math/s_ccoshl.c: Likewise.
14820 * math/s_cexp.c: Likewise.
14821 * math/s_cexpf.c: Likewise.
14822 * math/s_cexpl.c: Likewise.
14823 * math/s_clog.c: Likewise.
14824 * math/s_clog10.c: Likewise.
14825 * math/s_clog10f.c: Likewise.
14826 * math/s_clog10l.c: Likewise.
14827 * math/s_clogf.c: Likewise.
14828 * math/s_clogl.c: Likewise.
14829 * math/s_csin.c: Likewise.
14830 * math/s_csinf.c: Likewise.
14831 * math/s_csinh.c: Likewise.
14832 * math/s_csinhf.c: Likewise.
14833 * math/s_csinhl.c: Likewise.
14834 * math/s_csinl.c: Likewise.
14835 * math/s_csqrt.c: Likewise.
14836 * math/s_csqrtf.c: Likewise.
14837 * math/s_csqrtl.c: Likewise.
14838 * math/s_ctan.c: Likewise.
14839 * math/s_ctanf.c: Likewise.
14840 * math/s_ctanh.c: Likewise.
14841 * math/s_ctanhf.c: Likewise.
14842 * math/s_ctanhl.c: Likewise.
14843 * math/s_ctanl.c: Likewise.
14844 * math/s_ldexp.c: Likewise.
14845 * math/s_ldexpf.c: Likewise.
14846 * math/s_ldexpl.c: Likewise.
14847 * math/s_significand.c: Likewise.
14848 * math/s_significandf.c: Likewise.
14849 * math/s_significandl.c: Likewise.
14850 * math/w_acos.c: Likewise.
14851 * math/w_acosf.c: Likewise.
14852 * math/w_acosh.c: Likewise.
14853 * math/w_acoshf.c: Likewise.
14854 * math/w_acoshl.c: Likewise.
14855 * math/w_acosl.c: Likewise.
14856 * math/w_asin.c: Likewise.
14857 * math/w_asinf.c: Likewise.
14858 * math/w_asinl.c: Likewise.
14859 * math/w_atan2.c: Likewise.
14860 * math/w_atan2f.c: Likewise.
14861 * math/w_atan2l.c: Likewise.
14862 * math/w_atanh.c: Likewise.
14863 * math/w_atanhf.c: Likewise.
14864 * math/w_atanhl.c: Likewise.
14865 * math/w_cosh.c: Likewise.
14866 * math/w_coshf.c: Likewise.
14867 * math/w_coshl.c: Likewise.
14868 * math/w_dremf.c: Likewise.
14869 * math/w_exp10.c: Likewise.
14870 * math/w_exp10f.c: Likewise.
14871 * math/w_exp10l.c: Likewise.
14872 * math/w_exp2.c: Likewise.
14873 * math/w_exp2f.c: Likewise.
14874 * math/w_fmod.c: Likewise.
14875 * math/w_fmodf.c: Likewise.
14876 * math/w_fmodl.c: Likewise.
14877 * math/w_hypot.c: Likewise.
14878 * math/w_hypotf.c: Likewise.
14879 * math/w_hypotl.c: Likewise.
14880 * math/w_j0.c: Likewise.
14881 * math/w_j0f.c: Likewise.
14882 * math/w_j0l.c: Likewise.
14883 * math/w_j1.c: Likewise.
14884 * math/w_j1f.c: Likewise.
14885 * math/w_j1l.c: Likewise.
14886 * math/w_jn.c: Likewise.
14887 * math/w_jnf.c: Likewise.
14888 * math/w_jnl.c: Likewise.
14889 * math/w_lgamma.c: Likewise.
14890 * math/w_lgamma_r.c: Likewise.
14891 * math/w_lgammaf.c: Likewise.
14892 * math/w_lgammaf_r.c: Likewise.
14893 * math/w_lgammal.c: Likewise.
14894 * math/w_lgammal_r.c: Likewise.
14895 * math/w_log.c: Likewise.
14896 * math/w_log10.c: Likewise.
14897 * math/w_log10f.c: Likewise.
14898 * math/w_log10l.c: Likewise.
14899 * math/w_log2.c: Likewise.
14900 * math/w_log2f.c: Likewise.
14901 * math/w_log2l.c: Likewise.
14902 * math/w_logf.c: Likewise.
14903 * math/w_logl.c: Likewise.
14904 * math/w_pow.c: Likewise.
14905 * math/w_powf.c: Likewise.
14906 * math/w_powl.c: Likewise.
14907 * math/w_remainder.c: Likewise.
14908 * math/w_remainderf.c: Likewise.
14909 * math/w_remainderl.c: Likewise.
14910 * math/w_scalb.c: Likewise.
14911 * math/w_scalbf.c: Likewise.
14912 * math/w_scalbl.c: Likewise.
14913 * math/w_sinh.c: Likewise.
14914 * math/w_sinhf.c: Likewise.
14915 * math/w_sinhl.c: Likewise.
14916 * math/w_sqrt.c: Likewise.
14917 * math/w_sqrtf.c: Likewise.
14918 * math/w_sqrtl.c: Likewise.
14919 * math/w_tgamma.c: Likewise.
14920 * math/w_tgammaf.c: Likewise.
14921 * math/w_tgammal.c: Likewise.
14922
6a621eb7
UD
14923 * po/ja.po: Update from translation team.
14924
bf582445
AJ
149252011-09-29 Andreas Jaeger <aj@suse.de>
14926
f9efbf3a
AJ
14927 [BZ #13179]
14928 * sunrpc/netname.c (netname2host): Fix logic.
14929
bf582445
AJ
14930 [BZ #6779]
14931 [BZ #6783]
14932 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14933 correctly.
14934 * math/w_remainder.c (__remainder): Likewise.
14935 * math/w_remainderf.c (__remainderf): Likewise.
14936 * math/libm-test.inc (remainder_test): Add test cases.
14937
48693bea
AK
149382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14939
14940 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14941 sdiv_qrnnd.
14942
42622229
LD
149432011-10-07 Ulrich Drepper <drepper@gmail.com>
14944
14945 * string/test-memcmp.c: Avoid unncessary #defines.
14946 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14947
093ecf92
LD
149482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14949
14950 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14951 Use new sse2 version for core i3 - i7 as it's faster
14952 than sse42 version.
14953 (bit_Prefer_PMINUB_for_stringop): New.
14954 * sysdeps/x86_64/rawmemchr.S: Update.
14955 Replace with faster SSE2 version.
14956 * sysdeps/x86_64/memrchr.S: New file.
14957 * sysdeps/x86_64/memchr.S: Update.
14958 Replace with faster SSE2 version.
14959
fde56e5c
MP
149602011-09-12 Marek Polacek <mpolacek@redhat.com>
14961
14962 * elf/dl-load.c (lose): Add cast to avoid warning.
14963
21fd49a9
UD
149642011-10-07 Ulrich Drepper <drepper@gmail.com>
14965
5a06e643
UD
14966 * po/ca.po: Update from translation team.
14967
684ae515
UD
14968 * inet/getnetgrent_r.c: Hook up nscd.
14969 * nscd/Makefile (routines): Add nscd_netgroup.
14970 (nscd-modules): Add netgroupcache.
14971 (CFLAGS-netgroupcache.c): Define.
14972 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14973 (cache_search): Add const to second parameter.
14974 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14975 INNETGR.
14976 (dbs): Add netgrdb entry.
14977 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14978 (verify_persistent_db): Handle netgrdb.
14979 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14980 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14981 GETFDNETGR.
14982 (netgroup_response_header): Define.
14983 (innetgroup_response_header): Define.
14984 (datahead): Add netgroup_response_header and innetgroup_response_header
14985 elements.
14986 * nscd/nscd.conf: Add entries for netgroup cache.
14987 * nscd/nscd.h (dbtype): Add netgrdb.
14988 (_PATH_NSCD_NETGROUP_DB): Define.
14989 (netgroup_iov_disabled): Declare.
14990 (xmalloc, xcalloc, xrealloc): Move declarations here.
14991 (cache_search): Adjust prototype.
14992 Add netgroup-related prototypes.
14993 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14994 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14995 (__nscd_innetgr): Declare.
14996 * nscd/selinux.c (perms): Use access_vector_t as element type and
14997 add netgroup-related initializers.
14998 * nscd/netgroupcache.c: New file.
14999 * nscd/nscd_netgroup.c: New file.
15000 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15001 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15002 For four parameters use innetgr.
15003 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15004 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15005 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15006 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15007
21fd49a9
UD
15008 * nscd/connections.c (register_traced_file): Don't register file
15009 for disabled databases.
15010
054c0457
UD
150112011-10-06 Ulrich Drepper <drepper@gmail.com>
15012
32b63198
UD
15013 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15014
054c0457
UD
15015 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15016 from tree and freeing node.
15017
64031225
JO
150182011-09-25 Jiri Olsa <jolsa@redhat.com>
15019
15020 * nss/nsswitch.c (__nss_database_lookup): Handle
15021 nss_parse_service_list out of memory case.
15022
0490345c
JO
150232011-09-15 Jiri Olsa <jolsa@redhat.com>
15024
15025 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15026 out of memory case.
15027
3a62d00d
AS
150282011-10-04 Andreas Schwab <schwab@redhat.com>
15029
15030 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15031 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15032 pass it down.
15033 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15034 elf_machine_rela, elf_machine_lazy_rel.
15035 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15036 (ELF_DYNAMIC_DO_REL): Likewise.
15037 (ELF_DYNAMIC_DO_RELA): Likewise.
15038 (ELF_DYNAMIC_RELOCATE): Likewise.
15039 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15040 to ELF_DYNAMIC_DO_REL.
15041 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15042 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15043 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15044 elf_machine_rela.
15045 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15046 skip_ifunc, don't call ifunc function if non-zero.
15047 (elf_machine_rela): Likewise.
15048 (elf_machine_lazy_rel): Likewise.
15049 (elf_machine_lazy_rela): Likewise.
15050 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15051 (elf_machine_lazy_rel): Likewise.
15052 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15053 Likewise.
15054 (elf_machine_lazy_rel): Likewise.
15055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15056 Likewise.
15057 (elf_machine_lazy_rel): Likewise.
15058 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15059 (elf_machine_lazy_rel): Likewise.
15060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15061 (elf_machine_lazy_rel): Likewise.
15062 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15063 (elf_machine_lazy_rel): Likewise.
15064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15065 (elf_machine_lazy_rel): Likewise.
15066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15067 (elf_machine_lazy_rel): Likewise.
15068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15069 (elf_machine_lazy_rel): Likewise.
15070
68577918
UD
150712011-09-28 Ulrich Drepper <drepper@gmail.com>
15072
15073 * nss/nss_files/files-init.c (_nss_files_init): Use static
15074 initialization for all the *_traced_file variables.
15075
68822d74
AS
150762011-09-28 Andreas Schwab <schwab@redhat.com>
15077
15078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15079
2056100b
RM
150802011-09-27 Roland McGrath <roland@hack.frob.com>
15081
15082 [BZ #13226]
15083 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15084
32c76b63
AS
150852011-09-27 Andreas Schwab <schwab@redhat.com>
15086
15087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15088 Reread the line before reparsing it.
15089
bf972c9d
AS
150902011-09-26 Andreas Schwab <schwab@redhat.com>
15091
15092 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15093
e057a1b5
JM
150942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15095 Maxim Kuvyrkov <maxim@codesourcery.com>
15096 Joseph Myers <joseph@codesourcery.com>
15097
15098 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15099 if needed for __stack_chk_guard.
15100
bc7e1c36
RM
151012011-09-19 Roland McGrath <roland@hack.frob.com>
15102
ecb1482f
RM
15103 * sysdeps/posix/spawni.c (script_execute): Always define it.
15104 It will be optimized away if unused.
15105 (maybe_script_execute): New function.
15106 (__spawni): Call it.
15107
bc7e1c36
RM
15108 * Makerules: Don't include tls.make.
15109 (config-tls): Always set to thread.
15110 * tls.make.c: File removed.
15111
1c3b002b
MF
151122011-09-19 Mike Frysinger <vapier@gentoo.org>
15113
15114 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15115 * config.make.in (CPPFLAGS-config): New substituted variable.
15116
2840865d
UD
151172011-09-15 Ulrich Drepper <drepper@gmail.com>
15118
88738eb6
UD
15119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15120
cbf645a6 15121 [BZ #13192]
2840865d
UD
15122 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15123 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15124
b402e91a
RM
151252011-09-15 Roland McGrath <roland@hack.frob.com>
15126
15127 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15128 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15130 (CALL_FAIL): Likewise.
15131 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15132 (CALL_FAIL): Macro removed.
15133 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15134
4c1a1f71
UD
151352011-09-15 Ulrich Drepper <drepper@gmail.com>
15136
15137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15138 for __FINITE_MATH_ONLY__ == 1.
15139
edc121be
AS
151402011-09-15 Andreas Schwab <schwab@redhat.com>
15141
15142 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15143 __ieee754_sqrt instead of sqrt.
15144 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15145 __ieee754_sqrtf instead of sqrtf.
15146 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15147 __floorf instead of floorf.
15148 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15149 __floorf, __truncf instead of floorf, truncf.
15150
cd205654
UD
151512011-09-14 Ulrich Drepper <drepper@gmail.com>
15152
ee4d0315
UD
15153 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15154
cd205654
UD
15155 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15156 __extern_always_inline.
15157 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15158 32-bit.
15159
48b67d71
AS
151602011-09-14 Andreas Schwab <schwab@redhat.com>
15161
15162 * elf/rtld.c (dl_main): Also relocate in dependency order when
15163 doing symbol dependency testing.
15164
1ae12c75
AS
151652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15166
15167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15168 Always define `refsym'.
15169
995a80df
AS
151702011-09-13 Andreas Schwab <schwab@redhat.com>
15171
e529793b
AS
15172 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15173 (__FD_ELT): Renamed from __FDELT.
15174 * misc/bits/select2.h (__FD_ELT): Likewise.
15175 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15176 __FD_MASK instead of __FDELT, __FDMASK.
15177 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15178 Likewise.
15179 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15180 Likewise.
15181
52d4fef8
AS
15182 * elf/Makefile (gen-ldd): Fix pattern.
15183
995a80df
AS
15184 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15185 (init_tls): Likewise.
15186
8682f8b0
UD
151872011-09-12 Ulrich Drepper <drepper@gmail.com>
15188
15189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15190
de82006d
AS
151912011-09-12 Andreas Schwab <schwab@redhat.com>
15192
a7c8e6a1
AS
15193 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15194 `struct cmsghdr *' instead of `void *'.
15195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15196 Likewise.
15197
0f31fe77
AS
151982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15199
15200 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15201 if non-absolute.
15202 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15203 ldd_rewrite_script.
0f31fe77 15204
32b4c839
UD
152052011-09-11 Ulrich Drepper <drepper@gmail.com>
15206
83cd1420
UD
15207 * configure.in: Remove --with-tls option.
15208 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15209 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15210 out in case it is missing.
15211 * sysdeps/ia64/elf/configure.in: Likewise.
15212 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15213 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15214 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15215 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15216 * sysdeps/sh/elf/configure.in: Likewise.
15217 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15219 * sysdeps/x86_64/elf/configure.in: Likewise.
15220 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15221 * sysdeps/mach/hurd/tls.h: Likewise.
15222
633f745d
UD
15223 [BZ #13067]
15224 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15225
f318beb8
UD
15226 [BZ #13090]
15227 * configure.in: Fix use of AC_INIT.
15228
32b4c839
UD
15229 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15230
3ce1f295
UD
152312011-09-10 Ulrich Drepper <drepper@gmail.com>
15232
bb016596
UD
15233 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15234 __set_errno.
8e58439c
UD
15235 * malloc/hooks.c: Likewise.
15236
aebae053 15237 [BZ #11929]
02d46fc4
UD
15238 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15239 variables statically.
15240 (narenas): Initialize.
15241 (list_lock): Initialize.
bb016596
UD
15242 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15243 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15244 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15245 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15246 Add initializers to main_arena and mp_.
15247 (malloc_state): Remove pagesize member. Change all users to use
15248 GLRO(dl_pagesize).
15249
15250 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15251 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15252 is always initialized.
15253
22a89187
UD
15254 * malloc/malloc.c: Removed unused configurations and dead code.
15255 * malloc/arena.c: Likewise.
15256 * malloc/hooks.c: Likewise.
02d46fc4 15257 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15258
d063d164
UD
15259 * include/tls.h: Removed. USE___THREAD must always be defined.
15260 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15261 * elf/dl-libc.c: Likewise.
15262 * elf/dl-tsd.c: Likewise.
15263 * include/errno.h: Likewise.
15264 * include/netdb.h: Likewise.
15265 * include/resolv.h: Likewise.
15266 * inet/herrno-loc.c: Likewise.
15267 * inet/herrno.c: Likewise.
15268 * malloc/arena.c: Likewise.
15269 * malloc/hooks.c: Likewise.
15270 * malloc/malloc.c: Likewise.
15271 * resolv/res-state.c: Likewise.
15272 * resolv/res_libc.c: Likewise.
15273 * sysdeps/i386/dl-machine.h: Likewise.
15274 * sysdeps/ia64/dl-machine.h: Likewise.
15275 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15276 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15277 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15278 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15279 * sysdeps/sh/dl-machine.h: Likewise.
15280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15282 * sysdeps/unix/i386/sysdep.S: Likewise.
15283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15284 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15289 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15294 * sysdeps/x86_64/dl-machine.h: Likewise.
15295 * tls.make.c: Likewise.
15296
3ce1f295
UD
15297 * configure.in: Remove --with-__thread option. Make tests for
15298 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15299 tls_model attribute fail if no support is available. Remove
15300 USE_IN_LIBIO.
15301 * Makeconfig: Adjust for dropped configure option. All features are
15302 now mandatory.
15303 * Makerules: Likewise.
15304 * Versions.def: Likewise.
15305 * argp/argp-fmtstream.c: Likewise.
15306 * argp/argp-fmtstream.h: Likewise.
15307 * argp/argp-help.c: Likewise.
15308 * assert/assert.c: Likewise.
15309 * config.h.in: Likewise.
15310 * config.make.in: Likewise.
15311 * configure: Likewise.
15312 * configure.in: Likewise.
15313 * csu/Versions: Likewise.
15314 * csu/init.c: Likewise.
15315 * elf/tst-audit2.c: Likewise.
15316 * elf/tst-tls10.c: Likewise.
15317 * elf/tst-tls10.h: Likewise.
15318 * elf/tst-tls11.c: Likewise.
15319 * elf/tst-tls12.c: Likewise.
15320 * elf/tst-tls14.c: Likewise.
15321 * elf/tst-tlsmod11.c: Likewise.
15322 * elf/tst-tlsmod12.c: Likewise.
15323 * elf/tst-tlsmod13.c: Likewise.
15324 * elf/tst-tlsmod13a.c: Likewise.
15325 * elf/tst-tlsmod14a.c: Likewise.
15326 * elf/tst-tlsmod15b.c: Likewise.
15327 * elf/tst-tlsmod16a.c: Likewise.
15328 * elf/tst-tlsmod16b.c: Likewise.
15329 * elf/tst-tlsmod7.c: Likewise.
15330 * elf/tst-tlsmod8.c: Likewise.
15331 * elf/tst-tlsmod9.c: Likewise.
15332 * gmon/gmon.c: Likewise.
15333 * grp/fgetgrent_r.c: Likewise.
15334 * grp/putgrent.c: Likewise.
15335 * hurd/fopenport.c: Likewise.
15336 * include/libc-symbols.h: Likewise.
15337 * include/tls.h: Likewise.
15338 * intl/gettextP.h: Likewise.
15339 * intl/loadinfo.h: Likewise.
15340 * locale/global-locale.c: Likewise.
15341 * locale/localeinfo.h: Likewise.
15342 * mach/devstream.c: Likewise.
15343 * malloc/arena.c: Likewise.
15344 * malloc/set-freeres.c: Likewise.
15345 * misc/err.c: Likewise.
15346 * misc/getttyent.c: Likewise.
15347 * misc/mntent_r.c: Likewise.
15348 * posix/getopt.c: Likewise.
15349 * posix/wordexp.c: Likewise.
15350 * pwd/fgetpwent_r.c: Likewise.
15351 * resolv/Versions: Likewise.
15352 * resolv/res_hconf.c: Likewise.
15353 * shadow/fgetspent_r.c: Likewise.
15354 * shadow/putspent.c: Likewise.
15355 * stdio-common/printf_fphex.c: Likewise.
15356 * stdio-common/tmpfile.c: Likewise.
15357 * stdlib/abort.c: Likewise.
15358 * stdlib/fmtmsg.c: Likewise.
15359 * sunrpc/auth_unix.c: Likewise.
15360 * sunrpc/clnt_perr.c: Likewise.
15361 * sunrpc/clnt_tcp.c: Likewise.
15362 * sunrpc/clnt_udp.c: Likewise.
15363 * sunrpc/clnt_unix.c: Likewise.
15364 * sunrpc/openchild.c: Likewise.
15365 * sunrpc/svc_simple.c: Likewise.
15366 * sunrpc/svc_tcp.c: Likewise.
15367 * sunrpc/svc_udp.c: Likewise.
15368 * sunrpc/svc_unix.c: Likewise.
15369 * sunrpc/xdr.c: Likewise.
15370 * sunrpc/xdr_array.c: Likewise.
15371 * sunrpc/xdr_rec.c: Likewise.
15372 * sunrpc/xdr_ref.c: Likewise.
15373 * sunrpc/xdr_stdio.c: Likewise.
15374
1248c1c4
PB
153752011-09-09 Ulrich Drepper <drepper@gmail.com>
15376
15377 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15378
153792011-07-03 Andreas Jaeger <aj@suse.de>
15380
15381 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15382 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15383 regenerate with gen-libm-tests.pl.
15384
153852010-05-12 Petr Baudis <pasky@suse.cz>
15386
15387 [BZ #11589]
15388 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15389 around j0() zero points by switching to j1().
15390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15394
f22e1074
UD
153952011-09-09 Ulrich Drepper <drepper@gmail.com>
15396
f19009c1
UD
15397 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15398 instead of 0.
15399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15400 instead of 0. .
15401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15402 Patch in part by Pavel Roskin <proski@gnu.org>.
15403
3f8cc204
UD
15404 [BZ #13138]
15405 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15406 realloc.
15407 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15408 Free memory block if necessary.
15409
f22e1074
UD
15410 [BZ #12847]
15411 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15412 be NULL. Don't lock in this case.
15413
0a2349f9
RM
154142011-09-09 Roland McGrath <roland@hack.frob.com>
15415
15416 * elf/elf.h (ELFOSABI_GNU): New macro.
15417 (ELFOSABI_LINUX): Define to that.
15418
f3cdd467
DZ
154192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15420
15421 * string/strncat.c (strncat): Undef the symbol in case it has been
15422 defined in bits/string.h.
15423
74718d13
UD
154242011-09-09 Ulrich Drepper <drepper@gmail.com>
15425
633e9e0f
UD
15426 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15427
0a2349f9 15428 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15429 link map.
15430
f9924780
AJ
154312011-08-17 Andreas Jaeger <aj@suse.de>
15432
15433 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15434
7f5517aa
PP
154352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15436 Ian Lance Taylor <iant@google.com>
15437
15438 * math/libm-test.inc (lround_test): New testcase.
15439 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15440
762011fe
UD
154412011-09-08 Ulrich Drepper <drepper@gmail.com>
15442
92963737
UD
15443 * Makefile: Remove support for automatic cvs check-ins.
15444 * Makerules: Likewise.
15445 * config.make.in: Likewise.
15446 * configure.in: Likewise.
15447 * intl/Makefile: Likewise.
15448 * locale/Makefile: Likewise.
15449 * po/Makefile: Likewise.
15450 * posix/Makefile: Likewise.
15451 * sysdeps/gnu/Makefile: Likewise.
15452 * sysdeps/mach/hurd/Makefile: Likewise.
15453 * sysdeps/sparc/sparc32/Makefile: Likewise.
15454
b0727fd8
JS
15455 [BZ #13118]
15456 * posix/Makefile (bug-regex32-ENV): Define.
15457 Patch by John Stanley <jpsinthemix@verizon.net>.
15458
a0f33f99
UD
15459 * misc/Makefile (headers): Add bits/select2.h.
15460 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15461 * misc/bits/select2.h: New file.
15462 * include/bits/select2.h: New file.
15463 * debug/Makefile (routines): Add fdelt_chk.
15464 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15465 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15466 FD_ISSET.
15467 * debug/fdelt_chk.c: New file.
15468
762011fe
UD
15469 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15470 * wcsmbs/test-wmemcmp.c: Likewise.
15471 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15472 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15473
154742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15475
15476 * string/Makefile (strop-tests): Add memcmp.
15477 * string/test-wmemcmp.c: New file.
15478 * string/test-memcmp.c: Add wmemcmp support.
15479
7f513ec8
RM
154802011-09-08 Roland McGrath <roland@hack.frob.com>
15481
0442afb4
RM
15482 [BZ #13153]
15483 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15484 2011-07-19 change.
15485
7f513ec8
RM
15486 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15487 garbage value in a __mach_port_mod_refs call in the cases of the
15488 task-self and thread-self ports.
15489
a12b2239
ST
154902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15491
15492 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15493
610f9ab4
AS
154942011-09-08 Andreas Schwab <schwab@redhat.com>
15495
7f513ec8 15496 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15497
48882a1a
LD
154982011-09-07 Ulrich Drepper <drepper@gmail.com>
15499
b49865be
UD
15500 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15501
fdc86bc9
UD
15502 * elf/dl-libc.c (dlerror_run): Pass back error code from
15503 dl_catch_error.
15504
c966526a
UD
15505 [BZ #13123]
15506 * elf/dl-load.c (lose): Free l_origin if it is valid.
15507
48882a1a
LD
15508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15509 names.
15510 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15515 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15516
77a2a8b4
AZ
155172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15518
15519 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15520 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15521 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15522 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15523 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15524 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15525 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15526 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15527 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15528 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15529
24f579d8
AM
155302011-08-15 Alan Modra <amodra@gmail.com>
15531
15532 [BZ #13092]
15533 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15534 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15535 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15536 ppc_mcount to static-only-routines.
15537 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15538 __mcount_internal.
15539 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15540 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15541
3d4837df
UD
155422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15543
15544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15545 for finite and infinity parameters.
15546
22700377
WS
155472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15548
15549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15550 and add nop instructions for throughput optimization.
15551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15552
5025581e
WS
155532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15554
15555 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15556 aligned copy for power7 with vector-scalar instructions.
15557 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15558
08a300c9
L
155592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15562 AVX check.
15563
59178ef9
AS
155642011-09-07 Andreas Schwab <schwab@redhat.com>
15565
15566 [BZ #13144]
15567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15568 last change.
15569
e38ba7ab
UD
155702011-09-07 Ulrich Drepper <drepper@gmail.com>
15571
15572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15573 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15574 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15575 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15576 clock_gettime.
15577
d53a73ac
UD
155782011-09-06 Ulrich Drepper <drepper@gmail.com>
15579
fc8bffcc
UD
15580 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15581 Forgot to demangle the pointer.
15582
ceaa0c5d
UD
15583 * sysdeps/i386/sysdep.h: Define atom_text_section.
15584 * sysdeps/x86_64/sysdep.h: Likewise.
15585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15586 section with atom_text_section.
15587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15589 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15591 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15592
a77d3c17
UD
15593 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15595 already be defined. Change to take two parameters and don't assign
15596 result to variable. Adjust all users.
15597 Define INTERNAL_GETTIME if not already defined.
15598 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15599 call.
15600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15601 HAVE_CLOCK_GETTIME_VSYSCALL.
15602 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15603
d53a73ac
UD
15604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15605 gettimeofday vsyscall, just use time.
15606
a8f84144
AS
156072011-09-06 Andreas Schwab <schwab@redhat.com>
15608
15609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15610 <errno.h>.
15611
ef606249
UD
156122011-09-06 Ulrich Drepper <drepper@gmail.com>
15613
15614 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15615 syscall on x86-64.
15616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15617 syscall.
15618 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15620 syscall if possible.
15621
6585cb60
UD
156222011-09-05 Ulrich Drepper <drepper@gmail.com>
15623
15624 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15625 e_ident. Don't pass to find_mapsXX.
15626 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15627
a5f524e4
LD
156282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15629
15630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15631 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15632 * sysdeps/x86_64/multiarch/strchr.S: Update.
15633 Check bit_slow_BSF bit.
15634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15635 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15637
554881ef
UD
156382011-09-05 Ulrich Drepper <drepper@gmail.com>
15639
d96de963
UD
15640 [BZ #13134]
15641 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15642 before glibc 2.15.
15643 (tryshell): Define.
15644 (__spawni): Change last parameter to be flag. Test
15645 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15646 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15647 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15648 * posix/spawni.c: Likewise.
15649 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15650 * posix/spawnp.c: Likewise. Change normal version to use
15651 SPAWN_XFLAGS_USE_PATH.
15652 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15653 SPAWN_XFLAGS_TRY_SHELL.
15654
d48e5868
UD
15655 [BZ #13150]
15656 * posix/glob.h: Remove gcc 1.x support.
15657
554881ef
UD
15658 [BZ #13068]
15659 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15660
693fb948
LD
156612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15662
15663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15664 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15665 strrchr-sse2-bsf
15666 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15667 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15668 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15671 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15672
1b48c537
UD
156732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15674
49d42c37
UD
15675 * sysdeps/x86_64/wcscmp.S: New file.
15676
1b48c537
UD
15677 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15678 wcscmp-c wcscmp-sse2
15679 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15680 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15681 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15682 * wcsmbs/wcscmp.c: Allow renaming.
15683
15c95c5d
DM
156842011-09-05 David S. Miller <davem@davemloft.net>
15685
15686 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15687 stack slot, rather than the struct return pointer slot.
15688 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15689 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15692
2f0ad8f3
UD
156932011-09-05 Ulrich Drepper <drepper@gmail.com>
15694
d88ae418
UD
15695 * po/ja.po: Update from translation team.
15696
2f0ad8f3
UD
15697 [BZ #13144]
15698 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15699 kernel in 64-bit binaries.
15700
5f4318d1
DM
157012011-09-01 David S. Miller <davem@davemloft.net>
15702
15703 * elf/elf.h (HWCAP_SPARC_*): Move to..
15704 * sysdeps/sparc/sysdep.h: this new file and add new values.
15705 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15706 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15707 _DL_HWCAP_COUNT to 24.
15708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15709 entries.
15710 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15711 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15712 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15714 instead of magic constants.
15715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15716
3ba57516
DM
157172011-08-31 David S. Miller <davem@davemloft.net>
15718
15719 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15721 Reimplement to do errno handling inline.
15722 (SYSCALL_ERROR_HANDLER): New macro.
15723 (__SYSCALL_STRING): Do not do errno handling in asm.
15724 (__CLONE_SYSCALL_STRING): Delete.
15725 (__INTERNAL_SYSCALL_STRING): Delete.
15726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15727 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15728 (PSEUDO): Reimplement to do errno handling inline.
15729 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15730 (SYSCALL_ERROR_HANDLER): New macro.
15731 (__SYSCALL_STRING): Do not do errno handling in asm.
15732 (__CLONE_SYSCALL_STRING): Delete.
15733 (__INTERNAL_SYSCALL_STRING): Delete.
15734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15735 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15736 i386.
15737 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15738 (inline_syscall*): Add 'err' argument.
15739 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15740 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15741 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15742 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15743
15744 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15745 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15746
2bc17433
AS
157472011-08-30 Andreas Schwab <schwab@redhat.com>
15748
15749 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15750
fbeb5f4d
JO
157512011-08-29 Jiri Olsa <jolsa@redhat.com>
15752
15753 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15754 directive.
15755
ad69cc26
DM
157562011-08-24 David S. Miller <davem@davemloft.net>
15757
15758 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15759
39dd69df
AS
157602011-08-24 Andreas Schwab <schwab@redhat.com>
15761
15762 * elf/Makefile: Add rules to build and run unload8 test.
15763 * elf/unload8.c: New file.
15764 * elf/unload8mod1.c: New file.
15765 * elf/unload8mod1x.c: New file.
15766 * elf/unload8mod2.c: New file.
15767 * elf/unload8mod3.c: New file.
15768
15769 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15770 it wasn't used.
15771
2c0b250a
DM
157722011-08-23 David S. Miller <davem@davemloft.net>
15773
15774 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15775 subtract stack bias.
15776 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15777 %sp not %fp in calculations.
15778 (_JMPBUF_UNWINDS_ADJ): Likewise.
15779
22044b48
DM
15780 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15781 (aio_suspend): Call it to force an exception region around the
15782 AIO_MISC_WAIT() invocation.
15783
2cae4995
AS
157842011-08-23 Andreas Schwab <schwab@redhat.com>
15785
15786 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15787 backslash.
15788
873a772e
AJ
157892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15790
15791 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15792 protection macro.
15793 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15794 and <dl-machine.h>.
15795 (Elf64_FuncDesc): Remove.
15796
25ad0df1
DM
157972011-08-22 David S. Miller <davem@davemloft.net>
15798
15799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15800 sigaltstack check, add missing cfi directives.
15801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15802 missing cfi directives, and sigaltstack handling.
15803
e888bcbe
AS
158042011-08-16 Andreas Schwab <schwab@redhat.com>
15805
15806 [BZ #11724]
15807 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15808 object is seen twice.
15809 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15810
15811 * elf/Makefile (distribute): Add tst-initorder2.c.
15812 (tests): Add tst-initorder2.
15813 (modules-names): Add tst-initorder2a tst-initorder2b
15814 tst-initorder2c tst-initorder2d. Add rules to build them.
15815 ($(objpfx)tst-initorder2.out): New rule.
15816 * elf/tst-initorder2.c: New file.
15817 * elf/tst-initorder2.exp: New file.
15818
87162f46
AS
158192011-08-22 Andreas Schwab <schwab@redhat.com>
15820
70538b7f
AS
15821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15822
f55ffe58
AS
15823 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15824 dependencies back to end of function.
15825
87162f46
AS
15826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15827 $(elfobjdir)/ld.so.
15828
91b392a4
UD
158292011-08-21 Ulrich Drepper <drepper@gmail.com>
15830
15831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15832 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15834 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15835 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15836 of __vdso_gettimeofday.
15837 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15838 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15839 attribute_hidden.
15840 (_libc_vdso_platform_setup): Remove initialization of
15841 __vdso_gettimeofday and __vdso_time.
15842
5c43483f
UD
158432011-08-20 Ulrich Drepper <drepper@gmail.com>
15844
775a77e7
UD
15845 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15846 and fgetc_unlocked.
15847 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15848 getc_unlocked.
89f447ed 15849
49c74ba9
UD
15850 * elf/dl-open.c (add_to_global): Report additions to the global scope
15851 for LD_DEBUG=scopes.
15852 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15853 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15854
5c43483f
UD
15855 [BZ #13114]
15856 * stdio-common/Makefile (tests): Add bug24.
15857 * stdio-common/bug24.c: New file.
15858
a101b025
AJ
158592011-08-19 Andreas Jaeger <aj@suse.de>
15860
15861 [BZ #13114]
15862 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15863 non-existant file when using close-on-exec mode.
15864
c88f1766
UD
158652011-08-20 Ulrich Drepper <drepper@gmail.com>
15866
0276a718
UD
15867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15868 the very first instruction.
15869
c88f1766
UD
15870 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15871 the CFI state in the end.
15872 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15873 inclusion of dl-trampoline.h.
15874 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15875
51ccffa0
AS
158762011-08-19 Andreas Schwab <schwab@redhat.com>
15877
94d7165f
AS
15878 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15879 expectations for long double.
15880
51ccffa0
AS
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15882 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15883
fd708658 158842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15885
15886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15887 artificual limit depends upon the system page size.
15888
44f0a71e
UD
158892011-08-17 Ulrich Drepper <drepper@gmail.com>
15890
15891 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15892 * resolv/Makefile: Define CFLAGS-libresolv.
15893
8de79a24
AS
158942011-08-17 Andreas Schwab <schwab@redhat.com>
15895
15896 * nss/makedb.c (compute_tables): Make variables used in nested
15897 function static.
15898
27724598
UD
158992011-08-17 Ulrich Drepper <drepper@gmail.com>
15900
c5305d88
UD
15901 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15902 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15903 if buffer was too small.
15904
27724598
UD
15905 * elf/pldd.c (main): Attach to all threads in the process.
15906 Rewrite /proc handling to use *at functions.
15907
076fe015
UD
159082011-08-16 Ulrich Drepper <drepper@gmail.com>
15909
174baab3
UD
15910 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15911 specifies first scope to show.
15912 (dl_open_worker): Update callers. Move printing scope of new
15913 object to before the relocation.
44f0a71e 15914 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15915 * sysdeps/generic/ldsodefs.h: Update declaration.
15916
076fe015
UD
15917 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15918 string for the scope number.
15919
a60df2c3
UD
159202011-08-14 Ulrich Drepper <drepper@gmail.com>
15921
15922 * nscd/servicescache.c (cache_addserv): Make sure written is always
15923 initialized.
15924
5e4287d1
RM
159252011-08-14 Roland McGrath <roland@hack.frob.com>
15926
85ae0589
RM
15927 * sysdeps/i386/i486/bits/atomic.h
15928 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15929 statement expression, so as to suppress "set but not used" warning.
15930 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15931
69f63097
RM
15932 * string/strncat.c (STRNCAT): Use prototype definition.
15933
675456ef
RM
15934 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15935 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15936 -Iprograms here.
15937 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15938 (localedef-modules): Add localedef.
15939 (locale-modules): Add locale.
15940
5e4287d1
RM
15941 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15942 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15943 to avoid a warning.
15944
9c96ff23
DM
159452011-08-14 David S. Miller <davem@davemloft.net>
15946
15947 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15948 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15949
f9ddf089
UD
159502011-08-13 Ulrich Drepper <drepper@gmail.com>
15951
44f0a71e 15952 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15953 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15954 * elf/rtld.c (dl_main): Set l_name of vDSO.
15955 Call _dl_show_scope when DL_DEBUG_SCOPES.
15956 (process_dl_debug): Recognize scopes flag and also set it for all.
15957 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15958 Declare _dl_show_scope.
15959
1dc27704
UD
15960 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15961 (do_dlopen): Pass caller_dlopen to dl_open.
15962 (__libc_dlopen_mode): Initialize caller_dlopen.
15963
f9ddf089
UD
15964 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15965 of libc. Make tolower call locale-independent. Optimize a bit by
15966 using isdigit instead of isalnum.
15967 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15968
9ac533d3
UD
159692011-08-12 Ulrich Drepper <drepper@gmail.com>
15970
15971 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15972 was a dependency or dynamically loaded.
15973
89edf2e9
UD
159742011-08-11 Ulrich Drepper <drepper@gmail.com>
15975
8e999d29
UD
15976 * intl/l10nflist.c: Allow architecture-specific pop function.
15977 * sysdeps/x86_64/l10nflist.c: New file.
15978
89edf2e9
UD
15979 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15980 classification.
15981
14d96785
AS
159822011-08-10 Andreas Schwab <schwab@redhat.com>
15983
15984 * include/dirent.h: Add libc_hidden_proto for scandirat and
15985 scandirat64. Don't declare __scandirat64.
15986 * dirent/scandirat.c: Add libc_hidden_def.
15987 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15988 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15989
6761ac04
DM
159902011-08-10 David S. Miller <davem@davemloft.net>
15991
15992 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15993 enum.
15994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15997
c55fbd1e
UD
159982011-08-09 Ulrich Drepper <drepper@gmail.com>
15999
16000 * Versions.def [libc]: Add GLIBC_2.15.
16001 * dirent/Makefile (routines): Add scandirat and scandirat64.
16002 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16003 GLIBC_2.15.
16004 * dirent/dirent.h: Declare scandirat and scandirat64.
16005 * dirent/scandirat.c: New file.
16006 * dirent/scandirat64.c: New file.
16007 * sysdeps/wordsize-64/scandirat.c: New file.
16008 * sysdeps/wordsize-64/scandirat64.c: New file.
16009 * dirent/opendir.c: Define opendirat.
16010 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16011 using scandirat.
16012 * dirent/scandir64.c: Adjust for scandir.c change.
16013 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16014 __scandirat64, and __scandir_cancel_handler.
16015 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16016 additional parameter and use openat instead of open (outside of ld.so).
16017 Add new __opendir as wrapper around __opendirat.
16018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16019 here without requiring old scandirat implementation.
16020
879165f2
UD
160212011-08-08 Ulrich Drepper <drepper@gmail.com>
16022
16023 * dirent/scandir.c (cancel_handler): Renamed to
16024 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16025 defined. Adjust users.
16026 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16028
cb7e923b
UD
160292011-08-04 Ulrich Drepper <drepper@gmail.com>
16030
16292edd
UD
16031 * string/test-string.h (IMPL): Use __STRING to expand name and then
16032 stringify it.
16033
cb7e923b
UD
16034 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16035 of cleanups.
16036
cff82933
LD
160372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16038
16039 * string/Makefile: Update.
16040 (strop-tests): Append strncat.
16041 * string/test-wcscmp.c: New file.
16042 New comprehensive test for wcscmp.
16043 * string/test-strcmp.c: Update.
16044 (WIDE): New define.
16045
9be9bfcc
AS
160462011-07-22 Andreas Schwab <schwab@redhat.com>
16047
16048 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16049 line.
16050
2e96f1c7
AS
160512011-07-26 Andreas Schwab <schwab@redhat.com>
16052
16053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16054 encoding to ACE if AI_IDN.
16055
85188888
JJ
160562011-08-01 Jakub Jelinek <jakub@redhat.com>
16057
16058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16059 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16060
5fa16e9b
LD
160612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16062
16063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16064 Fix overflow bug in strncat.
16065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16066
16067 * string/test-strncat.c: Update.
16068 Add new tests for checking overflow bugs.
16069
160702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16071
16072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16073 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16074 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16075 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16077 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16078 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16079 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16080 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16081
16082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16083 (USE_AS_STRCAT): Define.
16084 Add strcat and strncat support.
16085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16086
8c1a459f
AS
160872011-07-25 Andreas Schwab <schwab@redhat.com>
16088
16089 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16090 __n bigger than INT_MAX+1.
16091 (__strncmp_g): Likewise.
16092
bba33c28
UD
160932011-07-23 Ulrich Drepper <drepper@gmail.com>
16094
798be72d
UD
16095 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16096 * libio/stido.h: Likewise.
16097
8accd4dc
UD
16098 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16099 (AF_NFC): Define.
16100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16101 (AF_NFC): Define.
16102
cbff0d96
UD
16103 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16104 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16106 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16108
9191c04a
UD
16109 [BZ #13021]
16110 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16111 installed.
16112
bba33c28
UD
16113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16114 typo.
16115 (_dl_x86_64_save_sse): Likewise.
16116
90f139dd
UD
161172011-07-22 Ulrich Drepper <drepper@gmail.com>
16118
1aae088a
UD
16119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16120 OSXSAVE.
16121 (_dl_x86_64_save_sse): Likewise.
16122
8e2045f5
UD
16123 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16124
90f139dd
UD
16125 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16126
1d002f25
AS
161272011-07-21 Andreas Schwab <schwab@redhat.com>
16128
16129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16130 change.
16131 (_dl_x86_64_save_sse): Use correct AVX check.
16132
21137f89
UD
161332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16134
16135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16136 bug in strncpy/strncat.
16137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16138
a65c0b7a
UD
161392011-07-21 Ulrich Drepper <drepper@gmail.com>
16140
16141 * string/tester.c (test_strcat): Add tests for different alignments
16142 of source and destination.
16143 (test_strncat): Likewise.
16144
6986b98a
UD
161452011-07-20 Ulrich Drepper <drepper@gmail.com>
16146
90bb2039
UD
16147 [BZ #12852]
16148 * posix/glob.c (glob): Check passed in values before using them in
16149 expressions to avoid some overflows.
16150 (glob_in_dir): Likewise.
16151
5644ef54
UD
16152 [BZ #13007]
16153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16154 check for AVX enablement so that we don't crash with old kernels and
16155 new hardware.
16156 * elf/tst-audit4.c: Add same checks here.
16157 * elf/tst-audit6.c: Likewise.
16158
16159 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16160
bfc9dc9b
AS
161612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16162
16163 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16164
702e64bb
UD
161652011-07-20 Ulrich Drepper <drepper@gmail.com>
16166
16167 * po/cs.po: Update from translation team.
16168 * po/bg.po: Likewise.
16169
295e904f
MP
161702011-07-12 Marek Polacek <mpolacek@redhat.com>
16171
16172 * misc/sys/cdefs.h: Add support for const attribute.
16173 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16174 to gnu_dev_{major,minor,makedev} functions.
16175
3ff94596
MP
161762011-07-20 Marek Polacek <mpolacek@redhat.com>
16177
16178 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16179
28b59fca
AS
161802011-07-20 Andreas Schwab <schwab@redhat.com>
16181
16182 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16183 strlen results.
16184
19df733e
AK
161852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16186
16187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16188 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16189 register in order to avoid conflicts with the soft frame pointer
16190 being held in r11 when necessary.
16191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16192 (INTERNAL_VSYSCALL_NCS): Likewise.
16193
c8835729
MP
161942011-07-14 Marek Polacek <mpolacek@redhat.com>
16195
16196 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16197 * elf/dl-fini.c (_dl_fini): Adjust caller.
16198 * elf/dl-close.c (_dl_close_worker): Likewise.
16199 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16200
b902330c
MP
162012011-07-15 Marek Polacek <mpolacek@redhat.com>
16202
8991e135
MP
16203 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16204 "aux_cache->nlibs < 0".
16205
b902330c
MP
16206 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16207 in the reload-count case.
16208
99710781
LD
162092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16210
16211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16212 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16213 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16214 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16215 * sysdeps/x86_64/multiarch/strcat.S: New file.
16216 * sysdeps/x86_64/multiarch/strncat.S: New file.
16217 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16218 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16219 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16220 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16222 (USE_AS_STRCAT): Define.
16223 Add strcat and strncat support.
16224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16226 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16227 * string/strncat.c: Update.
16228 (USE_AS_STRNCAT): Define.
16229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16230 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16231 and i7.
16232 * sysdeps/x86_64/multiarch/init-arch.h
16233 (bit_Prefer_PMINUB_for_stringop): New.
16234 (index_Prefer_PMINUB_for_stringop): Likewise.
16235 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16236 bit_Prefer_PMINUB_for_stringop.
16237
7dc6bd90
UD
162382011-07-19 Ulrich Drepper <drepper@gmail.com>
16239
16240 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16241 buffer64.
16242 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16243 of casting of buffer.
16244 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16245 buffer32 and buffer64.
16246 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16247 writes instead of casting of buffer.
16248 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16249 buffer32.
16250 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16251 casting of buffer.
16252
e0e72284
AS
162532011-07-19 Andreas Schwab <schwab@redhat.com>
16254
16255 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16256
feb1eb0b
UD
162572011-07-19 Ulrich Drepper <drepper@gmail.com>
16258
16259 * nscd/nscd.c (termination_handler): Don't do anything for a database
16260 if it has not yet been initialized.
16261
298711ff
UD
162622011-07-18 Ulrich Drepper <drepper@gmail.com>
16263
16264 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16265
162662011-07-15 Marek Polacek <mpolacek@redhat.com>
16267
16268 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16269
f9d68389
UD
162702011-07-18 Ulrich Drepper <drepper@gmail.com>
16271
16272 * po/nl.po: Update from translation team.
16273 * po/sv.po: Likewise.
16274
db290cf5
RM
162752011-07-16 Roland McGrath <roland@hack.frob.com>
16276
16277 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16278 now disallowed by GCC.
5c550700 16279
fd5e21c7
RM
16280 * configure.in (use-default-link): Default to yes if a test -shared
16281 link meets our qualifications.
16282 * configure: Regenerated.
16283
5c550700
RM
16284 * config.make.in (output-format): New variable.
16285 * configure.in: Check for ld --print-output-format support.
16286 * configure: Regenerated.
16287 * Makerules ($(common-objpfx)format.lds)
16288 [$(output-format) != unknown]: Just use $(output-format),
16289 instead of the linker-script munging.
16290
9fa2c032
RM
162912011-07-14 Roland McGrath <roland@hack.frob.com>
16292
a6928d51
RM
16293 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16294 of $(common-objpfx)shlib.lds.
16295 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16296
661607b3
RM
16297 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16298 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16299
9fa2c032
RM
16300 * configure.in (-z relro check): Adjust test code to add a large
16301 writable data section after it.
16302 * configure: Regenerated.
16303
defe9061
RM
163042011-07-11 Roland McGrath <roland@hack.frob.com>
16305
16306 * configure.in (-z relro check): Fix test code to make the variable
16307 truly const.
16308 * configure: Regenerated.
16309
319b9ad4
UD
163102011-07-11 Ulrich Drepper <drepper@gmail.com>
16311
16312 * nscd/nscd.h (struct traced_file): Define.
16313 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16314 elements. Add traced_files.
16315 (inotify_fd): Declare.
16316 (register_traced_file): Declare.
16317 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16318 (inotify_fd): Export.
16319 (resolv_conf_descr): Remove.
16320 (nscd_init): Move inotify descriptor creation to main.
16321 Don't register files for notification here.
16322 (register_traced_file): New function.
16323 (invalidate_cache): Don't use reset_res to determine whether to call
16324 res_init, go through the list of registered files.
16325 (main_loop_poll): The inotify descriptors are now stored in the
16326 structures for the traced files.
16327 (main_loop_epoll): Likewise
16328 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16329 to __nss_disable_nscd.
16330 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16331 for a database anymore. Check the records for all the registered
16332 files instead.
16333 * nss/Makefile (libnss_files-routines): Add files-init.
16334 (libnss_db-routines): Add db-init.
16335 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16336 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16337 * nss/nss_db/db-init.c: New file.
16338 * nss/nss_files/files-init.c: New file.
16339 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16340 __nss_lookup_function.
16341 (__nss_lookup_function): Call nss_load_library.
16342 (nss_load_all_libraries): New function.
16343 (__nss_disable_nscd): Take parameter with callback function for files
16344 to register. Set is_nscd. Load all the DSOs for the NSS modules
16345 used for the cached services.
16346 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16347 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16348 options for features to all the files in nscd.
16349
16350 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16351
23bee3e8
RM
163522011-07-10 Roland McGrath <roland@hack.frob.com>
16353
16354 * csu/elf-init.c (__libc_csu_init): Comment typo.
16355
46a5b7f0
UD
163562011-07-09 Ulrich Drepper <drepper@gmail.com>
16357
16358 * po/pl.po: Update from translation team.
16359 * po/ja.po: Likewise.
16360 * po/ru.po: Likewise.
16361 * po/ko.po: Likewise.
16362 * po/fr.po: Likewise.
16363
d30cf5bb
RM
163642011-07-09 Roland McGrath <roland@hack.frob.com>
16365
113ddea4
RM
16366 * configure.in (.ctors/.dtors header and trailer check):
16367 Use an empirical test on a built program.
16368 * configure: Regenerated.
16369
574920b4
RM
16370 * configure.in (-z relro check): Use an empirical test on a built DSO.
16371 Detect, but do not require, on ia64.
16372 * configure: Regenerated.
16373
d30cf5bb
RM
16374 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16375 Update tests that use readelf to use $READELF instead.
16376 * configure: Regenerated.
16377
8538fdb3
UD
163782011-07-08 Ulrich Drepper <drepper@gmail.com>
16379
16380 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16381 if the result is not used.
16382
04d08991
AJ
163832011-07-05 Andreas Jaeger <aj@suse.de>
16384
16385 [BZ#9696]
16386 * stdlib/tst-strtod.c: Add testcase.
16387
de283087
AD
163882011-07-07 Ulrich Drepper <drepper@gmail.com>
16389
4e5f31c8 16390 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16391 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16392 The latter has a higher limit. Take additional parameter to pass to
16393 the new function.
16394 (__pathconf): Pass file to __statfs_link_max.
16395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16396 __statfs_link_max.
16397 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16398 __statfs_link_max.
16399
de283087
AD
16400 [BZ #12868]
16401 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16402 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16403 Handle Lustre.
16404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16405 (__statfs_filesize_max): Likewise.
16406 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16407
c75fa153
AJ
164082011-07-05 Andreas Jaeger <aj@suse.de>
16409
16410 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16411
1a544854
UD
164122011-07-06 Marek Polacek <mpolacek@redhat.com>
16413
16414 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16415 `status' variable.
16416 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16417 Likewise.
16418
6f0eec67
UD
164192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16420
16421 * Makefile (strop-tests): Add strncat.
16422 * string/test-strncat.c: New file.
16423
aae30307
UD
164242011-06-30 Marek Polacek <mpolacek@redhat.com>
16425
16426 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16427
c0cfb5eb
UD
164282011-06-21 Andreas Jaeger <aj@suse.de>
16429
16430 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16431 Copy rule from iconvdata/Makefile.
16432
01636b21
UD
164332011-07-06 Ulrich Drepper <drepper@gmail.com>
16434
16435 [BZ #12922]
16436 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16437 but no long options are defined, just return 'W'.
16438
9895c8bc
UD
164392011-06-22 Marek Polacek <mpolacek@redhat.com>
16440
16441 [BZ #9696]
16442 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16443
5d4cf042
UD
164442011-07-06 Ulrich Drepper <drepper@gmail.com>
16445
16446 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16447 netgroups to read.
960e5535 16448 (innetgr): Likewise.
5d4cf042 16449
751eb97e
RM
164502011-07-05 Roland McGrath <roland@hack.frob.com>
16451
16452 * config.make.in (install_root): Default to $(DESTDIR).
16453
f15f1e45
UD
164542011-07-05 Ulrich Drepper <drepper@gmail.com>
16455
16456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16457
4e34ac6a
RM
164582011-07-02 Roland McGrath <roland@hack.frob.com>
16459
5e9b6af4
RM
16460 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16461
84f9ea0f
RM
16462 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16463 containing directory rather than embedding absolute directory names.
16464
ea5ee9f7
RM
16465 * scripts/check-local-headers.sh: Rewritten using awk.
16466 Match by word, not by line. Print error messages for matches.
16467 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16468
1b74661a
RM
16469 * Makerules [shlib-lds-flags empty]:
16470 ($(common-objpfx)libc_pic.opts): New target.
16471 ($(common-objpfx)libc_pic.os.clean): New target.
16472 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16473
16474 * config.make.in (OBJCOPY): New variable.
16475 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16476 * configure: Regenerated.
16477
f781ef40
RM
16478 * config.make.in (use-default-link): New variable.
16479 * configure.in (use_default_link): Grok --with-default-link to set it.
16480 * configure: Regenerated.
16481 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16482 (shlib-lds, shlib-lds-flags): Define to empty.
16483
2d4fa81e
RM
16484 * Makerules (shlib-lds): New variable.
16485 (shlib-lds-flags): New variable.
16486 (build-shlib, build-moduile, build-module-asneeded): Use it.
16487 ($(common-objpfx)libc.so): Use $(shlib-lds).
16488 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16489 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16490
31fffa6b
RM
16491 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16492 DT_FLAGS/DT_FLAGS_1 with zero flags.
16493
4e34ac6a
RM
16494 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16495 linker script munging.
16496
fcfc776b
UD
164972011-07-02 Ulrich Drepper <drepper@gmail.com>
16498
16499 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16500 as 128-bit value.
16501 * crypt/sha512.c (sha512_process_block): Perform total addition using
16502 128-bit if possible.
16503 (__sha512_finish_ctx): Likewise.
16504 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16505 as 64-bit value.
16506 * crypt/sha256.c (SWAP64): Define.
16507 (sha256_process_block): Perform total addition using 64-bit if
16508 possible.
16509 (__sha256_finish_ctx): Likewise.
16510
99231d9a
UD
165112011-07-01 Ulrich Drepper <drepper@gmail.com>
16512
16513 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16515 * nscd/hstcache.c (cache_addhst): Likewise.
16516 * nscd/grpcache.c (cache_addgr): Likewise.
16517 * nscd/aicache.c (addhstaiX): Likewise
16518 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16519
445b4a53
TK
165202011-07-01 Thorsten Kukuk <kukuk@suse.de>
16521
16522 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16524 * nscd/hstcache.c (cache_addhst): Likewise.
16525 * nscd/grpcache.c (cache_addgr): Likewise.
16526 * nscd/aicache.c (addhstaiX): Likewise
16527
6d4d8e8e
AS
165282011-07-01 Andreas Schwab <schwab@redhat.com>
16529
16530 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16531 domain only when needed.
16532
89f654c5
AS
165332011-06-30 Andreas Schwab <schwab@redhat.com>
16534
16535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16536 is always restored.
16537
cf3b23ff
UD
165382011-06-29 Ulrich Drepper <drepper@gmail.com>
16539
16540 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16541 are re-adding the entry.
16542 * nscd/servicescache.c (cache_addserv): Likewise.
16543
751626f9
AJ
165442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16545
16546 * sysdeps/generic/dl-irel.h: fix protection against multiple
16547 inclusions.
16548 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16549
9113ea1f
UD
165502011-06-28 Ulrich Drepper <drepper@gmail.com>
16551
5c0b8d90
UD
16552 [BZ #12935]
16553 * malloc/memusage.sh: Fix quoting in message.
16554 * debug/xtrace.sh: Likewise.
16555
9113ea1f
UD
16556 * configure.in: Remove support for --experimental-malloc option, make
16557 it the default.
16558 * config.make.in: Likewise.
16559 * malloc/Makefile: Likewise.
16560
a4172181
AS
165612011-06-27 Andreas Schwab <schwab@redhat.com>
16562
16563 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16564 two-byte characters.
16565
78a7eee7
RM
165662011-06-27 Roland McGrath <roland@hack.frob.com>
16567
62bede13
RM
16568 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16569 AC_CACHE_CHECK invocation.
16570 * configure: Regenerated.
16571
78a7eee7
RM
16572 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16573
5ce33a62
UD
165742011-06-27 Ulrich Drepper <drepper@gmail.com>
16575
034807a9
UD
16576 [BZ #12350]
16577 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16578 bit from old_res_options.
16579
4902da17
UD
16580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16581
5ce33a62
UD
16582 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16583 value type for setfct.
16584
c2344f56
L
165852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16586
16587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16588 __gettimeofday instead of gettimeofday.
16589
68468076
UD
165902011-06-26 Ulrich Drepper <drepper@gmail.com>
16591
16592 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16593
acb0d739
L
165942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16595
16596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16597
16598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16599 info.
16600
8912479f
L
166012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16604 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16605 strcpy-sse2-unaligned strncpy-sse2-unaligned
16606 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16607 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16608 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16609 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16610 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16613 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16614 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16615 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16616 (STRCPY): Support SSE2 and SSSE3 versions.
16617
d5495a11
UD
166182011-06-24 Ulrich Drepper <drepper@gmail.com>
16619
16620 [BZ #12874]
16621 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16622 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16623 kernels which artificially limit size of requests.
16624
0b1cbaae
L
166252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16626
16627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16628 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16629 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16630 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16631 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16632 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16633 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16634 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16637 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16638 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16639 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16640 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16641 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16643 Enable unaligned load optimization for Intel Core i3, i5 and i7
16644 processors.
16645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16646 Define.
16647 (index_Fast_Unaligned_Load): Define.
16648 (HAS_FAST_UNALIGNED_LOAD): Define.
16649
07f494a0
MP
166502011-06-23 Marek Polacek <mpolacek@redhat.com>
16651
16652 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16653
fa3fc0fe
UD
166542011-06-22 Ulrich Drepper <drepper@gmail.com>
16655
16656 [BZ #12907]
16657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16658 until it is clear that the information is realy needed.
16659 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16660
e12df166
AS
166612011-06-22 Andreas Schwab <schwab@redhat.com>
16662
16663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16664
852eb34d
UD
166652011-06-22 Ulrich Drepper <drepper@gmail.com>
16666
84e2a551
UD
16667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16668 /sys/devices/system/cpu/online if it is usable.
16669
852eb34d
UD
16670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16671 reading the information from the /proc filesystem to once a second.
16672
6e502e19
UD
166732011-06-21 Andreas Jaeger <aj@suse.de>
16674
16675 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16676 NULL after inclusion of kernel headers.
16677
75d39ff2
UD
166782011-06-21 Ulrich Drepper <drepper@gmail.com>
16679
51f9aa6a
UD
16680 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16681 calls to internal_setent.
16682
c0244a9d
UD
16683 [BZ #12885]
16684 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16685 addresses using gethostbyname4_r ignore IPv4 addresses.
16686
c5e3c2ae
UD
16687 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16688 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16689
75d39ff2
UD
16690 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16691
42675c6f
DM
166922011-06-20 David S. Miller <davem@davemloft.net>
16693
16694 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16695 inclusions.
16696 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16697
16698 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16699 (elf_irel): Use it.
16700 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16701 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16702 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16703 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16704 * sysdeps/x86_64/dl-irel.h: Likewise.
16705
16706 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16707 * elf/dl-sym.c: Likewise.
16708
57912a71
UD
167092011-06-15 Ulrich Drepper <drepper@gmail.com>
16710
16711 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16712 need to dereference resplen2.
16713
ee22793d
AS
167142011-06-14 Andreas Schwab <schwab@redhat.com>
16715
16716 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16717
a9e836b0
UD
167182011-06-15 Ulrich Drepper <drepper@gmail.com>
16719
77fb9117
UD
16720 * Makeconfig: Define vardbdir and inst_vardbdir.
16721 * nss/Makefile: Add rules to install db-Makefile.
16722
40c1b22c
UD
16723 * nss/nss_db/db-XXX.c: Cleanup.
16724
9f2da732
UD
16725 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16726 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16727 GLIBC_PRIVATE.
16728 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16729 * nss/makedb.c: Implement -g option to specify that value strings
16730 are generated and should not be added to table iterated over for
16731 get*ent calls.
16732 * nss/nss_db/db-initgroups.c: New file.
16733
82e9a1f7
UD
16734 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16735 interface.
16736
c41af17e
UD
16737 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16738 (internal_getgrouplist): Adjust to name change.
16739 Update use_initgroups_entry if this is not the first call.
16740 * nss/databases.def: Add initgroups entry.
16741
a9e836b0
UD
16742 * nss/makedb.c (compute_tables): Check result of multiple hash table
16743 sizes to minimize maximum chain length.
16744
2666d441
UD
167452011-06-14 Ulrich Drepper <drepper@gmail.com>
16746
16747 * Versions.def: Add entry for libnss_db.
16748 * shlib-versions: Likewise.
16749 * nss/Makefile: Add rules to build libnss_db.
16750 * nss/Versions: Add libnss_db information. Organize libnss_files
16751 entries better.
16752 * nss/db-Makefile: Add gshadow support. Change rules for the new
16753 makedb progra. Some minor improvements to generate smaller files.
16754 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16755 here from...
16756 * nss/makedb.c: ...here.
16757 Improve database format to be smaller and require less memory at
16758 runtime.
16759 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16760 db anymore.
16761 * nss/nss_db/db-netgrp.c: Likewise.
16762 * nss/nss_db/db-open.c: Likewise.
16763 * nss/nss_files/flies-XXX.x: Adjust comments.
16764 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16765 * nss/nss_files/files-grp.c: Likewise.
16766 * nss/nss_files/files-hosts.c: Likewise.
16767 * nss/nss_files/files-network.c: Likewise.
16768 * nss/nss_files/files-proto.c: Likewise.
16769 * nss/nss_files/files-pwd.c: Likewise.
16770 * nss/nss_files/files-rpc.c: Likewise.
16771 * nss/nss_files/files-service.c: Likewise.
16772 * nss/nss_files/files-sgrp.c: Likewise.
16773 * nss/nss_files/files-spwd.c: Likewise.
16774 * nss/nss_db/db-alias.c: Removed.
16775 * nss/nss_db/dummy-db.h: Removed.
16776
9ee76b5a
UD
167772011-06-02 Ulrich Drepper <drepper@gmail.com>
16778
16779 * nss/makedb.c: Rewritten to not use database library.
16780 * nss/Makefile: Update to build new makedb program.
16781
c71ca1f8
AJ
167822011-06-14 Andreas Jaeger <aj@suse.de>
16783
16784 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16785 memset declaration.
16786
3154bfb8
UD
167872011-06-10 Andreas Schwab <schwab@redhat.com>
16788
16789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16790 tmpbuf.
16791
b350afab
RM
167922011-06-10 Roland McGrath <roland@hack.frob.com>
16793
decd4e50
RM
16794 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16795 * elf/Makefile ($(objpfx)ld.so): Likewise.
16796
5615eaf2
RM
16797 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16798 Don't list ld.so twice in dependencies.
16799
16800 * posix/bug-regex31.c: Include <stdlib.h>.
16801
16802 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16803
16804 * nis/nss_compat/compat-spwd.c
16805 (getspent_next_nss_netgr): Remove unused variable.
16806 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16807
16808 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16809 nonmembers" output to use the right array.
16810
16811 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16812
16813 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16814
16815 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16816 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16817 * catgets/gencat.c (read_input_file): Likewise.
16818 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16819
16820 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16821 variable definition inside #if's controlling its use.
16822
16823 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16824
16825 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16826
16827 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16828
16829 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16830 unreachable code.
16831
16832 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16833
b68e08db
RM
16834 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16835 * configure: Regenerated.
16836
b350afab
RM
16837 * Makerules: Revert last change.
16838 * elf/Makefile: Likewise.
16839
28368601
RM
168402011-06-09 Roland McGrath <roland@hack.frob.com>
16841
16842 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16843 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16844 (reloc-link): Likewise.
16845
11988f8f
UD
168462011-06-09 Ulrich Drepper <drepper@gmail.com>
16847
16848 * elf/Makefile: Add rules to build pldd.
16849 * elf/pldd.c: New file.
16850 * elf/pldd-xx.c: New file.
16851
e80fab37
UD
168522011-06-07 Ulrich Drepper <drepper@gmail.com>
16853
16854 * version.h: Update for 2.15 development version.
16855
9b849836
DM
168562011-06-07 David S. Miller <davem@davemloft.net>
16857
16858 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16859 ifuncs.
16860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16861 elf_machine_lazy_rel): Likewise.
16862 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16864 elf_machine_lazy_rel): Likewise.
16865 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16866 dl_hwcap via passed in argument.
16867 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16868 Likewise.
16869
5a31b283
AK
168702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16871
16872 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16873
069e52f8
RM
168742011-06-06 Roland McGrath <roland@hack.frob.com>
16875
16876 [BZ #12849]
16877 * manual/fdl-1.1.texi: New file, verbatim from:
16878 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16879 * manual/lgpl-2.1.texi: New file, verbatim from:
16880 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16881 * manual/Makefile (licenses): New variable, list those new file names.
16882 (texis): Use it.
16883 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16884
16885 * manual/fdl.texi: File removed.
16886 * manual/lesser.texi: File removed.
16887 * manual/libc.texinfo (Copying, Documentation License):
16888 Use new @include file names, put @appendix directive before @include.
16889
f16846a5
JJ
168902011-06-04 Jakub Jelinek <jakub@redhat.com>
16891
16892 [BZ #12841]
16893 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16894 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16895 (mq_open): Add __NTH.
16896
3d29045b
L
168972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16898
16899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16900 Assume Intel Core i3/i5/i7 processor if AVX is available.
16901
8c297311
UD
169022011-05-31 Ulrich Drepper <drepper@gmail.com>
16903
16904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16905 typo.
16906
c8fc0c91
UD
169072011-05-31 Andreas Schwab <schwab@redhat.com>
16908
16909 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16910 memory. Use alloca_account. Fix memory leak when retrying.
16911
5b27a807
UD
169122011-05-31 Ulrich Drepper <drepper@gmail.com>
16913
356f8bc6
UD
16914 * version.h (RELEASE): Bump for 2.14 release.
16915 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16916
5b27a807
UD
16917 * config.make.in (RANLIB): Remove entry.
16918
01f16ab0
UD
169192011-05-30 Ulrich Drepper <drepper@gmail.com>
16920
41fce8bd
UD
16921 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16922 (libc.pot): Work around missing support for .ksh extension in xgettext.
16923
4769ae77
UD
16924 [BZ #12684]
16925 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16926 if both request failed.
16927 (send_dg): In case of server errors clear resplen or *resplen2.
16928
6b1e7d19
UD
16929 [BZ #12454]
16930 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16931 when there are multiple maps.
16932 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16933 (_dl_fini): Remove test here.
16934
01f16ab0
UD
16935 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16936
b1ebd700
UD
169372011-05-29 Ulrich Drepper <drepper@gmail.com>
16938
7ae22829
UD
16939 [BZ #12350]
16940 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16941 bit from old_res_options.
16942 (gaih_inet): Likewise.
16943
553149f6 16944 [BZ #11099]
18a84741 16945 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16946 as signed.
16947
652ffab1
UD
16948 * resolv/res_init.c (res_setoptions): Make the code more compact.
16949
16985fd0
UD
16950 [BZ #11558]
16951 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16952 set RES_USEVC.
16953
0464f746
UD
16954 [BZ #11634]
16955 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16956
7d17596c
UD
16957 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16958
cf6bbbd7
UD
16959 [BZ #11781]
16960 * malloc/malloc.h: Declare malloc hook variables as volatile.
16961
13f1ab36
UD
16962 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16963 in last patch.
16964
b1ebd700
UD
16965 [BZ #11799]
16966 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16967 raise in the comment.
80e2212d
UD
16968 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16970 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16971
ce67228d
UD
169722011-05-28 Ulrich Drepper <drepper@gmail.com>
16973
8887a920
UD
16974 [BZ #12811]
16975 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16976 grow the buffers more if it already has to be sufficient.
16977 (build_wcs_upper_buffer): Likewise.
16978 * posix/regexec.c (check_matching): Likewise.
16979 (clean_state_log_if_needed): Likewise.
16980 (extend_buffers): Don't enlarge buffers beyond size of the input
16981 buffer.
16982 Patches mostly by Emil Wojak <emil@wojak.eu>.
16983 * posix/bug-regex32.c: New file.
16984 * posix/Makefile (tests): Add bug-regex32.
16985
4f031072
UD
16986 * locale/findlocale.c (_nl_find_locale): Return right away if
16987 _nl_explode_name failed.
16988 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16989
d0478f0c
UD
16990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16991
de81b246
UD
16992 * debug/xtrace.sh: Unify messages.
16993 * malloc/memusage.sh: Likewise.
16994
c738465a
UD
16995 [BZ #12813]
16996 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16997 time symbol from vDSO. Substitute with vsyscall if not available.
16998 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16999 __vdso_time.
17000
f1f929d7
UD
17001 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17002 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17003 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17004 Add sendmmsg and internal_sendmmsg.
17005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17006 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17007 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17008
ce67228d
UD
17009 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17010 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17012
e57420c6
UD
170132011-05-27 Ulrich Drepper <drepper@gmail.com>
17014
a8509ca5
UD
17015 [BZ #12813]
17016 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17017 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17018 available.
17019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17020 __vdso_getcpu.
17021
e57420c6
UD
17022 [BZ #12814]
17023 * iconvdata/Makefile (tests): Add bug-iconv9.
17024 * iconvdata/bug-iconv9.c: New file.
17025
4d07db15
AS
170262011-05-27 Andreas Schwab <schwab@redhat.com>
17027
17028 [BZ #12814]
17029 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17030
ea486f69
JJ
170312011-05-25 Jakub Jelinek <jakub@redhat.com>
17032
17033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17034 (struct user_regs_struct): Change intcs field back to cs.
17035
6f038433
UD
170362011-05-25 Ulrich Drepper <drepper@gmail.com>
17037
17038 * po/ja.po: Update from translation team.
17039
67f86a25
UD
170402011-05-23 Ulrich Drepper <drepper@gmail.com>
17041
17042 [BZ #12795]
17043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17045
def7fbd6
AS
170462011-05-20 Andreas Schwab <schwab@redhat.com>
17047
17048 * stdlib/longlong.h: Update from GCC.
17049
f50ef8f1
AS
170502011-05-23 Andreas Schwab <schwab@redhat.com>
17051
17052 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17053 parameter name.
17054 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17055 Add parameter name.
17056 (__sysconf): Pass it down.
17057
de7ce8f1
UD
170582011-05-22 Ulrich Drepper <drepper@gmail.com>
17059
f2962a71
UD
17060 [BZ #12671]
17061 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17062 some situations.
17063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17064 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17065 add in in __libc_use_alloca calls. Adjust callers.
17066 (glob): Use malloc in some situations.
17067
de7ce8f1
UD
17068 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17069 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17070 pltexit.
17071
aec84f53
UD
170722011-05-21 Ulrich Drepper <drepper@gmail.com>
17073
05bb4a68
UD
17074 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17075 and CLOCK_BOOTTIME_ALARM.
17076
7ea72f99
UD
17077 [BZ #12782]
17078 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17079 is returned.
17080
7e4afad5
UD
17081 * string/_strerror.c (__strerror_r): Print negative errors as signed
17082 numbers.
17083
8e211fec
UD
17084 [BZ #12777]
17085 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17086 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17087 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17088
f7d82dc9
UD
17089 * configure.in: Fix typo in redirection and correct removal of test
17090 files in two cases.
17091
cc9e536d
UD
17092 [BZ #12788]
17093 * locale/setlocale.c (new_composite_name): Fix test to check for
17094 identical name of all categories.
17095
aec84f53
UD
17096 [BZ #12792]
17097 * libio/filedoalloc.c (local_isatty): New function.
17098 (_IO_file_doallocate): Use local_isatty.
17099 * stdio-common/perror.c (perror): In case a new stream is used
17100 forward the stream error.
17101 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17102 error flag.
17103
78e64fdc
RT
171042011-05-20 Ulrich Drepper <drepper@gmail.com>
17105
34a9094f
UD
17106 [BZ #11869]
17107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17108 alloca.
17109 * include/alloca.h (extend_alloca_account): Define.
17110
78e64fdc
RT
17111 [BZ #11857]
17112 * posix/regex.h: Fix comments with documentation of user-accessible
17113 fields after compilation and describe correct free'ing of pattern
17114 after re_compile_pattern.
17115 Patch by Reuben Thomas <rrt@sc3d.org>.
17116
457bddfc
RA
171172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17118
17119 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17120 and -mno-altivec to prevent the compiler from using Altivec and/or
17121 VSX instructions when the corresponding registers are not available.
17122
a4527b51
AS
171232011-05-19 Andreas Schwab <schwab@redhat.com>
17124
17125 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17126
ed690b2f
UD
171272011-05-19 Ulrich Drepper <drepper@gmail.com>
17128
17129 * libio/freopen.c (freopen): Use __dup2, not dup2.
17130 * libio/freopen64.c (freopen64): Likewise.
17131
8db73634
L
171322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17133
17134 [BZ #12775]
17135 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17136 * math/Makefile (tests): Add test-powl.
17137 (CFLAGS-test-powl.c): Define.
17138 * math/test-powl.c: New file.
17139
0a197a9d
L
171402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17143
ee30c380
UD
171442011-05-17 Ulrich Drepper <drepper@gmail.com>
17145
17146 [BZ #11837]
17147 * iconvdata/gb18030.c: Update to GB18020-2005.
17148
6ce75379
UD
171492011-05-16 Ulrich Drepper <drepper@gmail.com>
17150
a4b89fd8
AR
17151 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17152 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17153 Patch by Aharon Robbins <arnold@skeeve.com>.
17154
ea389b12
UD
17155 [BZ #11892]
17156 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17157 on the stack.
17158
68a3f91f
UD
17159 [BZ #11895]
17160 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17161 through underflows.
17162
15cc7dd1
UD
17163 [BZ #12766]
17164 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17165 point to strings before performing equality test for error_one_per_line
17166 mode.
17167
f3799213
UD
17168 [BZ #11697]
17169 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17170
d79a9c94
UD
17171 [BZ #11820]
17172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17173 (struct user_fpregs_struct): Avoid __uint*_t types.
17174
56e5eb46
UD
17175 [BZ #6420]
17176 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17177 symbol info. Use it instead of calling _dl_addr locally.
17178 (lock_and_info): New function.
17179 (tr_freehook): Call lock_and_info and pass symbol info as additional
17180 parameter to tr_where.
17181 (tr_mallochook): Likewise.
17182 (tr_reallochook): Likewise.
17183 (tr_memalignhook): Likewise.
17184
6ce75379
UD
17185 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17186 used and couldn't be at all thread-safe.
17187
f8a3b5bf
UD
171882011-05-15 Ulrich Drepper <drepper@gmail.com>
17189
94b7cc37
UD
17190 * libio/freopen.c (freopen): Don't close old file descriptor
17191 before the new one is opened. Instead dup the new file descriptor
17192 to the old one after the new stream is created.
17193 * libio/freopen64.c (freopen64): Likewise.
17194 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17195 * libio/fileops.c (_IO_new_file_close_it): Handle new
17196 _IO_FLAGS2_NOCLOSE flag.
17197 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17198 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17199 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17200 _IO_FLAGS2_NOCLOSE flag.
17201 * include/unistd.h: Add hidden_proto for dup3.
17202 Define __have_dup3.
17203 * io/dup3.c: Define hidden symbol.
17204 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17205
bd25564e
UD
17206 [BZ #7101]
17207 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17208 when an incomplete long option is used.
17209 * posix/tst-getopt_long1.c: New file.
17210 * posix/Makefile (tests): Add tst-getopt_long1.
17211
c84cfef4
UD
17212 [BZ #10138]
17213 * scripts/config.guess: Update from autoconf-2.68.
17214 * scripts/config.sub: Likewise.
17215
3b85df27
UD
17216 [BZ #10157]
17217 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17218 tests into ...
17219 (has_cpuclock): ...this. New function.
17220 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17221 macro here based on has_cpuclock code.
17222
15a856b1
UD
17223 [BZ #10149]
17224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17225 First byte (not low byte) is now always NUL.
17226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17227
05f399e6
UD
17228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17229 Use non-cancelable interfaces.
17230
10a52685 17231 [BZ #9809]
94ecc67d
UD
17232 * locale/iso-639.def: Add entry for Sorani.
17233
f8a3b5bf
UD
17234 [BZ #11901]
17235 * include/stdlib.h: Move include protection to the right place.
17236 Define abort_msg_s. Declare __abort_msg with it.
17237 * stdlib/abort.c (__abort_msg): Adjust type.
17238 * assert/assert.c (__assert_fail_base): New function. Majority
17239 of code from __assert_fail. Allocate memory for __abort_msg with
17240 mmap.
17241 (__assert_fail): Now call __assert_fail_base.
17242 * assert/assert-perr.c: Remove bulk of implementation. Use
17243 __assert_fail_base.
17244 * include/assert.hL Declare __assert_fail_base.
17245 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17246 mmap.
17247 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17248
1af4e298
UD
172492011-05-14 Ulrich Drepper <drepper@gmail.com>
17250
f8a3b5bf 17251 [BZ #11952]
d26dfc60
MG
17252 [BZ #12453]
17253 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17254 until all modules are registered in the DTV.
17255 * elf/Makefile: Add rules to build and run tst-tls19.
17256 * elf/tst-tls19.c: New file.
17257 * elf/tst-tls19mod1.c: New file.
17258 * elf/tst-tls19mod2.c: New file.
17259 * elf/tst-tls19mod3.c: New file.
17260 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17261
2fc54d6f
UD
17262 [BZ #12083]
17263 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17264 correctly.
17265
98d76b46
UD
17266 [BZ #12601]
17267 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17268 two-byte sequence errors.
17269 * iconvdata/Makefile (tests): Add bug-iconv8.
17270 * iconvdata/bug-iconv8.c: New file.
17271
da3c19ef
UD
17272 [BZ #12626]
17273 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17274 buf2 definition.
17275
ca408c15
UD
17276 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17277
d6f67f7d
UD
17278 [BZ #12432]
17279 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17280 (dummy_getcfa): New function.
17281 (init): Get _Unwind_GetCFA address, use dummy if not found.
17282 (backtrace_helper): In recursion check, also check whether CFA changes.
17283 (__backtrace): Completely initialize arg.
17284
1af4e298 17285 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17286 storing incomplete byte sequence in state object. Avoid testing for
17287 guaranteed too small input if we know there is enough data available.
1af4e298 17288
da62f81b
AS
172892011-05-11 Andreas Schwab <schwab@redhat.com>
17290
17291 * Makeconfig (+link-pie): Indent.
17292 * Rules (binaries-pie): Define if $(have-fpie) and
17293 $(build-shared).
17294 (binaries-shared): Also filter out $(binaries-pie).
17295 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17296 * nscd/Makefile (others-pie): Add nscd.
17297 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17298 ($(objpfx)nscd): Remove command override.
17299 * login/Makefile (others-pie): Add pt_chown.
17300 ($(objpfx)pt_chown): Remove command override.
17301 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17302 remove command overrides.
17303
fcabc0f8
UD
173042011-05-13 Ulrich Drepper <drepper@gmail.com>
17305
20030ae6
UD
17306 * libio/tst_putwc.c: Fix error messages.
17307
fcabc0f8
UD
17308 [BZ #12724]
17309 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17310 currently writing and seek to current position when not.
17311 * libio/Makefile (tests): Add bug-fclose1.
17312 * libio/bug-fclose1.c: New file.
17313
320a5dc0
PB
173142011-05-12 Ulrich Drepper <drepper@gmail.com>
17315
17316 [BZ #12511]
17317 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17318 don't set DF_1_NODELETE here.
17319 (do_lookup_x): When entering new entry test for copy relocation
17320 and if necessary set DF_1_NODELETE flag.
17321 * elf/tst-unique4.cc: New file.
17322 * elf/tst-unique4.h: New file.
17323 * elf/tst-unique4lib.cc: New file.
17324 * elf/Makefile: Add rules to build and run tst-unique4.
17325 Patch by Piotr Bury <pbury@goahead.com>.
17326
22836f52
UD
173272011-05-11 Ulrich Drepper <drepper@gmail.com>
17328
f574184a
UD
17329 [BZ #12052]
17330 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17331
e1fb097f
UD
17332 [BZ #12625]
17333 * misc/mntent_r.c (addmntent): Flush the stream after the output
17334
22836f52
UD
17335 [BZ #12393]
17336 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17337 (is_trusted_path_normalize): Skip initial colon. Append slash
17338 to empty buffer. Duplicate is_trusted_path code but allow
17339 constructed patch to be prefix.
17340 (is_dst): Allow $ORIGIN followed by /.
17341 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17342 Correct testing of result of is_trusted_path_normalize
17343 (decompose_rpath): Fix warning.
17344
7b3b0b2a
UD
173452011-05-10 Ulrich Drepper <drepper@gmail.com>
17346
17347 [BZ #11257]
17348 * grp/initgroups.c (internal_getgrouplist): When we found the service
17349 list through the initgroups entry in nsswitch.conf do not always
17350 continue on a successful lookup. Don't always use the
eac80ce2 17351 __nss_group_database value if it is set.
7b3b0b2a
UD
17352 * nss/nsswitch.conf (initgroups): Change action for successful db
17353 lookup to continue for compatibility.
17354
2a81eaa5
UD
173552011-05-09 Ulrich Drepper <drepper@gmail.com>
17356
be97a69e
UD
17357 [BZ #11532]
17358 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17359 and CP774 modules.
17360 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17361 and CP774 modules.
17362 * iconvdata/tst-tables.sh: Likewise.
17363 * iconvdata/cp770.c: New file.
17364 * iconvdata/cp771.c: New file.
17365 * iconvdata/cp772.c: New file.
17366 * iconvdata/cp773.c: New file.
17367 * iconvdata/cp774.c: New file.
17368 * iconvdata/testdata/CP770: New file.
17369 * iconvdata/testdata/CP770..UTF8: New file.
17370 * iconvdata/testdata/CP771: New file.
17371 * iconvdata/testdata/CP771..UTF8: New file.
17372 * iconvdata/testdata/CP772: New file.
17373 * iconvdata/testdata/CP772..UTF8: New file.
17374 * iconvdata/testdata/CP773: New file.
17375 * iconvdata/testdata/CP773..UTF8: New file.
17376 * iconvdata/testdata/CP774: New file.
17377 * iconvdata/testdata/CP774..UTF8: New file.
17378
17379 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17380 END CHARMAP line.
17381 * iconvdata/gen-8bit-gap.sh: Likewise.
17382 * iconvdata/gen-8bit.sh: Likewise.
17383
c1e9e399
UD
17384 * locale/iso-639.def: Add ary entry.
17385
24c55fb3 17386 [BZ #11258]
96b4b1b0
UD
17387 * locale/C-translit.h.in: Add U20A1 transliteration.
17388
bdc2f971
KB
17389 [BZ #12178]
17390 * locale/iso-639.def: Add wae entry.
17391 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17392
2952b117
UD
17393 [BZ #12545]
17394 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17395 for n.
17396
2a81eaa5
UD
17397 [BZ #12711]
17398 * locale/C-translit.h.in: Add entry for U20B9.
17399 Patch by pravin.d.s@gmail.com.
17400
28377d1b
UD
174012011-05-08 Ulrich Drepper <drepper@gmail.com>
17402
7fb90fb8
UD
17403 [BZ #12713]
17404 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17405 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17406 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17407 in rtld. Use *stat64.
7fb90fb8 17408 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17409 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17410 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17411 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17412 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17413 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17414 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17415 __fstatat64 macros.
7fb90fb8
UD
17416 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17417 * dirent/rewinddir.c: Add libc_hidden_def.
17418 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17419 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17420
28377d1b
UD
17421 * include/dirent.h (__alloc_dir): Add flags parameter.
17422 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17423 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17424 __alloc_dir.
17425 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17426 from fdopendir if O_CLOEXEC is already set.
17427
66bdbaa4
AM
174282011-03-15 Alan Modra <amodra@gmail.com>
17429
17430 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17431 l_tls_firstbyte_offset non-zero. Save padding offset in
17432 l_tls_firstbyte_offset for later use.
17433 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17434 freeing static tls block.
17435
95721191
JN
174362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17437
17438 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17439 where #ifdef was intended. The intent is to prevent ARG_MAX from
17440 being defined by the kernel headers.
17441
f87dfb1f
UD
174422011-05-07 Ulrich Drepper <drepper@gmail.com>
17443
17444 [BZ #12734]
17445 * resolv/resolv.h: Define RES_NOTLDQUERY.
17446 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17447 no-tld-query and set RES_NOTLDQUERY.
17448 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17449 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17450 modern BIND to search name as TLD unless forbidden.
17451
47c3cd7a
UD
174522011-05-07 Petr Baudis <pasky@suse.cz>
17453 Ulrich Drepper <drepper@gmail.com>
17454
17455 [BZ #12393]
17456 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17457 (is_trusted_path): ...to here.
c1e9ea35 17458 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17459 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17460 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17461
8a35c912
PP
174622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17463
17464 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17465 __BEGIN/__END_DECLS.
17466
acd41f47
UD
174672011-05-06 Ulrich Drepper <drepper@gmail.com>
17468
17469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17470 NSS_STATUS_NOTFOUND if no record was found.
17471
597df647
AS
174722011-05-05 Andreas Schwab <schwab@redhat.com>
17473
17474 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17475 (headers-not-in-tirpc): Remove rpc/netdb.h
17476 * resolv/netdb.h: Revert last change.
17477
b9af1301
PP
174782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17479
17480 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17481 circular dependency between libgcc.a and libc.a.
17482
4e34d5f5
AS
174832011-05-05 Andreas Schwab <schwab@redhat.com>
17484
17485 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17486 * nis/Makefile: Don't install rpcsvc/*.
17487 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17488 instead of <rpc/types.h>.
17489 (MAXHOSTNAMELEN): Define.
17490
00ee369c
AS
174912011-05-03 Andreas Schwab <schwab@redhat.com>
17492
17493 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17494
0b592a30
MB
174952011-04-28 Maciej Babinski <mbabinski@google.com>
17496
17497 [BZ #12714]
17498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17499 gethostbyname4_r when IPv6 results are possible.
17500
6e04cbbe
UD
175012011-05-02 Ulrich Drepper <drepper@gmail.com>
17502
17503 [BZ #12723]
17504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17505 _PC_PIPE_BUF handling.
17506
e4ecafe0
BH
175072011-04-30 Bruno Haible <bruno@clisp.org>
17508
17509 [BZ #12717]
17510 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17511 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17512 to 'int'.
17513 * inet/getnameinfo.c (getnameinfo): Likewise.
17514
125ee683
UD
175152011-04-29 Ulrich Drepper <drepper@gmail.com>
17516
17517 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17518 to groups setting in database lookup.
17519 * nss/nsswitch.conf: Add initgroups entry.
17520
b722481a
EB
175212011-04-22 Ulrich Drepper <drepper@gmail.com>
17522
17523 [BZ #12685]
17524 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17525 mode string.
17526 Patch by Eric Blake <eblake@redhat.com>.
17527
4df46dbd
L
175282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17529
17530 * sunrpc/Makefile (need-export-routines): Add svc_run.
17531 (routines): Remove svc_run.
17532 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17533 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17534 * sunrpc/svc_run.c (svc_run): Likewise.
17535 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17536
e84142d2
UD
175372011-04-21 Ulrich Drepper <drepper@gmail.com>
17538
17539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17540 problem in reallocation in last patch.
17541
877175d8
UD
175422011-04-20 Ulrich Drepper <drepper@gmail.com>
17543
17544 * sunrpc/Makefile: Move inclusion of Rules.
17545
ab8eed78
UD
175462011-04-19 Ulrich Drepper <drepper@gmail.com>
17547
17548 * nss/nss_files/files-initgroups.c: New file.
17549 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17550 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17551 _nss_files_initgroups_dyn.
17552
e3d8f584
RS
175532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17554
17555 * elf/elf.h (R_ARM_IRELATIVE): Define.
17556
af190f45
UD
175572011-04-19 Ulrich Drepper <drepper@gmail.com>
17558
17559 * po/ru.po: Update from translation team.
17560
53cf59ef
UD
175612011-04-17 Ulrich Drepper <drepper@gmail.com>
17562
17563 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17564 dependencies.
17565
4c559bcd
MF
175662011-02-06 Mike Frysinger <vapier@gentoo.org>
17567
17568 [BZ #12653]
17569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17570 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17574
4420675c
AS
175752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17576
17577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17578 differing bytes.
17579 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17582
75ea32ab
UD
175832011-04-17 Ulrich Drepper <drepper@gmail.com>
17584
17585 [BZ #12420]
17586 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17587 storing it.
17588 * stdlib/bug-getcontext.c: New file.
17589 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17590
27390476
AK
175912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17592
17593 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17594 instructions into .machine "z9-109".
17595 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17596 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17597
10442705
AK
175982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17599
17600 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17601 between environment variables and auxiliary vector.
17602
7b57bfe5
UD
176032011-04-16 Ulrich Drepper <drepper@gmail.com>
17604
17605 * Makefile: Add rules to build linkobj/libc.so.
17606 * include/libc-symbols.h: Define libc_hidden_nolink.
17607 * include/rpc/auth.h: Mark functions which are to be hidden.
17608 * include/rpc/auth_des.h: Likewise.
17609 * include/rpc/auth_unix.h: Likewise.
17610 * include/rpc/clnt.h: Likewise.
17611 * include/rpc/des_crypt.h: Likewise.
17612 * include/rpc/key_prot.h: Likewise.
17613 * include/rpc/pmap_clnt.h: Likewise.
17614 * include/rpc/pmap_prot.h: Likewise.
17615 * include/rpc/pmap_rmt.h: Likewise.
17616 * include/rpc/rpc_msg.h: Likewise.
17617 * include/rpc/svc.h: Likewise.
17618 * include/rpc/svc_auth.h: Likewise.
17619 * include/rpc/xdr.h: Likewise.
17620 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17621 * nss/Makefile: Likewise.
17622 * sunrpc/Makefile: Don't install headers. Build library with normal
17623 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17624 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17625 for the compat linking library. Remove use of INTDEF/INTUSE.
17626 * sunrpc/auth_none.c: Likewise.
17627 * sunrpc/auth_unix.c: Likewise.
17628 * sunrpc/authdes_prot.c: Likewise.
17629 * sunrpc/authuxprot.c: Likewise.
17630 * sunrpc/clnt_gen.c: Likewise.
17631 * sunrpc/clnt_perr.c: Likewise.
17632 * sunrpc/clnt_raw.c: Likewise.
17633 * sunrpc/clnt_simp.c: Likewise.
17634 * sunrpc/clnt_tcp.c: Likewise.
17635 * sunrpc/clnt_udp.c: Likewise.
17636 * sunrpc/clnt_unix.c: Likewise.
17637 * sunrpc/des_crypt.c: Likewise.
17638 * sunrpc/des_soft.c: Likewise.
17639 * sunrpc/get_myaddr.c: Likewise.
17640 * sunrpc/key_call.c: Likewise.
17641 * sunrpc/key_prot.c: Likewise.
17642 * sunrpc/netname.c: Likewise.
17643 * sunrpc/pm_getmaps.c: Likewise.
17644 * sunrpc/pm_getport.c: Likewise.
17645 * sunrpc/pmap_clnt.c: Likewise.
17646 * sunrpc/pmap_prot.c: Likewise.
17647 * sunrpc/pmap_prot2.c: Likewise.
17648 * sunrpc/pmap_rmt.c: Likewise.
17649 * sunrpc/publickey.c: Likewise.
17650 * sunrpc/rpc_cmsg.c: Likewise.
17651 * sunrpc/rpc_common.c: Likewise.
17652 * sunrpc/rpc_dtable.c: Likewise.
17653 * sunrpc/rpc_prot.c: Likewise.
17654 * sunrpc/rpc_thread.c: Likewise.
17655 * sunrpc/rtime.c: Likewise.
17656 * sunrpc/svc.c: Likewise.
17657 * sunrpc/svc_auth.c: Likewise.
17658 * sunrpc/svc_authux.c: Likewise.
17659 * sunrpc/svc_raw.c: Likewise.
17660 * sunrpc/svc_run.c: Likewise.
17661 * sunrpc/svc_simple.c: Likewise.
17662 * sunrpc/svc_tcp.c: Likewise.
17663 * sunrpc/svc_udp.c: Likewise.
17664 * sunrpc/svc_unix.c: Likewise.
17665 * sunrpc/svcauth_des.c: Likewise.
17666 * sunrpc/xcrypt.c: Likewise.
17667 * sunrpc/xdr.c: Likewise.
17668 * sunrpc/xdr_array.c: Likewise.
17669 * sunrpc/xdr_float.c: Likewise.
17670 * sunrpc/xdr_intXX_t.c: Likewise.
17671 * sunrpc/xdr_mem.c: Likewise.
17672 * sunrpc/xdr_rec.c: Likewise.
17673 * sunrpc/xdr_ref.c: Likewise.
17674 * sunrpc/xdr_sizeof.c: Likewise.
17675 * sunrpc/xdr_stdio.c: Likewise.
17676
e6c61494
UD
176772011-04-10 Ulrich Drepper <drepper@gmail.com>
17678
17679 [BZ #12650]
17680 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17681 * sysdeps/ia64/dl-tls.h: Likewise.
17682 * sysdeps/powerpc/dl-tls.h: Likewise.
17683 * sysdeps/s390/dl-tls.h: Likewise.
17684 * sysdeps/sh/dl-tls.h: Likewise.
17685 * sysdeps/sparc/dl-tls.h: Likewise.
17686 * sysdeps/x86_64/dl-tls.h: Likewise.
17687 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17688
34fe483e
AS
176892011-03-14 Andreas Schwab <schwab@redhat.com>
17690
17691 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17692 rpath element also skip the following colon.
17693 (expand_dynamic_string_token): Add is_path parameter and pass
17694 down to DL_DST_REQUIRED and _dl_dst_substitute.
17695 (decompose_rpath): Call expand_dynamic_string_token with
17696 non-zero is_path. Ignore empty rpaths.
17697 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17698 with zero is_path.
17699
f12a32e6
AS
177002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17701
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17703 Make cancelable.
17704
38a7d692
UD
177052011-04-09 Ulrich Drepper <drepper@gmail.com>
17706
17707 [BZ #12655]
17708 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17709 Patch by Filipe David Manana <fdmanana@apache.org>.
17710
e451d22b
AS
177112011-04-07 Andreas Schwab <schwab@redhat.com>
17712
17713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17714 Maintain aligned stack.
17715 (CHECK_RSP): Remove unused macro.
17716
dedc7c7b
UD
177172011-04-03 Ulrich Drepper <drepper@gmail.com>
17718
17719 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17721
94521213
UD
177222011-04-02 Ulrich Drepper <drepper@gmail.com>
17723
17724 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17725
8cb700c0 17726 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17727
0354e355
L
177282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 [BZ #12518]
17731 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17732 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17733 * sysdeps/x86_64/memmove.c: New file.
17734 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17735 (memcpy): Renamed to ...
17736 (__new_memcpy): This.
17737 (memcpy): Provide GLIBC_2_14 memcpy.
17738 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17739 (memcpy): Provide GLIBC_2_2_5 memcpy.
17740
8593482f
UD
177412011-04-01 Ulrich Drepper <drepper@gmail.com>
17742
17743 [BZ #12631]
17744 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17745
81a5726b
AS
177462011-03-30 Andreas Schwab <schwab@redhat.com>
17747
17748 * misc/syncfs.c: New file.
17749 * misc/Makefile (routines): Add syncfs.
17750 * posix/unistd.h: Declare syncfs.
17751 * sysdeps/unix/syscalls.list: Add syncfs.
17752
00e5419f
AS
177532011-04-01 Andreas Schwab <schwab@redhat.com>
17754
17755 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17756 open_by_handle_at.
17757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17762 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17764
748876bf
UD
177652011-04-01 Ulrich Drepper <drepper@gmail.com>
17766
658e451d
UD
17767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17774
748876bf
UD
17775 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17776 sync_file_range.c with -fexceptions.
17777 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17778 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17779 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17780 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17781 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17782 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17784 sync_file_range as cancellation point
17785 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17786 now a wrapper around __call_sync_file_range with cancellation handling.
17787 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17788 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17789 function name to __call_sync_file_range.
17790 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17791 Add call_sync_file_range.
748876bf 17792
6e63d5e1
AS
177932011-04-01 Andreas Schwab <schwab@redhat.com>
17794
17795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17796 bits/timex.h.
6e63d5e1 17797
46998f74
UD
177982011-04-01 Ulrich Drepper <drepper@gmail.com>
17799
4c1423ed
UD
17800 * iconv/iconv.h: Fix typo in comment.
17801 * io/fcntl.h: Likewise.
17802 * libio/stdio.h: Likewise.
17803 * posix/spawn.h: Likewise.
17804 * posix/unistd.h: Likewise.
17805 * stdlib/stdlib.h: Likewise.
17806 * time/time.h: Likewise.
17807 * wcsmbs/wchar.h: Likewise.
17808
158648c0
UD
17809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17810 open_by_handle): Add.
17811 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17812 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17813 Augment a few comments.
17814 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17819 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17820 open_by_handle.
17821
46998f74
UD
17822 * io/fcntl.h (AT_EMPTY_PATH): Define.
17823
83fe108b
UD
178242011-03-30 Ulrich Drepper <drepper@gmail.com>
17825
17826 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17827 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17828 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17829 to...
17830 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17831 * Versions.def: Add GLIBC_2.14.
17832 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17833 Export.
83fe108b 17834
bb242059
UD
178352011-03-22 Ulrich Drepper <drepper@gmail.com>
17836
17837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17838 round counter.
17839 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17840
c97a1282
L
178412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17842
17843 [BZ #12597]
17844 * string/test-strncmp.c (do_page_test): New function.
17845 (check2): Likewise.
17846 (test_main): Call check2.
17847 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17848
2a115601
UD
178492011-03-20 Ulrich Drepper <drepper@gmail.com>
17850
17851 [BZ #12587]
17852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17853 Handle cache information in CPU leaf 4.
17854 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17855
8126d904
UD
178562011-03-18 Ulrich Drepper <drepper@gmail.com>
17857
042c49c6 17858 [BZ #12583]
8126d904
UD
17859 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17860 character representation.
17861 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17862
ccfe366e
RA
178632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17864
17865 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17866 END(__isnan) to END(__isnanf) to match function entry point/label
17867 EALIGN(__isnanf,...).
17868
c6e13027
JJ
178692011-03-10 Jakub Jelinek <jakub@redhat.com>
17870
17871 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17872
33f85a3f
UD
178732011-03-10 Ulrich Drepper <drepper@gmail.com>
17874
028478fa
UD
17875 [BZ #12510]
17876 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17877 copy from the symbol referenced in the relocation to initialize the
17878 used variable.
17879 Patch by Piotr Bury <pbury@goahead.com>.
17880 * elf/Makefile: Add rules to build and tst-unique3.
17881 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17882 * elf/tst-unique3.cc: New file.
17883 * elf/tst-unique3.h: New file.
17884 * elf/tst-unique3lib.cc: New file.
17885 * elf/tst-unique3lib2.cc: New file.
17886
33f85a3f
UD
17887 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17888
03592fc7
MF
178892011-03-10 Mike Frysinger <vapier@gentoo.org>
17890
17891 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17892 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17893 to _start.
03592fc7 17894
6a5ee102
UD
178952011-03-06 Ulrich Drepper <drepper@gmail.com>
17896
17897 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17898 to-be-loaded object along a path to loader is ld.so.
17899
7e4ba49c
HJ
179002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17901 Ulrich Drepper <drepper@gmail.com>
17902
17903 * sysdeps/x86_64/memset.S: After aligning destination, code
17904 branches to different locations depending on the value of
17905 misalignment, when multiarch is enabled. Fix this.
17906
179072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17908
17909 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17910 Set _x86_64_preferred_memory_instruction for AMD processsors.
17911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17912 Set bit_Prefer_SSE_for_memop for AMD processors.
17913
13a804de
UD
179142011-03-04 Ulrich Drepper <drepper@gmail.com>
17915
17916 * libio/fmemopen.c (fmemopen): Optimize a bit.
17917
9d25c392
AS
179182011-03-03 Andreas Schwab <schwab@redhat.com>
17919
17920 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17921
a5543c6a
RM
179222011-03-03 Roland McGrath <roland@redhat.com>
17923
17924 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17925
012d35f7
DM
179262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17927
7e4ba49c 17928 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17929 __bzero_ultra1 instead of __memset_ultra1.
17930
4bff6e01
AS
179312011-02-23 Andreas Schwab <schwab@redhat.com>
17932 Ulrich Drepper <drepper@gmail.com>
17933
17934 [BZ #12509]
17935 * include/link.h (struct link_map): Add l_orig_initfini.
17936 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17937 returning unsuccessfully.
17938 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17939 close of a file loaded at startup, restore the original l_initfini
17940 list.
17941 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17942 list, store the pointer.
17943 * elf/Makefile ($(objpfx)noload-mem): New rule.
17944 (noload-ENV): Define.
17945 (tests): Add $(objpfx)noload-mem.
17946 * elf/noload.c: Include <memcheck.h>.
17947 (main): Call mtrace. Close all opened handles.
17948
f2092faf
AS
179492011-02-17 Andreas Schwab <schwab@redhat.com>
17950
17951 [BZ #12454]
17952 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17953 dependencies are missing.
17954
6c8a2e88
ST
179552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17956
f2092faf 17957 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17958 Hurd needs munmap.
17959 * sysdeps/mach/hurd/ifreq.h: New file.
17960
84a42118
PB
179612011-01-27 Petr Baudis <pasky@suse.cz>
17962 Ulrich Drepper <drepper@gmail.com>
17963
071f805e 17964 [BZ 12445]#
84a42118
PB
17965 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17966 to extend_alloca().
17967 * stdio-common/bug23.c: New file.
17968 * stdio-common/Makefile (tests): Add bug23.
17969
e23fe25b
AS
179702010-09-28 Andreas Schwab <schwab@redhat.com>
17971 Ulrich Drepper <drepper@gmail.com>
17972
17973 [BZ #12489]
17974 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17975 before performing relro protection. At old place add assertion
17976 to make sure nothing changed.
17977
d3f02e10
NS
179782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17979 Glauber de Oliveira Costa <glommer@gmail.com>
17980
17981 * elf/elf.h: Add new ARM TLS relocs.
17982
d55fd7a5
RA
179832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17984
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17986 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17987 cast from r3.
17988 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17989 'tests' variable.
17990 * sysdeps/wordsize-64/tst-writev.c: New file.
17991
2206397e
RA
179922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17993
17994 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17995 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17996 insns in _dl_start to prevent a TOC reference before relocs are
17997 resolved.
17998
e9433893
UD
179992011-02-15 Ulrich Drepper <drepper@gmail.com>
18000
18001 [BZ #12469]
18002 * Makeconfig: Remove RANLIB definition.
18003 * Makerules: Don't use RANLIB.
18004 * aclocal.m4: Remove ranlib test.
18005 * configure.in: No need to check for ranlib.
18006 * elf/rtld-Rules: Don't use RANLIB.
18007
f75286c6
ST
180082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18009
8e31c82d
ST
18010 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18011 protection macro.
18012 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18013 inclusion protection macro.
18014
f75286c6
ST
18015 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18016 SIGRTMIN and SIGRTMAX and print information in that case only when
18017 SIGRTMIN is defined.
18018
c1d0e639
JJ
180192011-02-11 Jakub Jelinek <jakub@redhat.com>
18020
18021 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18022 arginfo fn returning -1.
18023
18024 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18025 and thousands string is zero terminated.
18026
edf9294e
AS
180272011-02-03 Andreas Schwab <schwab@redhat.com>
18028
18029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18030 sysdeps/unix/sysv/linux/bits/socket.h.
18031
2b7e92df
ST
180322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18033
edf9294e
AS
18034 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18035 (__CPU_COUNT): Remove old macros.
18036 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18037 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18038 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18039 (__sched_cpualloc, __sched_cpufree): Add declarations.
18040
a4c7ea7b
UD
180412011-02-05 Ulrich Drepper <drepper@gmail.com>
18042
18043 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18044 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18045 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18046 (readdhstai): Return value of addhstaiX call.
18047 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18048 (addgrbyX): Return value returned by cache_addgr.
18049 (readdgrbyname): Return value returned by addgrbyX.
18050 (readdgrbygid): Likewise.
18051 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18052 (addpwbyX): Return value returned by cache_addpw.
18053 (readdpwbyname): Return value returned by addhstbyX.
18054 (readdpwbyuid): Likewise.
18055 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18056 (addservbyX): Return value returned by cache_addserv.
18057 (readdservbyname): Return value returned by addservbyX:
18058 (readdservbyport): Likewise.
18059 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18060 (addhstbyX): Return value returned by cache_addhst.
18061 (readdhstbyname): Return value returned by addhstbyX.
18062 (readdhstbyaddr): Likewise.
18063 (readdhstbynamev6): Likewise.
18064 (readdhstbyaddrv6): Likewise.
18065 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18066 (readdinitgroups): Return value returned by addinitgroupsX.
18067 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18068 (prune_cache): Keep track of timeout value of re-added entries.
18069 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18070 * nscd/nscd.h: Adjust prototypes of readd* functions.
18071
a0bf67cc
RM
180722011-02-04 Roland McGrath <roland@redhat.com>
18073
18074 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18075 (nis_stats): Likewise.
18076 * nis/nis_modify.c (nis_modify): Likewise.
18077 * nis/nis_remove.c (nis_remove): Likewise.
18078 * nis/nis_add.c (nis_add): Likewise.
18079
18080 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18081
18082 * posix/fnmatch_loop.c: Add some consts.
18083
18084 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18085
435b95eb
L
180862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18087
18088 [BZ #12460]
18089 * config.make.in (config-cflags-novzeroupper): Define.
18090 * configure.in: Substitute libc_cv_cc_novzeroupper.
18091 * elf/Makefile (AVX-CFLAGS): Define.
18092 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18093 (CFLAGS-tst-auditmod4a.c): Likewise.
18094 (CFLAGS-tst-auditmod4b.c): Likewise.
18095 (CFLAGS-tst-auditmod6b.c): Likewise.
18096 (CFLAGS-tst-auditmod6c.c): Likewise.
18097 (CFLAGS-tst-auditmod7b.c): Likewise.
18098 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18099
8517b15e
UD
181002011-02-02 Ulrich Drepper <drepper@gmail.com>
18101
18102 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18103 function to the callback.
18104 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18105
10a656fe
AS
181062011-02-02 Andreas Schwab <schwab@redhat.com>
18107
18108 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18109 of errno.
18110
968dad0a
UD
181112011-01-19 Ulrich Drepper <drepper@gmail.com>
18112
9f94d2ea 18113 [BZ #11724]
968dad0a
UD
18114 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18115 of constructors.
18116 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18117 of destructors.
18118 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18119
18120 [BZ #11724]
18121 * elf/Makefile: Add rules to build and run new test.
18122 * elf/tst-initorder.c: New file.
18123 * elf/tst-initorder.exp: New file.
18124 * elf/tst-initordera1.c: New file.
18125 * elf/tst-initordera2.c: New file.
18126 * elf/tst-initordera3.c: New file.
18127 * elf/tst-initordera4.c: New file.
18128 * elf/tst-initorderb1.c: New file.
18129 * elf/tst-initorderb2.c: New file.
18130 * elf/tst-order-a1.c: New file.
18131 * elf/tst-order-a2.c: New file.
18132 * elf/tst-order-a3.c: New file.
18133 * elf/tst-order-a4.c: New file.
18134 * elf/tst-order-b1.c: New file.
18135 * elf/tst-order-b2.c: New file.
18136 * elf/tst-order-main.c: New file.
18137 New test case by George Gensure <werkt0@gmail.com>.
18138
86e92359
UD
181392010-10-01 Andreas Schwab <schwab@redhat.com>
18140
18141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18142 decoding ACE if AI_CANONIDN.
18143
5d5732b0
UD
181442011-01-18 Ulrich Drepper <drepper@gmail.com>
18145
18146 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18147
a77e8cbc
UD
181482011-01-17 Ulrich Drepper <drepper@gmail.com>
18149
6392473f
UD
18150 * version.h (RELEASE): Bump for 2.13 release.
18151 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18152
620a0529
UD
18153 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18154
18ba70a5
UD
18155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18156 MADV_NOHUGEPAGE.
32465c3e
UD
18157 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18159 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18163
c0dafcf1
UD
18164 * posix/getconf.c: Update copyright year.
18165 * catgets/gencat.c: Likewise.
18166 * csu/version.c: Likewise.
18167 * debug/catchsegv.sh: Likewise.
18168 * debug/xtrace.sh: Likewise.
18169 * elf/ldconfig.c: Likewise.
18170 * elf/ldd.bash.in: Likewise.
18171 * elf/sprof.c (print_version): Likewise.
18172 * iconv/iconv_prog.c: Likewise.
18173 * iconv/iconvconfig.c: Likewise.
18174 * locale/programs/locale.c: Likewise.
18175 * locale/programs/localedef.c: Likewise.
18176 * malloc/memusage.sh: Likewise.
18177 * malloc/mtrace.pl: Likewise.
18178 * nscd/nscd.c (print_version): Likewise.
18179 * nss/getent.c: Likewise.
18180
a77e8cbc
UD
18181 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18182 PF_CAIF, and PF_ALG.
18183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18184
77e8bddf
AS
181852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18186
1f20b93a
AS
18187 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18188 (modules-names): Use them.
18189 (ifunc-test-modules, ifunc-pie-tests): Define.
18190 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18191 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18192 (test-extras): Likewise.
18193 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18194 $(compile-command.c).
18195 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18196 (all-built-dso): Define.
18197 (check-textrel.out, check-execstack.out): Depend on it.
18198
77e8bddf
AS
18199 * configure.in: Don't override --enable-multi-arch.
18200
bc425b33
UD
182012011-01-15 Ulrich Drepper <drepper@gmail.com>
18202
18203 [BZ #6812]
18204 * nscd/hstcache.c (tryagain): Define.
18205 (cache_addhst): Return tryagain not notfound for temporary errors.
18206 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18207 failed.
18208
794c3ad3
UD
182092011-01-14 Ulrich Drepper <drepper@gmail.com>
18210
70181fdd
UD
18211 [BZ #10563]
18212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18213 to make the syscall.
18214 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18215
794c3ad3
UD
18216 [BZ #12378]
18217 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18218 and fall back to matching as normal character if the string ends before
18219 the matching ']' is found. This is what POSIX requires.
18220 * posix/testfnm.c: Adjust test result.
18221 * posix/globtest.sh: Adjust test result. Add new test.
18222 * posix/tst-fnmatch.input: Likewise.
18223 * posix/tst-fnmatch2.c: Add new test.
18224
68dc9497
AS
182252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18226
18227 * elf/Makefile (check-execstack): Revert last change. Depend on
18228 check-execstack.h.
18229 (check-execstack.h): New target.
18230 (generated): Add check-execstack.h.
18231 * elf/check-execstack.c: Include "check-execstack.h".
18232 (main): Revert last change.
18233 (handle_file): Return zero if GNU_STACK is absent and
18234 DEFAULT_STACK_PERMS doesn't include PF_X.
18235
451f001b
UD
182362011-01-13 Ulrich Drepper <drepper@gmail.com>
18237
cfa28e56
UD
18238 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18239 in child fails because the descriptor is already closed.
8cf8ce17
UD
18240 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18241 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18243
1086d70d
UD
18244 [BZ #12397]
18245 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18246 syscall.
18247
451f001b
UD
18248 [BZ #10484]
18249 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18250 temporary buffer used to handle multi lookups locally.
a85b5cb4 18251 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18252
08769175
UD
182532011-01-12 Ulrich Drepper <drepper@gmail.com>
18254
18255 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18256 loader is ld.so.
18257
5e49c52e
UD
182582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18259
18260 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18261 alignment for SSE2.
18262
60522a5f
UD
182632011-01-12 Ulrich Drepper <drepper@gmail.com>
18264
18265 [BZ #12394]
18266 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18267 characters. When rounding increased number of integer digits recompute
18268 number of groups.
18269 * stdio-common/tst-grouping.c: New file.
18270 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18271
f257bbd7
UD
182722011-01-09 Ulrich Drepper <drepper@gmail.com>
18273
18274 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18275 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18276
18277 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18278 void.
18279 * bits/select.h: Likewise.
18280
fa9c15cb
UD
182812011-01-08 Ulrich Drepper <drepper@gmail.com>
18282
18283 * po/ja.po: Update from translation team.
18284
16c2895f
DM
182852011-01-04 David S. Miller <davem@sunset.davemloft.net>
18286
18287 [BZ #11155]
18288 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18289 implementation just like for lxstat, fxstatat, et al.
18290
2543fef2
JM
182912010-12-27 Jim Meyering <meyering@redhat.com>
18292
18293 [BZ #12348]
18294 * posix/regexec.c (build_trtable): Return failure indication upon
18295 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18296
98727dbe
UD
182972010-12-25 Ulrich Drepper <drepper@gmail.com>
18298
5bd6dc5c
UD
18299 [BZ #12201]
18300 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18301 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18303 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18304
97983464
UD
18305 [BZ #12207]
18306 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18307
98727dbe
UD
18308 [BZ #12204]
18309 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18310 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18311
4a531bb0
L
183122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18315 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18316 script has SORT_BY_INIT_PRIORITY.
18317 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18318 NO_CTORS_DTORS_SECTIONS is defined.
18319 * elf/soinit.c: Likewise.
18320 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18321 NO_CTORS_DTORS_SECTIONS is defined.
18322 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18323 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18324 * sysdeps/sh/init-first.c: Likewise.
18325 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18326
07eb4b71
UD
183272010-12-24 Ulrich Drepper <drepper@gmail.com>
18328
18329 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18330 always use the slow path.
18331
30950a5f
RA
183322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18333
18334 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18335 similar rule which adds the sysdep directories to the header search in
18336 order to pick up the correct platform stackinfo.h.
18337 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18338 perform test if it is, otherwise return successfully without testing.
18339 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18340 DEFAULT_STACK_PERMS define in stackinfo.h.
18341 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18342 defined in stackinfo.h.
18343 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18344 DEFAULT_STACK_PERMS defined in stackinfo.h.
18345 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18346 * sysdeps/ia64/stackinfo.h: Likewise.
18347 * sysdeps/s390/stackinfo.h: Likewise.
18348 * sysdeps/sh/stackinfo.h: Likewise.
18349 * sysdeps/sparc/stackinfo.h: Likewise.
18350 * sysdeps/x86_64/stackinfo.h: Likewise.
18351 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18352 PF_X for powerpc64. Retain PF_X for powerpc32.
18353
db753e2c
UD
183542010-12-19 Ulrich Drepper <drepper@gmail.com>
18355
14b697f7
UD
18356 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18357 accurately.
db753e2c
UD
18358 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18359 GETDENTS_64BIT_ALIGNED.
18360
28300719
UD
183612010-12-14 Ulrich Drepper <dreper@gmail.com>
18362
14b697f7 18363 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18364
4f197237
AS
183652010-12-10 Andreas Schwab <schwab@redhat.com>
18366
dbb0472f
AS
18367 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18368 _GNU_SOURCE.
18369
4f197237
AS
18370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18371 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18372 Remove __restrict.
18373 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18374 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18375
fb88ac72
UD
183762010-12-09 Ulrich Drepper <drepper@gmail.com>
18377
18378 [BZ #11655]
18379 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18380 are initialized.
18381
42acbb92
JJ
183822010-12-09 Jakub Jelinek <jakub@redhat.com>
18383
18384 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18385
c038d98d
UD
183862010-12-03 Ulrich Drepper <drepper@gmail.com>
18387
18388 * po/it.po: Update from translation team.
18389
3a4a2499
L
183902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18391
18392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18393 unused codes.
18394
1e24cf6e
UD
183952010-11-30 Ulrich Drepper <drepper@gmail.com>
18396
18397 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18398
a7690819
AS
183992010-11-24 Andreas Schwab <schwab@redhat.com>
18400
18401 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18402 specially.
18403 (gaih_getanswer_slice): Likewise.
18404
3bf8d1b1
JJ
184052010-10-20 Jakub Jelinek <jakub@redhat.com>
18406
18407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18408
6db52fbb
PB
184092010-05-31 Petr Baudis <pasky@suse.cz>
18410
18411 [BZ #11149]
18412 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18413 silently even in the chroot mode.
18414
eaca7569
UD
184152010-11-22 Ulrich Drepper <drepper@gmail.com>
18416
18417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18418 last patch a bit. Pretty printing
18419
3056dcdb
UD
184202010-05-31 Petr Baudis <pasky@suse.cz>
18421
18422 [BZ #10085]
18423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18424 initialization of skip_initgroups_dyn.
18425
cf7c9078
UD
184262010-11-19 Ulrich Drepper <drepper@gmail.com>
18427
18428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18430
a1fb5e3e
UD
184312010-11-16 Ulrich Drepper <drepper@gmail.com>
18432
18433 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18434
3540d66b
AS
184352010-11-11 Andreas Schwab <schwab@redhat.com>
18436
18437 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18438 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18439 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18440 ($(objpfx)tst-fnmatch-mem): New rule.
18441 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18442 * posix/tst-fnmatch.c (main): Call mtrace.
18443
13b69574
L
184442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18445
18446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18447 Support Intel processor model 6 and model 0x2c.
18448
da93d214
LM
184492010-11-10 Luis Machado <luisgpm@br.ibm.com>
18450
18451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18452 signed comparison.
18453
8ca52c6e
L
184542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18455
18456 [BZ #12205]
18457 * string/test-strncasecmp.c (check_result): New function.
18458 (do_one_test): Use it.
18459 (check1): New function.
18460 (test_main): Use it.
18461 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18462 Support strcasecmp and strncasecmp.
18463
69da074d
UD
184642010-11-08 Ulrich Drepper <drepper@gmail.com>
18465
18466 [BZ #12194]
18467 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18469
ff02d528
L
184702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18471
18472 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18473 IFUNC support.
18474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18475 memset-x86-64.
18476 * sysdeps/x86_64/multiarch/bzero.S: New file.
18477 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18478 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18479 * sysdeps/x86_64/multiarch/memset.S: New file.
18480 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18482 Set bit_Prefer_SSE_for_memop for Intel processors.
18483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18484 Define.
18485 (index_Prefer_SSE_for_memop): Define.
18486 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18487
344d0b54
LM
184882010-11-04 Luis Machado <luisgpm@br.ibm.com>
18489
18490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18491 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18492
c0dde15b
UD
184932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18494
18495 [BZ #12191]
18496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18497 (__x86_64_raw_data_cache_size_half): Likewise.
18498 (__x86_64_raw_shared_cache_size): Likewise.
18499 (__x86_64_raw_shared_cache_size_half): Likewise.
18500
18501 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18502 (__x86_64_raw_data_cache_size_half): Likewise.
18503 (__x86_64_raw_shared_cache_size): Likewise.
18504 (__x86_64_raw_shared_cache_size_half): Likewise.
18505 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18506 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18507 and __x86_64_raw_shared_cache_size_half. Round
18508 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18509 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18510 to multiple of 256 bytes.
18511
0e516e0e
MS
185122010-11-03 Ulrich Drepper <drepper@gmail.com>
18513
18514 [BZ #12167]
18515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18516 of inacessible symlinks. Verify result of symlink before returning it.
18517 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18518 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18519
0e012e87
ER
185202010-10-28 Erich Ritz <erichritz@gmail.com>
18521
18522 * math/math.h (isinf): Fix typo in comment.
18523
de0ff7bc
UD
185242010-11-01 Ulrich Drepper <drepper@gmail.com>
18525
18526 * po/da.po: Update from translation team.
18527
fa41c84d
UD
185282010-10-26 Ulrich Drepper <drepper@gmail.com>
18529
18530 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18531 is added to the list.
18532
f0967738
AK
185332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18534 Ulrich Drepper <drepper@gmail.com>
18535
18536 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18537 the global list here. Move code to...
18538 (_dl_add_to_namespace_list): ...here. New function.
18539 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18540 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18541 * elf/dl-load.c (lose): Don't remove the element from the list.
18542 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18543 (_dl_map_object): Likewise.
18544
185452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18546
18547 [BZ #12159]
18548 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18549 into all bytes of SSE register.
18550 Patch by Richard Li <richardpku@gmail.com>.
18551
f0967738 185522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18553
18554 [BZ #12140]
18555 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18556 perturbing.
18557
d0b9e94f
MB
185582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18559
18560 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18561 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18562 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18563 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18565 submachine.
18566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18567
8e9f92e9
AS
185682010-10-22 Andreas Schwab <schwab@redhat.com>
18569
18570 * include/dlfcn.h (__RTLD_SECURE): Define.
18571 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18572 mode & __RTLD_SECURE instead.
18573 (open_path): Rename preloaded parameter to secure.
18574 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18575 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18576 * elf/dl-deps.c (openaux): Likewise.
18577 * elf/rtld.c (struct map_args): Remove is_preloaded.
18578 (map_doit): Don't use it.
18579 (dl_main): Likewise.
18580 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18581 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18582
bc96fbda
AS
185832010-09-09 Andreas Schwab <schwab@redhat.com>
18584
18585 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18586 (sysd-rules-targets): Remove duplicates.
18587 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18588 rtld-%.$o dependency.
18589
22cd1c9b
AS
185902010-10-18 Andreas Schwab <schwab@redhat.com>
18591
18592 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18593 _dl_map_object do it.
18594
18edac48
UD
185952010-10-19 Ulrich Drepper <drepper@gmail.com>
18596
18597 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18598 fast fma builtins, define the macros in the C99 standard.
18599 (FP_FAST_FMAF): Likewise.
18600 (FP_FAST_FMAL): Likewise.
18601 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18602
18603 * bits/mathdef.h: Update copyright year.
18604 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18605
d2050124
MM
186062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18607
18608 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18609 builtins, define the macros in the C99 standard.
18610 (FP_FAST_FMAF): Likewise.
18611 (FP_FAST_FMAL): Likewise.
18612 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18613 multiply/add.
18614 (FP_FAST_FMAF): Likewise.
18615
475facd1
JJ
186162010-10-15 Jakub Jelinek <jakub@redhat.com>
18617
18618 [BZ #3268]
18619 * math/libm-test.inc (fma_test): Some new testcases.
18620 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18622 y and infinite z. Do multiplication by C already in long double.
18623 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18625 y and infinite z. Do bitwise or of inexact bit into u.d.
18626 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18627 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18628 * sysdeps/i386/fpu/s_fma.S: Removed.
18629 * sysdeps/i386/fpu/s_fmal.S: Removed.
18630
7c08a05c
JJ
186312010-10-16 Jakub Jelinek <jakub@redhat.com>
18632
18633 [BZ #3268]
18634 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18636 computation is not scheduled after fetestexcept. Fix value
18637 of minimum denormal long double.
18638
f3f7372d
JJ
186392010-10-14 Jakub Jelinek <jakub@redhat.com>
18640
18641 [BZ #3268]
18642 * math/libm-test.inc (fma_test): Add some more tests.
18643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18644 correctly.
18645
14d43591
AS
186462010-10-15 Andreas Schwab <schwab@redhat.com>
18647
18648 * scripts/data/localplt-s390-linux-gnu.data: New file.
18649 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18650
5e908464
JJ
186512010-10-13 Jakub Jelinek <jakub@redhat.com>
18652
18653 [BZ #3268]
18654 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18655 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18656 instead of dbl-64.
18657 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18658 inlines.
18659 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18661 if one of x and y is very large and the other is subnormal.
18662 * sysdeps/s390/fpu/s_fmaf.c: New file.
18663 * sysdeps/s390/fpu/s_fma.c: New file.
18664 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18665 * sysdeps/powerpc/fpu/s_fma.S: New file.
18666 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18667 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18668 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18669
186702010-10-12 Jakub Jelinek <jakub@redhat.com>
18671
18672 [BZ #3268]
18673 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18674 fma tests.
18675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18676 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18677 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18678 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18679 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18680 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18681 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18682
b833d51f
UD
186832010-10-12 Ulrich Drepper <drepper@redhat.com>
18684
18685 [BZ #12078]
18686 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18687 * posix/bug-regex31.input: Add test case.
18688
1751705d
UD
186892010-10-11 Ulrich Drepper <drepper@gmail.com>
18690
e9b9cbf5
UD
18691 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18692 * posix/bug-regex31.input: New file.
18693
18694 [BZ #12078]
18695 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18696 (parse_sub_exp): Fix last change, use postorder.
18697
ef06edbe
UD
18698 * posix/bug-regex31.c: New file.
18699 * posix/Makefile: Add rules to build and run bug-regex31.
18700
a129c80d
UD
18701 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18702
18703 [BZ #12078]
18704 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18705
b76b818e
UD
18706 [BZ #12108]
18707 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18708 to have entries in sys_siglist.
18709
1751705d
UD
18710 [BZ #12093]
18711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18712 be NULL.
18713
9ff8d36f
JJ
187142010-10-07 Jakub Jelinek <jakub@redhat.com>
18715
18716 [BZ #3268]
18717 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18718 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18719 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18720 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18721 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18722 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18723 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18724 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18725 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18726 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18727 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18728 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18729 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18730 * math/ftestexcept.c (fetestexcept): Likewise.
18731 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18732 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18733 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18734 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18735 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18736 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18737 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18738
af325969
UD
187392010-10-11 Ulrich Drepper <drepper@gmail.com>
18740
c579b202 18741 [BZ #12107]
af325969
UD
18742 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18743 newline.
18744
67a67b95
UD
187452010-10-06 Ulrich Drepper <drepper@gmail.com>
18746
18747 * string/bug-strstr1.c: New file.
18748 * string/Makefile: Add rules to build and run bug-strstr1.
18749
5fb308bc
EB
187502010-10-05 Eric Blake <eblake@redhat.com>
18751
18752 [BZ #12092]
18753 * string/str-two-way.h (two_way_long_needle): Always clear memory
18754 when skipping input due to the shift table.
18755
45db99c7
UD
187562010-10-03 Ulrich Drepper <drepper@gmail.com>
18757
3b111893
UD
18758 [BZ #12005]
18759 * malloc/mcheck.c: Handle large requests.
18760
45db99c7
UD
18761 [BZ #12077]
18762 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18763 for strncmp and strncasecmp.
18764 * string/stratcliff.c: Add tests for strcmp and strncmp.
18765 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18766
cf7a1eb8
NI
187672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18768
18769 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18770 __set_fpscr.
18771
6484ba5e
AJ
187722010-09-30 Andreas Jaeger <aj@suse.de>
18773
18774 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18775 (CGROUP_SUPER_MAGIC): Define.
18776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18777 Handle btrfs and cgroup file systems.
18778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18779 Likewise.
18780
91c42559
LM
187812010-09-27 Luis Machado <luisgpm@br.ibm.com>
18782
18783 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18784 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18785
87a97932
AK
187862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18787
18788 [BZ #12067]
18789 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18790 trying to locate the ELF header.
18791
c21cc9bc
AS
187922010-09-27 Andreas Schwab <schwab@redhat.com>
18793
18794 [BZ #11611]
18795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18796 Mask out sign-bit copies when constructing f_fsid.
18797
315970f6
PB
187982010-09-24 Petr Baudis <pasky@suse.cz>
18799
18800 * debug/stack_chk_fail_local.c: Add missing licence exception.
18801 * debug/warning-nop.c: Likewise.
18802
1ac7a2c7
JM
188032010-09-15 Joseph Myers <joseph@codesourcery.com>
18804
18805 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18806 implementing getdents64 using getdents syscall, set d_type if
18807 __ASSUME_GETDENTS32_D_TYPE.
18808
56801c50
AS
188092010-09-16 Andreas Schwab <schwab@redhat.com>
18810
18811 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18812 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18813
dda51327
UD
188142010-09-21 Ulrich Drepper <drepper@redhat.com>
18815
18816 [BZ #12037]
18817 * posix/unistd.h: Undo change of feature selection for ftruncate from
18818 2010-01-11.
18819
8ffcee4a
UD
188202010-09-20 Ulrich Drepper <drepper@redhat.com>
18821
a545ecd9 18822 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18823 detection.
18824
e24f0a8b
AS
188252010-09-20 Andreas Schwab <schwab@redhat.com>
18826
18827 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18828 fanotify_mark.
18829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18830
7291c56f
AS
188312010-09-14 Andreas Schwab <schwab@redhat.com>
18832
18833 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18834 variables after CHECK_SP call.
18835 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18836
bc5fb037
AS
188372010-09-13 Andreas Schwab <schwab@redhat.com>
18838 Ulrich Drepper <drepper@redhat.com>
18839
18840 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18841 re-relocationg ld.so.
18842 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18843 _dl_init_paths call.
18844 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18845 here anymore.
18846
e66e7419
UD
188472010-09-14 Ulrich Drepper <drepper@redhat.com>
18848
18849 * resolv/res_init.c (__res_vinit): Count the default server we added.
18850
c044aa75
CLT
188512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18852 Ulrich Drepper <drepper@redhat.com>
18853
18854 [BZ #11968]
18855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18856 (____longjmp_chk): Use %ebx for saving value across system call.
18857 Add unwind info.
18858
32cf4069
AS
188592010-09-06 Andreas Schwab <schwab@redhat.com>
18860
18861 * manual/Makefile: Don't mix pattern rules with normal rules.
18862
817328ee
AS
188632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18864
18865 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18866 operation.
18867 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18868 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18869 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18870 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18872 Likewise.
18873
29fddf61
UD
188742010-09-04 Ulrich Drepper <drepper@redhat.com>
18875
18876 [BZ #11979]
18877 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18878 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18879
0959ffc9
UD
188802010-09-02 Ulrich Drepper <drepper@redhat.com>
18881
18882 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18883 * sysdeps/x86_64/addmul_1.S: Likewise.
18884 * sysdeps/x86_64/lshift.S: Likewise.
18885 * sysdeps/x86_64/mul_1.S: Likewise.
18886 * sysdeps/x86_64/rshift.S: Likewise.
18887 * sysdeps/x86_64/sub_n.S: Likewise.
18888 * sysdeps/x86_64/submul_1.S: Likewise.
18889
ece29840
ST
188902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18891
0959ffc9
UD
18892 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18893 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18894 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18895 * bits/sched.h [__need_schedparam]
ece29840 18896 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18897 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18898 (__defined_schedparam): Define to 1.
ece29840
ST
18899 (__sched_param): New structure, identical to sched_param.
18900 (__need_schedparam): Undefine.
18901
e53a31fe
MF
189022010-08-31 Mike Frysinger <vapier@gentoo.org>
18903
fdc0c10d
MF
18904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18905 (epoll_create1): Declare.
18906
e53a31fe
MF
18907 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18908
a726d796
AS
189092010-08-31 Andreas Schwab <schwab@redhat.com>
18910
18911 [BZ #7066]
18912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18913 shifting retval into place.
18914
2f3e3dc7
UD
189152010-09-01 Ulrich Drepper <drepper@redhat.com>
18916
f2933da9
UD
18917 * nis/rpcsvc/nis.h: Update copyright notice.
18918 * nis/rpcsvc/nis.x: Likewise.
18919 * nis/rpcsvc/nis_callback.h: Likewise.
18920 * nis/rpcsvc/nis_callback.x: Likewise.
18921 * nis/rpcsvc/nis_object.x: Likewise.
18922 * nis/rpcsvc/nis_tags.h: Likewise.
18923 * nis/rpcsvc/yp.h: Likewise.
18924 * nis/rpcsvc/yp.x: Likewise.
18925 * nis/rpcsvc/ypupd.h: Likewise.
18926 * nis/yp_xdr.c: Likewise.
18927 * nis/ypupdate_xdr.c: Likewise.
18928
2f3e3dc7
UD
18929 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18930 mainly the body of pmap_getport. Add parameters to specify timeouts.
18931 (pmap_getport): Use __libc_rpc_getport.
18932 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18933 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18934 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18935
f3dcc2f9
AS
189362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18937
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18939 fanotify_mark.
18940
6d34eb5b
RM
189412010-08-27 Roland McGrath <roland@redhat.com>
18942
18943 * sysdeps/i386/i686/multiarch/Makefile
18944 (CFLAGS-varshift.c): New variable.
18945
9ea3de11
UD
189462010-08-27 Ulrich Drepper <drepper@redhat.com>
18947
c96d23fc
UD
18948 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18949 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18950
9ea3de11
UD
18951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18952
18953 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18954
623aac7f
L
189552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18956
18957 * sysdeps/x86_64/strlen.S: Unroll the loop.
18958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18959 strlen-sse2 strlen-sse2-bsf.
18960 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18961 __strlen_no_bsf if bit_Slow_BSF is set.
18962 (__strlen_sse42): Removed.
18963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18964 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18965
8b2b7715
RM
189662010-08-25 Roland McGrath <roland@redhat.com>
18967
18968 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18969 * sysdeps/x86_64/multiarch/varshift.c: New file.
18970 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18971 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18972 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18973 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18974
e73015f2
L
189752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18978 strlen-sse2 strlen-sse2-bsf.
18979 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18980 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18981 (__strlen_sse2): Removed.
18982 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18985 bit_Slow_BSF for Atom.
18986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18987 (index_Slow_BSF): Define.
18988 (HAS_SLOW_BSF): Define.
18989
df24a73e
UD
189902010-08-25 Ulrich Drepper <drepper@redhat.com>
18991
18992 [BZ #10851]
18993 * resolv/res_init.c (__res_vinit): When no server address at all
18994 is given default to loopback.
18995
f2ac4868
RM
189962010-08-24 Roland McGrath <roland@redhat.com>
18997
09055553
RM
18998 * configure.in: Remove config-name.h generation.
18999 * configure: Regenerated.
19000 * config-name.in: File removed.
19001 * scripts/config-uname.sh: New file.
19002 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19003 ($(objdir)config-name.h): New target.
19004
f2ac4868
RM
19005 * sunrpc/rpc_parse.h: Avoid nested comment.
19006
73f27d5e
RH
190072010-08-24 Richard Henderson <rth@redhat.com>
19008 Ulrich Drepper <drepper@redhat.com>
19009 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19013 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19014 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19015 _mm_alignr_epi8 with _mm_loadu_si128.
19016 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19017 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19018 (__m128i_shift_right): Removed.
19019 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19020 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19021 * sysdeps/x86_64/multiarch/varshift.h: New file.
19022 * sysdeps/x86_64/multiarch/varshift.S: New file.
19023
84b9230c
MF
190242010-08-21 Mike Frysinger <vapier@gentoo.org>
19025
19026 * configure.in: Move assembler checks to before sysdep dir checking.
19027
9bbd0ddc
PB
190282010-08-20 Petr Baudis <pasky@suse.cz>
19029
19030 * LICENSES: Sync the sunrpc license.
19031
9da4bb31
UD
190322010-08-19 Ulrich Drepper <drepper@redhat.com>
19033
a7ab6ec8
UD
19034 * sunrpc/auth_des.c: Update copyright notice once again.
19035 * sunrpc/auth_none.c: Likewise.
19036 * sunrpc/auth_unix.c: Likewise.
19037 * sunrpc/authdes_prot.c: Likewise.
19038 * sunrpc/authuxprot.c: Likewise.
19039 * sunrpc/bindrsvprt.c: Likewise.
19040 * sunrpc/clnt_gen.c: Likewise.
19041 * sunrpc/clnt_perr.c: Likewise.
19042 * sunrpc/clnt_raw.c: Likewise.
19043 * sunrpc/clnt_simp.c: Likewise.
19044 * sunrpc/clnt_tcp.c: Likewise.
19045 * sunrpc/clnt_udp.c: Likewise.
19046 * sunrpc/clnt_unix.c: Likewise.
19047 * sunrpc/des_crypt.c: Likewise.
19048 * sunrpc/des_soft.c: Likewise.
19049 * sunrpc/get_myaddr.c: Likewise.
19050 * sunrpc/getrpcport.c: Likewise.
19051 * sunrpc/key_call.c: Likewise.
19052 * sunrpc/key_prot.c: Likewise.
19053 * sunrpc/openchild.c: Likewise.
19054 * sunrpc/pm_getmaps.c: Likewise.
19055 * sunrpc/pm_getport.c: Likewise.
19056 * sunrpc/pmap_clnt.c: Likewise.
19057 * sunrpc/pmap_prot.c: Likewise.
19058 * sunrpc/pmap_prot2.c: Likewise.
19059 * sunrpc/pmap_rmt.c: Likewise.
19060 * sunrpc/rpc/auth.h: Likewise.
19061 * sunrpc/rpc/auth_unix.h: Likewise.
19062 * sunrpc/rpc/clnt.h: Likewise.
19063 * sunrpc/rpc/des_crypt.h: Likewise.
19064 * sunrpc/rpc/key_prot.h: Likewise.
19065 * sunrpc/rpc/netdb.h: Likewise.
19066 * sunrpc/rpc/pmap_clnt.h: Likewise.
19067 * sunrpc/rpc/pmap_prot.h: Likewise.
19068 * sunrpc/rpc/pmap_rmt.h: Likewise.
19069 * sunrpc/rpc/rpc.h: Likewise.
19070 * sunrpc/rpc/rpc_des.h: Likewise.
19071 * sunrpc/rpc/rpc_msg.h: Likewise.
19072 * sunrpc/rpc/svc.h: Likewise.
19073 * sunrpc/rpc/svc_auth.h: Likewise.
19074 * sunrpc/rpc/types.h: Likewise.
19075 * sunrpc/rpc/xdr.h: Likewise.
19076 * sunrpc/rpc_clntout.c: Likewise.
19077 * sunrpc/rpc_cmsg.c: Likewise.
19078 * sunrpc/rpc_common.c: Likewise.
19079 * sunrpc/rpc_cout.c: Likewise.
19080 * sunrpc/rpc_dtable.c: Likewise.
19081 * sunrpc/rpc_hout.c: Likewise.
19082 * sunrpc/rpc_main.c: Likewise.
19083 * sunrpc/rpc_parse.c: Likewise.
19084 * sunrpc/rpc_parse.h: Likewise.
19085 * sunrpc/rpc_prot.c: Likewise.
19086 * sunrpc/rpc_sample.c: Likewise.
19087 * sunrpc/rpc_scan.c: Likewise.
19088 * sunrpc/rpc_scan.h: Likewise.
19089 * sunrpc/rpc_svcout.c: Likewise.
19090 * sunrpc/rpc_tblout.c: Likewise.
19091 * sunrpc/rpc_util.c: Likewise.
19092 * sunrpc/rpc_util.h: Likewise.
19093 * sunrpc/rpcinfo.c: Likewise.
19094 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19095 * sunrpc/rpcsvc/key_prot.x: Likewise.
19096 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19097 * sunrpc/rpcsvc/mount.x: Likewise.
19098 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19099 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19100 * sunrpc/rpcsvc/rex.x: Likewise.
19101 * sunrpc/rpcsvc/rstat.x: Likewise.
19102 * sunrpc/rpcsvc/rusers.x: Likewise.
19103 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19104 * sunrpc/rpcsvc/spray.x: Likewise.
19105 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19106 * sunrpc/rtime.c: Likewise.
19107 * sunrpc/svc.c: Likewise.
19108 * sunrpc/svc_auth.c: Likewise.
19109 * sunrpc/svc_authux.c: Likewise.
19110 * sunrpc/svc_raw.c: Likewise.
19111 * sunrpc/svc_run.c: Likewise.
19112 * sunrpc/svc_simple.c: Likewise.
19113 * sunrpc/svc_tcp.c: Likewise.
19114 * sunrpc/svc_udp.c: Likewise.
19115 * sunrpc/svc_unix.c: Likewise.
19116 * sunrpc/svcauth_des.c: Likewise.
19117 * sunrpc/xcrypt.c: Likewise.
19118 * sunrpc/xdr.c: Likewise.
19119 * sunrpc/xdr_array.c: Likewise.
19120 * sunrpc/xdr_float.c: Likewise.
19121 * sunrpc/xdr_mem.c: Likewise.
19122 * sunrpc/xdr_rec.c: Likewise.
19123 * sunrpc/xdr_ref.c: Likewise.
19124 * sunrpc/xdr_sizeof.c: Likewise.
19125 * sunrpc/xdr_stdio.c: Likewise.
19126
9da4bb31
UD
19127 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19128 handling.
19129
bdaa77bc
AS
191302010-08-19 Andreas Schwab <schwab@redhat.com>
19131
19132 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19133
fe2f79db
LM
191342010-08-19 Luis Machado <luisgpm@br.ibm.com>
19135
19136 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19138 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19139 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19140 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19141 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19142 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19143 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19144 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19145 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19146 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19147 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19148 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19149 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19150
b9b42ee0
AB
191512010-07-26 Anton Blanchard <anton@samba.org>
19152
19153 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19154 * malloc/arena.c (heap_trim): Likewise.
19155
1c06ba31
UD
191562010-08-16 Ulrich Drepper <drepper@redhat.com>
19157
19158 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19159 here. Not...
19160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19161 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19162
f8392f40
L
191632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19164
19165 * sysdeps/i386/elf/Makefile: New file.
19166
3162f12e
AS
191672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19168
19169 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19170 from fanotify_init.
19171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19173
28c90b2c
UD
191742010-08-15 Ulrich Drepper <drepper@redhat.com>
19175
19176 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19177 of strncasecmp_l.
1feccb6c 19178 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19179
ca6bb004
UD
191802010-08-14 Ulrich Drepper <drepper@redhat.com>
19181
e9f82e0d
UD
19182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19183 strncase_l-nonascii.
19184 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19185 Add strncase_l-ssse3.
19186 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19187 * sysdeps/x86_64/strcmp.S: Likewise.
19188 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19189 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19190 * sysdeps/x86_64/strncase.S: New file.
19191 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19192 * sysdeps/x86_64/strncase_l.S: New file.
19193 * string/Makefile (strop-tests): Add strncasecmp.
19194 * string/test-strncasecmp.c: New file.
19195
19196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19197 warning.
19198
ca6bb004
UD
19199 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19201
052fa7b3
AS
192022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19203
19204 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19205
962dba78
UD
192062010-08-12 Ulrich Drepper <drepper@redhat.com>
19207
19208 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19211
bebff237
AM
192122010-05-01 Alan Modra <amodra@gmail.com>
19213
19214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19215 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19216 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19217 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19218 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19219 tidying. Don't tail-call __sigjmp_save for static lib.
19220 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19221 save location.
19222 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19223 (CALL_MCOUNT): Add eh info, and nop after bl.
19224 (TAIL_CALL_SYSCALL_ERROR): New macro.
19225 (PSEUDO_RET): Use it.
19226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19227 Correct save location of integer regs and cr.
19228 (_dl_profile_resolve): Correct cr save location. Delete nops
19229 after bl when SHARED. Reduce cfi size a little by better
19230 placement of cfi directives.
19231 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19232 make a stack frame. Instead use parm save area as a temp.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19234 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19236 Don't make a stack frame for parent, use parm save area.
19237 Increase child stack frame to 112 bytes. Don't save unused reg,
19238 and adjust reg usage. Set up cfi on error recovery and
19239 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19241 (__makecontext): Add dummy nop after jump to exit.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19243 Use correct parm save area and cr save, reduce stack frame.
19244 Correct cfi for possible PSEUDO_RET frame setup.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19246 Branch to local label emitted by PSEUDO_RET rather than
19247 __syscall_error.
19248
02637374
AS
192492010-08-12 Andreas Schwab <schwab@redhat.com>
19250
19251 [BZ #11904]
19252 * locale/programs/locale.c (print_assignment): New function.
19253 (show_locale_vars): Use it.
19254
c3e2f19b
UD
192552010-08-11 Ulrich Drepper <drepper@redhat.com>
19256
3cdaa6ad
UD
19257 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19258 field.
19259 (struct statfs64): Likewise.
19260 (_STATFS_F_FLAGS): Define.
19261 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19263 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19264 (ST_VALID): Define locally.
19265 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19266 __statvfs_getflags, use the provided value.
19267 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19268 __ASSUME_STATFS_F_FLAGS.
19269
754f7da3
UD
19270 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19271
10b3bedc
UD
19272 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19273 Add sys/fanotify.h.
19274 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19275 fanotify_mask for GLIBC_2.13.
19276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19277 fanotify_init and fanotify_mark.
19278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19279 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19280
c08fb0d7
UD
19281 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19282 Add prlimit.
19283 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19284 prlimit64 for GLIBC_2.13.
19285 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19286 prlimit64.
19287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19288 syscall.
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19291 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19292 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19294 add prlimit alias.
19295 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19296
15bac72b
UD
19297 [BZ #11903]
19298 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19299 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19300
c3e2f19b
UD
19301 * nss/Makefile: Add rules to build and run tst-nss-test1.
19302 * shlib-versions: Add entry for libnss_test1.
19303 * nss/nss_test1.c: New file.
19304 * nss/tst-nss-test1.c: New file.
19305
19306 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19307 (__nss_configure_lookup): Set appropriate entry in
19308 __nss_configure_lookup to true.
19309 * nss/nsswitch.h: Define enum with indeces of databases in
19310 databases and __nss_database_custom arrays. Declare
19311 __nss_database_custom.
19312 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19313 to avoid using nscd when custom rules are installed.
19314 * nss/getXXbyYY_r.c: Likewise.
19315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19316
19317 * nss/nss_files/files-parse.c: Whitespace fixes.
19318
f15ce4d8
UD
193192010-08-09 Ulrich Drepper <drepper@redhat.com>
19320
19321 [BZ #11883]
19322 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19323 * posix/fnmatch_loop.c: Likewise.
19324
d22e4cc9
AK
193252010-07-17 Andi Kleen <ak@linux.intel.com>
19326
19327 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19328 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19329 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19330 * Versions.def [GLIBC_2.13]: Add.
19331
805bc17d
UD
193322010-08-06 Ulrich Drepper <drepper@redhat.com>
19333
19334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19335 Also fail if tpwd after pwuid call is NULL.
19336
5a42321d
ST
193372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19338
19339 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19340 when converting to ms.
19341
fd3ebeda
ST
193422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19343
19344 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19345 EOPNOTSUPP errors with ENOTTY.
19346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19347 EOPNOTSUPP errors with ENOTTY.
19348
73507d3a
UD
193492010-07-31 Ulrich Drepper <drepper@redhat.com>
19350
19351 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19352 Add strcasecmp_l-ssse3.
19353 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19354 strcasecmp.
19355 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19356 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19357 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19358
fe36dd02
UD
193592010-07-30 Ulrich Drepper <drepper@redhat.com>
19360
66f6765a
UD
19361 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19362
42e08a54
UD
19363 * string/Makefile (strop-tests): Add strcasecmp.
19364 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19365 strcasecmp_l-nonascii.
19366 (gen-as-const-headers): Add locale-defines.sym.
19367 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19368 * sysdeps/x86_64/strcasecmp.S: New file.
19369 * sysdeps/x86_64/strcasecmp_l.S: New file.
19370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19371 * sysdeps/x86_64/locale-defines.sym: New file.
19372 * string/test-strcasecmp.c: New file.
19373
fe36dd02
UD
19374 * string/test-strcasestr.c: Test both ends of the range of characters.
19375 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19376
48cbc0d6
RM
193772010-07-29 Roland McGrath <roland@redhat.com>
19378
76e6d6bc 19379 [BZ #11856]
48cbc0d6
RM
19380 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19381
880113d9
UD
193822010-07-27 Ulrich Drepper <drepper@redhat.com>
19383
19384 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19385 for ld.so.
19386
deb9cabb
AS
193872010-07-27 Andreas Schwab <schwab@redhat.com>
19388
19389 * manual/memory.texi (Malloc Tunable Parameters): Document
19390 M_PERTURB.
19391
1c7570ff
RM
193922010-07-26 Roland McGrath <roland@redhat.com>
19393
19394 [BZ #11840]
19395 * configure.in (-fgnu89-inline check): Set and substitute
19396 gnu89_inline, not libc_cv_gnu89_inline.
19397 * configure: Regenerated.
19398 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19399
24fb0f88
UD
194002010-07-26 Ulrich Drepper <drepper@redhat.com>
19401
19402 * string/test-strnlen.c: New file.
19403 * string/Makefile (strop-tests): Add strnlen.
19404 * string/tester.c (test_strnlen): Add a few more test cases.
19405 * string/tst-strlen.c: Better error reporting.
19406
19407 * sysdeps/x86_64/strnlen.S: New file.
19408
8e96b93a
UD
194092010-07-24 Ulrich Drepper <drepper@redhat.com>
19410
19411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19412 lower-latency instructions.
19413
dbc676d4
UD
194142010-07-23 Ulrich Drepper <drepper@redhat.com>
19415
19416 * string/test-strcasestr.c: New file.
19417 * string/test-strstr.c: New file.
19418 * string/Makefile (strop-tests): Add strstr and strcasestr.
19419 * string/str-two-way.h: Don't undefine MAX.
19420 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19421
f6a31e0e
AS
194222010-07-21 Andreas Schwab <schwab@redhat.com>
19423
19424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19425 strcasestr-nonascii.
19426 (CFLAGS-strcasestr-nonascii.c): Define.
19427 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19429 Remove unused attribute.
19430
5dbc3b6c
RM
194312010-07-20 Roland McGrath <roland@redhat.com>
19432
19433 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19434 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19435 ld.so.cache was broken. With it, there is no way to disable dsocaps
19436 like LD_HWCAP_MASK can disable hwcaps.
19437
23d101d8
EPM
194382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19439
19440 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19441
cc9f2e47
UD
194422010-07-16 Ulrich Drepper <drepper@redhat.com>
19443
19444 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19445 call in strcasestr.
19446 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19447 __strcasestr_sse42_nonascii.
19448 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19449 strcasestr-nonascii.c.
19450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19451
77c1b069
LM
194522010-06-15 Luis Machado <luisgpm@br.ibm.com>
19453
19454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19455 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19458
440566c3
UD
194592010-07-09 Ulrich Drepper <drepper@redhat.com>
19460
19461 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19462 fcntl.
19463
5be9d05d
AS
194642010-07-06 Andreas Schwab <schwab@redhat.com>
19465
c30b7ee2 19466 [BZ #11577]
5be9d05d
AS
19467 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19468 dl_signal_cerror.
19469
8a492a67
UD
194702010-07-06 Ulrich Drepper <drepper@redhat.com>
19471
19472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19473 _PC_PIPE_BUF using F_GETPIPE_SZ.
19474
713df3d5
RM
194752010-07-05 Roland McGrath <roland@redhat.com>
19476
19477 * manual/arith.texi (Rounding Functions): Fix rint description
19478 implicit in round description.
19479
702e8f14
UD
194802010-07-02 Ulrich Drepper <drepper@redhat.com>
19481
19482 * elf/Makefile: Fix linking for a few tests to make recent linker
19483 happy.
19484
52ed8be9
AS
194852010-06-30 Andreas Schwab <schwab@redhat.com>
19486
19487 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19488 $(common-objpfx)libc_nonshared.a.
19489
f47c9a11
LM
194902010-06-21 Luis Machado <luisgpm@br.ibm.com>
19491
19492 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19493 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19494 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19495 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19496 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19497 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19498 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19499 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19514 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19515 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19516 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19517 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19518 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19519 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19520 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19521 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19522 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19523 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19524 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19525 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19540
6fb8cbcb
L
195412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19542
19543 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19544 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19545 * string/memmove.c (memmove): Renamed to ...
19546 (MEMMOVE): ...this. Default to memmove.
19547 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19548 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19549 (END_CHK): Define.
19550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19551 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19552 mempcpy-ssse3-back memmove-ssse3-back.
19553 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19556 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19557 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19558 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19559 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19560 * sysdeps/x86_64/multiarch/memmove.c: New file.
19561 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19562 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19563 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19564 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19567 Define.
19568 (index_Fast_Copy_Backward): Define.
19569 (HAS_ARCH_FEATURE): Define.
19570 (HAS_FAST_REP_STRING): Define.
19571 (HAS_FAST_COPY_BACKWARD): Define.
19572
4e733bac 195732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19574
19575 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19576 Restore proper fallback handling.
19577
63c4ed22
UD
195782010-06-19 Ulrich Drepper <drepper@redhat.com>
19579
ac2b484c
UD
19580 [BZ #11701]
19581 * posix/group_member.c (__group_member): Correct checking loop.
19582
63c4ed22
UD
19583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19584 OOM in getpwuid_r correctly. Return error number when the caller
19585 should return, otherwise -1.
19586 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19587 call returning > 0 value.
19588 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19589
765ade4b
AS
195902010-06-07 Andreas Schwab <schwab@redhat.com>
19591
19592 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19593 libc_nonshared.a from targets in modules-names.
19594
80da2e09
KS
195952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19596
19597 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19598 requires it.
19599
158db122
LM
196002010-06-10 Luis Machado <luisgpm@br.ibm.com>
19601
19602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19606
caa78cf8
AS
196072010-06-02 Andreas Schwab <schwab@redhat.com>
19608
19609 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19610
b2ef2c01
UD
196112010-06-14 Ulrich Drepper <drepper@redhat.com>
19612
19613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19614 and F_GETPIPE_SZ.
19615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19621
fbd643b6
RM
196222010-06-14 Roland McGrath <roland@redhat.com>
19623
19624 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19625
f32f2869
JJ
196262010-06-07 Jakub Jelinek <jakub@redhat.com>
19627
19628 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19629 __REDIRECT followed by __THROW.
19630 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19631 * posix/getopt.h (getopt): Likewise.
19632
2a50c078
EPM
196332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19634
19635 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19636 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19637 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19638 in AT_FLAGS.
19639 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19640 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19641
eb5ad2eb
LM
196422010-05-28 Luis Machado <luisgpm@br.ibm.com>
19643
19644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19645
3c88fe1e
L
196462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19647
19648 [BZ #11640]
19649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19650 Properly check family and model.
19651
d2f73151
TY
196522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19653
19654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19655
ebd2e13d
LM
196562010-05-24 Luis Machado <luisgpm@br.ibm.com>
19657
19658 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19659
b32b8b45
UD
196602010-05-21 Ulrich Drepper <drepper@redhat.com>
19661
19662 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19663 symbol reference.
19664
9acbe24d
AS
196652010-05-19 Andreas Schwab <schwab@redhat.com>
19666
19667 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19668 symbol reference.
19669
f0ccf6ea
AS
196702010-05-21 Andreas Schwab <schwab@redhat.com>
19671
3d04ff3a
AS
19672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19673 and internal_recvmmsg.
19674 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19675 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19676 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19677 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19678
f0ccf6ea
AS
19679 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19682
5b08ac57
AS
196832010-05-20 Andreas Schwab <schwab@redhat.com>
19684
19685 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19686
4828935d
LM
196872010-05-17 Luis Machado <luisgpm@br.ibm.com>
19688
19689 POWER7 optimizations.
19690 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19691 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19692
373d545e
UD
196932010-05-19 Ulrich Drepper <drepper@redhat.com>
19694
19695 * version.h: Update for 2.13 development version.
19696
21a2b1ae
AS
196972010-05-12 Andrew Stubbs <ams@codesourcery.com>
19698
19699 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19700 exceptions. Return 0.
19701
3f7dcb2b
RM
197022010-05-07 Roland McGrath <roland@redhat.com>
19703
19704 * elf/ldconfig.c (main): Add a const.
19705
5f24d53a 197062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19707
a160f8d8
UD
19708 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19709 (args_options): Add no-idn option.
19710 (ahosts_keys_int): Add idn_flags to ai_flags.
19711 (parse_option): Handle 'i' option to clear idn_flags.
19712
5f24d53a
UD
19713 * malloc/malloc.c (_int_free): Possible race in the most recently
19714 added check. Only act on the data if no current modification
19715 happened.
265bb1ce
UD
19716
19717See ChangeLog.17 for earlier changes.
This page took 2.51445 seconds and 5 git commands to generate.