]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix sign of exact zero return from fma (bug 14638).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8ec5b013
JM
12012-09-29 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14638]
4 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5 0 + 0.
6 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7 mode for addition resulting in exact zero.
8 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10 exact 0 + 0.
11 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13 * math/libm-test.inc (fma_test): Add more tests.
14 (fma_test_towardzero): New function.
15 (fma_test_downward): Likewise.
16 (fma_test_upward): Likewise.
17 (main): Call the new functions.
18
b1fa802e
DM
192012-09-28 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22
d3b9fd9e
RM
232012-09-28 Roland McGrath <roland@hack.frob.com>
24
ea4d37b3
RM
25 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26 instead of SIGALRM.
27
ac51c949
RM
28 * sysdeps/gnu/_G_config.h: Moved to ...
29 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31 * sysdeps/generic/_G_config.h: ... here.
32
28c195f7
RM
33 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34
848917f9
RM
35 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36
6bacf05b
RM
37 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38 Conditionalize target on [libnss_test1.so-version].
39
91363dbb
RM
40 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41
cc87f7d8
RM
42 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43 (elfobjdir): Move out of conditionals.
44
b1c608fe
RM
45 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47 (__nss_lookup_function): Conditionalize label remove_from_tree on
48 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 49
1d9a6d96
DM
502012-09-28 David S. Miller <davem@davemloft.net>
51
52 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54 file.
55 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56 sysdep_routines.
57 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59 when HWCAP_SPARC_CRYPTO is present.
60
72581615
PT
612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
62
63 * io/tst-mknodat.c: Create a FIFO instead of a socket.
64
715a900c
JL
652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66
67 [BZ #6530]
68 * stdio-common/vfprintf.c (process_string_arg): Revert
69 2000-07-22 change.
70
712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
72
73 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74 for testcase.
75 * stdio-common/tst-sprintf.c: Include <locale.h>
76 (main): Test sprintf's handling of incomplete multibyte
77 characters.
78
9bac1d86
L
792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
80
81 * elf/dl-runtime.c (VERSYMIDX): Removed.
82 * elf/dl-version.c (VERSYMIDX): Likewise.
83 * elf/do-rel.h (VERSYMIDX): Likewise.
84 (VALIDX): Likewise.
85 * elf/dynamic-link.h (VERSYMIDX): Likewise.
86 * elf/rtld.c (VALIDX): Likewise.
87 (ADDRIDX): Likewise.
9bac1d86
L
88 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
89 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
90 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
91 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
92 (VALIDX): Likewise.
93 (ADDRIDX): Likewise.
9bac1d86 94
b31606c0
PT
952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
96
97 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
98
11541177
JL
992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
100
101 [BZ #11438]
102 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
103 to global scope.
104 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
105 addresses are in the same scope as 192.0.2/24.
106 * posix/gai.conf: Document new scope table defaults.
107
adb26fae
SP
1082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
109
110 [BZ #5298]
111 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
112 for ftell. Compute offsets from write pointers instead.
113 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
114
4573c6b0
SP
1152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
116
117 [BZ #14543]
118 * libio/Makefile (tests): New test case tst-fseek.
119 * libio/tst-fseek.c: New test case to verify that fseek/ftell
120 combination works in wide mode.
121 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
122 state when the external buffer state changes.
123
aa9bbfe6
DM
1242012-09-27 David S. Miller <davem@davemloft.net>
125
126 [BZ #14376]
127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
128 pass reloc->r_addend in as the 'high' argument to
129 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
130
784421e7
DM
131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
132
c39bc8b8
PT
1332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
134
135 * rt/tst-aio2.c: Include <pthread.h>.
136 * rt/tst-aio3.c: Likewise.
137
1ccc2399
SE
1382012-09-27 Steve Ellcey <sellcey@mips.com>
139
140 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
141
31ed4153
L
1422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
143
25f5f885
L
144 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
145 contents on [SHARED].
31ed4153 146
b7bfe116
MP
1472012-09-26 Marek Polacek <polacek@redhat.com>
148
149 [BZ #14530]
150 [BZ #13741]
151 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
152 for C++ and GCC <4.3 as well as for non GCC compilers.
153
43c4edba
MT
1542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
155
156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
157
6a1bf82f
RM
1582012-09-25 Roland McGrath <roland@hack.frob.com>
159
160 * Makefile.in (all, install): Declare with .PHONY.
161 Reported by Michael Hope <michael.hope@linaro.org>.
162
8ad11b9a
TMQMF
1632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
164
165 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
166 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
167 system header.
168 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
169 Likewise.
170 (sydep_routines): Add the new and the internal functions.
171 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
172 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
174 (GLIBC_2.17): Add the new function.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
176 (GLIBC_2.17): Likewise.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
178 (GLIBC_2.17): Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
180 (GLIBC_2.17): Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
182
7e2fca8d
AM
1832012-09-25 Alan Modra <amodra@gmail.com>
184
185 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
186 Add release barrier before setting once_control to say
187 initialisation is done. Add hints on lwarx. Use macro in
188 place of isync.
189 (clear_once_control): Add release barrier.
190
b87c4b24
JM
1912012-09-25 Joseph Myers <joseph@codesourcery.com>
192
d032e0d2
JM
193 [BZ #13629]
194 * math/s_clog.c (__clog): Handle more values close to |z| = 1
195 specially.
196 * math/s_clog10.c (__clog10): Likewise.
197 * math/s_clog10f.c (__clog10f): Likewise.
198 * math/s_clog10l.c (__clog10l): Likewise.
199 * math/s_clogf.c (__clogf): Likewise.
200 * math/s_clogl.c (__clogl): Likewise.
201 * math/Makefile (libm-calls): Add x2y2m1.
202 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
203 (__x2y2m1): Likewise.
204 (__x2y2m1l): Likewise.
205 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
206 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
207 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
208 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
209 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
210 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
211 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214
b87c4b24
JM
215 [BZ #14621]
216 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
217 int as type of variable DEPTH.
218 (glob): Use size_t instead of int as type of variables NEWCOUNT
219 and OLD_PATHC.
220
6d3bf199
LD
2212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
222
22bf5c17
LD
223 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
224 Add s_sincosf-sse2.
225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
226 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
227 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
228 macros for using routine as __sincosf_ia32.
229 Use macro for function declaration and weak_alias.
230 * sysdeps/i386/fpu/libm-test-ulps: Update.
231
232 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
234
235 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
236 subnormal argument.
237 * math/s_cexpf.c (__cexpf): Likewise.
238 * math/s_csinf.c (__csinf): Likewise.
239 * math/s_csinhf.c (__csinhf): Likewise.
240 * math/s_ctanf.c (__ctanf): Likewise.
241 * math/s_ctanhf.c (__ctanhf): Likewise.
242 * math/s_ccosh.c (__ccoshf): Likewise.
243 * math/s_cexp.c (__cexpl): Likewise.
244 * math/s_csin.c (__csin): Likewise.
245 * math/s_csinh.c (__csinh): Likewise.
246 * math/s_ctan.c (__ctan): Likewise.
247 * math/s_ctanh.c (ctanh): Likewise.
248 * math/s_ccoshl.c (__ccoshl): Likewise.
249 * math/s_cexpl.c (__cexpl): Likewise.
250 * math/s_csinl.c (__csinl): Likewise.
251 * math/s_csinhl.c (__csinhl): Likewise.
252 * math/s_ctanl.c (__ctanl): Likewise.
253 * math/s_ctanhl.c (__ctanhl): Likewise.
254
203e5603
JM
2552012-09-25 Joseph Myers <joseph@codesourcery.com>
256
257 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
258 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
259 (_IO_off_t): Define to __off_t, not _G_off_t.
260 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
261 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
262 (_IO_wint_t): Define to wint_t, not _G_wint_t.
263 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
264 type of __dummy and __dummy2 fields.
265 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
266 (_G_ssize_t): Likewise.
267 (_G_off_t): Likewise.
268 (_G_pid_t): Likewise.
269 (_G_uid_t): Likewise.
270 (_G_wchar_t): Likewise.
271 (_G_wint_t): Likewise.
272 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
273 (_G_ssize_t): Likewise.
274 (_G_off_t): Likewise.
275 (_G_pid_t): Likewise.
276 (_G_uid_t): Likewise.
277 (_G_wchar_t): Likewise.
278 (_G_wint_t): Likewise.
279 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
280 (_G_ssize_t): Likewise.
281 (_G_off_t): Likewise.
282 (_G_pid_t): Likewise.
283 (_G_uid_t): Likewise.
284 (_G_wchar_t): Likewise.
285 (_G_wint_t): Likewise.
286
9fab36eb
SP
2872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
288
289 * malloc/arena.c: Include malloc-sysdep.h.
290 (shrink_heap): Use check_may_shrink_heap to decide if madvise
291 is sufficient to shrink the heap or an unmap is needed.
292 * sysdeps/generic/malloc-sysdep.h: New file. Define
293 new function check_may_shrink_heap.
294 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
295 new function check_may_shrink_heap.
296
2b4f00d1
SP
2972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
298
299 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
300 comments.
301
9a9028b1
DL
3022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
303
57c69bef
DL
304 * catgets/test-gencat.sh: Add "set -e".
305 * elf/tst-pathopt.sh: Likewise.
306 * grp/tst_fgetgrent.sh: Likewise.
307 * iconvdata/run-iconv-test.sh: Likewise.
308 * intl/tst-gettext.sh: Likewise.
309 * intl/tst-gettext2.sh: Likewise.
310 * intl/tst-gettext4.sh: Likewise.
311 * intl/tst-gettext6.sh: Likewise.
312 * intl/tst-translit.sh: Likewise.
313 * io/ftwtest-sh: Likewise.
314 * libio/test-freopen.sh: Likewise.
315 * malloc/tst-mtrace.sh: Likewise.
316 * posix/globtest.sh: Likewise.
317 * posix/tst-getconf.sh: Likewise.
318 * posix/wordexp-tst.sh: Likewise.
319 * stdio-common/tst-printf.sh: Likewise.
320 * stdio-common/tst-unbputc.sh: Likewise.
321 * stdlib/tst-fmtmsg.sh: Likewise.
322 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
323 * catgets/Makefile: Do not specify -e option when running
324 testsuite shell scripts.
325 * elf/Makefile: Likewise.
326 * grp/Makefile: Likewise.
327 * iconvdata/Makefile: Likewise.
328 * intl/Makefile: Likewise.
329 * io/Makefile: Likewise.
330 * libio/Makefile: Likewise.
331 * malloc/Makefile: Likewise.
332 * posix/Makefile: Likewise.
333 * stdio-common/Makefile: Likewise.
334 * stdlib/Makefile: Likewise.
335 * sysdeps/x86_64/Makefile: Likewise.
336
9a9028b1
DL
337 * io/ftwtest-sh: Add copyright header.
338 * posix/globtest.sh: Likewise.
339 * posix/tst-getconf.sh: Likewise.
340 * posix/wordexp-tst.sh: Likewise.
341 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
342
ced6f16e
L
3432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
344
94b32c39
L
345 [BZ #13679]
346 * Makeconfig (+link): Defined as $(+link-static) if
347 $(build-shared) isn't yes.
348 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
349 isn't yes.
350 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
351
189e935b
L
352 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
353
ced6f16e
L
354 [BZ #14562]
355 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
356 new chunk size with MALLOC_ALIGN_MASK.
357
a9f8e53a
JM
3582012-09-24 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #5044]
361 * stdio-common/printf_fphex.c: Include <stdbool.h> and
362 <rounding-mode.h>.
363 (__printf_fphex): Determine rounding using get_rounding_mode and
364 round_away.
365 * stdio-common/tst-printf-round.c (struct hex_test): New
366 structure.
367 (hex_tests): New variable.
368 (test_hex_in_one_mode): New function.
369 (do_test): Also run tests for hex float output.
370
43153109
JM
3712012-09-21 Joseph Myers <joseph@codesourcery.com>
372
373 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
374 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
375 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
376 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
377 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
378 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
379 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
381
8a26625d
JM
3822012-09-20 Joseph Myers <joseph@codesourcery.com>
383
384 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
385 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
386 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
387 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
388
f3fd569c
DL
3892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
390
391 [BZ #14579]
392 * elf/rtld.c (dl_main): Limit the check for self loading to normal
393 mode only.
394 * elf/tst-rtld-load-self.sh: New test.
395 * elf/Makefile: Run it.
396
63bbedd4
JM
3972012-09-18 Joseph Myers <joseph@codesourcery.com>
398
399 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
400 (tst-writev-ENV): Remove.
401 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
402
626f8b6a
CM
4032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
404
405 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
406
b7aaa4d6
JM
4072012-09-17 Joseph Myers <joseph@codesourcery.com>
408
409 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
410 unconditional.
411 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
412 Likewise.
413 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
414 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
415 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
416 Likewise.
417
65513990
L
4182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
419
420 [BZ #14587]
421 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
422 * config.make.in (have-cpp-asm-debuginfo): Removed.
423 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
424 * configure: Regenerated.
425
784761be
JM
4262012-09-14 Joseph Myers <joseph@codesourcery.com>
427
428 [BZ #5044]
429 * stdio-common/printf_fp.c: Include <stdbool.h> and
430 <rounding-mode.h>.
431 (___printf_fp): Determine rounding using get_rounding_mode and
432 round_away.
433 * stdio-common/tst-printf-round.c: New file.
434 * stdio-common/Makefile (tests): Add tst-printf-round.
435 (link-libm): New variable.
436 ($(objpfx)tst-printf-round): Depend in $(link-libm).
437
9503345f
L
4382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
439
440 [BZ #14576]
441 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
442 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
443 Likewise.
444 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
445 Likewise.
446
ad35fc00
JM
4472012-09-13 Joseph Myers <joseph@codesourcery.com>
448
449 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
450 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
451 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
453
6c9b0f68
JM
4542012-09-12 Joseph Myers <joseph@codesourcery.com>
455
456 [BZ #14518]
457 * include/rounding-mode.h: New file.
458 * sysdeps/generic/get-rounding-mode.h: Likewise.
459 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
460 * stdlib/strtod_l.c: Include <rounding-mode.h>.
461 (MAX_VALUE): New macro.
462 (MIN_VALUE): Likewise.
463 (overflow_value): New function.
464 (underflow_value): Likewise.
465 (round_and_return): Use overflow_value and underflow_value to
466 determine return values in overflow and underflow cases. Use
467 round_away to determine rounding depending on rounding mode.
468 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
469 determine return values in overflow and underflow cases.
470 * stdlib/tst-strtod-round.c: Include <fenv.h>.
471 (struct test_results): New structure.
472 (struct test): Use struct test_results to store expected results
473 for all rounding modes.
474 (TEST): Include expected results for all rounding modes.
475 (test_in_one_mode): New function.
476 (do_test): Use test_in_one_mode to compute and check results.
477 Check results for all rounding modes.
478 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
479 $(link-libm).
480
19fcedd5
AM
4812012-12-09 Allan McRae <allan@archlinux.org>
482
483 * sysdeps/i386/fpu/libm-test-ulps: Update
484
8bbfd2f1
JM
4852012-09-11 Joseph Myers <joseph@codesourcery.com>
486
487 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
488 (_G_int32_t): Likewise.
489 (_G_uint16_t): Likewise.
490 (_G_uint32_t): Likewise.
491 (_G_HAVE_BOOL): Likewise.
492 (_G_HAVE_ATEXIT): Likewise.
493 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
494 (_G_HAVE_IO_FILE_OPEN): Likewise.
495 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
496 (_G_int32_t): Likewise.
497 (_G_uint16_t): Likewise.
498 (_G_uint32_t): Likewise.
499 (_G_HAVE_BOOL): Likewise.
500 (_G_HAVE_ATEXIT): Likewise.
501 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
502 (_G_HAVE_IO_FILE_OPEN): Likewise.
503 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
504 (_G_int32_t): Likewise.
505 (_G_uint16_t): Likewise.
506 (_G_uint32_t): Likewise.
507 (_G_HAVE_BOOL): Likewise.
508 (_G_HAVE_ATEXIT): Likewise.
509 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
510 (_G_HAVE_IO_FILE_OPEN): Likewise.
511
b1dc5912
L
5122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
513
514 * csu/libc-tls.c: Update copyright years.
515
0e886ef9
JM
5162012-09-10 Joseph Myers <joseph@codesourcery.com>
517
28361c5e
JM
518 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
519 [!_G_USING_THUNKS]: Remove conditional code.
520 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
521 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
522
0e886ef9
JM
523 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
524 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
525 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
526 (_G_VTABLE_LABEL_PREFIX): Likewise.
527 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
528 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
529 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
530 (_G_VTABLE_LABEL_PREFIX): Likewise.
531 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
532 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
533 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
534 (_G_VTABLE_LABEL_PREFIX): Likewise.
535 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
536
bcba7aa2
L
5372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
538
539 * libio/Makefile: Include ../Makeconfig before tests.
540 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
541 only if $(build-shared) is yes.
542
06585ee8
L
543 * iconv/gconv_db.c: Update copyright years.
544
80ccd52c
LD
5452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
546
547 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
548 unwind info if defined PIC. Fix special cases description.
549 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
550
551 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
552 DP_HI_MASK entry.
553 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
554
691bc9c1
L
5552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
556
3d9b46b3
L
557 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
558
de2139a9
L
559 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
560 is NULL.
561
5ca78dd0
L
562 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
563 (LDLIBS-tst-chk4): This.
564 (LDFLAGS-tst-chk5): Renamed to ...
565 (LDLIBS-tst-chk5): This.
566 (LDFLAGS-tst-chk6): Renamed to ...
567 (LDLIBS-tst-chk6): This.
568 (LDFLAGS-tst-lfschk4): Renamed to ...
569 (LDLIBS-tst-lfschk4): This.
570 (LDFLAGS-tst-lfschk5): Renamed to ...
571 (LDLIBS-tst-lfschk5): This.
572 (LDFLAGS-tst-lfschk6): Renamed to ...
573 (LDLIBS-tst-lfschk6): This.
574
691bc9c1
L
575 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
576 on $(common-objpfx)soversions.mk.
577
65cafb1c
JM
5782012-09-07 Joseph Myers <joseph@codesourcery.com>
579
580 [BZ #10014]
581 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
582 example host name.
583
c78ab094
SP
5842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
585
586 * malloc/arena.c (arena_get_retry): New function that gets
587 another arena for the caller to try its request on.
588 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
589 current arena cannot fulfill the request.
590 (__libc_memalign): Likewise.
591 (__libc_memalign): Likewise.
592 (__libc_pvalloc): Likewise.
593 (__libc_calloc): Likewise.
594
01f49f59
JT
5952012-09-05 John Tobey <john.tobey@gmail.com>
596
597 [BZ #13542]
598 * manual/arith.texi (Operations on Complex): Fix description
599 of carg branch cut.
600
4c23fed5
JM
6012012-09-06 Joseph Myers <joseph@codesourcery.com>
602
1d3c8572
JM
603 [BZ #10014]
604 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
605 host name.
606
4c23fed5
JM
607 [BZ #10038]
608 * manual/memory.texi (Memory): Make order of menu items match
609 order of sections.
610
04570aaa
L
6112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
612
613 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
614 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
615 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
616
b80af2f4
L
6172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
618
619 * csu/libc-tls.c (static_dtv): Renamed to ...
620 (_dl_static_dtv): This. Make it global.
621 (_dl_initial_dtv): Removed.
622 (__libc_setup_tls): Updated.
623 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
624 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
625 DL_INITIAL_DTV.
626
2abe9f15
PM
6272012-09-06 Petr Machata <pmachata@redhat.com>
628
629 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
630 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
631 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
632 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
633
0948c3af
L
6342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
635
636 [BZ #14545]
637 * csu/libc-tls.c (_dl_initial_dtv): New variable.
638 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
639 freeing dtv[-1].
640
a5055ad1
L
6412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
642
643 [BZ #14544]
644 * Makeconfig (link-static-before-libc): Replace $(+prector)
645 with $(+prectorT).
646 (link-static-after-libc): Replace $(+postctor) with
647 $(+postctorT).
648 (link-bounded): Replace $(+prector)/$(+postctor) with
649 $(+prectorT)/$(+postctorT).
650 (+prectorT): New macro.
651 (+postctorT): Likewise.
652
ed8c2ecd
JM
6532012-09-06 Joseph Myers <joseph@codesourcery.com>
654
655 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
656 (round_str): Handle values above the maximum for IBM long double
657 as inexact.
658 * stdlib/tst-strtod-round.c (tests): Regenerated.
659
14c996c8
AK
6602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
661
662 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
663 assembler flag.
664 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
665 zarch_nohighgprs around the zarch optimized routines.
666 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
667 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
668 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
669 for zarch.
670
430d6ce6
DM
6712012-09-05 David S. Miller <davem@davemloft.net>
672
673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
674
ff04dda4
DM
675 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
676 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
677 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
678 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
679 entries.
680
24d4e01b
AO
6812012-09-05 Alexandre Oliva <aoliva@redhat.com>
682
683 * malloc/arena.c: Fold copyright years.
684 * malloc/mcheck.c, malloc/memusage.c: Likewise.
685
61d58174
AO
6862012-09-05 Alexandre Oliva <aoliva@redhat.com>
687
688 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
689
20196a5e
AO
6902012-09-05 Alexandre Oliva <aoliva@redhat.com>
691
692 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
693
5c447383
AO
6942012-09-05 Alexandre Oliva <aoliva@redhat.com>
695
696 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
697 change internal state upon failure.
698
fad64255
AO
6992012-09-05 Alexandre Oliva <aoliva@redhat.com>
700
701 * malloc/mcheck.c (mcheck_check_all): Fix typo.
702 * malloc/memusage.c (mmap): Likewise.
703 (mmap64, mremap): Likewise. Adjust name in comment.
704
1ffb8c90
SP
7052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 * libio/fileops.c: Fix typos in comments.
708 * libio/oldfileops.c: Likewise.
709 * libio/wfileops.c: Likewise.
710
6ef9cc37
SP
7112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
712
713 [BZ #1349]
714 * malloc/Makefile (tests): Add tst-malloc-usable test case.
715 (tst-malloc-usable-ENV): Set environment for test case.
716 * malloc/hooks.c (malloc_check_get_size): New function to get
717 requested size.
718 * malloc/malloc.c (musable): Use malloc_check_get_size.
719 * malloc/tst-malloc-usable.c: New test case.
720
4d038ae3
AS
7212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
722
723 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
724
c4e85184
AM
7252012-09-05 Allan McRae <allan@archlinux.org>
726
b9dafc56 727 [BZ #13966]
c4e85184
AM
728 * configure.in (CXX_SYSINCLUDES): Use compiler output to
729 determine header location.
730 * configure: Regenerated.
731
e1343020
AS
7322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
733
734 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
735 float format.
736 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
737 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
738 format.
e1343020
AS
739 (test): Regenerate.
740
0a9f1987
DM
7412012-09-04 David S. Miller <davem@davemloft.net>
742
743 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
744 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
746
29237804
FW
7472012-09-04 Florian Weimer <fweimer@redhat.com>
748
749 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
750 failures.
751
edb3cb88
FW
752 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
753
60160d83
JM
7542012-09-04 Joseph Myers <joseph@codesourcery.com>
755
756 [BZ #9914]
757 * libio/iogetdelim.c: Include <limits.h>.
758 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
759 + len + 1 would overflow.
760
bcd6c8dc
AJ
7612012-09-03 Andreas Jaeger <aj@suse.de>
762
763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
764 * sysdeps/i386/fpu/libm-test-ulps: Update.
765
4ffffbd2
LD
7662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
767
768 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
769 Add s_sinf-sse2, s_conf-sse2.
770
771 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
772 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
773 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
774 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
775
776 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
777 for using routine as __sinf_ia32.
778 Use macro for function declaration and weak_alias.
779 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
780 for using routine as __cosf_ia32.
781 Use macro for function declaration and weak_alias.
782
783 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
784 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
785
786 * sysdeps/x86_64/fpu/s_sinf.S: New file.
787 * sysdeps/x86_64/fpu/s_cosf.S: New file.
788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
789
790 * math/libm-test.inc (cos_test): Add more test cases.
791 (sin_test): Likewise.
792 (sincos_test): Likewise.
793
511fa286
AK
7942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
795
796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
797 (IFUNC_RESOLVE): Make pointers to the specialized implementations
798 hidden.
799 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
800
5f30cfec
L
8012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
802
803 [BZ #14538]
804 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
805 first element of the GOT.
806 (elf_machine_load_address): Return the difference between
807 the runtime address of _DYNAMIC and elf_machine_dynamic ().
808
0786794f
AM
8092012-09-01 Allan McRae <allan@archlinux.org>
810
5f30cfec
L
811 [BZ #13412]
812 * configure.in (AWK): Require gawk version 3.0 or later.
813 * configure: Regenerated.
0786794f 814
26889eac
JM
8152012-09-01 Joseph Myers <joseph@codesourcery.com>
816
817 * sysdeps/unix/sysv/linux/kernel-features.h
818 (__ASSUME_POSIX_CPU_TIMERS): Remove.
819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
820 [__NR_clock_getres]: Make code unconditional.
821 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
822 (clock_getcpuclockid): Remove code left unreachable by removal of
823 conditionals.
824 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
825 code unconditional.
826 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
827 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
828 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
829 Make code unconditional.
830 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
831 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
832 * sysdeps/unix/sysv/linux/clock_settime.c
833 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
834 conditional code.
835 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
836 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
837
d22e28b0
L
8382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
839
840 [BZ #14476]
841 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
842 scripts/test-installation.pl.
843
844 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
845 and $ld_so_version if it is set.
846
050af9c4
SP
8472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
848
849 [BZ #14516]
850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
851 failure if reading from procfs failed.
852 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
853
ad845c0b
JM
8542012-08-27 Joseph Myers <joseph@codesourcery.com>
855
856 * sysdeps/unix/sysv/linux/kernel-features.h
857 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
858 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
859 Remove conditional code.
860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
861 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
862 Remove conditional code.
863 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
864 * sysdeps/unix/sysv/linux/i386/fxstat.c
865 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
867 * sysdeps/unix/sysv/linux/i386/fxstatat.c
868 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
870 * sysdeps/unix/sysv/linux/i386/lxstat.c
871 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
873 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
874 Remove conditional code.
875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
876 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
877 Remove conditional code.
878 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
880 <kernel-features.h>.
881 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
882 Remove.
883 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
884 Remove conditional code.
885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
886 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
887 Remove conditional.
888
5dbf56af
MF
8892012-08-27 Mike Frysinger <vapier@gentoo.org>
890
891 [BZ #5400]
892 * NEWS: Add fixed bug number.
893
d6e70f43
JM
8942012-08-27 Joseph Myers <joseph@codesourcery.com>
895
7efb4737
JM
896 [BZ #14519]
897 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
898 underflowing exponent in case of negative sign.
899 * stdlib/tst-strtod-round-data: Add more tests.
900 * stdlib/tst-strtod-round.c (tests): Regenerated.
901
af92131a
JM
902 [BZ #3479]
903 * stdlib/strtod_l.c (NDIG): Remove.
904 (HEXNDIG): Likewise.
905 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
906 smallest representable value.
907 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
908 lie within an exact representation of 1/2 ulp of the result.
909 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
910 unconditionally.
911 (TENS_P9_IDX): Define unconditionally.
912 (TENS_P9_SIZE): Likewise.
913 (TENS_P10_IDX): Likewise.
914 (TENS_P10_SIZE): Likewise.
915 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
916 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
917 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
918 entries for 10^2^13 and 10^2^14.
919 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
920 (TENS_P13_IDX): Define.
921 (TENS_P13_SIZE): Likewise.
922 (TENS_P14_IDX): Likewise.
923 (TENS_P14_SIZE): Likewise.
924 (_fpioconst_pow10): Change array size to
925 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
926 unconditional.
927 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
928 1024]: Add entries for 10^2^13 and 10^2^14.
929 [LAST_POW10 > _LAST_POW10]: Remove #error.
930 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
931 (_fpioconst_pow10): Change array size to
932 FPIOCONST_POW10_ARRAY_SIZE.
933 * stdlib/gen-fpioconst.c: New file.
934 * stdlib/gen-tst-strtod-round.c: Likewise.
935 * stdlib/tst-strtod-round-data: Likewise.
936 * stdlib/tst-strtod-round.c: Likewise.
937 * stdlib/Makefile (tests): Add tst-strtod-round.
938
d6e70f43
JM
939 [BZ #14459]
940 * stdlib/strtod_l.c: Include <stdint.h>.
941 (NDEBUG): Do not define.
942 (round_and_return): Change EXPONENT parameter to type intmax_t.
943 Rearrange calculations to avoid internal overflow possibilities.
944 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
945 Rearrange calculations to avoid internal overflow possibilities.
946 Assert that number fits inside MPNSIZE limbs.
947 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
948 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
949 calculations and add assertions to avoid internal overflow
950 possibilities. Add casts to avoid signed/unsigned operations.
951 * stdlib/tst-strtod-overflow.c: New file.
952 * stdlib/Makefile (tests): Add tst-strtod-overflow.
953
1f529f7d
MP
9542012-08-25 Marek Polacek <polacek@redhat.com>
955
956 * time/time.h: Fix some typos in comments.
957
59a629f1
RM
9582012-08-23 Roland McGrath <roland@hack.frob.com>
959
960 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
961 * posix/tst-rfc3484-2.c: Likewise.
962 * posix/tst-rfc3484-3.c: Likewise.
963
d3bafbc9
SM
9642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
965
966 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
967 (EF_ARM_ABI_FLOAT_HARD): Likewise.
968
4efcc022
JM
9692012-08-23 Joseph Myers <joseph@codesourcery.com>
970
971 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
972 #include of fxstatat64.c.
973
3cc3ef96
RM
9742012-08-22 Roland McGrath <roland@hack.frob.com>
975
f04e2132
RM
976 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
977 * shadow/getspent_r.c: Likewise.
978 * shadow/getspnam.c: Likewise.
979 * shadow/getspnam_r.c: Likewise.
980 * gshadow/getsgent.c: Likewise.
981 * gshadow/getsgent_r.c: Likewise.
982 * gshadow/getsgnam.c: Likewise.
983 * gshadow/getsgnam_r.c: Likewise.
984 * inet/getnetbyad.c: Likewise.
985 * inet/getnetbyad_r.c: Likewise.
986 * inet/getnetbynm.c: Likewise.
987 * inet/getnetbynm_r.c: Likewise.
988 * inet/getnetent.c: Likewise.
989 * inet/getnetent_r.c: Likewise.
990 * inet/getproto.c: Likewise.
991 * inet/getproto_r.c: Likewise.
992 * inet/getprtent.c: Likewise.
993 * inet/getprtent_r.c: Likewise.
994 * inet/getprtname.c: Likewise.
995 * inet/getprtname_r.c: Likewise.
996 * inet/getrpcbyname.c: Likewise.
997 * inet/getrpcbyname_r.c: Likewise.
998 * inet/getrpcbynumber.c: Likewise.
999 * inet/getrpcbynumber_r.c: Likewise.
1000 * inet/getrpcent.c: Likewise.
1001 * inet/getrpcent_r.c: Likewise.
1002 * inet/getaliasent.c: Likewise.
1003 * inet/getaliasent_r.c: Likewise.
1004 * inet/getaliasname.c: Likewise.
1005 * inet/getaliasname_r.c: Likewise.
1006 * nscd/getgrgid_r.c: Likewise.
1007 * nscd/getgrnam_r.c: Likewise.
1008 * nscd/gethstbyad_r.c: Likewise.
1009 * nscd/gethstbynm3_r.c: Likewise.
1010 * nscd/getpwnam_r.c: Likewise.
1011 * nscd/getpwuid_r.c: Likewise.
1012 * nscd/getsrvbynm_r.c: Likewise.
1013 * nscd/getsrvbypt_r.c: Likewise.
1014 * nscd/gai.c: Likewise.
1015
c53d909c
RM
1016 * configure.in (build_nscd): New substituted variable, set
1017 by --disable-build-nscd and defaults to $use_nscd.
1018 * configure: Regenerated.
1019 * config.make.in (build-nscd): New substituted variable.
1020 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1021 Change conditional to require [$(build-nscd) = yes] as well.
1022 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1023
3cc3ef96
RM
1024 [BZ# 13696]
1025 * configure.in (use_nscd): New substituted variable, set by
1026 --disable-nscd. If enabled, define USE_NSCD.
1027 * configure: Regenerated.
1028 * config.h.in: Add USE_NSCD.
1029 * config.make.in (use-nscd): New substituted variable.
1030 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1031 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1032 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1033 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1034 (CFLAGS-getgrnam_r.c): Likewise.
1035 (CFLAGS-initgroups.c): Likewise.
1036 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1037 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1038 Variables removed.
1039 * inet/getnetgrent_r.c
1040 (nscd_setnetgrent): New function, broken out of ...
1041 (setnetgrent): ... here. Call it.
1042 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1043 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1044 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1045 * nscd/Makefile (routines, aux): Move definitions after include of
1046 Makeconfig. Conditionalize on [$(use-nscd) != no].
1047 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1048 Conditionalize on [USE_NSCD].
1049 (is_nscd, nscd_init_cb): Likewise.
1050 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1051 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1052 * nss/nss_db/db-init.c: Likewise.
1053 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1054 [USE_NSCD].
1055 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1056 (make_request): Use it.
1057 (cache_valid_p): New function.
1058 (__check_pf): Use it.
1059 * NEWS: Add item for --disable-nscd.
1060
07e51550
DL
10612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1062
1063 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1064 to support sed >= 4.2.1-20-ga9bf076.
1065 * configure: Regenerated.
1066
35a5b08b
RM
10672012-08-22 Roland McGrath <roland@hack.frob.com>
1068
1069 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1070 Conditionalize whole body on [IREL].
1071
8479f23a
JL
10722012-08-22 Jeff Law <law@redhat.com>
1073
1074 [BZ #14505]
1075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1076 if the family is PF_UNSPEC.
1077
48da0b21
MF
10782012-08-22 Mike Frysinger <vapier@gentoo.org>
1079
1080 * Makerules (lib-version): Rename from V.
1081 (install-lib-nosubdir): Change V to lib-version.
1082
15d0da8c
WS
10832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1084
1085 [BZ #14252]
1086 * powerpc32/power6/wcschr.c: New file.
1087 * powerpc32/power6/wcscpy.c: New file.
1088 * powerpc32/power6/wcsrchr.c: New file.
1089 * powerpc64/power6/wcschr.c: New file.
1090 * powerpc64/power6/wcscpy.c: New file.
1091 * powerpc64/power6/wcsrchr.c: New file.
1092
bcca0895
MK
10932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1094
1095 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1096 (two_way_short_needle): Use it.
5a4aaa33
RM
1097 * string/strstr.c (AVAILABLE1_USES_J): Define.
1098 * string/strcasestr.c: Likewise.
99677e57
MK
1099
1100 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1101 array references.
1102 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1103
400726de
MK
1104 [BZ #11607]
1105 * NEWS: Add an entry.
1106 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1107 define their defaults.
1108 (two_way_short_needle): Detect end-of-string on-the-fly.
1109 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1110 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1111 * string/bug-strcasestr1.c: New test.
1112 * string/Makefile: Run it.
1113
20a71f2c
MK
11142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1115
1116 [BZ #11607]
1117 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1118 the first character.
1119
21ad0558
RM
11202012-08-21 Roland McGrath <roland@hack.frob.com>
1121
1122 * csu/elf-init.c (__libc_csu_irel): Function removed.
1123 * csu/libc-start.c (apply_irel): New function.
1124 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1125
0e1d9911
JM
11262012-08-21 Joseph Myers <joseph@codesourcery.com>
1127
1128 * sysdeps/unix/sysv/linux/kernel-features.h
1129 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1130 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1131 <kernel-features.h>.
1132 [__NR_fadvise64_64]: Make code unconditional.
1133 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1134 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1135 !__NR_fadvise64_64)]: Likewise.
1136 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1137 !__NR_fadvise64_64))]: Likewise.
1138 [__NR_fadvise64]: Make code unconditional.
1139 [!__NR_fadvise64]: Remove conditional code.
1140 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1141 <kernel-features.h>.
1142 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1143 unconditional.
1144 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1145 conditional code.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1147 not include <kernel-features.h>.
1148 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1149 unconditional.
1150 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1151 conditional code.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1153 include <kernel-features.h>.
1154 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1155 unconditional.
1156 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1157 conditional code.
1158
14a50c9d
WS
11592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1160
1161 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1162 slight instruction rearrangements per scrollpipe analysis.
1163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1164
c0f4faf0
RM
11652012-08-20 Roland McGrath <roland@hack.frob.com>
1166
696da859
RM
1167 * manual/syslog.texi (syslog; vsyslog, closelog):
1168 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1169 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1170
c0f4faf0
RM
1171 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1172 DSOCAPS to match condition on defining it.
1173
348363b2
JM
11742012-08-20 Joseph Myers <joseph@codesourcery.com>
1175
a35cbf28
JM
1176 * sysdeps/unix/sysv/linux/kernel-features.h
1177 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1179 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1180 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1182 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1183 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1185 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1186 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1187
445f7ecd
JM
1188 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1189 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1190
348363b2
JM
1191 * sysdeps/unix/sysv/linux/kernel-features.h
1192 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1193 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1194 unconditional.
1195 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1196 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1197 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1198 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1199 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1200 Make code unconditional.
1201 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1202 (__mmap64) [!__NR_mmap2]: Likewise.
1203 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1204 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1205 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1206 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1207 [__NR_mmap2]: Make code unconditional.
1208 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1209 (__mmap64) [!__NR_mmap2]: Likewise.
1210
bc5bc0e5
AK
12112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1212
1213 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1214
88d506de
AJ
12152012-08-18 Andreas Jaeger <aj@suse.de>
1216
1217 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1218
493387d2
MF
12192012-08-18 Mike Frysinger <vapier@gentoo.org>
1220
1221 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1222 * include/unistd.h (__have_sock_cloexec): Likewise.
1223 (__have_pipe2): Likewise.
1224 (__have_dup3): Likewise.
1225
a277af22
MF
12262012-08-18 Mike Frysinger <vapier@gentoo.org>
1227
1228 [BZ #9685]
1229 * include/unistd.h (__have_pipe2): Change define into an extern int.
1230 (__have_dup3): Likewise.
1231 * socket/have_sock_cloexec.c: Include fcntl.h.
1232 (__have_pipe2): New variable.
1233 (__have_dup3): Likewise.
1234
fdab8fd3
MF
12352012-08-17 Mike Frysinger <vapier@gentoo.org>
1236
1237 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1238
31035e80
MP
12392012-08-17 Marek Polacek <polacek@redhat.com>
1240
1241 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1242 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1243
3bd9e993
RM
12442012-08-17 Roland McGrath <roland@hack.frob.com>
1245
c91c505f
RM
1246 * configure.in: Add AC_SUBST for sysheaders.
1247 * configure: Regenerated.
1248 * config.make.in (sysheaders): New substituted variable.
1249
7c6f9d53
RM
1250 * sysdeps/unix/mkfifo.c: Moved ...
1251 * sysdeps/posix/mkfifo.c: ... here.
1252 * sysdeps/unix/mkfifoat.c: Moved ...
1253 * sysdeps/posix/mkfifoat.c: ... here.
1254
1255 * sysdeps/unix/utime.c: Moved ...
1256 * sysdeps/posix/utime.c: ... here.
1257
1258 * sysdeps/unix/time.c: Moved ...
1259 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1260 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1261 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1262
1263 * sysdeps/unix/nice.c: Moved ...
1264 * sysdeps/posix/nice.c: ... here.
1265
1266 * sysdeps/unix/alarm.c: Moved ...
1267 * sysdeps/posix/alarm.c: ... here.
1268
3bd9e993
RM
1269 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1270
d1f09384
JL
12712012-08-17 Jeff Law <law@redhat.com>
1272
1273 * intl/Makefile (codeset_mo): New variable.
1274 ($(codeset_mo)): New target.
1275 (tst-codeset.out): Depend on that. Remove explicit rule.
1276 (tst-gettext3.out, tst-gettext5.out): Likewise.
1277 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1278 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1279 * intl/tst-codeset.sh: Remove.
1280 * intl/tst-gettext3.sh: Likewise.
1281 * intl/tst-gettext5.sh: Likewise.
1282
2ae1ae5c
RM
12832012-08-17 Roland McGrath <roland@hack.frob.com>
1284
c31fdb83
RM
1285 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1286 * sysdeps/unix/syscalls.list: ... here.
1287
a0844057
RM
1288 * sysdeps/posix/getaddrinfo.c
1289 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1290 (gaiconf_init, gaiconf_reload): Use them.
1291 [!_STATBUF_ST_NSEC]
1292 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1293 Define using time_t rather than struct timespec.
1294
750c1f2a
RM
1295 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1296 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1297 Macros removed.
1298 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1299 [!NO_THREADS].
1300 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1301 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1302 Likewise.
1303
2ae1ae5c
RM
1304 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1305 __libc_cleanup_push argument.
1306
e66a42f5
RM
1307 * bits/param.h: New file.
1308 * misc/sys/param.h: New file.
1309 * include/sys/param.h: New file.
1310 * misc/Makefile (headers): Add bits/param.h.
1311 * sysdeps/generic/sys/param.h: File removed.
1312 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1313 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1314 * sysdeps/mach/hurd/bits/param.h: New file.
1315 * sysdeps/mach/hurd/sys/param.h: New file.
1316
b7c08a66
RM
1317 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1318 last change.
1319
b2e1c562
RM
1320 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1321 [_IO_MTSAFE_IO].
1322 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1323 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1324 New macros.
1325
c75ccd4c
RM
1326 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1327 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1328 rather than -D_IO_MTSAFE_IO conditionally.
1329 * stdio-common/Makefile (CPPFLAGS): Likewise.
1330 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1331 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1332 Use $(libio-mtsafe).
1333 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1334 of -D_IO_MTSAFE_IO.
1335 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1336 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1337 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1338 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1339 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1340 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1341 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1342 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1343 (CFLAGS-fread_u_chk.c): Likewise.
1344 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1345 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1346 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1347 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1348 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1349 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1350 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1351 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1352 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1353
1354 * libio/Makefile: Test [$(libc-reentrant) = yes]
1355 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1356
1357 * Makeconfig
1358 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1359 * sysdeps/pthread/configure: File removed.
1360 * sysdeps/pthread/Makeconfig: New file.
1361 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1362 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1363
d9195db8
GB
13642012-08-16 Gary Benson <gbenson@redhat.com>
1365
1366 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1367 unmapping the first object in a namespace.
1368
86466cd9
RM
13692012-08-16 Roland McGrath <roland@hack.frob.com>
1370
1371 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1372 (__internal_setnetgrent): ... this. Add internal_function to
1373 definition. Add libc_hidden_def.
1374 (setnetgrent): Update caller.
1375 (internal_endnetgrent): Renamed to ...
1376 (__internal_endnetgrent): ... this. Add internal_function to
1377 definition. Add libc_hidden_def.
1378 (endnetgrent): Update caller.
1379 (internal_getnetgrent_r): Renamed to ...
1380 (__internal_getnetgrent_r): ... this. Add internal_function to
1381 definition. Add libc_hidden_def.
1382 (__getnetgrent_r): Update caller.
1383 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1384
c3c8283c
JM
13852012-08-16 Joseph Myers <joseph@codesourcery.com>
1386
1387 * stdlib/longlong.h: Update from GCC.
1388
db1ee0a8
RM
13892012-08-16 Roland McGrath <roland@hack.frob.com>
1390
1391 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1392 on _QL, which is set by umul_ppmm but never used.
1393 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1394 variables, which are set by GMP macros but never used.
1395 * stdio-common/_itowa.c (_itowa): Likewise.
1396 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1397 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1398
30f69637
CD
13992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1400
1401 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1402 struct La_sh_regs is not constant.
1403 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1404 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1405 and struct La_sparc64_regs are not constant.
1406
93a78ac4
JM
14072012-08-16 Joseph Myers <joseph@codesourcery.com>
1408
1409 * sysdeps/unix/sysv/linux/kernel-features.h
1410 (__ASSUME_POSIX_TIMERS): Remove.
1411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1412 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1413 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1414 Make code unconditional.
1415 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1417 Make code unconditional.
1418 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1419 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1420 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1421 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1422 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1423 Make code unconditional.
1424 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1425 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1426 (__libc_missing_posix_timers): Remove.
1427
dd924cd7
RM
14282012-08-15 Roland McGrath <roland@hack.frob.com>
1429
4b4f2771
RM
1430 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1431 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1432
601c888b
RM
1433 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1434
176790a7
RM
1435 * elf/dl-sym.c: Include <stdlib.h>.
1436
329bc018
RM
1437 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1438 constants, which avoids warnings in 32-bit builds.
1439
e04e272d
RM
1440 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1441 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1442
952bf94a
RM
1443 * misc/lseek.c: File moved to ...
1444 * io/lseek.c: ... here.
1445
7c99b50a
RM
1446 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1447
dd924cd7
RM
1448 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1449 shifting LEN more than 31 bits at once.
1450
b3f479a8
LD
14512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1452
1453 [BZ #14195]
8c4ae0d4
RM
1454 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1455 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1456 * string/test-strncasecmp.c (check1): Renamed to...
1457 (bz12205): ...this.
1458 (bz14195): Add new testcase for two empty input strings and N > 0.
1459 (test_main): Call new testcase, adapt for renamed function.
1460
9c55864e
AJ
14612012-08-15 Andreas Jaeger <aj@suse.de>
1462
1463 [BZ #14090]
1464 * crypt/md5test2.c: New test, based on test supplied by Serge
1465 Belyshev <belyshev@depni.sinp.msu.ru>.
1466 * crypt/Makefile (xtests): Add md5test-giant..
1467 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1468
02dcb6c5
PE
14692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1470
1471 [BZ #14090]
1472 * crypt/md5.c (md5_process_block): Don't assume the buffer
1473 length is less than 2**32.
1474 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1475 length is less than 2**64.
1476
a3f95dcc
RM
14772012-08-15 Roland McGrath <roland@hack.frob.com>
1478
be75d758
RM
1479 * string/str-two-way.h: Include <sys/param.h>.
1480 (MAX): Macro removed.
1481
7312ca90
RM
1482 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1483 Move #define and #undef of memmove to just before and after
1484 including <string.h>.
1485
9a0a5486
RM
1486 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1487 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1488 and after including <string.h>. Move declarations of
1489 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1490 to before #include "string/memmove.c".
1491
67cc348d
RM
1492 * include/dirent.h: Declare __getdirentries.
1493
a3f95dcc
RM
1494 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1495 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1496
ca98e171
MF
14972012-08-14 Mike Frysinger <vapier@gentoo.org>
1498
1499 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1500 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1501 * sysdeps/i386/configure: Regenerated.
1502 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1503 STABS_CURRENT_FILE, and STABS_FUN.
1504 (END): Remove call to STABS_FUN_END.
1505 (STABS_CURRENT_FILE1): Delete.
1506 (STABS_CURRENT_FILE): Likewise.
1507 (STABS_FUN): Likewise.
1508 (STABS_FUN_END): Likewise.
1509 (STABS_FUN2): Likewise.
1510 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1511 * sysdeps/x86_64/configure: Regenerated.
1512
5908bf46
RM
15132012-08-14 Roland McGrath <roland@hack.frob.com>
1514
1515 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1516 * elf/dl-lookup.c: Likewise.
5908bf46 1517
f2c05b9e
JM
15182012-08-14 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/sysv/linux/kernel-features.h
1521 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1522 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1523 unconditionally.
1524 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1525 unconditionally.
1526 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1527 condition on __ASSUME_CLONE_THREAD_FLAGS.
1528
e11f5155
AJ
15292012-08-14 Andreas Jaeger <aj@suse.de>
1530
1531 * sysdeps/i386/fpu/libm-test-ulps: Update.
1532
51a9ba86
MK
15332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1534
2fdd4f78
AJ
1535 * include/atomic.h (atomic_exchange_and_add): Split into ...
1536 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1537 New atomic macros.
51a9ba86 1538
ba6cba9e
MT
15392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1540
1541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1542
42443a47
JL
15432012-08-13 Jeff Law <law@redhat.com>
1544
1545 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1546 null byte in the output string.
1547
121dce05
JM
15482012-08-10 Joseph Myers <joseph@codesourcery.com>
1549
1550 * sysdeps/unix/sysv/linux/kernel-features.h
1551 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1552 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1553 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1554 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1555 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1556 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1557 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1558
bf51f568
JL
15592012-08-09 Jeff Law <law@redhat.com>
1560
1561 [BZ #13939]
1562 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1563 When avoid_arena is set, don't retry in the that arena. Pick the
1564 next one, whatever it might be.
1565 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1566 (arena_lock): Pass in new parameter to arena_get2.
1567 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1568 arena_get2.
1569 (__libc_malloc): Unify retrying after main arena failure with
1570 __libc_memalign version.
1571 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1572
f85fa270
L
15732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 [BZ #14166]
1576 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1577 to __redirect_strstr.
1578 (__strstr_sse42): Use typeof __redirect_strstr.
1579 (__strstr_ia32): Likewise.
1580 (__libc_strstr): New prototype.
1581 (strstr): Renamed to ...
1582 (__libc_strstr): This.
1583 (strstr): New strong alias of __libc_strstr.
1584 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1585 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1586 __redirect_time.
1587 Include <time.h>.
1588 (__libc_time): New prototype.
1589 (time_ifunc): Replace time with __libc_time.
1590 (time): New strong alias and hidden definition of __libc_time.
1591 (__GI_time): Remove strong alias.
1592 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1593 Include <stddef.h>.
1594 (memmove): Redefined to __redirect_memmove.
1595 (__memmove_sse2): Use typeof __redirect_memmove.
1596 (__memmove_ssse3): Likewise.
1597 (__memmove_ssse3_back): Likewise.
1598 (__libc_memmove): New prototype.
1599 (memmove): Renamed to ...
1600 (__libc_memmove): This.
1601 (memmove): New strong alias of __libc_memmove.
1602
33b4a91e
MS
16032012-08-08 Mark Salter <msalter@redhat.com>
1604
1605 * elf/elf.h
1606 (R_MN10300_TLS_GD): Define.
1607 (R_MN10300_TLS_LD): Likewise.
1608 (R_MN10300_TLS_LDO): Likewise.
1609 (R_MN10300_TLS_GOTIE): Likewise.
1610 (R_MN10300_TLS_IE): Likewise.
1611 (R_MN10300_TLS_LE): Likewise.
1612 (R_MN10300_TLS_DTPMOD): Likewise.
1613 (R_MN10300_TLS_DTPOFF): Likewise.
1614 (R_MN10300_TLS_TPOFF): Likewise.
1615 (R_MN10300_SYM_DIFF): Likewise.
1616 (R_MN10300_ALIGN): Likewise.
1617 (R_MN10300_NUM): Update.
1618
b36137f1
JM
16192012-08-08 Joseph Myers <joseph@codesourcery.com>
1620
1621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1622 Remove.
1623
cdd915fd
RM
16242012-08-08 Roland McGrath <roland@hack.frob.com>
1625
a2433aac
RM
1626 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1627
cdd915fd
RM
1628 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1629 sysdeps/unix -> sysdeps/posix move.
1630 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1631
bf9b740a
AM
16322012-08-07 Allan McRae <allan@archlinux.org>
1633
1634 [BZ #14303]
1635 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1636 (SUNOS_CPP): Likewise.
1637 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1638 not found.
1639 (open_input): Call CPP using execvp.
1640
93df14ee
JM
16412012-08-07 Joseph Myers <joseph@codesourcery.com>
1642
1643 * sysdeps/unix/sysv/linux/kernel-features.h
1644 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1645 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1646 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1647 (__ASSUME_WAITID_SYSCALL): Likewise.
1648 * sysdeps/unix/sysv/linux/dl-execstack.c
1649 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1650 code unconditional.
1651 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1652 conditional code.
1653 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1654 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1655 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1656 code.
1657 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1658 unconditional.
1659 [__ASSUME_WAITID_SYSCALL]: Likewise.
1660 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1661
d34689de
RM
16622012-08-07 Roland McGrath <roland@hack.frob.com>
1663
a281decc
RM
1664 * sysdeps/unix/closedir.c: Renamed to ...
1665 * sysdeps/posix/closedir.c: ... here.
1666 * sysdeps/unix/dirfd.c: Renamed to ...
1667 * sysdeps/posix/dirfd.c: ... here.
1668 * sysdeps/unix/dirstream.h: Renamed to ...
1669 * sysdeps/posix/dirstream.h: ... here.
1670 * sysdeps/unix/fdopendir.c: Renamed to ...
1671 * sysdeps/posix/fdopendir.c: ... here.
1672 * sysdeps/unix/opendir.c: Renamed to ...
1673 * sysdeps/posix/opendir.c: ... here.
1674 * sysdeps/unix/readdir.c: Renamed to ...
1675 * sysdeps/posix/readdir.c: ... here.
1676 * sysdeps/unix/readdir_r.c: Renamed to ...
1677 * sysdeps/posix/readdir_r.c: ... here.
1678 * sysdeps/unix/rewinddir.c: Renamed to ...
1679 * sysdeps/posix/rewinddir.c: ... here.
1680 * sysdeps/unix/seekdir.c: Renamed to ...
1681 * sysdeps/posix/seekdir.c: ... here.
1682 * sysdeps/unix/telldir.c: Renamed to ...
1683 * sysdeps/posix/telldir.c: ... here.
1684 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1685 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1686 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1687 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1688
22895b47
RM
1689 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1690 * bits/fcntl.h: ... here.
1691
707a53b6
RM
1692 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1693 not 0.
1694 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1695 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1696 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1697 (struct flock): Move l_start, l_len to the beginning.
1698 Use __pid_t for l_pid.
1699 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1700 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1701 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1702 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1703 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1704 [__USE_LARGEFILE64] (struct flock64): New type.
1705 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1706
f0bd3e25
RM
1707 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1708 * bits/dirent.h: ... here.
1709
d34689de
RM
1710 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1711 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1712
6dad2c06
JM
17132012-08-07 Joseph Myers <joseph@codesourcery.com>
1714
1715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1716 Change from 2.6.0 to 2.6.16.
1717 * sysdeps/unix/sysv/linux/configure: Regenerated.
1718 * sysdeps/unix/sysv/linux/kernel-features.h
1719 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1720 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1721 version.
1722 (__ASSUME_UTIMES): Likewise.
1723 (__ASSUME_CLONE_STOPPED): Remove.
1724 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1725 architectures, not kernel version.
1726 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1727 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1728 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1729 (__ASSUME_WAITID_SYSCALL): Likewise.
1730 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1731 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1732 * README: State 2.6.16 as minimum Linux kernel version. Do not
1733 refer to older versions.
1734
03af9520
RM
17352012-08-06 Roland McGrath <roland@hack.frob.com>
1736
8e49df1d
RM
1737 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1738 Define alphasort64 as an alias.
1739 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1740 Define versionsort64 as an alias.
1741 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1742 Define scandir64 as an alias.
1743 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1744 Define scandirat64 as an alias.
1745 * dirent/alphasort64.c (alphasort64):
1746 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1747 * dirent/versionsort64.c: Likewise.
1748 * dirent/scandir64.c: Likewise.
1749 * dirent/scandirat64.c: Likewise.
1750 * sysdeps/wordsize-64/alphasort.c: File removed.
1751 * sysdeps/wordsize-64/alphasort64.c: File removed.
1752 * sysdeps/wordsize-64/scandir.c: File removed.
1753 * sysdeps/wordsize-64/scandir64.c: File removed.
1754 * sysdeps/wordsize-64/scandirat.c: File removed.
1755 * sysdeps/wordsize-64/scandirat64.c: File removed.
1756 * sysdeps/wordsize-64/versionsort.c: File removed.
1757 * sysdeps/wordsize-64/versionsort64.c: File removed.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1766
1767 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1769 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1771 [defined __arch64__ || defined __sparcv9]
1772 (__INO_T_MATCHES_INO64_T): New macro.
1773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1774 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1775 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1776 * sysdeps/unix/sysv/linux/bits/dirent.h
1777 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1778 (_DIRENT_MATCHES_DIRENT64): New macro.
1779
03af9520
RM
1780 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1781 Define lockf64 as an alias.
1782 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1783 Define fseeko64 as an alias.
1784 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1785 Define ftello64 as an alias.
1786 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1787 Define _IO_fgetpos64 and fgetpos64 as aliases.
1788 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1789 Define _IO_fsetpos64 and fsetpos64 as aliases.
1790 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1791 Conditionalize body on this.
1792 * libio/fseeko64.c: Likewise.
1793 * libio/ftello64.c: Likewise.
1794 * libio/iofgetpos64.c: Likewise.
1795 * libio/iofsetpos64.c: Likewise.
1796 * sysdeps/wordsize-64/lockf.c: File removed.
1797 * sysdeps/wordsize-64/lockf64.c: File removed.
1798 * sysdeps/wordsize-64/fseeko.c: File removed.
1799 * sysdeps/wordsize-64/fseeko64.c: File removed.
1800 * sysdeps/wordsize-64/ftello.c: File removed.
1801 * sysdeps/wordsize-64/ftello64.c: File removed.
1802 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1803 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1804 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1805 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1816
1817 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1818 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1819 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1821 [defined __arch64__ || defined __sparcv9]
1822 (__OFF_T_MATCHES_OFF64_T): New macro.
1823 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1824 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1826 (__OFF_T_MATCHES_OFF64_T): New macro.
1827
c5757acd
L
18282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * stdlib/secure-getenv.c (__secure_getenv): Replace
1831 GLIBC_2_16 with GLIBC_2_17.
1832
3a31811e
L
18332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1837
faa2bccb
DM
18382012-08-03 David S. Miller <davem@davemloft.net>
1839
1840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1841
85fe1997
JM
18422012-08-03 Joseph Myers <joseph@codesourcery.com>
1843
1844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1845 Remove.
1846 (__ASSUME_CORRECT_SI_PID): Likewise.
1847 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1848 (__ASSUME_TMPFS_NAME): Likewise.
1849 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1850 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1851 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1852 (HAVE_AUX_SECURE): Make definition unconditional.
1853 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1854 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1855
4f75b7a0
RM
18562012-08-03 Roland McGrath <roland@hack.frob.com>
1857
1858 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1859 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1860 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1861 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1862 __eloop_threshold instead of SYMLOOP_MAX.
1863
1864 * sysdeps/generic/eloop-threshold.h: New file.
1865 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1866 of MAXSYMLINKS.
1867 * elf/chroot_canon.c (chroot_canon): Likewise.
1868
7aab07e4
JM
18692012-08-03 Joseph Myers <joseph@codesourcery.com>
1870
1871 [BZ #13717]
1872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1873 Change to 2.6.0 everywhere.
1874 * sysdeps/unix/sysv/linux/configure: Regenerated.
1875 * sysdeps/unix/sysv/linux/kernel-features.h
1876 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1877 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1878 kernel versions.
1879 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1880 (__ASSUME_FUTEX_REQUEUE): Remove.
1881 (__ASSUME_STATFS64): Define unconditionally.
1882 (__ASSUME_AT_SECURE): Likewise.
1883 (__ASSUME_CORRECT_SI_PID): Likewise.
1884 (__ASSUME_TGKILL): Define without depending on kernel version for
1885 i386.
1886 (__ASSUME_UTIMES): Likewise.
1887 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1888 kernel version.
1889 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1890 (__ASSUME_TMPFS_NAME): Likewise.
1891 * README: Update reference to Linux kernel versions.
1892
b67e9372
MP
18932012-08-02 Marek Polacek <polacek@redhat.com>
1894
1f529f7d 1895 [BZ# 14150]
b67e9372
MP
1896 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1897 libc_cv_asm_type_prefix with %.
1898 * configure: Regenerated.
d2441631
RM
1899 * include/libc-symbols.h: Remove comment about
1900 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1901 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1902 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1903 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1904 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1905 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1906 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1907 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1908 * elf/tst-unique2mod1.c: Likewise.
1909 * elf/tst-unique1mod2.c: Likewise.
1910 * elf/tst-unique1mod1.c: Likewise.
1911 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1912 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1913 Replace ASM_TYPE_DIRECTIVE with .type.
1914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1915 * sysdeps/i386/sysdep.h: Likewise.
1916 * sysdeps/x86_64/sysdep.h: Likewise.
1917 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1919 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1920 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1921 * sysdeps/powerpc/powerpc32/sysdep.h:
1922 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1923 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1924 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1925 * sysdeps/i386/fpu/e_powf.S: Likewise.
1926 * sysdeps/i386/fpu/e_expl.S: Likewise.
1927 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1929 * sysdeps/i386/fpu/e_pow.S: Likewise.
1930 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1931 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1932 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1933 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1934 * sysdeps/i386/fpu/e_log2.S: Likewise.
1935 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1937 * sysdeps/i386/fpu/e_powl.S: Likewise.
1938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1939 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1940 * sysdeps/i386/fpu/e_logl.S: Likewise.
1941 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1942 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1943 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1946 * sysdeps/i386/fpu/e_log.S: Likewise.
1947 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1948 * sysdeps/i386/fpu/e_logf.S: Likewise.
1949 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1951 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1952 * sysdeps/i386/fpu/e_log10.S: Likewise.
1953 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1955 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1956 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1957 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1959 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1960 * sysdeps/i386/i686/strtok.S: Likewise.
1961 * sysdeps/i386/i386-mcount.S: Likewise.
1962 * sysdeps/i386/strtok.S: Likewise.
1963 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1964 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1966 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1967 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1969 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1970 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1972 * sysdeps/x86_64/_mcount.S: Likewise.
1973 * sysdeps/x86_64/strtok.S: Likewise.
1974 * sysdeps/sh/_mcount.S: Likewise.
1975
2747bf9a
RM
19762012-08-01 Roland McGrath <roland@hack.frob.com>
1977
1978 * libio/iofopen.c: Include <fcntl.h>.
1979 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1980 (_IO_fopen64, fopen64): Define as aliases.
1981 * libio/iofopen64.c: Include <fcntl.h>.
1982 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1983 Conditionalize body on this.
1984 * sysdeps/wordsize-64/iofopen.c: File removed.
1985 * sysdeps/wordsize-64/iofopen64.c: File removed.
1986
3fb791b8
MP
19872012-08-01 Marek Polacek <polacek@redhat.com>
1988
1989 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1990 Use dlfcn directly instead of a variable.
1991 (binfmt-subdir): Do not define.
1992 (dlfcn): Likewise.
1993
a9f1039f
JM
19942012-08-01 Joseph Myers <joseph@codesourcery.com>
1995
23bddc06
JM
1996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1997 Remove all definitions.
1998 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1999 <kernel-features.h>.
2000 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2001 (miss_F_GETOWN_EX): Remove all definitions.
2002 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2003 macro definition.
2004 [!__ASSUME_FCNTL64]: Remove conditional code.
2005 [__ASSUME_FCNTL64]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2007 <kernel-features.h>.
2008 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2009 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2010 (lockf64) [__NR_fcntl64]: Make code unconditional.
2011 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2012
a9f1039f
JM
2013 * sysdeps/unix/sysv/linux/kernel-features.h
2014 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2015 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2016 Make code unconditional.
2017 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2018 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2020 [__NR_vfork]: Make code unconditional.
2021 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2022 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2024 [__NR_vfork]: Make code unconditional.
2025 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2026 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2027
09c0ee5f
RM
20282012-08-01 Roland McGrath <roland@hack.frob.com>
2029
48aec5b9
RM
2030 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2031 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2032
cd97c966
RM
2033 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2034 Define mkstemp64 as an alias.
3f55550c
RM
2035 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2036 Define mkstemps64 as an alias.
cd97c966
RM
2037 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2038 Define mkostemp64 as an alias.
b8625cfc
RM
2039 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2040 Define mkostemps64 as an alias.
cd97c966
RM
2041 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2042 Conditionalize body on this.
2043 * misc/mkostemp64.c: Likewise.
b8625cfc 2044 * misc/mkostemps64.c: Likewise.
3f55550c 2045 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2046 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2047 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2048 * sysdeps/wordsize-64/mkostemp.c: File removed.
2049 * sysdeps/wordsize-64/mkstemp.c: File removed.
2050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2053 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2054
09c0ee5f
RM
2055 [BZ #14138]
2056 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2057 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2058 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2059 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2060
2061 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2062 compat_symbol macros from <shlib-compat.h> rather than the underlying
2063 default_symbol_version and symbol_version macros, so that DEFAULT
2064 lines in shlib-versions are respected.
2065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2066
7e66ee51
FW
20672012-08-01 Florian Weimer <fweimer@redhat.com>
2068
2069 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2070 Declare with warn_unused_result.
2071 (setgid, setregid, setegid, setresgid): Likewise.
2072 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2073 Likewise.
2074 * WUR-REPORT: Remove set*id functions.
2075
d2a54255
PT
20762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2077
2078 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2079
7ecdb005
RM
20802012-07-31 Roland McGrath <roland@hack.frob.com>
2081
789bd351
RM
2082 * include/sys/socket.h (__libc_accept, __libc_accept4):
2083 Add attribute_hidden.
2084 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2085
40ce302d
RM
2086 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2087 use of PTR_MANGLE.
2088 * inet/getnetgrent_r.c (setup): Likewise.
2089
7ecdb005
RM
2090 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2091
e2eabb2c
DM
20922012-07-31 David S. Miller <davem@davemloft.net>
2093
2094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2095
d0419dbf
JM
20962012-07-31 Joseph Myers <joseph@codesourcery.com>
2097
2098 [BZ #13629]
2099 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2100 value between 1.0 and 2.0 and smaller part has absolute value less
2101 than 1.0.
2102 * math/s_clog10.c (__clog10): Likewise.
2103 * math/s_clog10f.c (__clog10f): Likewise.
2104 * math/s_clog10l.c (__clog10l): Likewise.
2105 * math/s_clogf.c (__clogf): Likewise.
2106 * math/s_clogl.c (__clogl): Likewise.
2107 * math/libm-test.inc (clog_test): Add more tests.
2108 (clog10_test): Likewise.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111
2bc13872
FW
21122012-07-31 Florian Weimer <fweimer@redhat.com>
2113
2114 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2115 Exit with zero in case no suitable GID is found, and write a
2116 message to standard error.
2117
bea9b193
RM
21182012-07-30 Roland McGrath <roland@hack.frob.com>
2119
2120 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2121 rather than to 1.
2122 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2123 (MAXPATHLEN): Removed.
2124 (NOGROUP, NODEV): New macros.
2125 (setbit, clrbit, isset, isclr): New macros.
2126 (howmany, roundup, powerof2): New macros.
2127 (DEV_BSIZE): New macro.
2128
2129 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2130 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2131
2132 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2133 definition on [!__NO_LONG_DOUBLE_MATH].
2134
2135 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2136 PTR_MANGLE and PTR_DEMANGLE.
2137
2138 * socket/accept4.c (accept4): Rename to __libc_accept4.
2139 Define accept4 as a weak alias.
2140
2141 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2142 on [_DIRENT_HAVE_D_TYPE].
2143 * io/ftw.c (ftw_dir): Likewise.
2144
2145 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2146
2147 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2148
2149 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2150 Use the BSD numbers rather than the arbitrary ones we had.
2151 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2152 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2153 (SIGXCPU, SIGXFSZ): New macros.
2154 (_NSIG): Now 32.
2155
2156 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2157 initializer on [_LIBC_REENTRANT].
2158
2159 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2160 definitions inside [_POSIX_MAPPED_FILES].
2161
2162 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2163
2164 * dirent/opendir.c: Include <fcntl.h>.
2165
2166 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2167 (__libc_getspecific): Likewise.
2168 (__libc_key_create): Likewise.
2169
2170 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2171 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2172 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2173 (tmpfile64): Define as alias.
2174 * sysdeps/wordsize-64/tmpfile.c: File removed.
2175 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2176 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2178
2179 * stdio-common/vfscanf.c: Include <stdbool.h>.
2180 * nss/makedb.c: Likewise.
2181 * stdio-common/_i18n_number.h: Likewise.
2182 * argp/argp-help.c: Likewise.
2183 * posix/wordexp.c: Likewise.
2184 * sysdeps/posix/spawni.c: Likewise.
2185 * nss/nss_files/files-initgroups.c: Likewise.
2186 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2187 * nss/nss_files/files-initgroups.c: Likewise.
2188 * nss/nss_db/db-netgrp.c: Likewise.
2189 * nss/nss_db/db-initgroups.c: Likewise.
2190 * io/fchmodat.c: Include <sys/stat.h>.
2191
2192 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2193 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2194
2195 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2196 [HAVE_MMAP].
2197
2198 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2199 Add multiple inclusion protection.
2200
e5abc686
DM
22012012-07-27 David S. Miller <davem@davemloft.net>
2202
2203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2204
815e6fa3
GB
22052012-07-27 Gary Benson <gbenson@redhat.com>
2206
2207 [BZ #14298]
2208 * elf/rtld.c: Include <stap-probe.h>.
2209 (dl_main): Added static probes "init_start" and "init_complete".
2210 * elf/dl-load.c: Include <stap-probe.h>.
2211 (lose): Take new parameter "nsid".
2212 Added static probe "map_failed".
2213 (_dl_map_object_from_fd): Pass namespace id to lose.
2214 Added static probe "map_start".
2215 (open_verify): Pass namespace id to lose.
2216 * elf/dl-open.c: Include <stap-probe.h>.
2217 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2218 and "reloc_complete".
2219 * elf/dl-close.c: Include <stap-probe.h>.
2220 (_dl_close_worker): Added static probes "unmap_start" and
2221 "unmap_complete".
2222 * elf/rtld-debugger-interface.txt: New file documenting the above.
2223
9f98c16c
RM
22242012-07-26 Roland McGrath <roland@hack.frob.com>
2225
2226 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2227 rather than a string variable.
2228 * sunrpc/rpc_main.c (h_output): Likewise.
2229 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2230
f3c22df3
PT
22312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2232
2233 * inet/check_native.c: New file.
2234
3129cfc6
JM
22352012-07-26 Joseph Myers <joseph@codesourcery.com>
2236
da865e95
JM
2237 [BZ #13629]
2238 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2239 if larger part has absolute value 1.0.
2240 * math/s_clog10.c (__clog10): Likewise.
2241 * math/s_clog10f.c (__clog10f): Likewise.
2242 * math/s_clog10l.c (__clog10l): Likewise.
2243 * math/s_clogf.c (__clogf): Likewise.
2244 * math/s_clogl.c (__clogl): Likewise.
2245 * math/libm-test.inc (clog_test): Add more tests.
2246 (clog10_test): Likewise.
2247 * sysdeps/i386/fpu/libm-test-ulps: Update.
2248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2249
3129cfc6
JM
2250 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2251 (pltexit): Likewise.
2252 (La_regs): Likewise.
2253 (La_retval): Likewise.
2254 (int_retval): Likewise.
2255 Update #error for removed macros to refer only to definitions in
2256 tst-audit.h.
2257 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2258 macro.
2259 (pltexit): Likewise.
2260 (La_regs): Likewise.
2261 (La_retval): Likewise.
2262 (int_retval): Likewise.
2263 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2264 macro.
2265 (pltexit): Likewise.
2266 (La_regs): Likewise.
2267 (La_retval): Likewise.
2268 (int_retval): Likewise.
2269 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2270 macro.
2271 (pltexit): Likewise.
2272 (La_regs): Likewise.
2273 (La_retval): Likewise.
2274 (int_retval): Likewise.
2275 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2276 macro.
2277 (pltexit): Likewise.
2278 (La_regs): Likewise.
2279 (La_retval): Likewise.
2280 (int_retval): Likewise.
2281 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2282 macro.
2283 (pltexit): Likewise.
2284 (La_regs): Likewise.
2285 (La_retval): Likewise.
2286 (int_retval): Likewise.
2287 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2288 macro.
2289 (pltexit): Likewise.
2290 (La_regs): Likewise.
2291 (La_retval): Likewise.
2292 (int_retval): Likewise.
2293 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2294 macro definitions in tst-audit.h.
2295 * sysdeps/i386/tst-audit.h: New file.
2296 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2297 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2298 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2299 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2300 * sysdeps/sh/tst-audit.h: Likewise.
2301 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2302 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2303 * sysdeps/x86_64/tst-audit.h: Likewise.
2304
bfc07087
AJ
23052012-07-26 Andreas Jaeger <aj@suse.de>
2306
b1b2aaf8
AJ
2307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2308 ptrace.
2309
2310 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2311 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2312 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2313 PTRACE_O_MASK.
2314 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2317
bfc07087
AJ
2318 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2319 value.
2320
2321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2322 _sigsys.
2323 (si_call_addr, si_syscall, si_arch): Define new macro.
2324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2325 _sigsys.
2326 (si_call_addr, si_syscall, si_arch): Define new marcro.
2327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2328 _sigsys.
2329 (si_call_addr, si_syscall, si_arch): Define new macro.
2330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2331 _sigsys.
2332 (si_call_addr, si_syscall, si_arch): Define new macro.
2333
89b4b02f
JM
23342012-07-25 Joseph Myers <joseph@codesourcery.com>
2335
2336 [BZ #13717]
2337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2338 Change to 2.4.21 where previously 2.4.1.
2339 * sysdeps/unix/sysv/linux/configure: Regenerated.
2340 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2341 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2342 Linux kernel version.
2343 (__ASSUME_STD_AUXV): Remove.
2344 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2345 kernel version.
2346 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2347 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2348 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2349 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2350 (__ASSUME_NETLINK_SUPPORT): Likewise.
2351 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2352 (__no_netlink_support): Remove conditional definition.
2353 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2354 Remove.
2355 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2356 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2357 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2358 (if_nameindex_ioctl): Remove.
2359 (if_nameindex_netlink): Do not handle __no_netlink_support.
2360 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2361 code.
2362 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2363 Remove conditional code.
2364 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2365 code.
2366 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2367 unconditional.
2368 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2369 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2370 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2371 Remove.
2372 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2373 [!__ASSUME_STD_AUXV]: Remove conditional code.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2375 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2376 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2378 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2380 code.
2381 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2384 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2385 conditional code.
2386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2388 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2389 code.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2392 conditional code.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2394 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2395 code unconditional.
2396 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2397 conditional code.
2398 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2399 unconditional.
2400 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2401 conditional code.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2403 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2404 unconditional.
2405 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2406 conditional code.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2408 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2409 code unconditional.
2410 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2411 conditional code.
2412 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2413 unconditional.
2414 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2415 conditional code.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2417 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2418 code unconditional.
2419 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2420 conditional code.
2421 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2422 unconditional.
2423 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2424 conditional code.
2425
842a39cd
AS
24262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2427
2428 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2430 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2431 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2432 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2433 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2434 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2435 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2437 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2438 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2439 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2440 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2441 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2444 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2451
84b3fd84
FW
24522012-07-25 Florian Weimer <fweimer@redhat.com>
2453
2454 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2455 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2456 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2457 Introduce __libc_secure_getenv.
0c7936d5
FW
2458 * stdlib/Versions (2.17): Add secure_getenv
2459 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2460 * stdlib/secure-getenv.c: Rename __secure_getenv to
2461 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2462 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2463 * stdlib/tst-secure-getenv.c: New.
2464 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2465 * manual/startup.texi (Environment Access): Document
2466 secure_getenv.
84b3fd84
FW
2467 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2468 __libc_secure_getenv.
2469 * inet/ruserpass.c (ruserpass): Likewise.
2470 * malloc/mtrace.c (mtrace): Likewise.
2471 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2472 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2473 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2474 * sysdeps/posix/tempname.c: Likewise. Evaluate
2475 HAVE_SECURE_GETENV.
2476 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2477 __secure_getenv to __libc_secure_getenv.
84b3fd84 2478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2480 Likewise.
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2482 Likewise.
2483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2490
56e49b71
JM
24912012-07-25 Joseph Myers <joseph@codesourcery.com>
2492
2493 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2494 (struct La_i86_retval): Likewise.
2495 (struct La_x86_64_regs): Likewise.
2496 (struct La_x86_64_retval): Likewise.
2497 (struct La_x32_regs): Likewise.
2498 (struct La_x32_retval): Likewise.
2499 (struct La_ppc32_regs): Likewise.
2500 (struct La_ppc32_retval): Likewise.
2501 (struct La_ppc64_regs): Likewise.
2502 (struct La_ppc64_retval): Likewise.
2503 (struct La_sh_regs): Likewise.
2504 (struct La_sh_retval): Likewise.
2505 (struct La_s390_32_regs): Likewise.
2506 (struct La_s390_32_retval): Likewise.
2507 (struct La_s390_64_regs): Likewise.
2508 (struct La_s390_64_retval): Likewise.
2509 (struct La_sparc32_regs): Likewise.
2510 (struct La_sparc32_retval): Likewise.
2511 (struct La_sparc64_regs): Likewise.
2512 (struct La_sparc64_retval): Likewise.
2513 (struct audit_ifaces): Remove architecture-specific pltenter and
2514 pltexit members.
2515 * sysdeps/i386/ldsodefs.h: New file.
2516 * sysdeps/powerpc/ldsodefs.h: Likewise.
2517 * sysdeps/s390/ldsodefs.h: Likewise.
2518 * sysdeps/sh/ldsodefs.h: Likewise.
2519 * sysdeps/sparc/ldsodefs.h: Likewise.
2520 * sysdeps/x86_64/ldsodefs.h: Likewise.
2521
354691b7
MP
25222012-07-25 Marek Polacek <polacek@redhat.com>
2523
2524 [BZ #6808]
2525 * math/libm-test.inc (yn_test): Add another test.
2526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2527 to ERANGE when the result is +-Inf.
2528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2529 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2532
bf9e2071
JM
25332012-07-24 Joseph Myers <joseph@codesourcery.com>
2534
2535 * conform/data/time.h-data (NULL): Use macro-constant. Require
2536 equal to 0.
2537 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2538 clock_t.
2539 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2540
57633811
TS
25412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2542
2543 * configure.in <sysdeps resolving>: Correct printing
2544 Implies_before.
2545 * configure: Regenerate.
2546
c23c33b0
TS
25472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2548
2549 * math/w_ilogb.c: Include <limits.h>.
2550 * math/w_ilogbl.c: Likewise.
2551
b5982523
JM
25522012-07-20 Joseph Myers <joseph@codesourcery.com>
2553
2554 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2555 va_copy. Document allowing for unavailable va_copy only as
2556 pre-C99 compatibility.
2557 * manual/string.texi (Copying and Concatenation): Use va_copy
2558 instead of __va_copy in concat example.
2559
ac4ea442
PT
25602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2561
2562 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2563 (__sendto): Use create_address_port. Initialize APORT and deallocate
2564 it if not null.
2565
f98eafbd
PT
2566 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2567 with O_NOLINK passed to __file_name_lookup.
2568
898c7aab
PT
2569 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2570 with O_NOLINK passed to __file_name_lookup.
2571
0ced335a
PT
2572 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2573 negative N or less than NGIDS.
2574
b3404dbd
PT
2575 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2576 type to string_t. Set ERANGE as errno and return it if NAME is not big
2577 enough. Use memcpy instead of strncpy.
2578
0f48659e
JM
25792012-07-20 Joseph Myers <joseph@codesourcery.com>
2580
2581 * elf/Makefile (check-data): Remove.
2582 (localplt.data): New vpath directive.
2583 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2584 instead of $(check-data).
2585 * scripts/data/localplt-generic.data: Move to ...
2586 * sysdeps/generic/localplt.data: ... here.
2587 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2588 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2589 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2591 ... here.
2592 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2594 ... here.
2595 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2597 ... here.
2598 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2600 ... here.
2601 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2603 ... here.
2604 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2606 ... here.
2607
d37cbdaa
AZ
26082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2609
2610 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2611 PPC32 and PPC64 files.
2612 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2613 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2614
46f85fc2
AK
26152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2616
2617 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2618 __makecontext_ret to ...
2619 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2620 ... here and call exit if uc_link is NULL. New file.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2622 __makecontext_ret.S.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2624 __makecontext_ret to ...
2625 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2626 ... here and call exit if uc_link is NULL. New file.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2628 __makecontext_ret.S.
2629
08f43f9b
AK
26302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2631
2632 * elf/elf.h (R_390_IRELATIVE): New definition.
2633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2634 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2635 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2637 (elf_machine_lazy_rel): Likewise.
2638 * sysdeps/s390/dl-irel.h: New file.
2639 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2640 * sysdeps/s390/s390-64/memset.S: New asm code.
2641 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2642 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2644 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2645 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2646 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2648 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2649 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2650 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2651 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2652 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2653 * sysdeps/s390/s390-32/memset.S: New asm code.
2654 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2655
3b05db33
MP
26562012-07-17 Marek Polacek <polacek@redhat.com>
2657
2658 [BZ #14349]
2659 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2660 * sysdeps/s390/s390-64/configure.in: Likewise.
2661 * sysdeps/sparc/configure.in: Likewise.
2662 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2663 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2664 * sysdeps/i386/configure.in: Likewise.
2665 * sysdeps/x86_64/configure.in: Likewise.
2666 * sysdeps/sh/configure.in: Likewise.
2667 * sysdeps/s390/s390-32/configure: Regenerated.
2668 * sysdeps/s390/s390-64/configure: Likewise.
2669 * sysdeps/x86_64/configure: Likewise.
2670 * sysdeps/sh/configure: Likewise.
2671 * sysdeps/powerpc/powerpc64/configure: Likewise.
2672 * sysdeps/powerpc/powerpc32/configure: Likewise.
2673 * sysdeps/sparc/configure: Likwise.
2674 * sysdeps/i386/configure: Likewise.
2675
a66877c6
MP
2676 * elf/dl-open.c: Comment fixes.
2677
cfc82fd8
JM
26782012-07-17 Joseph Myers <joseph@codesourcery.com>
2679
bd29910a
JM
2680 * Makefile [CXX] (check-data): Remove.
2681 [CXX] (c++-types.data): New vpath directive.
2682 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2683 vpath. Do not allow for C++ type data being missing.
2684 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2685 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2686 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2687 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2688 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2689 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2690 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2692 ... here.
2693 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2695 ... here.
2696 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2698 ... here.
2699 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2701 ... here.
2702 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2704 ... here.
2705 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2707 ... here.
2708 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2710 ... here.
2711 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2713
cfc82fd8
JM
2714 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2715 definitions to architecture-specific files.
2716 (TLS_IE): Likewise.
2717 (TLS_LD): Likewise.
2718 (TLS_GD): Likewise.
2719 * sysdeps/i386/tls-macros.h: New file.
2720 * sysdeps/powerpc/tls-macros.h: Likewise.
2721 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2722 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2723 * sysdeps/sh/tls-macros.h: Likewise.
2724 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2725 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2726 * sysdeps/x86_64/tls-macros.h: Likewise.
2727
f7db3170
TS
27282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2729
07cbfc23
TS
2730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2731 zero value for regular exit case.
2732
f7db3170
TS
2733 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2734 (__start_context): Preserve zero value for regular exit case.
2735
dc97c227
TS
27362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2737 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2738
2739 * manual/setjmp.texi (setcontext): Clarify normal process
2740 termination when uc_link is the null pointer.
2741 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2742 exit call.
2743
d0cd7d02
AS
27442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2747 preprocessor. Test for each exception mask separately.
2748
dd318934
AJ
27492012-07-16 Andreas Jaeger <aj@suse.de>
2750
2751 * po/ru.po: Update from translation team.
2752
8048311a
JM
27532012-07-15 Joseph Myers <joseph@codesourcery.com>
2754
2755 * conform/data/string.h-data (NULL): Use macro-constant. Require
2756 equal to 0.
2757 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2759 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2760 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2762
b637d46e
AJ
27632012-07-13 Andreas Jaeger <aj@suse.de>
2764
2765 * po/fr.po: Update from translation team.
2766
541428fe
MP
27672012-07-12 Marek Polacek <polacek@redhat.com>
2768
2769 [BZ #14173]
2770 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2772 loop condition.
2773
ec332e94
JM
27742012-07-12 Joseph Myers <joseph@codesourcery.com>
2775
2776 [BZ #13717]
2777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2778 Change to 2.4.1 where previously 2.4.0.
2779 * sysdeps/unix/sysv/linux/configure: Regenerated.
2780 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2781 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2782 version.
2783 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2784 (__ASSUME_AT_CLKTCK): Remove.
2785 (__ASSUME_AT_PAGESIZE): Likewise.
2786 (__ASSUME_AT_XID): Likewise.
2787 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2788 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2789 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2790 unconditionally.
2791 (HAVE_AUX_PAGESIZE): Likewise.
2792 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2793 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2794 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2795
7b6e99be
JB
27962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2797
2798 [BZ #14307]
2799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2800 the temporary buffer used to invoke __gethostbyname2_r,
2801 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2802 host_data / struct gaih_addrtuple.
2803 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2804 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2805 header file nss/nsswitch.h.
2806 * nss/nsswitch.h (global scope): Add definition of implementation
2807 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2808 resolv/nss_dns/dns-host.c).
2809
608404eb
AJ
28102012-07-11 Andreas Jaeger <aj@suse.de>
2811
2812 * po/fr.po: Update from translation team.
2813
71220aca
AJ
2814 * po/sv.po: Update from translation team
2815 * po/fr.po: Another update from translation team.
2816
28cfe843
AZ
28172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2818
2819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2820 for subnormals or multiply small sinh result by itself.
2821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2823
6b90f981
DM
28242012-07-11 David S. Miller <davem@davemloft.net>
2825
2826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2827
c6825772
AS
28282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2829
2830 [BZ #14347]
2831 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2832 (INTERNAL_MARK): Shift it here.
2833
7b8e0d49
MP
28342012-07-10 Marek Polacek <polacek@redhat.com>
2835
2836 [BZ #14151]
2837 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2838 libc_cv_asm_global_directive with .globl.
2839 * configure: Regenerated.
2840 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2841 with .globl.
2842 * sysdeps/i386/configure: Regenerated.
2843 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2844 with .globl.
2845 * sysdeps/x86_64/configure: Regenerated.
2846 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2847 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2848 * elf/tst-unique2mod2.c: Likewise.
2849 * elf/tst-unique2mod1.c: Likewise.
2850 * elf/tst-unique1mod2.c: Likewise.
2851 * elf/tst-unique1mod1.c: Likewise.
2852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2853 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2856 * sysdeps/mach/sysdep.h: Likewise.
2857 * sysdeps/i386/sysdep.h: Likewise.
2858 * sysdeps/i386/i386-mcount.S: Likewise.
2859 * sysdeps/x86_64/_mcount.S: Likewise.
2860 * sysdeps/x86_64/sysdep.h: Likewise.
2861 * sysdeps/sh/_mcount.S: Likewise.
2862 * sysdeps/sh/sysdep.h: Likewise.
2863 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2864 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2865 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2867 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2868 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2869 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2870 * locale/localeinfo.h: Likewise.
2871 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2872 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2873
6c55cda3
RM
28742012-07-09 Roland McGrath <roland@hack.frob.com>
2875
2876 [BZ #14336]
2877 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2878 system".
2879 * manual/message.texi (The Uniforum approach): Likewise.
2880 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2881 (glibc iconv Implementation): Likewise.
2882
638a572e
JM
28832012-07-09 Joseph Myers <joseph@codesourcery.com>
2884
2885 [BZ #14337]
2886 * math/s_clog.c (__clog): Avoid scaling a value down where that
2887 could result in underflow.
2888 * math/s_clog10.c (__clog10): Likewise.
2889 * math/s_clog10f.c (__clog10f): Likewise.
2890 * math/s_clog10l.c (__clog10l): Likewise.
2891 * math/s_clogf.c (__clogf): Likewise.
2892 * math/s_clogl.c (__clogl): Likewise.
2893 * math/libm-test.inc (clog_test): Add more tests.
2894 (clog10_test): Likewise.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2897
261f4859
AS
28982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2899
0abaf3e4
AS
2900 [BZ #14283]
2901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2902 by 7 not 8 to examine high bit of fractional part.
2903
261f4859
AS
2904 [BZ #14042]
2905 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2906 for call to __mcount_internal.
2907 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2908 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2909 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2910
f17ac40d
JM
29112012-07-06 Joseph Myers <joseph@codesourcery.com>
2912
9ad63c23
JM
2913 [BZ #14154]
2914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2915 approximation for values within 0x1p-13f of an odd multiple of
2916 pi/4.
2917 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2918 exception. Add more tests.
2919 * sysdeps/i386/fpu/libm-test-ulps: Update.
2920
f17ac40d
JM
2921 [BZ #6778]
2922 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2923 inputs and return -1 for them. Do not check for +Inf in case not
2924 reachable for +Inf.
2925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2926 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2928 and return -1 for them. Do not check for +Inf in case not
2929 reachable for +Inf.
2930 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2931 define.
2932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2933 and return -1 for them. Do not check for +Inf in case not
2934 reachable for +Inf.
2935 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2936 spurious underflow.
2937 * sysdeps/i386/fpu/libm-test-ulps: Update.
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2939
fb21f89b
MF
29402012-07-06 Mike Frysinger <vapier@gentoo.org>
2941
2942 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2943
cdfe2c5e
JM
29442012-07-05 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #14157]
2947 [BZ #14331]
2948 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2949 could result in spurious underflow. Scale down values above
2950 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2951 * math/s_csqrtf.c (__csqrtf): Likewise.
2952 * math/s_csqrtl.c (__csqrtl): Likewise.
2953 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2954 spurious underflow.
2955 * sysdeps/i386/fpu/libm-test-ulps: Update.
2956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957
70d35b67
AS
29582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2959
704bc459
AS
2960 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2961 xopen-msg.sed.
2962 * catgets/xopen-msg.awk: New file.
2963 * catgets/xopen-msg.sed: Removed.
2964
70d35b67
AS
2965 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2966 po2text.sed.
2967 * intl/po2test.awk: New file.
2968 * intl/po2test.sed: Removed.
2969
ca61cf32
JM
29702012-07-04 Joseph Myers <joseph@codesourcery.com>
2971
2972 [BZ #14328]
2973 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2974 or multiply small sinh result by itself.
2975 * math/s_ctanf.c (__ctanf): Likewise.
2976 * math/s_ctanh.c (__ctanh): Likewise.
2977 * math/s_ctanhf.c (__ctanhf): Likewise.
2978 * math/s_ctanhl.c (__ctanhl): Likewise.
2979 * math/s_ctanl.c (__ctanl): Likewise.
2980 * math/libm-test.inc (ctan_test_tonearest): New function.
2981 (ctan_test_towardzero): Likewise.
2982 (ctan_test_downward): Likewise.
2983 (ctan_test_upward): Likewise.
2984 (ctanh_test_tonearest): Likewise.
2985 (ctanh_test_towardzero): Likewise.
2986 (ctanh_test_downward): Likewise.
2987 (ctanh_test_upward): Likewise.
2988 (main): Call these new functions.
2989 * sysdeps/i386/fpu/libm-test-ulps: Update.
2990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2991
ca48a46a
MF
29922012-07-03 Mike Frysinger <vapier@gentoo.org>
2993
2994 * .gitignore: Delete /ports entry.
2995
9d63d37d
AJ
29962012-07-03 Andreas Jaeger <aj@suse.de>
2997
2998 * po/bg.po: Update from translation team.
2999 * po/cs.po: Likewise.
3000 * po/de.po: Likewise.
3001 * po/hr.po: Likewise.
3002 * po/nl.pl: Likewise.
3003 * po/pl.po: Likewise.
3004 * po/vi.po: Likewise.
3005
370ca3d2
JM
30062012-07-03 Joseph Myers <joseph@codesourcery.com>
3007
95f5a9a8
JM
3008 * Makeconfig [!+link] (+link-before-libc): New variable.
3009 [!+link] (+link-after-libc): Likewise.
3010 [!+link] (+link-tests): Likewise.
3011 [!+link] (+link): Define in terms of $(+link-before-libc) and
3012 $(+link-after-libc).
3013 [!+link-static] (+link-static-before-libc): New variable.
3014 [!+link-static] (+link-static-after-libc): Likewise.
3015 [!+link-static] (+link-static-tests): Likewise.
3016 [!+link-static] (+link-static): Define in terms of
3017 $(+link-static-before-libc) and $(+link-static-after-libc).
3018 [build-shared] (link-libc-before-gnulib): New variable.
3019 [build-shared] (link-libc-tests): Likewise.
3020 [build-shared] (link-libc): Define in terms of
3021 $(link-libc-before-gnulib).
3022 [!build-shared] (link-libc-tests): New variable.
3023 (link-libc-static-tests): New variable.
3024 [!gnulib] (gnulib-arch): New variable.
3025 [!gnulib] (gnulib-tests): Likewise.
3026 [!gnulib] (static-gnulib-arch): Likewise.
3027 [!gnulib] (static-gnulib-tests): Likewise.
3028 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3029 Define with "=" instead of ":=".
3030 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3031 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3032 * Rules (binaries-all-notests): New variable.
3033 (binaries-all-tests): Likewise.
3034 (binaries-static-notests): Likewise.
3035 (binaries-static-tests): Likewise.
3036 (binaries-all): Define using $(binaries-all-notests) and
3037 $(binaries-all-tests).
3038 (binaries-static): Define using $(binaries-static-notests) and
3039 $(binaries-static-tests).
3040 (binaries-shared-tests): New variable.
3041 (binaries-shared-notests): Likewise.
3042 (binaries-shared): Remove variable.
3043 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3044 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3045 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3046 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3047 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3048 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3049 * elf/Makefile (sln-modules): New variable.
3050 (extra-objs): Add $(sln-modules:=.o).
3051 (ldconfig-modules): Add static-stubs.
3052 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3053 * elf/static-stubs.c: New file.
3054
7a845b2c
JM
3055 [BZ #14283]
3056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3057 by 7 not 8 to examine high bit of fractional part. Use volatile
3058 variables when splitting into final array of floats if
3059 __FLT_EVAL_METHOD__ != 0.
3060 * math/libm-test.inc (cos_test): Add another test.
3061 (sin_test): Likewise.
3062 * sysdeps/i386/fpu/libm-test-ulps: Update.
3063
e2283f38
JM
3064 [BZ #14273]
3065 * math/libm-test.inc (cosh_test): Add more tests.
3066
370ca3d2
JM
3067 * version.h (RELEASE): Set to "development".
3068 (VERSION): Set to "2.16.90".
3069
ee9247c3
CD
30702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3071
3072 * NEWS: Update copyright. Remove last-updated date.
3073 Mention math library bug fixes and timezone data changes.
3074 * README: Mention GNU/Hurd, x32, and HPPA support status.
3075
4648c381
TS
30762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3077
3078 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3079
aac78a43
AJ
30802012-06-27 Andreas Jaeger <aj@suse.de>
3081
3082 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3083
ed3dbfad
AJ
30842012-06-25 Andreas Jaeger <aj@suse.de>
3085
3086 * sysdeps/s390/fpu/libm-test-ulps: Update.
3087
4d0ee855
AS
30882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3089 Thomas Schwinge <thomas@codesourcery.com>
3090
3091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3092 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3094 fanotify_mark.
3095
af1bce34
TS
30962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3097
a9fa33ba
TS
3098 * sysdeps/mach/start.c: Remove file.
3099 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3100 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3101 * sysdeps/sh/init-first.c: Likewise.
3102
58f902b8
TS
3103 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3104 registers for frame unwinding purposes, add CFI directives.
3105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3106 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3107 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3108 Likewise.
3109
1518f58b
TS
3110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3111 __fortify_fail returning.
3112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3113
db9b5059
TS
3114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3115 sysdeps/sh/____longjmp_chk.S.
3116 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3117 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3118 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3119 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3120
967705fe
TS
3121 * sysdeps/sh/abort-instr.h: New file.
3122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3123 process in case exit returns.
3124
a9def8c4
TS
3125 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3126 initialize the GOT register before use.
3127
2a649725
TS
3128 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3129 calculation of ARGC > 4.
3130
af1bce34
TS
3131 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3132 meaningful names to some local labels.
3133
d230f50a
KK
31342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3135 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3136
3137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3138 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3139 (__arch_compare_and_exchange_val_16_acq): Likewise.
3140 (__arch_compare_and_exchange_val_32_acq): Likewise.
3141 (atomic_exchange_and_add): Fix gUSA sequence.
3142 (atomic_add): Likewise.
3143 (atomic_add_negative): Likewise.
3144 (atomic_add_zero): Likewise.
3145 (atomic_bit_test_set): Likewise.
3146
0479b305
AS
31472012-06-22 Andreas Schwab <schwab@redhat.com>
3148
3149 [BZ #13579]
3150 * include/link.h (struct link_map): Add l_free_initfini.
3151 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3152 l_initfini.
3153 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3154 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3155 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3156 set.
3157
0e3933b9
CD
31582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3159
3160 * configure.in: Use AC_LANG_SOURCE.
3161 * configure: Regenerate.
3162
4248b1b1
RM
31632012-06-22 Roland McGrath <roland@hack.frob.com>
3164
3165 * configure.in (libc_cv_localstatedir): New substituted variable.
3166 * configure: Regenerated.
3167 * config.make.in (localstatedir): New variable, substituted from
3168 libc_cv_localstatedir.
3169 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3170 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3171 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3172 * sysdeps/gnu/configure: Regenerated.
3173
006dd861
JL
31742012-06-21 Jeff Law <law@redhat.com>
3175
3176 [BZ #14277]
3177 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3178 free. Simplify list management for _LIBC case.
3179
79662d42
JM
31802012-06-21 Joseph Myers <joseph@codesourcery.com>
3181
b7abb4bf
JM
3182 [BZ #14273]
3183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3184 Clear sign bit of 64-bit integer value before comparing against
3185 overflow value.
3186
79662d42
JM
3187 * sysdeps/mach/configure: Regenerated.
3188
1f150908
L
31892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 [BZ #14278]
3192 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3193
28363bbf
JL
31942012-06-21 Jeff Law <law@redhat.com>
3195
3196 [BZ #13882]
3197 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3198 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3200 * elf/dl-open.c (dl_open_worker): Likewise.
3201
09615db4
CD
32022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3203
3204 * scripts/list-sources.sh: Scan PORTS for translations.
3205 * po/libc.pot: Regenerated.
3206
2174c6dd
AJ
32072012-06-21 Andreas Jaeger <aj@suse.de>
3208
3209 [BZ #12194]
3210 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3211 warning.
3212 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3213 * bits/byteswap-16.h (__bswap_16): Likewise.
3214 * bits/byteswap.h (__bswap_constant_16): Likewise.
3215
3ee947b1
L
32162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 [BZ #14117]
a2f34833
L
3219 * sysdeps/i386/fpu_control.h: Removed.
3220 * sysdeps/x86_64/fpu_control.h: Moved to ...
3221 * sysdeps/x86/fpu_control.h: Here.
3222
3ee947b1
L
3223 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3224 (_FPU_SETCW): Likewise.
3225
ed1825f8
L
32262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3227
25f1282a
L
3228 [BZ #14117]
3229 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3230 * sysdeps/x86/fpu/bits/mathinline.h: This.
3231 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3232
ed1825f8
L
3233 [BZ #14050]
3234 [BZ #14117]
3235 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3236 functions if __x86_64__ is defined.
3237
36d54b74
CLT
32382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3239
3240 * string/endian.h: Add !__ASSEMBLER__ condition for including
3241 conversion interfaces.
3242
10285c21
JM
32432012-06-15 Joseph Myers <joseph@codesourcery.com>
3244
3245 [BZ #14241]
3246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3247 of ABS(x) in calculating zero to negative powers other than odd
3248 integers.
3249 * math/libm-test.inc (pow_test): Add more tests.
3250
06c5abbd
AJ
32512012-06-15 Andreas Jaeger <aj@suse.de>
3252
3253 * manual/contrib.texi (Contributors): Update entry of Liubov
3254 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3255 Machado Filho.
3256
a3aeac40
CH
32572012-06-15 Cyril Hrubis <metan@ucw.cz>
3258
3259 * string/string.h: Add __wur to GNU version of strerror_r.
3260
49bdf4c1
L
32612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3262
3263 [BZ #14229]
3264 * string/Makefile (tests): Add tst-strtok_r.
3265 * string/tst-strtok_r.c: New file.
3266 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3267 RAX_LP/RDX_LP on SAVE_PTR.
3268
834f9b8d
RM
32692012-06-14 Roland McGrath <roland@hack.frob.com>
3270
3271 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3272
75fa1921
JM
32732012-06-14 Joseph Myers <joseph@codesourcery.com>
3274
3275 * libm_test.inc (csqrt_test): Allow more spurious underflow
3276 exceptions.
3277 (j0_test): Likewise.
3278 (j1_test): Likewise.
3279 (y0_test): Likewise.
3280 (y1_test): Likewise.
3281
771766df
CD
32822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3283
3284 * po/Makefile (libc.pot): Use UTF-8 charset.
3285
ceb9e56b
PP
32862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3287
3288 [BZ #14210]
3289 Suppress sign-conversion warning from FD_SET.
3290 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3291 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3292 not unsigned long int.
3293 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3294
ddb28975
L
32952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 [BZ #14050]
3298 [BZ #14117]
3299 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3300 __extern_always_inline instead of __extern_inline.
3301 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3302 (__signbit): Likewise.
3303 (__signbitl): Support C++ namespace.
3304 (lrintf): New inline function.
3305 (lrint): Likewise.
3306 (llrintf): Likewise.
3307 (llrint): Likewise.
3308 (fmaxf): Likewise.
3309 (fmax): Likewise.
3310 (fminf): Likewise.
3311 (fmin): Likewise.
3312 (rint): Likewise.
3313 (rintf): Likewise.
3314 (ceil): Likewise.
3315 (ceilf): Likewise.
3316 (floor): Likewise.
3317 (floorf): Likewise.
3318 (nearbyint): Likewise.
3319 (nearbyintf): Likewise.
3320
d7b4fb26
TS
33212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3322
3323 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3324 non-default versions.
3325
eb55f5c2
RM
33262012-06-11 Roland McGrath <roland@hack.frob.com>
3327
3328 [BZ #14218]
3329 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3330
366af02c
TS
33312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3332
99ff6e5c
TS
3333 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3334 (FE_UPWARD, FE_DOWNWARD): Don't define.
3335 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3337
366af02c
TS
3338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3339 reading it.
3340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3342
793ea851
KK
33432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3344
3345 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3347 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3349
a728a38f
L
33502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 [BZ #14117]
c08010c7
L
3353 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3354 * sysdeps/i386/fpu/Implies: New file.
3355 * sysdeps/x86_64/fpu/Implies: Likewise.
3356 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3357 * sysdeps/x86/fpu/bits/fenv.h: This.
3358
a728a38f
L
3359 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3360 __SSE_MATH__.
3361
6e230d11
SP
33622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 [BZ #14134]
3365 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3366 character 0xffff that matches the last element of the
3367 conversion table.
3368
1b671feb
AZ
33692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3372 fmodl commit.
3373
6043738b
AZ
33742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375
3376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3377 values higher than 25.6283.
3378
34ae0b32
AZ
33792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3380
3381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3382 subnormal exponent extraction and add some __builtin_expect.
3383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3384 Fix for subnormal mantissa calculation.
3385
1214ec8f
MF
33862012-06-04 Mike Frysinger <vapier@gentoo.org>
3387
3388 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3389 cpu2 is -1 and errno is not ENOSYS.
3390
f3d1f93c
L
33912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 [BZ #14117]
0e4a3cd7
L
3394 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3395 * sysdeps/x86/bits/string.h: This.
3396 * sysdeps/x86_64/bits/string.h: Removed.
3397
6704c645
L
3398 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3399 if not compiling for x86-64, but compiling for >= i486.
3400
48495318
L
3401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3402 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3403
14adcbfc
L
3404 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3405 New macro from Linux kernel 3.4.0.
3406 (FP_XSTATE_MAGIC2): Likewise.
3407 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3408 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3409 (struct _fpx_sw_bytes): New struct.
3410 (struct _xsave_hdr): Likewise.
3411 (struct _ymmh_state): Likewise.
3412 (struct _xstate): Likewise.
3413
68e408ab
L
3414 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3415 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3417 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3418 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3419 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3420
f3d1f93c
L
3421 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3423 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3424 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3425 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3426 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3427
d9dc34cd
TMQMF
34282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3429
3430 [BZ #13743]
3431 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3432 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3433 (sysdep_headers): Include sys/platform/ppc.h.
3434 * sysdeps/powerpc/test-gettimebase.c: Test for
3435 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3436 * manual/Makefile (appendices): Include platform.texi.
3437 * manual/contrib.texi (Contributors): Update @node pointers.
3438 * manual/maint.texi (Maintenance): Likewise.
3439 (Platform): New node.
3440 * manual/platform.texi: New file. Document the new features.
3441
4af3879c
SP
34422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3443 Jakub Jelinek <jakub@redhat.com>
3444
3445 [BZ #14188]
3446 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3447 where __builtin_expect is unavailable.
3448
2fd6ff13
DM
34492012-06-03 David S. Miller <davem@davemloft.net>
3450
3451 * stdlib/longlong.h: Updated from GCC.
3452
173f7220
AS
34532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3454
3455 [BZ #14042]
3456 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3457 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3458 __mcount_internal.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3460 (GLIBC_2.16): Likewise.
3461
f34a1c6f
L
34622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3465
88a4576f
JM
34662012-06-01 Joseph Myers <joseph@codesourcery.com>
3467
ea32bcdd
JM
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3469 (default-abi): New variable.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3472 variable.
3473 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3474 Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3476 Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3478 Likewise.
3479
88a4576f
JM
3480 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3481 definition. Document in comment.
3482
402fe938
DM
34832012-06-01 David S. Miller <davem@davemloft.net>
3484
3485 * stdlib/longlong.h: Updated from GCC.
3486
3553723f
L
34872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 [BZ #14117]
3bd872c4
L
3490 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3491 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3492 sys/debugreg.h sys/io.h here.
3493 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3494 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3495 sys/io.h.
3496 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3497 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3498 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3499 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3500 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3501 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3502
3553723f
L
3503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3504 Define only if __x86_64__ is defined.
3505
4842e4fe
JM
35062012-06-01 Joseph Myers <joseph@codesourcery.com>
3507
c5bfe3d5
JM
3508 [BZ #14048]
3509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3510 Use int64_t for variable i.
3511 * math/libm-test.inc (fmod_test): Add more tests.
3512
4842e4fe
JM
3513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3514 z computation is not scheduled after fetestexcept.
3515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3516 Use math_force_eval instead of asm to ensure calculation scheduled
3517 before exception test.
3518 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3519 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3520
efb73488
AJ
35212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3522
3523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3524 computation is not scheduled after fetestexcept.
3525
29bcce7c
L
35262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 [BZ #14117]
3529 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3530 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3531
73a68f94
AZ
35322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533
3534 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3535 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3536
67b6df78
L
35372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3538
edf2933a 3539 [BZ #14117]
ebc64a18
L
3540 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3541 <bits/wordsize.h>.
3542 (__WCHAR_MIN): Support __WORDSIZE == 64.
3543 (__WCHAR_MAX): Likewise.
3544
edf2933a
L
3545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3547
57c6cf40
L
3548 [BZ #14183]
3549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3550 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3551
67b6df78 3552 [BZ #14117]
8eb6281e
L
3553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3555
aac639f4
L
3556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3557 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3558
67b6df78
L
3559 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3560 Defined to 1 if __x86_64__ isn't defined.
3561 (_STAT_VER_LINUX_OLD): New.
3562 (st_atime): Remove duplicate.
3563 (st_mtime): Likewise.
3564 (st_ctime): Likewise.
3565
1c2cfe81
DM
35662012-05-31 David S. Miller <davem@davemloft.net>
3567
3568 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3569 entries.
3570
5be8418c
AS
35712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3572
e7725326
AS
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3574 gen-libm-test.pl.
3575
5be8418c
AS
3576 [BZ #14132]
3577 * elf/dl-reloc.c: Include <_itoa.h>.
3578 (_dl_reloc_bad_type): Remove use of INTUSE.
3579 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3580 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3581 * stdio-common/psiginfo.c (psiginfo): Likewise.
3582 * stdio-common/psignal.c (psignal): Likewise.
3583 * string/strsignal.c (strsignal): Likewise.
3584 * include/signal.h (_sys_siglist): Declare hidden proto.
3585 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3586 INTVARDEF with libc_hidden_data_def.
3587 * stdio-common/itoa-udigits.c: Likewise.
3588 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3589 (_itoa_lower_digits_internal): Remove declaration.
3590 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3591 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3592 (_sys_sigabbrev_internal): Remove aliases.
3593 (_sys_siglist): Define hidden alias.
3594
507352f1
MT
35952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3596
3597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3598 bits/sysctl.h.
3599
42bbb1c3
L
36002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 [BZ #14117]
6bd784b6
L
3603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3604 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3605
8bca20f0
L
3606 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3608 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3609 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3611 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3612
f9e890a9
L
3613 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3615 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3616
471101a1
L
3617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3618 with __addr.
3619 (insw): Likewise.
3620 (insl): Likewise.
3621 (outsb): Likewise.
3622 (outsw): Likewise.
3623 (outsl): Likewise.
3624
6451c862
L
3625 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3626 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3628
a254b8c9
L
3629 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3630 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3632 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3633 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3635
b8dfdd92
L
3636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3637 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3638
578cd270
L
3639 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3641
de662f5f
L
3642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3645
25653439
L
3646 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3647 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3648 to ...
3649 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3650
6bad24a0
L
3651 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3653 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3654
42bbb1c3
L
3655 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3656 for x86-64.
3657 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3658
2d10d547
JM
36592012-05-31 Joseph Myers <joseph@codesourcery.com>
3660
3661 * math/math.h (M_El): Use two more decimal places.
3662 (M_LOG2El): Likewise.
3663 (M_LOG10El): Likewise.
3664 (M_LN2l): Likewise.
3665 (M_LN10l): Likewise.
3666 (M_PIl): Likewise.
3667 (M_PI_2l): Likewise.
3668 (M_PI_4l): Likewise.
3669 (M_1_PIl): Likewise.
3670 (M_2_PIl): Likewise.
3671 (M_2_SQRTPIl): Likewise.
3672 (M_SQRT2l): Likewise.
3673 (M_SQRT1_2l): Likewise.
3674
f230c29b
DM
36752012-05-31 David S. Miller <davem@davemloft.net>
3676
3677 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3678 values between float registers.
3679 * sysdeps/sparc/sparc64/memset.S: Likewise.
3680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3681
fed806c3
MF
36822012-05-31 Mike Frysinger <vapier@gentoo.org>
3683
3684 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3685 -D_FORTIFY_SOURCE=1.
3686 (CPPFLAGS-tst-longjmp_chk.c): Define.
3687 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3688 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3689 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3690 CFLAGS-tst-wchar-h.c.
3691
30917259
MP
36922012-05-31 Marek Polacek <polacek@redhat.com>
3693
3694 [BZ #14132]
3695 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3696 __endmntent_internal): Remove declaration.
3697 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3698 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3699 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3700
1c58d5dc
DM
37012012-05-30 David S. Miller <davem@davemloft.net>
3702
3703 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3704 (___Q_simulate_exceptions): Use real FP ops rather than writing
3705 into the %fsr.
3706 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3707 Likewise.
3708
7dc00e0d
L
37092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 [BZ #14117]
0bd53985
L
3712 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3713 * sysdeps/x86/bits/xtitypes.h: This.
3714
3a257e66
L
3715 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3716 * sysdeps/x86/bits/wordsize.h: This.
3717
62f62904
L
3718 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3719 * sysdeps/x86/bits/huge_vall.h: This.
3720
404fe9d9
L
3721 * sysdeps/i386/bits/select.h: Removed.
3722 * sysdeps/x86_64/bits/select.h: Renamed to ...
3723 * sysdeps/x86/bits/select.h: This.
3724
d48d0446
L
3725 * sysdeps/i386/bits/setjmp.h: Removed.
3726 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3727 * sysdeps/x86/bits/setjmp.h: This.
3728
7dc00e0d
L
3729 * sysdeps/i386/bits/mathdef.h: Removed.
3730 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3731 * sysdeps/x86/bits/mathdef.h: This.
3732
03277f8f
AS
37332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3734
3735 [BZ #14132]
3736 * include/sys/socket.h (__connect_internal)
3737 (__libc_sa_len_internal): Remove declaration.
3738 (__connect, __libc_sa_len): Declare hidden_proto.
3739 (SA_LEN): Remove use of INTUSE.
3740 * socket/connect.c: Add libc_hidden_def.
3741 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3742 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3743 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3744 alias.
3745 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3747 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3748 of adding _internal alias.
3749
13764867
L
37502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 [BZ #14117]
6bd97696
L
3753 * sysdeps/i386/bits/link.h: Removed.
3754 * sysdeps/i386/bits/linkmap.h: Likewise.
3755 * sysdeps/x86_64/bits/link.h: Renamed to ...
3756 * sysdeps/x86/bits/link.h: This.
3757 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3758 * sysdeps/x86/bits/linkmap.h: This.
3759
f726f0bb
L
3760 * sysdeps/i386/bits/endian.h: Removed.
3761 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3762 * sysdeps/x86/bits/endian.h: This.
3763
13764867
L
3764 * sysdeps/i386/bits/byteswap.h: Removed.
3765 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3766 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3767 * sysdeps/x86/bits/byteswap.h: This.
3768 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3769 * sysdeps/x86/bits/byteswap-16.h: This.
3770 * sysdeps/i386/Implies: Add x86.
3771 * sysdeps/x86_64/Implies: Likewise.
3772
ae251b0b
DM
37732012-05-30 David S. Miller <davem@davemloft.net>
3774
3775 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3776 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3778 (FP_TRAPPING_EXCEPTIONS): Define.
3779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3780 (FP_TRAPPING_EXCEPTIONS): Define.
3781 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3782 subnormals only when inexact has been signalled or underflow
3783 exceptions are enabled.
3784 (_FP_PACK_CANONICAL): Likewise.
3785
d5c90867
L
37862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3787
3788 [BZ #14183]
3789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3790 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3791
63f1549e
RH
37922012-05-30 Richard Henderson <rth@twiddle.net>
3793
8d8f2279
RH
3794 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3795 with #ifndef NOT_IN_libc.
3796
63f1549e
RH
3797 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3798 marked to avoid plt entry.
3799
0ab0291b
L
38002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 [BZ #14112]
3803 * Makeconfig (default-abi): New macro.
3804 (abi-includes): Likewise.
3805 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3806 $(abi-$(default-abi)-lib-soname) for soname if defined.
3807 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3808 abi-variants.
3809 * Makefile (installed-stubs): Likewise.
3810 * include/stubs-biarch.h: Removed.
3811 * scripts/lib-names.awk: Only handle one library at a time.
3812 * scripts/soversions.awk: Remove WORDSIZE support.
3813 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3814 entries.
3815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3816 Removed.
3817 (syscall-list-default-condition): Likewise.
3818 (syscall-list-default-condition): Likewise.
3819 (syscall-list-includes): Likewise.
3820 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3821 syscall-list-* with abi-*. Handle undefined abi-variants.
3822 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3823 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3824 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3825 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3826 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3827 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3828 Removed.
3829 (syscall-list-32-options): Likewise.
3830 (syscall-list-32-condition): Likewise.
3831 (syscall-list-64-options): Likewise.
3832 (syscall-list-64-condition): Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3834 macro.
3835 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3836 Renamed to ...
3837 (abi-*): This.
3838 (abi-64-ld-soname): New macro.
3839 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3841 Renamed to ...
3842 (abi-*): This.
3843 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3844 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3845
4da0431d
JM
38462012-05-30 Joseph Myers <joseph@codesourcery.com>
3847
3a85279c
JM
3848 * sysdeps/unix/sysv/linux/kernel-features.h
3849 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3850 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3851 include <kernel-features.h>.
3852 [!__NR_ftruncate64]: Remove conditional code.
3853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3854 [__NR_ftruncate64]: Make code unconditional.
3855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3856 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3857 include <kernel-features.h>.
3858 [!__NR_ftruncate64]: Remove conditional code.
3859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3860 [__NR_ftruncate64]: Make code unconditional.
3861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3863 include <kernel-features.h>.
3864 [!__NR_ftruncate64]: Remove conditional code.
3865 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3866 [__NR_ftruncate64]: Make code unconditional.
3867 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3869 include <kernel-features.h>.
3870 [!__NR_ftruncate64]: Remove conditional code.
3871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3872 [__NR_ftruncate64]: Make code unconditional.
3873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3874
4da0431d
JM
3875 * configure.in (libc_cv_fpie): Weaken to a compile test using
3876 LIBC_TRY_CC_OPTION.
3877 * configure: Regenerated.
3878
11ef492c
AK
38792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3880
3881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3885 Refreshed.
3886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3892 Refreshed.
3893
d66ef399
DM
38942012-05-27 David S. Miller <davem@davemloft.net>
3895
3896 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3897 (___Q_zero): New.
3898 (__Q_simulate_exceptions): Return void. Change to simulate
3899 exceptions by writing into the %fsr.
3900 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3901 (__Qp_handle_exceptions): Likewise.
3902 (numbers): Delete.
3903 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3904 __Qp_handle_exceptions.
3905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3906 __Qp_handle_exceptions.
3907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3908 as unused and give dummy FP_RND_NEAREST initializer.
3909 (FP_INHIBIT_RESULTS): Define.
3910 (___Q_simulate_exceptions): Update declaration.
3911 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3912 formatting.
3913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3914 as unused and give dummy FP_RND_NEAREST initializer.
3915 (__Qp_handle_exceptions): Update declaration.
3916 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3917 formatting.
3918
04fb54b5
TS
39192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3920
3921 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3922 the temporary FPU control word.
3923 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3924 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3926 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3927 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3928 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3929 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3931 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3932 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3933 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3934
3f99608f
KK
39352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3936
3937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3938 fields.
3939
65a4de4e
CLT
39402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3941
3942 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3943 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3944 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3945 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3946 Likewise.
3947 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3948 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3949 Likewise.
3950
15749d40
UD
39512012-05-27 Ulrich Drepper <drepper@gmail.com>
3952
3953 * po/h.po: Update from translation team.
3954
25dbcb27
AS
39552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3956
3d3f8e55
AS
3957 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3958
25dbcb27
AS
3959 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3960 handling of denormals.
3961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3962 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3964 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3968 Likewise.
3969
7ad47a80 39702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3971
3972 [BZ #14152]
3973 * math/libm-test.inc (fma_test): Don't always expect underflow
3974 exception.
3975
9c6ea9fa
SP
39762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3977
3978 [BZ #12416]
3979 * elf/tst-execstack.c: Include stackinfo.h.
3980 (do_test): Adjust test case to ensure that pthread_getattr_np
3981 behaviour remains the same after marking stack executable.
3982
a8239222
JM
39832012-05-25 Joseph Myers <joseph@codesourcery.com>
3984
3985 * sysdeps/unix/sysv/linux/kernel-features.h
3986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3987 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3988 kernel-features.h.
3989 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3990 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3991 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3992 kernel-features.h.
3993 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3994 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3995
918b5606
L
39962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * configure.in: Define the default includes to being none.
3999 * configure: Regenerated.
4000
3a097cc7
RM
40012012-05-25 Roland McGrath <roland@hack.frob.com>
4002
8422c9a5
RM
4003 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4004 * sysdeps/x86_64/setjmp.S: Likewise.
4005 * sysdeps/i386/bsd-setjmp.S: Likewise.
4006 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4007 * sysdeps/i386/setjmp.S: Likewise.
4008 * sysdeps/i386/__longjmp.S: Likewise.
4009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4011
3a097cc7
RM
4012 * include/stap-probe.h: New file.
4013 * configure.in: Handle --enable-systemtap.
4014 * configure: Regenerated.
4015 * config.h.in (USE_STAP_PROBE): New #undef.
4016 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4017 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4018 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4019
21708942
JM
40202012-05-25 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #13717]
4023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4024 to 2.4.0 where earlier.
4025 * sysdeps/unix/sysv/linux/configure: Regenerated.
4026 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4027 <kernel-features.h>.
4028 [__ASSUME_32BITUIDS]: Make code unconditional.
4029 [!__ASSUME_32BITUIDS]: Remove conditional code.
4030 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4031 <kernel-features.h>.
4032 [__ASSUME_32BITUIDS]: Make code unconditional.
4033 [!__ASSUME_32BITUIDS]: Remove conditional code.
4034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4035 [__ASSUME_32BITUIDS]: Make code unconditional.
4036 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4037 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4038 <kernel-features.h>.
4039 [__ASSUME_32BITUIDS]: Make code unconditional.
4040 [!__ASSUME_32BITUIDS]: Remove conditional code.
4041 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4042 <kernel-features.h>.
4043 [__ASSUME_32BITUIDS]: Make code unconditional.
4044 [!__ASSUME_32BITUIDS]: Remove conditional code.
4045 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4046 <kernel-features.h>.
4047 [__ASSUME_32BITUIDS]: Make code unconditional.
4048 [!__ASSUME_32BITUIDS]: Remove conditional code.
4049 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4050 <kernel-features.h>.
4051 [__ASSUME_32BITUIDS]: Make code unconditional.
4052 [!__ASSUME_32BITUIDS]: Remove conditional code.
4053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4054 <kernel-features.h>.
4055 [__ASSUME_32BITUIDS]: Make code unconditional.
4056 [!__ASSUME_32BITUIDS]: Remove conditional code.
4057 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4058 <kernel-features.h>.
4059 [__ASSUME_32BITUIDS]: Make code unconditional.
4060 [!__ASSUME_32BITUIDS]: Remove conditional code.
4061 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4062 <kernel-features.h>.
4063 [__ASSUME_32BITUIDS]: Make code unconditional.
4064 [!__ASSUME_32BITUIDS]: Remove conditional code.
4065 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4066 <kernel-features.h>.
4067 [__ASSUME_32BITUIDS]: Make code unconditional.
4068 [!__ASSUME_32BITUIDS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4070 <kernel-features.h>.
4071 [__ASSUME_32BITUIDS]: Make code unconditional.
4072 [!__ASSUME_32BITUIDS]: Remove conditional code.
4073 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4074 <kernel-features.h>.
4075 [__ASSUME_32BITUIDS]: Make code unconditional.
4076 [!__ASSUME_32BITUIDS]: Remove conditional code.
4077 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4078 <kernel-features.h>.
4079 [__NR_setresgid] (__setresgid): Do not declare.
4080 [__ASSUME_32BITUIDS]: Make code unconditional.
4081 [!__ASSUME_32BITUIDS]: Remove conditional code.
4082 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4083 <kernel-features.h>.
4084 [__NR_setresuid] (__setresuid): Do not declare.
4085 [__ASSUME_32BITUIDS]: Make code unconditional.
4086 [!__ASSUME_32BITUIDS]: Remove conditional code.
4087 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4088 <kernel-features.h>.
4089 [__ASSUME_32BITUIDS]: Make code unconditional.
4090 [!__ASSUME_32BITUIDS]: Remove conditional code.
4091 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4092 <kernel-features.h>.
4093 [__ASSUME_32BITUIDS]: Make code unconditional.
4094 [!__ASSUME_32BITUIDS]: Remove conditional code.
4095 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4096 <kernel-features.h>.
4097 [__ASSUME_32BITUIDS]: Make code unconditional.
4098 [!__ASSUME_32BITUIDS]: Remove conditional code.
4099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4100 <kernel-features.h>.
4101 [__ASSUME_32BITUIDS]: Make code unconditional.
4102 [!__ASSUME_32BITUIDS]: Remove conditional code.
4103 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4104 <kernel-features.h>.
4105 [__ASSUME_32BITUIDS]: Make code unconditional.
4106 [!__ASSUME_32BITUIDS]: Remove conditional code.
4107 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4108 <kernel-features.h>.
4109 [__ASSUME_32BITUIDS]: Make code unconditional.
4110 [!__ASSUME_32BITUIDS]: Remove conditional code.
4111 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
4116 <kernel-features.h>.
4117 [__ASSUME_32BITUIDS]: Make code unconditional.
4118 [!__ASSUME_32BITUIDS]: Remove conditional code.
4119 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4120 <kernel-features.h>.
4121 [__ASSUME_32BITUIDS]: Make code unconditional.
4122 [!__ASSUME_32BITUIDS]: Remove conditional code.
4123 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4124 <kernel-features.h>.
4125 [__ASSUME_32BITUIDS]: Make code unconditional.
4126 [!__ASSUME_32BITUIDS]: Remove conditional code.
4127 * sysdeps/unix/sysv/linux/kernel-features.h
4128 (__ASSUME_SETRESUID_SYSCALL): Remove.
4129 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4130 (__ASSUME_32BITUIDS): Likewise.
4131 (__ASSUME_LDT_WORKS): Likewise.
4132 (__ASSUME_O_DIRECTORY): Likewise.
4133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4134 architecture but not kernel version.
4135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4136 (__ASSUME_MMAP2_SYSCALL): Likewise.
4137 (__ASSUME_STAT64_SYSCALL): Likewise.
4138 (__ASSUME_IPC64): Likewise.
4139 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4140 <kernel-features.h>.
4141 [__ASSUME_32BITUIDS]: Make code unconditional.
4142 [!__ASSUME_32BITUIDS]: Remove conditional code.
4143 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4144 <kernel-features.h>.
4145 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4146 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4147 132096]: Remove conditional code.
4148 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4150 <kernel-features.h>.
4151 [__ASSUME_32BITUIDS]: Make code unconditional.
4152 [!__ASSUME_32BITUIDS]: Remove conditional code.
4153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4154 <kernel-features.h>.
4155 [__ASSUME_32BITUIDS]: Make code unconditional.
4156 [!__ASSUME_32BITUIDS]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4158 <kernel-features.h>.
4159 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4160 unconditional.
4161 (__setresgid): Do not declare.
4162 [__ASSUME_32BITUIDS]: Make code unconditional.
4163 [!__ASSUME_32BITUIDS]: Remove conditional code.
4164 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4165 <kernel-features.h>.
4166 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4167 unconditional.
4168 (__setresuid): Do not declare.
4169 [__ASSUME_32BITUIDS]: Make code unconditional.
4170 [!__ASSUME_32BITUIDS]: Remove conditional code.
4171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4172 <kernel-features.h>.
4173 [__ASSUME_32BITUIDS]: Make code unconditional.
4174 [!__ASSUME_32BITUIDS]: Remove conditional code.
4175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4176 <kernel-features.h>.
4177 [__ASSUME_32BITUIDS]: Make code unconditional.
4178 [!__ASSUME_32BITUIDS]: Remove conditional code.
4179
a386f1cc
RH
41802012-05-25 Richard Henderson <rth@twiddle.net>
4181
4182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4183 dl_hwcap to ifunc resolver.
4184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4185 elf_ifunc_invoke.
4186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4187 dl_hwcap to ifunc resolver.
4188 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4189
b6550497
JM
41902012-05-24 Joseph Myers <joseph@codesourcery.com>
4191
4192 [BZ #14153]
4193 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4194 for |x| <= 2**-26, not 2**-57.
4195 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4196 exception.
4197
b0bc23a1
JL
41982012-05-24 Jeff Law <law@redhat.com>
4199
4200 * stdio-common/Makefile (tests): Add bug25.
4201 * stdio-common/bug25.c: New test.
4202
347c92e9
L
42032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 [BZ #13576]
4206 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4207 multiple of MALLOC_ALIGNMENT in size.
4208 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4209
6bcc8b3f
JM
42102012-05-24 Joseph Myers <joseph@codesourcery.com>
4211
4212 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4213 Require >= 256.
4214 (FILENAME_MAX): Use macro-int-constant.
4215 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4216 (_IOFBF): Use macro-int-constant.
4217 (_IOLBF): Likewise.
4218 (_IONBF): Likewise.
4219 (SEEK_CUR): Likewise.
4220 (SEEK_END): Likewise.
4221 (SEEK_SET): Likewise.
4222 (TMP_MAX): Likewise.
4223 (EOF): Use macro-int-constant. Require < 0.
4224 (NULL): Use macro-constant. Require == 0.
4225 (stdin): Require type to be FILE *.
4226 (stdout): Likewise.
4227 (stderr): Likewise.
4228 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4229 macro-int-constant.
4230 (EXIT_SUCCESS): Likewise.
4231 (NULL): Use macro-constant. Require == 0.
4232 (RAND_MAX): Use macro-int-constant.
4233 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4234 [C99-based standards] (strtof): Require function.
4235 [C99-based standards] (strtold): Likewise.
4236 [C99-based standards] (strtoll): Likewise.
4237 [C99-based standards] (strtoull): Likewise.
4238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4239 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4240 [ISO || ISO99 || ISO11] (math.h): Likewise.
4241 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4244
d18ea0c5
AS
42452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4246
4247 [BZ #14132]
56d25bb8
AS
4248 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4249 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4250 * intl/dgettext.c (DCGETTEXT): Likewise.
4251 * intl/gettext.c (DCGETTEXT): Likewise.
4252 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4253 * posix/regex_internal.h (gettext): Likewise.
4254 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4255 Remove declaration.
4256 * include/argz.h (__argz_count_internal)
4257 (__argz_stringify_internal): Remove declaration.
4258 (__argz_count, __argz_stringify): Declare hidden proto.
4259 * intl/dcgettext.c: Remove use of INTDEF.
4260 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4261 * string/argz-stringify.c: Likewise.
4262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4264 Declare hidden proto.
d18ea0c5
AS
4265 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4266 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4267 Declare hidden proto.
4268 * include/stdio.h (__asprintf_internal): Don't declare.
4269 (__asprintf): Don't define as macro. Declare hidden proto.
4270 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4271 (__fsetlocking): Declare hidden proto.
4272 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4273 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4274 hidden proto.
4275 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4276 (_IO_setlinebuf): Remove use of INTUSE.
4277 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4278 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4279 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4280 Remove declaration.
4281 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4282 (_IO_do_flush): Remove use of INTUSE.
4283 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4284 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4285 (_IO_adjust_column, _IO_least_wmarker)
4286 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4287 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4288 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4289 (_IO_default_doallocate, _IO_wdefault_doallocate)
4290 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4291 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4292 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4293 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4294 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4295 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4296 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4297 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4298 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4299 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4300 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4301 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4302 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4303 proto.
4304 (_IO_flush_all_internal, _IO_adjust_column_internal)
4305 (_IO_default_uflow_internal, _IO_default_finish_internal)
4306 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4307 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4308 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4309 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4310 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4311 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4312 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4313 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4314 (_IO_file_close_internal, _IO_file_close_it_internal)
4315 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4316 (_IO_file_init_internal, _IO_file_attach_internal)
4317 (_IO_file_fopen_internal, _IO_file_read_internal)
4318 (_IO_file_sync_internal, _IO_file_seek_internal)
4319 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4320 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4321 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4322 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4323 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4324 (_IO_list_all_internal, _IO_link_in_internal)
4325 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4326 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4327 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4328 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4329 (_IO_do_write_internal, _IO_padn_internal)
4330 (_IO_getline_info_internal, _IO_getline_internal)
4331 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4332 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4333 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4334 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4335 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4336 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4337 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4338 with libc_hidden_ver, remove use of INTUSE.
4339 * libio/genops.c: Likewise.
4340 * libio/freopen.c: Likewise.
4341 * libio/freopen64.c: Likewise.
4342 * libio/iofclose.c: Likewise.
4343 * libio/iofdopen.c: Likewise.
4344 * libio/iofflush.c: Likewise.
4345 * libio/iofflush_u.c: Likewise.
4346 * libio/iofgets.c: Likewise.
4347 * libio/iofgets_u.c: Likewise.
4348 * libio/iofopen.c: Likewise.
4349 * libio/iofopncook.c: Likewise.
4350 * libio/iofread.c: Likewise.
4351 * libio/iofread_u.c: Likewise.
4352 * libio/ioftell.c: Likewise.
4353 * libio/iofwrite.c: Likewise.
4354 * libio/iogetline.c: Likewise.
4355 * libio/iogets.c: Likewise.
4356 * libio/iogetwline.c: Likewise.
4357 * libio/iopadn.c: Likewise.
4358 * libio/iopopen.c: Likewise.
4359 * libio/ioseekoff.c: Likewise.
4360 * libio/ioseekpos.c: Likewise.
4361 * libio/iosetbuffer.c: Likewise.
4362 * libio/iosetvbuf.c: Likewise.
4363 * libio/ioungetc.c: Likewise.
4364 * libio/ioungetwc.c: Likewise.
4365 * libio/iovdprintf.c: Likewise.
4366 * libio/iovsprintf.c: Likewise.
4367 * libio/iovsscanf.c: Likewise.
4368 * libio/memstream.c: Likewise.
4369 * libio/obprintf.c: Likewise.
4370 * libio/oldfileops.c: Likewise.
4371 * libio/oldiofclose.c: Likewise.
4372 * libio/oldiofdopen.c: Likewise.
4373 * libio/oldiofopen.c: Likewise.
4374 * libio/oldiopopen.c: Likewise.
4375 * libio/oldstdfiles.c: Likewise.
4376 * libio/putc.c: Likewise.
4377 * libio/setbuf.c: Likewise.
4378 * libio/setlinebuf.c: Likewise.
4379 * libio/stdfiles.c: Likewise.
4380 * libio/strops.c: Likewise.
4381 * libio/vasprintf.c: Likewise.
4382 * libio/vscanf.c: Likewise.
4383 * libio/vsnprintf.c: Likewise.
4384 * libio/vswprintf.c: Likewise.
4385 * libio/wfiledoalloc.c: Likewise.
4386 * libio/wfileops.c: Likewise.
4387 * libio/wgenops.c: Likewise.
4388 * libio/wmemstream.c: Likewise.
4389 * libio/wstrops.c: Likewise.
4390 * libio/__fpurge.c: Likewise.
4391 * libio/__fsetlocking.c: Likewise.
4392 * assert/assert.c: Likewise.
4393 * debug/fgets_chk.c: Likewise.
4394 * debug/fgets_u_chk.c: Likewise.
4395 * debug/fread_chk.c: Likewise.
4396 * debug/fread_u_chk.c: Likewise.
4397 * debug/gets_chk.c: Likewise.
4398 * debug/obprintf_chk.c: Likewise.
4399 * debug/vasprintf_chk.c: Likewise.
4400 * debug/vdprintf_chk.c: Likewise.
4401 * debug/vsnprintf_chk.c: Likewise.
4402 * debug/vsprintf_chk.c: Likewise.
4403 * malloc/mtrace.c: Likewise.
4404 * misc/error.c: Likewise.
4405 * misc/syslog.c: Likewise.
4406 * stdio-common/asprintf.c: Likewise.
4407 * stdio-common/fxprintf.c: Likewise.
4408 * stdio-common/getw.c: Likewise.
4409 * stdio-common/isoc99_fscanf.c: Likewise.
4410 * stdio-common/isoc99_scanf.c: Likewise.
4411 * stdio-common/isoc99_vfscanf.c: Likewise.
4412 * stdio-common/isoc99_vscanf.c: Likewise.
4413 * stdio-common/isoc99_vsscanf.c: Likewise.
4414 * stdio-common/printf-prs.c: Likewise.
4415 * stdio-common/printf_fp.c: Likewise.
4416 * stdio-common/printf_fphex.c: Likewise.
4417 * stdio-common/printf_size.c: Likewise.
4418 * stdio-common/putw.c: Likewise.
4419 * stdio-common/scanf.c: Likewise.
4420 * stdio-common/sprintf.c: Likewise.
4421 * stdio-common/tmpfile.c: Likewise.
4422 * stdio-common/vfprintf.c: Likewise.
4423 * stdio-common/vfscanf.c: Likewise.
4424 * stdlib/strfmon_l.c: Likewise.
4425 * sunrpc/openchild.c: Likewise.
4426 * sunrpc/xdr_stdio.c: Likewise.
4427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4428 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4429
d6c33fda
RM
44302012-05-24 Roland McGrath <roland@hack.frob.com>
4431
c1487492
RM
4432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4433
4434 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4435 in the third column, to generate for the shared library an IFUNC
4436 that uses _dl_vdso_vsym.
4437 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4438 * Makeconfig (object-suffixes-noshared): New variable.
4439
4440 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4441 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4442 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4443 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4444
d6c33fda
RM
4445 [BZ #14132]
4446 * include/sys/time.h (__gettimeofday): Remove macro.
4447 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4448 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4449 Remove INTDEF.
4450 (__gettimeofday): Add libc_hidden_def.
4451 (gettimeofday): Add libc_hidden_weak.
4452 * sysdeps/mach/gettimeofday.c: Likewise.
4453 * sysdeps/posix/gettimeofday.c: Likewise.
4454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4457 (__gettimeofday_internal): Remove strong_alias.
4458 (__gettimeofday): Add libc_hidden_def.
4459 (gettimeofday): Add libc_hidden_weak.
4460 * sysdeps/unix/syscalls.list (gettimeofday):
4461 Remove __gettimeofday_internal alias.
4462
b5a2bbe6
L
44632012-05-24 Daniel Jacobowitz <drow@false.org>
4464 H.J. Lu <hongjiu.lu@intel.com>
4465
4466 [BZ #12495]
4467 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4468 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4469 (largebin_index_32_big): New.
4470 (largebin_index): Use it for 16-byte alignment.
4471 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4472 correction with front_misalign.
4473
cfba4fda
L
44742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4475
7f907421
L
4476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4478 Likewise.
4479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4480 Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4482 Likewise.
4483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4484 Likewise.
4485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4486 Likewise.
4487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4488 Likewise.
4489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4490 Likewise.
4491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4492 Likewise.
4493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4494 Likewise.
4495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4496 Likewise.
4497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4498 Likewise.
4499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4500 Likewise.
4501
cfba4fda
L
4502 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4503 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4504
80bad0cc
JM
45052012-05-24 Joseph Myers <joseph@codesourcery.com>
4506
7a25eb06
JM
4507 [BZ #10846]
4508 [BZ #14036]
4509 * math/libm-test.inc (exp_test): Add test from bug 14036.
4510 (pow_test): Add test from bug 10846.
4511
795405f9
JM
4512 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4513 and other flags.
4514 (special_function): Do not include flags in test name.
4515 (parse_args): Likewise.
4516 * sysdeps/i386/fpu/libm-test-ulps: Update.
4517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521
80bad0cc
JM
4522 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4523 exceptions.
4524 * math/libm-test.inc ("Philosophy"): Update comment about
4525 exception testing.
4526 (UNDERFLOW_EXCEPTION): New macro.
4527 (UNDERFLOW_EXCEPTION_OK): Likewise.
4528 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4529 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4530 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4531 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4532 (INVALID_EXCEPTION_OK): Update value.
4533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4534 (OVERFLOW_EXCEPTION_OK): Likewise.
4535 (IGNORE_ZERO_INF_SIGN): Likewise.
4536 (test_exceptions): Handle underflow exceptions.
4537 (acos_test): Update for underflow exception expectations.
4538 (cexp_test): Likewise.
4539 (clog_test): Likewise.
4540 (clog10_test): Likewise.
4541 (csqrt_test): Likewise.
4542 (ctan_test): Likewise.
4543 (ctanh_test): Likewise.
4544 (exp_test): Likewise.
4545 (exp10_test): Likewise.
4546 (exp2_test): Likewise.
4547 (expm1_test): Likewise.
4548 (fma_test): Likewise.
4549 (j0_test): Likewise.
4550 (jn_test): Likewise.
4551 (nexttoward_test): Likewise.
4552 (pow_test): Likewise.
4553 (scalbn_test): Likewise.
4554 (scalbln_test): Likewise.
4555 (tan_test): Likewise.
4556 (y1_test): Likewise.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559
9e0e3d0b
DM
45602012-05-23 David S. Miller <davem@davemloft.net>
4561
4562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4563 (__libc_sigaction): Remove unused local variables.
4564
ccd0a08f
L
45652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4566
4567 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4568
62bdf9a6
PE
45692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4570
f8591f80
PE
4571 mktime: avoid signed integer overflow
4572 * time/mktime.c (__mktime_internal): Do not mishandle the case
4573 where diff == INT_MIN.
4574
94c7d826
PE
4575 mktime: simplify computation of average
4576 * time/mktime.c (ranged_convert): Use new time_t_avg function
4577 instead of rolling our own (probably-slower) code.
4578
ce73d683
PE
4579 mktime: do not assume signed right shift propagates sign bit
4580 * time/mktime.c (isdst_differ): New static function.
4581 (__mktime_internal): No need to normalize tm_isdst now.
4582 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4583 tm_isdst values.
4584
72a22e59
PE
4585 mktime: merge another wrapv change from gnulib
4586 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4587 from some compilers.
4588
68605433
PE
4589 mktime: remove incorrect attempt at unusual arithmetics
4590 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4591 The code didn't really work on such machines anyway.
4592 (TYPE_MINIMUM): Assume two's complement.
4593 (twos_complement_arithmetic): Verify that long_int and time_t
4594 are two's complement (or unsigned, in the latter case).
4595
03cf7fe3
PE
4596 mktime: check signed shifts on long_int and time_t, too
4597 * time/mktime.c (SHR): Check that shifts work as desired
4598 on the types long_int and time_t too, as SHR is used on
4599 such types.
4600
f04dfbc2
PE
4601 mktime: do not assume 'long' is wide enough
4602 * time/mktime.c (verify): Move decl up.
4603 (long_int): New type.
4604 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4605 to remove assumption in the code that 'long' is wide enough to
4606 store year values. This assumption is not true on x32 and on
4607 some non-glibc platforms.
4608
62bdf9a6
PE
4609 mktime: merge wrapv change from gnulib
4610 * time/mktime.c (WRAPV): New macro.
4611 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4612 (guess_time_tm, __mktime_internal): Do not assume that signed
4613 integer overflow wraps around; modern compilers generate code
4614 where this assumption is no longer valid.
4615
5e292e4f
L
46162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4617
4618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4619 Replace "jmp L(pseudo_end)" with "ret".
4620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4621 Likewise.
4622
8caf8c87
AJ
46232012-05-23 Andreas Jaeger <aj@suse.de>
4624
4625 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4626 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4627
1a09dc56
AJ
46282012-05-23 Andreas Jaeger <aj@suse.de>
4629 Maximilian Attems <max@stro.at>
4630
4631 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4632 New macros.
4633
1c87aba0
L
46342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4637 code so that pseudo_end is just ret and the stack pointer is
4638 correct also for static library in error case.
4639
40e45bd5
JM
46402012-05-23 Joseph Myers <joseph@codesourcery.com>
4641
c2670533
JM
4642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4643 move to syscalls.list.
4644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4648
40e45bd5
JM
4649 * manual/install.texi (Running make install): Do not mention Linux
4650 kernel version for which pt_chown is not needed.
4651 (Linux): Do not mention problems with nscd with 2.0 kernels.
4652 * INSTALL: Regenerated.
4653
be08eda5
AJ
46542012-05-23 Andreas Jaeger <aj@suse.de>
4655
4656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4657 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4658 macro.
4659 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4661 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4663 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4669 * sysdeps/unix/sysv/linux/bits/in.h
4670 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4671
a6a056bb
RM
46722012-05-22 Roland McGrath <roland@hack.frob.com>
4673
4674 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4675 (PREPARE_VERSION): Just use assert instead, it will be elided
4676 under [NDEBUG] anyway.
4677
c9009328
L
46782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 * sysdeps/unix/sysv/linux/Makefile: Include
4681 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4682 (sysdep_routines): Remove sysctl.
c9009328
L
4683 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4684 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4686 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4687 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4688
73338355
AJ
46892012-05-22 Andreas Jaeger <aj@suse.de>
4690
4691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4692 that pseudo_end is just ret and the stack pointer is correct also
4693 for static library in error case.
4694
d44638b0
PP
46952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4696
4697 [BZ #14122]
4698 * nss/nsswitch.c (defconfig_entries): New variable.
4699 (__nss_database_lookup): Don't leak defconfig entries.
4700 (nss_parse_service_list): Don't leak on error paths.
4701 (free_database_entries): New function.
4702 (free_defconfig): New function.
4703 (free_mem): Move common code to free_database_entries.
4704
31a39bd8
L
47052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4706
da0331a8
L
4707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4708 Add arch_prctl.
4709 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4710
31a39bd8
L
4711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4712 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4714 New macro.
4715 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4716 (INTERNAL_SYSCALL_TYPES): Likewise.
4717 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4718 (LOAD_REGS_TYPES_[1-6]): Likewise.
4719 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4720 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4721
45470df3
AZ
47222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723
4724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4725 copysignl for GLIBC_2_0.
4726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4727 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4729 logbl for GLIBC_2_0.
4730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4732
98a61bcb
L
47332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4734
a4f6e481
L
4735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4737
f63d5db6
L
4738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4739 Use "neg %eax".
4740
98a61bcb
L
4741 * time/mktime.c: Update copyright years.
4742
95770f14
PE
47432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4744
6226efbd
PE
4745 mktime: merge comment-quoting-style change from gnulib
4746 * time/mktime.c: Quote 'like this' in comments.
4747 The GNU coding standards suggest that we no longer quote `like this',
4748 as "`" and "'" are typically rendered asymmetrically nowadays.
4749 The typical gnulib style is to quote 'like this' when quoting
4750 code, and "like this" when quoting English.
4751
b99e4f78
PE
4752 * time/mktime.c (compile-command): Add "-I.".
4753
643e01e6
PE
4754 mktime: merge mktime-internal.h change from gnulib
4755 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4756
2554247d
PE
4757 mktime: merge time_r change from gnulib
4758 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4759
826dd0ab
PE
4760 mktime: merge DEBUG change from gnulib
4761 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4762 case system <time.h> has a #define.
4763
bd83aabe
PE
4764 mktime: merge <sys/types.h> change from gnulib
4765 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4766 since <time.t> is now guaranteed to define time_t.
4767
95770f14
PE
4768 mktime: merge HAVE_CONFIG_H change from gnulib
4769 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4770
5e1a27a9
L
47712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4772
0e44a77e
L
4773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4774 Use "neg %eax".
4775
5e1a27a9
L
4776 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4777 __rlim_t cast.
4778 (struct rusage): Use anonymous union to pad each field to
4779 __syscall_slong_t.
4780
46259bec
DM
47812012-05-21 David S. Miller <davem@davemloft.net>
4782
4783 * Makefules (o-iterator): Remove .s cases.
4784 (compile-command.s): Delete.
4785 (COMPILE.s): Delete.
4786 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4787
59f0c22e
JM
47882012-05-21 Joseph Myers <joseph@codesourcery.com>
4789
4790 * configure.in (libc_cv_predef_stack_protector): Only consider
4791 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4792 * configure: Regenerated.
4793
20c07380
L
47942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4795
bbb3154b
L
4796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4797 New macro. Use R*LP on int and pointer.
4798 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4799 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4800 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4801 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4802
20c07380
L
4803 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4804 [__WORDSIZE_TIME64_COMPAT32] instead of
4805 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4806 (struct utmp): Likewise.
4807 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4808 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4809 Renamed to ...
4810 (__WORDSIZE_TIME64_COMPAT32): This.
4811 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4812 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4813 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4816 (__WORDSIZE_TIME64_COMPAT32): New macro.
4817
d8d1017e
AJ
48182012-05-21 Andreas Jaeger <aj@suse.de>
4819
4820 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4821 only if [SHARED]. Add prototype for __wcschr_ia32.
4822
6c7fb145
RM
48232012-05-21 Roland McGrath <roland@hack.frob.com>
4824
4825 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4826 of %rbp unmolested in the jmp_buf while mangling the low bits.
4827 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4828 unmolested high bits of %rbp while demangling the low bits.
4829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4830
66274218
AJ
48312012-05-21 Andreas Jaeger <aj@suse.de>
4832
07c58f8f
AJ
4833 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4834 * sunrpc/svc_simple.c: Use it for registerrpc.
4835 * sunrpc/xcrypt.c: Use it for passwd2des.
4836
66274218
AJ
4837 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4838
61f65140
L
48392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4840
4841 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4842 Don't define if [__SYSCALL_WORDSIZE != 32].
4843 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4844 New macro.
4845
5fefb436
AJ
48462012-05-21 Bruno Haible <bruno@clisp.org>
4847 Andreas Jaeger <aj@suse.de>
4848
4849 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4850 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4851 inptr and inend for must_buffer_ch.
4852 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4853 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4854 * stdio-common/Makefile (tests): Remove bug15.
4855 (bug15-ENV): Remove macro.
4856 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4857 anymore.
4858
d8e272ab
AJ
48592012-05-19 Andreas Jaeger <aj@suse.de>
4860 Roland McGrath <roland@hack.frob.com>
4861
4862 * manual/contrib.texi: Completely rewritten. It contains now an
4863 alphabetical list of contributors and their contributions.
4864
4a56a162
RH
48652012-05-21 Richard Henderson <rth@twiddle.net>
4866
4867 * misc/getauxval.c (__getauxval): Use unsigned long int.
4868 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4869 (getauxval): Use unsigned long int.
4870
d024d23c
L
48712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4874
cbc00a03
RM
48752012-05-21 Roland McGrath <roland@hack.frob.com>
4876
4877 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4878 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4879 __alignof__ (long double).
4880
478143fa
AZ
48812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4882
4883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4884
c7683a6d
RH
48852012-05-20 Richard Henderson <rth@twiddle.net>
4886
4887 * misc/getauxval.c: New file.
4888 * misc/sys/auxv.h: New file.
4889 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4890 (routines): Add getauxval.
4891 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4893 * elf/dl-sysdep.c (_dl_auxv): Remove.
4894 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4895 * elf/dl-support.c (_dl_auxv): New variable.
4896 (_dl_aux_init): Initialize it.
4897 * manual/startup.texi (Auxiliary Vector): New node.
4898 * sysdeps/generic/bits/hwcap.h: New file.
4899 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4900 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4901 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4902 * sysdeps/sparc/sysdep.h: ... here. Include it.
4903 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4906 Update.
c7683a6d
RH
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4915
a6f1845d
AZ
49162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4917
4918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4919
cbcbe830
DM
49202012-05-19 David S. Miller <davem@davemloft.net>
4921
4922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4923
e0b16cc2
JM
49242012-05-19 Joseph Myers <joseph@codesourcery.com>
4925
4926 [BZ #14123]
4927 * math/s_ccosh.c: Include <float.h>
4928 (__ccosh): Avoid internal overflow calculating sinh and cosh
4929 values before multiplying by sin and cos values.
4930 * math/s_ccoshf.c: Likewise.
4931 * math/s_ccoshl.c: Likewise.
4932 * math/s_csin.c: Likewise.
4933 * math/s_csinf.c: Likewise.
4934 * math/s_csinl.c: Likewise.
4935 * math/s_csinh.c: Likewise.
4936 * math/s_csinhf.c: Likewise.
4937 * math/s_csinhl.c: Likewise.
4938 * math/libm-test.inc (ccos_test): Add more tests.
4939 (ccosh_test): Likewise.
4940 (csin_test): Likewise.
4941 (csinh_test): Likewise.
4942 * sysdeps/i386/fpu/libm-test-ulps: Update.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4944
6ad13e08
L
49452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4946
f66f0ce8
L
4947 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4948 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4949
6ad13e08
L
4950 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4951
b1d072a7
JM
49522012-05-19 Joseph Myers <joseph@codesourcery.com>
4953
4954 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4955 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4957 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4958 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4959 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4960 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4961 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4962 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4963 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4964 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4965 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4966 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4967 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4968 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4969 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4970 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4971 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4972 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4973 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4974 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4975 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4976 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4977 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4978 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4979 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4980 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4981 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4982 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4983 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4984 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4985
9eae47cb
AJ
49862012-05-18 Andreas Jaeger <aj@suse.de>
4987
4988 * csu/.gitignore: Delete.
4989
bb07f69f
L
49902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4993 (timex): Use __syscall_slong_t.
4994
e6bdb741
AJ
49952012-05-18 Andreas Jaeger <aj@suse.de>
4996 Carlos O'Donell <carlos_odonell@mentor.com>
4997
4998 * manual/install.texi (Configuring and compiling): Update
4999 description about files modified in the source directory.
d6c33fda 5000 * INSTALL: Regenerated.
e6bdb741 5001
1b74487e
L
50022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5003
5004 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5005 value. Use "or" to set return value to -1.
5006 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5007 negate return value.
5008
a88b64b9
TMQMF
50092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5010
5011 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5012 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5013 failure if the compiler has Graphite support disabled.
5014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5015 Likewise.
5016 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5017 CFLAGS-memmove.c): Likewise.
5018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5019 Likewise.
5020
3707636e
L
50212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5022
610b8622
L
5023 * sysdeps/x86_64/x32/_itoa.h: New file.
5024
7cd195df
L
5025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5026 getdents system call only if kernel and user dirents have the
5027 same d_ino and d_off.
5028
94b07d20
L
5029 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5030 LLONG_MAX != LONG_MAX.
5031 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5032 (_fitoa_word): Likewise.
5033
18298070
L
5034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5035 years.
5036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5039
553c7ea4
L
5040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5041 include <bits/wordsize.h>. Check __x86_64__ instead of
5042 __WORDSIZE.
5043 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5044 if __x86_64__ is defined. Use anonymous union on fpstate.
5045
3707636e
L
5046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5047 anonymous union.
5048
b53ef01a
AS
50492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5050
37fb1dc0
AS
5051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5052 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5054 Refer to _rtld_local_ro instead of _rtld_global_ro.
5055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5056 Likewise.
5057 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5058 Likewise.
5059 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5060 Likewise.
5061 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5062 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5063 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5064
b53ef01a
AS
5065 * sysdeps/powerpc/powerpc32/dl-machine.c
5066 (__elf_machine_runtime_setup) [PROF]: Don't reference
5067 _dl_prof_resolve.
5068
7a185db2
AJ
50692012-05-18 Andreas Jaeger <aj@suse.de>
5070
5071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5072 function only available for GCCs before 3.4 since GCC 3.4
5073 introduced a builtin.
5074 (lrint): Likewise.
5075 (llrintf): Likewise.
5076 (llrint): Likewise.
5077 (fmaxf): Likewise.
5078 (fmax): Likewise.
5079 (fminf): Likewise.
5080 (fmin): Likewise.
5081 (rint): Likewise.
5082 (rintf): Likewise.
5083 (nearbyint): Likewise.
5084 (nearbyintf): Likewise.
5085 (ceil): Likewise.
5086 (ceilf): Likewise.
5087 (floor): Likewise.
5088 (floorf): Likewise.
5089
3e5aef87
L
50902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5091
428bd707
L
5092 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5093 on both fields and cast pointer to __syscall_ulong_t.
5094
3e5aef87
L
5095 * bits/types.h (__fsword_t): New type.
5096 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5097 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5099 (__FSWORD_T_TYPE): Likewise.
5100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5101 (__FSWORD_T_TYPE): Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5103 (__FSWORD_T_TYPE): Likewise.
5104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5105 (__FSWORD_T_TYPE): Likewise.
5106 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5107 __SWORD_TYPE with __fsword_t.
5108 (statfs64): Likewise.
5109
1ba7c3dc
DM
51102012-05-17 David S. Miller <davem@davemloft.net>
5111
5112 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5113
59910343
AJ
51142012-05-17 Andreas Jaeger <aj@suse.de>
5115
5116 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5117 warning.
5118
2e4c1e9e
L
51192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5122
de7f5ce7
AJ
51232012-05-17 Andreas Jaeger <aj@suse.de>
5124
5125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5126 when it is used.
5127
286abc3d
CM
51282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5129
5130 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5131
477cc68e
L
51322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5135 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5136
1a0994f5
CD
51372012-05-17 Andreas Jaeger <aj@suse.de>
5138 Carlos O'Donell <carlos_odonell@mentor.com>
5139
5140 [BZ #14059]
5141 * sysdeps/x86_64/multiarch/init-arch.h
5142 (bit_YMM_Usable): Rename to...
5143 (bit_AVX_Usable): ... this.
5144 (bit_FMA4_Usable): New macro.
5145 (bit_XMM_state): New macro.
5146 (bit_YMM_state): New macro.
5147 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5148 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5149 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5150 (CPUID_OSXSAVE): New macro.
5151 (CPUID_AVX): New macro.
5152 (CPUID_FMA4): New macro.
5153 (index_YMM_Usable): Rename to...
5154 (index_AVX_Usable): ... this.
5155 (HAS_AVX): Use HAS_ARCH_FEATURE.
5156 (HAS_FMA4): Likewise.
5157 (HAS_YMM_USABLE): Remove.
5158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5159 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5160 are present.
5161 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5162 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5163 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5164 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5165 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5166
0af797de
CM
51672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5168
5169 * math/libm-test.c: Support platforms without multiple rounding modes.
5170 * math/bug-nextafter.c: Support platforms without FP exceptions.
5171 * math/bug-nexttoward.c: Likewise.
5172 * math/test-fenv.c: Likewise.
5173 * math/test-misc.c: Likewise.
5174 * stdlib/bug-getcontext.c: Likewise.
5175
e39745ff
AJ
51762012-05-17 Andreas Jaeger <aj@suse.de>
5177
5178 * manual/examples/search.c (critter_cmp): Change signature to
5179 avoid warnings.
5180 * manual/string.texi (Collation Functions): Likewise.
5181
48970aba
L
51822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5183
5184 * bits/types.h: Fold copyright years.
5185 * bits/typesizes.h: Likewise.
5186 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5190 * time/time.h: Likewise.
5191
bedee953
PP
51922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5193
5194 [BZ #208]
5195 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5196 in instead of returning them. Return void.
5197 (__libc_mallinfo): Accumulate over all arenas.
5198 (__malloc_stats): Adjust for change in int_mallinfo interface.
5199
61653dfb
RM
52002012-05-16 Roland McGrath <roland@hack.frob.com>
5201
30b99d79
RM
5202 [BZ #10375]
5203 * configure.in (NM): Add AC_CHECK_TOOL for it.
5204 (libc_extra_cflags): New substituted variable.
5205 Check for -fstack-protector being used implicitly.
5206 * configure: Regenerated.
5207 * config.make.in (config-extra-cflags): New variable,
5208 gets @libc_extra_cflags@.
5209 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5210
61653dfb
RM
5211 [BZ #10375]
5212 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5213 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5214 * configure: Regenerated.
5215 * config.make.in (CPPUNDEFS): New substituted variable.
5216 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5217 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5218 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5219
661768bb
L
52202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5221
5222 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5223 (mq_attr): Use __syscall_slong_t.
5224
d4261567
L
52252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5228 Check __x86_64__ instead of __WORDSIZE.
5229 (_STAT_VER_LINUX): Likewise.
5230 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5231 __syscall_ulong_t and __syscall_slong_t.
5232 (stat64): Likewise.
5233
cf3ff365
L
52342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5237
76cf3e4d
L
52382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5239
5240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5241
a637753a
L
52422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5245 __syscall_ulong_t.
5246
d5e05119
L
5247 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5248 include <bits/wordsize.h>. Check __x86_64__ instead of
5249 __WORDSIZE.
5250 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5251 defined.
5252 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5253
f62ee380
L
5254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5255 include <bits/wordsize.h>. Check __x86_64__ instead of
5256 __WORDSIZE.
5257 (user_regs_struct): Use "__extension__ unsigned long long"
5258 instead of "unsigned long" if __x86_64__ is defined.
5259 (user): Likewise. Pad after pointer field if __ILP32__ is
5260 defined.
5261
4e124ced
JM
52622012-05-16 Joseph Myers <joseph@codesourcery.com>
5263
6a3951a0
JM
5264 * configure.in (makeinfo): Require version 4.5 or later. Allow
5265 versions 5 to 9.
5266 * configure: Regenerated.
5267 * manual/install.texi (texinfo): Increase version requirement to
5268 4.5 or later.
5269 * INSTALL: Regenerated.
5270
4e124ced
JM
5271 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5272
953ca31a
L
52732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5274
5275 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5276
617aca05
L
5277 * sysdeps/x86_64/x32/ffs.c: New file.
5278
5762f7ae
L
5279 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5280 __syscall_ulong_t.
5281 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5282 defined. Use __syscall_ulong_t.
5283 (shminfo): Use __syscall_ulong_t.
5284 (shm_info): Likewise.
5285
a26b6856
L
5286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5287 __syscall_ulong_t.
5288
cb2b9ef7
L
5289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5290 <bits/wordsize.h>.
5291 (msgqnum_t): Use __syscall_ulong_t.
5292 (msglen_t): Likewise.
5293 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5294 __syscall_ulong_t.
5295
34683bb0
L
5296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5298
84a68786
L
5299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5300
48baa5f1
L
5301 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5302 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5303
180be88b
L
5304 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5305 __syscall_slong_t.
5306
5e90c8ad
L
5307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5308 include <bits/wordsize.h>. Check __x86_64__ instead of
5309 __WORDSIZE.
5310
23dfb58b
L
5311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5312 "unsigned long long int" if __x86_64__ is defined.
5313 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5314
ce5d54b0
L
5315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5317 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5318
13dc9eac
L
5319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5320 <stdint.h>.
5321 (GET_PC): Cast to uintptr_t first.
5322 (GET_FRAME): Likewise.
5323 (GET_STACK): Likewise.
5324
a7895d15
L
5325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5354
656416c9
AS
53552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5356
5bd66283
AS
5357 * Makerules (+depfiles): Also collect depfiles from .oS in
5358 $(extra-objs).
5359 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5360 .oS, $(libnldbl-routines)).
5361
656416c9
AS
5362 * Makerules (native-compile-mkdep-flags): Define.
5363 * sunrpc/Makefile (extra-objs): Add $(addprefix
5364 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5365 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5366 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5367 calling $(make-target-directory).
5368
a46f2169
L
53692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 * bits/types.h (__snseconds_t): Removed.
5372 * time/time.h (struct timespec): Replace __snseconds_t with
5373 __syscall_slong_t.
5374 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5375 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5376 Likewise.
5377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5378 (__SNSECONDS_T_TYPE): Likewise.
5379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5380 (__SNSECONDS_T_TYPE): Likewise.
5381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5382 (__SNSECONDS_T_TYPE): Likewise.
5383
6af6528b
L
53842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5385
5386 * sysdeps/mach/hurd/bits/typesizes.h
5387 (__SYSCALL_SLONG_TYPE): New macro.
5388 (__SYSCALL_ULONG_TYPE): Likewise.
5389
de986b56
L
53902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5391
5392 * bits/types.h (__syscall_slong_t): New type.
5393 (__syscall_ulong_t): Likewise.
5394
5395 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5396 (__SYSCALL_ULONG_TYPE): Likewise.
5397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5398 (__SYSCALL_SLONG_TYPE): Likewise.
5399 (__SYSCALL_ULONG_TYPE): Likewise.
5400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5401 (__SYSCALL_SLONG_TYPE): Likewise.
5402 (__SYSCALL_ULONG_TYPE): Likewise.
5403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5404 (__SYSCALL_SLONG_TYPE): Likewise.
5405 (__SYSCALL_ULONG_TYPE): Likewise.
5406
85736dc7
L
54072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5410 Add sigaltstack-offsets.sym.
5411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5412 <sigaltstack-offsets.h>.
5413 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5414 longjmp_msg pointer.
5415 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5416 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5417 signal stack.
5418 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5419
cc03b296
JM
54202012-05-15 Joseph Myers <joseph@codesourcery.com>
5421
a9538892
JM
5422 * elf/stackguard-macros.h: Remove file.
5423 * sysdeps/generic/stackguard-macros.h: New file.
5424 * sysdeps/i386/stackguard-macros.h: Likewise.
5425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5431 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5432 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5433 <elf/stackguard-macros.h>.
5434
cc03b296
JM
5435 [BZ #14109]
5436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5437 __aligned__ in attribute.
5438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5439 (gregset_t): Likewise.
5440
93171016
L
54412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5444 * sysdeps/x86_64/64/Implies-after: Here. New file.
5445 * sysdeps/x86_64/x32/Implies-after: New file.
5446
d86813a0
L
54472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5448
5449 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5450 and access return value for _dl_profile_fixup. Use R10_LP to
5451 load frame size.
5452
2953ec75
L
54532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5456
3b550e9e
L
54572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5460 * sysdeps/x86_64/x32/sysdep.h: New file.
5461
eda41706
L
54622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5463
5464 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5465 * sysdeps/x86_64/setjmp.S: Likewise.
5466
9ea01d93
AZ
54672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468
5469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5471 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5473 remove unused global constant.
5474
02a91938
CM
54752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5476
5477 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5478 include of <not-cancel.h>.
5479
6540185f
RM
54802012-05-15 Roland McGrath <roland@hack.frob.com>
5481
5482 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5483
509072a0
AJ
54842012-05-15 Jeff Law <law@redhat.com>
5485 Andreas Jaeger <aj@suse.de>
5486
5487 [BZ #13594]
5488 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5489 out from...
5490 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5491 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5493 code changing __hst_map_handle.map.
5494
ba75122d
RM
54952012-05-15 Roland McGrath <roland@hack.frob.com>
5496
5497 * configure.in (sysnames): Look for Implies-before and Implies-after
5498 files.
5499 * configure: Regenerated.
5500
890d8bd8
L
55012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5502
5503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5504 8-byte data alignment with LP_SIZE alignment.
5505
f6ee6623
L
55062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5507
5508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5509 into R10_LP.
5510
ea2626f6
L
55112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5512
5513 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5514
085f715e
L
55152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5516
5517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5518 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5520 Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5522
be8498fc
L
55232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5524
5525 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5526 (stackinfo_sub_sp): Likewise.
5527
70bc83b9
L
55282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5529
5530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5531 RAX_LP.
5532
9bc0b730
L
55332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5536 into R*_LP.
5537
6d2850e7
L
55382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5541 sizes into R*_LP.
5542
3cb84561
L
55432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5544
5545 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5546
54e2ed81
L
55472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5548
5549 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5550 into R11_LP and load __x86_64_shared_cache_size_half into
5551 R8_LP.
5552
8a17f349
L
55532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5554
5555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5556 R8_LP.
5557
777b1eea
AZ
55582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559
5560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5561 logb for POWER7.
5562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5563 logbf for POWER7.
5564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5565 logbl for POWER7.
5566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5567 powerpc32/power7/fpu/s_logb.c via #include.
5568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5569 powerpc32/power7/fpu/s_logbf.c via #include.
5570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5571 powerpc32/power7/fpu/s_logbl.c via #include.
5572
d20d4ac2
JM
55732012-05-15 Joseph Myers <joseph@codesourcery.com>
5574
5575 * README.libm: Remove file.
5576
6cdef1ab
L
55772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5578
5579 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5580 count for x32. Use R*_LP and omit operand-size suffix.
5581
0b254d8f
L
55822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5585 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5586 * sysdeps/x86_64/x32/shlib-versions: New file.
5587
ceb809dc
RM
55882012-05-14 Roland McGrath <roland@hack.frob.com>
5589
5590 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5591 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5592 Use _dl_fatal_printf instead.
5593
37f1abd4
JM
55942012-05-14 Joseph Myers <joseph@codesourcery.com>
5595
5596 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5597 set if not set by the user. Do not allow for being unset.
5598 * sysdeps/unix/sysv/linux/configure: Regenerated.
5599
11de3a33
L
56002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5603 the `q' suffix from lea and replace .quad with ASM_ADDR.
5604
e02f153a
L
56052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5608 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5609 instead of $17.
5610 (PTR_DEMANGLE): Likewise.
5611
520ae0fd
L
56122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5613
5614 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5615 (LP_OP): Likewise.
5616 (ASM_ADDR): Likewise.
5617 (RAX_LP): Likewise.
5618 (RBP_LP): Likewise.
5619 (RBX_LP): Likewise.
5620 (RCX_LP): Likewise.
5621 (RDI_LP): Likewise.
5622 (RSI_LP): Likewise.
5623 (RSP_LP): Likewise.
5624 (R8_LP): Likewise.
5625 (R9_LP): Likewise.
5626 (R10_LP): Likewise.
5627 (R10_LP): Likewise.
5628 (R11_LP): Likewise.
5629 (R12_LP): Likewise.
5630 (R13_LP): Likewise.
5631 (R14_LP): Likewise.
5632 (R15_LP): Likewise.
5633
b985be81
L
56342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5635
5636 * sysdeps/x86_64/x32/dl-machine.h: New file.
5637
6a4888ff
AJ
56382012-05-14 Andreas Jaeger <aj@suse.de>
5639
5640 * manual/Makefile (subdir): Remove export of subdir.
5641 (all): Remove target.
5642 (.PHONY): Remove all from list.
5643 (mkinstalldirs): Remove.
5644 (.PHONY): Remove installdirs from list.
5645 ($(inst_infodir)/libc.info): Use make-target-directory.
5646 (installdirs): Remove.
5647 (subdir_%): Remove.
5648 (glibc-targets): Remove.
5649 (lib): Remove.
5650 (stubs): Remove.
5651 ($(objpfx)stubs ../po/manual.pot): Remove.
5652 ($(objpfx)stamp%): Remove.
5653 (make-target-directory): Remove.
5654 (subdir_install): Remove.
5655 (routines): Remove.
5656 (aux): Remove.
5657 (sources): Remove.
5658 (objects): Remove.
5659 (headers): Remove.
5660
5661 [BZ #13750]
5662 * manual/.gitignore: Remove, it's not needed anymore.
5663 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5664 all files in it.
5665 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5666 directory.
5667 (texis): Renamed to $(objpfx)texis.
5668 (texis-path): New, contains path to generated files.
5669 (chapters.%): Use texis-path for complete path, add extra argument
5670 libc-texinfo.sh.
5671 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5672 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5673 (summary,texi, stamp-summary): Use complete path of
5674 files. Generate files in build dir.
5675 (dir-add.texi): Build in build dir.
5676 (libm-err.texi,stamp-libm-err): Likewise.
5677 (version.texi, stamp-version): Likewise.
5678 (.%c.texi): Likewise.
5679 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5680 (mostlyclean): Remove target.
5681 (realclean): Remove target.
5682 (generated): Add new variable with contents from mostlyclean and
5683 realclean, remove entries duplicated in common-mostlyclean, add
5684 stamp-libm-err and stamp-version.
5685 (generated-dirs): Add libc directory.
5686 ($(inst_infodir)/libc.info): Install files from build dir.
5687
5688 * manual/install.texi (Configuring and compiling): Adjust since
5689 the info files are not part of the tar ball anymore.
5690
7ac77294
AJ
56912012-05-14 Andreas Jaeger <aj@suse.de>
5692
5693 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5694 variable.
5695
ffb7875d
JM
56962012-05-14 Joseph Myers <joseph@codesourcery.com>
5697
5698 [BZ #13717]
5699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5700 to 2.2.0 where earlier.
5701 * sysdeps/unix/sysv/linux/configure: Regenerated.
5702 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5703 Remove conditional code.
5704 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5705 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5706 Remove conditional code.
5707 [!__NR_lchown]: Likewise.
5708 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5709 [__NR_lchown]: Likewise.
5710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5711 comment referencing __ASSUME_LCHOWN_SYSCALL.
5712 * sysdeps/unix/sysv/linux/i386/sigaction.c
5713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5715 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5716 Remove conditional code.
5717 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5718 (__protocol_available): Remove #if 0 code.
5719 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5720 conditional code.
5721 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5722 * sysdeps/unix/sysv/linux/kernel-features.h
5723 (__ASSUME_GETCWD_SYSCALL): Don't define.
5724 (__ASSUME_REALTIME_SIGNALS): Likewise.
5725 (__ASSUME_PREAD_SYSCALL): Likewise.
5726 (__ASSUME_PWRITE_SYSCALL): Likewise.
5727 (__ASSUME_POLL_SYSCALL): Likewise.
5728 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5729 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5730 non-SPARC.
5731 (__ASSUME_SIOCGIFNAME): Don't define.
5732 (__ASSUME_MSG_NOSIGNAL): Likewise.
5733 (__ASSUME_SENDFILE): Define unconditionally.
5734 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5735 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5736 conditional code.
5737 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5738 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5740 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5742 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5743 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5768 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5769 Remove conditional code.
5770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5771 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5772 Remove conditional code.
5773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5775 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5776 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5777 Remove conditional code.
5778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5779 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5780 Remove conditional code.
5781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5782 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5783 Remove conditional code.
5784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5785 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5786 Remove conditional code.
5787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5788 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5789 Remove conditional code.
5790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5791 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5794 * sysdeps/unix/sysv/linux/sigaction.c
5795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5797 * sysdeps/unix/sysv/linux/sigpending.c
5798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5800 * sysdeps/unix/sysv/linux/sigprocmask.c
5801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5803 * sysdeps/unix/sysv/linux/sigsuspend.c
5804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5807 (__libc_missing_rt_sigs): Remove.
5808 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5809 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5810 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5811 Remove conditional code.
5812 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5813 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5814 return 1.
5815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5819
1bfb7291
AJ
58202012-05-14 Andreas Jaeger <aj@suse.de>
5821
caae5a81
AJ
5822 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5823 it's not used in glibc.
5824 (__coshm1): Likewise.
5825 (__acosh1p): Likewise.
5826 (__sgn): Likewise.
5827
1bfb7291
AJ
5828 * manual/string.texi (Copying and Concatenation): Add missing
5829 variable in concat example.
5830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5831
c044d724
L
58322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5833
144c5467 5834 [BZ #14103]
c044d724
L
5835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5836 __builtin_clzl with __builtin_clzll.
5837
2523c62b
L
58382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 [BZ #14104]
5841 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5842 libc_freeres_ptr.
5843
d7bb4c42
LD
58442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5845
5846 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5847 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5848 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5849 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5850
9dc4e1fb
MF
58512012-05-14 Mike Frysinger <vapier@gentoo.org>
5852
5853 * NEWS: Update ia64 info.
5854
c7df0112
AS
58552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5856
5857 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5858 used as bcopy.
5859
dc70356c
TS
58602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5861
5862 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5863 * sysdeps/unix/syscalls.list (dup3): Likewise.
5864 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5865 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5866
9fb1a21f
L
58672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5870 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5871
4822a2a5
L
58722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5875 thread pointer.
5876 (TLS_IE): Use mov/add instead of movq/addq to load thread
5877 pointer.
5878 (TLS_GD_PREFIX): New.
5879 (TLS_GD): Use it.
5880
842b81d6
DM
58812012-05-11 David S. Miller <davem@davemloft.net>
5882
5883 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5884 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5885 (_FPU_SETCW): Likewise.
5886
1cf463cd
L
58872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5888
5889 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5890 is 32-byte aligned.
5891
60cc4a18
AS
58922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5893
5894 [BZ #11837]
5895 * iconvdata/gb18030.c: Update tables.
5896 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5897 characters specially.
5898 (BODY for TO_LOOP): Add encoding of missing ranges.
5899
febb44a4
TS
59002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5901
5902 [BZ #13673]
5903 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5904 * sysdeps/mach/hurd/dup3.c: Likewise.
5905 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5906 * sysdeps/powerpc/memmove.c:: Likewise.
5907
0a10fb9e
L
59082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5911 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5912
df8a552f
L
59132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5914
5915 * elf/elf.h (R_X86_64_RELATIVE64): New.
5916 (R_X86_64_NUM): Updated.
5917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5918 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5919 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5920 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5921 tst-quad1pie tst-quad2pie
5922 (modules-names): Add tst-quadmod1 tst-quadmod2.
5923 ($(objpfx)tst-quad1): New dependency.
5924 ($(objpfx)tst-quad2): Likewise.
5925 ($(objpfx)tst-quad1pie): Likewise.
5926 ($(objpfx)tst-quad2pie): Likewise.
5927 * sysdeps/x86_64/tst-quad1.c: New file.
5928 * sysdeps/x86_64/tst-quad1pie.c: New file.
5929 * sysdeps/x86_64/tst-quad2.c: Likewise.
5930 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5931 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5932 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5933 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5934 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5935
f34d6f84
ST
59362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5937
f42d41d1
ST
5938 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5939 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5940 * streams/stropts.h (t_scalar_t): Define type.
5941
3c3571fc
ST
5942 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5943 (_PATH_PRESERVE): Set to "/var/lib".
5944 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5945
61f06bd3
ST
5946 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5947 instead of int.
5948
918d4d71
ST
5949 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5950 if __dir_mkfile succeeded.
5951
f34d6f84
ST
5952 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5953 checking for _hurd_dtablesize. Unlock it right after having
5954 finished _hurd_dtable allocation.
5955
10589b4a
TS
59562012-05-10 Thomas Schwinge <thomas@schwinge.name>
5957
674cdbc7
TS
5958 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5959 * sysdeps/mach/hurd/configure: Regenerated.
5960 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5961 special-casing to...
5962 * sysdeps/gnu/configure.in: ... this new file.
5963 * sysdeps/unix/sysv/linux/configure: Regenerated.
5964 * sysdeps/gnu/configure: New generated file.
5965
8e41b99f
TS
5966 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5967 for Linux: use nsec instead of usec, as well as:
5968 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5969 members of type struct timespec.
5970 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5971 New macros.
5972 (struct stat64): Likewise.
5973 (_STATBUF_ST_NSEC): New macro.
5974 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5975
10589b4a
TS
5976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5977 __strtoul_internal rather than strtoul.
5978
63643c85
PT
59792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5980
5981 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5982 and reject them.
5983
3faebe6a
ST
59842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5985
5986 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5987 which preserves existing values.
5988 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5989
c6474b07
PT
59902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5991
5992 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5993 TIMEOUT values. Return EINVAL for NFDS values either negative or
5994 greater than FD_SETSIZE.
5995
1043890b
ST
59962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5997
5998 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5999 allocated, call __vm_protect to finish enabling the existing space, and
6000 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6001 allocate the remainder.
6002
37ed8b9b
PT
60032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6004
6005 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6006 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6007
db653660
ST
60082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6009
37ed8b9b
PT
6010 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6011 sysdeps/mach/hurd/readlink.c.
b29d4053 6012
db653660
ST
6013 * posix/tst-sysconf.c (posix_options): Only use
6014 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6015 _POSIX_SYNCHRONIZED_IO when they are defined
6016 * sysdeps/mach/hurd/bits/posix_opt.h:
6017 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6018 (_XOPEN_REALTIME): Undefine macro.
6019 (_XOPEN_REALTIME_THREADS): Undefine macro.
6020 (_XOPEN_SHM): Undefine macro.
6021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6022 macro to -1.
6023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6024 macro to -1.
6025 (_POSIX_ASYNC_IO): Undefine macro.
6026 (_POSIX_PRIORITIZED_IO): Undefine macro.
6027 (_POSIX_SPIN_LOCKS): Define macro to -1.
6028
ee16e894
ST
6029 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6030 SA_NODEFER, SA_RESETHAND.
6031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6032 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6033 F_DUPFD_CLOEXEC.
6034
6103ae3b
TS
60352012-05-10 Thomas Schwinge <thomas@schwinge.name>
6036
6037 * elf/Makefile (pldd-modules): Define unconditionally.
6038
80b4e5f3
TS
60392012-05-10 Thomas Schwinge <thomas@schwinge.name>
6040
6041 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6042
edadcbd6
ST
60432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6044
6045 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6046 Return ENOENT when name is empty.
6047 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6048
80694780
TS
60492012-05-10 Thomas Schwinge <thomas@schwinge.name>
6050
1792c087
TS
6051 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6052
80694780
TS
6053 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6054
6b645f0d
ST
60552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6056
80694780
TS
6057 Fix mlock in all cases except non-readable pages.
6058 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6059 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6060
6b645f0d
ST
6061 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6062 (__mkdir): When path is `/', just fail with EEXIST.
6063 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6064
e468f8a3
TS
60652012-05-10 Thomas Schwinge <thomas@schwinge.name>
6066
6067 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6068 <sys/uio.h> (for writev).
6069 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6070 and <sys/param.h> (for MIN).
6071
a4186cff
PT
60722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6073
6074 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6075 REQUESTED_TIME. Properly set the remaining time and return EINTR
6076 if interrupted.
6077
510bbf14
TS
60782012-05-10 Thomas Schwinge <thomas@schwinge.name>
6079
6080 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6081 Depend on against $(link-rpcuserlibs).
6082
5d5722e8
ST
60832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6084
a4186cff
PT
6085 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6086 (__libc_stack_end): Do not use attribute_relro.
6087 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6088 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6089 to libthread-provided value.
a4186cff
PT
6090 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6091 attribute_relro.
5d5722e8 6092
37233df9
TS
60932012-05-10 Thomas Schwinge <thomas@schwinge.name>
6094
be971a2b
TS
6095 [BZ #3748]
6096 * bits/libc-lock.h (__libc_once_get): New macro.
6097 * sysdeps/mach/bits/libc-lock.h: Likewise.
6098 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6100 instead of using implementation details.
6101
37233df9
TS
6102 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6103 * libio/freopen.c: Likewise.
6104 * libio/freopen64.c: Likewise.
6105 * misc/syslog.c: Likewise.
6106 * nscd/connections.c: Likewise.
6107 * nscd/netgroupcache.c: Likewise.
6108 * sysdeps/posix/getcwd.c: Likewise.
6109
38de94a5
RM
61102012-05-10 Roland McGrath <roland@hack.frob.com>
6111
6112 * math/w_ilogbf.c: Add #include <limits.h>.
6113
67530489
ST
61142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6115
a4186cff 6116 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6117 path instead of returning without unlocking.
6118
67530489
ST
6119 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6120 immediate-write ioctls.
6121 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6122
5aa3a74a
TS
61232012-05-10 Thomas Schwinge <thomas@schwinge.name>
6124
18bad2ae
TS
6125 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6126 __builtin_frame_address instead of making assumptions about the
6127 location of the return address relative to DATA. Force early load of
6128 the return address.
6129 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6130 __builtin_frame_address.
6131
5aa3a74a
TS
6132 dup3 for GNU Hurd.
6133 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6134 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6135 implement dup3 and do some further code clean-ups.
6136 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6138
ecd0de9a
ST
61392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6140
cd9fa985
ST
6141 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6142
a4186cff
PT
6143 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6144 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6145 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6146 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6147 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6148 d->port.lock.
802ca5a5 6149
a4186cff
PT
6150 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6151 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6152 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6153
bcf55240
TS
61542012-05-10 Thomas Schwinge <thomas@schwinge.name>
6155
6960eb42
TS
6156 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6157 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6158 definitions.
6159
eb43375f
TS
6160 accept4 for GNU Hurd.
6161 * include/sys/socket.h (__libc_accept4): New prototype.
6162 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6163 to implement __libc_accept4.
6164 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6165 __libc_accept4.
6166 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6167
bcf55240
TS
6168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6169 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6170 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6171 signal-defines.sym.
6172
6178c55b
ST
61732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6174
a4186cff 6175 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6176
6f080c2f
TS
61772012-05-10 Thomas Schwinge <thomas@schwinge.name>
6178
6179 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6180 assertion on O_CLOEXEC flag.
6181 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6182 * hurd/intern-fd.c: Likewise.
6183 * hurd/port2fd.c: Likewise.
6184
bcfe3a54
ST
61852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6186
6187 [BZ #3906]
6188 * bits/in.h (IPV6_PKTINFO): Define new macro.
6189 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6190
89c9aa49
AZ
61912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192
6193 [BZ #13954]
6194 [BZ #13955]
6195 [BZ #13956]
6196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6198 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6202 * math/libm-test.inc (logb_test) : Additional logb tests.
6203
021db4be
AJ
62042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6205 Andreas Jaeger <aj@suse.de>
6206
6207 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6208 * configure: Regenerated.
6209 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6210 * config.make.in (link-obsolete-rpc): New substituted variable.
6211 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6212 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6213 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6214 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6215 so that libc.a contains the symbols.
6216 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6217 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6218 * sunrpc/auth_none.c: Likewise.
6219 * sunrpc/auth_unix.c: Likewise.
6220 * sunrpc/authdes_prot.c: Likewise.
6221 * sunrpc/authuxprot.c: Likewise.
6222 * sunrpc/clnt_gen.c: Likewise.
6223 * sunrpc/clnt_perr.c: Likewise.
6224 * sunrpc/clnt_raw.c: Likewise.
6225 * sunrpc/clnt_simp.c: Likewise.
6226 * sunrpc/clnt_tcp.c: Likewise.
6227 * sunrpc/clnt_udp.c: Likewise.
6228 * sunrpc/clnt_unix.c: Likewise.
6229 * sunrpc/des_crypt.c: Likewise.
6230 * sunrpc/des_soft.c: Likewise.
6231 * sunrpc/get_myaddr.c: Likewise.
6232 * sunrpc/key_call.c: Likewise.
6233 * sunrpc/key_prot.c: Likewise.
6234 * sunrpc/netname.c: Likewise.
6235 * sunrpc/pm_getmaps.c: Likewise.
6236 * sunrpc/pm_getport.c: Likewise.
6237 * sunrpc/pmap_clnt.c: Likewise.
6238 * sunrpc/pmap_prot.c: Likewise.
6239 * sunrpc/pmap_prot2.c: Likewise.
6240 * sunrpc/pmap_rmt.c: Likewise.
6241 * sunrpc/publickey.c: Likewise.
6242 * sunrpc/rpc_cmsg.c: Likewise.
6243 * sunrpc/rpc_common.c: Likewise.
6244 * sunrpc/rpc_dtable.c: Likewise.
6245 * sunrpc/rpc_prot.c: Likewise.
6246 * sunrpc/rpc_thread.c: Likewise.
6247 * sunrpc/rtime.c: Likewise.
6248 * sunrpc/svc.c: Likewise.
6249 * sunrpc/svc_auth.c: Likewise.
6250 * sunrpc/svc_raw.c: Likewise.
6251 * sunrpc/svc_run.c: Likewise.
6252 * sunrpc/svc_tcp.c: Likewise.
6253 * sunrpc/svc_udp.c: Likewise.
6254 * sunrpc/svc_unix.c: Likewise.
6255 * sunrpc/svcauth_des.c: Likewise.
6256 * sunrpc/xcrypt.c: Likewise.
6257 * sunrpc/xdr.c: Likewise.
6258 * sunrpc/xdr_array.c: Likewise.
6259 * sunrpc/xdr_float.c: Likewise.
6260 * sunrpc/xdr_intXX_t.c: Likewise.
6261 * sunrpc/xdr_mem.c: Likewise.
6262 * sunrpc/xdr_rec.c: Likewise.
6263 * sunrpc/xdr_ref.c: Likewise.
6264 * sunrpc/xdr_sizeof.c: Likewise.
6265 * sunrpc/xdr_stdio.c: Likewise.
6266
b5c086a2
RM
62672012-05-10 Roland McGrath <roland@hack.frob.com>
6268
6269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6270 change. Update copyright years.
6271
6d74dd09
JM
62722012-05-10 Joseph Myers <joseph@codesourcery.com>
6273
6274 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6275
28e72501
MK
62762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6277 Joseph Myers <joseph@codesourcery.com>
6278 Paul Pluzhnikov <ppluzhnikov@google.com>
6279
6280 [BZ #14012]
6281 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6282 requiring rpcgen.
6283 [cross-compiling] (extra-libs): Likewise.
6284 [cross-compiling] (extra-libs-others): Likewise.
6285 [cross-compiling] (librpcsvc-routines): Likewise.
6286 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6287 [cross-compiling] (omit-deps): Likewise.
6288 (sunrpc-CPPFLAGS): New variable.
6289 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6290 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6291 (cross-rpcgen-objs): New variable.
6292 (extra-objs): Append $(cross-rpcgen-objs).
6293 ($(cross-rpcgen-objs)): New rule.
6294 ($(objpfx)cross-rpcgen): Likewise.
6295 (rpcgen-cmd): Define to use $(built-program-file). Expand
6296 comment.
6297 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6298 ($(objpfx)x%.stmp): Likewise.
6299 * sunrpc/proto.h [IS_IN_build] (_): Define.
6300 [IS_IN_build] (_libc_intl_domainname): Likewise.
6301
c8c59454
L
63022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6305 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6306 and R_X86_64_TPOFF64.
6307
6f27cd16
JM
63082012-05-10 Joseph Myers <joseph@codesourcery.com>
6309
6310 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6311 sysdeps/unix/sysv/syscalls.list.
6312 (stime): Likewise.
6313 (utime): Likewise.
6314 * sysdeps/unix/sysv/syscalls.list: Remove file.
6315
02467e1c
PE
63162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6317
6318 [BZ #3440]
6319 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6320 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6321 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6322 (__LC_IDENTIFICATION): Make these macros useful in #if
6323 expressions, as required by C99.
6324
da392631
AS
63252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6326
6327 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6328 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6329 after this.
6330
8115f29b
L
63312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6332
6333 * stdlib/longlong.h: Updated from GCC.
6334
bdd74070
AJ
63352012-05-09 Andreas Jaeger <aj@suse.de>
6336
edfe0dbe
AJ
6337 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6338 default is first entry.
6339 (run_mode): Set type.
6340 (main): Remove informal message about syslog.
6341 (options): Fix typo.
6342
bcfe3a54
ST
6343 [BZ #14053]
6344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6345 to asm.
bcfe3a54
ST
6346 (lrint): Likewise.
6347 (llrintf): Likewise.
6348 (llrint): Likewise.
6349 (rint): Likewise.
6350 (rintf): Likewise.
6351 (nearbyint): Likewise.
6352 (nearbyintf): Likewise.
bdd74070 6353
91d8d69e
AJ
63542012-05-09 Andreas Jaeger <aj@suse.de>
6355 Pedro Alves <palves@redhat.com>
6356
6357 * nscd/nscd.c (run_mode): Use enum.
6358 (main): Cleanup coding style issue.
6359
bb90b80b
AJ
63602012-05-09 Alexandre Oliva <aoliva@redhat.com>
6361 Andreas Jaeger <aj@suse.de>
6362
bcfe3a54
ST
6363 * nscd/nscd.c (go_background): Replaced with...
6364 (run_mode): ... this.
bb90b80b 6365 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6366 (options): Add -F --foreground.
6367 (main): Implement it.
6368 (parse_opt): Parse it.
bb90b80b 6369
1a4b75a1
AJ
63702012-05-09 Andreas Jaeger <aj@suse.de>
6371
6372 [BZ #14083]
6373 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6374 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6375 -Wconversion warning.
6376 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6377 Likewise.
6378
b1cc2472
JM
63792012-05-09 Joseph Myers <joseph@codesourcery.com>
6380
6381 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6382 == 0.
6383 (LC_ALL): Use macro-int-constant.
6384 (LC_COLLATE): Likewise.
6385 (LC_CTYPE): Likewise.
6386 (LC_MESSAGES): Likewise.
6387 (LC_MONETARY): Likewise.
6388 (LC_NUMERIC): Likewise.
6389 (LC_TIME): Likewise.
6390 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6391 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6393 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6394 Specify type.
6395 [C99-based standards] (float_t): Expect type.
6396 [C99-based standards] (double_t): Expect type.
6397 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6398 type.
6399 [C99-based standards] (HUGE_VALL): Likewise.
6400 [C99-based standards] (INFINITY): Likewise.
6401 [C99-based standards] (NAN): Likewise.
6402 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6403 [C99-based standards] (FP_NAN): Likewise.
6404 [C99-based standards] (FP_NORMAL): Likewise.
6405 [C99-based standards] (FP_SUBNORMAL): Likewise.
6406 [C99-based standards] (FP_ZERO): Likewise.
6407 [C99-based standards] (FP_FAST_FMA): Use
6408 optional-macro-int-constant. Specify type. Require == 1.
6409 [C99-based standards] (FP_FAST_FMAF): Likewise.
6410 [C99-based standards] (FP_FAST_FMAL): Likewise.
6411 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6412 [C99-based standards] (FP_ILOGBNAN): Likewise.
6413 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6414 Specify type.
6415 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6416 [C99-based standards] (math_errhandling): Specify type.
6417 [ISO99 || ISO11] (signgam): Do not allow.
6418 [non-C99-based standards] (copysignf): Do not allow.
6419 [non-C99-based standards] (exp2f): Likewise.
6420 [non-C99-based standards] (log2f): Likewise.
6421 [non-C99-based standards] (modff): Allow.
6422 [non-C99-based standards] (erff): Do not allow.
6423 [non-C99-based standards] (erfcf): Likewise.
6424 [non-C99-based standards] (gammaf): Likewise.
6425 [non-C99-based standards] (hypotf): Likewise.
6426 [non-C99-based standards] (j0f): Likewise.
6427 [non-C99-based standards] (j1f): Likewise.
6428 [non-C99-based standards] (jnf): Likewise.
6429 [non-C99-based standards] (lgammaf): Likewise.
6430 [non-C99-based standards] (tgammaf): Likewise.
6431 [non-C99-based standards] (y0f): Likewise.
6432 [non-C99-based standards] (y1f): Likewise.
6433 [non-C99-based standards] (ynf): Likewise.
6434 [non-C99-based standards] (isnanf): Likewise.
6435 [non-C99-based standards] (acoshf): Likewise.
6436 [non-C99-based standards] (asinhf): Likewise.
6437 [non-C99-based standards] (atanhf): Likewise.
6438 [non-C99-based standards] (cbrtf): Likewise.
6439 [non-C99-based standards] (expm1f): Likewise.
6440 [non-C99-based standards] (ilogbf): Likewise.
6441 [non-C99-based standards] (log1pf): Likewise.
6442 [non-C99-based standards] (logbf): Likewise.
6443 [non-C99-based standards] (nextafterf): Likewise.
6444 [non-C99-based standards] (remainderf): Likewise.
6445 [non-C99-based standards] (rintf): Likewise.
6446 [non-C99-based standards] (scalbf): Likewise.
6447 [non-C99-based standards] (copysignl): Likewise.
6448 [non-C99-based standards] (exp2l): Likewise.
6449 [non-C99-based standards] (log2l): Likewise.
6450 [non-C99-based standards] (modfl): Allow.
6451 [non-C99-based standards] (erfl): Do not allow.
6452 [non-C99-based standards] (erfcl): Likewise.
6453 [non-C99-based standards] (gammal): Likewise.
6454 [non-C99-based standards] (hypotl): Likewise.
6455 [non-C99-based standards] (j0l): Likewise.
6456 [non-C99-based standards] (j1l): Likewise.
6457 [non-C99-based standards] (jnl): Likewise.
6458 [non-C99-based standards] (lgammal): Likewise.
6459 [non-C99-based standards] (tgammal): Likewise.
6460 [non-C99-based standards] (y0l): Likewise.
6461 [non-C99-based standards] (y1l): Likewise.
6462 [non-C99-based standards] (ynl): Likewise.
6463 [non-C99-based standards] (isnanl): Likewise.
6464 [non-C99-based standards] (acoshl): Likewise.
6465 [non-C99-based standards] (asinhl): Likewise.
6466 [non-C99-based standards] (atanhl): Likewise.
6467 [non-C99-based standards] (cbrtl): Likewise.
6468 [non-C99-based standards] (expm1l): Likewise.
6469 [non-C99-based standards] (ilogbl): Likewise.
6470 [non-C99-based standards] (log1pl): Likewise.
6471 [non-C99-based standards] (logbl): Likewise.
6472 [non-C99-based standards] (nextafterl): Likewise.
6473 [non-C99-based standards] (remainderl): Likewise.
6474 [non-C99-based standards] (rintl): Likewise.
6475 [non-C99-based standards] (scalbl): Likewise.
6476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6477 [non-C99-based standards] (FP_*): Do not allow.
6478 [C99-based standards] (FP_*): Change to
6479 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6480 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6481 allow.
6482 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6483 (SIG_ERR): Likewise.
6484 [X/Open-based standards] (SIG_HOLD): Likewise.
6485 (SIG_IGN): Likewise.
6486 (SIGABRT): Use macro-int-constant. Specify type. Require
6487 positive value.
6488 (SIGFPE): Likewise.
6489 (SIGILL): Likewise.
6490 (SIGINT): Likewise.
6491 (SIGSEGV): Likewise.
6492 (SIGTER): Likewise.
6493 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6498 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6499 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6500 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6501 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6502 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6503 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6505 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6506 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6511 [X/Open-based standards] (SIGTRAP): Likewise.
6512 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6513 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6514 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6515 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6516 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6517 allow.
6518
b9f1922d
IW
65192012-05-08 Ian Wienand <ianw@vmware.com>
6520
6521 [BZ #14080]
6522 * time/tzset.c (__tzset_parse_tz): Update default rules for
6523 daylight time changes in the Energy Policy Act of 2005.
6524
1db86e88
AJ
65252012-05-09 Andreas Jaeger <aj@suse.de>
6526
6527 [BZ #13983]
6528 * elf/ldconfig.c (parse_conf): Change string to make clear that
6529 ldconfig only issued a warning if ld.so.conf does not exist.
6530
dee4a4e3
DM
65312012-05-08 David S. Miller <davem@davemloft.net>
6532
ee0db190
DM
6533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6534 movxtod instead of popping the value on the stack.
6535
dee4a4e3
DM
6536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6537
6a43ec98
CD
65382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6539
6540 * config.h.in: Add HAVE_ARM_PCS_VFP.
6541
05c2c961
RMG
65422012-05-08 Roland Mc Grath <roland@hack.frob.com>
6543
bcfe3a54
ST
6544 [BZ #13979]
6545 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6546 checking but the checks are disabled for any reason.
05c2c961 6547
4b30f61a
L
65482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6551 and ELF64_R_TYPE with ELFW(R_TYPE).
6552
eee2bc67
JM
65532012-05-08 Joseph Myers <joseph@codesourcery.com>
6554
7ea5391a
JM
6555 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6556 (ulimit): Likewise.
6557
eee2bc67
JM
6558 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6559 (settimeofday): Likewise.
6560
abb66a67
MF
65612012-05-08 Mike Frysinger <vapier@gentoo.org>
6562
6563 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6564 a struct th_u2 inside the union, and move tu_block/tu_code into
6565 a new th_u3 union of tu_block/tu_code inside of that. Move
6566 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6567 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6568 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6569 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6570 (th_stuff): Change to th_u1.tu_stuff.
6571 (th_data): Define.
6572 (th_msg): Change to th_u1.th_u2.tu_data.
6573
7f18b530
DM
65742012-05-07 David S. Miller <davem@davemloft.net>
6575
05760585
DM
6576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6577
7f18b530
DM
6578 [BZ #14074]
6579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6580 (SETUP_PIC_REG): Use it.
6581 (SETUP_PIC_REG_LEAF): Use it.
6582
495fd99f
JM
65832012-05-07 Joseph Myers <joseph@codesourcery.com>
6584
6585 [BZ #13885]
6586 [BZ #13923]
6587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6588 USE_AS_EXPM1L.
6589 (EXPL_FINITE): Likewise.
6590 (FLDLOG): Likewise.
6591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6592 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6593 e_expl.S.
6594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6595 USE_AS_EXPM1L.
6596 (EXPL_FINITE): Likewise.
6597 (FLDLOG): Likewise.
6598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6599 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6600 e_expl.S.
6601 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6602 test of -max_value argument for long double.
6603 * sysdeps/i386/fpu/libm-test-ulps: Update.
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6605
6693d694
DM
66062012-05-06 David S. Miller <davem@davemloft.net>
6607
6608 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6609 quad soft-float symbols whose references which are compiler
6610 generated.
6611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6612
6c23e11c
JM
66132012-05-06 Joseph Myers <joseph@codesourcery.com>
6614
d8b82cad
JM
6615 [BZ #13884]
6616 [BZ #13914]
6617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6618 USE_AS_EXP10L.
6619 (EXPL_FINITE): Likewise.
6620 (FLDLOG): Likewise.
6621 (c0): Likewise.
6622 (c1): Likewise.
6623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6624 Adjust comments for base varying.
6625 (__expl_finite): Change alias to EXPL_FINITE.
6626 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6627 e_expl.S.
6628 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6629 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6631 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6633 USE_AS_EXP10L.
6634 (EXPL_FINITE): Likewise.
6635 (FLDLOG): Likewise.
6636 (c0): Likewise.
6637 (c1): Likewise.
6638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6639 Adjust comments for base varying.
6640 (__expl_finite): Change alias to EXPL_FINITE.
6641 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6642 tests for bugs.
6643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6644
6c23e11c
JM
6645 [BZ #14064]
6646 * math/libm-test.inc (check_float_internal): Correct ulp
6647 calculation for subnormal expected results.
6648
29ba805c
AJ
66492012-05-06 Andreas Jaeger <aj@suse.de>
6650
6651 * Makeconfig (+math-flags): New, set to -frounding-math.
6652 (+cflags): Add +math-flags so that all of glibc gets compiled with
6653 it.
6654
6655 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6656
7b17aeda
JM
66572012-05-05 Joseph Myers <joseph@codesourcery.com>
6658
5779f134
JM
6659 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6660 Disable one test.
6661
41498f4d
JM
6662 [BZ #13787]
6663 [BZ #13922]
6664 [BZ #14036]
6665 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6666 (__ieee754_expl): Allow for and saturate large arguments.
6667 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6668 (u_threshold): Likewise.
6669 (__exp): Call __ieee754_exp before checking for overflow and
6670 underflow.
6671 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6672 (u_threshold): Likewise.
6673 (__expf): Call __ieee754_expf before checking for overflow and
6674 underflow.
6675 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6676 (u_threshold): Likewise.
6677 (__expl): Call __ieee754_expl before checking for overflow and
6678 underflow.
6679 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6680 (__ieee754_expl): Allow for and saturate large arguments.
6681 * math/libm-test.inc (exp_test): Add another test. Do not allow
6682 missing overflow exception on overflow.
6683 (expm1_test): Do not allow missing overflow exception on overflow.
6684
6698b8bf
JM
6685 * sysdeps/i386/fpu/e_expl.c: Move to ...
6686 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6687 rather than using inline asm.
6688 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6689 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6690 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6691
7b17aeda
JM
6692 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6693 (nice): Likewise.
6694 (poll): Likewise.
6695 (signal): Likewise.
6696 (time): Likewise.
6697 (times): Likewise.
6698
f7c85819
JM
66992012-05-04 Joseph Myers <joseph@codesourcery.com>
6700
6701 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6702 sysdeps/unix/common/syscalls.list.
6703 (fchmod): Likewise.
6704 (fchown): Likewise.
6705 (ftruncate): Likewise.
6706 (getrusage): Likewise.
6707 (gettimeofday): Likewise.
6708 (setpgid): Likewise.
6709 (setregid): Likewise.
6710 (setreuid): Likewise.
6711 (sigaction): Likewise.
6712 (truncate): Likewise.
6713 (vhangup): Likewise.
6714 * sysdeps/unix/common/syscalls.list: Remove file.
6715 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6716 * sysdeps/unix/sysv/linux/Implies: Likewise.
6717
336270d0
L
67182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6719
6720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6723 Moved to ...
6724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6725 Here.
6726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6727 to ...
6728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6730 to ...
6731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6732 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6733 to ...
6734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6736 to ...
6737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6739 to ...
6740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6742 to ...
6743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6744 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6745 to ...
6746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6747 Here.
6748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6749 to ...
6750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6751 Here.
6752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6753 to ...
6754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6755 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6756 Moved to ...
6757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6758 Here.
6759 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6760 to ...
6761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6762
d128e450
JM
67632012-05-04 Joseph Myers <joseph@codesourcery.com>
6764
fa8ee516
JM
6765 * sysdeps/unix/common/bits/dirent.h: Remove file.
6766 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6767
d128e450
JM
6768 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6769 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6770 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6771 * sysdeps/unix/bsd/isatty.c: Likewise.
6772 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6773 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6774 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6775
ff8faaf0 67762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6777
62881be4 6778 [BZ #13563]
31dc8730
AZ
6779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6780 long double comparison inaccuracies.
6781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6783
6fef930c
AS
67842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6788
8f203e6c
JM
67892012-05-04 Joseph Myers <joseph@codesourcery.com>
6790
6791 [BZ #14049]
6792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6793 nonzero digits before rounding a hex value.
6794 * stdlib/tst-strtod.c (tests): Add another test.
6795
5197d9c2
AK
67962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6797
6798 * sysdeps/s390/fpu/libm-test-ulps: Update.
6799
f0c1dedf
AJ
68002012-05-03 Andreas Jaeger <aj@suse.de>
6801
6802 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6803 does not get optimized out.
6804 (malloc_opt_barrier): New.
6805
a65ef2ae 68062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6807 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6808
2b942cb7 6809 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6810 intermediate file deletion.
2b942cb7 6811 (generated): Add .symlist files.
a65ef2ae 6812
54b71e02
JM
68132012-05-03 Joseph Myers <joseph@codesourcery.com>
6814
6815 [BZ #13775]
6816 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6817 Redirect under this condition.
6818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6819 [__USE_GNU] (__dprintf_chk): Not under this condition.
6820 [__USE_GNU] (__vdprintf_chk): Likewise.
6821 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6822 under this condition.
6823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6824 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6825 [__USE_XOPEN2K8] (vdprintf): Likewise.
6826 [__USE_GNU] (__dprintf_chk): Not under this condition.
6827 [__USE_GNU] (__vdprintf_chk): Likewise.
6828 [__USE_GNU] (dprintf): Likewise.
6829 [__USE_GNU] (vdprintf): Likewise.
6830
d3dfcc41
RM
68312012-05-03 Roland McGrath <roland@hack.frob.com>
6832
6833 * elf/Makefile (common-generated): Set this instead of generated for
6834 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6835 $(all-built-dso)-derived lists.
6836
7ac30cc5
AJ
68372012-05-03 Andreas Jaeger <aj@suse.de>
6838
0c51e550
AJ
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840
7ac30cc5
AJ
6841 * FAQ: Removed.
6842 * FAQ.in: Likewise.
6843 * scripts/gen-FAQ.pl: Likewise.
6844 * manual/install.texi (Installation): Point to online location of
6845 FAQ.
6846 * Makefile (files-for-dist): Remove FAQ.
6847 (FAQ): Remove.
6848
d4c2917f
AM
68492012-05-02 Allan McRae <allan@archlinux.org>
6850
6851 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6852 (LDFLAGS-reldepmod5.so): Likewise.
6853 (LDFLAGS-reldep6mod1.so): Likewise.
6854 (LDFLAGS-reldep6mod4.so): Likewise.
6855 (LDFLAGS-reldep8mod3.so): Likewise.
6856 (LDFLAGS-unload4mod1.so): Likewise.
6857 (LDFLAGS-unload4mod2.so): Likewise.
6858 (LDFLAGS-tst-initorder): Likewise.
6859 (LDFLAGS-tst-initordera2.so): Likewise.
6860 (LDFLAGS-tst-initordera3.so): Likewise.
6861 (LDFLAGS-tst-initordera4.so): Likewise.
6862 (LDFLAGS-tst-initorderb2.so): Likewise.
6863 (LDFLAGS-noload): Likewise.
6864 (LDFLAGS-next): Likewise.
6865 (LDFLAGS-order2mod1.so): Likewise.
6866 (LDFLAGS-order2mod2.so): Likewise.
6867 (LDFLAGS-tst-initorder2): Likewise.
6868 (LDFLAGS-tst-initorder2a.so): Likewise.
6869 (LDFLAGS-tst-initorder2b.so): Likewise.
6870 (LDFLAGS-tst-initorder2c.so): Likewise.
6871 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6872
d77f993f
DM
68732012-05-02 David S. Miller <davem@davemloft.net>
6874
6875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6876
171a70b4
PP
68772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6878
6879 [BZ #14055]
6880 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6881
0be196ad
AJ
68822012-05-02 Andreas Jaeger <aj@suse.de>
6883
6884 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6885 since we manipulate rounding mode.
6886 (CPPFLAGS-test-idouble.c): Likewise.
6887 (CPPFLAGS-test-ifloat.c): Likewise.
6888 (CFLAGS-test-ldouble.c): Likewise.
6889 (CFLAGS-test-double.c): Likewise.
6890 (CFLAGS-test-float.c): Likewise.
6891 (CFLAGS-test-misc.c): Likewise.
6892 (CFLAGS-test-test-fenv.c): Likewise.
6893
4f9d04aa
AZ
68942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
2b942cb7
RM
6896 [BZ #2550]
6897 [BZ #2570]
6898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6899 comparisons to determine direction to adjust input.
4f9d04aa 6900
82a79e7d
RM
69012012-05-01 Roland McGrath <roland@hack.frob.com>
6902
f5a01ca9
RM
6903 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6904 output to the target.
6905
90fe4186
RM
6906 * scripts/localplt.awk: New file.
6907 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6908 (check-localplt-CFLAGS): Variable removed.
6909 ($(all-built-dso:=.jmprel)): New static pattern rule.
6910 (generated): Add those targets.
6911 (localplt-built-dso): New variable.
6912 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6913
6914 * elf/check-localplt.c: File removed.
6915
82397ed6
RM
6916 * scripts/check-execstack.awk: New file.
6917 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6918 (check-execstack-CFLAGS): Variable removed.
6919 ($(objpfx)check-execstack.h): Target removed.
6920 ($(objpfx)execstack-default): New target.
6921 (generated): Add that instead of check-execstack.h.
6922 ($(all-built-dso:=.phdr)): New static pattern rule.
6923 (generated): Add those targets.
6924 * elf/check-execstack.c: File removed.
6925
82a79e7d
RM
6926 * scripts/check-textrel.awk: New file.
6927 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6928 (check-textrel-CFLAGS): Variable removed.
6929 (all-built-dso): Use := to define.o
6930 ($(all-built-dso:=.dyn)): New static pattern rule.
6931 (generated): Add those targets.
6932 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6933 * config.make.in (READELF): New substituted variable.
6934 * elf/check-textrel.c: File removed.
6935
62fde54f 69362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6937
615605c9
JM
6938 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6939 allow.
6940 * conform/data/ctype.h-data [C99-based standards] (isblank):
6941 Expect function.
6942 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6943 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6945 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6946 Specify type. Require positive value.
6947 (EILSEQ): Likewise.
6948 (ERANGE): Likewise.
6949 [ISO || POSIX] (EILSEQ): Do not expect.
6950 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6951 Specify type. Require positive value.
6952 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6966 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7007 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7010 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7011 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7012 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7013 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7014 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7015 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7016 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7017 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7018 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7019 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7020 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7021 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7022 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7023 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7024 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7025 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7026 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7027 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7028 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7029 Require >= 2.
7030 (FLT_ROUNDS): Expect as macro, not constant.
7031 (FLT_MANT_DIG): Use macro-int-constant.
7032 (DBL_MANT_DIG): Likewise.
7033 (LDBL_MANT_DIG): Likewise.
7034 (FLT_DIG): Likewise.
7035 (DBL_DIG): Likewise.
7036 (LDBL_DIG): Likewise.
7037 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7038 (DBL_MIN_EXP): Likewise.
7039 (LDBL_MIN_EXP): Likewise.
7040 (FLT_MAX_EXP): Use macro-int-constant.
7041 (DBL_MAX_EXP): Likewise.
7042 (LDBL_MAX_EXP): Likewise.
7043 (FLT_MAX_10_EXP): Likewise.
7044 (DBL_MAX_10_EXP): Likewise.
7045 (LDBL_MAX_10_EXP): Likewise.
7046 (FLT_MAX): Use macro-constant.
7047 (DBL_MAX): Likewise.
7048 (LDBL_MAX): Likewise.
7049 (FLT_EPSILON): Use macro-constant. Give upper bound.
7050 (DBL_EPSILON): Likewise.
7051 (LDBL_EPSILON): Likewise.
7052 (FLT_MIN): Likewise.
7053 (DBL_MIN): Likewise.
7054 (LDBL_MIN): Likewise.
7055 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7056 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7057 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7058 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7059 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7060 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7061 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7062 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7063 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7064 [ISO11] (FLT_TRUE_MIN): Likewise.
7065 [ISO11] (LDBL_TRUE_MIN): Likewise.
7066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7067 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7068 (SCHAR_MIN): Use macro-int-constant. Specify type.
7069 (SCHAR_MAX): Likewise.
7070 (UCHAR_MAX): Likewise.
7071 (CHAR_MIN): Likewise.
7072 (CHAR_MAX): Likewise.
7073 (MB_LEN_MAX): Use macro-int-constant.
7074 (SHRT_MIN): Use macro-int-constant. Specify type.
7075 (SHRT_MAX): Likewise.
7076 (USHRT_MAX): Likewise.
7077 (INT_MAX): Likewise.
7078 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7079 bound negative.
7080 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7081 bound with "U".
7082 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7083 bound with "L".
7084 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7085 bound negative. Suffix upper bound with "L".
7086 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7087 bound with "UL".
7088 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7089 Specify type.
7090 [C99-based standards] (LLONG_MAX): Likewise.
7091 [C99-based standards] (ULLONG_MAX): Likewise.
7092 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7093 == 0.
7094 [ISO11] (max_align_t): Require type.
7095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7096
c9140a62
JM
7097 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7098 from $CFLAGS, without defining away __attribute__ calls.
7099 (checknamespace): Use $CFLAGS_namespace.
7100
9af0bf29
JM
7101 * conform/conformtest.pl (@keywords): Only include C99 keywords
7102 for standards based on C99 or C11.
7103
343222a2
JM
7104 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7105 Disable tests.
7106 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7107 UNIX98]: Likewise.
7108
661f8cf0
JM
7109 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7110 usability of symbols in #if.
7111
ee74b9cb
JM
7112 * conform/conformtest.pl: If macro or constant types start
7113 "promoted:", expect the symbol to be of the following type
7114 promoted by the integer promotions.
62fde54f 7115
aafc49b3
JM
7116 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7117 in one place. Also handle "macro-constant".
7118
fefdf574
JM
7119 * conform/conformtest.pl: Only accept expected macro values with
7120 "==". Parse all "macro" lines in one place.
7121 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7122
f2d922fe
JM
7123 * conform/conformtest.pl: Handle braced types on "constant" lines
7124 instead of handling "typed-constant".
7125 * conform/data/signal.h-data: Use "constant" instead of
7126 "typed-constant".
7127
d22956c9
JM
7128 * conform/conformtest.pl: Handle "optional-" at start of lines in
7129 one place rather than duplicating several cases. Handle each
7130 format of "macro" line with initial "optional-".
7131
028e2e38
JM
7132 * conform/conformtest.pl: Only accept expected constant or
7133 optional-constant values with "==". Parse all "constant" lines in
7134 one place. Parse all "optional-constant" lines in one place.
7135 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7136 * conform/data/fmtmsg.h-data: Likewise.
7137 * conform/data/netinet/in.h-data: Likewise.
7138 * conform/data/tar.h-data: Likewise.
7139 * conform/data/limits.h-data: Use "==" form on "constant" and
7140 "optional-constant" lines.
7141
1b8f2850
JM
7142 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7143 Use -std=c99 for XOPEN2K.
7144 (@knownproblems): Remove.
7145 (newtoken): Don't check %isknown.
7146
a05a144b
JM
7147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7148 Do not expect macro.
7149 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7161 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7162 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7179 [XPG3] (acosh): Likewise.
7180 [XPG3] (asinh): Likewise.
7181 [XPG3] (atanh): Likewise.
7182 [XPG3] (cbrt): Likewise.
7183 [XPG3] (expm1): Likewise.
7184 [XPG3] (ilogb): Likewise.
7185 [XPG3] (log1p): Likewise.
7186 [XPG3] (logb): Likewise.
7187 [XPG3] (nextafter): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7190 [XPG3] (remainder): Likewise.
7191 [XPG3] (rint): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7199 [UNIX98 || XOPEN2K] (scalb): Expect.
7200 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7201 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7298 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7299 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7300 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7301 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7302 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7303 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7304 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7305 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7306 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7307 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7308 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7309 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7310 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7311 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7312 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7313 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7314 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7315 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7316 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7317 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7318 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7319 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7320 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7321 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7322 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7323 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7324 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7325 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7326 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7327 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7328 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7329 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7330 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7331 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7332 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7333 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7334 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7335 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7336 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7337
73c5ebe3
JM
7338 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7339 _XOPEN_SOURCE_EXTENDED for XPG4.
7340
39c33b6c
JM
7341 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7342
62fde54f
JM
7343 * Makeconfig (localtime): Remove variable.
7344 (inst_localtime-file): Likewise.
7345
0741d64c
AS
73462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7347
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7349 Update.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7351 Update.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7353 Update.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7355 Update.
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7357 Update.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7359 Update.
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7361 Update.
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7363 Update.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7365 Update.
7366
7cb029ee
JM
73672012-05-01 Joseph Myers <joseph@codesourcery.com>
7368
7369 [BZ #2550]
7370 [BZ #2570]
7371 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7372 comparisons to determine direction to adjust input.
7373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7374 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7376 Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7378 Likewise.
7379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7380 Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7383 Likewise.
7384 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7385 Likewise.
7386 * math/libm-test.inc (nexttoward_test): Add more tests.
7387
412bd966
AS
73882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7389
7390 [BZ #14040]
7391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7392 in version GLIBC_2.1, not GLIBC_2.0.
7393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7394 Likewise.
7395
9568c0c2
JM
73962012-04-30 Joseph Myers <joseph@codesourcery.com>
7397
adfbc8ac
JM
7398 [BZ #13942]
7399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7400 (1 - x) * (1 + x).
7401 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7402 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7403 * math/libm-test.inc (acos_test): Add more tests.
7404 (asin_test): Likewise.
7405 * sysdeps/i386/fpu/libm-test-ulps: Update.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407
5ba3cc69
JM
7408 [BZ #14034]
7409 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7410 of square root.
7411 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7413 * math/libm-test.inc (acos_test_tonearest): New function.
7414 (acos_test_towardzero): Likewise.
7415 (acos_test_downward): Likewise.
7416 (acos_test_upward): Likewise.
7417 (asin_test_tonearest): Likewise.
7418 (asin_test_towardzero): Likewise.
7419 (asin_test_downward): Likewise.
7420 (asin_test_upward): Likewise.
7421 (main): Call the new functions.
7422 * sysdeps/i386/fpu/libm-test-ulps: Update.
7423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7424
9568c0c2
JM
7425 [BZ #13884]
7426 [BZ #13924]
7427 * math/e_exp10.c: Include <float.h>.
7428 (__ieee754_exp10): Handle underflow here rather than multiplying
7429 large negative argument by M_LN10.
7430 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7431 of __ieee754_expf.
7432 * math/e_exp10l.c: Include <float.h>.
7433 (__ieee754_exp10l): Handle underflow here rather than multiplying
7434 large negative argument by M_LN10l.
7435 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7436 spurious overflow exception on underflow.
7437
5ac3ea17
MP
74382012-04-29 Marek Polacek <polacek@redhat.com>
7439
7440 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7441 (__fortify_function): New macro.
7442 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7443 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7444 __extern_always_inline.
7445 * libio/bits/stdio2.h: Likewise.
7446 * libio/bits/stdio.h: Likewise.
7447 * string/string.h: Likewise.
7448 * string/bits/string3.h: Likewise.
7449 * include/stdio.h: Likewise.
7450 * stdlib/bits/stdlib.h: Likewise.
7451 * stdlib/stdlib.h: Likewise.
7452 * rt/bits/mqueue2.h: Likewise.
7453 * rt/mqueue.h: Likewise.
7454 * posix/bits/unistd.h: Likewise.
7455 * posix/unistd.h: Likewise.
7456 * io/bits/poll2.h: Likewise.
7457 * io/bits/fcntl2.h: Likewise.
7458 * io/fcntl.h: Likewise.
7459 * io/sys/poll.h: Likewise.
7460 * misc/bits/syslog.h: Likewise.
7461 * misc/bits/syslog-ldbl.h: Likewise.
7462 * misc/sys/syslog.h: Likewise.
7463 * socket/bits/socket2.h: Likewise.
7464 * socket/sys/socket.h: Likewise.
7465 * debug/tst-chk1.c: Likewise.
7466 * wcsmbs/bits/wchar2.h: Likewise.
7467 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7468 * wcsmbs/wchar.h: Likewise.
7469
ecf0ebfb
AJ
74702012-04-29 Andreas Jaeger <aj@suse.de>
7471
7472 * Makerules (tests): Remove enable-check-abi protection.
7473 (check-abi-warn): Remove.
7474 (check-abi-%): Remove check-abi-warn usage.
7475
7476 * configure.in: Remove check-abi configure option.
7477 * configure: Regenerated.
7478 * config.make.in (enable-check-abi): Remove.
7479
6d5c57fa
AS
74802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7481
24c5d07e 7482 [BZ #14033]
ded5180a
AS
7483 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7484 double functions to double *_finite functions.
7485
7e0d315d
AS
7486 [BZ #13941]
7487 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7488 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7489 LDBL_MIN_EXP.
7490 * stdio-common/Makefile (tests): Add tst-sprintf3.
7491 * stdio-common/tst-sprintf3.c: New file.
7492
6d5c57fa
AS
7493 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7494 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7495
0749ff8b
JM
74962012-04-28 Joseph Myers <joseph@codesourcery.com>
7497
7498 * conform/conformtest.pl: Remove duplicate typed-constant
7499 handling.
7500
8dbd5d7b
DM
75012012-04-28 David S. Miller <davem@davemloft.net>
7502
7503 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7504 (check-abi-%): Remove AWK script prerequisite and explicit
7505 abilist directory.
7506 (check-abi): Rewrite to just diff the symlist with the abilist.
7507 (config-tls, config-abi-config): Delete, no longer used.
7508 (update-abi-%): Remove AWK script and explicit abilist directory.
7509 (update-abi): Rewrite to simply compare and conditionally copy the
7510 symlist and the sysdep abilist file. Remove update-abi-config
7511 checks.
7512 * abilist/ld.abilist: Remove.
7513 * abilist/libBrokenLocale.abilist: Remove.
7514 * abilist/libanl.abilist: Remove.
7515 * abilist/libcrypt.abilist: Remove.
7516 * abilist/libdl.abilist: Remove.
7517 * abilist/librt.abilist: Remove.
7518 * abilist/libthread_db.abilist: Remove.
7519 * abilist/libutil.abilist: Remove.
7520 * scripts/extract-abilist.awk: Remove.
7521 * scripts/merge-abilist.awk: Remove.
7522 * sysdeps/generic/libcidn.abilist: New file.
7523 * sysdeps/generic/libnss_compat.abilist: New file.
7524 * sysdeps/generic/libnss_db.abilist: New file.
7525 * sysdeps/generic/libnss_dns.abilist: New file.
7526 * sysdeps/generic/libnss_files.abilist: New file.
7527 * sysdeps/generic/libnss_hesiod.abilist: New file.
7528 * sysdeps/generic/libnss_nis.abilist: New file.
7529 * sysdeps/generic/libnss_nisplus.abilist: New file.
7530 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7531 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7532 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7533 file.
7534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7535 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7536 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7541 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7542 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7543 file.
7544 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7545 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7547 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7548 file.
7549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7550 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7555 file.
7556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7559 file.
7560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7562 New file.
7563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7564 New file.
7565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7566 New file.
7567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7568 New file.
7569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7570 New file.
7571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7572 New file.
7573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7574 New file.
7575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7576 New file.
7577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7578 New file.
7579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7580 New file.
7581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7582 New file.
7583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7584 New file.
7585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7586 New file.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7588 file.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7590 New file.
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7592 New file.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7594 file.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7596 New file.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7598 New file.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7600 file.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7602 New file.
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7604 New file.
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7606 New file.
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7608 New file.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7610 New file.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7612 New file.
7613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7615 file.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7617 New file.
7618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7619 file.
7620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7621 file.
7622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7623 file.
7624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7625 file.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7627 file.
7628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7629 New file.
7630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7631 file.
7632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7633 file.
7634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7635 New file.
7636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7637 file.
7638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7640 file.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7642 New file.
7643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7644 file.
7645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7646 file.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7648 file.
7649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7650 file.
7651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7652 file.
7653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7654 New file.
7655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7656 file.
7657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7658 file.
7659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7660 New file.
7661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7662 file.
7663 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7664 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7665 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7666 file.
7667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7668 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7669 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7673 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7675 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7676 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7679 file.
7680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7681 New file.
7682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7683 file.
7684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7685 file.
7686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7687 file.
7688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7689 file.
7690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7691 file.
7692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7693 New file.
7694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7695 New file.
7696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7697 file.
7698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7699 New file.
7700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7701 file.
7702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7704 file.
7705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7706 New file.
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7708 file.
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7710 file.
7711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7712 file.
7713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7714 file.
7715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7716 file.
7717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7718 New file.
7719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7720 New file.
7721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7722 file.
7723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7724 New file.
7725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7726 file.
7727
41d73a1b
JM
77282012-04-28 Joseph Myers <joseph@codesourcery.com>
7729
7730 * conform/conformtest.pl: Fix typo in handling typed-constant from
7731 allow-header.
7732
28aeeda4
JM
77332012-04-27 Joseph Myers <joseph@codesourcery.com>
7734
adae8f5e
JM
7735 * README: Cut down references to pre-2.6 Linux kernels and
7736 Linuxthreads. Update lists of configurations in libc and ports
7737 and sort alphabetically. Say "or newer" with Linux kernel version
7738 requirements.
7739
28aeeda4
JM
7740 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7741
a462cb63
RA
77422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7743
7744 [BZ #887]
7745 * math/libm-test.inc (logb_test_downward): New test to expose
7746 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7747 rounding mode.
7748
6ad3493e
JM
77492012-04-27 Joseph Myers <joseph@codesourcery.com>
7750
7751 [BZ #14027]
7752 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7753 to be done.
7754 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7755 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7756
2ce4f015
JM
77572012-04-26 Joseph Myers <joseph@codesourcery.com>
7758
5aeb141a
JM
7759 * sysdeps/unix/i386/brk.S: Remove file.
7760 * sysdeps/unix/i386/dl-brk.S: Likewise.
7761 * sysdeps/unix/i386/pipe.S: Likewise.
7762 * sysdeps/unix/i386/sigreturn.S: Likewise.
7763 * sysdeps/unix/i386/syscall.S: Likewise.
7764 * sysdeps/unix/i386/vfork.S: Likewise.
7765 * sysdeps/unix/i386/wait.S: Likewise.
7766
7143acae
JM
7767 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7768 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7769
2ce4f015
JM
7770 * configure.in (arm*-none*): Do not allow without
7771 --enable-hacker-mode.
7772 (netbsd*): Remove case setting base_os.
7773 (386bsd*): Likewise.
7774 (freebsd*): Likewise.
7775 (bsdi*): Likewise.
7776 (osf*): Likewise.
7777 (sunos*): Likewise.
7778 (ultrix*): Likewise.
7779 (newsos*): Likewise.
7780 (dynix*): Likewise.
7781 (*bsd*): Likewise.
7782 (sysv*): Likewise.
7783 (isc*): Likewise.
7784 (esix*): Likewise.
7785 (sco*): Likewise.
7786 (minix*): Likewise.
7787 (irix4*): Likewise.
7788 (irix6*): Likewise.
7789 (solaris[2-9]*): Likewise.
7790 (none): Likewise.
7791 * configure: Regenerated.
7792
0ac229c8
AZ
77932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7794
7795 [BZ #11521]
7796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7797 overflow or cancellation in calculating denominator.
7798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7800 down expression to avoid unexpected rounding in newer GCCs.
7801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7802
33f244f4
DM
78032012-04-26 David S. Miller <davem@davemloft.net>
7804
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7806 long-double compat symbols.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7820
cfa1f3e8
DM
78212012-04-25 David S. Miller <davem@davemloft.net>
7822
7823 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7824 HWCAP_* values only after the memory barriers have been defined.
7825 (atomic_full_barrier): Define.
7826 (atomic_read_barrier): Define.
7827 (atomic_write_barrier): Define.
7828
6e236b92
SP
78292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7830
7831 * shlib-versions: Add libgcc_s version information.
7832 * sysdeps/generic/libgcc_s.h: Remove.
7833 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7834 libgcc_s.h.
7835 * sysdeps/gnu/unwind-resume.c: Likewise.
7836 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7837
aab39a09
DM
78382012-04-25 David S. Miller <davem@davemloft.net>
7839
7840 * sysdeps/unix/sparc/brk.S: Delete.
7841 * sysdeps/unix/sparc/dl-brk.S: Delete.
7842 * sysdeps/unix/sparc/pipe.S: Delete.
7843 * sysdeps/unix/sparc/sysdep.S: Delete.
7844 * sysdeps/unix/sparc/sysdep.h: Delete.
7845 * sysdeps/unix/sparc/vfork.S: Delete.
7846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7847 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7849 ret_ERRVAL, r0, r1, MOVE): Define.
7850 (JUMPTARGET): Remove.
7851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7852 sysdeps/unix/sparc/sysdep.h
7853 (ENTRY, END): Remove.
7854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7855
a3cc4f48
JM
78562012-04-25 Joseph Myers <joseph@codesourcery.com>
7857
2ed8cda2
JM
7858 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7859 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7860 -DIS_IN_build.
7861
35d76d59
JM
7862 * timezone/README: Update upstream location and email address for
7863 tzcode and tzdata.
7864 * timezone/zdump.c: Update from tzcode 2012b.
7865 * timezone/zic.c: Likewise.
7866
a3cc4f48
JM
7867 * configure.in (libc_cv_as_needed): Remove test.
7868 * configure: Regenerated.
7869 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7870 conditional definition.
7871 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7872 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7873 * config.make.in (have-as-needed): Remove variable.
7874
ceab42c3
SP
78752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7876 Paul Pluzhnikov <ppluzhnikov@google.com>
7877
7878 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7879 strings correctly.
7880
3ce2865f
CLT
78812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7882
7883 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7884 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7885 * sysdeps/sh/strlen.S: Likewise.
7886
f37e0d68
JM
78872012-04-24 Joseph Myers <joseph@codesourcery.com>
7888
ae186e9a
JM
7889 * sysdeps/unix/fork.S: Remove file.
7890 * sysdeps/unix/i386/fork.S: Likewise.
7891 * sysdeps/unix/sparc/fork.S: Likewise.
7892
b96914af
JM
7893 * sysdeps/unix/system.c: Remove file.
7894 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7895
f37e0d68
JM
7896 * sysdeps/unix/getegid.S: Remove file.
7897 * sysdeps/unix/geteuid.S: Likewise.
7898
87ef29ca
RM
78992012-04-24 Roland McGrath <roland@hack.frob.com>
7900
83bcd236
RM
7901 * scripts/check-localplt.awk: New file.
7902 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7903 of diff.
7904 * scripts/data/localplt-generic.data: Add a comment.
7905
87ef29ca
RM
7906 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7907 NODE when __dir_mkfile failed.
7908 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7909 Reported by Ludovic Courtès <ludo@gnu.org>.
7910
e5a6e567
AJ
79112012-04-24 Andreas Jaeger <aj@suse.de>
7912
7913 * Makerules (common-clean): Also remove gen-as-const-headers
7914 files.
7915
c1820385
JM
79162012-04-24 Joseph Myers <joseph@codesourcery.com>
7917
7918 * Makerules (native-compile): Do not change working directory for
7919 build. Use $(OUTPUT_OPTION) in command.
7920 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7921
94e02fc4
AZ
79222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7923
7924 [BZ #13886]
7925 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7926 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7927 * math/libm-test.inc (floor_test): Add more tests.
7928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7929
3a533ca3
JM
79302012-04-24 Joseph Myers <joseph@codesourcery.com>
7931
940ab4b3
JM
7932 * sysdeps/unix/getdents.c: Remove file.
7933 * sysdeps/unix/sysv/getdents.c: Likewise.
7934 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7935
90e037bd
JM
7936 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7937 sysdeps/unix/mman/syscalls.list.
7938 (mmap): Likewise.
7939 (mprotect): Likewise.
7940 (msync): Likewise.
7941 (munmap): Likewise.
7942 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7943 * sysdeps/unix/mman/syscalls.list: Remove.
7944 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7945
3a533ca3
JM
7946 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7947 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7948 * configure: Regenerated.
7949 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7950 $(libgcc_s_suffix).
7951 * config.make.in (libgcc_s_suffix): Remove variable.
7952
1ad743de
JM
79532012-04-23 Joseph Myers <joseph@codesourcery.com>
7954
4ad451e2
JM
7955 * sysdeps/unix/sysv/gethostname.c: Move to ...
7956 * sysdeps/posix/gethostname.c: ... here.
7957
5e37ce39
JM
7958 * sysdeps/unix/execve.S: Remove file.
7959
1ad743de
JM
7960 * sysdeps/unix/_exit.S: Remove file.
7961
4e681b5b
AJ
79622012-04-23 Andreas Jaeger <aj@suse.de>
7963
7964 [BZ #13739]
7965 * manual/Makefile: Remove make dist support, there's no
7966 need for a stand-alone documentation tar ball.
7967 (TEXI2DVI): Define always, it's not in Makeconfig.
7968 (dist): Removed.
7969 (tar-it): Removed.
7970 (edition): Removed.
7971 (glibc-doc-$(edition).tar): Removed
7972 (%.Z): Removed.
7973 (%.gz): Removed.
7974 (%.uu): Removed.
7975 (ETAGS): Remove, it's in Makeconfig.
7976 (move-if-change): Remove, it's in Makeconfig.
7977
c0baea34
PE
79782013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7979
7980 [BZ #13970]
7981 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7982 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7983 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7984 (strtod_l, strtof_l, strtold_l): Remove __wur.
7985 It is not necessarily an error to ignore strtol's return value.
7986 One can reliably look at the stored endptr to decide whether
7987 the number had valid syntax.
7988
7c0616fa
AJ
79892012-04-21 Andreas Jaeger <aj@suse.de>
7990
803cb6b7 7991 [BZ #13739]
7c0616fa
AJ
7992 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7993
b0fe253f
JM
79942012-04-21 Joseph Myers <joseph@codesourcery.com>
7995
7996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7997 * sysdeps/unix/sysv/Versions: Remove file.
7998
8280f22d
MT
79992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8000
8001 [BZ #13927]
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8003
75ce411f 80042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8005
8006 [BZ #7064]
8007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8008 version from __vm86.
8009
097d59fa
JM
80102012-04-20 Joseph Myers <joseph@codesourcery.com>
8011
a90f3bcb
JM
8012 * sysdeps/unix/common/lxstat.c: Remove file.
8013 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8014
edc7ea78
JM
8015 * sysdeps/unix/sysv/Makefile: Remove file.
8016
cb78c221
JM
8017 * sysdeps/unix/sysv/direct.h: Remove file.
8018
efa6a45f
JM
8019 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8020 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8021 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8022 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8023 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8024 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8025 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8026
9c9f2d0c
JM
8027 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8028
4541c83b
JM
8029 * sysdeps/unix/xmknod.c: Remove file.
8030 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8031
f5d153a0
JM
8032 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8033
aa746595
JM
8034 * sysdeps/unix/sysv/i386/time.S: Remove file.
8035
cce5905e
JM
8036 * sysdeps/unix/fxstat.c: Remove file.
8037 * sysdeps/unix/xstat.c: Likewise.
8038 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8039
37fa3841
JM
8040 * sysdeps/unix/sysv/sigaction.c: Remove file.
8041
ff1962a3
JM
8042 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8043 (sysdep_headers): Remove variable.
8044 [termio.h not in sysdep_headers] (generated): Likewise.
8045 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8046 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8047 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8048 * sysdeps/unix/sysv/tcflow.c: Likewise.
8049 * sysdeps/unix/sysv/tcflush.c: Likewise.
8050 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8051 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8052 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8053 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8054 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8055
e7740d31
JM
8056 * sysdeps/unix/siglist.c: Remove file.
8057
ee06f18b
JM
8058 * sysdeps/unix/getppid.S: Remove file.
8059
097d59fa
JM
8060 * sysdeps/unix/mkdir.c: Remove file.
8061 * sysdeps/unix/rmdir.c: Likewise.
8062
ff3d51ec
AS
80632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8064
8065 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8066 ERR_MAX value.
8067 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8068 errlist-compat value.
8069
50f81fd7
DM
80702012-04-18 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/generic/memcopy.h (reg_char): Delete.
8073 * debug/strcat_chk.c: Use char, not reg_char.
8074 * debug/strcpy_chk.c: Likewise.
8075 * debug/strncat_chk.c: Likewise.
8076 * debug/strncpy_chk.c: Likewise.
8077 * string/memchr.c: Likewise.
8078 * string/memrchr.c: Likewise.
8079 * string/rawmemchr.c: Likewise.
8080 * string/strcat.c: Likewise.
8081 * string/strchr.c: Likewise.
8082 * string/strchrnul.c: Likewise.
8083 * string/strcmp.c: Likewise.
8084 * string/strcpy.c: Likewise.
8085 * string/strncat.c: Likewise.
8086 * string/strncmp.c: Likewise.
8087 * string/strncpy.c: Likewise.
8088
8ff41c46
WS
80892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8090
8091 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8092 __builtin_memcopy is called when src and dest ranges are known to not
8093 overlap.
8094
6b652f46
WS
80952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8096
8097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8098 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8099 fwd_align_merge macro call.
8100 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8101 bwd_align_merge macro call.
8102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8103
b282631e
WS
81042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8105
8106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8107 bwd_align_merge macros.
8108 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8109 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8111
95aa737c
DM
81122012-04-18 David S. Miller <davem@davemloft.net>
8113
8114 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8115
7a99a614
AJ
81162012-04-18 Andreas Jaeger <aj@suse.de>
8117
8118 [BZ# 6794]
8119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8122
8123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8124 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8126
8127 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8129 Adjust for changed ldbl-128 files.
8130
8131 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8132 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8134
e5270c23
DM
81352012-04-17 David S. Miller <davem@davemloft.net>
8136
8137 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8138
fb5e92c9
AS
81392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8140
8141 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8142 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8143 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8144 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8146 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8147
76da7265
AZ
81482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8149
8150 [BZ #6794]
8151 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8152 * math/libm-test.inc: Add ilogb errno and exception tests.
8153 * math/w_ilogb.c: New file: ilogb wrapper.
8154 * math/w_ilogbf.c: New file: ilogbf wrapper.
8155 * math/w_ilogbl.c: New file: ilogbl wrapper.
8156 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8157 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8158 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8159 exception being thrown with 0.0 as argument.
8160 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8161 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8162 exception being thrown with 0.0 as argument.
8163 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8164 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8165 exception being thrown with 0.0 as argument.
8166 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8167 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8168 exception being thrown with 0.0 as argument.
8169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8170 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8172 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8175 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8176 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8177 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8178
0396e69d
PB
81792012-04-17 Petr Baudis <pasky@ucw.cz>
8180
8181 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8182 with altivec.
8183
750b5926
MP
81842012-04-16 Marek Polacek <polacek@redhat.com>
8185
8186 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8187
751728a1
MP
81882012-04-16 Marek Polacek <polacek@redhat.com>
8189
8190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8191 operands of fdivp instruction.
8192
34a27407
L
81932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8194
8195 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8196 * elf/tst-auditmod3b.c: Likewise.
8197 * elf/tst-auditmod4b.c: Likewise.
8198 * elf/tst-auditmod5b.c: Likewise.
8199 * elf/tst-auditmod6b.c: Likewise.
8200 * elf/tst-auditmod6c.c: Likewise.
8201 * elf/tst-auditmod7b.c: Likewise.
8202 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8203 * sysdeps/x86_64/preconfigure.in: Likewise.
8204 * sysdeps/x86_64/preconfigure: Regenerated.
8205
7e73e17d
L
82062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8209 __ILP32__.
8210
c7a6ab72
AB
82112012-04-13 Antoine Balestrat <merkil33@gmail.com>
8212
8213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8214 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8215
a9e8e0e0
CL
82162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8217
8218 [BZ #13973]
8219 * locale/iso-639.def: Fix gl language name. Spotted by
8220 Yaron Shahrabani.
8221
ec98af7d
RM
82222012-04-12 Roland McGrath <roland@hack.frob.com>
8223
8224 [BZ #2074]
8225 * libio/libio.h (__io_write_fn): Update comment.
8226
247c3ede
PB
82272012-04-12 Petr Baudis <pasky@ucw.cz>
8228
8229 [BZ #2074]
8230 * stdio.texi (Hook Functions): The user provided writer function
8231 is not allowed to return -1.
8232
55939d6d
DM
82332012-04-11 David S. Miller <davem@davemloft.net>
8234
8235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8236
90020f5a
MF
82372012-04-11 Mike Frysinger <vapier@gentoo.org>
8238
8239 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8240 Add a leading slash to rtkaio.
8241
288f9098
JM
82422012-04-11 Jim Meyering <meyering@redhat.com>
8243
90020f5a
MF
8244 [BZ #11959]
8245 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8246 It is not necessarily an error to ignore fwrite's return
8247 value. One can reliably use ferror to test for errors after
8248 the fact.
288f9098 8249
4be2b570
L
82502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8251
8252 * bits/types.h (__snseconds_t): New type.
8253 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8254
8255 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8257 (__SNSECONDS_T_TYPE): Likewise.
8258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8259 (__SNSECONDS_T_TYPE): Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8261 (__SNSECONDS_T_TYPE): Likewise.
8262
288f9098 82632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8264
8265 [BZ #2636]
8266 * manual/time.texi (Processor Time): Return type of times is
8267 elapsed real time since an arbitrary point in the past.
8268 (CPU Time): Move CLK_TCK from here...
8269 (Processor Time): ...to here. Correct description.
8270 * manual/conf.texi (Constants for Sysconf): Correct description of
8271 _SC_CLK_TCK.
8272
d7dd4413
DM
82732012-04-10 David S. Miller <davem@davemloft.net>
8274
8275 [BZ #13967]
8276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8277 where the is a gap between DT_REL(A) and DT_JMPREL.
8278
b46068fc
L
82792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8284
73d65cc3
SP
82852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8286
8287 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8288 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8289 (dl_main): Handle --inhibit-cache.
8290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8291 _dl_inhibit_cache.
8292 * elf/dl-load.c (_dl_map_object): Use it.
8293 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8294
bcc8d661
JM
82952012-04-09 Joseph Myers <joseph@codesourcery.com>
8296
8f9a2fae
JM
8297 [BZ #13872]
8298 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8299 (__ieee754_powl): Saturate large exponents rather than testing for
8300 overflow of y*log2(x).
8301 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8302 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8303 exceptions.
8304
bcc8d661
JM
8305 [BZ #11521]
8306 * math/s_ctan.c: Include <float.h>.
8307 (__ctan): Avoid internal overflow or cancellation in calculating
8308 denominator.
8309 * math/s_ctanf.c: Likewise.
8310 * math/s_ctanl.c: Likewise.
8311 * math/s_ctanh.c: Likewise.
8312 * math/s_ctanhf.c: Likewise.
8313 * math/s_ctanhl.c: Likewise.
8314 * math/libm-test.inc (ctan_test): Add more tests.
8315 (ctanh_test): Likewise.
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318
823fbbb4
AJ
83192012-04-09 Andreas Jaeger <aj@suse.de>
8320
03879793
AJ
8321 [BZ #6894]
8322 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8323 is an optional BSD extension.
8324
823fbbb4
AJ
8325 [BZ #10254]
8326 * manual/stdio.texi (Opening Streams): Document additional fopen
8327 parameters.
8328
8de131cb
RM
83292012-04-09 Roland McGrath <roland@hack.frob.com>
8330
8331 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8332 %eax without telling the compiler.
8333
c0ed9d7d
CD
83342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8335
8336 [BZ # 13963]
8337 * manual/install.texi: Use sourceware.org.
8338
c483f6b4
JM
83392012-04-09 Joseph Myers <joseph@codesourcery.com>
8340
d7dd9453
JM
8341 [BZ #13873]
8342 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8343 (__ieee754_pow): Generate overflow and underflow using huge*huge
8344 and tiny*tiny rather than just returning constant infinity or zero
8345 for large exponents.
8346 * math/libm-test.inc (pow_test): Require overflow exceptions for
8347 applicable cases of large exponents.
8348
c483f6b4
JM
8349 [BZ #706]
8350 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8351 (__ieee754_pow): Use iterative multiplication algorithm only for
8352 integer exponents with absolute value below 1024. Check for odd
8353 integer exponents when using algorithm for real exponents.
8354 * math/libm-test.inc (pow_test): Add more tests.
8355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8356
d2de7579
JM
83572012-04-08 Joseph Myers <joseph@codesourcery.com>
8358
8359 [BZ #13705]
8360 * math/libm-test.inc (exp_test): Do not allow overflow exception
8361 on underflow test.
8362
f77f1232
AJ
83632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8364
8365 [BZ #13705]
8366 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8367 instead of __kernel_standard_f.
8368
3884932b
MF
83692012-04-08 Mike Frysinger <vapier@gentoo.org>
8370
8371 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8372 * sysdeps/x86_64/memset_chk.S: Likewise.
8373
54472e9c
AJ
83742012-04-08 Andreas Jaeger <aj@suse.de>
8375
6ab0fbfc
AJ
8376 [BZ #10153]
8377 * manual/startup.texi (Environment Access): Describe return value
8378 for putenv and setenv.
8379
61efba8c
AJ
8380 [BZ #6895]
8381 * manual/filesys.texi (Directory Entries): Add description for
8382 DT_LNK.
8383
95c3f29a
AJ
8384 [BZ #6890]
8385 * manual/filesys.texi (Directory Entries): Clarify that it's file
8386 system not operating system in the description of DT_UNKNOWN.
8387
54472e9c
AJ
8388 [BZ #6578]
8389 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8390
624254b1
SC
83912012-04-08 Stephen Compall <s11@member.fsf.org>
8392
8393 [BZ #6649]
8394 * manual/llio.texi (Opening and Closing Files): Add cross
8395 reference to explain mode argument.
8396
1e4920e0
MF
83972012-04-07 Mike Frysinger <vapier@gentoo.org>
8398
8399 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8400 * sysdeps/x86_64/memset_chk.S: Likewise.
8401
5ed848f3
DM
84022012-04-07 David S. Miller <davem@davemloft.net>
8403
8404 * elf/elf.h (R_SPARC_WDISP10): Define.
8405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8406 R_SPARC_SIZE32.
8407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8408 R_SPARC_SIZE64 and R_SPARC_H34.
8409
96154cd8
CD
84102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8411
8412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8413 conditions and remove no longer applicable assertion.
8414
9904dc47
L
84152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * bits/byteswap.h: Include <features.h>.
8418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8420
f8887d0a
L
84212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * bits/byteswap.h (__bswap_16): Removed.
8424 Include <bits/byteswap-16.h> to get __bswap_16.
8425 * sysdeps/i386/bits/byteswap.h: Likewise.
8426 * sysdeps/s390/bits/byteswap.h: Likewise.
8427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8428 * bits/byteswap-16.h: New file.
8429 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8430 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8431 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8432 * string/Makefile (headers): Add bits/byteswap-16.h.
8433
62470f60
PP
84342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8435
8436 [BZ #13895]
8437 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8438 extra indirection.
8439 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8440 * nss/tst-nss-static.c: New.
8441
4dad7bab
RM
84422012-04-06 Robert Millan <rmh@gnu.org>
8443
8444 [BZ #6486]
8445 * manual/llio.texi (File Position Primitive): lseek
8446 refers to WHENCE when it really means OFFSET.
8447
e9142a17
AJ
84482012-04-06 Andreas Jaeger <aj@suse.de>
8449
2c040eff
AJ
8450 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8451 strncmp declarations.
8452
e9142a17
AJ
8453 * abilist/libc.abilist: Add __poll and __ppoll.
8454
ff9f1c5f
DM
84552012-04-05 David S. Miller <davem@davemloft.net>
8456
dcd2ae90
DM
8457 * scripts/check-local-headers.sh: Accept a host triplet in the
8458 path matched by the exclude regexp.
8459
993eb054
DM
8460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8461 definition.
8462 * sysdeps/powerpc/powerpc32/dl-machine.h
8463 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8464 * sysdeps/s390/s390-32/dl-machine.h
8465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8466 * sysdeps/sparc/sparc32/dl-machine.h
8467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8468 * sysdeps/sparc/sparc64/dl-machine.h
8469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8470
ff9f1c5f
DM
8471 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8472 lazy binding.
48e2e132 8473 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8474 undefined symbol errors.
8475
48e2e132 8476 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8477 DT_NEEDED entries.
8478
e80d6f94
MM
84792012-04-05 Michael Matz <matz@suse.de>
8480
8481 [BZ #13592]
8482 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8483
349fa79f
AJ
84842012-04-05 Andreas Jaeger <aj@suse.de>
8485
8486 [BZ #13908]
8487 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8488 comment.
8489
f402708f
KK
84902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8491
8492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8493 which ROUND is no valid rounding mode.
8494
2ecccfc9
KK
84952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8496
8497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8498 read again.
8499 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8500
8a53f50f
KK
85012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8502
8503 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8504 an exception using FPU order intentionally.
8505
85062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8507
8508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8509 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8510 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8511 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8512
d653abb7
SJ
85132012-04-05 Simon Josefsson <simon@josefsson.org>
8514
8515 [BZ #12340]
8516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8517 EINVAL when BUFLEN is too smal.
8518
c3b1bf7d
TS
85192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8520
8521 [BZ #13553]
8522 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8523 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8524
b1aa60f3
AJ
85252012-04-03 Andreas Jaeger <aj@suse.de>
8526
c3b1bf7d 8527 [BZ #13938]
67f60a26
AJ
8528 * manual/setjmp.texi (System V contexts): Fix sentence.
8529
b1aa60f3
AJ
8530 [BZ #13926]
8531 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8532 New macro for this case.
8533 [!__GNUC__] (__bswap_64): New inline function for this case.
8534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8535 * bits/byteswap.h: Likewise.
8536 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8537 ull, guard with __GLIBC_HAVE_LONG_LONG.
8538
8539 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8540 __GLIBC_HAVE_LONG_LONG.
8541
8542 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8543 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8544
39c59c35
TMQMF
85452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8546
8547 [BZ #13691]
8548 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8549 inptr and inend, rather than using last_ch.
8550
135ffda8
DM
85512012-04-02 David S. Miller <davem@davemloft.net>
8552
8553 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8554 * stdio-common/printf-parse.h (read_int): Change return type to
8555 'int', return -1 on INT_MAX overflow.
8556 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8557 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8558 overflows INT_MAX. Check for overflow of in-format-string precision
8559 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8560 SIZE_MAX not INT_MAX for integer overflow test.
8561 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8562 skip the construct in the format string but do not record anything.
8563 * stdio-common/bug22.c: Adjust to test both width/prevision
8564 INT_MAX overflow as well as total length INT_MAX overflow. Check
8565 explicitly for proper errno values.
8566
228c019e
TS
85672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8568
302cadd3
TS
8569 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8570 CHAR_MAX.
8571 * string/test-strcmp.c [! WIDE]: Likewise.
8572 * time/tst-mktime2.c: Likewise for INT_MAX.
8573 * string/test-string.h: #include <sys/param.h> for MIN.
8574
228c019e
TS
8575 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8576 * sysdeps/i386/init-first.c (init): Likewise.
8577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8578 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8579 * sysdeps/sh/init-first.c (init): Likewise.
8580
cfa633f5
UD
85812012-04-01 Ulrich Drepper <drepper@gmail.com>
8582
8583 * po/ru.po: Update from translation team.
d1635ef8 8584 * po/vi.po: Likewise.
cfa633f5 8585
6cd0a5ea
SP
85862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8587
8588 * resolv/nss_dns/dns-host.c: Merge copyright years.
8589
4b43400f
LD
85902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8591
8592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8593 Optimize memcpy with prefetch if
8594 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8595 src, dst pointers have unequal 16 byte alignments.
8596
48c41d04
SP
85972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8598
8599 [BZ #13928]
8600 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8601 from a CNAME entry and return the minimum ttl for the query.
8602 (gaih_getanswer_slice): Likewise.
8603
b8dc394d
JL
86042012-03-30 Jeff Law <law@redhat.com>
8605
8606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8607 due to long keys.
8608 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8609 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8610
2f5a5ed0
JL
8611 * resolv/nss_dns/dns-host.c: Update copyright year.
8612
1d39e359
UD
86132012-03-30 Ulrich Drepper <drepper@gmail.com>
8614
c030f70c 8615 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8616 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8617
1d39e359
UD
8618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8619 comments for sendmmsg.
8620
86212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8622
8623 [BZ #13691]
8624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8625 with only 1 character between 0x0041 and 0x01b0.
8626 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8627 * wcsmbs/tst-mbsnrtowcs.c: New file.
8628
20fde227
DM
86292012-03-29 David S. Miller <davem@davemloft.net>
8630
8631 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8632 small copies by hand.
8633
984a4237
JL
86342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8635
8636 [BZ #13761]
8637 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8638 _nss_compat_initgroups_dyn): Fall back to malloc/free
8639 for large group memberships.
8640
18c9d62b
DM
86412012-03-28 David S. Miller <davem@davemloft.net>
8642
88d85d4f
DM
8643 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8644 that branches into memcpy.
8645 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8648 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8650 bits.
8651 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8652 implementation too.
8653 * sysdeps/sparc/mempcpy.S: New file.
8654
e5aa83e1
DM
8655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8656 the IFUNC routine in the libc case.
8657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8658
88570753
DM
8659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8661 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8662 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8663 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8664 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8665 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8666 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8667
249d7567
DM
8668 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8669 loop to 256 bytes instead of 64 bytes and fix test signedness.
8670
18c9d62b
DM
8671 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8672 * sysdeps/sparc/sparc32/Makefile: rather than here...
8673 * sysdeps/sparc/sparc64/Makefile: and here.
8674
05f3d1f6
UD
86752012-03-28 Ulrich Drepper <drepper@gmail.com>
8676
8677 * malloc/mallocbug.c: Avoid warnings about unused variables.
8678
86ae07a8
JL
86792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8680
8681 [BZ #13760]
8682 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8683 in the right place. Discard and retry query if response is
8684 larger than input buffer size.
8685
41bf21a1
JM
86862012-03-28 Joseph Myers <joseph@codesourcery.com>
8687
d6270972
JM
8688 [BZ #369]
8689 [BZ #2678]
8690 [BZ #3866]
8691 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8692 x for large integer exponent.
8693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8695 sign of result as needed afterwards.
8696 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8698 result for underflowing pow the same as for overflow.
8699 (__kernel_standard_l): Handle powl overflow and underflow here
8700 rather than calling __kernel_standard.
8701 * math/libm-test.inc (pow_test): Add more tests.
8702
414fca03 8703 [BZ #3868]
41bf21a1
JM
8704 [BZ #13879]
8705 [BZ #13910]
8706 [BZ #13911]
8707 [BZ #13912]
8708 [BZ #13913]
8709 [BZ #13915]
8710 [BZ #13916]
8711 [BZ #13917]
8712 [BZ #13918]
8713 [BZ #13919]
8714 [BZ #13920]
8715 [BZ #13921]
8716 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8717 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8718 (__kernel_standard_l): New function.
8719 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8720 __kernel_standard.
8721 * math/w_acosl.c (__acosl): Likewise.
8722 * math/w_asinl.c (__asinl): Likewise.
8723 * math/w_atan2l.c (__atan2l): Likewise.
8724 * math/w_atanhl.c (__atanhl): Likewise.
8725 * math/w_coshl.c (__coshl): Likewise.
8726 * math/w_exp10l.c (__exp10l): Likewise.
8727 * math/w_exp2l.c (__exp2l): Likewise.
8728 * math/w_fmodl.c (__fmodl): Likewise.
8729 * math/w_hypotl.c (__hypotl): Likewise.
8730 * math/w_j0l.c (__j0l, __y0l): Likewise.
8731 * math/w_j1l.c (__j1l, __y1l): Likewise.
8732 * math/w_jnl.c (__jnl, __ynl): Likewise.
8733 * math/w_lgammal.c (__lgammal): Likewise.
8734 * math/w_log10l.c (__log10l): Likewise.
8735 * math/w_log2l.c (__log2l): Likewise.
8736 * math/w_logl.c (__logl): Likewise.
8737 * math/w_powl.c (__powl): Likewise.
8738 * math/w_remainderl.c (__remainderl): Likewise.
8739 * math/w_scalbl.c (sysv_scalbl): Likewise.
8740 * math/w_sinhl.c (__sinhl): Likewise.
8741 * math/w_sqrtl.c (__sqrtl): Likewise.
8742 * math/w_tgammal.c (__tgammal): Likewise.
8743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8744 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8745 * math/libm-test.inc (acos_test): Add more tests.
8746 (acosh_test): Likewise.
8747 (asin_test): Likewise.
8748 (atanh_test): Likewise.
8749 (exp_test): Likewise.
8750 (exp10_test): Likewise.
8751 (exp2_test): Likewise.
8752 (expm1_test): Likewise.
8753 (lgamma_test): Likewise.
8754 (log_test): Likewise.
8755 (log10_test): Likewise.
8756 (log1p_test): Likewise.
8757 (log2_test): Likewise.
8758 (pow_test): Do not allow some spurious overflow exceptions.
8759 (sqrt_test): Add more tests.
8760 (tgamma_test): Likewise.
8761 (y0_test): Likewise.
8762 (y1_test): Likewise.
8763 (yn_test): Likewise.
8764
dd62fda6
AB
87652012-03-27 Anton Blanchard <anton@samba.org>
8766
8767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8768 MAP_HUGETLB.
8769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8772
1e3cdfda
AJ
87732012-03-27 David S. Miller <davem@davemloft.net>
8774
b855ab85
DM
8775 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8776
1e3cdfda
AJ
8777 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8778 have-as-vis3 check.
8779
87802012-03-27 Andreas Jaeger <aj@suse.de>
8781
8782 * sysdeps/x86_64/elf/configure.in: Moved to ...
8783 * sysdeps/x86_64/configure.in: ... here.
8784 * sysdeps/x86_64/elf/start.S: Moved to ...
8785 * sysdeps/x86_64/start.S: ... here.
8786 * sysdeps/x86_64/elf/configure: Delete.
8787
8788 * sysdeps/x86_64/configure.in: Merge contents from
8789 sysdeps/i386/configure.in (without i686 check).
8790
8791 * sysdeps/i386/elf/Versions: Merge into ...
8792 * sysdeps/i386/Versions: ... this.
8793 * sysdeps/i386/elf/Versions: Delete file.
8794 * sysdeps/i386/elf/start.S: Moved to ...
8795 * sysdeps/i386/start.S: ...here.
8796 * sysdeps/i386/elf/configure.in: Merge into...
8797 * sysdeps/i386/configure.in: ...here.
8798 * sysdeps/i386/elf/configure.in: Delete file.
8799 * sysdeps/i386/elf/configure: Delete file.
8800
8801 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8802 * debug/backtracesyms.c: ... here.
8803 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8804 * debug/backtracesymsfd.c: ... here.
8805 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8806 * sysdeps/generic/ifunc-sel.h: ... here.
8807
8808 * sysdeps/unix/i386/start.c: Delete file.
8809 * sysdeps/unix/sparc/start.c: Delete file.
8810 * sysdeps/unix/start.c: Delete file.
8811
8812 * sysdeps/sh/elf/configure.in: Moved to ...
8813 * sysdeps/sh/configure.in: ... here.
8814 * sysdeps/sh/elf/start.S: Moved to ...
8815 * sysdeps/sh/start.S: ... here.
8816 * sysdeps/sh/elf/configure: Delete file.
8817
8818 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8819 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8820 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8821 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8822 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8823 * sysdeps/powerpc/powerpc64/start.S: here.
8824 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8825 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8826 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8827 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8828 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8829
8830 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8831 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8832 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8833 * sysdeps/powerpc/powerpc32/start.S: ... here.
8834 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8835 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8836 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8837
8838 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8839 * sysdeps/powerpc/ifunc-sel.h: ... here.
8840 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8841 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8842
8843 * sysdeps/sparc/elf/configure.in: Moved to ...
8844 * sysdeps/sparc/configure.in: ... here.
8845 * sysdeps/sparc/elf/configure: Delete file.
8846 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8847 * sysdeps/sparc/sparc32/start.S: ... here.
8848 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8849 * sysdeps/sparc/sparc64/start.S: ... here.
8850 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8851 * sysdeps/sparc/sparc32/Makefile: ... this.
8852 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8853 * sysdeps/sparc/sparc64/Makefile: ... this.
8854
8855 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8856 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8857 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8858 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8859 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8860 * sysdeps/s390/s390-32/setjmp.S: ... here.
8861 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8862 * sysdeps/s390/s390-32/configure.in: ... here.
8863 * sysdeps/s390/s390-32/elf/configure: Delete file.
8864 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8865 * sysdeps/s390/s390-32/start.S: ... here.
8866
8867 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8868 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8869 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8870 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8871 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8872 * sysdeps/s390/s390-64/setjmp.S: ... here.
8873 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8874 * sysdeps/s390/s390-64/configure.in: ... here
8875 * sysdeps/s390/s390-64/elf/configure: Delete file.
8876 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8877 * sysdeps/s390/s390-64/start.S: ... here.
8878 * sysdeps/s390/s390-64/elf/configure: Delete.
8879
8880 * configure.in: Remove support for elf directories in sysdeps.
8881
8882 * configure: Regenerated.
8883 * sysdeps/i386/configure: Regenerated.
8884 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8885 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8886 * sysdeps/s390/s390-32/configure: Regenerated.
8887 * sysdeps/s390/s390-64/configure: Regenerated.
8888 * sysdeps/sh/configure: Regenerated.
8889 * sysdeps/sparc/configure: Regenerated.
8890 * sysdeps/x86_64/configure: Regenerated.
8891
a3f61311
AS
88922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8893
c876e002
AS
8894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8895
a3f61311
AS
8896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8897 denormal result into account.
8898
ac4c54f0
RM
88992012-03-25 Roland McGrath <roland@hack.frob.com>
8900
8901 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8902 Reported by Allan McRae <allan@archlinux.org>.
8903
6a9b9c02
JL
89042012-03-23 Jeff Law <law@redhat.com>
8905
8906 * nss/getnssent.c (__nss_getent): Fix typo.
8907
4c42a0c1
DM
89082012-03-23 David S. Miller <davem@davemloft.net>
8909
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8911
1532c7ac
L
89122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8915 to pad to uint64_t for each field.
8916 (dl_tls_index): Replace unsigned long with uint64_t.
8917
3ff42526
PP
89182012-03-23 Daniel Jacobowitz <dmj@google.com>
8919 Paul Pluzhnikov <ppluzhnikov@google.com>
8920
8921 [BZ #6528]
8922 * grp/Makefile (otherlibs): Don't set it.
8923 * inet/Makefile (otherlibs): Likewise.
8924 * login/Makefile (otherlibs): Likewise.
8925 * nscd/Makefile (otherlibs): Likewise.
8926 * posix/Makefile (otherlibs): Likewise.
8927 * pwd/Makefile (otherlibs): Likewise.
8928 * rt/Makefile (otherlibs): Likewise.
8929 * sunrpc/Makefile (otherlibs): Likewise.
8930 * nss/Makefile (otherlibs): Likewise.
8931 Add libnss_files to routines and static-only-routines.
8932 ($(objpfx)getent): Remove rule.
8933 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8934 static-only-routines.
8935
7c69cd14
JM
89362012-03-22 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #13892]
8939 * math/s_cexp.c: Include <float.h>.
8940 (__cexp): Handle exp result overflowing not necessarily
8941 overflowing both real and imaginary parts of result.
8942 * math/s_cexpf.c: Likewise.
8943 * math/s_cexpl.c: Likewise.
8944 * math/libm-test.inc (cexp_test): Add more tests.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947
81b035fe
L
89482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8949
8950 * include/link.h (ELFW): New macro.
8951 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8952 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8953
1da7940c
L
89542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8955
8956 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8957 with uint64_t.
8958
b749dbb9
L
89592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8962 declaration.
8963 (struct La_x32_retval): Likewise.
8964
2ff87f3f
L
89652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8966
8967 * sysdeps/x86_64/preconfigure.in: New file.
8968 * sysdeps/x86_64/preconfigure: New generated file.
8969
c0df8e69
JM
89702012-03-22 Joseph Myers <joseph@codesourcery.com>
8971
48e44791
JM
8972 [BZ #13824]
8973 * math/e_exp2l.c: Include <float.h>.
8974 (__ieee754_exp2l): Handle overflow and underflow cases
8975 separately. Only pass fractional part of argument to
8976 __ieee754_expl.
8977 * math/libm-test.inc (exp2_test): Add more tests.
8978
c0df8e69
JM
8979 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8980 negating x to take absolute value.
8981 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8982 Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8985 Likewise.
8986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8987 computing low part if x was negated.
8988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8989
c8e43ba7
L
89902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8993 la_x32_gnu_pltexit.
8994 (pltexit): Cast int_retval to ptrdiff_t.
8995 * elf/tst-auditmod3b.c: Likewise.
8996 * elf/tst-auditmod4b.c: Likewise.
8997 * elf/tst-auditmod5b.c: Likewise.
8998 * elf/tst-auditmod6b.c: Likewise.
8999 * elf/tst-auditmod6c.c: Likewise.
9000 * elf/tst-auditmod7b.c: Likewise.
9001
9002 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9003 and x32_gnu_pltexit.
9004
9005 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9006 __ELF_NATIVE_CLASS.
9007 (La_x32_regs): New macro.
9008 (La_x32_retval): Likewise.
9009 (la_x32_gnu_pltenter): New function prototype.
9010 (la_x32_gnu_pltexit): Likewise.
9011
7998fa78
AS
90122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9013
dcb33988
AS
9014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9015 exponent.
9016
233fc563
AS
9017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9018
7998fa78
AS
9019 * configure.in (libc_cv_cc_nofma): Check for option to disable
9020 generation of FMA instructions.
9021 * configure: Regenerate.
9022 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9023 * sysdeps/ieee754/dbl-64/Makefile: New file.
9024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9025 Remove brandred-fma4.
9026 (CFLAGS-brandred-fma4.c): Remove.
9027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9029 define.
9030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9031 define.
9032
8e95c99a
L
90332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9036 LLONG_MAX != LONG_MAX.
9037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9038 (_fitoa_word): Likewise.
9039 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9040 LLONG_MAX != LONG_MAX.
9041 * stdio-common/_itowa.h: Include <_itoa.h>.
9042 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9043 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9044 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9045 only if not defined.
9046 (_ITOA_WORD_TYPE): Likewise.
9047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9048 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9049
6f4db457
DM
90502012-03-21 David S. Miller <davem@davemloft.net>
9051
9052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9053
7785fe5a
L
90542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9057 of x86_64 when setting libc_cv_slibdir, libdir and
9058 libc_cv_localedir.
9059 * sysdeps/unix/sysv/linux/configure: Regenerated.
9060
4535cd55
JM
90612012-03-21 Joseph Myers <joseph@codesourcery.com>
9062
9063 * manual/lang.texi (Old Varargs): Remove section.
9064 (How Variadic): Update menu.
9065 (va_start): Do not mention varargs.h.
9066
17228132
TS
90672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9068 Joseph Myers <joseph@codesourcery.com>
9069
9070 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9071 link test.
9072 * configure: Regenerated.
9073
8149f976
TS
90742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9075
05f3d1f6
UD
9076 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9077 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9078 conformtest.pl
8149f976 9079
1a4ac776
JM
90802012-03-21 Joseph Myers <joseph@codesourcery.com>
9081
be22ce65
JM
9082 * NOTES: Remove.
9083 * Makefile (files-for-dist): Remove NOTES.
9084 (NOTES): Remove rule.
9085 * README: Don't refer to NOTES.
9086 * manual/creature.texi: Don't include macros.texi.
9087 * manual/intro.texi (creature.texi): Remove comment referring to
9088 NOTES.
9089
40b601fb
JM
9090 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9091 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9092 * configure: Regenerated.
9093 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9094 LIBC_TRY_CC_OPTION.
9095 (libc_cv_as_i686): Likewise.
9096 (libc_cv_cc_avx): Likewise.
9097 (libc_cv_cc_sse2avx): Likewise.
9098 (libc_cv_cc_fma4): Likewise.
9099 (libc_cv_cc_novzeroupper): Likewise.
9100 * sysdeps/i386/configure: Regenerated.
9101
1a4ac776
JM
9102 [BZ #13883]
9103 * sysdeps/i386/fpu/s_cexp.S: Remove.
9104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9105 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9106 * math/libm-test.inc (cexp_test): Add more tests.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9109
a458e7fe
AM
91102012-03-21 Allan McRae <allan@archlinux.org>
9111
9112 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9113
0cb7efc5
JM
91142012-03-21 Joseph Myers <joseph@codesourcery.com>
9115
9116 [BZ #13871]
9117 * math/w_exp2.c: Do not include <float.h>.
9118 (o_threshold, u_threshold): Remove.
9119 (__exp2): Calculate result before checking finiteness and calling
9120 __kernel_standard.
9121 * math/w_exp2f.c: Likewise.
9122 * math/w_exp2l.c: Likewise.
9123 * math/libm-test.inc (exp2_test): Require overflow exception for
9124 1e6 input.
2460d3aa
JM
9125
9126 [BZ #3866]
9127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9128 range of signed 64-bit integers before using fistpll. Remove
9129 checks for whether integers fit in mantissa bits.
9130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9131 the range of signed 32-bit integers before using fistpl. Remove
9132 checks for whether integers fit in mantissa bits.
9133 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9134 (__ieee754_powl): Test for y outside the range of signed 64-bit
9135 integers before using fistpll. Reduce 64-bit values to 63-bit
9136 ones as needed.
9137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9138 divide-by-zero is raised for zero to large negative powers.
9139 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9140 (__ieee754_powl): Test for y outside the range of signed 64-bit
9141 integers before using fistpll. Reduce 64-bit values to 63-bit
9142 ones as needed.
9143 * math/libm-test.inc (pow_test): Add more tests.
9144
eb96ffb0
L
91452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9148 <stdio-common/_itoa.h>.
9149 * debug/segfault.c: Likewise.
9150 * elf/dl-cache.c: Likewise.
9151 * elf/dl-minimal.c: Likewise.
9152 * elf/dl-misc.c: Likewise.
9153 * elf/dl-sysdep.c: Likewise.
9154 * elf/dl-version.c: Likewise.
9155 * elf/rtld.c: Likewise.
9156 * hurd/hurdsock.c: Likewise.
9157 * hurd/lookup-retry.c: Likewise.
9158 * malloc/malloc.c: Likewise.
9159 * malloc/mtrace.c: Likewise.
9160 * nscd/nscd_getgr_r.c: Likewise.
9161 * nscd/nscd_getpw_r.c: Likewise.
9162 * nscd/nscd_getserv_r.c: Likewise.
9163 * posix/getopt_init.c: Likewise.
9164 * posix/wordexp.c: Likewise.
9165 * stdio-common/_itoa.c: Likewise.
9166 * stdio-common/printf_fphex.c: Likewise.
9167 * stdio-common/vfprintf.c: Likewise.
9168 * string/_strerror.c: Likewise.
9169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9170 * sysdeps/i386/i686/hp-timing.h: Likewise.
9171 * sysdeps/mach/_strerror.c: Likewise.
9172 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9173 * sysdeps/mach/hurd/sethostid.c: Likewise.
9174 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9175 * sysdeps/mach/xpg-strerror.c: Likewise.
9176 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9178 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9179 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9181 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9183 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9185 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9186 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9190 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9192 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9193 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9194 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9195 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9196 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9197
9198 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9199
9200 * stdio-common/_itoa.h: Moved to ...
9201 * sysdeps/generic/_itoa.h: Here.
9202
9203 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9204
9205 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9206 instead of "_itoa.h" and "_itowa.h".
9207 * stdio-common/vfprintf.: Likewise.
9208
d1af992d
L
92092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9210
9211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9212 <bits/wordsize.h>.
9213 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9214 (__signbit): Likwise.
9215 (llrintf): Likwise.
9216 (llrint): Likwise.
9217
114883e0
L
92182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9219
9220 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9221 __WORDSIZE != 64.
9222
c135cc1b
JM
92232012-03-20 Joseph Myers <joseph@codesourcery.com>
9224
9225 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9226 OVERFLOW_EXCEPTION_OK.
9227 * math/libm-test.inc ("Philosophy"): Update comment about
9228 exception testing.
9229 (OVERFLOW_EXCEPTION): Define.
9230 (OVERFLOW_EXCEPTION_OK): Likewise.
9231 (INVALID_EXCEPTION_OK): Renumber.
9232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9233 (IGNORE_ZERO_INF_SIGN): Likewise.
9234 (test_exceptions): Handle FE_OVERFLOW.
9235 (exp10_test): Expect overflow exceptions.
9236 (exp2_test): Likewise.
9237 (expm1_test): Likewise.
9238 (nextafter_test): Likewise.
9239 (pow_test): Likewise.
9240 (scalbn_test): Likewise.
9241 (scalbln_test): Likewise.
9242
95443d88
L
92432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 * sysdeps/x86_64/bits/atomic.h
9246 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9247 64bit integer.
9248 (atomic_exchange_acq): Likewise.
9249 (__arch_exchange_and_add_body): Likewise.
9250 (__arch_add_body): Likewise.
9251 (atomic_add_negative): Likewise.
9252 (atomic_add_zero): Likewise.
9253
490df6c4
L
92542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9255
c2722551 9256 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9257 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9258
5e52b189
L
92592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9262 Check __x86_64__ instead of __WORDSIZE.
9263
a9879d4c
L
92642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9265
9266 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9267
5df98260
DM
92682012-03-19 David S. Miller <davem@davemloft.net>
9269
e1497744
DM
9270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9271
5df98260
DM
9272 * sysdeps/sparc/fpu/fenv_private.h: New file.
9273 * sysdeps/sparc/fpu/math_private.h: Use it.
9274 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9275 Remove.
9276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9277 (libc_feholdexcept_setroundl): Remove.
9278 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9279 Remove.
9280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9282
b4c35121
L
92832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9286 int64_t instead of long int.
9287 (INSERT_WORDS64): Likwise.
9288
56965fd7
L
92892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9292 _Unwind_GetCFA return to _Unwind_Ptr first.
9293
83d1aec8
JM
92942012-03-19 Joseph Myers <joseph@codesourcery.com>
9295
1897ad44
JM
9296 [BZ #13629]
9297 * math/s_clog.c: Include <float.h>.
9298 (__clog): Scale large or subnormal inputs.
9299 * math/s_clogf.c: Likewise.
9300 * math/s_clogl.c: Likewise.
9301 * math/s_clog10.c: Include <float.h>.
9302 (M_LOG10_2): Define.
9303 (__clog10): Scale large or subnormal inputs.
9304 * math/s_clog10f.c: Likewise.
9305 * math/s_clog10l.c: Likewise.
9306 * math/libm-test.inc (clog_test): Add more tests.
9307 (clog10_test): Likewise.
9308 * sysdeps/i386/fpu/libm-test-ulps: Update.
9309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9310
7726d6a9
JM
9311 [BZ #11451]
9312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9313 x and y.
9314 * math/libm-test.inc (atan2_test): Add another test.
9315
83d1aec8
JM
9316 * Makerules (common-objdir-compile): Remove.
9317 * sysdeps/unix/Makefile (config-generated): Do not add
9318 $(unix-generated) to variable.
9319 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9320 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9321 Remove rule.
9322 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9323 Likewise.
9324 [generic bits/local_lim.h] (before-compile): Do not append to
9325 variable.
9326 [generic bits/local_lim.h] (common-generated): Likewise.
9327 [generic sys/param.h] (before-compile): Do not append to variable.
9328 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9329 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9332 include.
9333 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9334 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9335 [generic sys/param.h] ($(addprefix
9336 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9337 [generic sys/param.h] (common-generated): Do not append to
9338 variable.
9339 [generic sys/param.h] (sysdep_headers): Likewise.
9340 [generic bits/errno.h] (before-compile): Do not append to
9341 variable.
9342 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9343 rule.
9344 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9345 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9346 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9347 [generic bits/errno.h] (common-generated): Do not append to
9348 variable.
9349 [generic bits/ioctls.h] (before-compile): Do not append to
9350 variable.
9351 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9352 rule.
9353 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9354 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9356 rule.
9357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9358 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9359 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9360 [generic bits/ioctls.h] (common-generated): Do not append to
9361 variable.
9362 [generic sys/syscall.h] (syscall.h): Remove variable.
9363 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9364 rule.
9365 [generic sys/syscall.h] (before-compile): Do not append to
9366 variable.
9367 [generic sys/syscall.h] (common-generated): Likewise.
9368 * sysdeps/unix/errnos-tmpl.c: Remove file.
9369 * sysdeps/unix/errnos.awk: Likewise.
9370 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9371 * sysdeps/unix/ioctls.awk: Likewise.
9372 * sysdeps/unix/mk-local_lim.c: Likewise.
9373 * sysdeps/unix/snarf-ioctls: Likewise.
9374
4851a949
RH
93752012-03-19 Richard Henderson <rth@twiddle.net>
9376
bd37f2ee
RH
9377 * sysdeps/i386/fpu/fenv_private.h: New file.
9378 * sysdeps/i386/fpu/math_private.h: Use it.
9379 (math_opt_barrier, math_force_eval): Remove.
9380 (libc_feholdexcept_setround_53bit): Remove.
9381 (libc_feupdateenv_53bit): Remove.
9382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9383 (math_opt_barrier, math_force_eval): Remove.
9384 (libc_feholdexcept): Remove.
9385 (libc_feholdexcept_setround): Remove.
9386 (libc_fetestexcept, libc_fesetenv): Remove.
9387 (libc_feupdateenv_test): Remove.
9388 (libc_feupdateenv, libc_feholdsetround): Remove.
9389 (libc_feresetround): Remove.
9390
d0adc922
RH
9391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9392 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9393
0fe0f1f8
RH
9394 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9395 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9396 (libc_feupdateenv_testl): New.
9397 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9398 (libc_feupdateenv_testf): New.
9399 (libc_feupdateenv): Use libc_feupdateenv_test.
9400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9402
eb92c487
RH
9403 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9404 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9405 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9406 (libc_feresetround_noex): New.
9407 (libc_feresetround_noexf): New.
9408 (libc_feresetround_noexl): New.
9409 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9410 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9411 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9413 SET_RESTORE_ROUND.
9414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9416 (__cos): Likewise.
9417 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9419 SET_RESTORE_ROUND_NOEX.
9420 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9421 SET_RESTORE_ROUND_NOEXF.
9422 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9423 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9424 (libc_feholdsetroundf): New.
9425 (libc_feresetround, libc_feresetroundf): New.
9426
7d2e8012
RH
9427 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9428 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9429 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9430
b4dabbb4
RH
9431 * sysdeps/generic/math_private.h: Include <fenv.h>.
9432 (default_libc_feholdexcept): New.
9433 (default_libc_feholdexcept_setround): New.
9434 (default_libc_fesetenv, default_libc_feupdateenv): New.
9435 (libc_feholdexcept): Only define if undefined.
9436 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9438 (libc_feholdexcept_setroundl): Likewise.
9439 (libc_feholdexcept_setround_53bit): Likewise.
9440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9443 (libc_feupdateenv_53bit): Likewise.
9444 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9445 (libc_feholdexcept): Convert from macro to inline function.
9446 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9447 (libc_fesetenv, libc_feupdateenv): Likewise.
9448
4851a949
RH
9449 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9450 not previously defined.
9451 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9452 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9453 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9455 * sysdeps/ieee754/flt-32/math_private.h: New file.
9456 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9457 math_private.h below SET_FLOAT_WORD.
9458 (__isnan, __isinf_ns, __finite): Remove.
9459 (__isnanf, __isinf_nsf, __finitef): Remove.
9460
e79d442e
AS
94612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9462
9463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9464
90b80344
DM
94652012-03-17 David S. Miller <davem@davemloft.net>
9466
9467 [BZ #6471]
9468 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9469 for 2.16.
9470
edc21804
DM
94712012-03-16 David S. Miller <davem@davemloft.net>
9472
77e927af
DM
9473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9474 warnings.
9475
374976dd
DM
9476 [BZ #6471]
9477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9478 properly.
9479 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9480 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9481 sysdep_routines when subdir is sysvipc.
9482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9483 __getshmlba helper.
9484
edc21804
DM
9485 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9486
473c3ef3
L
94872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9488
9489 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9490 [__LP64__].
9491
eb0f39b6
L
94922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9496 (__lround): Renamed to ...
9497 (__llround): This. Replace long int with long long int.
9498 Define lround functions as aliases of llround functions.
9499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9500
6b6cd74b
L
95012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9502
9503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9504 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9505 adresses to uintptr_t. Replace "long int" and "unsigned long
9506 int" with "greg_t" on va_arg.
9507
f1a77b01
L
95082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9511 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9512
9513 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9514 Move e_machine check before EI_CLASS check. Handle x32
9515 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9516 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9517 SKIP_EM_IA_64 and include
9518 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9519
9520 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9521 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9522 (add_system_dir): New macro.
9523
9524 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9526
11b90b9f
JM
95272012-03-16 Joseph Myers <joseph@codesourcery.com>
9528
c36e1d23
JM
9529 [BZ #2551]
9530 [BZ #2552]
9531 [BZ #2553]
9532 [BZ #2554]
9533 [BZ #2562]
9534 [BZ #2563]
9535 [BZ #2565]
9536 [BZ #2566]
9537 [BZ #2576]
9538 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9539 (y0): Likewise.
9540 * math/w_j0f.c (j0f): Likewise.
9541 (y0f): Likewise.
9542 * math/w_j0l.c (__j0l): Likewise.
9543 (__y0l): Likewise.
9544 * math/w_j1.c (j1): Likewise.
9545 (y1): Likewise.
9546 * math/w_j1f.c (j1f): Likewise.
9547 (y1f): Likewise.
9548 * math/w_j1l.c (__j1l): Likewise.
9549 (__y1l): Likewise.
9550 * math/w_jn.c (jn): Likewise.
9551 (yn): Likewise.
9552 * math/w_jnf.c (jnf): Likewise.
9553 (ynf): Likewise.
9554 * math/w_jnl.c (__jnl): Likewise.
9555 (__ynl): Likewise.
9556 * math/libm-test.inc (j0_test): Add more tests.
9557 (j1_test): Likewise.
9558 (jn_test): Likewise. Add trailing semicolon to existing test.
9559 (y0_test): Likewise.
9560 (y1_test): Likewise.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9563
11b90b9f
JM
9564 [BZ #13851]
9565 [BZ #13854]
9566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9567 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9568 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9570 (__tanl): Set errno for infinite argument.
9571 * sysdeps/i386/fpu/mptan.c: Remove.
9572 * sysdeps/i386/fpu/s_tan.S: Likewise.
9573 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9574 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9575 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9576 * math/libm-test.inc (tan_test): Add more tests and enable more
9577 tests for double and long double.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9580
6a1bd2a1
JK
95812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9582
9583 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9584 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9585
10a803e0
RM
95862012-03-16 Roland McGrath <roland@hack.frob.com>
9587
9588 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9589 * configure.in: Use it for both main tree and add-ons.
9590 * configure: Regenerated.
9591
f196c7f7
L
95922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9593
9594 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9595
8848d99d
JM
95962012-03-16 Joseph Myers <joseph@codesourcery.com>
9597
96cbe7f4
JM
9598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9599 in comment.
9600
8848d99d
JM
9601 [BZ #13851]
9602 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9603 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9607 infinite argument.
9608 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9610 != 0 for prec == 2.
9611 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9612 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9613 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9614 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9615 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9616 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9617 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9618 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9619 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9620 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9621 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9622 * math/libm-test.inc (cos_test): Add more tests and enable more
9623 tests for long double.
9624 (sin_test): Likewise.
9625 (sincos_test): Likewise.
9626 * sysdeps/i386/fpu/libm-test-ulps: Update.
9627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9628
dd7f4703
DM
96292012-03-16 David S. Miller <davem@davemloft.net>
9630
9631 * sysdeps/sparc/fpu/math_private.h: New file.
9632
006f1daa
DM
96332012-03-15 David S. Miller <davem@davemloft.net>
9634
c0c83bc8
DM
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9636 file.
e6a62e18 9637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9639 file.
e6a62e18
DM
9640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9646 sysdep routines.
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9648
88cb87d9
DM
9649 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9650 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9651
006f1daa 9652 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9654 sparc-ifunc.h
006f1daa 9655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9657 Likewise.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9659 Likewise.
006f1daa
DM
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9664 Likewise.
006f1daa
DM
9665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9670 Likewise.
9671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9672 Likewise.
006f1daa
DM
9673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9697
11e0098e
AS
96982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9699
9700 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9701 scaling.
9702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9703
e85b09d0
AJ
97042012-03-15 Andreas Jaeger <aj@suse.de>
9705
9706 [BZ #13852]
9707 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9708 ieee754/flt-32 implementation for sin, cos and sincos.
9709 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9710 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9711 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9712 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9713 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9714 ieee754/flt-32 implementation for tan.
9715
9716 * math/libm-test.inc (cos_test): Enable some large input tests for
9717 float as well
9718 (sin_test): Likewise.
9719 (sincos_test): Likewise.
9720 (tan_test): Add tests for large input.
9721
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723
81c64153
AJ
97242012-03-15 Andreas Jaeger <aj@suse.de>
9725
9726 [BZ #13658]
9727 * math/libm-test.inc (cos_test): Add more test cases.
9728 (sin_test): Likewise.
9729 (sincos_test): Likewise.
9730
7bbfa5c6
AJ
97312012-03-15 Andreas Jaeger <aj@suse.de>
9732
9733 [BZ #13837]
9734 * math/libm-test.inc (cos_test): Add a test case for large input
9735 value.
9736 (sin_test): Likewise.
9737 (sincos_test): Likewise.
9738
97392012-03-15 Andreas Jaeger <aj@suse.de>,
9740 Joseph Myers <joseph@codesourcery.com>
9741
9742 [BZ #13658]
0671f479 9743 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9744 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9745 * sysdeps/i386/fpu/branred.c: Likewise.
9746 * sysdeps/i386/fpu/dosincos.c: Likewise.
9747 * sysdeps/i386/fpu/mpa.c: Likewise.
9748 * sysdeps/i386/fpu/s_cos.S: Likewise.
9749 * sysdeps/i386/fpu/s_sin.S: Likewise.
9750 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9751 * sysdeps/i386/fpu/sincos32.c: Likewise.
9752
9753 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9754 Define.
9755 (libc_feupdateenv_53bit): Define.
9756 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9757 Define.
9758 (libc_feupdateenv_53bit): Define.
9759
9760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9761 53 bit (without extend i386 double precision).
9762
9763 * math/libm-test.inc (sincos_test): Add tests for large input.
9764 (sin): Likewise.
9765 (cos): Likewise.
9766
9767 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9768
9cad04ea
AS
97692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9770
9771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9772
f7062b9a
DM
97732012-03-15 David S. Miller <davem@davemloft.net>
9774
9775 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9791 file.
f7062b9a 9792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9794 file.
f7062b9a 9795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9797 file.
f7062b9a 9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9800 file.
f7062b9a
DM
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9803 fmin/fmax sysdep routines.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9805
7bd951ff
DM
98062012-03-14 David S. Miller <davem@davemloft.net>
9807
559398ab
DM
9808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9837 routines.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9839 file.
559398ab 9840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9842 file.
559398ab 9843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9845 file.
559398ab 9846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9848 file.
559398ab 9849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9851 file.
559398ab 9852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9854 file.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9856 file.
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9858 file.
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9860 file.
9861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9862 New file.
9863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9864 file.
9865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9866 file.
559398ab 9867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9869 file.
559398ab 9870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9872 file.
559398ab 9873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9875 file.
559398ab 9876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9878 VIS3 routines.
559398ab
DM
9879
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9881 New file.
9882
5a1c1e32
DM
9883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9884
eae47a36
DM
9885 * sysdeps/sparc/configure.in: New file.
9886 * sysdeps/sparc/configure: Generate.
9887 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9888 * configure: Regenerate.
9889 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9890 * config.make.in (have-as-vis3): New.
9891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9892 available use -Av9d instead of -Av9a.
9893 * sysdeps/sparc/sparc64/Makefile: Likewise.
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9896 New file.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9898 file.
9899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9900 New file.
9901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9902 file.
eae47a36
DM
9903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9908
c0c83bc8
DM
9909 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9910 fzeros/fnegs to load 0x80000000 into a float register instead of
9911 using the stack.
7bd951ff
DM
9912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9913
bd951ccb
JM
99142012-03-14 Joseph Myers <joseph@codesourcery.com>
9915
9916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9917 bits/syscall.h.
9918 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9919 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9920 ($(inst_includedir)/bits/syscall.h): Remove rule.
9921 ($(objpfx)bits/syscall.d): Include instead of
9922 $(objpfx)syscall-list.d.
9923 (generated): Change syscall-list.h and syscall-list.d to
9924 bits/syscall.h and bits/syscall.d.
9925
bb4e6db2
RM
99262012-03-14 Roland McGrath <roland@hack.frob.com>
9927
9928 [BZ #13846]
9929 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9930
aa4a2ae1
JM
99312012-03-14 Joseph Myers <joseph@codesourcery.com>
9932
e456826d
JM
9933 [BZ #13841]
9934 * math/s_csqrt.c: Include <float.h>.
9935 (__csqrt): Scale large or subnormal inputs.
9936 * math/s_csqrtf.c: Likewise.
9937 * math/s_csqrtl.c: Likewise.
9938 * math/libm-test.inc (csqrt_test): Add more tests.
9939 * sysdeps/i386/fpu/libm-test-ulps: Update.
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9941
aa4a2ae1
JM
9942 [BZ #13840]
9943 * math/libm-test.inc (hypot_test): Add more tests.
9944
7c10fd35
DM
99452012-03-13 David S. Miller <davem@davemloft.net>
9946
9947 [BZ #13840]
9948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9949 double-precision for the calculation instead of scaling.
9950
f453b98b
JM
99512012-03-13 Joseph Myers <joseph@codesourcery.com>
9952
9953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9954 manipulate bits before adding and subtracting TWO52[sx].
9955 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9957 Likewise.
9958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9959
09a3453f
DM
99602012-03-13 David S. Miller <davem@davemloft.net>
9961
8e59da90
DM
9962 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9963 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9965 rtld-global-offsets.h
9966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9967
2a8ab7f2
DM
9968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9969 large parameters.
9970
10f62770
DM
9971 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9972
5f0bdb18
DM
9973 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9974 'err' in the ifdef scope in which it is actually used.
9975
09a3453f
DM
9976 * nss/nss_db/db-init.c: Include string.h
9977
b4b2eb5e
DM
99782012-03-12 David S. Miller <davem@davemloft.net>
9979
98bb2f1c
DM
9980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9981 masking out of the most significant byte of random value used.
9982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9983 Fix coding style in previous change.
9984
b4b2eb5e
DM
9985 * sysdeps/unix/sysv/linux/kernel-features.h
9986 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9987 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9988 expression.
9989 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9990 later.
9991
6e226b09
DM
99922012-03-11 David S. Miller <davem@davemloft.net>
9993
a1bcbd40
DM
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9995 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9997 for 'resultvar' otherwise things get truncated on 64-bit.
9998
cb9d6174
DM
9999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10000 Fix masking out of the most significant byte of random value used.
10001
6e226b09
DM
10002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10003
058c132d
AS
100042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10005
10006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10007
2d2cd515
DM
100082012-03-09 David S. Miller <davem@davemloft.net>
10009
10010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10011 variables with appropriate CPP guards.
10012 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10013 frame pointer, not the stack pointer. Correct layout comments. Fix test
10014 on resulting framesize and the management of the outregs buffer for pltexit.
10015 Preserve floating point return values across _dl_call_pltexit call.
10016 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10017 framesize and the management of the outregs buffer for pltexit.
10018 Preserve floating point return values across _dl_call_pltexit
10019 call.
10020 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10021 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10022 (print_exit): Fix format string for return register value.
10023
9a07f9d0
JM
100242012-03-10 Joseph Myers <joseph@codesourcery.com>
10025
10026 * sunrpc/Makefile (others): Add rpcgen.
10027 ($(objpfx)rpcgen): Remove special build rule and dependency on
10028 libc.
10029 * sunrpc/rpcgen.c: New file.
10030
547b5e30
PE
100312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10032
c524201a
PE
10033 [BZ #13673]
10034 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10035 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10036 * sysdeps/i386/crti.S: Likewise.
10037 * sysdeps/i386/crtn.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10039 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10040 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10041 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10042 * sysdeps/sh/crti.S: Likewise.
10043 * sysdeps/sh/crtn.S: Likewise.
10044 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10045
7b6235f2
PE
10046 [BZ #13673]
10047 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10048 with URL.
10049 * locale/programs/locfile-kw.gperf: Likewise.
10050 * locale/programs/charmap-kw.h: Regenerated.
10051 * locale/programs/locfile-kw.h: Likewise.
10052
547b5e30
PE
10053 [BZ #13673]
10054 * intl/plural.y: Replace FSF snail mail address with URL.
10055 * intl/plural.c: Regenerated.
10056
5f0a5dae
RH
100572012-03-09 Richard Henderson <rth@twiddle.net>
10058
10059 * include/math_private.h: Remove file.
10060 * math/math_private.h: Move file ...
10061 * sysdeps/generic/math_private.h: ... here.
10062
b8c03620
RH
10063 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10064 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10065 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10066
4e234f5d 10067 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10068 and <math_private.h>.
10069 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10070 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10071 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10072 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10073 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10157 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10158 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10159 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10163 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10174 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10175 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10176 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10177 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10179 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10180 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10181 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10188 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10189 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10190 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10193 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10197 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10200 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10202 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10205 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10218 * sysdeps/ieee754/k_standard.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10338 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10339 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10341 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10346 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10351 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10379 * sysdeps/ieee754/s_lib_version.c: Likewise.
10380 * sysdeps/ieee754/s_matherr.c: Likewise.
10381 * sysdeps/ieee754/s_signgam.c: Likewise.
10382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10385 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10386 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10388 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10389 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10390 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10391 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10392 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10393 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10396 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10398 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10399 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10400 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10403
1991fa03
JM
104042012-03-09 Joseph Myers <joseph@codesourcery.com>
10405
10406 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10407 * sunrpc/rpc_main.c: Likewise.
10408 * sunrpc/rpc_svcout.c: Likewise.
10409
60d6f5a6
DM
104102012-03-09 David S. Miller <davem@davemloft.net>
10411
10412 * include/math_private.h: New file.
10413
4962050e
JM
104142012-03-09 Joseph Myers <joseph@codesourcery.com>
10415
02a6f887
JM
10416 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10417 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10418 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10419 from <bits/socket_type.h>.
10420 (enum __socket_type): Don't define here.
10421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10423 bits/socket_type.h.
10424
c6e013c1
JM
10425 [BZ #13566]
10426 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10427 checking __USE_GNU.
10428
4962050e
JM
10429 * Makerules ($(inst_includedir)/%.h): New rule.
10430 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10431 (install-others): Remove variable setting.
10432 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10433
38842f45
RH
104342012-03-08 Richard Henderson <rth@twiddle.net>
10435
67bb6da6
RH
10436 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10437 from macro to inline function; merge with the
10438 !__LIBC_INTERNAL_MATH_INLINES version.
10439 (__ieee754_sqrtf): Likewise.
10440
15194b4b
RH
10441 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10442 to inline function.
10443 (__rintf, __floor, __floorf): Likewise.
10444
64e21ede
RH
10445 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10446 macro to inline function.
10447 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10448
38842f45
RH
10449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10450 not <math/math_private.h>.
10451
c64bf5fe
DM
104522012-03-08 David S. Miller <davem@davemloft.net>
10453
10454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10455 copyright year.
10456 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10457
82d86f28
TS
104582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10459
10460 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10461 normalization.
10462 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10463 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10464
aea5d727
UD
104652012-03-08 Ulrich Drepper <drepper@gmail.com>
10466
10467 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10468 be defined individually, they must be defined as a block. Define
10469 S for printing a string instead of hidint the different by using a
10470 macro for adding the 'l'.
10471 * stdio-common/tst-fphex-wide.c: Adjust.
10472
70bca0a3
MP
104732012-03-07 Marek Polacek <polacek@redhat.com>
10474
10475 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10476
65b81130
MP
104772012-03-08 Marek Polacek <polacek@redhat.com>
10478
10479 [BZ #13806]
10480 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10481 * stdio-common/tst-fphex.c: Define a few macros to make the
10482 test reusable. Use them.
10483 * stdio-common/tst-fphex-wide.c: New file.
10484
07037eeb
JM
104852012-03-08 Joseph Myers <joseph@codesourcery.com>
10486
a7a93d50
JM
10487 [BZ #6911]
10488 * manual/macros.texi (gnusystems): New macro.
10489 (nongnusystems): Likewise.
10490 (gnulinuxhurdsystems): Likewise.
10491 (gnuhurdsystems): Likewise..
10492 (gnulinuxsystems): Likewise.
10493 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10494 variants of the GNU system, not "GNU system".
10495 * manual/conf.texi: Likewise.
10496 * manual/errno.texi: Likewise. Update example of errno macro
10497 expansion.
10498 * manual/filesys.texi: Likewise.
10499 (getumask): Document as specific to GNU/Hurd.
10500 * manual/install.texi: Likewise. Reword some references to
10501 GNU/Linux.
10502 * manual/intro.texi: Likewise.
10503 * manual/io.texi: Likewise.
10504 (File Name Portability): Detail which constraints are inapplicable
10505 to all GNU systems and which are only inapplicable to GNU/Hurd.
10506 * manual/job.texi: Likewise.
10507 * manual/llio.texi: Likewise.
10508 (O_NOCTTY): Document as present on GNU/Linux.
10509 * manual/maint.texi: Likewise.
10510 * manual/memory.texi: Likewise.
10511 * manual/pattern.texi: Likewise.
10512 * manual/pipe.texi: Likewise.
10513 * manual/process.texi: Likewise.
10514 * manual/resource.texi: Likewise.
10515 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10516 child on GNU/Hurd.
10517 * manual/setjmp.texi: Likewise.
10518 * manual/signal.texi: Likewise.
10519 * manual/startup.texi: Likewise.
10520 * manual/stdio.texi: Likewise.
10521 * manual/terminal.texi: Likewise.
10522 (ONLCR): Document as POSIX.
10523 (OXTABS): Document availability on GNU/Linux as XTABS.
10524 (ONOEOT): Document availability separately from other bits.
10525 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10526 * manual/time.texi: Likewise.
10527 * manual/users.texi: Likewise.
10528 * INSTALL: Regenerated.
10529 * sysdeps/gnu/errlist.c: Regenerated.
10530
07037eeb
JM
10531 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10532 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10533 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10534 puts.
10535 * configure: Regenerated.
10536
d1d3431a
JM
105372012-03-07 Joseph Myers <joseph@codesourcery.com>
10538
af6a1e37
JM
10539 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10540 default includes instead of AC_HEADER_CHECK.
10541 * sysdeps/i386/configure: Regenerated.
10542
d1d3431a
JM
10543 [BZ #10716]
10544 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10545 * math/s_cacoshf.c (__cacoshf): Likewise.
10546 * math/s_cacoshl.c (__cacoshl): Likewise.
10547 * math/s_casinh.c (__casinh): Set signs of result from argument.
10548 * math/s_casinhf.c (__casinhf): Likewise.
10549 * math/s_casinhl.c (__casinhl): Likewise.
10550 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10551 (casinh_test): Add more tests.
10552 * sysdeps/i386/fpu/libm-test-ulps: Update.
10553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554
482ff4da
UD
105552012-03-07 Ulrich Drepper <drepper@gmail.com>
10556
872fda05
UD
10557 * po/zh_TW.po: Update from translation team.
10558
a4300c7a
UD
10559 * login/Makefile (distribute): Remove variable.
10560 * catgets/Makefile: Likewise.
10561 * mach/Makefile: Likewise.
10562 * malloc/Makefile: Likewise.
10563 * misc/Makefile: Likewise.
10564 * iconv/Makefile: Likewise.
10565 * nscd/Makefile: Likewise.
10566 * hurd/Makefile: Likewise.
10567 * manual/Makefile: Likewise.
10568 * locale/Makefile: Likewise.
10569 * intl/Makefile: Likewise.
10570 * conform/Makefile: Likewise.
10571 * nss/Makefile: Likewise.
10572 * time/Makefile: Likewise.
10573 * soft-fp/Makefile: Likewise.
10574 * dirent/Makefile: Likewise.
10575 * gmon/Makefile: Likewise.
10576 * po/Makefile: Likewise.
10577 * rt/Makefile: Likewise.
10578 * socket/Makefile: Likewise.
10579 * math/Makefile: Likewise.
10580 * signal/Makefile: Likewise.
10581 * debug/Makefile: Likewise.
10582 * elf/Makefile: Likewise.
10583 * timezone/Makefile: Likewise.
10584 * stdlib/Makefile: Likewise.
10585 * iconvdata/Makefile: Likewise.
10586 * sunrpc/Makefile: Likewise.
10587 * io/Makefile: Likewise.
10588 * argp/Makefile: Likewise.
10589 * inet/Makefile: Likewise.
10590 * hesiod/Makefile: Likewise.
10591 * grp/Makefile: Likewise.
10592 * csu/Makefile: Likewise.
10593 * wctype/Makefile: Likewise.
10594 * crypt/Makefile: Likewise.
10595 * libio/Makefile: Likewise.
10596 * string/Makefile: Likewise.
10597 * nis/Makefile: Likewise.
10598 * resolv/Makefile: Likewise.
10599 * stdio-common/Makefile: Likewise.
10600 * wcsmbs/Makefile: Likewise.
10601 * dlfcn/Makefile: Likewise.
10602 * posix/Makefile: Likewise.
10603
3b7c4e74 10604 [BZ #6959]
482ff4da
UD
10605 * timezone/Makefile: Don't install timezone files, just the programs
10606 and scripts.
10607
f72ed77d
UD
106082012-03-06 Ulrich Drepper <drepper@gmail.com>
10609
a000466f
UD
10610 * nss/databases.def: Add missing gshadow entry.
10611
f72ed77d
UD
10612 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10613
a53b7a4e
MP
106142012-03-06 Marek Polacek <polacek@redhat.com>
10615
10616 [BZ #13726]
10617 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10618 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10619 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10620 * stdio-common/tst-long-dbl-fphex.c: New file.
10621
e9258400
DM
106222012-03-06 David S. Miller <davem@davemloft.net>
10623
10624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10625 (set_obp_int): New function.
10626 (get_obp_int): New function.
10627 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10629 Avoid unused variable warnings on 'val' and use builtin_expect.
10630 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10631 __builtin_expect.
e9258400
DM
10632 (INLINE_CLONE_SYSCALL): Likewise.
10633
3bd2c723
DM
106342012-03-05 David S. Miller <davem@davemloft.net>
10635
10636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10637
bbb78d03
AS
106382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10639
884c5db4
AS
10640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10641
bbb78d03
AS
10642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10643 only for |x| >= 40.
10644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10645
1c9f702a 106462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10647
10648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10649 Replace gettimeofday with __vdso_gettimeofday.
10650
7be16f82
RM
10651 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10652 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10653 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10654
10655 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10656 time with __vdso_time.
10657
ed58a00f
JM
106582012-03-05 Joseph Myers <joseph@codesourcery.com>
10659
10660 * manual/lang.texi (size_t): Note types to which size_t may be
10661 equivalent with the GNU C Library, but do not describe when
10662 differences between them are significant.
10663
30ee4ced
AJ
106642012-03-05 Andreas Jaeger <aj@suse.de>
10665
10666 * sysdeps/i386/fpu/libm-test-ulps: Update.
10667
b7cd39e8
JM
106682012-03-05 Joseph Myers <joseph@codesourcery.com>
10669
10670 [BZ #3976]
10671 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10672 (__ieee754_pow): Save and restore rounding mode and use
10673 round-to-nearest for main computations.
10674 * math/libm-test.inc (pow_test_tonearest): New function.
10675 (pow_test_towardzero): Likewise.
10676 (pow_test_downward): Likewise.
10677 (pow_test_upward): Likewise.
10678 (main): Call the new functions.
10679 * sysdeps/i386/fpu/libm-test-ulps: Update.
10680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10681
10682 [BZ #3976]
10683 * math/libm-test.inc (cosh_test_tonearest): New function.
10684 (cosh_test_towardzero): Likewise.
10685 (cosh_test_downward): Likewise.
10686 (cosh_test_upward): Likewise.
10687 (sinh_test_tonearest): Likewise.
10688 (sinh_test_towardzero): Likewise.
10689 (sinh_test_downward): Likewise.
10690 (sinh_test_upward): Likewise.
10691 (main): Call the new functions.
10692 * sysdeps/i386/fpu/libm-test-ulps: Update.
10693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10694
6c6a98c9
TV
106952012-03-05 Tom de Vries <tom@codesourcery.com>
10696
10697 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10698 default stack guard is set in last bytes.
10699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10700
21bb2d2e 107012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10702
21bb2d2e 10703 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10704
21bb2d2e
AJ
10705 [BZ #13656]
10706 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10707 possibly allocate from heap instead of stack.
10708 * stdio-common/bug-vfprintf-nargs.c: New file.
10709 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10710
c6922934
AS
107112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10712
10713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10714
bc957d53
MP
107152012-03-03 Marek Polacek <polacek@redhat.com>
10716
10717 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10718 * math/math_private.h: Likewise.
10719 * stdlib/tst-strtod.c: Likewise.
10720 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10721 * sysdeps/x86_64/bits/atomic.h: Likewise.
10722
6358490d
DM
107232012-03-02 David S. Miller <davem@davemloft.net>
10724
10725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10729 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10730 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10731 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10732 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10733
01ae168d
RM
107342012-03-02 Roland McGrath <roland@hack.frob.com>
10735
d9a17c07
RM
10736 [BZ #13792]
10737 * manual/examples/README: New file, says the example source files
10738 can be used under GPL>=2.
10739 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10740 line containing just "*/".
10741 * manual/examples/add.c: Add copyright header (GPL>=2).
10742 * manual/examples/argp-ex1.c: Likewise.
10743 * manual/examples/argp-ex2.c: Likewise.
10744 * manual/examples/argp-ex3.c: Likewise.
10745 * manual/examples/argp-ex4.c: Likewise.
10746 * manual/examples/atexit.c: Likewise.
10747 * manual/examples/db.c: Likewise.
10748 * manual/examples/dir.c: Likewise.
10749 * manual/examples/dir2.c: Likewise.
10750 * manual/examples/execinfo.c: Likewise.
10751 * manual/examples/filecli.c: Likewise.
10752 * manual/examples/filesrv.c: Likewise.
10753 * manual/examples/fmtmsgexpl.c: Likewise.
10754 * manual/examples/genpass.c: Likewise.
10755 * manual/examples/inetcli.c: Likewise.
10756 * manual/examples/inetsrv.c: Likewise.
10757 * manual/examples/isockad.c: Likewise.
10758 * manual/examples/longopt.c: Likewise.
10759 * manual/examples/memopen.c: Likewise.
10760 * manual/examples/memstrm.c: Likewise.
10761 * manual/examples/mkfsock.c: Likewise.
10762 * manual/examples/mkisock.c: Likewise.
10763 * manual/examples/mygetpass.c: Likewise.
10764 * manual/examples/pipe.c: Likewise.
10765 * manual/examples/popen.c: Likewise.
10766 * manual/examples/rprintf.c: Likewise.
10767 * manual/examples/search.c: Likewise.
10768 * manual/examples/select.c: Likewise.
10769 * manual/examples/setjmp.c: Likewise.
10770 * manual/examples/sigh1.c: Likewise.
10771 * manual/examples/sigusr.c: Likewise.
10772 * manual/examples/stpcpy.c: Likewise.
10773 * manual/examples/strdupa.c: Likewise.
10774 * manual/examples/strftim.c: Likewise.
10775 * manual/examples/strncat.c: Likewise.
10776 * manual/examples/subopt.c: Likewise.
10777 * manual/examples/swapcontext.c: Likewise.
10778 * manual/examples/termios.c: Likewise.
10779 * manual/examples/testopt.c: Likewise.
10780 * manual/examples/testpass.c: Likewise.
10781 * manual/examples/timeval_subtract.c: Likewise.
10782
01ae168d
RM
10783 [BZ #13792]
10784 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10785 function to ...
10786 * manual/timeval_subtract.c.texi: ... here, new file.
10787
49efa33d
DM
107882012-03-02 David S. Miller <davem@davemloft.net>
10789
10790 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10791
28afd92d
JM
107922012-03-02 Joseph Myers <joseph@codesourcery.com>
10793
804360ed
JM
10794 [BZ #3976]
10795 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10796 (__sin): Save and restore rounding mode and use round-to-nearest
10797 for all computations.
10798 (__cos): Save and restore rounding mode and use round-to-nearest
10799 for all computations.
10800 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10801 <fenv.h>.
10802 (tan): Save and restore rounding mode and use round-to-nearest for
10803 all computations.
10804 * math/libm-test.inc (cos_test_tonearest): New function.
10805 (cos_test_towardzero): Likewise.
10806 (cos_test_downward): Likewise.
10807 (cos_test_upward): Likewise.
10808 (sin_test_tonearest): Likewise.
10809 (sin_test_towardzero): Likewise.
10810 (sin_test_downward): Likewise.
10811 (sin_test_upward): Likewise.
10812 (tan_test_tonearest): Likewise.
10813 (tan_test_towardzero): Likewise.
10814 (tan_test_downward): Likewise.
10815 (tan_test_upward): Likewise.
10816 (main): Call the new functions.
10817 * sysdeps/i386/fpu/libm-test-ulps: Update.
10818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10819
a6d06d7b
JM
10820 [BZ #10135]
10821 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10822 small n, then large n, before computing and testing k+n.
10823 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10825 Likewise.
10826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10827 Likewise.
10828 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10829 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10833 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10836 * math/libm-test.inc (scalbn_test): Add more tests.
10837 (scalbln_test): Likewise.
10838
07e12bb3
JM
10839 * manual/filesys.texi (mode_t): Describe constraints on size and
10840 signedness, not exact equivalence to a particular type.
10841 (ino_t): Likewise.
10842 (ino64_t): Likewise.
10843 (dev_t): Likewise.
10844 (nlink_t): Likewise.
10845 (blkcnt_t): Likewise.
10846 (blkcnt64_t): Likewise.
10847 * manual/llio.texi (off_t): Likewise.
10848
28afd92d
JM
10849 [BZ #3976]
10850 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10851 (__ieee754_exp): Save and restore rounding mode and use
10852 round-to-nearest for all computations.
10853 * math/libm-test.inc (exp_test_tonearest): New function.
10854 (exp_test_towardzero): Likewise.
10855 (exp_test_downward): Likewise.
10856 (exp_test_upward): Likewise.
10857 (main): Call the new functions.
10858 * sysdeps/i386/fpu/libm-test-ulps: Update.
10859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10860
b1eeb65d
CD
108612012-03-01 Chris Demetriou <cgd@google.com>
10862
10863 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10864 have predictable order.
10865
53362a4b
DM
108662012-03-01 David S. Miller <davem@davemloft.net>
10867
3c969083
DM
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10869
759707de
DM
10870 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10871 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10873 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10874
dfdb8ff2
DM
10875 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10876 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10877 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10880 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10881 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10882 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10883 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10884
ead89f96
DM
10885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10886
7f66bd07
DM
10887 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10888 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10890
53362a4b
DM
10891 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10894 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10895 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10898 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10899 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10900 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10901 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10907 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10908 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10909 * sysdeps/sparc/elf/configure: Regenerated.
10910
7b1902cb
JM
109112012-03-01 Joseph Myers <joseph@codesourcery.com>
10912
bec039bc
JM
10913 * configure.in (AS, LD): Require binutils 2.20 or later.
10914 * configure: Regenerated.
10915 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10916 as required minimum version.
10917 * INSTALL: Regenerated.
10918
7b1902cb
JM
10919 [BZ #2541]
10920 [BZ #4108]
10921 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10922 before squaring exponent.
10923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10924 bottom long double and 27 bits of top long double before squaring
10925 exponent.
10926 * math/libm-test.inc (erfc_test): Add more tests.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10930
f775c276
KT
109312012-03-01 Kai Tietz <ktietz@redhat.com>
10932
10933 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10934 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10935 containing bit-fields.
10936 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10937 * soft-fp/single.h (_FP_UNION_S): Likewise.
10938 * soft-fp/double.h (_FP_UNION_D): Likewise.
10939
5b8a4d4a
JM
109402012-02-29 Joseph Myers <joseph@codesourcery.com>
10941
0bab47b6
JM
10942 [BZ #13786]
10943 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10944 not include ../strcmp.S.
10945 [USE_AS_STRNCASECMP_L]: Likewise.
10946 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10947 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10948 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10949 (__strncasecmp_l_ia32): Define as alias to
10950 __strncasecmp_l_nonascii.
10951
0fcad3e2
JM
10952 [BZ #5794]
10953 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10954 * sysdeps/i386/fpu/libm-test-ulps: Update.
10955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956
5b8a4d4a
JM
10957 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10959
8fdceb2e
JL
109602012-02-29 Jeff Law <law@redhat.com>
10961
10962 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10963 out of bounds read.
10964
1f393a11
MP
109652012-02-29 Marek Polacek <polacek@redhat.com>
10966
10967 [BZ #13706]
10968 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10969 * elf/Makefile: Add rules to run tst-unused-dep.out.
10970
8847f037
DM
109712012-02-28 David S. Miller <davem@davemloft.net>
10972
10973 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10974 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10977 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10978 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10979
169d7f11
JM
109802012-02-29 Joseph Myers <joseph@codesourcery.com>
10981
10982 * math/libm-test.inc (llround_test): Move one test from
10983 lround_test. Use TEST_f_L in moved test.
10984 (lround_test): Move misplaced test to llround_test. Add testcase
10985 from bug 2561.
10986
39adf059
UD
109872012-02-28 Ulrich Drepper <drepper@gmail.com>
10988
10989 * sysdeps/x86_64/fpu/e_expf.S: New file.
10990 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10991
71b5d1c5
SB
109922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10993
10994 [BZ #13637]
10995 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10996 of remain_len that may cause incomplete multi-byte character and
10997 false match.
10998 * posix/bug-regex33.c: New file.
10999 * posix/Makefile (tests): Add bug-regex33.
11000
1f77f049
JM
110012012-02-28 Joseph Myers <joseph@codesourcery.com>
11002
11003 * manual/macros.texi: New file.
11004 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11005 * manual/libc.texinfo: Include macros.texi.
11006 * manual/creatute.texi: Likewise.
11007 * manual/install.texi: Likewise.
11008 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11009 @glibcadj{} in references to the GNU C Library.
11010 * manual/charset.texi: Likewise.
11011 * manual/conf.texi: Likewise.
11012 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11013 when not using those macros.
11014 * manual/creature.texi: Likewise.
11015 * manual/crypt.texi: Likewise.
11016 * manual/errno.texi: Likewise.
11017 * manual/filesys.texi: Likewise.
11018 * manual/header.texi: Likewise.
11019 * manual/install.texi: Likewise.
11020 * manual/intro.texi: Likewise.
11021 * manual/io.texi: Likewise.
11022 * manual/job.texi: Likewise.
11023 * manual/lang.texi: Likewise.
11024 * manual/libc.texiinfo: Likewise.
11025 * manual/llio.texi: Likewise.
11026 * manual/locale.texi: Likewise.
11027 * manual/maint.texi: Likewise.
11028 * manual/math.texi: Likewise.
11029 * manual/memory.texi: Likewise.
11030 * manual/message.texi: Likewise.
11031 * manual/nss.texi: Likewise.
11032 * manual/pattern.texi: Likewise.
11033 * manual/process.texi: Likewise.
11034 * manual/resource.texi: Likewise.
11035 * manual/search.texi: Likewise.
11036 * manual/setjmp.texi: Likewise.
11037 * manual/signal.texi: Likewise.
11038 * manual/socket.texi: Likewise.
11039 * manual/startup.texi: Likewise.
11040 * manual/stdio.texi: Likewise.
11041 * manual/string.texi: Likewise.
11042 * manual/sysinfo.texi: Likewise.
11043 * manual/syslog.texi: Likewise.
11044 * manual/terminal.texi: Likewise.
11045 * manual/time.texi: Likewise.
11046 * manual/users.texi: Likewise.
11047 * INSTALL: Regenerated.
11048 * NOTES: Regenerated.
d40c5d54 11049 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11050
450bf206
AS
110512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11052
11053 * include/dirent.h: Include <dirstream.h> before
11054 <dirent/dirent.h>.
11055
741a235b
DM
110562012-02-28 David S. Miller <davem@davemloft.net>
11057
11058 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11059 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11060 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11061 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11062
d6b5aa58
DM
110632012-02-27 David S. Miller <davem@davemloft.net>
11064
1aff59a3
DM
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11067 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11068 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11069
d6b5aa58
DM
11070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11071 frame pointer instead of stack pointer relative arg slot.
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11073 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11074 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11075
433f48bf
CD
110762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11077
11078 [BZ #3992]
11079 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11080
d674b76d
DM
110812012-02-27 David S. Miller <davem@davemloft.net>
11082
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11087 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11088 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11089 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11090 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11091
0e7727f7
JM
110922012-02-27 Joseph Myers <joseph@codesourcery.com>
11093
11094 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11095 later. Allow versions 5-9.
43be4ca2 11096 * configure: Regenerated.
0e7727f7
JM
11097 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11098 required minimum version and 4.6 as recommended version. Do not
11099 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11100 * INSTALL: Regenerated.
0e7727f7 11101
a78bc654
DM
111022012-02-27 David S. Miller <davem@davemloft.net>
11103
428d5830
DM
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11110 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11111 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11112
a78bc654
DM
11113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11114 manipulate bits before adding and subtracting TWO112[sx].
11115 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11116
4579f81c
RM
111172012-02-27 Roland McGrath <roland@hack.frob.com>
11118
36c8acb4
RM
11119 [BZ #13775]
11120 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11121 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11122 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11123 being in POSIX, because they are in 1003.1-2008.
11124
84ad622b
RM
11125 * rt/tst-aio.c: Include <fcntl.h>.
11126 * rt/tst-aio7.c: Likewise.
11127 * rt/tst-aio64.c: Likewise.
11128
4579f81c
RM
11129 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11130
abd923db
JM
111312012-02-27 Joseph Myers <joseph@codesourcery.com>
11132
11133 * manual/install.texi (--with-headers): Describe headers as
11134 interface headers, not private headers.
11135 (Specific advice for GNU/Linux systems): Describe use of headers
11136 from "make headers_install", not private headers from older
11137 kernels.
43be4ca2 11138 * INSTALL: Regenerated.
abd923db
JM
11139 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11140 Change to 2.6.19.
11141 * sysdeps/unix/sysv/linux/configure: Regenerated.
11142
6664049b
JM
11143 * manual/llio.texi (fclean): Remove documentation.
11144
bb8b6697
JM
11145 * manual/Makefile (libc-texi-generated): New variable. Include
11146 version.texi.
11147 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11148 $(libc-texi-generated), not duplicated list of files.
11149 (version.texi, stamp-version): New rules.
11150 (realclean): Remove $(libc-texi-generated), not individual files
11151 from that list. Do not remove dir-add.texinfo.
11152 * manual/libc.texinfo: Comment out uses of edition numbers and
11153 references to printed manual. Remove last-updated dates.
11154 (EDITION): Comment out.
11155 (ISBN): Likewise.
11156 (VERSION, UPDATED): Remove.
11157 (version.texi): Include.
11158
12e5c3b9
AS
111592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11160
11161 * sysdeps/posix/spawni.c: Include <signal.h>.
11162 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11163 * sysdeps/pthread/aio_fsync.c: Likewise.
11164
4efeffc1 111652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11166
ba63ba08
UD
11167 * conform/Makefile (tests): Run only when not cross-compiling and
11168 when fast-check is not defined.
11169
d94a4670
UD
11170 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11171 * conform/data/limits.h-data: Fixes for POSIX2008.
11172 * conform/run-conformtest.sh: Run all tests.
11173 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11174 headers.
11175 * include/bits/dlfcn.h: Likewise.
11176 * include/langinfo.h: Likewise.
11177 * include/monetary.h: Likewise.
11178 * include/sys/poll.h: Likewise.
11179
11180 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11181 for __USE_GNU.
11182 * posix/spawn.h: Define __need_sigset_t.
11183 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11184 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11185 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11186 to get sigevent_t only.
11187 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11188 only for __USE_GNU.
11189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11190 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11191 process_vm_writev only for __USE_GNU.
11192 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11193
11194 * conform/Makefile: For now ignore errors from run-conformtest.
11195 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11196 POSIX to avoid namespace pollution. Don't prepend headers.
11197 * conform/data/aio.h-data: Fixes for POSIX testing.
11198 * conform/data/fcntl.h-data: Likewise.
11199 * conform/data/glob.h-data: Likewise.
11200 * conform/data/grp.h-data: Likewise.
11201 * conform/data/pthread.h-data: Likewise.
11202 * conform/data/pwd.h-data: Likewise.
11203 * conform/data/signal.h-data: Likewise.
11204 * conform/data/spawn.h-data: Likewise.
11205 * conform/data/stdio.h-data: Likewise.
11206 * conform/data/stdlib.h-data: Likewise.
11207 * conform/data/stropts.h-data: Likewise.
11208 * conform/data/sys/mman.h-data: Likewise.
11209 * conform/data/sys/stat.h-data: Likewise.
11210 * conform/data/sys/types.h-data: Likewise.
11211 * conform/data/sys/wait.h-data: Likewise.
11212 * conform/data/time.h-data: Likewise.
11213 * conform/data/unistd.h-data: Likewise.
11214 * conform/data/utime.h-data: Likewise.
11215
11216 * io/sys/stat.h: fchmod was always in POSIX.
11217 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11218 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11219 * rt/aio.h: Define __need_timespec before including <time.h>.
11220 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11221 struct. Add forward declaration of pthread_attr_t and use it in
11222 sigevent.
11223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11225 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11226 always remove CLK_TCK definition.
11227
c20105c3
AS
112282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11231
7a270350
UD
112322012-02-25 Ulrich Drepper <drepper@gmail.com>
11233
31341567
UD
11234 * conform/run-conformtest.sh: New file.
11235 * conform/Makefile: Run run-conformtest for tests.
11236 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11237 support.
11238
11239 * conform/data/uchar.h-data: New file.
11240 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11241 * conform/data/arpa/inet.h-data: Likewise.
11242 * conform/data/assert.h-data: Likewise.
11243 * conform/data/complex.h-data: Likewise.
11244 * conform/data/cpio.h-data: Likewise.
11245 * conform/data/ctype.h-data: Likewise.
11246 * conform/data/dirent.h-data: Likewise.
11247 * conform/data/dlfcn.h-data: Likewise.
11248 * conform/data/errno.h-data: Likewise.
11249 * conform/data/fcntl.h-data: Likewise.
11250 * conform/data/float.h-data: Likewise.
11251 * conform/data/fmtmsg.h-data: Likewise.
11252 * conform/data/fnmatch.h-data: Likewise.
11253 * conform/data/ftw.h-data: Likewise.
11254 * conform/data/glob.h-data: Likewise.
11255 * conform/data/grp.h-data: Likewise.
11256 * conform/data/iconv.h-data: Likewise.
11257 * conform/data/inttypes.h-data: Likewise.
11258 * conform/data/langinfo.h-data: Likewise.
11259 * conform/data/libgen.h-data: Likewise.
11260 * conform/data/limits.h-data: Likewise.
11261 * conform/data/locale.h-data: Likewise.
11262 * conform/data/math.h-data: Likewise.
11263 * conform/data/monetary.h-data: Likewise.
11264 * conform/data/mqueue.h-data: Likewise.
11265 * conform/data/ndbm.h-data: Likewise.
11266 * conform/data/net/if.h-data: Likewise.
11267 * conform/data/netdb.h-data: Likewise.
11268 * conform/data/netinet/in.h-data: Likewise.
11269 * conform/data/nl_types.h-data: Likewise.
11270 * conform/data/poll.h-data: Likewise.
11271 * conform/data/pthread.h-data: Likewise.
11272 * conform/data/pwd.h-data: Likewise.
11273 * conform/data/regex.h-data: Likewise.
11274 * conform/data/sched.h-data: Likewise.
11275 * conform/data/search.h-data: Likewise.
11276 * conform/data/semaphore.h-data: Likewise.
11277 * conform/data/setjmp.h-data: Likewise.
11278 * conform/data/signal.h-data: Likewise.
11279 * conform/data/spawn.h-data: Likewise.
11280 * conform/data/stdarg.h-data: Likewise.
11281 * conform/data/stdio.h-data: Likewise.
11282 * conform/data/stdlib.h-data: Likewise.
11283 * conform/data/string.h-data: Likewise.
11284 * conform/data/strings.h-data: Likewise.
11285 * conform/data/stropts.h-data: Likewise.
11286 * conform/data/sys/ipc.h-data: Likewise.
11287 * conform/data/sys/mman.h-data: Likewise.
11288 * conform/data/sys/msg.h-data: Likewise.
11289 * conform/data/sys/resource.h-data: Likewise.
11290 * conform/data/sys/select.h-data: Likewise.
11291 * conform/data/sys/sem.h-data: Likewise.
11292 * conform/data/sys/shm.h-data: Likewise.
11293 * conform/data/sys/socket.h-data: Likewise.
11294 * conform/data/sys/stat.h-data: Likewise.
11295 * conform/data/sys/statvfs.h-data: Likewise.
11296 * conform/data/sys/time.h-data: Likewise.
11297 * conform/data/sys/timeb.h-data: Likewise.
11298 * conform/data/sys/times.h-data: Likewise.
11299 * conform/data/sys/types.h-data: Likewise.
11300 * conform/data/sys/uio.h-data: Likewise.
11301 * conform/data/sys/un.h-data: Likewise.
11302 * conform/data/sys/utsname.h-data: Likewise.
11303 * conform/data/sys/wait.h-data: Likewise.
11304 * conform/data/syslog.h-data: Likewise.
11305 * conform/data/tar.h-data: Likewise.
11306 * conform/data/termios.h-data: Likewise.
11307 * conform/data/utime.h-data: Likewise.
11308 * conform/data/utmpx.h-data: Likewise.
11309 * conform/data/varargs.h-data: Likewise.
11310 * conform/data/wchar.h-data: Likewise.
11311 * conform/data/wctype.h-data: Likewise.
11312 * conform/data/wordexp.h-data: Likewise.
11313
11314 * include/stropts.h: New file.
11315 * include/uchar.h: New file.
11316 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11317 * include/assert.h: Likewise.
11318 * include/ctype.h: Likewise.
11319 * include/dirent.h: Likewise.
11320 * include/dlfcn.h: Likewise.
11321 * include/fcntl.h: Likewise.
11322 * include/fnmatch.h: Likewise.
11323 * include/glob.h: Likewise.
11324 * include/grp.h: Likewise.
11325 * include/libio.h: Likewise.
11326 * include/locale.h: Likewise.
11327 * include/math.h: Likewise.
11328 * include/net/if.h: Likewise.
11329 * include/netdb.h: Likewise.
11330 * include/netinet/in.h: Likewise.
11331 * include/pthread.h: Likewise.
11332 * include/pwd.h: Likewise.
11333 * include/regex.h: Likewise.
11334 * include/sched.h: Likewise.
11335 * include/search.h: Likewise.
11336 * include/setjmp.h: Likewise.
11337 * include/signal.h: Likewise.
11338 * include/stdio.h: Likewise.
11339 * include/stdlib.h: Likewise.
11340 * include/string.h: Likewise.
11341 * include/sys/cdefs.h: Likewise.
11342 * include/sys/mman.h: Likewise.
11343 * include/sys/msg.h: Likewise.
11344 * include/sys/resource.h: Likewise.
11345 * include/sys/select.h: Likewise.
11346 * include/sys/socket.h: Likewise.
11347 * include/sys/stat.h: Likewise.
11348 * include/sys/statvfs.h: Likewise.
11349 * include/sys/time.h: Likewise.
11350 * include/sys/times.h: Likewise.
11351 * include/sys/uio.h: Likewise.
11352 * include/sys/utsname.h: Likewise.
11353 * include/sys/wait.h: Likewise.
11354 * include/termios.h: Likewise.
11355 * include/time.h: Likewise.
11356 * include/ulimit.h: Likewise.
11357 * include/unistd.h: Likewise.
11358 * include/utime.h: Likewise.
11359 * include/wchar.h: Likewise.
11360 * include/wctype.h: Likewise.
11361 * include/wordexp.h: Likewise.
11362
11363 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11364
7a270350
UD
11365 * time/time.h: TIME_UTC must be a macro.
11366 Make timespec_get available for ISO C11 only as well.
11367
7724defc
UD
113682012-02-24 Ulrich Drepper <drepper@gmail.com>
11369
11370 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11371 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11372
6b1d1d46
JM
113732012-02-24 Joseph Myers <joseph@codesourcery.com>
11374
11375 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11376
0f8bbd69
JM
113772012-02-24 Joseph Myers <joseph@codesourcery.com>
11378
11379 * manual/texinfo.tex: Update to version 2012-01-19.16.
11380
66ab80bc
JM
113812012-02-24 Joseph Myers <joseph@codesourcery.com>
11382
11383 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11384
74981cc5
RM
113852012-02-24 Roland McGrath <roland@hack.frob.com>
11386
ee968201
RM
11387 [BZ #13738]
11388 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11389 * manual/fdl-1.3.texi: New file.
11390 * manual/fdl-1.1.texi: File removed.
11391
74981cc5
RM
11392 [BZ #13738]
11393 * manual/libc.texinfo (FDL_VERSION): New @set.
11394 Use it for mention of FDL in cover text.
11395 (Documentation License): Use it in @include file name.
11396
7bb764bc
JM
113972012-02-22 Joseph Myers <joseph@codesourcery.com>
11398 Roland McGrath <roland@hack.frob.com>
11399
11400 [BZ #5461]
11401 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11402 not LONG_LONG_MAX and LONG_LONG_MIN.
11403 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11404 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11405 name.
11406 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11407
6cbeae47
JM
114082012-02-22 Joseph Myers <joseph@codesourcery.com>
11409
11410 [BZ #2547]
11411 [BZ #11365]
11412 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11413 manipulate bits before adding and subtracting TWO23[sx].
11414 * math/libm-test.inc (nearbyint_test): Add more tests.
11415
fe45ce09
JM
114162012-02-22 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #2548]
11419 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11420 bits before adding and subtracting TWO23[sx].
11421 * math/libm-test.inc (rint_test): Add more tests.
11422 (rint_test_tonearest): Likewise.
11423 (rint_test_towardzero): Likewise.
11424 (rint_test_downward): Likewise.
11425 (rint_test_upward: Likewise.
11426
ff3b3d82
JM
114272012-02-22 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #10110]
11430 * include/stdc-predef.h: New file. Extracted from features.h.
11431 * include/features.h: Include stdc-predef.h.
11432 * Makefile (headers): Add stdc-predef.h.
11433 * CONFORMANCE (Compiler limitations): Update.
11434
ef0aab35
JM
114352012-02-22 Joseph Myers <joseph@codesourcery.com>
11436
11437 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11438
58639409
DM
114392012-02-21 David S. Miller <davem@davemloft.net>
11440
11441 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11442 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11443
c0e70b25
DM
114442012-02-20 David S. Miller <davem@davemloft.net>
11445
11446 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11447 using a normal save/restore sequence, rather than allocating a
11448 dummy stack frame just to store a frame pointer and restore.
11449 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11450
fb06851d
JM
114512012-02-21 Joseph Myers <joseph@codesourcery.com>
11452
11453 * manual/install.texi: Fix stray word in line-wrapped comment.
11454
7a8b71c3
DM
114552012-02-20 David S. Miller <davem@davemloft.net>
11456
d510c123
DM
11457 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11458 both binutils and gcc support GOTDATA.
11459
0722d7c2
DM
11460 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11461 "rd %pc" in the PIC register setup sequences.
11462
3d2b3019
DM
11463 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11464 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11465 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11466 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11467 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11472 (SYSCALL_ERROR_HANDLER): Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11476 (SYSCALL_ERROR_HANDLER): Likewise.
11477
c80098a9
DM
11478 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11479 (HAVE_GCC_GOTDATA): New.
11480 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11481 relocation support in both binutils and gcc.
11482 * sysdeps/sparc/elf/configure: Regenerate.
11483
3a2545a0
DM
11484 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11485 * sysdeps/sparc/sparc32/elf/configure: Delete.
11486 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11487 * sysdeps/sparc/sparc64/elf/configure: Delete.
11488 * sysdeps/sparc/elf/configure.in: New file.
11489 * sysdeps/sparc/elf/configure: Generate.
11490
7a8b71c3
DM
11491 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11492 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11493 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11494 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11495 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11496
f1e86fca
JM
114972012-02-21 Joseph Myers <joseph@codesourcery.com>
11498
11499 * manual/install.texi: Do not mention specific glibc version
11500 numbers.
11501 * manual/libc.texinfo (VERSION, UPDATED): Update.
11502 (@copying): Use @copyright{} and range of years.
11503
0e7dfaef
JM
115042012-02-21 Joseph Myers <joseph@codesourcery.com>
11505
11506 [BZ #13695]
11507 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11508 [crti.S not in sysdirs] (generated): Do not append.
11509 [crti.S not in sysdirs] (omit-deps): Likewise.
11510 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11511 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11512 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11513 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11514 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11515 Likewise.
11516 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11517 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11518 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11519 * csu/defs.awk: Remove file.
11520 * sysdeps/generic/initfini.c: Likewise.
11521 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11522 variable.
11523 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11524 Likewise.
11525
599af3ca
JM
115262012-02-20 Joseph Myers <joseph@codesourcery.com>
11527
11528 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11529 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11533 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11534 <bits/epoll.h>.
11535 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11536 (__EPOLL_PACKED): Define to empty if not defined by
11537 <bits/epoll.h>.
11538 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11540 bits/epoll.h.
11541
0e499750
JM
115422012-02-20 Joseph Myers <joseph@codesourcery.com>
11543
11544 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11545 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11547 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11548 <bits/timerfd.h>.
11549 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11551 bits/timerfd.h.
11552
5ad91f6e
JM
115532012-02-20 Joseph Myers <joseph@codesourcery.com>
11554
11555 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11556 in C locale.
11557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11561
06b99b02
AJ
115622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11563
11564 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11566
7638c0fd
AS
115672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11568
11569 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11570 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11571 defined.
11572 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11575 entry for 2.16.
11576
92221550
AJ
115772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11578
11579 * math/w_acos.c: Use non-signaling floating-point comparisons.
11580 * math/w_acosf.c: Likewise.
11581 * math/w_acosh.c: Likewise.
11582 * math/w_acoshf.c: Likewise.
11583 * math/w_acoshl.c: Likewise.
11584 * math/w_acosl.c: Likewise.
11585 * math/w_asin.c: Likewise.
11586 * math/w_asinf.c: Likewise.
11587 * math/w_asinl.c: Likewise.
11588 * math/w_atanh.c: Likewise.
11589 * math/w_atanhf.c: Likewise.
11590 * math/w_atanhl.c: Likewise.
11591 * math/w_exp2.c: Likewise.
11592 * math/w_exp2f.c: Likewise.
11593 * math/w_exp2l.c: Likewise.
11594 * math/w_j0.c: Likewise.
11595 * math/w_j0f.c: Likewise.
11596 * math/w_j0l.c: Likewise.
11597 * math/w_j1.c: Likewise.
11598 * math/w_j1f.c: Likewise.
11599 * math/w_j1l.c: Likewise.
11600 * math/w_jn.c: Likewise.
11601 * math/w_jnf.c: Likewise.
11602 * math/w_log.c: Likewise.
11603 * math/w_log10.c: Likewise.
11604 * math/w_log10f.c: Likewise.
11605 * math/w_log10l.c: Likewise.
11606 * math/w_log2.c: Likewise.
11607 * math/w_log2f.c: Likewise.
11608 * math/w_log2l.c: Likewise.
11609 * math/w_logf.c: Likewise.
11610 * math/w_logl.c: Likewise.
11611 * math/w_sqrt.c: Likewise.
11612 * math/w_sqrtf.c: Likewise.
11613 * math/w_sqrtl.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11617 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11619
ebaf36eb
JM
116202012-02-19 Joseph Myers <joseph@codesourcery.com>
11621
11622 [BZ #9739]
11623 * manual/string.texi (strnlen): Use correct parameter name in
11624 equivalent expression.
11625
71c254a6
JM
116262012-02-19 Joseph Myers <joseph@codesourcery.com>
11627
11628 [BZ #11174]
11629 * manual/users.texi (seteuid): Consistently use neweuid for
11630 argument name.
11631
16d2c631
JM
116322012-02-19 Joseph Myers <joseph@codesourcery.com>
11633
11634 [BZ #13704]
11635 * manual/nss.texi (Services in the NSS configuration): Correct
11636 list of services in example configuration file.
11637
cd837b09
NB
116382012-02-19 Nick Bowler <nbowler@draconx.ca>
11639
11640 [BZ #11322]
11641 * manual/arith.texi: Remove statements about negative zero
11642 behaving identically to zero.
11643
02c4bbad
JM
116442012-02-18 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #5993]
11647 * manual/install.texi: Do not document upgrading from libc5.
11648
366842e7
JM
116492012-02-18 Joseph Myers <joseph@codesourcery.com>
11650
11651 [BZ #4596]
11652 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11653
dd54084d
DM
116542012-02-18 David S. Miller <davem@davemloft.net>
11655
11656 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11657 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11658 %o7 across the call.
11659 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11660 instead.
11661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11662 SETUP_PIC_REG_LEAF.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11664 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11665 * sysdeps/sparc/crtn.S: Likewise.
11666
2bcc53a3
UD
116672012-02-17 Ulrich Drepper <drepper@gmail.com>
11668
11669 * aout/Makefile: Remove.
11670
09c093b5
RK
116712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11672
11673 [BZ #13058]
11674 * manual/examples/argp-ex1.c (main): Format definition in GNU
11675 style.
11676 * manual/examples/argp-ex2.c (main): Likewise.
11677 * manual/examples/argp-ex3.c (main): Likewise.
11678 * manual/examples/argp-ex4.c (main): Likewise.
11679 * manual/examples/longopt.c (main): Use new-style prototype
11680 definition.
11681 * manual/examples/strncat.c (main): Specify return type and use
11682 (void) for arguments.
11683 * manual/examples/subopt.c (main): Use char **argv argument.
11684
2ee633a2
JM
116852012-02-17 Joseph Myers <joseph@codesourcery.com>
11686
11687 [BZ #5077]
11688 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11689 rounding modes.
11690
0520adde
FB
116912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11692
11693 [BZ #6907]
11694 * manual/string.texi (strchr): Change when strchrnul is
11695 recommended.
11696
3f4081cd
DGM
116972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11698
11699 [BZ #174]
11700 * manual/locale.texi (setlocale): Document LOCPATH.
11701
d1b10e78
JM
117022012-02-17 Joseph Myers <joseph@codesourcery.com>
11703
11704 [BZ #10210]
11705 * manual/process.texi (execle): Move @dots{} before last argument.
11706
79c6869c
PB
117072012-02-17 Paul Bolle <pebolle@tiscali.nl>
11708
11709 [BZ #12047]
11710 * manual/charset.texi (Generic Charset Conversion): Fix typo
11711 (LC_TYPE -> LC_CTYPE).
11712
cc6e48bc
NB
117132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11714
11715 [BZ #5805]
11716 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11717 (scalbnf): Likewise.
11718 (scalbnl): Likewise.
11719 (scalbln): Likewise.
11720 (scalblnf): Likewise.
11721 (scalblnl): Likewise.
11722 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11723 (vwarnx): Likewise.
11724 (verr): Likewise.
11725 (verrx): Likewise.
11726 * manual/filesys.texi (telldir): Use braces around return type.
11727 * manual/llio.texi (mmap): Add space after comma.
11728 (mmap64): Likewise.
11729 * manual/math.texi (jn): Use @var{} on parameter names.
11730 (jnf): Likewise.
11731 (jnl): Likewise.
11732 (yn): Likewise.
11733 (ynf): Likewise.
11734 (ynl): Likewise.
11735 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11736 line.
11737 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11738 "...".
11739 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11740 (sched_get_priority_max): Likewise.
11741 * manual/signal.texi (sigvec): Add space after comma.
11742 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11743 names.
11744 (if_indextoname): Likewise.
11745 (if_freenameindex): Likewise.
11746 (sendto): Use ',' instead of '.' in prototype.
11747 * manual/startup.texi (syscall): Use @dots{} instead of literal
11748 "...".
11749 * manual/stdio.texi (__fpending): Separate initial words of
11750 paragraph from @deftypefun line.
11751 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11752 "...".
11753 (vsyslog): Use @var{} on parameter names.
11754 * manual/terminal.texi (stty): Use @var{} on parameter names.
11755 * manual/users.texi (getutmp): Use @var{} on parameter names.
11756 (getutmpx): Likewise.
11757
5b23062f
JM
117582012-02-17 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #6884]
11761 * manual/stdio.texi (fopen): Fix typos in description of
11762 ",ccs=STRING".
11763
8dee4833
AJ
117642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11765
11766 [BZ #4026]
11767 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11768 get clock_id definition.
11769
9078ce93
TS
117702012-02-17 Thomas Schwinge <thomas@schwinge.name>
11771
11772 [BZ #4822]
11773 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11774 (madvise): Cast every argument to void on its own.
11775
3835c55f
JM
117762012-02-17 Joseph Myers <joseph@codesourcery.com>
11777
11778 [BZ #9902]
11779 * manual/startup.texi (Exit Status): Fix typo.
11780
35c47e37
JM
117812012-02-17 Joseph Myers <joseph@codesourcery.com>
11782
11783 [BZ #10140]
11784 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11785 * manual/examples/argp-ex2.c: Likewise.
11786 * manual/examples/argp-ex3.c: Likewise.
11787
e3b69ca7
RH
117882012-02-16 Richard Henderson <rth@redhat.com>
11789
11790 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11791 * sysdeps/s390/s390-32/initfini.c: Remove.
11792 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11793 * sysdeps/s390/s390-64/initfini.c: Remove.
11794
df83af67
KK
117952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11796
11797 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11798 compiler output for sysdeps/generic/initfini.c.
11799 * sysdeps/sh/elf/initfini.c: Remove file.
11800
f63f3380
DM
118012012-02-16 David S. Miller <davem@davemloft.net>
11802
fb59b3a4
DM
11803 [BZ #11494]
11804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11805
f63f3380
DM
11806 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11807 * sysdeps/sparc/crti.S: New file.
11808 * sysdeps/sparc/crtn.S: New file.
11809 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11810 * sysdeps/sparc/sparc64/Makefile: Likewise.
11811
df6a4a4a
MF
118122012-02-15 Mike Frysinger <vapier@gentoo.org>
11813
6dd8f3dc 11814 [BZ #3335]
df6a4a4a
MF
11815 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11816
1cac7236
RM
118172012-02-15 Roland McGrath <roland@hack.frob.com>
11818
d2c736f8
RM
11819 [BZ #4822]
11820 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11821
1cac7236
RM
11822 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11823 (write, read, close): Likewise.
11824 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11825
8e475601
JM
118262012-02-15 Joseph Myers <joseph@codesourcery.com>
11827
11828 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11829 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11831 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11832 <bits/signalfd.h>.
11833 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11835 bits/signalfd.h.
11836
ed656b40
MP
118372012-02-14 Marek Polacek <polacek@redhat.com>
11838
11839 * sysdeps/x86_64/crti.S: New file.
11840 * sysdeps/x86_64/crtn.S: New file.
11841 * sysdeps/x86_64/elf/initfini.c: Remove file.
11842
2a979d3a
JM
118432012-02-13 Joseph Myers <joseph@codesourcery.com>
11844
11845 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11846 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11847 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11848 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11849 <bits/inotify.h>.
11850 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11852 bits/inotify.h.
11853
2a418ac3
JM
118542012-02-13 Joseph Myers <joseph@codesourcery.com>
11855
11856 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11857 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11859 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11860 <bits/eventfd.h>.
11861 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11863 bits/eventfd.h.
11864
fb779be7
TS
118652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11866
e19e83c5
RM
11867 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11868 __feraiseexcept instead of feraiseexcept.
7c35ffed 11869
fb779be7
TS
11870 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11871 nanosleep invocations.
11872 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11873 strings, and add error checking for a nanosleep invocations.
11874
59ba27a6
PE
118752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11876
11877 Replace FSF snail mail address with URLs, as per GNU coding standards.
11878 Most of the snail mail addresses were wrong anyway, and omitting
11879 them makes the source code easier to maintain. Almost all of the
11880 changes are to license notices and to locale LC_IDENTIFICATION
11881 addresses, except for this one:
11882 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11883 not its snail mail address.
11884
57b957eb
RH
118852012-02-09 Richard Henderson <rth@twiddle.net>
11886
af850b1c
RH
11887 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11888 of kernel-features.h.
11889
57b957eb
RH
11890 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11891
6b73181a
MP
118922012-02-08 Marek Polacek <polacek@redhat.com>
11893
11894 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11895 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11896 * sysdeps/gnu/_G_config.h: Likewise.
11897 * sysdeps/generic/_G_config.h: Likewise.
11898
26ecc33a
AS
118992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11900
6c6dbc63
AS
11901 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11902 tests.
11903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11904
e216c012
AS
11905 * sysdeps/powerpc/powerpc32/crti.S: New file.
11906 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11907 * sysdeps/powerpc/powerpc64/crti.S: New file.
11908 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11909
26ecc33a
AS
11910 * Makeconfig (have-initfini): Don't set.
11911 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11912 * configure.in (nopic_initfini): Don't substitute.
11913 * config.h.in (HAVE_INITFINI): Don't #undef.
11914 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11915 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11916
3add8e13
JM
119172012-02-08 Joseph Myers <joseph@codesourcery.com>
11918
11919 Support crti.S and crtn.S provided directly by architectures.
11920 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11921 [crti.S in sysdirs] (omit-deps): Likewise.
11922 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11923 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11924 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11925 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11926 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11927 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11928 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11929 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11930 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11931 compiler output for sysdeps/generic/initfini.c.
11932 * sysdeps/i386/elf/Makefile: Remove file.
11933 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11934
a22f12b4
MP
119352012-02-07 Marek Polacek <polacek@redhat.com>
11936
11937 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11938 * sysdeps/gnu/_G_config.h: Likewise.
11939 * sysdeps/mach/hurd/_G_config.h: Likewise.
11940
148cf100
MP
119412012-02-07 Marek Polacek <polacek@redhat.com>
11942
11943 * math/Makefile (tests): Add tst-CMPLX2.
11944 * math/tst-CMPLX2.c: New file.
11945
cfdc0dd7
AS
119462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11947
84ba42c4
AS
11948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11949
cfdc0dd7
AS
11950 * math/libm-test.inc (jn_test): Add missing L suffix.
11951
622c86f4
MP
119522012-02-06 Marek Polacek <polacek@redhat.com>
11953
11954 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11955 * sysdeps/i386/fpu/e_powf.S: Likewise.
11956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11959 * sysdeps/i386/fpu/e_pow.S: Likewise.
11960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11964 * sysdeps/i386/fpu/e_log2.S: Likewise.
11965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11967 * sysdeps/i386/fpu/e_powl.S: Likewise.
11968 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11969 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11970 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11971 * sysdeps/i386/fpu/e_logl.S: Likewise.
11972 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11973 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11974 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11975 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11976 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11978 * sysdeps/i386/fpu/e_log.S: Likewise.
11979 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11981 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11982 * sysdeps/i386/fpu/e_logf.S: Likewise.
11983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11984 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11985 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11988 * sysdeps/i386/fpu/e_log10.S: Likewise.
11989 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11991 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11992 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11993 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11995 * sysdeps/i386/asm-syntax.h: Likewise.
11996 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11997 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11999 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12000 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12005 * sysdeps/powerpc/sysdep.h: Likewise.
12006 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12008
d4a54ac6
JM
120092012-02-06 Joseph Myers <joseph@codesourcery.com>
12010
12011 [BZ #411]
12012 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12013
314054ea
JM
120142012-02-06 Joseph Myers <joseph@codesourcery.com>
12015
12016 * sysdeps/i386/sysdep.h: Include <features.h>.
12017 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12018 version.
12019
d8e0ca50
JM
120202012-02-05 Joseph Myers <joseph@codesourcery.com>
12021
12022 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12023 Define.
12024 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12025 LOAD_PIC_REG_STR.
12026
b1da7dd9
JM
120272012-02-03 Joseph Myers <joseph@codesourcery.com>
12028
12029 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12030 (SETUP_PIC_REG): Use GET_PC_THUNK.
12031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12032 macro.
12033
9a1d9254
JM
120342012-02-03 Joseph Myers <joseph@codesourcery.com>
12035
12036 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12037 for non-PIC compilation.
12038 (SETUP_PIC_REG): Add .p2align directive.
12039 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12040 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12057 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12062 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12065 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12079 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12080
65dc3b75
JM
120812012-02-03 Joseph Myers <joseph@codesourcery.com>
12082
12083 * math/tst-CMPLX.c: Include <stdio.h>.
12084
d55bf177
JM
120852012-01-31 Joseph Myers <joseph@codesourcery.com>
12086
12087 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12088 float.
12089 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12090 * sysdeps/sparc/bits/mathdef.h: Likewise.
12091
69db4f8f
MP
120922012-01-31 Marek Polacek <polacek@redhat.com>
12093
12094 * libio/libio.h: Don't define _PARAMS.
12095 * locale/programs/config.h: Don't define PARAMS.
12096 * stdlib/strtol_l.c: Likewise.
12097 (__strtol_l): Remove PARAMS from the prototype.
12098
41b81892
UD
120992012-01-31 Ulrich Drepper <drepper@gmail.com>
12100
3b49edc0
UD
12101 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12102 names. Just use the correct names. Remove unnecessary wrapper
12103 functions.
12104 * malloc/arena.c: Likewise.
12105 * malloc/hooks.c: Likewise.
12106
41b81892
UD
12107 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12108 ARENA_TEST says not to. Simplify test for creation of a new arena.
12109 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12110
27a25b6e
UD
121112012-01-30 Ulrich Drepper <drepper@gmail.com>
12112
12113 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12114 into tail calls.
12115 (update_get_addr): New function.
12116 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12117 GET_ADDR_MODULE parameter.
12118
c8a89e7d
JM
121192012-01-30 Joseph Myers <joseph@codesourcery.com>
12120
12121 * crypt/cert.c: Remove __STDC__ conditionals.
12122 * crypt/crypt-entry.c: Likewise.
12123 * crypt/crypt_util.c: Likewise.
12124 * libio/filedoalloc.c: Likewise.
12125 * libio/fileops.c: Likewise.
12126 * libio/genops.c: Likewise.
12127 * libio/iofclose.c: Likewise.
12128 * libio/iofdopen.c: Likewise.
12129 * libio/iofopen.c: Likewise.
12130 * libio/iofopen64.c: Likewise.
12131 * libio/iogetdelim.c: Likewise.
12132 * libio/iopopen.c: Likewise.
12133 * libio/obprintf.c: Likewise.
12134 * libio/oldfileops.c: Likewise.
12135 * libio/oldiofclose.c: Likewise.
12136 * libio/oldiofdopen.c: Likewise.
12137 * libio/oldiofopen.c: Likewise.
12138 * libio/oldiopopen.c: Likewise.
12139 * libio/wfiledoalloc.c: Likewise.
12140 * libio/wgenops.c: Likewise.
12141 * locale/programs/xmalloc.c: Likewise.
12142 * misc/syslog.c: Likewise.
12143 * stdio-common/xbug.c: Likewise.
12144 * string/memchr.c: Likewise.
12145 * string/memcmp.c: Likewise.
12146 * string/memrchr.c: Likewise.
12147 * string/rawmemchr.c: Likewise.
12148 * sysdeps/posix/getcwd.c: Likewise.
12149 * time/strftime_l.c: Likewise.
12150
3b100462
JM
121512012-01-30 Joseph Myers <joseph@codesourcery.com>
12152
12153 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12154 * config.make.in (config-cflags-sse2avx): Define.
12155 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12156 Fix typo.
12157
607998af
CM
121582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12159
12160 * scripts/config.guess: Update from upstream config git repository.
12161 * scripts/config.sub: Likewise.
12162
3601428f
CM
121632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12164
3ac8b282
CM
12165 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12166 (EM_NUM): Update.
12167 (R_TILEPRO_*, R_TILEGX_*): New macros.
12168
e034841e
CM
12169 * scripts/firstversions.awk: Fix bug in version range handling.
12170
540d7568
CM
12171 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12172
3601428f
CM
12173 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12174
463de862
CM
12175 * include/sys/epoll.h: New file.
12176 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12177 libc_hidden_def.
12178
73139a76
UD
121792012-01-28 Ulrich Drepper <drepper@gmail.com>
12180
96bc5b45
UD
12181 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12182 Avoid unnecessary __WORDSIZE == 64 test.
12183 (fmaxf): Use VEX format if possible.
12184 (fmax): Likewise.
12185 (fminf): Likewise.
12186 (fmin): Likewise.
12187
56f6f6a2
UD
12188 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12189 * math/math_private.h: Remove libc_fegetround* and
12190 libc_fesetround*.
12191 * sysdeps/i386/configure.in: Check for -msse2avx.
12192 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12193 also if SSE2AVX is defined.
12194 Remove libc_fegetround* and libc_fesetround*.
12195 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12196 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12198 of HAS_YMM_USABLE.
12199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12204
73139a76
UD
12205 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12206
d73f93a4
AZ
122072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12208
12209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12210 size is not set.
12211 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12212
6ee65ed6
UD
122132012-01-27 Ulrich Drepper <drepper@gmail.com>
12214
12215 [BZ #13618]
12216 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12217 relocation.
12218 * Makeconfig (libm): Define.
12219 * elf/Makefile: Add rules to build and run tst-relsort1.
12220 * elf/tst-relsort1.c: New file.
12221 * elf/tst-relsort1mod1.c: New file.
12222 * elf/tst-relsort1mod2.c: New file.
12223
8db21882
JM
122242012-01-27 Joseph Myers <joseph@codesourcery.com>
12225
12226 * math/s_ldexp.c: Remove __STDC__ conditionals.
12227 * math/s_ldexpf.c: Likewise.
12228 * math/s_ldexpl.c: Likewise.
12229 * math/s_nextafter.c: Likewise.
12230 * math/s_nexttowardf.c: Likewise.
12231 * math/s_significand.c: Likewise.
12232 * math/s_significandf.c: Likewise.
12233 * math/s_significandl.c: Likewise.
12234 * math/w_jnl.c: Likewise.
12235 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12236 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12237 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12238 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12239 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12257 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12259 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12260 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12261 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12262 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12265 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12266 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12267 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12270 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12272 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12275 * sysdeps/ieee754/k_standard.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12337 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12350 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12355 * sysdeps/ieee754/s_matherr.c: Likewise.
12356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12360
965a54a4
JM
123612012-01-26 Joseph Myers <joseph@codesourcery.com>
12362
12363 * crypt/md5.h: Remove __STDC__ conditionals.
12364 * libio/libioP.h: Likewise.
12365 * locale/programs/config.h: Likewise.
12366 * sysdeps/generic/sysdep.h: Likewise.
12367 * sysdeps/i386/asm-syntax.h: Likewise.
12368 * sysdeps/s390/asm-syntax.h: Likewise.
12369 * sysdeps/unix/sysdep.h: Likewise.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12372
7071ad79
JM
123732012-01-26 Joseph Myers <joseph@codesourcery.com>
12374
12375 * libio/libio.h: Remove __STDC__ conditionals.
12376 * malloc/obstack.h: Likewise.
12377 * math/complex.h: Likewise.
12378 * math/math.h: Likewise.
12379 * sysdeps/generic/_G_config.h: Likewise.
12380 * sysdeps/gnu/_G_config.h: Likewise.
12381 * sysdeps/mach/hurd/_G_config.h: Likewise.
12382 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12383 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12384 * sysdeps/sparc/bits/mathdef.h: Likewise.
12385
afc5ed09
UD
123862012-01-26 Ulrich Drepper <drepper@gmail.com>
12387
12388 [BZ #13583]
12389 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12390 Clean up HAS_* macros.
afc5ed09 12391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12392 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12393 possible.
12394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12395 HAS_AVX.
12396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12401
bdb6de1d
JM
124022012-01-25 Joseph Myers <joseph@codesourcery.com>
12403
12404 * elf/tst-unique3.cc (gets): Remove declaration.
12405 * elf/tst-unique3lib.cc (gets): Likewise.
12406 * elf/tst-unique3lib2.cc (gets): Likewise.
12407 * elf/tst-unique4.cc (gets): Likewise.
12408
b15549e6
UD
124092012-01-24 Ulrich Drepper <drepper@gmail.com>
12410
12411 * include/stdio.h: Add C++ protection. Add gets declarations and
12412 definitions.
12413 * debug/tst-chk1.c: Don't declare gets here.
12414 * stdio-common/tst-gets.c: Likewise.
12415
a037381f
JM
124162012-01-24 Joseph Myers <joseph@codesourcery.com>
12417
12418 * posix/glob: Remove directory.
12419
f1d4aa75
JM
124202012-01-24 Joseph Myers <joseph@codesourcery.com>
12421
12422 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12423
81c0c964
PT
124242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12425
12426 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12427 of the non-standard EPFNOSUPPORT.
12428
0ea698ae
ST
124292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12430
12431 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12432 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12433 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12434
d220b117
UD
124352012-01-21 Ulrich Drepper <drepper@gmail.com>
12436
12437 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12438
3e1aa84e
UD
124392012-01-20 Ulrich Drepper <drepper@gmail.com>
12440
12441 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12442 transient errors.
12443 * nscd/grpcache.c (cache_addgr): Likewise.
12444 * nscd/hstcache.c (cache_addhst): Likewise.
12445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12446 * nscd/pwdcache.c (cache_addpw): Likewise.
12447 * nscd/servicescache.c (cache_addserv): Likewise.
12448
400aa020
UD
124492012-01-16 Ulrich Drepper <drepper@gmail.com>
12450
d77e7869
UD
12451 * malloc/malloc.c: Various cleanups.
12452 * malloc/hooks.c: Likewise.
12453
400aa020
UD
12454 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12455 * stdlib/bug-fmtmsg1.c: New file.
12456
12457 * stdlib/fmtmsg.c (init): Add missing unlock.
12458 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12459
e0a309cf
MP
124602012-01-12 Marek Polacek <polacek@redhat.com>
12461
12462 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12463 and _GNU_SOURCE.
12464
929d11c7
WS
124652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12466
12467 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12468 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12469 macro to ensure uniqueness of label name.
12470 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12471 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12472
41d0e869
UD
124732012-01-11 Ulrich Drepper <drepper@gmail.com>
12474
0cc5ed3b
UD
12475 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12476
41d0e869
UD
12477 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12481
a47a831a
UD
124822012-01-10 Ulrich Drepper <drepper@gmail.com>
12483
daa891c0
UD
12484 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12485
12486 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12489
e58ef0f2
UD
12490 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12491
a47a831a 12492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12496
12497 * math/bits/math-finite.h: Add ldexp support.
12498
a0bfc9c7
MP
124992012-01-10 Marek Polacek <polacek@redhat.com>
12500
12501 * locale/programs/localedef.h (show_archive_content): Add noreturn
12502 attribute.
12503
d6e97a1d
UD
125042012-01-09 Ulrich Drepper <drepper@gmail.com>
12505
12506 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12507
d5835c26
UD
125082012-01-08 Ulrich Drepper <drepper@gmail.com>
12509
e5f484c6
UD
12510 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12511
d5835c26
UD
12512 * io/Makefile (headers): Add bits/poll2.h.
12513
d1f741e9
WS
125142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12515
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12517 typo #include statement.
12518
ec09c1c4
UD
125192012-01-08 Ulrich Drepper <drepper@gmail.com>
12520
12521 * include/sys/cdefs.h: Define __attribute_alloc_size.
12522 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12523 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12524 * elf/pldd.c: Likewise.
12525 * iconv/iconv_charmap.c: Likewise.
12526 * iconv/iconvconfig.c: Likewise.
12527 * iconv/strtab.c: Likewise.
12528 * locale/programs/locale.c: Likewise.
12529 * locale/programs/localedef.h: Likewise.
12530 * locale/programs/simple-hash.c: Likewise.
12531 * nscd/nscd.h: Likewise.
12532 * nss/makedb.c: Likewise.
12533 * sysdeps/generic/ldconfig.h: Likewise.
12534 * locale/programs/localedef.c: Remove xmalloc prototype.
12535 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12536
20b38e03
PP
125372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12538
12539 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12540 appropriate.
12541
a0da5fe1
UD
125422012-01-08 Ulrich Drepper <drepper@gmail.com>
12543
1d5a644a 12544 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12545 * math/tst-CMPLX.c: New file.
1d5a644a 12546
8784a6db
UD
12547 * math/complex.h (CMPLXL): Fix typo.
12548
d9a216c0
UD
12549 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12550 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12551 GLIBC_2.16.
12552 * debug/tst-chk1.c: Add poll and ppoll tests.
12553 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12554 * include/sys/poll.h: Add hidden proto for ppoll.
12555 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12556 * sysdeps/mach/hurd/ppoll.c: Likewise.
12557 * io/ppoll.c: Likewise.
12558 * debug/poll_chk.c: New file.
12559 * debug/ppoll_chk.c: New file.
12560 * include/bits/poll2.h: New file.
12561 * io/bits/poll2.h: New file.
12562
ac097f5c
UD
12563 [BZ #1350]
12564 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12565
2119dcfa
UD
12566 * configure.in: static is always set to yes. Remove.
12567 * config.make.in: Don't set build-static.
12568 * Makeconfig: Remove use of build-static.
12569 * dlfcn/Makefile: Likewise.
12570 * elf/Makefile: Likewise.
12571 * math/Makefile: Likewise.
12572 * misc/Makefile: Likewise.
12573 * nptl/Makefile: Likewise.
12574 * sysdeps/mach/hurd/Makefile: Likewise.
12575
121766a9
UD
12576 * configure.in: PWD_P is not used anymore.
12577 * config.make.in: Remove PWD_P entry.
12578
51a1d39c 12579 * configure.in: Remove last remnants of RANLIB.
8720d066 12580 No need to check for signed size_t anymore.
215f4bdc
UD
12581 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12582 and IA-64.
3857022a 12583 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12584 * aclocal.m4: Likewise.
12585
d3ed7225
UD
12586 * wcsmbs/mbrtoc16.c: Implement using towc function.
12587 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12588 * wcsmbs/wcsmbsload.c: Likewise.
12589 * iconv/gconv_simple.c: Likewise.
12590 * iconv/gconv_int.h: Likewise.
12591 * iconv/gconv_builtin.h: Likewise.
12592 * iconv/iconv_prog.c: Remove CHAR16 handling.
12593
12594 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12595
12596 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12597
a0da5fe1
UD
12598 * configure.in: Remove --with-elf and --enable-bounded options.
12599 Dont set base_machine for ia64. More non-ELF conditions removed.
12600 Remove testing and setting of leading underscore information.
12601 * config.make.in (build-bounded): Set to no.
12602 * config.h.in: Remove NO_UNDERSCORES entry.
12603 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12604 them.
12605 * csu/start.c: Remove !NO_UNDERSCORE code.
12606 * locale/localeinfo.h: Likewise.
12607 * sysdeps/generic/machine-gmon.h: Likewise.
12608 * sysdeps/generic/sysdep.h: Likewise.
12609 * sysdeps/i386/sysdep.h: Likewise.
12610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12611 * sysdeps/mach/sysdep.h: Likewise.
12612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12614 * sysdeps/sh/sysdep.h: Likewise.
12615 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12616 * sysdeps/unix/i386/sysdep.S: Likewise.
12617 * sysdeps/unix/sparc/start.c: Likewise.
12618 * sysdeps/unix/sparc/sysdep.S: Likewise.
12619 * sysdeps/unix/sparc/sysdep.h: Likewise.
12620 * sysdeps/unix/start.c: Likewise.
12621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12622 * sysdeps/x86_64/sysdep.h: Likewise.
12623
df78418a
UD
126242012-01-07 Ulrich Drepper <drepper@gmail.com>
12625
a784e502
UD
12626 [BZ #13553]
12627 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12628 for non-gcc.
12629 * argp/argp-fmtstream.h: Use const instead __const.
12630 * argp/argp.h: Likewise.
12631 * assert/assert.h: Likewise.
12632 * bits/fenv.h: Likewise.
12633 * bits/sched.h: Likewise.
12634 * bits/sigset.h: Likewise.
12635 * bits/sigthread.h: Likewise.
12636 * catgets/nl_types.h: Likewise.
12637 * conform/data/pthread.h-data: Likewise.
12638 * crypt/crypt-private.h: Likewise.
12639 * crypt/crypt.h: Likewise.
12640 * crypt/crypt_util.c: Likewise.
12641 * ctype/ctype.h: Likewise.
12642 * debug/execinfo.h: Likewise.
12643 * debug/mbsnrtowcs_chk.c: Likewise.
12644 * debug/mbsrtowcs_chk.c: Likewise.
12645 * debug/wcsnrtombs_chk.c: Likewise.
12646 * debug/wcsrtombs_chk.c: Likewise.
12647 * debug/wcstombs_chk.c: Likewise.
12648 * dirent/dirent.h: Likewise.
12649 * dlfcn/dlfcn.h: Likewise.
12650 * elf/neededtest4.c: Likewise.
12651 * grp/grp.h: Likewise.
12652 * gshadow/gshadow.h: Likewise.
12653 * iconv/gconv.h: Likewise.
12654 * iconv/gconv_int.h: Likewise.
12655 * iconv/gconv_simple.c: Likewise.
12656 * iconv/iconv.h: Likewise.
12657 * iconv/loop.c: Likewise.
12658 * iconv/skeleton.c: Likewise.
12659 * include/aio.h: Likewise.
12660 * include/aliases.h: Likewise.
12661 * include/argz.h: Likewise.
12662 * include/arpa/inet.h: Likewise.
12663 * include/assert.h: Likewise.
12664 * include/dirent.h: Likewise.
12665 * include/dlfcn.h: Likewise.
12666 * include/execinfo.h: Likewise.
12667 * include/fcntl.h: Likewise.
12668 * include/fenv.h: Likewise.
12669 * include/glob.h: Likewise.
12670 * include/grp.h: Likewise.
12671 * include/libintl.h: Likewise.
12672 * include/mntent.h: Likewise.
12673 * include/netdb.h: Likewise.
12674 * include/pwd.h: Likewise.
12675 * include/rpc/netdb.h: Likewise.
12676 * include/sched.h: Likewise.
12677 * include/search.h: Likewise.
12678 * include/shadow.h: Likewise.
12679 * include/signal.h: Likewise.
12680 * include/stdio.h: Likewise.
12681 * include/stdlib.h: Likewise.
12682 * include/string.h: Likewise.
12683 * include/sys/socket.h: Likewise.
12684 * include/sys/stat.h: Likewise.
12685 * include/sys/statfs.h: Likewise.
12686 * include/sys/statvfs.h: Likewise.
12687 * include/sys/syslog.h: Likewise.
12688 * include/sys/time.h: Likewise.
12689 * include/sys/uio.h: Likewise.
12690 * include/time.h: Likewise.
12691 * include/unistd.h: Likewise.
12692 * include/utmp.h: Likewise.
12693 * include/wchar.h: Likewise.
12694 * include/wctype.h: Likewise.
12695 * inet/aliases.h: Likewise.
12696 * inet/arpa/inet.h: Likewise.
12697 * inet/netinet/ether.h: Likewise.
12698 * inet/netinet/in.h: Likewise.
12699 * intl/libintl.h: Likewise.
12700 * io/bits/fcntl2.h: Likewise.
12701 * io/fcntl.h: Likewise.
12702 * io/ftw.h: Likewise.
12703 * io/sys/poll.h: Likewise.
12704 * io/sys/stat.h: Likewise.
12705 * io/sys/statfs.h: Likewise.
12706 * io/sys/statvfs.h: Likewise.
12707 * io/utime.h: Likewise.
12708 * libio/bits/stdio.h: Likewise.
12709 * libio/bits/stdio2.h: Likewise.
12710 * libio/libio.h: Likewise.
12711 * libio/libioP.h: Likewise.
12712 * libio/stdio.h: Likewise.
12713 * locale/lc-ctype.c: Likewise.
12714 * locale/locale.h: Likewise.
12715 * login/utmp.h: Likewise.
12716 * malloc/arena.c: Likewise.
12717 * malloc/malloc.c: Likewise.
12718 * malloc/malloc.h: Likewise.
12719 * malloc/mcheck.c: Likewise.
12720 * malloc/mtrace.c: Likewise.
12721 * math/bits/mathcalls.h: Likewise.
12722 * math/fenv.h: Likewise.
12723 * math/math_private.h: Likewise.
12724 * misc/bits/error.h: Likewise.
12725 * misc/bits/syslog.h: Likewise.
12726 * misc/err.h: Likewise.
12727 * misc/error.h: Likewise.
12728 * misc/fstab.h: Likewise.
12729 * misc/mntent.h: Likewise.
12730 * misc/regexp.h: Likewise.
12731 * misc/search.h: Likewise.
12732 * misc/sgtty.h: Likewise.
12733 * misc/sys/mman.h: Likewise.
12734 * misc/sys/syslog.h: Likewise.
12735 * misc/sys/uio.h: Likewise.
12736 * misc/sys/xattr.h: Likewise.
12737 * misc/ttyent.h: Likewise.
12738 * nis/rpcsvc/ypclnt.h: Likewise.
12739 * nss/nss.h: Likewise.
12740 * posix/bits/unistd.h: Likewise.
12741 * posix/fnmatch.h: Likewise.
12742 * posix/glob.h: Likewise.
12743 * posix/sched.h: Likewise.
12744 * posix/spawn.h: Likewise.
12745 * posix/sys/wait.h: Likewise.
12746 * posix/unistd.h: Likewise.
12747 * posix/wordexp.h: Likewise.
12748 * pwd/pwd.h: Likewise.
12749 * resolv/netdb.h: Likewise.
12750 * resource/sys/resource.h: Likewise.
12751 * rt/aio.h: Likewise.
12752 * rt/bits/mqueue2.h: Likewise.
12753 * rt/mqueue.h: Likewise.
12754 * shadow/shadow.h: Likewise.
12755 * signal/signal.h: Likewise.
12756 * socket/send.c: Likewise.
12757 * socket/sendto.c: Likewise.
12758 * socket/sys/socket.h: Likewise.
12759 * stdio-common/printf.h: Likewise.
12760 * stdlib/bits/stdlib.h: Likewise.
12761 * stdlib/fmtmsg.h: Likewise.
12762 * stdlib/monetary.h: Likewise.
12763 * stdlib/stdlib.h: Likewise.
12764 * stdlib/ucontext.h: Likewise.
12765 * streams/stropts.h: Likewise.
12766 * string/argz.h: Likewise.
12767 * string/bits/string2.h: Likewise.
12768 * string/string.h: Likewise.
12769 * string/strings.h: Likewise.
12770 * sunrpc/rpc/auth.h: Likewise.
12771 * sunrpc/rpc/auth_des.h: Likewise.
12772 * sunrpc/rpc/clnt.h: Likewise.
12773 * sunrpc/rpc/netdb.h: Likewise.
12774 * sunrpc/rpc/pmap_clnt.h: Likewise.
12775 * sunrpc/rpc/xdr.h: Likewise.
12776 * sysdeps/generic/inttypes.h: Likewise.
12777 * sysdeps/generic/net/if.h: Likewise.
12778 * sysdeps/generic/sys/swap.h: Likewise.
12779 * sysdeps/gnu/net/if.h: Likewise.
12780 * sysdeps/gnu/utmpx.h: Likewise.
12781 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12782 * sysdeps/i386/i486/bits/string.h: Likewise.
12783 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12784 * sysdeps/s390/bits/string.h: Likewise.
12785 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12786 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12787 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12788 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12789 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12790 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12791 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12792 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12793 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12794 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12795 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12796 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12797 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12798 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12799 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12800 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12805 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12807 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12808 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12810 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12811 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12813 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12815 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12816 * sysvipc/sys/ipc.h: Likewise.
12817 * sysvipc/sys/msg.h: Likewise.
12818 * sysvipc/sys/sem.h: Likewise.
12819 * sysvipc/sys/shm.h: Likewise.
12820 * termios/termios.h: Likewise.
12821 * time/sys/time.h: Likewise.
12822 * time/time.h: Likewise.
12823 * wcsmbs/bits/wchar2.h: Likewise.
12824 * wcsmbs/uchar.h: Likewise.
12825 * wcsmbs/wchar.h: Likewise.
12826 * wctype/wctype.h: Likewise.
12827
0269750c
UD
12828 [BZ #13551]
12829 * Makeconfig: Remove all but ELF support including AIX support.
12830 * Makerules: Likewise.
12831 * config.h.in: Likewise.
12832 * config.make.in: Likewise.
12833 * configure: Likewise.
12834 * configure.in: Likewise.
12835 * csu/Makefile: Likewise.
12836 * csu/version.c: Likewise.
12837 * debug/Makefile: Likewise.
12838 * dlfcn/Makefile: Likewise.
12839 * elf/Makefile: Likewise.
12840 * extra-lib.mk: Likewise.
12841 * iconv/Makefile: Likewise.
12842 * include/libc-symbols.h: Likewise.
12843 * include/shlib-compat.h: Likewise.
12844 * resolv/Makefile: Likewise.
12845 * resolv/res_libc.c: Likewise.
12846 * rt/Makefile: Likewise.
12847 * sysdeps/i386/asm-syntax.h: Likewise.
12848 * sysdeps/i386/sysdep.h: Likewise.
12849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12850 * sysdeps/mach/sysdep.h: Likewise.
12851 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12852 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12853 * sysdeps/s390/asm-syntax.h: Likewise.
12854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12856 * sysdeps/sh/sysdep.h: Likewise.
12857 * sysdeps/unix/sparc/sysdep.h: Likewise.
12858 * sysdeps/wordsize-32/divdi3.c: Likewise.
12859 * sysdeps/x86_64/sysdep.h: Likewise.
12860
00bbd29b
UD
12861 * argp/Versions: Remove _argp_unlock_xxx.
12862
12863 [BZ #13559]
12864 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12865 * abilist/libBrokenLocale.abilist: Likewise.
12866 * abilist/libanl.abilist: Likewise.
12867 * abilist/libc.abilist: Likewise.
12868 * abilist/libcrypt.abilist: Likewise.
12869 * abilist/libdl.abilist: Likewise.
12870 * abilist/libm.abilist: Likewise.
12871 * abilist/libnsl.abilist: Likewise.
12872 * abilist/libpthread.abilist: Likewise.
12873 * abilist/libresolv.abilist: Likewise.
12874 * abilist/librt.abilist: Likewise.
12875 * abilist/libthread_db.abilist: Likewise.
12876 * abilist/libutil.abilist: Likewise.
12877 * abilist/libnss_db.abilist: New file.
12878
12879 * scripts/abilist.awk: Add support for indirect functions.
12880
a2693a0e
UD
12881 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12882
3f05895f
UD
12883 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12884
ecb6fb48
UD
12885 * shlib-versions: Remove entries for ports architectures.
12886
664f8cb9
UD
12887 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12888 files in ports.
12889 * elf/stackguard-macros.h: Remove support for IA-64.
12890 * elf/tst-auditmod1.c: Likewise.
12891 * sysdeps/generic/ldsodefs.h: Likewise.
12892
7ae81d88
UD
12893 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12894 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12895 configure files.
12896
bdeba135
UD
12897 [BZ #13552]
12898 * configure.in: Remove --enable-omitfp support.
12899 * FAQ.in: Adjust.
12900 * config.make.in: Likewise.
12901 * Makeconfig: Likewise.
12902 * manual/install.texi: Likewise.
12903
d75a0a62
UD
12904 In case anyone cares, the IA-64 architecture could move to ports.
12905 * sysdeps/ia64/*: Removed.
12906 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12907 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12908
dcc9756b
UD
12909 [BZ #13555]
12910 * configure.in: Remove entries for unsupported architectures.
12911
d3761ebc 12912 [BZ #13533]
9954432e
UD
12913 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12914 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12915 routines.
12916 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12917 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12918 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12919 fall back to using wcrtomb.
12920 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12921 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12922 renaming.
12923 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12924 * wcsmbs/tst-c16c32-1.c: New file.
12925
12926 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12927 local variable.
12928
c3a87236
UD
12929 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12930
28926a1b
UD
12931 * elf/tst-unique3.cc: Add explicit declaration of gets.
12932 * elf/tst-unique3lib.cc: Likewise.
12933 * elf/tst-unique3lib2.cc: Likewise.
12934 * elf/tst-unique4.cc: Likewise.
12935
df78418a
UD
12936 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12937
8ecd6b2a
JM
129382012-01-06 Joseph Myers <joseph@codesourcery.com>
12939
12940 [BZ #13566]
12941 * assert/assert.h (static_assert): Don't define for C++.
12942 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12943 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12944
9f115170
UD
129452012-01-03 Ulrich Drepper <drepper@gmail.com>
12946
5e0d0300
UD
12947 * iconv/loop.c (single loop): Fix assertion in storing of
12948 remaining bytes.
12949
9f115170
UD
12950 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12951
81fb02b0
UD
129522012-01-01 Ulrich Drepper <drepper@gmail.com>
12953
12954 * posix/getconf.c: Update copyright year.
12955 * nss/getent.c: Likewise.
a316c1f6 12956 * nss/makedb.c: Likewise.
81fb02b0
UD
12957 * iconv/iconvconfig.c: Likewise.
12958 * iconv/iconv_prog.c: Likewise.
12959 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12960 * elf/pldd.c: Likewise.
12961 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12962 * catgets/gencat.c: Likewise.
12963 * csu/version.c: Likewise.
12964 * elf/ldd.bash.in: Likewise.
12965 * elf/sprof.c (print_version): Likewise.
12966 * locale/programs/locale.c: Likewise.
12967 * locale/programs/localedef.c: Likewise.
a316c1f6 12968 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12969 * nscd/nscd.c (print_version): Likewise.
12970 * debug/xtrace.sh: Likewise.
12971 * malloc/memusage.sh: Likewise.
12972 * malloc/mtrace.pl: Likewise.
12973 * debug/catchsegv.sh: Likewise.
12974
2ba92745
JJ
129752011-12-30 Jakub Jelinek <jakub@redhat.com>
12976
12977 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12978 pure attribute.
12979
dadebdae
UD
129802011-12-24 Ulrich Drepper <drepper@gmail.com>
12981
d3761ebc 12982 [BZ #13533]
db6af3eb
UD
12983 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12984 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12985 transformations.
12986 * iconv/gconv_int.h: Likewise.
12987 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12988 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12989 from libc for GLIBC_2.16.
12990 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12991 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12992 * wcsmbs/uchar.h: Really define mbstate_t.
12993 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12994 * wcsmbs/c16rtomb.c: New file.
12995 * wcsmbs/mbrtoc16.c: New file.
12996 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12997 for C/POSIX locale.
12998 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12999 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13000
dadebdae
UD
13001 * wcsmbs/wchar.h: Add missing __restrict.
13002
67371b56
UD
130032011-12-23 Ulrich Drepper <drepper@gmail.com>
13004
74033a25
UD
13005 [BZ #13532]
13006 * time/Makefile (routines): Add timespec_get.
13007 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13008 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13009 timespec for ISO C11.
13010 * time/timespec_get.c: New file.
13011 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13012 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13013
380d7e87
UD
13014 [BZ #13531]
13015 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13016 * stdlib/stdlib.h: Declare aligned_alloc.
13017 * Versions.def: Add GLIBC_2.16 for libc.
13018 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13019
4e9e7a35
UD
13020 [BZ 13527]
13021 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13022 ISO C11.
13023
380d7e87 13024 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13025 code.
13026
03a71829
UD
13027 [BZ #13528]
13028 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13029
839e283e
UD
13030 [BZ #13529]
13031 * assert/assert.h (static_assert): Define.
13032
ce5294e2 13033 * version.h: Update for 2.16 development version.
90fa7312 13034
8d44e150 13035 [BZ #13526]
d7809905
UD
13036 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13037 _ISOC11_SOURCE.
13038
c0da14cd
UD
13039 * version.h (RELEASE): Bump for 2.15 release.
13040 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13041
530a3249
MP
13042 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13043 Patch by Marek Polacek <mpolacek@redhat.com>.
13044
67371b56
UD
13045 * bits/byteswap.h: Protect long long constants with __extension__.
13046 * sysdeps/i386/bits/byteswap.h: Likewise.
13047 * sysdeps/ia64/bits/byteswap.h: Likewise.
13048 * sysdeps/s390/bits/byteswap.h: Likewise.
13049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13050
15db4de1
LD
130512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13052
13053 [BZ #13540]
bbe315ea
LD
13054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13055 destination buffer.
15db4de1
LD
13056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13057
2b2596b1
MP
130582011-12-23 Marek Polacek <polacek@redhat.com>
13059
13060 * elf/dl-addr.c (determine_info): Add inline keyword.
13061 * elf/tst-auditmod4b.c (check_avx): Likewise.
13062 * elf/tst-auditmod6b.c (check_avx): Likewise.
13063 * elf/tst-auditmod6c.c (check_avx): Likewise.
13064 * elf/tst-auditmod7b.c (check_avx): Likewise.
13065
70c6c246
UD
130662011-12-23 Ulrich Drepper <drepper@gmail.com>
13067
13068 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13069 !__SSE_MATH__.
13070
c044cf14
LD
130712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13072
15db4de1 13073 [BZ #13540]
c044cf14
LD
13074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13075 processing for last bytes.
13076
6b13d9d9
BH
130772011-08-06 Bruno Haible <bruno@clisp.org>
13078
d455f537
BH
13079 [BZ #13061]
13080 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13081 U+0385, not to U+1FEE.
13082
6b13d9d9
BH
13083 [BZ #13062]
13084 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13085 entry for U+00A5 U+0301.
13086
db910efd
UD
130872011-12-22 Ulrich Drepper <drepper@gmail.com>
13088
27deeafc
UD
13089 [BZ #13166]
13090 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13091 buffer for the output is too small.
13092
aed9d171
UD
13093 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13094 optimization.
13095
db910efd
UD
13096 [BZ #13185]
13097 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13098 SSE flags if possible.
13099
2bd779ae
LD
131002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13101
e7f9dac3 13102 [BZ #13540]
2bd779ae
LD
13103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13104 processing for last bytes.
13105
154bfc16
JM
131062011-12-22 Joseph Myers <joseph@codesourcery.com>
13107
13108 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13109 (syscall-list-default-options, syscall-list-default-condition)
13110 (syscall-list-includes): Define.
13111 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13112 list of ABIs and options and #if conditions for each ABI. Do not
13113 handle common syscalls between ABIs specially.
13114 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13115 Remove.
13116 (syscall-list-variants, syscall-list-32bit-options)
13117 (syscall-list-32bit-condition, syscall-list-64bit-options)
13118 (syscall-list-64bit-condition): Define.
13119 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13120 (syscall-list-variants, syscall-list-32bit-options)
13121 (syscall-list-32bit-condition, syscall-list-64bit-options)
13122 (syscall-list-64bit-condition): Define.
13123 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13124 Remove.
13125 (syscall-list-variants, syscall-list-32bit-options)
13126 (syscall-list-32bit-condition, syscall-list-64bit-options)
13127 (syscall-list-64bit-condition): Define.
13128 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13129 Remove.
13130 (syscall-list-variants, syscall-list-32bit-options)
13131 (syscall-list-32bit-condition, syscall-list-64bit-options)
13132 (syscall-list-64bit-condition): Define.
13133
21eaf3a5
UD
131342011-12-22 Ulrich Drepper <drepper@gmail.com>
13135
16c6f992
UD
13136 * locale/iso-639.def: Add brx entry.
13137
41043168
UD
13138 [BZ #13328]
13139 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13140 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13141
21eaf3a5
UD
13142 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13143 __feraiseexcept_renamed.
13144
e3a851a2
UD
131452011-12-21 Ulrich Drepper <drepper@gmail.com>
13146
4920765e
UD
13147 [BZ #13538]
13148 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13149 EPOLLET with unsigned values.
13150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13152
e3a851a2
UD
13153 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13154 to large cancellation.
13155 * math/s_cacoshf.c: Likewise.
13156 * math/s_cacoshl.c: Likewise.
13157
b27e24b8
RK
131582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13159
13160 [BZ #13305]
aebefeee 13161 [BZ #12786]
b27e24b8
RK
13162 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13163 * math/s_cacoshf.c: Likewise.
13164 * math/s_cacoshl.c: Likewise.
13165
ee190f67
UD
131662011-12-21 Ulrich Drepper <drepper@gmail.com>
13167
13168 [BZ #13439]
13169 * iconv/gconv.h: Define __GCONV_SWAP.
13170 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13171 * iconvdata/utf-16.c: Likewise.
13172 * iconvdata/utf-32.c: Likewise.
13173
707f25df
AS
131742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13175
13176 [BZ #13524]
13177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13178 numerator after shifting it by one limb.
13179
d2daaa1e
RÁE
131802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13181
13182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13183 under [__USE_EXTERN_INLINES].
13184
a4647e72
UD
131852011-12-17 Ulrich Drepper <drepper@gmail.com>
13186
13187 [BZ #13446]
13188 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13189
f0b264f1
AZ
131902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13191
13192 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13193 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13194 optimized code.
13195 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13197 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13198 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13199 for strncasecmp/strncasecmp_l compilation.
13200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13201 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13202
8ef4f244
MP
132032011-12-08 Marek Polacek <mpolacek@redhat.com>
13204
13205 [BZ #13484]
13206 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13207 of __asm__.
13208
97ac2654
UD
132092011-12-17 Ulrich Drepper <drepper@gmail.com>
13210
13211 [BZ #13506]
13212 * time/tzfile.c (__tzfile_read): Check values from file header.
13213
91d2a845
WS
132142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13215
13216 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13217 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13218 * powerpc/powerpc32/dl-start.S: Likewise.
13219 * powerpc/powerpc32/elf/start.S: Likewise.
13220 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13221 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13222 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13223 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13224 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13225 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13226 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13227 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13228 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13229 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13230 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13231 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13232 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13233 * powerpc/powerpc32/memset.S: Likewise.
13234 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13235 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13236 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13237 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13238 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13239 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13240 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13241 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13242 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13243 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13244 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13245 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13246 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13247
a1267ba1
AZ
132482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13249
13250 * math/libm-test.inc: Added more nearbyint tests.
13251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13255
ad8ac1bd
RL
132562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13257
13258 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13259 FD_CLOEXEC.
13260
1d3e4b61
UD
132612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13262
13263 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13264 Add wcscpy-ssse3 wcscpy-c.
13265 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13266 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13267 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13268 * sysdeps/x86_64/wcschr.S: New file.
13269 * sysdeps/x86_64/wcsrchr.S: New file.
13270 * string/test-strcmp.c: Remove checking of wcscmp function for
13271 wrong alignments.
13272 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13273 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13274 wcsrchr-sse2 wcsrchr-c.
13275 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13276 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13277 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13278 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13279 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13280 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13281 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13282 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13283 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13284 * wcsmbc/wcschr.c (WCSCHR): New macro.
13285
5b330a2d
UD
132862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13287
13288 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13289 * wcsmbs/test-wcsrchr.c: New file.
13290 * string/test-strrchr.c: Add wcsrchr support.
13291 (WIDE): New macro.
13292 * wcsmbs/test-wcscpy.c: New file.
13293 * string/test-strcpy.c: Add wcscpy support.
13294 (WIDE): New macro.
26428b7c 13295
f039c043
UD
132962011-12-10 Ulrich Drepper <drepper@gmail.com>
13297
13298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13299 the inner loop.
13300
850fb039
AS
133012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13302
13303 [BZ #13472]
13304 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13305
4efbd5cb
UD
133062011-12-04 Ulrich Drepper <drepper@gmail.com>
13307
52ff5dd0 13308 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13309 Minor optimizations.
52ff5dd0 13310
4efbd5cb
UD
13311 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13312 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13313 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13314
8a426e12
UD
133152011-12-03 Ulrich Drepper <drepper@gmail.com>
13316
aff2453d
UD
13317 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13318 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13319 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13320 for gcc to avoid warnings.
13321 * inet/Makefile (tests): Add tst-checks.
13322 * inet/tst-checks.c: New file.
13323
13324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13325 warning.
13326
13327 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13328 __wmemcmp_sse2.
13329
13330 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13331 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13332
8a426e12
UD
13333 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13334
9bea3473
UD
133352011-12-02 Ulrich Drepper <drepper@gmail.com>
13336
3a965496
UD
13337 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13338 problem.
13339
9bea3473
UD
13340 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13341
f101631b
UD
133422011-11-29 Joseph Myers <joseph@codesourcery.com>
13343
13344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13345 conditional on GCC version.
13346 (__arch_compare_and_exchange_val_8_acq)
13347 (__arch_compare_and_exchange_val_16_acq)
13348 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13349 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13350 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13351
a98275aa
UD
133522011-12-02 Joseph Myers <joseph@codesourcery.com>
13353
13354 * sysdeps/sh/backtrace.c: New file.
13355
d4cc29a2
AS
133562011-12-02 Andreas Schwab <schwab@redhat.com>
13357
13358 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13359 parenthesis.
13360
6257af2d
AS
133612011-12-01 Andreas Schwab <schwab@redhat.com>
13362
13363 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13364 falling back to utime.
13365
b5f44c1a
AS
133662011-11-30 Andreas Schwab <schwab@redhat.com>
13367
13368 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13369 expectations for float.
13370
f3a6cc0a
AS
133712011-11-29 Andreas Schwab <schwab@redhat.com>
13372
13373 * locale/weight.h (findidx): Add parameter len.
13374 * locale/weightwc.h (findidx): Likewise.
13375 * posix/fnmatch_loop.c (FCT): Adjust caller.
13376 * posix/regcomp.c (build_equiv_class): Likewise.
13377 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13378 * posix/regexec.c (check_node_accept_bytes): Likewise.
13379 * string/strcoll_l.c (STRCOLL): Likewise.
13380 * string/strxfrm_l.c (STRXFRM): Likewise.
13381
9d65ea3a
UD
133822011-11-17 Ulrich Drepper <drepper@gmail.com>
13383
13384 * Makefile.in: Remove CVSOPT handling.
13385 * configure.in: Remove use of AC_REVISION.
13386 * iconvdata/Makefile (distribute): No need to filter out CVS.
13387 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13388 handling.
13389
5583a086
AS
133902011-11-16 Andreas Schwab <schwab@redhat.com>
13391
13392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13393 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13394 [USE_AS_STRNCASECMP_L]: Likewise.
13395 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13396 NO_TLS_DIRECT_SEG_REFS.
13397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13398 Fix argument offsets for non-PIC.
13399 [USE_AS_STRNCASECMP_L]: Likewise.
13400 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13401 NO_TLS_DIRECT_SEG_REFS.
13402
d62a8200
UD
134032011-11-15 Ulrich Drepper <drepper@gmail.com>
13404
9d65ea3a 13405 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13406 O_CLOEXEC.
13407 * locale/loadlocale.c (_nl_load_locale): Likewise.
13408
09f93bd3
AS
134092011-11-15 Andreas Schwab <schwab@redhat.com>
13410
446514f9
AS
13411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13412 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13413 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13414 (SYSCALL_GETTIME): Set errno on error.
13415
09f93bd3
AS
13416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13417 count references to noai6ai_cached.
13418
312be3f9
UD
134192011-11-15 Ulrich Drepper <drepper@gmail.com>
13420
13421 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13422
13423 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13424 FD_CLOEXEC for /proc/self/maps.
13425
13426 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13427 FD_CLOEXEC for /proc/meminfo.
13428
13429 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13430 gai.conf.
13431
13432 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13433 FD_CLOEXEC for given file.
13434
13435 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13436
13437 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13438 FD_CLOEXEC for /etc/hosts.
13439 (_gethtent): Likewise.
13440
13441 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13442
13443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13444 cancellation and set FD_CLOEXEC for /etc/netgroup.
13445
13446 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13447 reading /etc/publickey.
13448
13449 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13450 allow cancellation when reading /etc/group.
13451
13452 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13453 cancellation.
13454 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13455
13456 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13457 when using data file.
13458
13459 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13460
13461 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13462 (write_nis_obj): Use "c" and "e" in fopen.
13463
13464 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13465
13466 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13467
13468 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13469
13470 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13471
13472 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13473 locale.alias.
13474
13475 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13476
13477 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13478
13479 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13480
13481 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13482 file parsing and set FD_CLOEXEC.
13483
82af0fa8
UD
134842011-11-14 Ulrich Drepper <drepper@gmail.com>
13485
13486 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13487
a5fb313c
AS
134882011-11-14 Andreas Schwab <schwab@redhat.com>
13489
13490 * malloc/arena.c (arena_get2): Don't call reused_arena when
13491 _int_new_arena failed.
13492
6abf3465
UD
134932011-11-14 Ulrich Drepper <drepper@gmail.com>
13494
13495 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13496 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13501 to compile strcasecmp and strncasecmp.
13502 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13503 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13504
13505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13506
76e3966e
UD
135072011-11-13 Ulrich Drepper <drepper@gmail.com>
13508
13509 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13510 locale-defines.sym to gen-as-const-headers.
13511 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13512 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13514 to compile strcasecmp and strncasecmp.
13515 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13516 strcasecmp_l and strncasecmp_l.
13517 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13518 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13519 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13520 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13521 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13522 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13523 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13524 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13525 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13526 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13527 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13528
ab26144e
UD
135292011-11-12 Ulrich Drepper <drepper@gmail.com>
13530
7edb22ef
UD
13531 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13532 result of SYSDEP_GETTIME_CPU to retval.
13533 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13534 parameter list to macro. Remove trailing semicolon. Adjust users.
13535
9694fc44
UD
13536 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13537 variable.
13538
8ad89ef8
UD
13539 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13540 mantissa words.
13541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13542
0c822ef9
UD
13543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13544 from unused variable.
13545
874e0564
UD
13546 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13547 DWARF definitions.
13548 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13549 for assembling.
13550
3a2edc79
UD
13551 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13552 over namespaces.
13553
f3c2577f
UD
13554 * sunrpc/rpc_prot.c (rejected): Fix case value.
13555
294ce126
UD
13556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13557 unsigned long long int to avoid warnings in shift.
13558
5e2b63c6
UD
13559 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13560 of use of trans.
13561 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13562 variable tmp.
13563
e7f4b08e
UD
13564 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13565 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13566 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13567
ab26144e
UD
13568 * nis/nis_table.c (nis_list): Use variable of correct type for
13569 result of __follow_path call.
13570
8a6d5255
AZ
135712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13572
13573 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13574 of math functions ceil, trunc, floor, round, and sqrt, when
13575 avaliable on the platform.
13576 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13577 name clash.
13578 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13580 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13581
aaddc98c
MP
135822011-10-30 Marek Polacek <mpolacek@redhat.com>
13583
13584 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13586
95b7042b
RM
135872011-11-11 Roland McGrath <roland@hack.frob.com>
13588
13589 * include/unistd.h: Fix __readlink return type.
13590 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13591
57769839
UD
135922011-11-11 Ulrich Drepper <drepper@gmail.com>
13593
13594 * stdlib/ucontext.h: Undo last change for makecontext.
13595
edc5984d
AS
135962011-11-11 Andreas Schwab <schwab@redhat.com>
13597
98591e58
AS
13598 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13599
edc5984d
AS
13600 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13601 * setjmp/setjmp.h: Mark functions as non-leaf.
13602 * setjmp/bits/setjmp2.h: Likewise.
13603 * stdlib/ucontext.h: Likewise.
13604
77cdc054
AS
136052011-11-10 Andreas Schwab <schwab@redhat.com>
13606
13607 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13608 (reused_arena): Don't check arena limit.
13609 (arena_get2): Atomically check arena limit.
13610
fe72eebd
UD
136112011-11-08 Ulrich Drepper <drepper@gmail.com>
13612
5f078c32
UD
13613 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13614 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13615
fe72eebd
UD
13616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13617 instructions.
13618
ae1bc2fa
AS
136192011-11-07 Andreas Schwab <schwab@redhat.com>
13620
7583a88d
AS
13621 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13622 handler when locking.
13623
ae1bc2fa
AS
13624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13625 Fix size of allocated buffer.
13626
10fb0bfa
AS
136272011-11-04 Andreas Schwab <schwab@redhat.com>
13628
998832a4
AS
13629 [BZ #10103]
13630 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13631 declarations for long double functions.
13632 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13633
10fb0bfa
AS
13634 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13635
3d7ba52b
AS
136362011-11-03 Andreas Schwab <schwab@redhat.com>
13637
a9ae54a1
AS
13638 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13639 installed.
13640
3d7ba52b
AS
13641 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13642 is disabled.
13643
bc8db248
ST
136442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13645
13646 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13647
45b96dd6
AS
136482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13649
647776f6
AS
13650 * include/alloca.h (stackinfo_alloca_round): Define.
13651 (extend_alloca): Use it.
13652 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13653 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13654 here.
13655
d91a8b93
AS
13656 * scripts/check-local-headers.sh: Ignore libaudit.h.
13657
45b96dd6
AS
13658 * nscd/Makefile (extra-objs): Make recursively expanded.
13659
432d41ce
UD
136602011-11-01 Ulrich Drepper <drepper@gmail.com>
13661
34372fc6
UD
13662 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13664
fadb59f8
UD
13665 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13666 * posix/tst-rfc3484-2.c: Likewise.
13667 * posix/tst-rfc3484-3.c: Likewise.
13668
78239589
UD
13669 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13670 process_vm_writev.
13671 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13672 process_vm_writev.
13673 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13674 process_vm_writev from libc using GLIBC_2.15 version.
13675
432d41ce
UD
13676 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13677
02f9c6cf
PP
136782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13679
13680 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13681 stack usage.
13682
3a2c0242
UD
136832011-10-31 Ulrich Drepper <drepper@gmail.com>
13684
f4ec4833
UD
13685 [BZ #13367]
13686 * nss/getent.c (initgroups_keys): Show error message in case no group
13687 names are given.
13688
3a2c0242
UD
13689 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13690 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13691 __bump_nl_timestamp.
13692 * nscd/connections (nscd_init): When host database is served open
13693 netlink socket and request notification about configuration changes.
13694 (main_loop_poll): Track netlink file descriptor and bump timestamp
13695 in case data becomes available.
13696 (main_loop_epoll): Likewise.
13697 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13698 (database_pers_head): Add extra_data fileds.
13699 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13700 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13701 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13702 Adjust caller.
13703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13704 in6ai data, call __free_in6ai.
13705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13706 Add -DHAVE_NETLINK.
13707 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13708 interface information. Reuse previous data if netlink timestamp
13709 is not changed.
13710 (__bump_nl_timestamp): New function.
13711 (__free_in6ai): New function.
13712
636064eb
UD
137132011-10-30 Ulrich Drepper <drepper@gmail.com>
13714
13715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13716 close_not_cancel_no_status here.
13717 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13718
9beb2334
UD
137192011-10-29 Ulrich Drepper <drepper@gmail.com>
13720
6ef76f3b
UD
13721 [BZ #13276]
13722 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13723 return value.
13724
0ffc4f3e 13725 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13726 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13727 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13728
cb95113e
UD
137292011-07-03 Andreas Jaeger <aj@suse.de>
13730
13731 [BZ #10709]
13732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13733 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13734 * math/libm-test.inc (sin_test): Add test case.
13735
a1b560ff
UD
137362011-10-29 Ulrich Drepper <drepper@gmail.com>
13737
c9aaface
UD
13738 [BZ #13337]
13739 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13740 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13741
d272e7f1
UD
13742 * elf/chroot_canon.c (chroot_canon): Cleanups.
13743
1bc33071
UD
13744 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13745
1760874d
TJ
13746 [BZ #13335]
13747 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13748 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13749
51d91b18
UD
13750 * string/test-strchr.c: Make usable for strchrnul testing.
13751 * string/test-strchrnul.c: New file.
13752 * string/Makefile (strop-tests): Add strchrnul.
13753
a1b560ff 13754 * po/it.po: Update from translation team.
b611fb81 13755 * po/es.po: Likewise.
a1b560ff 13756
a5b81e1f
UD
137572011-10-28 Ulrich Drepper <drepper@gmail.com>
13758
fd52bc6d
UD
13759 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13760 the three constants needed as parameters. Drop the others.
13761 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13762 __m128i_strloadu_tolower.
52e4b9eb
UD
13763 Create and initialize variable zero and use it in all the places
13764 where _mm_setzero_si128 was used.
fd52bc6d 13765
a5b81e1f
UD
13766 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13767 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13768 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13770 anymore.
13771 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13772 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13773 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13774 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13775 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13776 __mpranred, __mptan.
13777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13784 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13786
b4343346
AS
137872011-10-28 Andreas Schwab <schwab@redhat.com>
13788
0c92d8a8
AS
13789 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13790 redefine if SHARED.
13791 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13792
b4343346
AS
13793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13794 wide char related routines to wcsmbs subdir.
13795
3871f58f
AS
137962011-10-27 Andreas Schwab <schwab@redhat.com>
13797
13798 [BZ #13344]
13799 * misc/sys/cdefs.h (__THROWNL): Define.
13800 * posix/unistd.h: Use __THREADNL instead of __THREAD
13801 for memory synchronization functions.
13802
94d44d9f
RM
138032011-10-26 Roland McGrath <roland@hack.frob.com>
13804
21b64b15 13805 [BZ #13349]
94d44d9f
RM
13806 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13807 doesn't exist.
13808 * manual/stdio.texi (Obstack Streams): Node removed.
13809
f6ce9294
AS
138102011-10-26 Andreas Schwab <schwab@redhat.com>
13811
80479147
AS
13812 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13815
f6ce9294
AS
13816 * math/math_private.h (math_force_eval): Allow non-addressable
13817 arguments.
13818 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13819
618280a1
UD
138202011-10-25 Ulrich Drepper <drepper@gmail.com>
13821
e0016b11
UD
13822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13823 file is not needed.
13824
13825 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13826 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13828 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13829 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13830 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13832 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13833 Add AVX variants.
13834 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13835 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13836 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13837 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13838 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13840 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13842 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13843 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13844 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13845 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13848 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13849 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13850 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13851 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13852 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13853
13854 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13855 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13856
618280a1
UD
13857 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13858 place. Use VEX encoding when compiling for AVX.
13859
37822576
AS
138602011-10-25 Andreas Schwab <schwab@redhat.com>
13861
1f1e1947
AS
13862 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13864
37822576
AS
13865 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13866
31ea014d
UD
138672011-10-25 Ulrich Drepper <drepper@gmail.com>
13868
d7826aa1 13869 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13870 useless if() expression.
d7826aa1
UD
13871 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13885 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13890
31ea014d
UD
13891 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13892
16437fec
AS
138932011-10-25 Andreas Schwab <schwab@redhat.com>
13894
13895 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13896 condition.
13897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13898
31d3cc00
UD
138992011-10-25 Ulrich Drepper <drepper@gmail.com>
13900
13901 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13902 .text section. Avoid duplicate constants.
13903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13915 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13918 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13927 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13928 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13929 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13943 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13948
58985aa9
UD
139492011-10-24 Ulrich Drepper <drepper@gmail.com>
13950
202c9deb
UD
13951 * sysdeps/x86_64/dla.h: Move to ...
13952 * sysdeps/x86_64/fpu/dla.h: ...here.
13953 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13954 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13955
af968f62
UD
13956 * config.make.in: Add have-mfma4 entry.
13957 * configure.in: Substitute libc_cv_cc_fma4.
13958 * math/Makefile (dbl-only-routines): Add sincostab.
13959 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13960 Use __sincostab not sincos.
13961 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13962 name is a macro.
13963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13967 using __copysign.
13968 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13969 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13970 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13971 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13972 and __inv.
13973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13974 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13975 __copysign.
13976 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13977 define aliases when function name is a macro.
13978 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13979 sysdeps/ieee754/dbl-64/sincos.tbl.
13980 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13981 fma4-enabled routines.
13982 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13983 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13984 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13985 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13987 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13989 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13992 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13993 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13994 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13995 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13996 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13997 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13998 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13999 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14001 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14003 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14009 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14011 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14012
58985aa9
UD
14013 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14014 rename.
14015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14023
a201fbcf
AS
140242011-10-24 Andreas Schwab <schwab@redhat.com>
14025
14026 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14027
fc2ee42a
LD
140282011-10-23 Ulrich Drepper <drepper@gmail.com>
14029
bb3129bd
UD
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14031
0275fff8
UD
14032 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14033 prediction.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14035
2fa2ae85
UD
14036 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14037 Remove unused variable magic_bits.
14038 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14039
fc2ee42a
LD
14040 * string/strnlen.c: Define and use STRNLEN macro.
14041 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14042 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14044 * wcsmbs/wcslen.c: Define and use WCSLEN.
14045 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14046 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14047 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14048 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14049 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14050 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14052
ce7dd29f
LD
140532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14054
14055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14056 strnlen-sse2-no-bsf.
14057 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14059 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14060 Add strnlen support.
14061 (USE_AS_STRNLEN): New macro.
14062 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14063 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14064 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14065 * sysdeps/x86_64/wcslen.S: New file.
14066
979c70a3
MZ
140672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14068
14069 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14070 XMM-moves are used for copying on small sizes.
14071
2d09f82f
LD
140722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14073
14074 * wcsmbs/Makefile (strop-tests): Add wcschr.
14075 * wcsmbs/test-wcschr.c: New file.
14076 * string/test-strchr.c: Update.
14077 Add wcschr support.
14078 (WIDE): New macro.
14079
619fccca
LD
140802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14081
2d09f82f 14082 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14083 * wcsmbs/test-wcslen.c: New file.
14084 * string/test-strlen.c: Update.
14085 Add wcslen support.
14086 (WIDE): New macro.
14087
09f699ea
UD
140882011-10-23 Ulrich Drepper <drepper@gmail.com>
14089
14090 * po/it.po: Update from translation team.
14091
95584d3b
LD
140922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14093
14094 * sysdeps/x86_64/wcscmp.S: Update.
14095 Fix wrong comparison semantics.
14096 wcscmp shall use signed comparison not unsigned.
14097 Don't use substraction to avoid overflow bug.
14098 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14099 * wcsmbc/wcscmp.c: Likewise.
14100 * string/test-strcmp.c: Likewise.
14101 Add new tests to check cases with negative values.
14102
c8b3296b
UD
141032011-10-23 Ulrich Drepper <drepper@gmail.com>
14104
14105 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14106 * sysdeps/x86_64/dla.h: ...here. New file.
14107 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14116
246ad57a
AS
141172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14118
14119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14120 __ynl_finite aliases.
14121
a1a87169
UD
141222011-10-22 Ulrich Drepper <drepper@gmail.com>
14123
0d355eb7
UD
14124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14125
a1a87169
UD
14126 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14127 define DLA_FMA.
14128 [DLA_FMA] (EMULV): Use DLA_FMA.
14129 [DLA_FMA] (MUL12): Use EMULV.
14130 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14131 that are not needed.
14132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14139
ee2aafe0
AS
141402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14141
14142 * math/s_nan.c: Undef __nan.
14143 * math/s_nanf.c: Undef __nanf.
14144 * math/s_nanl.c: Undef __nanl.
14145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14146 "math_private.h".
14147
bc62c2fb
UD
141482011-10-22 Ulrich Drepper <drepper@gmail.com>
14149
77425c63
UD
14150 * math/s_catan.c: Add branch predictions.
14151 * math/s_catanf.c: Likewise.
14152 * math/s_catanh.c: Likewise.
14153 * math/s_catanhf.c: Likewise.
14154 * math/s_catanhl.c: Likewise.
14155 * math/s_catanl.c: Likewise.
14156 * math/s_cexp.c: Likewise.
14157 * math/s_cexpf.c: Likewise.
14158 * math/s_cexpl.c: Likewise.
14159 * math/s_clog.c: Likewise.
14160 * math/s_clog10.c: Likewise.
14161 * math/s_clog10f.c: Likewise.
14162 * math/s_clog10l.c: Likewise.
14163 * math/s_clogf.c: Likewise.
14164 * math/s_clogl.c: Likewise.
14165 * math/s_csqrt.c: Likewise.
14166 * math/s_csqrtf.c: Likewise.
14167 * math/s_csqrtl.c: Likewise.
14168 * math/s_ctanf.c: Likewise.
14169 * math/s_ctanh.c: Likewise.
14170 * math/s_ctanhf.c: Likewise.
14171 * math/s_ctanhl.c: Likewise.
14172 * math/s_ctanl.c: Likewise.
14173
bc62c2fb
UD
14174 * math/math_private.h: Define __nan, __nanf, __nanl.
14175 * math/s_cacosh.c: Include <math_private.h>.
14176 * math/s_cacoshl.c: Likewise.
14177 * math/s_casinh.c: Likewise.
14178 * math/s_casinhf.c: Likewise.
14179 * math/s_casinhl.c: Likewise.
14180 * math/s_ccos.c: Rely entire on ccosh.
14181 * math/s_ccosf.c: Rely entire on ccoshf.
14182 * math/s_ccosl.c: Rely entirely on ccoshl.
14183 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14184 Remove tests for FE_INVALID.
14185 * math/s_ccoshf.c: Likewise.
14186 * math/s_ccoshl.c: Likewise.
14187 * math/s_csin.c: Likewise.
14188 * math/s_csinf.c: Likewise.
14189 * math/s_csinh.c Likewise.
14190 * math/s_csinhf.c: Likewise.
14191 * math/s_csinhl.c: Likewise.
14192 * math/s_csinl.c: Likewise.
14193 * math/s_ctan.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14195 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14197
8ec250a4
UD
141982011-10-21 Ulrich Drepper <drepper@gmail.com>
14199
c196fed8
UD
14200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14201 compilation problems.
14202
8ec250a4
UD
14203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14204 __builtin_expect.
14205
8d4f46c6
UD
142062011-10-20 Ulrich Drepper <drepper@gmail.com>
14207
ed72b654
UD
14208 * sysdeps/i386/configure.in: Test for -mfma4 option.
14209 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14210 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14211 COMMON_CPUID_INDEX_80000001.
14212 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14213 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14214 use it if FMA3 is not supported.
14215 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14216
8d4f46c6
UD
14217 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14218 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14219
d45c60c2
AS
142202011-10-20 Andreas Schwab <schwab@redhat.com>
14221
14222 [BZ #12892]
14223 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14224 it would create a cycle with a link time dependency.
14225
d9a4d2ab
UD
142262011-10-19 Ulrich Drepper <drepper@gmail.com>
14227
855d1560
UD
14228 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14229 instruction.
14230 * string/Makefile (strop-tests): Add rawmemchr.
14231 * string/test-rawmemchr.c: New file.
14232
d9a4d2ab
UD
14233 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14235 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14236 when compiling str{,n}casecmp and when AVX is available. Hook up
14237 new optimized code in initializers.
14238
8f3b1ffe
AS
142392011-10-19 Andreas Schwab <schwab@redhat.com>
14240
14241 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14242 __feraiseexcept instead of feraiseexcept.
14243
d38f1dba
UD
142442011-10-18 Ulrich Drepper <drepper@gmail.com>
14245
d9a8d0ab
UD
14246 * math/math_private.h: Define defaults for libc_fetestexcept and
14247 libc_feupdateenv.
14248 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14249 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14251 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14253 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14254 libc_fetestexcept and libc_feupdateenv.
14255
4855e3dd
UD
14256 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14257 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14258 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14259 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14260 libc_feholdexcept_setround.
14261
581d30e3
UD
14262 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14263 Add s_nearbyint-c and s_nearbyintf-c.
14264 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14265 nearbyintf inlines.
14266 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14268 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14270
d38f1dba
UD
14271 * math/math_private.h: Define defaults for libc_fegetround,
14272 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14273 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14274 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14275 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14276 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14277 standard functions.
14278 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14279 Remove comments and hacks for old compiler versions.
14280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14281 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14282 libc_feholdexceptl.
14283
caa6c9d8
AS
142842011-10-18 Andreas Schwab <schwab@redhat.com>
14285
14286 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14287 (__feraiseexcept_renamed): Add __NTH.
14288 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14289 namespace violations.
14290
97c066e6
UD
142912011-10-17 Ulrich Drepper <drepper@gmail.com>
14292
99ce7b04
UD
14293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14294
1004d182
UD
14295 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14296
228a984d
UD
14297 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14298 recently added interfaces.
14299 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14300
c8553a6a
UD
14301 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14302 about macro parameter expansion.
14303
ed22dcf6
UD
14304 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14305 __NO_MATH_INLINES is defined. Cleanups.
14306
14307 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14308 and __floorf is target has SSE4.1.
14309 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14310 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14312 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14313
b171c137
UD
14314 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14315 name.
14316 (floorf): Likewise.
14317
97c066e6
UD
14318 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14319
629f62ef
AS
143202011-10-17 Andreas Schwab <schwab@redhat.com>
14321
49a43d80
AS
14322 * misc/sys/cdefs.h: Fix last change.
14323
629f62ef
AS
14324 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14325 database lookup.
14326
e453f6cd
UD
143272011-10-16 Ulrich Drepper <drepper@gmail.com>
14328
aa78043a
UD
14329 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14330
ad0f5cad
UD
14331 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14337 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14339 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14340 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14341 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14342 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14343 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14344 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14345 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14346 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14348 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14350 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14351 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14352 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14353
14354 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14355 ceil, ceilf, floor, floorf.
14356
14357 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14358 Perform IRELATIVE relocations last.
14359
e453f6cd
UD
14360 * elf/do-rel.h: Add another parameter nrelative, replacing the
14361 local variable with the same name. Change name of the function
14362 to end in Rel or Rela (uppercase).
14363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14364 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14365 elf_dynamic_do_##reloc function.
14366
fd5bdc09
UD
143672011-10-15 Ulrich Drepper <drepper@gmail.com>
14368
79b195b5
UD
14369 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14370 is sufficient, at least on modern CPUs.
14371
d4a28569
UD
14372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14373
b61099b5
UD
14374 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14375 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14376
bcf01e6d
UD
14377 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14378 __expl_finite.
14379 * math/bits/math-finite.h: Add entries for exp.
14380 * math/e_expl.c: Add __*_finite alias.
14381 * sysdeps/i386/fpu/e_exp.S: Likewise.
14382 * sysdeps/i386/fpu/e_expf.S: Likewise.
14383 * sysdeps/i386/fpu/e_expl.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14385 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14391
ba1a0d59
UD
14392 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14393 is sufficient, at least on modern CPUs.
14394
fd5bdc09
UD
14395 * ctype/ctype-info.c (__ctype_init): Define.
14396 * include/ctype.h (__ctype_init): Declare.
14397 (__ctype_b_loc): The variable is always initialized.
14398 (__ctype_toupper_loc): Likewise.
14399 (__ctype_tolower_loc): Likewise.
14400 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14401 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14402
7872cfb0
AS
144032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14404
b468825a
AS
14405 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14406
7872cfb0
AS
14407 * configure.in: Also look in $cxxmachine/include for C++ system
14408 headers.
14409
be13f7bf
LD
144102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14411
14412 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14413 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14414 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14415 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14417 (USE_AS_WMEMCMP): New macro.
14418 Fixing indents.
14419 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14420 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14421 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14422 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14424 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14425 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14426 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14427 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14428 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14429 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14430 (USE_AS_WMEMCMP): New macro.
14431 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14432 * sysdeps/string/test-memcmp.c: Update.
14433 Fix simple_wmemcmp.
14434 Add new tests.
14435 * wcsmbs/wmemcmp.c: Update.
14436 (WMEMCMP): New macro.
14437 Fix overflow bug.
14438
556a2007
AJ
144392011-10-12 Andreas Jaeger <aj@suse.de>
14440
14441 [BZ #13268]
14442 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14443
538faaa7
UD
144442011-10-15 Ulrich Drepper <drepper@gmail.com>
14445
ab6737ff
UD
14446 * libio/iofwide.c (do_length): Avoid warning.
14447
538faaa7
UD
14448 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14449
396a21b1
UD
144502011-10-14 Ulrich Drepper <drepper@gmail.com>
14451
cdf2901f
UD
14452 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14453
38ad40ce
UD
14454 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14455 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14456 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14457 * sysdeps/i386/i686/fpu/e_log.S: New file.
14458 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14459 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14460
396a21b1
UD
14461 * ctype/ctype.h: Add support for inlined isXXX functions when
14462 compiling C++ code.
14463
6b1f68c9
AS
144642011-10-14 Andreas Schwab <schwab@redhat.com>
14465
349290c0
AS
14466 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14467
6b1f68c9
AS
14468 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14469
f2282d42
RM
144702011-10-13 Roland McGrath <roland@hack.frob.com>
14471
14472 [BZ #13291]
14473 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14474
5298ffa8
AS
144752011-10-13 Andreas Schwab <schwab@redhat.com>
14476
714fad23
AS
14477 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14478 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14479 feraiseexcept.
14480
81dcc7fb
AS
14481 * sysdeps/x86_64/memrchr.S: Check for zero size.
14482
5298ffa8
AS
14483 * string/stratcliff.c: Add memrchr tests.
14484
951fbcec
LD
144852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14486
14487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14488 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14489 rawmemchr-sse2 rawmemchr-sse2-bsf.
14490 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14491 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14492 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14493 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14494 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14495 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14496 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14497 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14498 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14500 * string/memrchr.c (MEMRCHR): New macro.
14501
0ac5ae23
UD
145022011-10-12 Ulrich Drepper <drepper@gmail.com>
14503
14504 Add integration with gcc's -ffinite-math-only and optimize wrapper
14505 functions in libm.
14506 * Versions.def: Define GLIBC_2.15 version for libm.
14507 * math/Makefile (headers): Add bits/math-finite.h.
14508 * math/bits/math-finite.h: New file.
14509 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14510 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14511 * math/e_acoshl.c: Add __*_finite alias.
14512 * math/e_acosl.c: Likewise.
14513 * math/e_asinl.c: Likewise.
14514 * math/e_atan2l.c: Likewise.
14515 * math/e_atanhl.c: Likewise.
14516 * math/e_coshl.c: Likewise.
14517 * math/e_exp10.c: Likewise.
14518 * math/e_exp10f.c: Likewise.
14519 * math/e_exp10l.c: Likewise.
14520 * math/e_exp2l.c: Likewise.
14521 * math/e_fmodl.c: Likewise.
14522 * math/e_gammal_r.c: Likewise.
14523 * math/e_hypotl.c: Likewise.
14524 * math/e_j0l.c: Likewise.
14525 * math/e_j1l.c: Likewise.
14526 * math/e_jnl.c: Likewise.
14527 * math/e_lgammal_r.c: Likewise.
14528 * math/e_log10l.c: Likewise.
14529 * math/e_log2l.c: Likewise.
14530 * math/e_logl.c: Likewise.
14531 * math/e_powl.c: Likewise.
14532 * math/e_sinhl.c: Likewise.
14533 * math/e_sqrtl.c: Likewise.
14534 * math/e_scalb.c: Completely rewritten and optimized.
14535 * math/e_scalbf.c: Likewise.
14536 * math/e_scalbl.c: Likewise.
14537 * math/w_acos.c: Likewise.
14538 * math/w_acosf.c: Likewise.
14539 * math/w_acosl.c: Likewise.
14540 * math/w_acosh.c: Likewise.
14541 * math/w_acoshf.c: Likewise.
14542 * math/w_acoshl.c: Likewise.
14543 * math/w_asin.c: Likewise.
14544 * math/w_asinf.c: Likewise.
14545 * math/w_asinl.c: Likewise.
14546 * math/w_atan2.c: Likewise.
14547 * math/w_atan2f.c: Likewise.
14548 * math/w_atan2l.c: Likewise.
14549 * math/w_atanh.c: Likewise.
14550 * math/w_atanhf.c: Likewise.
14551 * math/w_atanhl.c: Likewise.
14552 * math/w_exp10.c: Likewise.
14553 * math/w_exp10f.c: Likewise.
14554 * math/w_exp10l.c: Likewise.
14555 * math/w_fmod.c: Likewise.
14556 * math/w_fmodf.c: Likewise.
14557 * math/w_fmodl.c: Likewise.
14558 * math/w_j0.c: Likewise.
14559 * math/w_j0f.c: Likewise.
14560 * math/w_j0l.c: Likewise.
14561 * math/w_j1.c: Likewise.
14562 * math/w_j1f.c: Likewise.
14563 * math/w_j1l.c: Likewise.
14564 * math/w_jn.c: Likewise.
14565 * math/w_jnf.c: Likewise.
14566 * math/w_log.c: Likewise.
14567 * math/w_logf.c: Likewise.
14568 * math/w_logl.c: Likewise.
14569 * math/w_log10.c: Likewise.
14570 * math/w_log10f.c: Likewise.
14571 * math/w_log10l.c: Likewise.
14572 * math/w_log2.c: Likewise.
14573 * math/w_log2f.c: Likewise.
14574 * math/w_log2l.c: Likewise.
14575 * math/w_pow.c: Likewise.
14576 * math/w_powf.c: Likewise.
14577 * math/w_powl.c: Likewise.
14578 * math/w_remainder.c: Likewise.
14579 * math/w_remainderf.c: Likewise.
14580 * math/w_remainderl.c: Likewise.
14581 * math/w_scalb.c: Likewise.
14582 * math/w_scalbf.c: Likewise.
14583 * math/w_scalbl.c: Likewise.
14584 * math/w_sqrt.c: Likewise.
14585 * math/w_sqrtf.c: Likewise.
14586 * math/w_sqrtl.c: Likewise.
14587 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14588 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14589 used.
14590 * math/math_private.h: Declare __kernel_standard_f.
14591 * math/w_cosh.c: Remove cruft and optimize a bit.
14592 * math/w_coshf.c: Likewise.
14593 * math/w_coshl.c: Likewise.
14594 * math/w_exp2.c: Likewise.
14595 * math/w_exp2f.c: Likewise.
14596 * math/w_exp2l.c: Likewise.
14597 * math/w_hypot.c: Likewise.
14598 * math/w_hypotf.c: Likewise.
14599 * math/w_hypotl.c: Likewise.
14600 * math/w_lgamma.c: Likewise.
14601 * math/w_lgamma_r.c: Likewise.
14602 * math/w_lgammaf.c: Likewise.
14603 * math/w_lgammaf_r.c: Likewise.
14604 * math/w_lgammal.c: Likewise.
14605 * math/w_lgammal_r.c: Likewise.
14606 * math/w_sinh.c: Likewise.
14607 * math/w_sinhf.c: Likewise.
14608 * math/w_sinhl.c: Likewise.
14609 * math/w_tgamma.c: Likewise.
14610 * math/w_tgammaf.c: Likewise.
14611 * math/w_tgammal.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14614 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14615 Minor optimizations. Pretty printing. Remove cruft.
14616 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14617 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14620 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14621 * sysdeps/i386/fpu/e_asin.S: Likewise.
14622 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14623 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14624 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14625 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14626 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14627 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14628 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14629 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14630 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14631 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14632 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14633 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14634 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14635 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14636 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14637 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14638 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14639 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14640 * sysdeps/i386/fpu/e_log.S: Likewise.
14641 * sysdeps/i386/fpu/e_log10.S: Likewise.
14642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14644 * sysdeps/i386/fpu/e_log2.S: Likewise.
14645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14647 * sysdeps/i386/fpu/e_logf.S: Likewise.
14648 * sysdeps/i386/fpu/e_logl.S: Likewise.
14649 * sysdeps/i386/fpu/e_pow.S: Likewise.
14650 * sysdeps/i386/fpu/e_powf.S: Likewise.
14651 * sysdeps/i386/fpu/e_powl.S: Likewise.
14652 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14653 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14654 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14657 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14658 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14659 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14660 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14671 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14682 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14683 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14684 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14685 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14687 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14688 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14689 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14699 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14700 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14701 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14702 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14740 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14744 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14749 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14752 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14754 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14755 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14756 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14757 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14758 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14759 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14760 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14761 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14762 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14763 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14764 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14765 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14769 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14771 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14772 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14773 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14774 (__isnanf): Likewise.
14775 (__isinf_ns): Likewise.
14776 (__isinf_nsf): Likewise.
14777 (__finite): Likewise.
14778 (__finitef): Likewise.
14779 (__ieee754_sqrt): Define as macro.
14780 (__ieee754_sqrtf): Define as macro.
14781 (__ieee754_sqrtl): Define as macro.
14782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14783 inlined copy.
14784 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14785 __FINITE_MATH_ONLY__ consistent.
14786 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14787
12cc2fcd
AS
147882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14789
a843a204
AS
14790 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14791 of rawmemchr.
14792
12cc2fcd
AS
14793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14794
c853acd5
UD
147952011-10-09 Ulrich Drepper <drepper@gmail.com>
14796
14797 * po/ja.po: Update from translation team.
14798
c658d255
RM
147992011-10-08 Roland McGrath <roland@hack.frob.com>
14800
110946e4
RM
14801 * locale/programs/locarchive.c (prepare_address_space): New function.
14802 (create_archive, enlarge_archive, open_archive): Use it.
14803
50604220
RM
14804 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14805 inside [SHARED], where it is used.
14806
c658d255
RM
14807 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14808
14809 * nss/getent.c (netgroup_keys): Remove unused variable.
14810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14811
6a621eb7
UD
148122011-10-08 Ulrich Drepper <drepper@gmail.com>
14813
7edb55ce
UD
14814 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14818 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14820 * math/Makefile (libm-calls): Add s_isinf_ns.
14821 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14822 * math/multc3.c: Likewise.
14823 * math/s_casin.c: Likewise.
14824 * math/s_casinf.c: Likewise.
14825 * math/s_casinl.c: Likewise.
14826 * math/s_ccos.c: Likewise.
14827 * math/s_ccosf.c: Likewise.
14828 * math/s_ccosl.c: Likewise.
14829 * math/s_ctan.c: Likewise.
14830 * math/s_ctanf.c: Likewise.
14831 * math/s_ctanh.c: Likewise.
14832 * math/s_ctanhf.c: Likewise.
14833 * math/s_ctanhl.c: Likewise.
14834 * math/s_ctanl.c: Likewise.
14835 * math/w_fmod.c: Likewise.
14836 * math/w_fmodf.c: Likewise.
14837 * math/w_fmodl.c: Likewise.
14838 * math/w_remainder.c: Likewise.
14839 * math/w_remainderf.c: Likewise.
14840 * math/w_remainderl.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14842 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14845 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14846 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14847 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14848 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14849
187da0ae
UD
14850 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14851 of the number.
14852 * stdio-common/printf_fphex.c: Likewise.
14853 * stdio-common/printf_size.c: Likewise.
14854
9277c064
UD
14855 * math/e_exp10.c: Include math_private.h using <...> not "...".
14856 * math/e_exp10f.c: Likewise.
14857 * math/e_exp10l.c: Likewise.
14858 * math/e_exp2l.c: Likewise.
14859 * math/e_j0l.c: Likewise.
14860 * math/e_j1l.c: Likewise.
14861 * math/e_jnl.c: Likewise.
14862 * math/e_lgammal_r.c: Likewise.
14863 * math/e_rem_pio2l.c: Likewise.
14864 * math/e_scalb.c: Likewise.
14865 * math/e_scalbf.c: Likewise.
14866 * math/e_scalbl.c: Likewise.
14867 * math/k_cosl.c: Likewise.
14868 * math/k_sinl.c: Likewise.
14869 * math/k_tanl.c: Likewise.
14870 * math/s_cacoshf.c: Likewise.
14871 * math/s_catan.c: Likewise.
14872 * math/s_catanf.c: Likewise.
14873 * math/s_catanh.c: Likewise.
14874 * math/s_catanhf.c: Likewise.
14875 * math/s_catanhl.c: Likewise.
14876 * math/s_catanl.c: Likewise.
14877 * math/s_ccosh.c: Likewise.
14878 * math/s_ccoshf.c: Likewise.
14879 * math/s_ccoshl.c: Likewise.
14880 * math/s_cexp.c: Likewise.
14881 * math/s_cexpf.c: Likewise.
14882 * math/s_cexpl.c: Likewise.
14883 * math/s_clog.c: Likewise.
14884 * math/s_clog10.c: Likewise.
14885 * math/s_clog10f.c: Likewise.
14886 * math/s_clog10l.c: Likewise.
14887 * math/s_clogf.c: Likewise.
14888 * math/s_clogl.c: Likewise.
14889 * math/s_csin.c: Likewise.
14890 * math/s_csinf.c: Likewise.
14891 * math/s_csinh.c: Likewise.
14892 * math/s_csinhf.c: Likewise.
14893 * math/s_csinhl.c: Likewise.
14894 * math/s_csinl.c: Likewise.
14895 * math/s_csqrt.c: Likewise.
14896 * math/s_csqrtf.c: Likewise.
14897 * math/s_csqrtl.c: Likewise.
14898 * math/s_ctan.c: Likewise.
14899 * math/s_ctanf.c: Likewise.
14900 * math/s_ctanh.c: Likewise.
14901 * math/s_ctanhf.c: Likewise.
14902 * math/s_ctanhl.c: Likewise.
14903 * math/s_ctanl.c: Likewise.
14904 * math/s_ldexp.c: Likewise.
14905 * math/s_ldexpf.c: Likewise.
14906 * math/s_ldexpl.c: Likewise.
14907 * math/s_significand.c: Likewise.
14908 * math/s_significandf.c: Likewise.
14909 * math/s_significandl.c: Likewise.
14910 * math/w_acos.c: Likewise.
14911 * math/w_acosf.c: Likewise.
14912 * math/w_acosh.c: Likewise.
14913 * math/w_acoshf.c: Likewise.
14914 * math/w_acoshl.c: Likewise.
14915 * math/w_acosl.c: Likewise.
14916 * math/w_asin.c: Likewise.
14917 * math/w_asinf.c: Likewise.
14918 * math/w_asinl.c: Likewise.
14919 * math/w_atan2.c: Likewise.
14920 * math/w_atan2f.c: Likewise.
14921 * math/w_atan2l.c: Likewise.
14922 * math/w_atanh.c: Likewise.
14923 * math/w_atanhf.c: Likewise.
14924 * math/w_atanhl.c: Likewise.
14925 * math/w_cosh.c: Likewise.
14926 * math/w_coshf.c: Likewise.
14927 * math/w_coshl.c: Likewise.
14928 * math/w_dremf.c: Likewise.
14929 * math/w_exp10.c: Likewise.
14930 * math/w_exp10f.c: Likewise.
14931 * math/w_exp10l.c: Likewise.
14932 * math/w_exp2.c: Likewise.
14933 * math/w_exp2f.c: Likewise.
14934 * math/w_fmod.c: Likewise.
14935 * math/w_fmodf.c: Likewise.
14936 * math/w_fmodl.c: Likewise.
14937 * math/w_hypot.c: Likewise.
14938 * math/w_hypotf.c: Likewise.
14939 * math/w_hypotl.c: Likewise.
14940 * math/w_j0.c: Likewise.
14941 * math/w_j0f.c: Likewise.
14942 * math/w_j0l.c: Likewise.
14943 * math/w_j1.c: Likewise.
14944 * math/w_j1f.c: Likewise.
14945 * math/w_j1l.c: Likewise.
14946 * math/w_jn.c: Likewise.
14947 * math/w_jnf.c: Likewise.
14948 * math/w_jnl.c: Likewise.
14949 * math/w_lgamma.c: Likewise.
14950 * math/w_lgamma_r.c: Likewise.
14951 * math/w_lgammaf.c: Likewise.
14952 * math/w_lgammaf_r.c: Likewise.
14953 * math/w_lgammal.c: Likewise.
14954 * math/w_lgammal_r.c: Likewise.
14955 * math/w_log.c: Likewise.
14956 * math/w_log10.c: Likewise.
14957 * math/w_log10f.c: Likewise.
14958 * math/w_log10l.c: Likewise.
14959 * math/w_log2.c: Likewise.
14960 * math/w_log2f.c: Likewise.
14961 * math/w_log2l.c: Likewise.
14962 * math/w_logf.c: Likewise.
14963 * math/w_logl.c: Likewise.
14964 * math/w_pow.c: Likewise.
14965 * math/w_powf.c: Likewise.
14966 * math/w_powl.c: Likewise.
14967 * math/w_remainder.c: Likewise.
14968 * math/w_remainderf.c: Likewise.
14969 * math/w_remainderl.c: Likewise.
14970 * math/w_scalb.c: Likewise.
14971 * math/w_scalbf.c: Likewise.
14972 * math/w_scalbl.c: Likewise.
14973 * math/w_sinh.c: Likewise.
14974 * math/w_sinhf.c: Likewise.
14975 * math/w_sinhl.c: Likewise.
14976 * math/w_sqrt.c: Likewise.
14977 * math/w_sqrtf.c: Likewise.
14978 * math/w_sqrtl.c: Likewise.
14979 * math/w_tgamma.c: Likewise.
14980 * math/w_tgammaf.c: Likewise.
14981 * math/w_tgammal.c: Likewise.
14982
6a621eb7
UD
14983 * po/ja.po: Update from translation team.
14984
bf582445
AJ
149852011-09-29 Andreas Jaeger <aj@suse.de>
14986
f9efbf3a
AJ
14987 [BZ #13179]
14988 * sunrpc/netname.c (netname2host): Fix logic.
14989
bf582445
AJ
14990 [BZ #6779]
14991 [BZ #6783]
14992 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14993 correctly.
14994 * math/w_remainder.c (__remainder): Likewise.
14995 * math/w_remainderf.c (__remainderf): Likewise.
14996 * math/libm-test.inc (remainder_test): Add test cases.
14997
48693bea
AK
149982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14999
15000 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15001 sdiv_qrnnd.
15002
42622229
LD
150032011-10-07 Ulrich Drepper <drepper@gmail.com>
15004
15005 * string/test-memcmp.c: Avoid unncessary #defines.
15006 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15007
093ecf92
LD
150082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15009
15010 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15011 Use new sse2 version for core i3 - i7 as it's faster
15012 than sse42 version.
15013 (bit_Prefer_PMINUB_for_stringop): New.
15014 * sysdeps/x86_64/rawmemchr.S: Update.
15015 Replace with faster SSE2 version.
15016 * sysdeps/x86_64/memrchr.S: New file.
15017 * sysdeps/x86_64/memchr.S: Update.
15018 Replace with faster SSE2 version.
15019
fde56e5c
MP
150202011-09-12 Marek Polacek <mpolacek@redhat.com>
15021
15022 * elf/dl-load.c (lose): Add cast to avoid warning.
15023
21fd49a9
UD
150242011-10-07 Ulrich Drepper <drepper@gmail.com>
15025
5a06e643
UD
15026 * po/ca.po: Update from translation team.
15027
684ae515
UD
15028 * inet/getnetgrent_r.c: Hook up nscd.
15029 * nscd/Makefile (routines): Add nscd_netgroup.
15030 (nscd-modules): Add netgroupcache.
15031 (CFLAGS-netgroupcache.c): Define.
15032 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15033 (cache_search): Add const to second parameter.
15034 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15035 INNETGR.
15036 (dbs): Add netgrdb entry.
15037 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15038 (verify_persistent_db): Handle netgrdb.
15039 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15040 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15041 GETFDNETGR.
15042 (netgroup_response_header): Define.
15043 (innetgroup_response_header): Define.
15044 (datahead): Add netgroup_response_header and innetgroup_response_header
15045 elements.
15046 * nscd/nscd.conf: Add entries for netgroup cache.
15047 * nscd/nscd.h (dbtype): Add netgrdb.
15048 (_PATH_NSCD_NETGROUP_DB): Define.
15049 (netgroup_iov_disabled): Declare.
15050 (xmalloc, xcalloc, xrealloc): Move declarations here.
15051 (cache_search): Adjust prototype.
15052 Add netgroup-related prototypes.
15053 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15054 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15055 (__nscd_innetgr): Declare.
15056 * nscd/selinux.c (perms): Use access_vector_t as element type and
15057 add netgroup-related initializers.
15058 * nscd/netgroupcache.c: New file.
15059 * nscd/nscd_netgroup.c: New file.
15060 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15061 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15062 For four parameters use innetgr.
15063 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15064 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15065 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15066 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15067
21fd49a9
UD
15068 * nscd/connections.c (register_traced_file): Don't register file
15069 for disabled databases.
15070
054c0457
UD
150712011-10-06 Ulrich Drepper <drepper@gmail.com>
15072
32b63198
UD
15073 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15074
054c0457
UD
15075 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15076 from tree and freeing node.
15077
64031225
JO
150782011-09-25 Jiri Olsa <jolsa@redhat.com>
15079
15080 * nss/nsswitch.c (__nss_database_lookup): Handle
15081 nss_parse_service_list out of memory case.
15082
0490345c
JO
150832011-09-15 Jiri Olsa <jolsa@redhat.com>
15084
15085 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15086 out of memory case.
15087
3a62d00d
AS
150882011-10-04 Andreas Schwab <schwab@redhat.com>
15089
15090 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15091 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15092 pass it down.
15093 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15094 elf_machine_rela, elf_machine_lazy_rel.
15095 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15096 (ELF_DYNAMIC_DO_REL): Likewise.
15097 (ELF_DYNAMIC_DO_RELA): Likewise.
15098 (ELF_DYNAMIC_RELOCATE): Likewise.
15099 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15100 to ELF_DYNAMIC_DO_REL.
15101 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15102 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15103 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15104 elf_machine_rela.
15105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15106 skip_ifunc, don't call ifunc function if non-zero.
15107 (elf_machine_rela): Likewise.
15108 (elf_machine_lazy_rel): Likewise.
15109 (elf_machine_lazy_rela): Likewise.
15110 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15111 (elf_machine_lazy_rel): Likewise.
15112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15113 Likewise.
15114 (elf_machine_lazy_rel): Likewise.
15115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15116 Likewise.
15117 (elf_machine_lazy_rel): Likewise.
15118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15119 (elf_machine_lazy_rel): Likewise.
15120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15121 (elf_machine_lazy_rel): Likewise.
15122 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15123 (elf_machine_lazy_rel): Likewise.
15124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15125 (elf_machine_lazy_rel): Likewise.
15126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15127 (elf_machine_lazy_rel): Likewise.
15128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15129 (elf_machine_lazy_rel): Likewise.
15130
68577918
UD
151312011-09-28 Ulrich Drepper <drepper@gmail.com>
15132
15133 * nss/nss_files/files-init.c (_nss_files_init): Use static
15134 initialization for all the *_traced_file variables.
15135
68822d74
AS
151362011-09-28 Andreas Schwab <schwab@redhat.com>
15137
15138 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15139
2056100b
RM
151402011-09-27 Roland McGrath <roland@hack.frob.com>
15141
15142 [BZ #13226]
15143 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15144
32c76b63
AS
151452011-09-27 Andreas Schwab <schwab@redhat.com>
15146
15147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15148 Reread the line before reparsing it.
15149
bf972c9d
AS
151502011-09-26 Andreas Schwab <schwab@redhat.com>
15151
15152 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15153
e057a1b5
JM
151542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15155 Maxim Kuvyrkov <maxim@codesourcery.com>
15156 Joseph Myers <joseph@codesourcery.com>
15157
15158 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15159 if needed for __stack_chk_guard.
15160
bc7e1c36
RM
151612011-09-19 Roland McGrath <roland@hack.frob.com>
15162
ecb1482f
RM
15163 * sysdeps/posix/spawni.c (script_execute): Always define it.
15164 It will be optimized away if unused.
15165 (maybe_script_execute): New function.
15166 (__spawni): Call it.
15167
bc7e1c36
RM
15168 * Makerules: Don't include tls.make.
15169 (config-tls): Always set to thread.
15170 * tls.make.c: File removed.
15171
1c3b002b
MF
151722011-09-19 Mike Frysinger <vapier@gentoo.org>
15173
15174 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15175 * config.make.in (CPPFLAGS-config): New substituted variable.
15176
2840865d
UD
151772011-09-15 Ulrich Drepper <drepper@gmail.com>
15178
88738eb6
UD
15179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15180
cbf645a6 15181 [BZ #13192]
2840865d
UD
15182 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15183 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15184
b402e91a
RM
151852011-09-15 Roland McGrath <roland@hack.frob.com>
15186
15187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15188 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15190 (CALL_FAIL): Likewise.
15191 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15192 (CALL_FAIL): Macro removed.
15193 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15194
4c1a1f71
UD
151952011-09-15 Ulrich Drepper <drepper@gmail.com>
15196
15197 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15198 for __FINITE_MATH_ONLY__ == 1.
15199
edc121be
AS
152002011-09-15 Andreas Schwab <schwab@redhat.com>
15201
15202 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15203 __ieee754_sqrt instead of sqrt.
15204 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15205 __ieee754_sqrtf instead of sqrtf.
15206 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15207 __floorf instead of floorf.
15208 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15209 __floorf, __truncf instead of floorf, truncf.
15210
cd205654
UD
152112011-09-14 Ulrich Drepper <drepper@gmail.com>
15212
ee4d0315
UD
15213 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15214
cd205654
UD
15215 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15216 __extern_always_inline.
15217 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15218 32-bit.
15219
48b67d71
AS
152202011-09-14 Andreas Schwab <schwab@redhat.com>
15221
15222 * elf/rtld.c (dl_main): Also relocate in dependency order when
15223 doing symbol dependency testing.
15224
1ae12c75
AS
152252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15226
15227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15228 Always define `refsym'.
15229
995a80df
AS
152302011-09-13 Andreas Schwab <schwab@redhat.com>
15231
e529793b
AS
15232 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15233 (__FD_ELT): Renamed from __FDELT.
15234 * misc/bits/select2.h (__FD_ELT): Likewise.
15235 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15236 __FD_MASK instead of __FDELT, __FDMASK.
15237 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15238 Likewise.
15239 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15240 Likewise.
15241
52d4fef8
AS
15242 * elf/Makefile (gen-ldd): Fix pattern.
15243
995a80df
AS
15244 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15245 (init_tls): Likewise.
15246
8682f8b0
UD
152472011-09-12 Ulrich Drepper <drepper@gmail.com>
15248
15249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15250
de82006d
AS
152512011-09-12 Andreas Schwab <schwab@redhat.com>
15252
a7c8e6a1
AS
15253 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15254 `struct cmsghdr *' instead of `void *'.
15255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15256 Likewise.
15257
0f31fe77
AS
152582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15259
15260 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15261 if non-absolute.
15262 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15263 ldd_rewrite_script.
0f31fe77 15264
32b4c839
UD
152652011-09-11 Ulrich Drepper <drepper@gmail.com>
15266
83cd1420
UD
15267 * configure.in: Remove --with-tls option.
15268 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15269 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15270 out in case it is missing.
15271 * sysdeps/ia64/elf/configure.in: Likewise.
15272 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15273 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15274 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15275 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15276 * sysdeps/sh/elf/configure.in: Likewise.
15277 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15278 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15279 * sysdeps/x86_64/elf/configure.in: Likewise.
15280 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15281 * sysdeps/mach/hurd/tls.h: Likewise.
15282
633f745d
UD
15283 [BZ #13067]
15284 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15285
f318beb8
UD
15286 [BZ #13090]
15287 * configure.in: Fix use of AC_INIT.
15288
32b4c839
UD
15289 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15290
3ce1f295
UD
152912011-09-10 Ulrich Drepper <drepper@gmail.com>
15292
bb016596
UD
15293 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15294 __set_errno.
8e58439c
UD
15295 * malloc/hooks.c: Likewise.
15296
aebae053 15297 [BZ #11929]
02d46fc4
UD
15298 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15299 variables statically.
15300 (narenas): Initialize.
15301 (list_lock): Initialize.
bb016596
UD
15302 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15303 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15304 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15305 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15306 Add initializers to main_arena and mp_.
15307 (malloc_state): Remove pagesize member. Change all users to use
15308 GLRO(dl_pagesize).
15309
15310 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15311 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15312 is always initialized.
15313
22a89187
UD
15314 * malloc/malloc.c: Removed unused configurations and dead code.
15315 * malloc/arena.c: Likewise.
15316 * malloc/hooks.c: Likewise.
02d46fc4 15317 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15318
d063d164
UD
15319 * include/tls.h: Removed. USE___THREAD must always be defined.
15320 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15321 * elf/dl-libc.c: Likewise.
15322 * elf/dl-tsd.c: Likewise.
15323 * include/errno.h: Likewise.
15324 * include/netdb.h: Likewise.
15325 * include/resolv.h: Likewise.
15326 * inet/herrno-loc.c: Likewise.
15327 * inet/herrno.c: Likewise.
15328 * malloc/arena.c: Likewise.
15329 * malloc/hooks.c: Likewise.
15330 * malloc/malloc.c: Likewise.
15331 * resolv/res-state.c: Likewise.
15332 * resolv/res_libc.c: Likewise.
15333 * sysdeps/i386/dl-machine.h: Likewise.
15334 * sysdeps/ia64/dl-machine.h: Likewise.
15335 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15336 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15337 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15338 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15339 * sysdeps/sh/dl-machine.h: Likewise.
15340 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15342 * sysdeps/unix/i386/sysdep.S: Likewise.
15343 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15344 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15349 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15353 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15354 * sysdeps/x86_64/dl-machine.h: Likewise.
15355 * tls.make.c: Likewise.
15356
3ce1f295
UD
15357 * configure.in: Remove --with-__thread option. Make tests for
15358 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15359 tls_model attribute fail if no support is available. Remove
15360 USE_IN_LIBIO.
15361 * Makeconfig: Adjust for dropped configure option. All features are
15362 now mandatory.
15363 * Makerules: Likewise.
15364 * Versions.def: Likewise.
15365 * argp/argp-fmtstream.c: Likewise.
15366 * argp/argp-fmtstream.h: Likewise.
15367 * argp/argp-help.c: Likewise.
15368 * assert/assert.c: Likewise.
15369 * config.h.in: Likewise.
15370 * config.make.in: Likewise.
15371 * configure: Likewise.
15372 * configure.in: Likewise.
15373 * csu/Versions: Likewise.
15374 * csu/init.c: Likewise.
15375 * elf/tst-audit2.c: Likewise.
15376 * elf/tst-tls10.c: Likewise.
15377 * elf/tst-tls10.h: Likewise.
15378 * elf/tst-tls11.c: Likewise.
15379 * elf/tst-tls12.c: Likewise.
15380 * elf/tst-tls14.c: Likewise.
15381 * elf/tst-tlsmod11.c: Likewise.
15382 * elf/tst-tlsmod12.c: Likewise.
15383 * elf/tst-tlsmod13.c: Likewise.
15384 * elf/tst-tlsmod13a.c: Likewise.
15385 * elf/tst-tlsmod14a.c: Likewise.
15386 * elf/tst-tlsmod15b.c: Likewise.
15387 * elf/tst-tlsmod16a.c: Likewise.
15388 * elf/tst-tlsmod16b.c: Likewise.
15389 * elf/tst-tlsmod7.c: Likewise.
15390 * elf/tst-tlsmod8.c: Likewise.
15391 * elf/tst-tlsmod9.c: Likewise.
15392 * gmon/gmon.c: Likewise.
15393 * grp/fgetgrent_r.c: Likewise.
15394 * grp/putgrent.c: Likewise.
15395 * hurd/fopenport.c: Likewise.
15396 * include/libc-symbols.h: Likewise.
15397 * include/tls.h: Likewise.
15398 * intl/gettextP.h: Likewise.
15399 * intl/loadinfo.h: Likewise.
15400 * locale/global-locale.c: Likewise.
15401 * locale/localeinfo.h: Likewise.
15402 * mach/devstream.c: Likewise.
15403 * malloc/arena.c: Likewise.
15404 * malloc/set-freeres.c: Likewise.
15405 * misc/err.c: Likewise.
15406 * misc/getttyent.c: Likewise.
15407 * misc/mntent_r.c: Likewise.
15408 * posix/getopt.c: Likewise.
15409 * posix/wordexp.c: Likewise.
15410 * pwd/fgetpwent_r.c: Likewise.
15411 * resolv/Versions: Likewise.
15412 * resolv/res_hconf.c: Likewise.
15413 * shadow/fgetspent_r.c: Likewise.
15414 * shadow/putspent.c: Likewise.
15415 * stdio-common/printf_fphex.c: Likewise.
15416 * stdio-common/tmpfile.c: Likewise.
15417 * stdlib/abort.c: Likewise.
15418 * stdlib/fmtmsg.c: Likewise.
15419 * sunrpc/auth_unix.c: Likewise.
15420 * sunrpc/clnt_perr.c: Likewise.
15421 * sunrpc/clnt_tcp.c: Likewise.
15422 * sunrpc/clnt_udp.c: Likewise.
15423 * sunrpc/clnt_unix.c: Likewise.
15424 * sunrpc/openchild.c: Likewise.
15425 * sunrpc/svc_simple.c: Likewise.
15426 * sunrpc/svc_tcp.c: Likewise.
15427 * sunrpc/svc_udp.c: Likewise.
15428 * sunrpc/svc_unix.c: Likewise.
15429 * sunrpc/xdr.c: Likewise.
15430 * sunrpc/xdr_array.c: Likewise.
15431 * sunrpc/xdr_rec.c: Likewise.
15432 * sunrpc/xdr_ref.c: Likewise.
15433 * sunrpc/xdr_stdio.c: Likewise.
15434
1248c1c4
PB
154352011-09-09 Ulrich Drepper <drepper@gmail.com>
15436
15437 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15438
154392011-07-03 Andreas Jaeger <aj@suse.de>
15440
15441 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15442 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15443 regenerate with gen-libm-tests.pl.
15444
154452010-05-12 Petr Baudis <pasky@suse.cz>
15446
15447 [BZ #11589]
15448 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15449 around j0() zero points by switching to j1().
15450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15454
f22e1074
UD
154552011-09-09 Ulrich Drepper <drepper@gmail.com>
15456
f19009c1
UD
15457 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15458 instead of 0.
15459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15460 instead of 0. .
15461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15462 Patch in part by Pavel Roskin <proski@gnu.org>.
15463
3f8cc204
UD
15464 [BZ #13138]
15465 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15466 realloc.
15467 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15468 Free memory block if necessary.
15469
f22e1074
UD
15470 [BZ #12847]
15471 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15472 be NULL. Don't lock in this case.
15473
0a2349f9
RM
154742011-09-09 Roland McGrath <roland@hack.frob.com>
15475
15476 * elf/elf.h (ELFOSABI_GNU): New macro.
15477 (ELFOSABI_LINUX): Define to that.
15478
f3cdd467
DZ
154792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15480
15481 * string/strncat.c (strncat): Undef the symbol in case it has been
15482 defined in bits/string.h.
15483
74718d13
UD
154842011-09-09 Ulrich Drepper <drepper@gmail.com>
15485
633e9e0f
UD
15486 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15487
0a2349f9 15488 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15489 link map.
15490
f9924780
AJ
154912011-08-17 Andreas Jaeger <aj@suse.de>
15492
15493 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15494
7f5517aa
PP
154952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15496 Ian Lance Taylor <iant@google.com>
15497
15498 * math/libm-test.inc (lround_test): New testcase.
15499 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15500
762011fe
UD
155012011-09-08 Ulrich Drepper <drepper@gmail.com>
15502
92963737
UD
15503 * Makefile: Remove support for automatic cvs check-ins.
15504 * Makerules: Likewise.
15505 * config.make.in: Likewise.
15506 * configure.in: Likewise.
15507 * intl/Makefile: Likewise.
15508 * locale/Makefile: Likewise.
15509 * po/Makefile: Likewise.
15510 * posix/Makefile: Likewise.
15511 * sysdeps/gnu/Makefile: Likewise.
15512 * sysdeps/mach/hurd/Makefile: Likewise.
15513 * sysdeps/sparc/sparc32/Makefile: Likewise.
15514
b0727fd8
JS
15515 [BZ #13118]
15516 * posix/Makefile (bug-regex32-ENV): Define.
15517 Patch by John Stanley <jpsinthemix@verizon.net>.
15518
a0f33f99
UD
15519 * misc/Makefile (headers): Add bits/select2.h.
15520 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15521 * misc/bits/select2.h: New file.
15522 * include/bits/select2.h: New file.
15523 * debug/Makefile (routines): Add fdelt_chk.
15524 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15525 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15526 FD_ISSET.
15527 * debug/fdelt_chk.c: New file.
15528
762011fe
UD
15529 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15530 * wcsmbs/test-wmemcmp.c: Likewise.
15531 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15532 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15533
155342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15535
15536 * string/Makefile (strop-tests): Add memcmp.
15537 * string/test-wmemcmp.c: New file.
15538 * string/test-memcmp.c: Add wmemcmp support.
15539
7f513ec8
RM
155402011-09-08 Roland McGrath <roland@hack.frob.com>
15541
0442afb4
RM
15542 [BZ #13153]
15543 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15544 2011-07-19 change.
15545
7f513ec8
RM
15546 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15547 garbage value in a __mach_port_mod_refs call in the cases of the
15548 task-self and thread-self ports.
15549
a12b2239
ST
155502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15551
15552 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15553
610f9ab4
AS
155542011-09-08 Andreas Schwab <schwab@redhat.com>
15555
7f513ec8 15556 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15557
48882a1a
LD
155582011-09-07 Ulrich Drepper <drepper@gmail.com>
15559
b49865be
UD
15560 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15561
fdc86bc9
UD
15562 * elf/dl-libc.c (dlerror_run): Pass back error code from
15563 dl_catch_error.
15564
c966526a
UD
15565 [BZ #13123]
15566 * elf/dl-load.c (lose): Free l_origin if it is valid.
15567
48882a1a
LD
15568 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15569 names.
15570 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15575 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15576
77a2a8b4
AZ
155772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578
15579 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15580 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15581 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15582 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15583 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15584 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15585 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15586 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15587 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15588 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15589
24f579d8
AM
155902011-08-15 Alan Modra <amodra@gmail.com>
15591
15592 [BZ #13092]
15593 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15594 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15595 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15596 ppc_mcount to static-only-routines.
15597 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15598 __mcount_internal.
15599 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15600 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15601
3d4837df
UD
156022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15603
15604 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15605 for finite and infinity parameters.
15606
22700377
WS
156072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15608
15609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15610 and add nop instructions for throughput optimization.
15611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15612
5025581e
WS
156132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15614
15615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15616 aligned copy for power7 with vector-scalar instructions.
15617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15618
08a300c9
L
156192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15622 AVX check.
15623
59178ef9
AS
156242011-09-07 Andreas Schwab <schwab@redhat.com>
15625
15626 [BZ #13144]
15627 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15628 last change.
15629
e38ba7ab
UD
156302011-09-07 Ulrich Drepper <drepper@gmail.com>
15631
15632 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15633 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15634 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15636 clock_gettime.
15637
d53a73ac
UD
156382011-09-06 Ulrich Drepper <drepper@gmail.com>
15639
fc8bffcc
UD
15640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15641 Forgot to demangle the pointer.
15642
ceaa0c5d
UD
15643 * sysdeps/i386/sysdep.h: Define atom_text_section.
15644 * sysdeps/x86_64/sysdep.h: Likewise.
15645 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15646 section with atom_text_section.
15647 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15649 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15651 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15652
a77d3c17
UD
15653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15655 already be defined. Change to take two parameters and don't assign
15656 result to variable. Adjust all users.
15657 Define INTERNAL_GETTIME if not already defined.
15658 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15659 call.
15660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15661 HAVE_CLOCK_GETTIME_VSYSCALL.
15662 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15663
d53a73ac
UD
15664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15665 gettimeofday vsyscall, just use time.
15666
a8f84144
AS
156672011-09-06 Andreas Schwab <schwab@redhat.com>
15668
15669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15670 <errno.h>.
15671
ef606249
UD
156722011-09-06 Ulrich Drepper <drepper@gmail.com>
15673
15674 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15675 syscall on x86-64.
15676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15677 syscall.
15678 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15680 syscall if possible.
15681
6585cb60
UD
156822011-09-05 Ulrich Drepper <drepper@gmail.com>
15683
15684 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15685 e_ident. Don't pass to find_mapsXX.
15686 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15687
a5f524e4
LD
156882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15689
15690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15691 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15692 * sysdeps/x86_64/multiarch/strchr.S: Update.
15693 Check bit_slow_BSF bit.
15694 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15697
554881ef
UD
156982011-09-05 Ulrich Drepper <drepper@gmail.com>
15699
d96de963
UD
15700 [BZ #13134]
15701 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15702 before glibc 2.15.
15703 (tryshell): Define.
15704 (__spawni): Change last parameter to be flag. Test
15705 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15706 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15707 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15708 * posix/spawni.c: Likewise.
15709 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15710 * posix/spawnp.c: Likewise. Change normal version to use
15711 SPAWN_XFLAGS_USE_PATH.
15712 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15713 SPAWN_XFLAGS_TRY_SHELL.
15714
d48e5868
UD
15715 [BZ #13150]
15716 * posix/glob.h: Remove gcc 1.x support.
15717
554881ef
UD
15718 [BZ #13068]
15719 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15720
693fb948
LD
157212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15722
15723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15724 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15725 strrchr-sse2-bsf
15726 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15727 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15728 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15729 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15730 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15731 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15732
1b48c537
UD
157332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15734
49d42c37
UD
15735 * sysdeps/x86_64/wcscmp.S: New file.
15736
1b48c537
UD
15737 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15738 wcscmp-c wcscmp-sse2
15739 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15740 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15741 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15742 * wcsmbs/wcscmp.c: Allow renaming.
15743
15c95c5d
DM
157442011-09-05 David S. Miller <davem@davemloft.net>
15745
15746 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15747 stack slot, rather than the struct return pointer slot.
15748 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15749 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15752
2f0ad8f3
UD
157532011-09-05 Ulrich Drepper <drepper@gmail.com>
15754
d88ae418
UD
15755 * po/ja.po: Update from translation team.
15756
2f0ad8f3
UD
15757 [BZ #13144]
15758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15759 kernel in 64-bit binaries.
15760
5f4318d1
DM
157612011-09-01 David S. Miller <davem@davemloft.net>
15762
15763 * elf/elf.h (HWCAP_SPARC_*): Move to..
15764 * sysdeps/sparc/sysdep.h: this new file and add new values.
15765 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15766 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15767 _DL_HWCAP_COUNT to 24.
15768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15769 entries.
15770 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15771 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15772 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15774 instead of magic constants.
15775 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15776
3ba57516
DM
157772011-08-31 David S. Miller <davem@davemloft.net>
15778
15779 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15781 Reimplement to do errno handling inline.
15782 (SYSCALL_ERROR_HANDLER): New macro.
15783 (__SYSCALL_STRING): Do not do errno handling in asm.
15784 (__CLONE_SYSCALL_STRING): Delete.
15785 (__INTERNAL_SYSCALL_STRING): Delete.
15786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15787 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15788 (PSEUDO): Reimplement to do errno handling inline.
15789 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15790 (SYSCALL_ERROR_HANDLER): New macro.
15791 (__SYSCALL_STRING): Do not do errno handling in asm.
15792 (__CLONE_SYSCALL_STRING): Delete.
15793 (__INTERNAL_SYSCALL_STRING): Delete.
15794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15795 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15796 i386.
15797 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15798 (inline_syscall*): Add 'err' argument.
15799 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15800 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15801 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15802 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15803
15804 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15805 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15806
2bc17433
AS
158072011-08-30 Andreas Schwab <schwab@redhat.com>
15808
15809 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15810
fbeb5f4d
JO
158112011-08-29 Jiri Olsa <jolsa@redhat.com>
15812
15813 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15814 directive.
15815
ad69cc26
DM
158162011-08-24 David S. Miller <davem@davemloft.net>
15817
15818 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15819
39dd69df
AS
158202011-08-24 Andreas Schwab <schwab@redhat.com>
15821
15822 * elf/Makefile: Add rules to build and run unload8 test.
15823 * elf/unload8.c: New file.
15824 * elf/unload8mod1.c: New file.
15825 * elf/unload8mod1x.c: New file.
15826 * elf/unload8mod2.c: New file.
15827 * elf/unload8mod3.c: New file.
15828
15829 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15830 it wasn't used.
15831
2c0b250a
DM
158322011-08-23 David S. Miller <davem@davemloft.net>
15833
15834 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15835 subtract stack bias.
15836 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15837 %sp not %fp in calculations.
15838 (_JMPBUF_UNWINDS_ADJ): Likewise.
15839
22044b48
DM
15840 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15841 (aio_suspend): Call it to force an exception region around the
15842 AIO_MISC_WAIT() invocation.
15843
2cae4995
AS
158442011-08-23 Andreas Schwab <schwab@redhat.com>
15845
15846 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15847 backslash.
15848
873a772e
AJ
158492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15850
15851 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15852 protection macro.
15853 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15854 and <dl-machine.h>.
15855 (Elf64_FuncDesc): Remove.
15856
25ad0df1
DM
158572011-08-22 David S. Miller <davem@davemloft.net>
15858
15859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15860 sigaltstack check, add missing cfi directives.
15861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15862 missing cfi directives, and sigaltstack handling.
15863
e888bcbe
AS
158642011-08-16 Andreas Schwab <schwab@redhat.com>
15865
15866 [BZ #11724]
15867 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15868 object is seen twice.
15869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15870
15871 * elf/Makefile (distribute): Add tst-initorder2.c.
15872 (tests): Add tst-initorder2.
15873 (modules-names): Add tst-initorder2a tst-initorder2b
15874 tst-initorder2c tst-initorder2d. Add rules to build them.
15875 ($(objpfx)tst-initorder2.out): New rule.
15876 * elf/tst-initorder2.c: New file.
15877 * elf/tst-initorder2.exp: New file.
15878
87162f46
AS
158792011-08-22 Andreas Schwab <schwab@redhat.com>
15880
70538b7f
AS
15881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15882
f55ffe58
AS
15883 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15884 dependencies back to end of function.
15885
87162f46
AS
15886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15887 $(elfobjdir)/ld.so.
15888
91b392a4
UD
158892011-08-21 Ulrich Drepper <drepper@gmail.com>
15890
15891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15892 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15894 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15895 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15896 of __vdso_gettimeofday.
15897 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15898 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15899 attribute_hidden.
15900 (_libc_vdso_platform_setup): Remove initialization of
15901 __vdso_gettimeofday and __vdso_time.
15902
5c43483f
UD
159032011-08-20 Ulrich Drepper <drepper@gmail.com>
15904
775a77e7
UD
15905 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15906 and fgetc_unlocked.
15907 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15908 getc_unlocked.
89f447ed 15909
49c74ba9
UD
15910 * elf/dl-open.c (add_to_global): Report additions to the global scope
15911 for LD_DEBUG=scopes.
15912 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15913 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15914
5c43483f
UD
15915 [BZ #13114]
15916 * stdio-common/Makefile (tests): Add bug24.
15917 * stdio-common/bug24.c: New file.
15918
a101b025
AJ
159192011-08-19 Andreas Jaeger <aj@suse.de>
15920
15921 [BZ #13114]
15922 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15923 non-existant file when using close-on-exec mode.
15924
c88f1766
UD
159252011-08-20 Ulrich Drepper <drepper@gmail.com>
15926
0276a718
UD
15927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15928 the very first instruction.
15929
c88f1766
UD
15930 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15931 the CFI state in the end.
15932 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15933 inclusion of dl-trampoline.h.
15934 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15935
51ccffa0
AS
159362011-08-19 Andreas Schwab <schwab@redhat.com>
15937
94d7165f
AS
15938 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15939 expectations for long double.
15940
51ccffa0
AS
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15942 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15943
fd708658 159442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15945
15946 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15947 artificual limit depends upon the system page size.
15948
44f0a71e
UD
159492011-08-17 Ulrich Drepper <drepper@gmail.com>
15950
15951 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15952 * resolv/Makefile: Define CFLAGS-libresolv.
15953
8de79a24
AS
159542011-08-17 Andreas Schwab <schwab@redhat.com>
15955
15956 * nss/makedb.c (compute_tables): Make variables used in nested
15957 function static.
15958
27724598
UD
159592011-08-17 Ulrich Drepper <drepper@gmail.com>
15960
c5305d88
UD
15961 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15962 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15963 if buffer was too small.
15964
27724598
UD
15965 * elf/pldd.c (main): Attach to all threads in the process.
15966 Rewrite /proc handling to use *at functions.
15967
076fe015
UD
159682011-08-16 Ulrich Drepper <drepper@gmail.com>
15969
174baab3
UD
15970 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15971 specifies first scope to show.
15972 (dl_open_worker): Update callers. Move printing scope of new
15973 object to before the relocation.
44f0a71e 15974 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15975 * sysdeps/generic/ldsodefs.h: Update declaration.
15976
076fe015
UD
15977 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15978 string for the scope number.
15979
a60df2c3
UD
159802011-08-14 Ulrich Drepper <drepper@gmail.com>
15981
15982 * nscd/servicescache.c (cache_addserv): Make sure written is always
15983 initialized.
15984
5e4287d1
RM
159852011-08-14 Roland McGrath <roland@hack.frob.com>
15986
85ae0589
RM
15987 * sysdeps/i386/i486/bits/atomic.h
15988 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15989 statement expression, so as to suppress "set but not used" warning.
15990 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15991
69f63097
RM
15992 * string/strncat.c (STRNCAT): Use prototype definition.
15993
675456ef
RM
15994 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15995 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15996 -Iprograms here.
15997 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15998 (localedef-modules): Add localedef.
15999 (locale-modules): Add locale.
16000
5e4287d1
RM
16001 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16002 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16003 to avoid a warning.
16004
9c96ff23
DM
160052011-08-14 David S. Miller <davem@davemloft.net>
16006
16007 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16008 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16009
f9ddf089
UD
160102011-08-13 Ulrich Drepper <drepper@gmail.com>
16011
44f0a71e 16012 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16013 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16014 * elf/rtld.c (dl_main): Set l_name of vDSO.
16015 Call _dl_show_scope when DL_DEBUG_SCOPES.
16016 (process_dl_debug): Recognize scopes flag and also set it for all.
16017 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16018 Declare _dl_show_scope.
16019
1dc27704
UD
16020 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16021 (do_dlopen): Pass caller_dlopen to dl_open.
16022 (__libc_dlopen_mode): Initialize caller_dlopen.
16023
f9ddf089
UD
16024 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16025 of libc. Make tolower call locale-independent. Optimize a bit by
16026 using isdigit instead of isalnum.
16027 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16028
9ac533d3
UD
160292011-08-12 Ulrich Drepper <drepper@gmail.com>
16030
16031 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16032 was a dependency or dynamically loaded.
16033
89edf2e9
UD
160342011-08-11 Ulrich Drepper <drepper@gmail.com>
16035
8e999d29
UD
16036 * intl/l10nflist.c: Allow architecture-specific pop function.
16037 * sysdeps/x86_64/l10nflist.c: New file.
16038
89edf2e9
UD
16039 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16040 classification.
16041
14d96785
AS
160422011-08-10 Andreas Schwab <schwab@redhat.com>
16043
16044 * include/dirent.h: Add libc_hidden_proto for scandirat and
16045 scandirat64. Don't declare __scandirat64.
16046 * dirent/scandirat.c: Add libc_hidden_def.
16047 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16048 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16049
6761ac04
DM
160502011-08-10 David S. Miller <davem@davemloft.net>
16051
16052 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16053 enum.
16054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16056 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16057
c55fbd1e
UD
160582011-08-09 Ulrich Drepper <drepper@gmail.com>
16059
16060 * Versions.def [libc]: Add GLIBC_2.15.
16061 * dirent/Makefile (routines): Add scandirat and scandirat64.
16062 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16063 GLIBC_2.15.
16064 * dirent/dirent.h: Declare scandirat and scandirat64.
16065 * dirent/scandirat.c: New file.
16066 * dirent/scandirat64.c: New file.
16067 * sysdeps/wordsize-64/scandirat.c: New file.
16068 * sysdeps/wordsize-64/scandirat64.c: New file.
16069 * dirent/opendir.c: Define opendirat.
16070 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16071 using scandirat.
16072 * dirent/scandir64.c: Adjust for scandir.c change.
16073 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16074 __scandirat64, and __scandir_cancel_handler.
16075 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16076 additional parameter and use openat instead of open (outside of ld.so).
16077 Add new __opendir as wrapper around __opendirat.
16078 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16079 here without requiring old scandirat implementation.
16080
879165f2
UD
160812011-08-08 Ulrich Drepper <drepper@gmail.com>
16082
16083 * dirent/scandir.c (cancel_handler): Renamed to
16084 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16085 defined. Adjust users.
16086 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16087 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16088
cb7e923b
UD
160892011-08-04 Ulrich Drepper <drepper@gmail.com>
16090
16292edd
UD
16091 * string/test-string.h (IMPL): Use __STRING to expand name and then
16092 stringify it.
16093
cb7e923b
UD
16094 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16095 of cleanups.
16096
cff82933
LD
160972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16098
16099 * string/Makefile: Update.
16100 (strop-tests): Append strncat.
16101 * string/test-wcscmp.c: New file.
16102 New comprehensive test for wcscmp.
16103 * string/test-strcmp.c: Update.
16104 (WIDE): New define.
16105
9be9bfcc
AS
161062011-07-22 Andreas Schwab <schwab@redhat.com>
16107
16108 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16109 line.
16110
2e96f1c7
AS
161112011-07-26 Andreas Schwab <schwab@redhat.com>
16112
16113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16114 encoding to ACE if AI_IDN.
16115
85188888
JJ
161162011-08-01 Jakub Jelinek <jakub@redhat.com>
16117
16118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16119 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16120
5fa16e9b
LD
161212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16122
16123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16124 Fix overflow bug in strncat.
16125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16126
16127 * string/test-strncat.c: Update.
16128 Add new tests for checking overflow bugs.
16129
161302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16131
16132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16133 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16134 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16135 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16137 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16138 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16139 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16140 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16141
16142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16143 (USE_AS_STRCAT): Define.
16144 Add strcat and strncat support.
16145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16146
8c1a459f
AS
161472011-07-25 Andreas Schwab <schwab@redhat.com>
16148
16149 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16150 __n bigger than INT_MAX+1.
16151 (__strncmp_g): Likewise.
16152
bba33c28
UD
161532011-07-23 Ulrich Drepper <drepper@gmail.com>
16154
798be72d
UD
16155 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16156 * libio/stido.h: Likewise.
16157
8accd4dc
UD
16158 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16159 (AF_NFC): Define.
16160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16161 (AF_NFC): Define.
16162
cbff0d96
UD
16163 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16166 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16168
9191c04a
UD
16169 [BZ #13021]
16170 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16171 installed.
16172
bba33c28
UD
16173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16174 typo.
16175 (_dl_x86_64_save_sse): Likewise.
16176
90f139dd
UD
161772011-07-22 Ulrich Drepper <drepper@gmail.com>
16178
1aae088a
UD
16179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16180 OSXSAVE.
16181 (_dl_x86_64_save_sse): Likewise.
16182
8e2045f5
UD
16183 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16184
90f139dd
UD
16185 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16186
1d002f25
AS
161872011-07-21 Andreas Schwab <schwab@redhat.com>
16188
16189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16190 change.
16191 (_dl_x86_64_save_sse): Use correct AVX check.
16192
21137f89
UD
161932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16194
16195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16196 bug in strncpy/strncat.
16197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16198
a65c0b7a
UD
161992011-07-21 Ulrich Drepper <drepper@gmail.com>
16200
16201 * string/tester.c (test_strcat): Add tests for different alignments
16202 of source and destination.
16203 (test_strncat): Likewise.
16204
6986b98a
UD
162052011-07-20 Ulrich Drepper <drepper@gmail.com>
16206
90bb2039
UD
16207 [BZ #12852]
16208 * posix/glob.c (glob): Check passed in values before using them in
16209 expressions to avoid some overflows.
16210 (glob_in_dir): Likewise.
16211
5644ef54
UD
16212 [BZ #13007]
16213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16214 check for AVX enablement so that we don't crash with old kernels and
16215 new hardware.
16216 * elf/tst-audit4.c: Add same checks here.
16217 * elf/tst-audit6.c: Likewise.
16218
16219 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16220
bfc9dc9b
AS
162212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16222
16223 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16224
702e64bb
UD
162252011-07-20 Ulrich Drepper <drepper@gmail.com>
16226
16227 * po/cs.po: Update from translation team.
16228 * po/bg.po: Likewise.
16229
295e904f
MP
162302011-07-12 Marek Polacek <mpolacek@redhat.com>
16231
16232 * misc/sys/cdefs.h: Add support for const attribute.
16233 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16234 to gnu_dev_{major,minor,makedev} functions.
16235
3ff94596
MP
162362011-07-20 Marek Polacek <mpolacek@redhat.com>
16237
16238 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16239
28b59fca
AS
162402011-07-20 Andreas Schwab <schwab@redhat.com>
16241
16242 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16243 strlen results.
16244
19df733e
AK
162452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16246
16247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16248 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16249 register in order to avoid conflicts with the soft frame pointer
16250 being held in r11 when necessary.
16251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16252 (INTERNAL_VSYSCALL_NCS): Likewise.
16253
c8835729
MP
162542011-07-14 Marek Polacek <mpolacek@redhat.com>
16255
16256 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16257 * elf/dl-fini.c (_dl_fini): Adjust caller.
16258 * elf/dl-close.c (_dl_close_worker): Likewise.
16259 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16260
b902330c
MP
162612011-07-15 Marek Polacek <mpolacek@redhat.com>
16262
8991e135
MP
16263 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16264 "aux_cache->nlibs < 0".
16265
b902330c
MP
16266 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16267 in the reload-count case.
16268
99710781
LD
162692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16270
16271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16272 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16273 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16274 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16275 * sysdeps/x86_64/multiarch/strcat.S: New file.
16276 * sysdeps/x86_64/multiarch/strncat.S: New file.
16277 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16278 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16279 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16280 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16282 (USE_AS_STRCAT): Define.
16283 Add strcat and strncat support.
16284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16285 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16287 * string/strncat.c: Update.
16288 (USE_AS_STRNCAT): Define.
16289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16290 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16291 and i7.
16292 * sysdeps/x86_64/multiarch/init-arch.h
16293 (bit_Prefer_PMINUB_for_stringop): New.
16294 (index_Prefer_PMINUB_for_stringop): Likewise.
16295 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16296 bit_Prefer_PMINUB_for_stringop.
16297
7dc6bd90
UD
162982011-07-19 Ulrich Drepper <drepper@gmail.com>
16299
16300 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16301 buffer64.
16302 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16303 of casting of buffer.
16304 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16305 buffer32 and buffer64.
16306 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16307 writes instead of casting of buffer.
16308 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16309 buffer32.
16310 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16311 casting of buffer.
16312
e0e72284
AS
163132011-07-19 Andreas Schwab <schwab@redhat.com>
16314
16315 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16316
feb1eb0b
UD
163172011-07-19 Ulrich Drepper <drepper@gmail.com>
16318
16319 * nscd/nscd.c (termination_handler): Don't do anything for a database
16320 if it has not yet been initialized.
16321
298711ff
UD
163222011-07-18 Ulrich Drepper <drepper@gmail.com>
16323
16324 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16325
163262011-07-15 Marek Polacek <mpolacek@redhat.com>
16327
16328 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16329
f9d68389
UD
163302011-07-18 Ulrich Drepper <drepper@gmail.com>
16331
16332 * po/nl.po: Update from translation team.
16333 * po/sv.po: Likewise.
16334
db290cf5
RM
163352011-07-16 Roland McGrath <roland@hack.frob.com>
16336
16337 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16338 now disallowed by GCC.
5c550700 16339
fd5e21c7
RM
16340 * configure.in (use-default-link): Default to yes if a test -shared
16341 link meets our qualifications.
16342 * configure: Regenerated.
16343
5c550700
RM
16344 * config.make.in (output-format): New variable.
16345 * configure.in: Check for ld --print-output-format support.
16346 * configure: Regenerated.
16347 * Makerules ($(common-objpfx)format.lds)
16348 [$(output-format) != unknown]: Just use $(output-format),
16349 instead of the linker-script munging.
16350
9fa2c032
RM
163512011-07-14 Roland McGrath <roland@hack.frob.com>
16352
a6928d51
RM
16353 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16354 of $(common-objpfx)shlib.lds.
16355 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16356
661607b3
RM
16357 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16358 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16359
9fa2c032
RM
16360 * configure.in (-z relro check): Adjust test code to add a large
16361 writable data section after it.
16362 * configure: Regenerated.
16363
defe9061
RM
163642011-07-11 Roland McGrath <roland@hack.frob.com>
16365
16366 * configure.in (-z relro check): Fix test code to make the variable
16367 truly const.
16368 * configure: Regenerated.
16369
319b9ad4
UD
163702011-07-11 Ulrich Drepper <drepper@gmail.com>
16371
16372 * nscd/nscd.h (struct traced_file): Define.
16373 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16374 elements. Add traced_files.
16375 (inotify_fd): Declare.
16376 (register_traced_file): Declare.
16377 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16378 (inotify_fd): Export.
16379 (resolv_conf_descr): Remove.
16380 (nscd_init): Move inotify descriptor creation to main.
16381 Don't register files for notification here.
16382 (register_traced_file): New function.
16383 (invalidate_cache): Don't use reset_res to determine whether to call
16384 res_init, go through the list of registered files.
16385 (main_loop_poll): The inotify descriptors are now stored in the
16386 structures for the traced files.
16387 (main_loop_epoll): Likewise
16388 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16389 to __nss_disable_nscd.
16390 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16391 for a database anymore. Check the records for all the registered
16392 files instead.
16393 * nss/Makefile (libnss_files-routines): Add files-init.
16394 (libnss_db-routines): Add db-init.
16395 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16396 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16397 * nss/nss_db/db-init.c: New file.
16398 * nss/nss_files/files-init.c: New file.
16399 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16400 __nss_lookup_function.
16401 (__nss_lookup_function): Call nss_load_library.
16402 (nss_load_all_libraries): New function.
16403 (__nss_disable_nscd): Take parameter with callback function for files
16404 to register. Set is_nscd. Load all the DSOs for the NSS modules
16405 used for the cached services.
16406 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16407 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16408 options for features to all the files in nscd.
16409
16410 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16411
23bee3e8
RM
164122011-07-10 Roland McGrath <roland@hack.frob.com>
16413
16414 * csu/elf-init.c (__libc_csu_init): Comment typo.
16415
46a5b7f0
UD
164162011-07-09 Ulrich Drepper <drepper@gmail.com>
16417
16418 * po/pl.po: Update from translation team.
16419 * po/ja.po: Likewise.
16420 * po/ru.po: Likewise.
16421 * po/ko.po: Likewise.
16422 * po/fr.po: Likewise.
16423
d30cf5bb
RM
164242011-07-09 Roland McGrath <roland@hack.frob.com>
16425
113ddea4
RM
16426 * configure.in (.ctors/.dtors header and trailer check):
16427 Use an empirical test on a built program.
16428 * configure: Regenerated.
16429
574920b4
RM
16430 * configure.in (-z relro check): Use an empirical test on a built DSO.
16431 Detect, but do not require, on ia64.
16432 * configure: Regenerated.
16433
d30cf5bb
RM
16434 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16435 Update tests that use readelf to use $READELF instead.
16436 * configure: Regenerated.
16437
8538fdb3
UD
164382011-07-08 Ulrich Drepper <drepper@gmail.com>
16439
16440 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16441 if the result is not used.
16442
04d08991
AJ
164432011-07-05 Andreas Jaeger <aj@suse.de>
16444
16445 [BZ#9696]
16446 * stdlib/tst-strtod.c: Add testcase.
16447
de283087
AD
164482011-07-07 Ulrich Drepper <drepper@gmail.com>
16449
4e5f31c8 16450 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16451 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16452 The latter has a higher limit. Take additional parameter to pass to
16453 the new function.
16454 (__pathconf): Pass file to __statfs_link_max.
16455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16456 __statfs_link_max.
16457 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16458 __statfs_link_max.
16459
de283087
AD
16460 [BZ #12868]
16461 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16463 Handle Lustre.
16464 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16465 (__statfs_filesize_max): Likewise.
16466 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16467
c75fa153
AJ
164682011-07-05 Andreas Jaeger <aj@suse.de>
16469
16470 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16471
1a544854
UD
164722011-07-06 Marek Polacek <mpolacek@redhat.com>
16473
16474 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16475 `status' variable.
16476 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16477 Likewise.
16478
6f0eec67
UD
164792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16480
16481 * Makefile (strop-tests): Add strncat.
16482 * string/test-strncat.c: New file.
16483
aae30307
UD
164842011-06-30 Marek Polacek <mpolacek@redhat.com>
16485
16486 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16487
c0cfb5eb
UD
164882011-06-21 Andreas Jaeger <aj@suse.de>
16489
16490 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16491 Copy rule from iconvdata/Makefile.
16492
01636b21
UD
164932011-07-06 Ulrich Drepper <drepper@gmail.com>
16494
16495 [BZ #12922]
16496 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16497 but no long options are defined, just return 'W'.
16498
9895c8bc
UD
164992011-06-22 Marek Polacek <mpolacek@redhat.com>
16500
16501 [BZ #9696]
16502 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16503
5d4cf042
UD
165042011-07-06 Ulrich Drepper <drepper@gmail.com>
16505
16506 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16507 netgroups to read.
960e5535 16508 (innetgr): Likewise.
5d4cf042 16509
751eb97e
RM
165102011-07-05 Roland McGrath <roland@hack.frob.com>
16511
16512 * config.make.in (install_root): Default to $(DESTDIR).
16513
f15f1e45
UD
165142011-07-05 Ulrich Drepper <drepper@gmail.com>
16515
16516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16517
4e34ac6a
RM
165182011-07-02 Roland McGrath <roland@hack.frob.com>
16519
5e9b6af4
RM
16520 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16521
84f9ea0f
RM
16522 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16523 containing directory rather than embedding absolute directory names.
16524
ea5ee9f7
RM
16525 * scripts/check-local-headers.sh: Rewritten using awk.
16526 Match by word, not by line. Print error messages for matches.
16527 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16528
1b74661a
RM
16529 * Makerules [shlib-lds-flags empty]:
16530 ($(common-objpfx)libc_pic.opts): New target.
16531 ($(common-objpfx)libc_pic.os.clean): New target.
16532 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16533
16534 * config.make.in (OBJCOPY): New variable.
16535 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16536 * configure: Regenerated.
16537
f781ef40
RM
16538 * config.make.in (use-default-link): New variable.
16539 * configure.in (use_default_link): Grok --with-default-link to set it.
16540 * configure: Regenerated.
16541 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16542 (shlib-lds, shlib-lds-flags): Define to empty.
16543
2d4fa81e
RM
16544 * Makerules (shlib-lds): New variable.
16545 (shlib-lds-flags): New variable.
16546 (build-shlib, build-moduile, build-module-asneeded): Use it.
16547 ($(common-objpfx)libc.so): Use $(shlib-lds).
16548 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16549 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16550
31fffa6b
RM
16551 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16552 DT_FLAGS/DT_FLAGS_1 with zero flags.
16553
4e34ac6a
RM
16554 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16555 linker script munging.
16556
fcfc776b
UD
165572011-07-02 Ulrich Drepper <drepper@gmail.com>
16558
16559 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16560 as 128-bit value.
16561 * crypt/sha512.c (sha512_process_block): Perform total addition using
16562 128-bit if possible.
16563 (__sha512_finish_ctx): Likewise.
16564 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16565 as 64-bit value.
16566 * crypt/sha256.c (SWAP64): Define.
16567 (sha256_process_block): Perform total addition using 64-bit if
16568 possible.
16569 (__sha256_finish_ctx): Likewise.
16570
99231d9a
UD
165712011-07-01 Ulrich Drepper <drepper@gmail.com>
16572
16573 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16575 * nscd/hstcache.c (cache_addhst): Likewise.
16576 * nscd/grpcache.c (cache_addgr): Likewise.
16577 * nscd/aicache.c (addhstaiX): Likewise
16578 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16579
445b4a53
TK
165802011-07-01 Thorsten Kukuk <kukuk@suse.de>
16581
16582 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16584 * nscd/hstcache.c (cache_addhst): Likewise.
16585 * nscd/grpcache.c (cache_addgr): Likewise.
16586 * nscd/aicache.c (addhstaiX): Likewise
16587
6d4d8e8e
AS
165882011-07-01 Andreas Schwab <schwab@redhat.com>
16589
16590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16591 domain only when needed.
16592
89f654c5
AS
165932011-06-30 Andreas Schwab <schwab@redhat.com>
16594
16595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16596 is always restored.
16597
cf3b23ff
UD
165982011-06-29 Ulrich Drepper <drepper@gmail.com>
16599
16600 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16601 are re-adding the entry.
16602 * nscd/servicescache.c (cache_addserv): Likewise.
16603
751626f9
AJ
166042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16605
16606 * sysdeps/generic/dl-irel.h: fix protection against multiple
16607 inclusions.
16608 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16609
9113ea1f
UD
166102011-06-28 Ulrich Drepper <drepper@gmail.com>
16611
5c0b8d90
UD
16612 [BZ #12935]
16613 * malloc/memusage.sh: Fix quoting in message.
16614 * debug/xtrace.sh: Likewise.
16615
9113ea1f
UD
16616 * configure.in: Remove support for --experimental-malloc option, make
16617 it the default.
16618 * config.make.in: Likewise.
16619 * malloc/Makefile: Likewise.
16620
a4172181
AS
166212011-06-27 Andreas Schwab <schwab@redhat.com>
16622
16623 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16624 two-byte characters.
16625
78a7eee7
RM
166262011-06-27 Roland McGrath <roland@hack.frob.com>
16627
62bede13
RM
16628 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16629 AC_CACHE_CHECK invocation.
16630 * configure: Regenerated.
16631
78a7eee7
RM
16632 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16633
5ce33a62
UD
166342011-06-27 Ulrich Drepper <drepper@gmail.com>
16635
034807a9
UD
16636 [BZ #12350]
16637 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16638 bit from old_res_options.
16639
4902da17
UD
16640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16641
5ce33a62
UD
16642 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16643 value type for setfct.
16644
c2344f56
L
166452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16646
16647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16648 __gettimeofday instead of gettimeofday.
16649
68468076
UD
166502011-06-26 Ulrich Drepper <drepper@gmail.com>
16651
16652 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16653
acb0d739
L
166542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16655
16656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16657
16658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16659 info.
16660
8912479f
L
166612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16662
16663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16664 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16665 strcpy-sse2-unaligned strncpy-sse2-unaligned
16666 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16667 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16668 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16669 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16670 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16671 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16673 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16674 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16675 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16676 (STRCPY): Support SSE2 and SSSE3 versions.
16677
d5495a11
UD
166782011-06-24 Ulrich Drepper <drepper@gmail.com>
16679
16680 [BZ #12874]
16681 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16682 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16683 kernels which artificially limit size of requests.
16684
0b1cbaae
L
166852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16686
16687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16688 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16689 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16690 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16691 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16692 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16693 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16694 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16695 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16697 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16698 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16699 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16700 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16701 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16703 Enable unaligned load optimization for Intel Core i3, i5 and i7
16704 processors.
16705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16706 Define.
16707 (index_Fast_Unaligned_Load): Define.
16708 (HAS_FAST_UNALIGNED_LOAD): Define.
16709
07f494a0
MP
167102011-06-23 Marek Polacek <mpolacek@redhat.com>
16711
16712 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16713
fa3fc0fe
UD
167142011-06-22 Ulrich Drepper <drepper@gmail.com>
16715
16716 [BZ #12907]
16717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16718 until it is clear that the information is realy needed.
16719 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16720
e12df166
AS
167212011-06-22 Andreas Schwab <schwab@redhat.com>
16722
16723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16724
852eb34d
UD
167252011-06-22 Ulrich Drepper <drepper@gmail.com>
16726
84e2a551
UD
16727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16728 /sys/devices/system/cpu/online if it is usable.
16729
852eb34d
UD
16730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16731 reading the information from the /proc filesystem to once a second.
16732
6e502e19
UD
167332011-06-21 Andreas Jaeger <aj@suse.de>
16734
16735 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16736 NULL after inclusion of kernel headers.
16737
75d39ff2
UD
167382011-06-21 Ulrich Drepper <drepper@gmail.com>
16739
51f9aa6a
UD
16740 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16741 calls to internal_setent.
16742
c0244a9d
UD
16743 [BZ #12885]
16744 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16745 addresses using gethostbyname4_r ignore IPv4 addresses.
16746
c5e3c2ae
UD
16747 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16748 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16749
75d39ff2
UD
16750 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16751
42675c6f
DM
167522011-06-20 David S. Miller <davem@davemloft.net>
16753
16754 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16755 inclusions.
16756 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16757
16758 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16759 (elf_irel): Use it.
16760 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16761 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16762 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16763 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16764 * sysdeps/x86_64/dl-irel.h: Likewise.
16765
16766 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16767 * elf/dl-sym.c: Likewise.
16768
57912a71
UD
167692011-06-15 Ulrich Drepper <drepper@gmail.com>
16770
16771 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16772 need to dereference resplen2.
16773
ee22793d
AS
167742011-06-14 Andreas Schwab <schwab@redhat.com>
16775
16776 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16777
a9e836b0
UD
167782011-06-15 Ulrich Drepper <drepper@gmail.com>
16779
77fb9117
UD
16780 * Makeconfig: Define vardbdir and inst_vardbdir.
16781 * nss/Makefile: Add rules to install db-Makefile.
16782
40c1b22c
UD
16783 * nss/nss_db/db-XXX.c: Cleanup.
16784
9f2da732
UD
16785 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16786 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16787 GLIBC_PRIVATE.
16788 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16789 * nss/makedb.c: Implement -g option to specify that value strings
16790 are generated and should not be added to table iterated over for
16791 get*ent calls.
16792 * nss/nss_db/db-initgroups.c: New file.
16793
82e9a1f7
UD
16794 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16795 interface.
16796
c41af17e
UD
16797 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16798 (internal_getgrouplist): Adjust to name change.
16799 Update use_initgroups_entry if this is not the first call.
16800 * nss/databases.def: Add initgroups entry.
16801
a9e836b0
UD
16802 * nss/makedb.c (compute_tables): Check result of multiple hash table
16803 sizes to minimize maximum chain length.
16804
2666d441
UD
168052011-06-14 Ulrich Drepper <drepper@gmail.com>
16806
16807 * Versions.def: Add entry for libnss_db.
16808 * shlib-versions: Likewise.
16809 * nss/Makefile: Add rules to build libnss_db.
16810 * nss/Versions: Add libnss_db information. Organize libnss_files
16811 entries better.
16812 * nss/db-Makefile: Add gshadow support. Change rules for the new
16813 makedb progra. Some minor improvements to generate smaller files.
16814 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16815 here from...
16816 * nss/makedb.c: ...here.
16817 Improve database format to be smaller and require less memory at
16818 runtime.
16819 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16820 db anymore.
16821 * nss/nss_db/db-netgrp.c: Likewise.
16822 * nss/nss_db/db-open.c: Likewise.
16823 * nss/nss_files/flies-XXX.x: Adjust comments.
16824 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16825 * nss/nss_files/files-grp.c: Likewise.
16826 * nss/nss_files/files-hosts.c: Likewise.
16827 * nss/nss_files/files-network.c: Likewise.
16828 * nss/nss_files/files-proto.c: Likewise.
16829 * nss/nss_files/files-pwd.c: Likewise.
16830 * nss/nss_files/files-rpc.c: Likewise.
16831 * nss/nss_files/files-service.c: Likewise.
16832 * nss/nss_files/files-sgrp.c: Likewise.
16833 * nss/nss_files/files-spwd.c: Likewise.
16834 * nss/nss_db/db-alias.c: Removed.
16835 * nss/nss_db/dummy-db.h: Removed.
16836
9ee76b5a
UD
168372011-06-02 Ulrich Drepper <drepper@gmail.com>
16838
16839 * nss/makedb.c: Rewritten to not use database library.
16840 * nss/Makefile: Update to build new makedb program.
16841
c71ca1f8
AJ
168422011-06-14 Andreas Jaeger <aj@suse.de>
16843
16844 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16845 memset declaration.
16846
3154bfb8
UD
168472011-06-10 Andreas Schwab <schwab@redhat.com>
16848
16849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16850 tmpbuf.
16851
b350afab
RM
168522011-06-10 Roland McGrath <roland@hack.frob.com>
16853
decd4e50
RM
16854 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16855 * elf/Makefile ($(objpfx)ld.so): Likewise.
16856
5615eaf2
RM
16857 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16858 Don't list ld.so twice in dependencies.
16859
16860 * posix/bug-regex31.c: Include <stdlib.h>.
16861
16862 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16863
16864 * nis/nss_compat/compat-spwd.c
16865 (getspent_next_nss_netgr): Remove unused variable.
16866 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16867
16868 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16869 nonmembers" output to use the right array.
16870
16871 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16872
16873 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16874
16875 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16876 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16877 * catgets/gencat.c (read_input_file): Likewise.
16878 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16879
16880 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16881 variable definition inside #if's controlling its use.
16882
16883 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16884
16885 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16886
16887 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16888
16889 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16890 unreachable code.
16891
16892 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16893
b68e08db
RM
16894 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16895 * configure: Regenerated.
16896
b350afab
RM
16897 * Makerules: Revert last change.
16898 * elf/Makefile: Likewise.
16899
28368601
RM
169002011-06-09 Roland McGrath <roland@hack.frob.com>
16901
16902 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16903 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16904 (reloc-link): Likewise.
16905
11988f8f
UD
169062011-06-09 Ulrich Drepper <drepper@gmail.com>
16907
16908 * elf/Makefile: Add rules to build pldd.
16909 * elf/pldd.c: New file.
16910 * elf/pldd-xx.c: New file.
16911
e80fab37
UD
169122011-06-07 Ulrich Drepper <drepper@gmail.com>
16913
16914 * version.h: Update for 2.15 development version.
16915
9b849836
DM
169162011-06-07 David S. Miller <davem@davemloft.net>
16917
16918 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16919 ifuncs.
16920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16921 elf_machine_lazy_rel): Likewise.
16922 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16924 elf_machine_lazy_rel): Likewise.
16925 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16926 dl_hwcap via passed in argument.
16927 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16928 Likewise.
16929
5a31b283
AK
169302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16931
16932 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16933
069e52f8
RM
169342011-06-06 Roland McGrath <roland@hack.frob.com>
16935
16936 [BZ #12849]
16937 * manual/fdl-1.1.texi: New file, verbatim from:
16938 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16939 * manual/lgpl-2.1.texi: New file, verbatim from:
16940 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16941 * manual/Makefile (licenses): New variable, list those new file names.
16942 (texis): Use it.
16943 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16944
16945 * manual/fdl.texi: File removed.
16946 * manual/lesser.texi: File removed.
16947 * manual/libc.texinfo (Copying, Documentation License):
16948 Use new @include file names, put @appendix directive before @include.
16949
f16846a5
JJ
169502011-06-04 Jakub Jelinek <jakub@redhat.com>
16951
16952 [BZ #12841]
16953 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16954 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16955 (mq_open): Add __NTH.
16956
3d29045b
L
169572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16958
16959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16960 Assume Intel Core i3/i5/i7 processor if AVX is available.
16961
8c297311
UD
169622011-05-31 Ulrich Drepper <drepper@gmail.com>
16963
16964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16965 typo.
16966
c8fc0c91
UD
169672011-05-31 Andreas Schwab <schwab@redhat.com>
16968
16969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16970 memory. Use alloca_account. Fix memory leak when retrying.
16971
5b27a807
UD
169722011-05-31 Ulrich Drepper <drepper@gmail.com>
16973
356f8bc6
UD
16974 * version.h (RELEASE): Bump for 2.14 release.
16975 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16976
5b27a807
UD
16977 * config.make.in (RANLIB): Remove entry.
16978
01f16ab0
UD
169792011-05-30 Ulrich Drepper <drepper@gmail.com>
16980
41fce8bd
UD
16981 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16982 (libc.pot): Work around missing support for .ksh extension in xgettext.
16983
4769ae77
UD
16984 [BZ #12684]
16985 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16986 if both request failed.
16987 (send_dg): In case of server errors clear resplen or *resplen2.
16988
6b1e7d19
UD
16989 [BZ #12454]
16990 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16991 when there are multiple maps.
16992 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16993 (_dl_fini): Remove test here.
16994
01f16ab0
UD
16995 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16996
b1ebd700
UD
169972011-05-29 Ulrich Drepper <drepper@gmail.com>
16998
7ae22829
UD
16999 [BZ #12350]
17000 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17001 bit from old_res_options.
17002 (gaih_inet): Likewise.
17003
553149f6 17004 [BZ #11099]
18a84741 17005 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17006 as signed.
17007
652ffab1
UD
17008 * resolv/res_init.c (res_setoptions): Make the code more compact.
17009
16985fd0
UD
17010 [BZ #11558]
17011 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17012 set RES_USEVC.
17013
0464f746
UD
17014 [BZ #11634]
17015 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17016
7d17596c
UD
17017 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17018
cf6bbbd7
UD
17019 [BZ #11781]
17020 * malloc/malloc.h: Declare malloc hook variables as volatile.
17021
13f1ab36
UD
17022 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17023 in last patch.
17024
b1ebd700
UD
17025 [BZ #11799]
17026 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17027 raise in the comment.
80e2212d
UD
17028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17031
ce67228d
UD
170322011-05-28 Ulrich Drepper <drepper@gmail.com>
17033
8887a920
UD
17034 [BZ #12811]
17035 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17036 grow the buffers more if it already has to be sufficient.
17037 (build_wcs_upper_buffer): Likewise.
17038 * posix/regexec.c (check_matching): Likewise.
17039 (clean_state_log_if_needed): Likewise.
17040 (extend_buffers): Don't enlarge buffers beyond size of the input
17041 buffer.
17042 Patches mostly by Emil Wojak <emil@wojak.eu>.
17043 * posix/bug-regex32.c: New file.
17044 * posix/Makefile (tests): Add bug-regex32.
17045
4f031072
UD
17046 * locale/findlocale.c (_nl_find_locale): Return right away if
17047 _nl_explode_name failed.
17048 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17049
d0478f0c
UD
17050 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17051
de81b246
UD
17052 * debug/xtrace.sh: Unify messages.
17053 * malloc/memusage.sh: Likewise.
17054
c738465a
UD
17055 [BZ #12813]
17056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17057 time symbol from vDSO. Substitute with vsyscall if not available.
17058 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17059 __vdso_time.
17060
f1f929d7
UD
17061 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17062 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17063 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17064 Add sendmmsg and internal_sendmmsg.
17065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17066 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17068
ce67228d
UD
17069 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17070 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17072
e57420c6
UD
170732011-05-27 Ulrich Drepper <drepper@gmail.com>
17074
a8509ca5
UD
17075 [BZ #12813]
17076 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17077 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17078 available.
17079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17080 __vdso_getcpu.
17081
e57420c6
UD
17082 [BZ #12814]
17083 * iconvdata/Makefile (tests): Add bug-iconv9.
17084 * iconvdata/bug-iconv9.c: New file.
17085
4d07db15
AS
170862011-05-27 Andreas Schwab <schwab@redhat.com>
17087
17088 [BZ #12814]
17089 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17090
ea486f69
JJ
170912011-05-25 Jakub Jelinek <jakub@redhat.com>
17092
17093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17094 (struct user_regs_struct): Change intcs field back to cs.
17095
6f038433
UD
170962011-05-25 Ulrich Drepper <drepper@gmail.com>
17097
17098 * po/ja.po: Update from translation team.
17099
67f86a25
UD
171002011-05-23 Ulrich Drepper <drepper@gmail.com>
17101
17102 [BZ #12795]
17103 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17105
def7fbd6
AS
171062011-05-20 Andreas Schwab <schwab@redhat.com>
17107
17108 * stdlib/longlong.h: Update from GCC.
17109
f50ef8f1
AS
171102011-05-23 Andreas Schwab <schwab@redhat.com>
17111
17112 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17113 parameter name.
17114 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17115 Add parameter name.
17116 (__sysconf): Pass it down.
17117
de7ce8f1
UD
171182011-05-22 Ulrich Drepper <drepper@gmail.com>
17119
f2962a71
UD
17120 [BZ #12671]
17121 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17122 some situations.
17123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17124 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17125 add in in __libc_use_alloca calls. Adjust callers.
17126 (glob): Use malloc in some situations.
17127
de7ce8f1
UD
17128 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17129 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17130 pltexit.
17131
aec84f53
UD
171322011-05-21 Ulrich Drepper <drepper@gmail.com>
17133
05bb4a68
UD
17134 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17135 and CLOCK_BOOTTIME_ALARM.
17136
7ea72f99
UD
17137 [BZ #12782]
17138 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17139 is returned.
17140
7e4afad5
UD
17141 * string/_strerror.c (__strerror_r): Print negative errors as signed
17142 numbers.
17143
8e211fec
UD
17144 [BZ #12777]
17145 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17146 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17147 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17148
f7d82dc9
UD
17149 * configure.in: Fix typo in redirection and correct removal of test
17150 files in two cases.
17151
cc9e536d
UD
17152 [BZ #12788]
17153 * locale/setlocale.c (new_composite_name): Fix test to check for
17154 identical name of all categories.
17155
aec84f53
UD
17156 [BZ #12792]
17157 * libio/filedoalloc.c (local_isatty): New function.
17158 (_IO_file_doallocate): Use local_isatty.
17159 * stdio-common/perror.c (perror): In case a new stream is used
17160 forward the stream error.
17161 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17162 error flag.
17163
78e64fdc
RT
171642011-05-20 Ulrich Drepper <drepper@gmail.com>
17165
34a9094f
UD
17166 [BZ #11869]
17167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17168 alloca.
17169 * include/alloca.h (extend_alloca_account): Define.
17170
78e64fdc
RT
17171 [BZ #11857]
17172 * posix/regex.h: Fix comments with documentation of user-accessible
17173 fields after compilation and describe correct free'ing of pattern
17174 after re_compile_pattern.
17175 Patch by Reuben Thomas <rrt@sc3d.org>.
17176
457bddfc
RA
171772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17178
17179 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17180 and -mno-altivec to prevent the compiler from using Altivec and/or
17181 VSX instructions when the corresponding registers are not available.
17182
a4527b51
AS
171832011-05-19 Andreas Schwab <schwab@redhat.com>
17184
17185 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17186
ed690b2f
UD
171872011-05-19 Ulrich Drepper <drepper@gmail.com>
17188
17189 * libio/freopen.c (freopen): Use __dup2, not dup2.
17190 * libio/freopen64.c (freopen64): Likewise.
17191
8db73634
L
171922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 [BZ #12775]
17195 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17196 * math/Makefile (tests): Add test-powl.
17197 (CFLAGS-test-powl.c): Define.
17198 * math/test-powl.c: New file.
17199
0a197a9d
L
172002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17203
ee30c380
UD
172042011-05-17 Ulrich Drepper <drepper@gmail.com>
17205
17206 [BZ #11837]
17207 * iconvdata/gb18030.c: Update to GB18020-2005.
17208
6ce75379
UD
172092011-05-16 Ulrich Drepper <drepper@gmail.com>
17210
a4b89fd8
AR
17211 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17212 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17213 Patch by Aharon Robbins <arnold@skeeve.com>.
17214
ea389b12
UD
17215 [BZ #11892]
17216 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17217 on the stack.
17218
68a3f91f
UD
17219 [BZ #11895]
17220 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17221 through underflows.
17222
15cc7dd1
UD
17223 [BZ #12766]
17224 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17225 point to strings before performing equality test for error_one_per_line
17226 mode.
17227
f3799213
UD
17228 [BZ #11697]
17229 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17230
d79a9c94
UD
17231 [BZ #11820]
17232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17233 (struct user_fpregs_struct): Avoid __uint*_t types.
17234
56e5eb46
UD
17235 [BZ #6420]
17236 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17237 symbol info. Use it instead of calling _dl_addr locally.
17238 (lock_and_info): New function.
17239 (tr_freehook): Call lock_and_info and pass symbol info as additional
17240 parameter to tr_where.
17241 (tr_mallochook): Likewise.
17242 (tr_reallochook): Likewise.
17243 (tr_memalignhook): Likewise.
17244
6ce75379
UD
17245 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17246 used and couldn't be at all thread-safe.
17247
f8a3b5bf
UD
172482011-05-15 Ulrich Drepper <drepper@gmail.com>
17249
94b7cc37
UD
17250 * libio/freopen.c (freopen): Don't close old file descriptor
17251 before the new one is opened. Instead dup the new file descriptor
17252 to the old one after the new stream is created.
17253 * libio/freopen64.c (freopen64): Likewise.
17254 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17255 * libio/fileops.c (_IO_new_file_close_it): Handle new
17256 _IO_FLAGS2_NOCLOSE flag.
17257 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17258 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17259 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17260 _IO_FLAGS2_NOCLOSE flag.
17261 * include/unistd.h: Add hidden_proto for dup3.
17262 Define __have_dup3.
17263 * io/dup3.c: Define hidden symbol.
17264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17265
bd25564e
UD
17266 [BZ #7101]
17267 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17268 when an incomplete long option is used.
17269 * posix/tst-getopt_long1.c: New file.
17270 * posix/Makefile (tests): Add tst-getopt_long1.
17271
c84cfef4
UD
17272 [BZ #10138]
17273 * scripts/config.guess: Update from autoconf-2.68.
17274 * scripts/config.sub: Likewise.
17275
3b85df27
UD
17276 [BZ #10157]
17277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17278 tests into ...
17279 (has_cpuclock): ...this. New function.
17280 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17281 macro here based on has_cpuclock code.
17282
15a856b1
UD
17283 [BZ #10149]
17284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17285 First byte (not low byte) is now always NUL.
17286 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17287
05f399e6
UD
17288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17289 Use non-cancelable interfaces.
17290
10a52685 17291 [BZ #9809]
94ecc67d
UD
17292 * locale/iso-639.def: Add entry for Sorani.
17293
f8a3b5bf
UD
17294 [BZ #11901]
17295 * include/stdlib.h: Move include protection to the right place.
17296 Define abort_msg_s. Declare __abort_msg with it.
17297 * stdlib/abort.c (__abort_msg): Adjust type.
17298 * assert/assert.c (__assert_fail_base): New function. Majority
17299 of code from __assert_fail. Allocate memory for __abort_msg with
17300 mmap.
17301 (__assert_fail): Now call __assert_fail_base.
17302 * assert/assert-perr.c: Remove bulk of implementation. Use
17303 __assert_fail_base.
17304 * include/assert.hL Declare __assert_fail_base.
17305 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17306 mmap.
17307 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17308
1af4e298
UD
173092011-05-14 Ulrich Drepper <drepper@gmail.com>
17310
f8a3b5bf 17311 [BZ #11952]
d26dfc60
MG
17312 [BZ #12453]
17313 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17314 until all modules are registered in the DTV.
17315 * elf/Makefile: Add rules to build and run tst-tls19.
17316 * elf/tst-tls19.c: New file.
17317 * elf/tst-tls19mod1.c: New file.
17318 * elf/tst-tls19mod2.c: New file.
17319 * elf/tst-tls19mod3.c: New file.
17320 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17321
2fc54d6f
UD
17322 [BZ #12083]
17323 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17324 correctly.
17325
98d76b46
UD
17326 [BZ #12601]
17327 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17328 two-byte sequence errors.
17329 * iconvdata/Makefile (tests): Add bug-iconv8.
17330 * iconvdata/bug-iconv8.c: New file.
17331
da3c19ef
UD
17332 [BZ #12626]
17333 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17334 buf2 definition.
17335
ca408c15
UD
17336 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17337
d6f67f7d
UD
17338 [BZ #12432]
17339 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17340 (dummy_getcfa): New function.
17341 (init): Get _Unwind_GetCFA address, use dummy if not found.
17342 (backtrace_helper): In recursion check, also check whether CFA changes.
17343 (__backtrace): Completely initialize arg.
17344
1af4e298 17345 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17346 storing incomplete byte sequence in state object. Avoid testing for
17347 guaranteed too small input if we know there is enough data available.
1af4e298 17348
da62f81b
AS
173492011-05-11 Andreas Schwab <schwab@redhat.com>
17350
17351 * Makeconfig (+link-pie): Indent.
17352 * Rules (binaries-pie): Define if $(have-fpie) and
17353 $(build-shared).
17354 (binaries-shared): Also filter out $(binaries-pie).
17355 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17356 * nscd/Makefile (others-pie): Add nscd.
17357 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17358 ($(objpfx)nscd): Remove command override.
17359 * login/Makefile (others-pie): Add pt_chown.
17360 ($(objpfx)pt_chown): Remove command override.
17361 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17362 remove command overrides.
17363
fcabc0f8
UD
173642011-05-13 Ulrich Drepper <drepper@gmail.com>
17365
20030ae6
UD
17366 * libio/tst_putwc.c: Fix error messages.
17367
fcabc0f8
UD
17368 [BZ #12724]
17369 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17370 currently writing and seek to current position when not.
17371 * libio/Makefile (tests): Add bug-fclose1.
17372 * libio/bug-fclose1.c: New file.
17373
320a5dc0
PB
173742011-05-12 Ulrich Drepper <drepper@gmail.com>
17375
17376 [BZ #12511]
17377 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17378 don't set DF_1_NODELETE here.
17379 (do_lookup_x): When entering new entry test for copy relocation
17380 and if necessary set DF_1_NODELETE flag.
17381 * elf/tst-unique4.cc: New file.
17382 * elf/tst-unique4.h: New file.
17383 * elf/tst-unique4lib.cc: New file.
17384 * elf/Makefile: Add rules to build and run tst-unique4.
17385 Patch by Piotr Bury <pbury@goahead.com>.
17386
22836f52
UD
173872011-05-11 Ulrich Drepper <drepper@gmail.com>
17388
f574184a
UD
17389 [BZ #12052]
17390 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17391
e1fb097f
UD
17392 [BZ #12625]
17393 * misc/mntent_r.c (addmntent): Flush the stream after the output
17394
22836f52
UD
17395 [BZ #12393]
17396 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17397 (is_trusted_path_normalize): Skip initial colon. Append slash
17398 to empty buffer. Duplicate is_trusted_path code but allow
17399 constructed patch to be prefix.
17400 (is_dst): Allow $ORIGIN followed by /.
17401 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17402 Correct testing of result of is_trusted_path_normalize
17403 (decompose_rpath): Fix warning.
17404
7b3b0b2a
UD
174052011-05-10 Ulrich Drepper <drepper@gmail.com>
17406
17407 [BZ #11257]
17408 * grp/initgroups.c (internal_getgrouplist): When we found the service
17409 list through the initgroups entry in nsswitch.conf do not always
17410 continue on a successful lookup. Don't always use the
eac80ce2 17411 __nss_group_database value if it is set.
7b3b0b2a
UD
17412 * nss/nsswitch.conf (initgroups): Change action for successful db
17413 lookup to continue for compatibility.
17414
2a81eaa5
UD
174152011-05-09 Ulrich Drepper <drepper@gmail.com>
17416
be97a69e
UD
17417 [BZ #11532]
17418 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17419 and CP774 modules.
17420 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17421 and CP774 modules.
17422 * iconvdata/tst-tables.sh: Likewise.
17423 * iconvdata/cp770.c: New file.
17424 * iconvdata/cp771.c: New file.
17425 * iconvdata/cp772.c: New file.
17426 * iconvdata/cp773.c: New file.
17427 * iconvdata/cp774.c: New file.
17428 * iconvdata/testdata/CP770: New file.
17429 * iconvdata/testdata/CP770..UTF8: New file.
17430 * iconvdata/testdata/CP771: New file.
17431 * iconvdata/testdata/CP771..UTF8: New file.
17432 * iconvdata/testdata/CP772: New file.
17433 * iconvdata/testdata/CP772..UTF8: New file.
17434 * iconvdata/testdata/CP773: New file.
17435 * iconvdata/testdata/CP773..UTF8: New file.
17436 * iconvdata/testdata/CP774: New file.
17437 * iconvdata/testdata/CP774..UTF8: New file.
17438
17439 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17440 END CHARMAP line.
17441 * iconvdata/gen-8bit-gap.sh: Likewise.
17442 * iconvdata/gen-8bit.sh: Likewise.
17443
c1e9e399
UD
17444 * locale/iso-639.def: Add ary entry.
17445
24c55fb3 17446 [BZ #11258]
96b4b1b0
UD
17447 * locale/C-translit.h.in: Add U20A1 transliteration.
17448
bdc2f971
KB
17449 [BZ #12178]
17450 * locale/iso-639.def: Add wae entry.
17451 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17452
2952b117
UD
17453 [BZ #12545]
17454 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17455 for n.
17456
2a81eaa5
UD
17457 [BZ #12711]
17458 * locale/C-translit.h.in: Add entry for U20B9.
17459 Patch by pravin.d.s@gmail.com.
17460
28377d1b
UD
174612011-05-08 Ulrich Drepper <drepper@gmail.com>
17462
7fb90fb8
UD
17463 [BZ #12713]
17464 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17465 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17466 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17467 in rtld. Use *stat64.
7fb90fb8 17468 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17469 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17470 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17471 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17472 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17473 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17474 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17475 __fstatat64 macros.
7fb90fb8
UD
17476 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17477 * dirent/rewinddir.c: Add libc_hidden_def.
17478 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17479 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17480
28377d1b
UD
17481 * include/dirent.h (__alloc_dir): Add flags parameter.
17482 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17483 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17484 __alloc_dir.
17485 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17486 from fdopendir if O_CLOEXEC is already set.
17487
66bdbaa4
AM
174882011-03-15 Alan Modra <amodra@gmail.com>
17489
17490 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17491 l_tls_firstbyte_offset non-zero. Save padding offset in
17492 l_tls_firstbyte_offset for later use.
17493 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17494 freeing static tls block.
17495
95721191
JN
174962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17497
17498 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17499 where #ifdef was intended. The intent is to prevent ARG_MAX from
17500 being defined by the kernel headers.
17501
f87dfb1f
UD
175022011-05-07 Ulrich Drepper <drepper@gmail.com>
17503
17504 [BZ #12734]
17505 * resolv/resolv.h: Define RES_NOTLDQUERY.
17506 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17507 no-tld-query and set RES_NOTLDQUERY.
17508 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17509 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17510 modern BIND to search name as TLD unless forbidden.
17511
47c3cd7a
UD
175122011-05-07 Petr Baudis <pasky@suse.cz>
17513 Ulrich Drepper <drepper@gmail.com>
17514
17515 [BZ #12393]
17516 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17517 (is_trusted_path): ...to here.
c1e9ea35 17518 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17519 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17520 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17521
8a35c912
PP
175222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17523
17524 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17525 __BEGIN/__END_DECLS.
17526
acd41f47
UD
175272011-05-06 Ulrich Drepper <drepper@gmail.com>
17528
17529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17530 NSS_STATUS_NOTFOUND if no record was found.
17531
597df647
AS
175322011-05-05 Andreas Schwab <schwab@redhat.com>
17533
17534 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17535 (headers-not-in-tirpc): Remove rpc/netdb.h
17536 * resolv/netdb.h: Revert last change.
17537
b9af1301
PP
175382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17539
17540 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17541 circular dependency between libgcc.a and libc.a.
17542
4e34d5f5
AS
175432011-05-05 Andreas Schwab <schwab@redhat.com>
17544
17545 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17546 * nis/Makefile: Don't install rpcsvc/*.
17547 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17548 instead of <rpc/types.h>.
17549 (MAXHOSTNAMELEN): Define.
17550
00ee369c
AS
175512011-05-03 Andreas Schwab <schwab@redhat.com>
17552
17553 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17554
0b592a30
MB
175552011-04-28 Maciej Babinski <mbabinski@google.com>
17556
17557 [BZ #12714]
17558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17559 gethostbyname4_r when IPv6 results are possible.
17560
6e04cbbe
UD
175612011-05-02 Ulrich Drepper <drepper@gmail.com>
17562
17563 [BZ #12723]
17564 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17565 _PC_PIPE_BUF handling.
17566
e4ecafe0
BH
175672011-04-30 Bruno Haible <bruno@clisp.org>
17568
17569 [BZ #12717]
17570 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17571 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17572 to 'int'.
17573 * inet/getnameinfo.c (getnameinfo): Likewise.
17574
125ee683
UD
175752011-04-29 Ulrich Drepper <drepper@gmail.com>
17576
17577 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17578 to groups setting in database lookup.
17579 * nss/nsswitch.conf: Add initgroups entry.
17580
b722481a
EB
175812011-04-22 Ulrich Drepper <drepper@gmail.com>
17582
17583 [BZ #12685]
17584 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17585 mode string.
17586 Patch by Eric Blake <eblake@redhat.com>.
17587
4df46dbd
L
175882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 * sunrpc/Makefile (need-export-routines): Add svc_run.
17591 (routines): Remove svc_run.
17592 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17593 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17594 * sunrpc/svc_run.c (svc_run): Likewise.
17595 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17596
e84142d2
UD
175972011-04-21 Ulrich Drepper <drepper@gmail.com>
17598
17599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17600 problem in reallocation in last patch.
17601
877175d8
UD
176022011-04-20 Ulrich Drepper <drepper@gmail.com>
17603
17604 * sunrpc/Makefile: Move inclusion of Rules.
17605
ab8eed78
UD
176062011-04-19 Ulrich Drepper <drepper@gmail.com>
17607
17608 * nss/nss_files/files-initgroups.c: New file.
17609 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17610 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17611 _nss_files_initgroups_dyn.
17612
e3d8f584
RS
176132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17614
17615 * elf/elf.h (R_ARM_IRELATIVE): Define.
17616
af190f45
UD
176172011-04-19 Ulrich Drepper <drepper@gmail.com>
17618
17619 * po/ru.po: Update from translation team.
17620
53cf59ef
UD
176212011-04-17 Ulrich Drepper <drepper@gmail.com>
17622
17623 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17624 dependencies.
17625
4c559bcd
MF
176262011-02-06 Mike Frysinger <vapier@gentoo.org>
17627
17628 [BZ #12653]
17629 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17630 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17631 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17633 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17634
4420675c
AS
176352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17636
17637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17638 differing bytes.
17639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17640 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17642
75ea32ab
UD
176432011-04-17 Ulrich Drepper <drepper@gmail.com>
17644
17645 [BZ #12420]
17646 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17647 storing it.
17648 * stdlib/bug-getcontext.c: New file.
17649 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17650
27390476
AK
176512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17652
17653 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17654 instructions into .machine "z9-109".
17655 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17656 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17657
10442705
AK
176582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17659
17660 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17661 between environment variables and auxiliary vector.
17662
7b57bfe5
UD
176632011-04-16 Ulrich Drepper <drepper@gmail.com>
17664
17665 * Makefile: Add rules to build linkobj/libc.so.
17666 * include/libc-symbols.h: Define libc_hidden_nolink.
17667 * include/rpc/auth.h: Mark functions which are to be hidden.
17668 * include/rpc/auth_des.h: Likewise.
17669 * include/rpc/auth_unix.h: Likewise.
17670 * include/rpc/clnt.h: Likewise.
17671 * include/rpc/des_crypt.h: Likewise.
17672 * include/rpc/key_prot.h: Likewise.
17673 * include/rpc/pmap_clnt.h: Likewise.
17674 * include/rpc/pmap_prot.h: Likewise.
17675 * include/rpc/pmap_rmt.h: Likewise.
17676 * include/rpc/rpc_msg.h: Likewise.
17677 * include/rpc/svc.h: Likewise.
17678 * include/rpc/svc_auth.h: Likewise.
17679 * include/rpc/xdr.h: Likewise.
17680 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17681 * nss/Makefile: Likewise.
17682 * sunrpc/Makefile: Don't install headers. Build library with normal
17683 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17684 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17685 for the compat linking library. Remove use of INTDEF/INTUSE.
17686 * sunrpc/auth_none.c: Likewise.
17687 * sunrpc/auth_unix.c: Likewise.
17688 * sunrpc/authdes_prot.c: Likewise.
17689 * sunrpc/authuxprot.c: Likewise.
17690 * sunrpc/clnt_gen.c: Likewise.
17691 * sunrpc/clnt_perr.c: Likewise.
17692 * sunrpc/clnt_raw.c: Likewise.
17693 * sunrpc/clnt_simp.c: Likewise.
17694 * sunrpc/clnt_tcp.c: Likewise.
17695 * sunrpc/clnt_udp.c: Likewise.
17696 * sunrpc/clnt_unix.c: Likewise.
17697 * sunrpc/des_crypt.c: Likewise.
17698 * sunrpc/des_soft.c: Likewise.
17699 * sunrpc/get_myaddr.c: Likewise.
17700 * sunrpc/key_call.c: Likewise.
17701 * sunrpc/key_prot.c: Likewise.
17702 * sunrpc/netname.c: Likewise.
17703 * sunrpc/pm_getmaps.c: Likewise.
17704 * sunrpc/pm_getport.c: Likewise.
17705 * sunrpc/pmap_clnt.c: Likewise.
17706 * sunrpc/pmap_prot.c: Likewise.
17707 * sunrpc/pmap_prot2.c: Likewise.
17708 * sunrpc/pmap_rmt.c: Likewise.
17709 * sunrpc/publickey.c: Likewise.
17710 * sunrpc/rpc_cmsg.c: Likewise.
17711 * sunrpc/rpc_common.c: Likewise.
17712 * sunrpc/rpc_dtable.c: Likewise.
17713 * sunrpc/rpc_prot.c: Likewise.
17714 * sunrpc/rpc_thread.c: Likewise.
17715 * sunrpc/rtime.c: Likewise.
17716 * sunrpc/svc.c: Likewise.
17717 * sunrpc/svc_auth.c: Likewise.
17718 * sunrpc/svc_authux.c: Likewise.
17719 * sunrpc/svc_raw.c: Likewise.
17720 * sunrpc/svc_run.c: Likewise.
17721 * sunrpc/svc_simple.c: Likewise.
17722 * sunrpc/svc_tcp.c: Likewise.
17723 * sunrpc/svc_udp.c: Likewise.
17724 * sunrpc/svc_unix.c: Likewise.
17725 * sunrpc/svcauth_des.c: Likewise.
17726 * sunrpc/xcrypt.c: Likewise.
17727 * sunrpc/xdr.c: Likewise.
17728 * sunrpc/xdr_array.c: Likewise.
17729 * sunrpc/xdr_float.c: Likewise.
17730 * sunrpc/xdr_intXX_t.c: Likewise.
17731 * sunrpc/xdr_mem.c: Likewise.
17732 * sunrpc/xdr_rec.c: Likewise.
17733 * sunrpc/xdr_ref.c: Likewise.
17734 * sunrpc/xdr_sizeof.c: Likewise.
17735 * sunrpc/xdr_stdio.c: Likewise.
17736
e6c61494
UD
177372011-04-10 Ulrich Drepper <drepper@gmail.com>
17738
17739 [BZ #12650]
17740 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17741 * sysdeps/ia64/dl-tls.h: Likewise.
17742 * sysdeps/powerpc/dl-tls.h: Likewise.
17743 * sysdeps/s390/dl-tls.h: Likewise.
17744 * sysdeps/sh/dl-tls.h: Likewise.
17745 * sysdeps/sparc/dl-tls.h: Likewise.
17746 * sysdeps/x86_64/dl-tls.h: Likewise.
17747 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17748
34fe483e
AS
177492011-03-14 Andreas Schwab <schwab@redhat.com>
17750
17751 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17752 rpath element also skip the following colon.
17753 (expand_dynamic_string_token): Add is_path parameter and pass
17754 down to DL_DST_REQUIRED and _dl_dst_substitute.
17755 (decompose_rpath): Call expand_dynamic_string_token with
17756 non-zero is_path. Ignore empty rpaths.
17757 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17758 with zero is_path.
17759
f12a32e6
AS
177602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17761
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17763 Make cancelable.
17764
38a7d692
UD
177652011-04-09 Ulrich Drepper <drepper@gmail.com>
17766
17767 [BZ #12655]
17768 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17769 Patch by Filipe David Manana <fdmanana@apache.org>.
17770
e451d22b
AS
177712011-04-07 Andreas Schwab <schwab@redhat.com>
17772
17773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17774 Maintain aligned stack.
17775 (CHECK_RSP): Remove unused macro.
17776
dedc7c7b
UD
177772011-04-03 Ulrich Drepper <drepper@gmail.com>
17778
17779 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17781
94521213
UD
177822011-04-02 Ulrich Drepper <drepper@gmail.com>
17783
17784 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17785
8cb700c0 17786 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17787
0354e355
L
177882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 [BZ #12518]
17791 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17792 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17793 * sysdeps/x86_64/memmove.c: New file.
17794 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17795 (memcpy): Renamed to ...
17796 (__new_memcpy): This.
17797 (memcpy): Provide GLIBC_2_14 memcpy.
17798 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17799 (memcpy): Provide GLIBC_2_2_5 memcpy.
17800
8593482f
UD
178012011-04-01 Ulrich Drepper <drepper@gmail.com>
17802
17803 [BZ #12631]
17804 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17805
81a5726b
AS
178062011-03-30 Andreas Schwab <schwab@redhat.com>
17807
17808 * misc/syncfs.c: New file.
17809 * misc/Makefile (routines): Add syncfs.
17810 * posix/unistd.h: Declare syncfs.
17811 * sysdeps/unix/syscalls.list: Add syncfs.
17812
00e5419f
AS
178132011-04-01 Andreas Schwab <schwab@redhat.com>
17814
17815 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17816 open_by_handle_at.
17817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17818 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17822 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17824
748876bf
UD
178252011-04-01 Ulrich Drepper <drepper@gmail.com>
17826
658e451d
UD
17827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17828 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17834
748876bf
UD
17835 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17836 sync_file_range.c with -fexceptions.
17837 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17838 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17839 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17840 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17841 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17842 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17844 sync_file_range as cancellation point
17845 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17846 now a wrapper around __call_sync_file_range with cancellation handling.
17847 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17848 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17849 function name to __call_sync_file_range.
17850 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17851 Add call_sync_file_range.
748876bf 17852
6e63d5e1
AS
178532011-04-01 Andreas Schwab <schwab@redhat.com>
17854
17855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17856 bits/timex.h.
6e63d5e1 17857
46998f74
UD
178582011-04-01 Ulrich Drepper <drepper@gmail.com>
17859
4c1423ed
UD
17860 * iconv/iconv.h: Fix typo in comment.
17861 * io/fcntl.h: Likewise.
17862 * libio/stdio.h: Likewise.
17863 * posix/spawn.h: Likewise.
17864 * posix/unistd.h: Likewise.
17865 * stdlib/stdlib.h: Likewise.
17866 * time/time.h: Likewise.
17867 * wcsmbs/wchar.h: Likewise.
17868
158648c0
UD
17869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17870 open_by_handle): Add.
17871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17872 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17873 Augment a few comments.
17874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17879 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17880 open_by_handle.
17881
46998f74
UD
17882 * io/fcntl.h (AT_EMPTY_PATH): Define.
17883
83fe108b
UD
178842011-03-30 Ulrich Drepper <drepper@gmail.com>
17885
17886 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17887 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17888 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17889 to...
17890 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17891 * Versions.def: Add GLIBC_2.14.
17892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17893 Export.
83fe108b 17894
bb242059
UD
178952011-03-22 Ulrich Drepper <drepper@gmail.com>
17896
17897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17898 round counter.
17899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17900
c97a1282
L
179012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17902
17903 [BZ #12597]
17904 * string/test-strncmp.c (do_page_test): New function.
17905 (check2): Likewise.
17906 (test_main): Call check2.
17907 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17908
2a115601
UD
179092011-03-20 Ulrich Drepper <drepper@gmail.com>
17910
17911 [BZ #12587]
17912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17913 Handle cache information in CPU leaf 4.
17914 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17915
8126d904
UD
179162011-03-18 Ulrich Drepper <drepper@gmail.com>
17917
042c49c6 17918 [BZ #12583]
8126d904
UD
17919 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17920 character representation.
17921 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17922
ccfe366e
RA
179232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17924
17925 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17926 END(__isnan) to END(__isnanf) to match function entry point/label
17927 EALIGN(__isnanf,...).
17928
c6e13027
JJ
179292011-03-10 Jakub Jelinek <jakub@redhat.com>
17930
17931 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17932
33f85a3f
UD
179332011-03-10 Ulrich Drepper <drepper@gmail.com>
17934
028478fa
UD
17935 [BZ #12510]
17936 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17937 copy from the symbol referenced in the relocation to initialize the
17938 used variable.
17939 Patch by Piotr Bury <pbury@goahead.com>.
17940 * elf/Makefile: Add rules to build and tst-unique3.
17941 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17942 * elf/tst-unique3.cc: New file.
17943 * elf/tst-unique3.h: New file.
17944 * elf/tst-unique3lib.cc: New file.
17945 * elf/tst-unique3lib2.cc: New file.
17946
33f85a3f
UD
17947 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17948
03592fc7
MF
179492011-03-10 Mike Frysinger <vapier@gentoo.org>
17950
17951 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17952 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17953 to _start.
03592fc7 17954
6a5ee102
UD
179552011-03-06 Ulrich Drepper <drepper@gmail.com>
17956
17957 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17958 to-be-loaded object along a path to loader is ld.so.
17959
7e4ba49c
HJ
179602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17961 Ulrich Drepper <drepper@gmail.com>
17962
17963 * sysdeps/x86_64/memset.S: After aligning destination, code
17964 branches to different locations depending on the value of
17965 misalignment, when multiarch is enabled. Fix this.
17966
179672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17968
17969 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17970 Set _x86_64_preferred_memory_instruction for AMD processsors.
17971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17972 Set bit_Prefer_SSE_for_memop for AMD processors.
17973
13a804de
UD
179742011-03-04 Ulrich Drepper <drepper@gmail.com>
17975
17976 * libio/fmemopen.c (fmemopen): Optimize a bit.
17977
9d25c392
AS
179782011-03-03 Andreas Schwab <schwab@redhat.com>
17979
17980 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17981
a5543c6a
RM
179822011-03-03 Roland McGrath <roland@redhat.com>
17983
17984 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17985
012d35f7
DM
179862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17987
7e4ba49c 17988 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17989 __bzero_ultra1 instead of __memset_ultra1.
17990
4bff6e01
AS
179912011-02-23 Andreas Schwab <schwab@redhat.com>
17992 Ulrich Drepper <drepper@gmail.com>
17993
17994 [BZ #12509]
17995 * include/link.h (struct link_map): Add l_orig_initfini.
17996 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17997 returning unsuccessfully.
17998 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17999 close of a file loaded at startup, restore the original l_initfini
18000 list.
18001 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18002 list, store the pointer.
18003 * elf/Makefile ($(objpfx)noload-mem): New rule.
18004 (noload-ENV): Define.
18005 (tests): Add $(objpfx)noload-mem.
18006 * elf/noload.c: Include <memcheck.h>.
18007 (main): Call mtrace. Close all opened handles.
18008
f2092faf
AS
180092011-02-17 Andreas Schwab <schwab@redhat.com>
18010
18011 [BZ #12454]
18012 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18013 dependencies are missing.
18014
6c8a2e88
ST
180152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18016
f2092faf 18017 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18018 Hurd needs munmap.
18019 * sysdeps/mach/hurd/ifreq.h: New file.
18020
84a42118
PB
180212011-01-27 Petr Baudis <pasky@suse.cz>
18022 Ulrich Drepper <drepper@gmail.com>
18023
071f805e 18024 [BZ 12445]#
84a42118
PB
18025 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18026 to extend_alloca().
18027 * stdio-common/bug23.c: New file.
18028 * stdio-common/Makefile (tests): Add bug23.
18029
e23fe25b
AS
180302010-09-28 Andreas Schwab <schwab@redhat.com>
18031 Ulrich Drepper <drepper@gmail.com>
18032
18033 [BZ #12489]
18034 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18035 before performing relro protection. At old place add assertion
18036 to make sure nothing changed.
18037
d3f02e10
NS
180382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18039 Glauber de Oliveira Costa <glommer@gmail.com>
18040
18041 * elf/elf.h: Add new ARM TLS relocs.
18042
d55fd7a5
RA
180432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18044
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18046 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18047 cast from r3.
18048 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18049 'tests' variable.
18050 * sysdeps/wordsize-64/tst-writev.c: New file.
18051
2206397e
RA
180522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18053
18054 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18055 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18056 insns in _dl_start to prevent a TOC reference before relocs are
18057 resolved.
18058
e9433893
UD
180592011-02-15 Ulrich Drepper <drepper@gmail.com>
18060
18061 [BZ #12469]
18062 * Makeconfig: Remove RANLIB definition.
18063 * Makerules: Don't use RANLIB.
18064 * aclocal.m4: Remove ranlib test.
18065 * configure.in: No need to check for ranlib.
18066 * elf/rtld-Rules: Don't use RANLIB.
18067
f75286c6
ST
180682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18069
8e31c82d
ST
18070 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18071 protection macro.
18072 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18073 inclusion protection macro.
18074
f75286c6
ST
18075 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18076 SIGRTMIN and SIGRTMAX and print information in that case only when
18077 SIGRTMIN is defined.
18078
c1d0e639
JJ
180792011-02-11 Jakub Jelinek <jakub@redhat.com>
18080
18081 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18082 arginfo fn returning -1.
18083
18084 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18085 and thousands string is zero terminated.
18086
edf9294e
AS
180872011-02-03 Andreas Schwab <schwab@redhat.com>
18088
18089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18090 sysdeps/unix/sysv/linux/bits/socket.h.
18091
2b7e92df
ST
180922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18093
edf9294e
AS
18094 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18095 (__CPU_COUNT): Remove old macros.
18096 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18097 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18098 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18099 (__sched_cpualloc, __sched_cpufree): Add declarations.
18100
a4c7ea7b
UD
181012011-02-05 Ulrich Drepper <drepper@gmail.com>
18102
18103 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18104 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18105 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18106 (readdhstai): Return value of addhstaiX call.
18107 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18108 (addgrbyX): Return value returned by cache_addgr.
18109 (readdgrbyname): Return value returned by addgrbyX.
18110 (readdgrbygid): Likewise.
18111 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18112 (addpwbyX): Return value returned by cache_addpw.
18113 (readdpwbyname): Return value returned by addhstbyX.
18114 (readdpwbyuid): Likewise.
18115 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18116 (addservbyX): Return value returned by cache_addserv.
18117 (readdservbyname): Return value returned by addservbyX:
18118 (readdservbyport): Likewise.
18119 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18120 (addhstbyX): Return value returned by cache_addhst.
18121 (readdhstbyname): Return value returned by addhstbyX.
18122 (readdhstbyaddr): Likewise.
18123 (readdhstbynamev6): Likewise.
18124 (readdhstbyaddrv6): Likewise.
18125 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18126 (readdinitgroups): Return value returned by addinitgroupsX.
18127 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18128 (prune_cache): Keep track of timeout value of re-added entries.
18129 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18130 * nscd/nscd.h: Adjust prototypes of readd* functions.
18131
a0bf67cc
RM
181322011-02-04 Roland McGrath <roland@redhat.com>
18133
18134 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18135 (nis_stats): Likewise.
18136 * nis/nis_modify.c (nis_modify): Likewise.
18137 * nis/nis_remove.c (nis_remove): Likewise.
18138 * nis/nis_add.c (nis_add): Likewise.
18139
18140 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18141
18142 * posix/fnmatch_loop.c: Add some consts.
18143
18144 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18145
435b95eb
L
181462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18147
18148 [BZ #12460]
18149 * config.make.in (config-cflags-novzeroupper): Define.
18150 * configure.in: Substitute libc_cv_cc_novzeroupper.
18151 * elf/Makefile (AVX-CFLAGS): Define.
18152 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18153 (CFLAGS-tst-auditmod4a.c): Likewise.
18154 (CFLAGS-tst-auditmod4b.c): Likewise.
18155 (CFLAGS-tst-auditmod6b.c): Likewise.
18156 (CFLAGS-tst-auditmod6c.c): Likewise.
18157 (CFLAGS-tst-auditmod7b.c): Likewise.
18158 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18159
8517b15e
UD
181602011-02-02 Ulrich Drepper <drepper@gmail.com>
18161
18162 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18163 function to the callback.
18164 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18165
10a656fe
AS
181662011-02-02 Andreas Schwab <schwab@redhat.com>
18167
18168 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18169 of errno.
18170
968dad0a
UD
181712011-01-19 Ulrich Drepper <drepper@gmail.com>
18172
9f94d2ea 18173 [BZ #11724]
968dad0a
UD
18174 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18175 of constructors.
18176 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18177 of destructors.
18178 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18179
18180 [BZ #11724]
18181 * elf/Makefile: Add rules to build and run new test.
18182 * elf/tst-initorder.c: New file.
18183 * elf/tst-initorder.exp: New file.
18184 * elf/tst-initordera1.c: New file.
18185 * elf/tst-initordera2.c: New file.
18186 * elf/tst-initordera3.c: New file.
18187 * elf/tst-initordera4.c: New file.
18188 * elf/tst-initorderb1.c: New file.
18189 * elf/tst-initorderb2.c: New file.
18190 * elf/tst-order-a1.c: New file.
18191 * elf/tst-order-a2.c: New file.
18192 * elf/tst-order-a3.c: New file.
18193 * elf/tst-order-a4.c: New file.
18194 * elf/tst-order-b1.c: New file.
18195 * elf/tst-order-b2.c: New file.
18196 * elf/tst-order-main.c: New file.
18197 New test case by George Gensure <werkt0@gmail.com>.
18198
86e92359
UD
181992010-10-01 Andreas Schwab <schwab@redhat.com>
18200
18201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18202 decoding ACE if AI_CANONIDN.
18203
5d5732b0
UD
182042011-01-18 Ulrich Drepper <drepper@gmail.com>
18205
18206 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18207
a77e8cbc
UD
182082011-01-17 Ulrich Drepper <drepper@gmail.com>
18209
6392473f
UD
18210 * version.h (RELEASE): Bump for 2.13 release.
18211 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18212
620a0529
UD
18213 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18214
18ba70a5
UD
18215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18216 MADV_NOHUGEPAGE.
32465c3e
UD
18217 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18223
c0dafcf1
UD
18224 * posix/getconf.c: Update copyright year.
18225 * catgets/gencat.c: Likewise.
18226 * csu/version.c: Likewise.
18227 * debug/catchsegv.sh: Likewise.
18228 * debug/xtrace.sh: Likewise.
18229 * elf/ldconfig.c: Likewise.
18230 * elf/ldd.bash.in: Likewise.
18231 * elf/sprof.c (print_version): Likewise.
18232 * iconv/iconv_prog.c: Likewise.
18233 * iconv/iconvconfig.c: Likewise.
18234 * locale/programs/locale.c: Likewise.
18235 * locale/programs/localedef.c: Likewise.
18236 * malloc/memusage.sh: Likewise.
18237 * malloc/mtrace.pl: Likewise.
18238 * nscd/nscd.c (print_version): Likewise.
18239 * nss/getent.c: Likewise.
18240
a77e8cbc
UD
18241 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18242 PF_CAIF, and PF_ALG.
18243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18244
77e8bddf
AS
182452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18246
1f20b93a
AS
18247 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18248 (modules-names): Use them.
18249 (ifunc-test-modules, ifunc-pie-tests): Define.
18250 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18251 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18252 (test-extras): Likewise.
18253 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18254 $(compile-command.c).
18255 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18256 (all-built-dso): Define.
18257 (check-textrel.out, check-execstack.out): Depend on it.
18258
77e8bddf
AS
18259 * configure.in: Don't override --enable-multi-arch.
18260
bc425b33
UD
182612011-01-15 Ulrich Drepper <drepper@gmail.com>
18262
18263 [BZ #6812]
18264 * nscd/hstcache.c (tryagain): Define.
18265 (cache_addhst): Return tryagain not notfound for temporary errors.
18266 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18267 failed.
18268
794c3ad3
UD
182692011-01-14 Ulrich Drepper <drepper@gmail.com>
18270
70181fdd
UD
18271 [BZ #10563]
18272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18273 to make the syscall.
18274 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18275
794c3ad3
UD
18276 [BZ #12378]
18277 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18278 and fall back to matching as normal character if the string ends before
18279 the matching ']' is found. This is what POSIX requires.
18280 * posix/testfnm.c: Adjust test result.
18281 * posix/globtest.sh: Adjust test result. Add new test.
18282 * posix/tst-fnmatch.input: Likewise.
18283 * posix/tst-fnmatch2.c: Add new test.
18284
68dc9497
AS
182852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18286
18287 * elf/Makefile (check-execstack): Revert last change. Depend on
18288 check-execstack.h.
18289 (check-execstack.h): New target.
18290 (generated): Add check-execstack.h.
18291 * elf/check-execstack.c: Include "check-execstack.h".
18292 (main): Revert last change.
18293 (handle_file): Return zero if GNU_STACK is absent and
18294 DEFAULT_STACK_PERMS doesn't include PF_X.
18295
451f001b
UD
182962011-01-13 Ulrich Drepper <drepper@gmail.com>
18297
cfa28e56
UD
18298 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18299 in child fails because the descriptor is already closed.
8cf8ce17
UD
18300 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18301 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18303
1086d70d
UD
18304 [BZ #12397]
18305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18306 syscall.
18307
451f001b
UD
18308 [BZ #10484]
18309 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18310 temporary buffer used to handle multi lookups locally.
a85b5cb4 18311 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18312
08769175
UD
183132011-01-12 Ulrich Drepper <drepper@gmail.com>
18314
18315 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18316 loader is ld.so.
18317
5e49c52e
UD
183182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18319
18320 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18321 alignment for SSE2.
18322
60522a5f
UD
183232011-01-12 Ulrich Drepper <drepper@gmail.com>
18324
18325 [BZ #12394]
18326 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18327 characters. When rounding increased number of integer digits recompute
18328 number of groups.
18329 * stdio-common/tst-grouping.c: New file.
18330 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18331
f257bbd7
UD
183322011-01-09 Ulrich Drepper <drepper@gmail.com>
18333
18334 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18335 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18336
18337 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18338 void.
18339 * bits/select.h: Likewise.
18340
fa9c15cb
UD
183412011-01-08 Ulrich Drepper <drepper@gmail.com>
18342
18343 * po/ja.po: Update from translation team.
18344
16c2895f
DM
183452011-01-04 David S. Miller <davem@sunset.davemloft.net>
18346
18347 [BZ #11155]
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18349 implementation just like for lxstat, fxstatat, et al.
18350
2543fef2
JM
183512010-12-27 Jim Meyering <meyering@redhat.com>
18352
18353 [BZ #12348]
18354 * posix/regexec.c (build_trtable): Return failure indication upon
18355 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18356
98727dbe
UD
183572010-12-25 Ulrich Drepper <drepper@gmail.com>
18358
5bd6dc5c
UD
18359 [BZ #12201]
18360 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18361 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18362 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18364
97983464
UD
18365 [BZ #12207]
18366 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18367
98727dbe
UD
18368 [BZ #12204]
18369 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18370 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18371
4a531bb0
L
183722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18373
18374 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18375 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18376 script has SORT_BY_INIT_PRIORITY.
18377 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18378 NO_CTORS_DTORS_SECTIONS is defined.
18379 * elf/soinit.c: Likewise.
18380 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18381 NO_CTORS_DTORS_SECTIONS is defined.
18382 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18383 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18384 * sysdeps/sh/init-first.c: Likewise.
18385 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18386
07eb4b71
UD
183872010-12-24 Ulrich Drepper <drepper@gmail.com>
18388
18389 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18390 always use the slow path.
18391
30950a5f
RA
183922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18393
18394 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18395 similar rule which adds the sysdep directories to the header search in
18396 order to pick up the correct platform stackinfo.h.
18397 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18398 perform test if it is, otherwise return successfully without testing.
18399 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18400 DEFAULT_STACK_PERMS define in stackinfo.h.
18401 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18402 defined in stackinfo.h.
18403 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18404 DEFAULT_STACK_PERMS defined in stackinfo.h.
18405 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18406 * sysdeps/ia64/stackinfo.h: Likewise.
18407 * sysdeps/s390/stackinfo.h: Likewise.
18408 * sysdeps/sh/stackinfo.h: Likewise.
18409 * sysdeps/sparc/stackinfo.h: Likewise.
18410 * sysdeps/x86_64/stackinfo.h: Likewise.
18411 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18412 PF_X for powerpc64. Retain PF_X for powerpc32.
18413
db753e2c
UD
184142010-12-19 Ulrich Drepper <drepper@gmail.com>
18415
14b697f7
UD
18416 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18417 accurately.
db753e2c
UD
18418 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18419 GETDENTS_64BIT_ALIGNED.
18420
28300719
UD
184212010-12-14 Ulrich Drepper <dreper@gmail.com>
18422
14b697f7 18423 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18424
4f197237
AS
184252010-12-10 Andreas Schwab <schwab@redhat.com>
18426
dbb0472f
AS
18427 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18428 _GNU_SOURCE.
18429
4f197237
AS
18430 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18431 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18432 Remove __restrict.
18433 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18434 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18435
fb88ac72
UD
184362010-12-09 Ulrich Drepper <drepper@gmail.com>
18437
18438 [BZ #11655]
18439 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18440 are initialized.
18441
42acbb92
JJ
184422010-12-09 Jakub Jelinek <jakub@redhat.com>
18443
18444 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18445
c038d98d
UD
184462010-12-03 Ulrich Drepper <drepper@gmail.com>
18447
18448 * po/it.po: Update from translation team.
18449
3a4a2499
L
184502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18453 unused codes.
18454
1e24cf6e
UD
184552010-11-30 Ulrich Drepper <drepper@gmail.com>
18456
18457 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18458
a7690819
AS
184592010-11-24 Andreas Schwab <schwab@redhat.com>
18460
18461 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18462 specially.
18463 (gaih_getanswer_slice): Likewise.
18464
3bf8d1b1
JJ
184652010-10-20 Jakub Jelinek <jakub@redhat.com>
18466
18467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18468
6db52fbb
PB
184692010-05-31 Petr Baudis <pasky@suse.cz>
18470
18471 [BZ #11149]
18472 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18473 silently even in the chroot mode.
18474
eaca7569
UD
184752010-11-22 Ulrich Drepper <drepper@gmail.com>
18476
18477 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18478 last patch a bit. Pretty printing
18479
3056dcdb
UD
184802010-05-31 Petr Baudis <pasky@suse.cz>
18481
18482 [BZ #10085]
18483 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18484 initialization of skip_initgroups_dyn.
18485
cf7c9078
UD
184862010-11-19 Ulrich Drepper <drepper@gmail.com>
18487
18488 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18490
a1fb5e3e
UD
184912010-11-16 Ulrich Drepper <drepper@gmail.com>
18492
18493 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18494
3540d66b
AS
184952010-11-11 Andreas Schwab <schwab@redhat.com>
18496
18497 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18498 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18499 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18500 ($(objpfx)tst-fnmatch-mem): New rule.
18501 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18502 * posix/tst-fnmatch.c (main): Call mtrace.
18503
13b69574
L
185042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18505
18506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18507 Support Intel processor model 6 and model 0x2c.
18508
da93d214
LM
185092010-11-10 Luis Machado <luisgpm@br.ibm.com>
18510
18511 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18512 signed comparison.
18513
8ca52c6e
L
185142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 [BZ #12205]
18517 * string/test-strncasecmp.c (check_result): New function.
18518 (do_one_test): Use it.
18519 (check1): New function.
18520 (test_main): Use it.
18521 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18522 Support strcasecmp and strncasecmp.
18523
69da074d
UD
185242010-11-08 Ulrich Drepper <drepper@gmail.com>
18525
18526 [BZ #12194]
18527 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18529
ff02d528
L
185302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18531
18532 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18533 IFUNC support.
18534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18535 memset-x86-64.
18536 * sysdeps/x86_64/multiarch/bzero.S: New file.
18537 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18538 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18539 * sysdeps/x86_64/multiarch/memset.S: New file.
18540 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18542 Set bit_Prefer_SSE_for_memop for Intel processors.
18543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18544 Define.
18545 (index_Prefer_SSE_for_memop): Define.
18546 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18547
344d0b54
LM
185482010-11-04 Luis Machado <luisgpm@br.ibm.com>
18549
18550 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18551 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18552
c0dde15b
UD
185532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18554
18555 [BZ #12191]
18556 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18557 (__x86_64_raw_data_cache_size_half): Likewise.
18558 (__x86_64_raw_shared_cache_size): Likewise.
18559 (__x86_64_raw_shared_cache_size_half): Likewise.
18560
18561 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18562 (__x86_64_raw_data_cache_size_half): Likewise.
18563 (__x86_64_raw_shared_cache_size): Likewise.
18564 (__x86_64_raw_shared_cache_size_half): Likewise.
18565 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18566 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18567 and __x86_64_raw_shared_cache_size_half. Round
18568 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18569 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18570 to multiple of 256 bytes.
18571
0e516e0e
MS
185722010-11-03 Ulrich Drepper <drepper@gmail.com>
18573
18574 [BZ #12167]
18575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18576 of inacessible symlinks. Verify result of symlink before returning it.
18577 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18578 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18579
0e012e87
ER
185802010-10-28 Erich Ritz <erichritz@gmail.com>
18581
18582 * math/math.h (isinf): Fix typo in comment.
18583
de0ff7bc
UD
185842010-11-01 Ulrich Drepper <drepper@gmail.com>
18585
18586 * po/da.po: Update from translation team.
18587
fa41c84d
UD
185882010-10-26 Ulrich Drepper <drepper@gmail.com>
18589
18590 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18591 is added to the list.
18592
f0967738
AK
185932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18594 Ulrich Drepper <drepper@gmail.com>
18595
18596 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18597 the global list here. Move code to...
18598 (_dl_add_to_namespace_list): ...here. New function.
18599 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18600 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18601 * elf/dl-load.c (lose): Don't remove the element from the list.
18602 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18603 (_dl_map_object): Likewise.
18604
186052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18606
18607 [BZ #12159]
18608 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18609 into all bytes of SSE register.
18610 Patch by Richard Li <richardpku@gmail.com>.
18611
f0967738 186122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18613
18614 [BZ #12140]
18615 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18616 perturbing.
18617
d0b9e94f
MB
186182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18619
18620 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18621 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18623 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18625 submachine.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18627
8e9f92e9
AS
186282010-10-22 Andreas Schwab <schwab@redhat.com>
18629
18630 * include/dlfcn.h (__RTLD_SECURE): Define.
18631 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18632 mode & __RTLD_SECURE instead.
18633 (open_path): Rename preloaded parameter to secure.
18634 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18635 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18636 * elf/dl-deps.c (openaux): Likewise.
18637 * elf/rtld.c (struct map_args): Remove is_preloaded.
18638 (map_doit): Don't use it.
18639 (dl_main): Likewise.
18640 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18641 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18642
bc96fbda
AS
186432010-09-09 Andreas Schwab <schwab@redhat.com>
18644
18645 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18646 (sysd-rules-targets): Remove duplicates.
18647 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18648 rtld-%.$o dependency.
18649
22cd1c9b
AS
186502010-10-18 Andreas Schwab <schwab@redhat.com>
18651
18652 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18653 _dl_map_object do it.
18654
18edac48
UD
186552010-10-19 Ulrich Drepper <drepper@gmail.com>
18656
18657 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18658 fast fma builtins, define the macros in the C99 standard.
18659 (FP_FAST_FMAF): Likewise.
18660 (FP_FAST_FMAL): Likewise.
18661 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18662
18663 * bits/mathdef.h: Update copyright year.
18664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18665
d2050124
MM
186662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18667
18668 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18669 builtins, define the macros in the C99 standard.
18670 (FP_FAST_FMAF): Likewise.
18671 (FP_FAST_FMAL): Likewise.
18672 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18673 multiply/add.
18674 (FP_FAST_FMAF): Likewise.
18675
475facd1
JJ
186762010-10-15 Jakub Jelinek <jakub@redhat.com>
18677
18678 [BZ #3268]
18679 * math/libm-test.inc (fma_test): Some new testcases.
18680 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18681 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18682 y and infinite z. Do multiplication by C already in long double.
18683 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18685 y and infinite z. Do bitwise or of inexact bit into u.d.
18686 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18687 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18688 * sysdeps/i386/fpu/s_fma.S: Removed.
18689 * sysdeps/i386/fpu/s_fmal.S: Removed.
18690
7c08a05c
JJ
186912010-10-16 Jakub Jelinek <jakub@redhat.com>
18692
18693 [BZ #3268]
18694 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18696 computation is not scheduled after fetestexcept. Fix value
18697 of minimum denormal long double.
18698
f3f7372d
JJ
186992010-10-14 Jakub Jelinek <jakub@redhat.com>
18700
18701 [BZ #3268]
18702 * math/libm-test.inc (fma_test): Add some more tests.
18703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18704 correctly.
18705
14d43591
AS
187062010-10-15 Andreas Schwab <schwab@redhat.com>
18707
18708 * scripts/data/localplt-s390-linux-gnu.data: New file.
18709 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18710
5e908464
JJ
187112010-10-13 Jakub Jelinek <jakub@redhat.com>
18712
18713 [BZ #3268]
18714 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18715 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18716 instead of dbl-64.
18717 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18718 inlines.
18719 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18721 if one of x and y is very large and the other is subnormal.
18722 * sysdeps/s390/fpu/s_fmaf.c: New file.
18723 * sysdeps/s390/fpu/s_fma.c: New file.
18724 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18725 * sysdeps/powerpc/fpu/s_fma.S: New file.
18726 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18727 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18728 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18729
187302010-10-12 Jakub Jelinek <jakub@redhat.com>
18731
18732 [BZ #3268]
18733 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18734 fma tests.
18735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18736 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18737 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18738 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18739 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18740 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18742
b833d51f
UD
187432010-10-12 Ulrich Drepper <drepper@redhat.com>
18744
18745 [BZ #12078]
18746 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18747 * posix/bug-regex31.input: Add test case.
18748
1751705d
UD
187492010-10-11 Ulrich Drepper <drepper@gmail.com>
18750
e9b9cbf5
UD
18751 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18752 * posix/bug-regex31.input: New file.
18753
18754 [BZ #12078]
18755 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18756 (parse_sub_exp): Fix last change, use postorder.
18757
ef06edbe
UD
18758 * posix/bug-regex31.c: New file.
18759 * posix/Makefile: Add rules to build and run bug-regex31.
18760
a129c80d
UD
18761 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18762
18763 [BZ #12078]
18764 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18765
b76b818e
UD
18766 [BZ #12108]
18767 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18768 to have entries in sys_siglist.
18769
1751705d
UD
18770 [BZ #12093]
18771 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18772 be NULL.
18773
9ff8d36f
JJ
187742010-10-07 Jakub Jelinek <jakub@redhat.com>
18775
18776 [BZ #3268]
18777 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18778 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18779 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18780 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18781 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18782 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18783 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18784 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18785 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18786 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18787 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18788 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18789 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18790 * math/ftestexcept.c (fetestexcept): Likewise.
18791 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18792 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18793 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18794 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18795 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18796 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18797 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18798
af325969
UD
187992010-10-11 Ulrich Drepper <drepper@gmail.com>
18800
c579b202 18801 [BZ #12107]
af325969
UD
18802 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18803 newline.
18804
67a67b95
UD
188052010-10-06 Ulrich Drepper <drepper@gmail.com>
18806
18807 * string/bug-strstr1.c: New file.
18808 * string/Makefile: Add rules to build and run bug-strstr1.
18809
5fb308bc
EB
188102010-10-05 Eric Blake <eblake@redhat.com>
18811
18812 [BZ #12092]
18813 * string/str-two-way.h (two_way_long_needle): Always clear memory
18814 when skipping input due to the shift table.
18815
45db99c7
UD
188162010-10-03 Ulrich Drepper <drepper@gmail.com>
18817
3b111893
UD
18818 [BZ #12005]
18819 * malloc/mcheck.c: Handle large requests.
18820
45db99c7
UD
18821 [BZ #12077]
18822 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18823 for strncmp and strncasecmp.
18824 * string/stratcliff.c: Add tests for strcmp and strncmp.
18825 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18826
cf7a1eb8
NI
188272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18828
18829 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18830 __set_fpscr.
18831
6484ba5e
AJ
188322010-09-30 Andreas Jaeger <aj@suse.de>
18833
18834 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18835 (CGROUP_SUPER_MAGIC): Define.
18836 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18837 Handle btrfs and cgroup file systems.
18838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18839 Likewise.
18840
91c42559
LM
188412010-09-27 Luis Machado <luisgpm@br.ibm.com>
18842
18843 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18844 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18845
87a97932
AK
188462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18847
18848 [BZ #12067]
18849 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18850 trying to locate the ELF header.
18851
c21cc9bc
AS
188522010-09-27 Andreas Schwab <schwab@redhat.com>
18853
18854 [BZ #11611]
18855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18856 Mask out sign-bit copies when constructing f_fsid.
18857
315970f6
PB
188582010-09-24 Petr Baudis <pasky@suse.cz>
18859
18860 * debug/stack_chk_fail_local.c: Add missing licence exception.
18861 * debug/warning-nop.c: Likewise.
18862
1ac7a2c7
JM
188632010-09-15 Joseph Myers <joseph@codesourcery.com>
18864
18865 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18866 implementing getdents64 using getdents syscall, set d_type if
18867 __ASSUME_GETDENTS32_D_TYPE.
18868
56801c50
AS
188692010-09-16 Andreas Schwab <schwab@redhat.com>
18870
18871 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18872 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18873
dda51327
UD
188742010-09-21 Ulrich Drepper <drepper@redhat.com>
18875
18876 [BZ #12037]
18877 * posix/unistd.h: Undo change of feature selection for ftruncate from
18878 2010-01-11.
18879
8ffcee4a
UD
188802010-09-20 Ulrich Drepper <drepper@redhat.com>
18881
a545ecd9 18882 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18883 detection.
18884
e24f0a8b
AS
188852010-09-20 Andreas Schwab <schwab@redhat.com>
18886
18887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18888 fanotify_mark.
18889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18890
7291c56f
AS
188912010-09-14 Andreas Schwab <schwab@redhat.com>
18892
18893 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18894 variables after CHECK_SP call.
18895 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18896
bc5fb037
AS
188972010-09-13 Andreas Schwab <schwab@redhat.com>
18898 Ulrich Drepper <drepper@redhat.com>
18899
18900 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18901 re-relocationg ld.so.
18902 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18903 _dl_init_paths call.
18904 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18905 here anymore.
18906
e66e7419
UD
189072010-09-14 Ulrich Drepper <drepper@redhat.com>
18908
18909 * resolv/res_init.c (__res_vinit): Count the default server we added.
18910
c044aa75
CLT
189112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18912 Ulrich Drepper <drepper@redhat.com>
18913
18914 [BZ #11968]
18915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18916 (____longjmp_chk): Use %ebx for saving value across system call.
18917 Add unwind info.
18918
32cf4069
AS
189192010-09-06 Andreas Schwab <schwab@redhat.com>
18920
18921 * manual/Makefile: Don't mix pattern rules with normal rules.
18922
817328ee
AS
189232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18924
18925 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18926 operation.
18927 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18928 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18929 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18930 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18932 Likewise.
18933
29fddf61
UD
189342010-09-04 Ulrich Drepper <drepper@redhat.com>
18935
18936 [BZ #11979]
18937 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18938 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18939
0959ffc9
UD
189402010-09-02 Ulrich Drepper <drepper@redhat.com>
18941
18942 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18943 * sysdeps/x86_64/addmul_1.S: Likewise.
18944 * sysdeps/x86_64/lshift.S: Likewise.
18945 * sysdeps/x86_64/mul_1.S: Likewise.
18946 * sysdeps/x86_64/rshift.S: Likewise.
18947 * sysdeps/x86_64/sub_n.S: Likewise.
18948 * sysdeps/x86_64/submul_1.S: Likewise.
18949
ece29840
ST
189502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18951
0959ffc9
UD
18952 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18953 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18954 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18955 * bits/sched.h [__need_schedparam]
ece29840 18956 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18957 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18958 (__defined_schedparam): Define to 1.
ece29840
ST
18959 (__sched_param): New structure, identical to sched_param.
18960 (__need_schedparam): Undefine.
18961
e53a31fe
MF
189622010-08-31 Mike Frysinger <vapier@gentoo.org>
18963
fdc0c10d
MF
18964 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18965 (epoll_create1): Declare.
18966
e53a31fe
MF
18967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18968
a726d796
AS
189692010-08-31 Andreas Schwab <schwab@redhat.com>
18970
18971 [BZ #7066]
18972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18973 shifting retval into place.
18974
2f3e3dc7
UD
189752010-09-01 Ulrich Drepper <drepper@redhat.com>
18976
f2933da9
UD
18977 * nis/rpcsvc/nis.h: Update copyright notice.
18978 * nis/rpcsvc/nis.x: Likewise.
18979 * nis/rpcsvc/nis_callback.h: Likewise.
18980 * nis/rpcsvc/nis_callback.x: Likewise.
18981 * nis/rpcsvc/nis_object.x: Likewise.
18982 * nis/rpcsvc/nis_tags.h: Likewise.
18983 * nis/rpcsvc/yp.h: Likewise.
18984 * nis/rpcsvc/yp.x: Likewise.
18985 * nis/rpcsvc/ypupd.h: Likewise.
18986 * nis/yp_xdr.c: Likewise.
18987 * nis/ypupdate_xdr.c: Likewise.
18988
2f3e3dc7
UD
18989 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18990 mainly the body of pmap_getport. Add parameters to specify timeouts.
18991 (pmap_getport): Use __libc_rpc_getport.
18992 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18993 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18994 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18995
f3dcc2f9
AS
189962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18997
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18999 fanotify_mark.
19000
6d34eb5b
RM
190012010-08-27 Roland McGrath <roland@redhat.com>
19002
19003 * sysdeps/i386/i686/multiarch/Makefile
19004 (CFLAGS-varshift.c): New variable.
19005
9ea3de11
UD
190062010-08-27 Ulrich Drepper <drepper@redhat.com>
19007
c96d23fc
UD
19008 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19009 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19010
9ea3de11
UD
19011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19012
19013 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19014
623aac7f
L
190152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19016
19017 * sysdeps/x86_64/strlen.S: Unroll the loop.
19018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19019 strlen-sse2 strlen-sse2-bsf.
19020 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19021 __strlen_no_bsf if bit_Slow_BSF is set.
19022 (__strlen_sse42): Removed.
19023 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19024 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19025
8b2b7715
RM
190262010-08-25 Roland McGrath <roland@redhat.com>
19027
19028 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19029 * sysdeps/x86_64/multiarch/varshift.c: New file.
19030 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19031 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19032 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19034
e73015f2
L
190352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19038 strlen-sse2 strlen-sse2-bsf.
19039 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19040 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19041 (__strlen_sse2): Removed.
19042 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19045 bit_Slow_BSF for Atom.
19046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19047 (index_Slow_BSF): Define.
19048 (HAS_SLOW_BSF): Define.
19049
df24a73e
UD
190502010-08-25 Ulrich Drepper <drepper@redhat.com>
19051
19052 [BZ #10851]
19053 * resolv/res_init.c (__res_vinit): When no server address at all
19054 is given default to loopback.
19055
f2ac4868
RM
190562010-08-24 Roland McGrath <roland@redhat.com>
19057
09055553
RM
19058 * configure.in: Remove config-name.h generation.
19059 * configure: Regenerated.
19060 * config-name.in: File removed.
19061 * scripts/config-uname.sh: New file.
19062 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19063 ($(objdir)config-name.h): New target.
19064
f2ac4868
RM
19065 * sunrpc/rpc_parse.h: Avoid nested comment.
19066
73f27d5e
RH
190672010-08-24 Richard Henderson <rth@redhat.com>
19068 Ulrich Drepper <drepper@redhat.com>
19069 H.J. Lu <hongjiu.lu@intel.com>
19070
19071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19073 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19074 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19075 _mm_alignr_epi8 with _mm_loadu_si128.
19076 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19077 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19078 (__m128i_shift_right): Removed.
19079 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19080 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19081 * sysdeps/x86_64/multiarch/varshift.h: New file.
19082 * sysdeps/x86_64/multiarch/varshift.S: New file.
19083
84b9230c
MF
190842010-08-21 Mike Frysinger <vapier@gentoo.org>
19085
19086 * configure.in: Move assembler checks to before sysdep dir checking.
19087
9bbd0ddc
PB
190882010-08-20 Petr Baudis <pasky@suse.cz>
19089
19090 * LICENSES: Sync the sunrpc license.
19091
9da4bb31
UD
190922010-08-19 Ulrich Drepper <drepper@redhat.com>
19093
a7ab6ec8
UD
19094 * sunrpc/auth_des.c: Update copyright notice once again.
19095 * sunrpc/auth_none.c: Likewise.
19096 * sunrpc/auth_unix.c: Likewise.
19097 * sunrpc/authdes_prot.c: Likewise.
19098 * sunrpc/authuxprot.c: Likewise.
19099 * sunrpc/bindrsvprt.c: Likewise.
19100 * sunrpc/clnt_gen.c: Likewise.
19101 * sunrpc/clnt_perr.c: Likewise.
19102 * sunrpc/clnt_raw.c: Likewise.
19103 * sunrpc/clnt_simp.c: Likewise.
19104 * sunrpc/clnt_tcp.c: Likewise.
19105 * sunrpc/clnt_udp.c: Likewise.
19106 * sunrpc/clnt_unix.c: Likewise.
19107 * sunrpc/des_crypt.c: Likewise.
19108 * sunrpc/des_soft.c: Likewise.
19109 * sunrpc/get_myaddr.c: Likewise.
19110 * sunrpc/getrpcport.c: Likewise.
19111 * sunrpc/key_call.c: Likewise.
19112 * sunrpc/key_prot.c: Likewise.
19113 * sunrpc/openchild.c: Likewise.
19114 * sunrpc/pm_getmaps.c: Likewise.
19115 * sunrpc/pm_getport.c: Likewise.
19116 * sunrpc/pmap_clnt.c: Likewise.
19117 * sunrpc/pmap_prot.c: Likewise.
19118 * sunrpc/pmap_prot2.c: Likewise.
19119 * sunrpc/pmap_rmt.c: Likewise.
19120 * sunrpc/rpc/auth.h: Likewise.
19121 * sunrpc/rpc/auth_unix.h: Likewise.
19122 * sunrpc/rpc/clnt.h: Likewise.
19123 * sunrpc/rpc/des_crypt.h: Likewise.
19124 * sunrpc/rpc/key_prot.h: Likewise.
19125 * sunrpc/rpc/netdb.h: Likewise.
19126 * sunrpc/rpc/pmap_clnt.h: Likewise.
19127 * sunrpc/rpc/pmap_prot.h: Likewise.
19128 * sunrpc/rpc/pmap_rmt.h: Likewise.
19129 * sunrpc/rpc/rpc.h: Likewise.
19130 * sunrpc/rpc/rpc_des.h: Likewise.
19131 * sunrpc/rpc/rpc_msg.h: Likewise.
19132 * sunrpc/rpc/svc.h: Likewise.
19133 * sunrpc/rpc/svc_auth.h: Likewise.
19134 * sunrpc/rpc/types.h: Likewise.
19135 * sunrpc/rpc/xdr.h: Likewise.
19136 * sunrpc/rpc_clntout.c: Likewise.
19137 * sunrpc/rpc_cmsg.c: Likewise.
19138 * sunrpc/rpc_common.c: Likewise.
19139 * sunrpc/rpc_cout.c: Likewise.
19140 * sunrpc/rpc_dtable.c: Likewise.
19141 * sunrpc/rpc_hout.c: Likewise.
19142 * sunrpc/rpc_main.c: Likewise.
19143 * sunrpc/rpc_parse.c: Likewise.
19144 * sunrpc/rpc_parse.h: Likewise.
19145 * sunrpc/rpc_prot.c: Likewise.
19146 * sunrpc/rpc_sample.c: Likewise.
19147 * sunrpc/rpc_scan.c: Likewise.
19148 * sunrpc/rpc_scan.h: Likewise.
19149 * sunrpc/rpc_svcout.c: Likewise.
19150 * sunrpc/rpc_tblout.c: Likewise.
19151 * sunrpc/rpc_util.c: Likewise.
19152 * sunrpc/rpc_util.h: Likewise.
19153 * sunrpc/rpcinfo.c: Likewise.
19154 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19155 * sunrpc/rpcsvc/key_prot.x: Likewise.
19156 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19157 * sunrpc/rpcsvc/mount.x: Likewise.
19158 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19159 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19160 * sunrpc/rpcsvc/rex.x: Likewise.
19161 * sunrpc/rpcsvc/rstat.x: Likewise.
19162 * sunrpc/rpcsvc/rusers.x: Likewise.
19163 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19164 * sunrpc/rpcsvc/spray.x: Likewise.
19165 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19166 * sunrpc/rtime.c: Likewise.
19167 * sunrpc/svc.c: Likewise.
19168 * sunrpc/svc_auth.c: Likewise.
19169 * sunrpc/svc_authux.c: Likewise.
19170 * sunrpc/svc_raw.c: Likewise.
19171 * sunrpc/svc_run.c: Likewise.
19172 * sunrpc/svc_simple.c: Likewise.
19173 * sunrpc/svc_tcp.c: Likewise.
19174 * sunrpc/svc_udp.c: Likewise.
19175 * sunrpc/svc_unix.c: Likewise.
19176 * sunrpc/svcauth_des.c: Likewise.
19177 * sunrpc/xcrypt.c: Likewise.
19178 * sunrpc/xdr.c: Likewise.
19179 * sunrpc/xdr_array.c: Likewise.
19180 * sunrpc/xdr_float.c: Likewise.
19181 * sunrpc/xdr_mem.c: Likewise.
19182 * sunrpc/xdr_rec.c: Likewise.
19183 * sunrpc/xdr_ref.c: Likewise.
19184 * sunrpc/xdr_sizeof.c: Likewise.
19185 * sunrpc/xdr_stdio.c: Likewise.
19186
9da4bb31
UD
19187 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19188 handling.
19189
bdaa77bc
AS
191902010-08-19 Andreas Schwab <schwab@redhat.com>
19191
19192 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19193
fe2f79db
LM
191942010-08-19 Luis Machado <luisgpm@br.ibm.com>
19195
19196 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19197 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19199 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19201 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19202 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19203 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19205 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19206 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19208 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19209 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19210
b9b42ee0
AB
192112010-07-26 Anton Blanchard <anton@samba.org>
19212
19213 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19214 * malloc/arena.c (heap_trim): Likewise.
19215
1c06ba31
UD
192162010-08-16 Ulrich Drepper <drepper@redhat.com>
19217
19218 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19219 here. Not...
19220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19221 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19222
f8392f40
L
192232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * sysdeps/i386/elf/Makefile: New file.
19226
3162f12e
AS
192272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19228
19229 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19230 from fanotify_init.
19231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19233
28c90b2c
UD
192342010-08-15 Ulrich Drepper <drepper@redhat.com>
19235
19236 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19237 of strncasecmp_l.
1feccb6c 19238 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19239
ca6bb004
UD
192402010-08-14 Ulrich Drepper <drepper@redhat.com>
19241
e9f82e0d
UD
19242 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19243 strncase_l-nonascii.
19244 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19245 Add strncase_l-ssse3.
19246 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19247 * sysdeps/x86_64/strcmp.S: Likewise.
19248 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19249 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19250 * sysdeps/x86_64/strncase.S: New file.
19251 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19252 * sysdeps/x86_64/strncase_l.S: New file.
19253 * string/Makefile (strop-tests): Add strncasecmp.
19254 * string/test-strncasecmp.c: New file.
19255
19256 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19257 warning.
19258
ca6bb004
UD
19259 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19260 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19261
052fa7b3
AS
192622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19263
19264 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19265
962dba78
UD
192662010-08-12 Ulrich Drepper <drepper@redhat.com>
19267
19268 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19269 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19270 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19271
bebff237
AM
192722010-05-01 Alan Modra <amodra@gmail.com>
19273
19274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19275 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19276 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19277 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19278 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19279 tidying. Don't tail-call __sigjmp_save for static lib.
19280 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19281 save location.
19282 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19283 (CALL_MCOUNT): Add eh info, and nop after bl.
19284 (TAIL_CALL_SYSCALL_ERROR): New macro.
19285 (PSEUDO_RET): Use it.
19286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19287 Correct save location of integer regs and cr.
19288 (_dl_profile_resolve): Correct cr save location. Delete nops
19289 after bl when SHARED. Reduce cfi size a little by better
19290 placement of cfi directives.
19291 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19292 make a stack frame. Instead use parm save area as a temp.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19294 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19296 Don't make a stack frame for parent, use parm save area.
19297 Increase child stack frame to 112 bytes. Don't save unused reg,
19298 and adjust reg usage. Set up cfi on error recovery and
19299 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19301 (__makecontext): Add dummy nop after jump to exit.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19303 Use correct parm save area and cr save, reduce stack frame.
19304 Correct cfi for possible PSEUDO_RET frame setup.
19305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19306 Branch to local label emitted by PSEUDO_RET rather than
19307 __syscall_error.
19308
02637374
AS
193092010-08-12 Andreas Schwab <schwab@redhat.com>
19310
19311 [BZ #11904]
19312 * locale/programs/locale.c (print_assignment): New function.
19313 (show_locale_vars): Use it.
19314
c3e2f19b
UD
193152010-08-11 Ulrich Drepper <drepper@redhat.com>
19316
3cdaa6ad
UD
19317 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19318 field.
19319 (struct statfs64): Likewise.
19320 (_STATFS_F_FLAGS): Define.
19321 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19322 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19323 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19324 (ST_VALID): Define locally.
19325 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19326 __statvfs_getflags, use the provided value.
19327 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19328 __ASSUME_STATFS_F_FLAGS.
19329
754f7da3
UD
19330 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19331
10b3bedc
UD
19332 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19333 Add sys/fanotify.h.
19334 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19335 fanotify_mask for GLIBC_2.13.
19336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19337 fanotify_init and fanotify_mark.
19338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19339 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19340
c08fb0d7
UD
19341 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19342 Add prlimit.
19343 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19344 prlimit64 for GLIBC_2.13.
19345 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19346 prlimit64.
19347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19348 syscall.
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19350 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19351 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19354 add prlimit alias.
19355 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19356
15bac72b
UD
19357 [BZ #11903]
19358 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19359 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19360
c3e2f19b
UD
19361 * nss/Makefile: Add rules to build and run tst-nss-test1.
19362 * shlib-versions: Add entry for libnss_test1.
19363 * nss/nss_test1.c: New file.
19364 * nss/tst-nss-test1.c: New file.
19365
19366 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19367 (__nss_configure_lookup): Set appropriate entry in
19368 __nss_configure_lookup to true.
19369 * nss/nsswitch.h: Define enum with indeces of databases in
19370 databases and __nss_database_custom arrays. Declare
19371 __nss_database_custom.
19372 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19373 to avoid using nscd when custom rules are installed.
19374 * nss/getXXbyYY_r.c: Likewise.
19375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19376
19377 * nss/nss_files/files-parse.c: Whitespace fixes.
19378
f15ce4d8
UD
193792010-08-09 Ulrich Drepper <drepper@redhat.com>
19380
19381 [BZ #11883]
19382 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19383 * posix/fnmatch_loop.c: Likewise.
19384
d22e4cc9
AK
193852010-07-17 Andi Kleen <ak@linux.intel.com>
19386
19387 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19388 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19389 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19390 * Versions.def [GLIBC_2.13]: Add.
19391
805bc17d
UD
193922010-08-06 Ulrich Drepper <drepper@redhat.com>
19393
19394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19395 Also fail if tpwd after pwuid call is NULL.
19396
5a42321d
ST
193972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19398
19399 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19400 when converting to ms.
19401
fd3ebeda
ST
194022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19403
19404 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19405 EOPNOTSUPP errors with ENOTTY.
19406 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19407 EOPNOTSUPP errors with ENOTTY.
19408
73507d3a
UD
194092010-07-31 Ulrich Drepper <drepper@redhat.com>
19410
19411 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19412 Add strcasecmp_l-ssse3.
19413 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19414 strcasecmp.
19415 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19416 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19417 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19418
fe36dd02
UD
194192010-07-30 Ulrich Drepper <drepper@redhat.com>
19420
66f6765a
UD
19421 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19422
42e08a54
UD
19423 * string/Makefile (strop-tests): Add strcasecmp.
19424 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19425 strcasecmp_l-nonascii.
19426 (gen-as-const-headers): Add locale-defines.sym.
19427 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19428 * sysdeps/x86_64/strcasecmp.S: New file.
19429 * sysdeps/x86_64/strcasecmp_l.S: New file.
19430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19431 * sysdeps/x86_64/locale-defines.sym: New file.
19432 * string/test-strcasecmp.c: New file.
19433
fe36dd02
UD
19434 * string/test-strcasestr.c: Test both ends of the range of characters.
19435 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19436
48cbc0d6
RM
194372010-07-29 Roland McGrath <roland@redhat.com>
19438
76e6d6bc 19439 [BZ #11856]
48cbc0d6
RM
19440 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19441
880113d9
UD
194422010-07-27 Ulrich Drepper <drepper@redhat.com>
19443
19444 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19445 for ld.so.
19446
deb9cabb
AS
194472010-07-27 Andreas Schwab <schwab@redhat.com>
19448
19449 * manual/memory.texi (Malloc Tunable Parameters): Document
19450 M_PERTURB.
19451
1c7570ff
RM
194522010-07-26 Roland McGrath <roland@redhat.com>
19453
19454 [BZ #11840]
19455 * configure.in (-fgnu89-inline check): Set and substitute
19456 gnu89_inline, not libc_cv_gnu89_inline.
19457 * configure: Regenerated.
19458 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19459
24fb0f88
UD
194602010-07-26 Ulrich Drepper <drepper@redhat.com>
19461
19462 * string/test-strnlen.c: New file.
19463 * string/Makefile (strop-tests): Add strnlen.
19464 * string/tester.c (test_strnlen): Add a few more test cases.
19465 * string/tst-strlen.c: Better error reporting.
19466
19467 * sysdeps/x86_64/strnlen.S: New file.
19468
8e96b93a
UD
194692010-07-24 Ulrich Drepper <drepper@redhat.com>
19470
19471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19472 lower-latency instructions.
19473
dbc676d4
UD
194742010-07-23 Ulrich Drepper <drepper@redhat.com>
19475
19476 * string/test-strcasestr.c: New file.
19477 * string/test-strstr.c: New file.
19478 * string/Makefile (strop-tests): Add strstr and strcasestr.
19479 * string/str-two-way.h: Don't undefine MAX.
19480 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19481
f6a31e0e
AS
194822010-07-21 Andreas Schwab <schwab@redhat.com>
19483
19484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19485 strcasestr-nonascii.
19486 (CFLAGS-strcasestr-nonascii.c): Define.
19487 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19489 Remove unused attribute.
19490
5dbc3b6c
RM
194912010-07-20 Roland McGrath <roland@redhat.com>
19492
19493 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19494 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19495 ld.so.cache was broken. With it, there is no way to disable dsocaps
19496 like LD_HWCAP_MASK can disable hwcaps.
19497
23d101d8
EPM
194982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19499
19500 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19501
cc9f2e47
UD
195022010-07-16 Ulrich Drepper <drepper@redhat.com>
19503
19504 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19505 call in strcasestr.
19506 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19507 __strcasestr_sse42_nonascii.
19508 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19509 strcasestr-nonascii.c.
19510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19511
77c1b069
LM
195122010-06-15 Luis Machado <luisgpm@br.ibm.com>
19513
19514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19516 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19518
440566c3
UD
195192010-07-09 Ulrich Drepper <drepper@redhat.com>
19520
19521 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19522 fcntl.
19523
5be9d05d
AS
195242010-07-06 Andreas Schwab <schwab@redhat.com>
19525
c30b7ee2 19526 [BZ #11577]
5be9d05d
AS
19527 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19528 dl_signal_cerror.
19529
8a492a67
UD
195302010-07-06 Ulrich Drepper <drepper@redhat.com>
19531
19532 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19533 _PC_PIPE_BUF using F_GETPIPE_SZ.
19534
713df3d5
RM
195352010-07-05 Roland McGrath <roland@redhat.com>
19536
19537 * manual/arith.texi (Rounding Functions): Fix rint description
19538 implicit in round description.
19539
702e8f14
UD
195402010-07-02 Ulrich Drepper <drepper@redhat.com>
19541
19542 * elf/Makefile: Fix linking for a few tests to make recent linker
19543 happy.
19544
52ed8be9
AS
195452010-06-30 Andreas Schwab <schwab@redhat.com>
19546
19547 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19548 $(common-objpfx)libc_nonshared.a.
19549
f47c9a11
LM
195502010-06-21 Luis Machado <luisgpm@br.ibm.com>
19551
19552 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19553 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19554 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19555 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19556 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19557 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19559 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19574 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19575 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19576 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19577 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19578 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19579 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19580 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19581 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19582 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19583 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19584 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19585 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19600
6fb8cbcb
L
196012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19602
19603 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19604 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19605 * string/memmove.c (memmove): Renamed to ...
19606 (MEMMOVE): ...this. Default to memmove.
19607 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19608 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19609 (END_CHK): Define.
19610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19611 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19612 mempcpy-ssse3-back memmove-ssse3-back.
19613 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19616 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19617 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19618 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19619 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19620 * sysdeps/x86_64/multiarch/memmove.c: New file.
19621 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19622 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19623 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19624 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19626 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19627 Define.
19628 (index_Fast_Copy_Backward): Define.
19629 (HAS_ARCH_FEATURE): Define.
19630 (HAS_FAST_REP_STRING): Define.
19631 (HAS_FAST_COPY_BACKWARD): Define.
19632
4e733bac 196332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19634
19635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19636 Restore proper fallback handling.
19637
63c4ed22
UD
196382010-06-19 Ulrich Drepper <drepper@redhat.com>
19639
ac2b484c
UD
19640 [BZ #11701]
19641 * posix/group_member.c (__group_member): Correct checking loop.
19642
63c4ed22
UD
19643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19644 OOM in getpwuid_r correctly. Return error number when the caller
19645 should return, otherwise -1.
19646 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19647 call returning > 0 value.
19648 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19649
765ade4b
AS
196502010-06-07 Andreas Schwab <schwab@redhat.com>
19651
19652 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19653 libc_nonshared.a from targets in modules-names.
19654
80da2e09
KS
196552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19656
19657 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19658 requires it.
19659
158db122
LM
196602010-06-10 Luis Machado <luisgpm@br.ibm.com>
19661
19662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19666
caa78cf8
AS
196672010-06-02 Andreas Schwab <schwab@redhat.com>
19668
19669 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19670
b2ef2c01
UD
196712010-06-14 Ulrich Drepper <drepper@redhat.com>
19672
19673 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19674 and F_GETPIPE_SZ.
19675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19681
fbd643b6
RM
196822010-06-14 Roland McGrath <roland@redhat.com>
19683
19684 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19685
f32f2869
JJ
196862010-06-07 Jakub Jelinek <jakub@redhat.com>
19687
19688 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19689 __REDIRECT followed by __THROW.
19690 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19691 * posix/getopt.h (getopt): Likewise.
19692
2a50c078
EPM
196932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19694
19695 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19696 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19697 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19698 in AT_FLAGS.
19699 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19700 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19701
eb5ad2eb
LM
197022010-05-28 Luis Machado <luisgpm@br.ibm.com>
19703
19704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19705
3c88fe1e
L
197062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19707
19708 [BZ #11640]
19709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19710 Properly check family and model.
19711
d2f73151
TY
197122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19713
19714 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19715
ebd2e13d
LM
197162010-05-24 Luis Machado <luisgpm@br.ibm.com>
19717
19718 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19719
b32b8b45
UD
197202010-05-21 Ulrich Drepper <drepper@redhat.com>
19721
19722 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19723 symbol reference.
19724
9acbe24d
AS
197252010-05-19 Andreas Schwab <schwab@redhat.com>
19726
19727 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19728 symbol reference.
19729
f0ccf6ea
AS
197302010-05-21 Andreas Schwab <schwab@redhat.com>
19731
3d04ff3a
AS
19732 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19733 and internal_recvmmsg.
19734 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19735 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19737 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19738
f0ccf6ea
AS
19739 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19740 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19741 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19742
5b08ac57
AS
197432010-05-20 Andreas Schwab <schwab@redhat.com>
19744
19745 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19746
4828935d
LM
197472010-05-17 Luis Machado <luisgpm@br.ibm.com>
19748
19749 POWER7 optimizations.
19750 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19751 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19752
373d545e
UD
197532010-05-19 Ulrich Drepper <drepper@redhat.com>
19754
19755 * version.h: Update for 2.13 development version.
19756
21a2b1ae
AS
197572010-05-12 Andrew Stubbs <ams@codesourcery.com>
19758
19759 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19760 exceptions. Return 0.
19761
3f7dcb2b
RM
197622010-05-07 Roland McGrath <roland@redhat.com>
19763
19764 * elf/ldconfig.c (main): Add a const.
19765
5f24d53a 197662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19767
a160f8d8
UD
19768 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19769 (args_options): Add no-idn option.
19770 (ahosts_keys_int): Add idn_flags to ai_flags.
19771 (parse_option): Handle 'i' option to clear idn_flags.
19772
5f24d53a
UD
19773 * malloc/malloc.c (_int_free): Possible race in the most recently
19774 added check. Only act on the data if no current modification
19775 happened.
265bb1ce
UD
19776
19777See ChangeLog.17 for earlier changes.