]> sourceware.org Git - glibc.git/blame - ChangeLog
Clean up *objdir variables.
[glibc.git] / ChangeLog
CommitLineData
d3b9fd9e
RM
12012-09-28 Roland McGrath <roland@hack.frob.com>
2
cc87f7d8
RM
3 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4 (elfobjdir): Move out of conditionals.
5
b1c608fe
RM
6 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8 (__nss_lookup_function): Conditionalize label remove_from_tree on
9 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10
1d9a6d96
DM
112012-09-28 David S. Miller <davem@davemloft.net>
12
13 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15 file.
16 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17 sysdep_routines.
18 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20 when HWCAP_SPARC_CRYPTO is present.
21
72581615
PT
222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23
24 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25
715a900c
JL
262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27
28 [BZ #6530]
29 * stdio-common/vfprintf.c (process_string_arg): Revert
30 2000-07-22 change.
31
322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33
34 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35 for testcase.
36 * stdio-common/tst-sprintf.c: Include <locale.h>
37 (main): Test sprintf's handling of incomplete multibyte
38 characters.
39
9bac1d86
L
402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41
42 * elf/dl-runtime.c (VERSYMIDX): Removed.
43 * elf/dl-version.c (VERSYMIDX): Likewise.
44 * elf/do-rel.h (VERSYMIDX): Likewise.
45 (VALIDX): Likewise.
46 * elf/dynamic-link.h (VERSYMIDX): Likewise.
47 * elf/rtld.c (VALIDX): Likewise.
48 (ADDRIDX): Likewise.
9bac1d86
L
49 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
52 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53 (VALIDX): Likewise.
54 (ADDRIDX): Likewise.
9bac1d86 55
b31606c0
PT
562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57
58 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59
11541177
JL
602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
61
62 [BZ #11438]
63 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64 to global scope.
65 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66 addresses are in the same scope as 192.0.2/24.
67 * posix/gai.conf: Document new scope table defaults.
68
adb26fae
SP
692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70
71 [BZ #5298]
72 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73 for ftell. Compute offsets from write pointers instead.
74 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75
4573c6b0
SP
762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
77
78 [BZ #14543]
79 * libio/Makefile (tests): New test case tst-fseek.
80 * libio/tst-fseek.c: New test case to verify that fseek/ftell
81 combination works in wide mode.
82 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
83 state when the external buffer state changes.
84
aa9bbfe6
DM
852012-09-27 David S. Miller <davem@davemloft.net>
86
87 [BZ #14376]
88 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
89 pass reloc->r_addend in as the 'high' argument to
90 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
91
784421e7
DM
92 * sysdeps/sparc/fpu/libm-test-ulps: Update.
93
c39bc8b8
PT
942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
95
96 * rt/tst-aio2.c: Include <pthread.h>.
97 * rt/tst-aio3.c: Likewise.
98
1ccc2399
SE
992012-09-27 Steve Ellcey <sellcey@mips.com>
100
101 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
102
31ed4153
L
1032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
104
25f5f885
L
105 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
106 contents on [SHARED].
31ed4153 107
b7bfe116
MP
1082012-09-26 Marek Polacek <polacek@redhat.com>
109
110 [BZ #14530]
111 [BZ #13741]
112 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
113 for C++ and GCC <4.3 as well as for non GCC compilers.
114
43c4edba
MT
1152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
116
117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
118
6a1bf82f
RM
1192012-09-25 Roland McGrath <roland@hack.frob.com>
120
121 * Makefile.in (all, install): Declare with .PHONY.
122 Reported by Michael Hope <michael.hope@linaro.org>.
123
8ad11b9a
TMQMF
1242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
125
126 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
127 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
128 system header.
129 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
130 Likewise.
131 (sydep_routines): Add the new and the internal functions.
132 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
133 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
135 (GLIBC_2.17): Add the new function.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
137 (GLIBC_2.17): Likewise.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
139 (GLIBC_2.17): Likewise.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
141 (GLIBC_2.17): Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
143
7e2fca8d
AM
1442012-09-25 Alan Modra <amodra@gmail.com>
145
146 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
147 Add release barrier before setting once_control to say
148 initialisation is done. Add hints on lwarx. Use macro in
149 place of isync.
150 (clear_once_control): Add release barrier.
151
b87c4b24
JM
1522012-09-25 Joseph Myers <joseph@codesourcery.com>
153
d032e0d2
JM
154 [BZ #13629]
155 * math/s_clog.c (__clog): Handle more values close to |z| = 1
156 specially.
157 * math/s_clog10.c (__clog10): Likewise.
158 * math/s_clog10f.c (__clog10f): Likewise.
159 * math/s_clog10l.c (__clog10l): Likewise.
160 * math/s_clogf.c (__clogf): Likewise.
161 * math/s_clogl.c (__clogl): Likewise.
162 * math/Makefile (libm-calls): Add x2y2m1.
163 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
164 (__x2y2m1): Likewise.
165 (__x2y2m1l): Likewise.
166 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
167 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
168 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
170 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
171 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
172 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175
b87c4b24
JM
176 [BZ #14621]
177 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
178 int as type of variable DEPTH.
179 (glob): Use size_t instead of int as type of variables NEWCOUNT
180 and OLD_PATHC.
181
6d3bf199
LD
1822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
183
22bf5c17
LD
184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
185 Add s_sincosf-sse2.
186 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
188 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
189 macros for using routine as __sincosf_ia32.
190 Use macro for function declaration and weak_alias.
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
192
193 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
195
196 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
197 subnormal argument.
198 * math/s_cexpf.c (__cexpf): Likewise.
199 * math/s_csinf.c (__csinf): Likewise.
200 * math/s_csinhf.c (__csinhf): Likewise.
201 * math/s_ctanf.c (__ctanf): Likewise.
202 * math/s_ctanhf.c (__ctanhf): Likewise.
203 * math/s_ccosh.c (__ccoshf): Likewise.
204 * math/s_cexp.c (__cexpl): Likewise.
205 * math/s_csin.c (__csin): Likewise.
206 * math/s_csinh.c (__csinh): Likewise.
207 * math/s_ctan.c (__ctan): Likewise.
208 * math/s_ctanh.c (ctanh): Likewise.
209 * math/s_ccoshl.c (__ccoshl): Likewise.
210 * math/s_cexpl.c (__cexpl): Likewise.
211 * math/s_csinl.c (__csinl): Likewise.
212 * math/s_csinhl.c (__csinhl): Likewise.
213 * math/s_ctanl.c (__ctanl): Likewise.
214 * math/s_ctanhl.c (__ctanhl): Likewise.
215
203e5603
JM
2162012-09-25 Joseph Myers <joseph@codesourcery.com>
217
218 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
219 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
220 (_IO_off_t): Define to __off_t, not _G_off_t.
221 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
222 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
223 (_IO_wint_t): Define to wint_t, not _G_wint_t.
224 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
225 type of __dummy and __dummy2 fields.
226 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
227 (_G_ssize_t): Likewise.
228 (_G_off_t): Likewise.
229 (_G_pid_t): Likewise.
230 (_G_uid_t): Likewise.
231 (_G_wchar_t): Likewise.
232 (_G_wint_t): Likewise.
233 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
234 (_G_ssize_t): Likewise.
235 (_G_off_t): Likewise.
236 (_G_pid_t): Likewise.
237 (_G_uid_t): Likewise.
238 (_G_wchar_t): Likewise.
239 (_G_wint_t): Likewise.
240 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
241 (_G_ssize_t): Likewise.
242 (_G_off_t): Likewise.
243 (_G_pid_t): Likewise.
244 (_G_uid_t): Likewise.
245 (_G_wchar_t): Likewise.
246 (_G_wint_t): Likewise.
247
9fab36eb
SP
2482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
249
250 * malloc/arena.c: Include malloc-sysdep.h.
251 (shrink_heap): Use check_may_shrink_heap to decide if madvise
252 is sufficient to shrink the heap or an unmap is needed.
253 * sysdeps/generic/malloc-sysdep.h: New file. Define
254 new function check_may_shrink_heap.
255 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
256 new function check_may_shrink_heap.
257
2b4f00d1
SP
2582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
259
260 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
261 comments.
262
9a9028b1
DL
2632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
264
57c69bef
DL
265 * catgets/test-gencat.sh: Add "set -e".
266 * elf/tst-pathopt.sh: Likewise.
267 * grp/tst_fgetgrent.sh: Likewise.
268 * iconvdata/run-iconv-test.sh: Likewise.
269 * intl/tst-gettext.sh: Likewise.
270 * intl/tst-gettext2.sh: Likewise.
271 * intl/tst-gettext4.sh: Likewise.
272 * intl/tst-gettext6.sh: Likewise.
273 * intl/tst-translit.sh: Likewise.
274 * io/ftwtest-sh: Likewise.
275 * libio/test-freopen.sh: Likewise.
276 * malloc/tst-mtrace.sh: Likewise.
277 * posix/globtest.sh: Likewise.
278 * posix/tst-getconf.sh: Likewise.
279 * posix/wordexp-tst.sh: Likewise.
280 * stdio-common/tst-printf.sh: Likewise.
281 * stdio-common/tst-unbputc.sh: Likewise.
282 * stdlib/tst-fmtmsg.sh: Likewise.
283 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
284 * catgets/Makefile: Do not specify -e option when running
285 testsuite shell scripts.
286 * elf/Makefile: Likewise.
287 * grp/Makefile: Likewise.
288 * iconvdata/Makefile: Likewise.
289 * intl/Makefile: Likewise.
290 * io/Makefile: Likewise.
291 * libio/Makefile: Likewise.
292 * malloc/Makefile: Likewise.
293 * posix/Makefile: Likewise.
294 * stdio-common/Makefile: Likewise.
295 * stdlib/Makefile: Likewise.
296 * sysdeps/x86_64/Makefile: Likewise.
297
9a9028b1
DL
298 * io/ftwtest-sh: Add copyright header.
299 * posix/globtest.sh: Likewise.
300 * posix/tst-getconf.sh: Likewise.
301 * posix/wordexp-tst.sh: Likewise.
302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
303
ced6f16e
L
3042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
305
94b32c39
L
306 [BZ #13679]
307 * Makeconfig (+link): Defined as $(+link-static) if
308 $(build-shared) isn't yes.
309 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
310 isn't yes.
311 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
312
189e935b
L
313 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
314
ced6f16e
L
315 [BZ #14562]
316 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
317 new chunk size with MALLOC_ALIGN_MASK.
318
a9f8e53a
JM
3192012-09-24 Joseph Myers <joseph@codesourcery.com>
320
321 [BZ #5044]
322 * stdio-common/printf_fphex.c: Include <stdbool.h> and
323 <rounding-mode.h>.
324 (__printf_fphex): Determine rounding using get_rounding_mode and
325 round_away.
326 * stdio-common/tst-printf-round.c (struct hex_test): New
327 structure.
328 (hex_tests): New variable.
329 (test_hex_in_one_mode): New function.
330 (do_test): Also run tests for hex float output.
331
43153109
JM
3322012-09-21 Joseph Myers <joseph@codesourcery.com>
333
334 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
336 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
337 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
338 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
339 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
340 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
342
8a26625d
JM
3432012-09-20 Joseph Myers <joseph@codesourcery.com>
344
345 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
346 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
347 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
348 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
349
f3fd569c
DL
3502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
351
352 [BZ #14579]
353 * elf/rtld.c (dl_main): Limit the check for self loading to normal
354 mode only.
355 * elf/tst-rtld-load-self.sh: New test.
356 * elf/Makefile: Run it.
357
63bbedd4
JM
3582012-09-18 Joseph Myers <joseph@codesourcery.com>
359
360 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
361 (tst-writev-ENV): Remove.
362 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
363
626f8b6a
CM
3642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
365
366 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
367
b7aaa4d6
JM
3682012-09-17 Joseph Myers <joseph@codesourcery.com>
369
370 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
371 unconditional.
372 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
373 Likewise.
374 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
375 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
377 Likewise.
378
65513990
L
3792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
380
381 [BZ #14587]
382 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
383 * config.make.in (have-cpp-asm-debuginfo): Removed.
384 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
385 * configure: Regenerated.
386
784761be
JM
3872012-09-14 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #5044]
390 * stdio-common/printf_fp.c: Include <stdbool.h> and
391 <rounding-mode.h>.
392 (___printf_fp): Determine rounding using get_rounding_mode and
393 round_away.
394 * stdio-common/tst-printf-round.c: New file.
395 * stdio-common/Makefile (tests): Add tst-printf-round.
396 (link-libm): New variable.
397 ($(objpfx)tst-printf-round): Depend in $(link-libm).
398
9503345f
L
3992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
400
401 [BZ #14576]
402 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
403 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
404 Likewise.
405 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
406 Likewise.
407
ad35fc00
JM
4082012-09-13 Joseph Myers <joseph@codesourcery.com>
409
410 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
411 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
412 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
414
6c9b0f68
JM
4152012-09-12 Joseph Myers <joseph@codesourcery.com>
416
417 [BZ #14518]
418 * include/rounding-mode.h: New file.
419 * sysdeps/generic/get-rounding-mode.h: Likewise.
420 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
421 * stdlib/strtod_l.c: Include <rounding-mode.h>.
422 (MAX_VALUE): New macro.
423 (MIN_VALUE): Likewise.
424 (overflow_value): New function.
425 (underflow_value): Likewise.
426 (round_and_return): Use overflow_value and underflow_value to
427 determine return values in overflow and underflow cases. Use
428 round_away to determine rounding depending on rounding mode.
429 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
430 determine return values in overflow and underflow cases.
431 * stdlib/tst-strtod-round.c: Include <fenv.h>.
432 (struct test_results): New structure.
433 (struct test): Use struct test_results to store expected results
434 for all rounding modes.
435 (TEST): Include expected results for all rounding modes.
436 (test_in_one_mode): New function.
437 (do_test): Use test_in_one_mode to compute and check results.
438 Check results for all rounding modes.
439 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
440 $(link-libm).
441
19fcedd5
AM
4422012-12-09 Allan McRae <allan@archlinux.org>
443
444 * sysdeps/i386/fpu/libm-test-ulps: Update
445
8bbfd2f1
JM
4462012-09-11 Joseph Myers <joseph@codesourcery.com>
447
448 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
449 (_G_int32_t): Likewise.
450 (_G_uint16_t): Likewise.
451 (_G_uint32_t): Likewise.
452 (_G_HAVE_BOOL): Likewise.
453 (_G_HAVE_ATEXIT): Likewise.
454 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
455 (_G_HAVE_IO_FILE_OPEN): Likewise.
456 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
457 (_G_int32_t): Likewise.
458 (_G_uint16_t): Likewise.
459 (_G_uint32_t): Likewise.
460 (_G_HAVE_BOOL): Likewise.
461 (_G_HAVE_ATEXIT): Likewise.
462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
463 (_G_HAVE_IO_FILE_OPEN): Likewise.
464 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
465 (_G_int32_t): Likewise.
466 (_G_uint16_t): Likewise.
467 (_G_uint32_t): Likewise.
468 (_G_HAVE_BOOL): Likewise.
469 (_G_HAVE_ATEXIT): Likewise.
470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
471 (_G_HAVE_IO_FILE_OPEN): Likewise.
472
b1dc5912
L
4732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
474
475 * csu/libc-tls.c: Update copyright years.
476
0e886ef9
JM
4772012-09-10 Joseph Myers <joseph@codesourcery.com>
478
28361c5e
JM
479 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
480 [!_G_USING_THUNKS]: Remove conditional code.
481 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
482 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
483
0e886ef9
JM
484 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
485 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
486 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
487 (_G_VTABLE_LABEL_PREFIX): Likewise.
488 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
489 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
490 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
491 (_G_VTABLE_LABEL_PREFIX): Likewise.
492 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
493 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
495 (_G_VTABLE_LABEL_PREFIX): Likewise.
496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
497
bcba7aa2
L
4982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
499
500 * libio/Makefile: Include ../Makeconfig before tests.
501 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
502 only if $(build-shared) is yes.
503
06585ee8
L
504 * iconv/gconv_db.c: Update copyright years.
505
80ccd52c
LD
5062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
507
508 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
509 unwind info if defined PIC. Fix special cases description.
510 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
511
512 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
513 DP_HI_MASK entry.
514 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
515
691bc9c1
L
5162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
517
3d9b46b3
L
518 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
519
de2139a9
L
520 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
521 is NULL.
522
5ca78dd0
L
523 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
524 (LDLIBS-tst-chk4): This.
525 (LDFLAGS-tst-chk5): Renamed to ...
526 (LDLIBS-tst-chk5): This.
527 (LDFLAGS-tst-chk6): Renamed to ...
528 (LDLIBS-tst-chk6): This.
529 (LDFLAGS-tst-lfschk4): Renamed to ...
530 (LDLIBS-tst-lfschk4): This.
531 (LDFLAGS-tst-lfschk5): Renamed to ...
532 (LDLIBS-tst-lfschk5): This.
533 (LDFLAGS-tst-lfschk6): Renamed to ...
534 (LDLIBS-tst-lfschk6): This.
535
691bc9c1
L
536 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
537 on $(common-objpfx)soversions.mk.
538
65cafb1c
JM
5392012-09-07 Joseph Myers <joseph@codesourcery.com>
540
541 [BZ #10014]
542 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
543 example host name.
544
c78ab094
SP
5452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
546
547 * malloc/arena.c (arena_get_retry): New function that gets
548 another arena for the caller to try its request on.
549 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
550 current arena cannot fulfill the request.
551 (__libc_memalign): Likewise.
552 (__libc_memalign): Likewise.
553 (__libc_pvalloc): Likewise.
554 (__libc_calloc): Likewise.
555
01f49f59
JT
5562012-09-05 John Tobey <john.tobey@gmail.com>
557
558 [BZ #13542]
559 * manual/arith.texi (Operations on Complex): Fix description
560 of carg branch cut.
561
4c23fed5
JM
5622012-09-06 Joseph Myers <joseph@codesourcery.com>
563
1d3c8572
JM
564 [BZ #10014]
565 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
566 host name.
567
4c23fed5
JM
568 [BZ #10038]
569 * manual/memory.texi (Memory): Make order of menu items match
570 order of sections.
571
04570aaa
L
5722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
573
574 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
575 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
576 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
577
b80af2f4
L
5782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
579
580 * csu/libc-tls.c (static_dtv): Renamed to ...
581 (_dl_static_dtv): This. Make it global.
582 (_dl_initial_dtv): Removed.
583 (__libc_setup_tls): Updated.
584 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
585 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
586 DL_INITIAL_DTV.
587
2abe9f15
PM
5882012-09-06 Petr Machata <pmachata@redhat.com>
589
590 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
591 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
592 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
593 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
594
0948c3af
L
5952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
596
597 [BZ #14545]
598 * csu/libc-tls.c (_dl_initial_dtv): New variable.
599 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
600 freeing dtv[-1].
601
a5055ad1
L
6022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
603
604 [BZ #14544]
605 * Makeconfig (link-static-before-libc): Replace $(+prector)
606 with $(+prectorT).
607 (link-static-after-libc): Replace $(+postctor) with
608 $(+postctorT).
609 (link-bounded): Replace $(+prector)/$(+postctor) with
610 $(+prectorT)/$(+postctorT).
611 (+prectorT): New macro.
612 (+postctorT): Likewise.
613
ed8c2ecd
JM
6142012-09-06 Joseph Myers <joseph@codesourcery.com>
615
616 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
617 (round_str): Handle values above the maximum for IBM long double
618 as inexact.
619 * stdlib/tst-strtod-round.c (tests): Regenerated.
620
14c996c8
AK
6212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
622
623 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
624 assembler flag.
625 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
626 zarch_nohighgprs around the zarch optimized routines.
627 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
628 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
630 for zarch.
631
430d6ce6
DM
6322012-09-05 David S. Miller <davem@davemloft.net>
633
634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
635
ff04dda4
DM
636 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
637 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
638 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
640 entries.
641
24d4e01b
AO
6422012-09-05 Alexandre Oliva <aoliva@redhat.com>
643
644 * malloc/arena.c: Fold copyright years.
645 * malloc/mcheck.c, malloc/memusage.c: Likewise.
646
61d58174
AO
6472012-09-05 Alexandre Oliva <aoliva@redhat.com>
648
649 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
650
20196a5e
AO
6512012-09-05 Alexandre Oliva <aoliva@redhat.com>
652
653 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
654
5c447383
AO
6552012-09-05 Alexandre Oliva <aoliva@redhat.com>
656
657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
658 change internal state upon failure.
659
fad64255
AO
6602012-09-05 Alexandre Oliva <aoliva@redhat.com>
661
662 * malloc/mcheck.c (mcheck_check_all): Fix typo.
663 * malloc/memusage.c (mmap): Likewise.
664 (mmap64, mremap): Likewise. Adjust name in comment.
665
1ffb8c90
SP
6662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
667
668 * libio/fileops.c: Fix typos in comments.
669 * libio/oldfileops.c: Likewise.
670 * libio/wfileops.c: Likewise.
671
6ef9cc37
SP
6722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 [BZ #1349]
675 * malloc/Makefile (tests): Add tst-malloc-usable test case.
676 (tst-malloc-usable-ENV): Set environment for test case.
677 * malloc/hooks.c (malloc_check_get_size): New function to get
678 requested size.
679 * malloc/malloc.c (musable): Use malloc_check_get_size.
680 * malloc/tst-malloc-usable.c: New test case.
681
4d038ae3
AS
6822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
683
684 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
685
c4e85184
AM
6862012-09-05 Allan McRae <allan@archlinux.org>
687
b9dafc56 688 [BZ #13966]
c4e85184
AM
689 * configure.in (CXX_SYSINCLUDES): Use compiler output to
690 determine header location.
691 * configure: Regenerated.
692
e1343020
AS
6932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
694
695 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
696 float format.
697 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
698 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
699 format.
e1343020
AS
700 (test): Regenerate.
701
0a9f1987
DM
7022012-09-04 David S. Miller <davem@davemloft.net>
703
704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
707
29237804
FW
7082012-09-04 Florian Weimer <fweimer@redhat.com>
709
710 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
711 failures.
712
edb3cb88
FW
713 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
714
60160d83
JM
7152012-09-04 Joseph Myers <joseph@codesourcery.com>
716
717 [BZ #9914]
718 * libio/iogetdelim.c: Include <limits.h>.
719 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
720 + len + 1 would overflow.
721
bcd6c8dc
AJ
7222012-09-03 Andreas Jaeger <aj@suse.de>
723
724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726
4ffffbd2
LD
7272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
728
729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
730 Add s_sinf-sse2, s_conf-sse2.
731
732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
733 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
734 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
735 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
736
737 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
738 for using routine as __sinf_ia32.
739 Use macro for function declaration and weak_alias.
740 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
741 for using routine as __cosf_ia32.
742 Use macro for function declaration and weak_alias.
743
744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
745 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
746
747 * sysdeps/x86_64/fpu/s_sinf.S: New file.
748 * sysdeps/x86_64/fpu/s_cosf.S: New file.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
750
751 * math/libm-test.inc (cos_test): Add more test cases.
752 (sin_test): Likewise.
753 (sincos_test): Likewise.
754
511fa286
AK
7552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
756
757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
758 (IFUNC_RESOLVE): Make pointers to the specialized implementations
759 hidden.
760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
761
5f30cfec
L
7622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
763
764 [BZ #14538]
765 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
766 first element of the GOT.
767 (elf_machine_load_address): Return the difference between
768 the runtime address of _DYNAMIC and elf_machine_dynamic ().
769
0786794f
AM
7702012-09-01 Allan McRae <allan@archlinux.org>
771
5f30cfec
L
772 [BZ #13412]
773 * configure.in (AWK): Require gawk version 3.0 or later.
774 * configure: Regenerated.
0786794f 775
26889eac
JM
7762012-09-01 Joseph Myers <joseph@codesourcery.com>
777
778 * sysdeps/unix/sysv/linux/kernel-features.h
779 (__ASSUME_POSIX_CPU_TIMERS): Remove.
780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
781 [__NR_clock_getres]: Make code unconditional.
782 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
783 (clock_getcpuclockid): Remove code left unreachable by removal of
784 conditionals.
785 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
786 code unconditional.
787 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
788 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
790 Make code unconditional.
791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/clock_settime.c
794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
795 conditional code.
796 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
797 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
798
d22e28b0
L
7992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
800
801 [BZ #14476]
802 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
803 scripts/test-installation.pl.
804
805 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
806 and $ld_so_version if it is set.
807
050af9c4
SP
8082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
809
810 [BZ #14516]
811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
812 failure if reading from procfs failed.
813 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
814
ad845c0b
JM
8152012-08-27 Joseph Myers <joseph@codesourcery.com>
816
817 * sysdeps/unix/sysv/linux/kernel-features.h
818 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
819 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
820 Remove conditional code.
821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
822 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
823 Remove conditional code.
824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
825 * sysdeps/unix/sysv/linux/i386/fxstat.c
826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
828 * sysdeps/unix/sysv/linux/i386/fxstatat.c
829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
831 * sysdeps/unix/sysv/linux/i386/lxstat.c
832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
834 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
835 Remove conditional code.
836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
837 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
838 Remove conditional code.
839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
840 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
841 <kernel-features.h>.
842 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
843 Remove.
844 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
845 Remove conditional code.
846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
847 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
848 Remove conditional.
849
5dbf56af
MF
8502012-08-27 Mike Frysinger <vapier@gentoo.org>
851
852 [BZ #5400]
853 * NEWS: Add fixed bug number.
854
d6e70f43
JM
8552012-08-27 Joseph Myers <joseph@codesourcery.com>
856
7efb4737
JM
857 [BZ #14519]
858 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
859 underflowing exponent in case of negative sign.
860 * stdlib/tst-strtod-round-data: Add more tests.
861 * stdlib/tst-strtod-round.c (tests): Regenerated.
862
af92131a
JM
863 [BZ #3479]
864 * stdlib/strtod_l.c (NDIG): Remove.
865 (HEXNDIG): Likewise.
866 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
867 smallest representable value.
868 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
869 lie within an exact representation of 1/2 ulp of the result.
870 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
871 unconditionally.
872 (TENS_P9_IDX): Define unconditionally.
873 (TENS_P9_SIZE): Likewise.
874 (TENS_P10_IDX): Likewise.
875 (TENS_P10_SIZE): Likewise.
876 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
877 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
878 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
879 entries for 10^2^13 and 10^2^14.
880 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
881 (TENS_P13_IDX): Define.
882 (TENS_P13_SIZE): Likewise.
883 (TENS_P14_IDX): Likewise.
884 (TENS_P14_SIZE): Likewise.
885 (_fpioconst_pow10): Change array size to
886 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
887 unconditional.
888 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
889 1024]: Add entries for 10^2^13 and 10^2^14.
890 [LAST_POW10 > _LAST_POW10]: Remove #error.
891 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
892 (_fpioconst_pow10): Change array size to
893 FPIOCONST_POW10_ARRAY_SIZE.
894 * stdlib/gen-fpioconst.c: New file.
895 * stdlib/gen-tst-strtod-round.c: Likewise.
896 * stdlib/tst-strtod-round-data: Likewise.
897 * stdlib/tst-strtod-round.c: Likewise.
898 * stdlib/Makefile (tests): Add tst-strtod-round.
899
d6e70f43
JM
900 [BZ #14459]
901 * stdlib/strtod_l.c: Include <stdint.h>.
902 (NDEBUG): Do not define.
903 (round_and_return): Change EXPONENT parameter to type intmax_t.
904 Rearrange calculations to avoid internal overflow possibilities.
905 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
906 Rearrange calculations to avoid internal overflow possibilities.
907 Assert that number fits inside MPNSIZE limbs.
908 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
909 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
910 calculations and add assertions to avoid internal overflow
911 possibilities. Add casts to avoid signed/unsigned operations.
912 * stdlib/tst-strtod-overflow.c: New file.
913 * stdlib/Makefile (tests): Add tst-strtod-overflow.
914
1f529f7d
MP
9152012-08-25 Marek Polacek <polacek@redhat.com>
916
917 * time/time.h: Fix some typos in comments.
918
59a629f1
RM
9192012-08-23 Roland McGrath <roland@hack.frob.com>
920
921 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
922 * posix/tst-rfc3484-2.c: Likewise.
923 * posix/tst-rfc3484-3.c: Likewise.
924
d3bafbc9
SM
9252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
926
927 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
928 (EF_ARM_ABI_FLOAT_HARD): Likewise.
929
4efcc022
JM
9302012-08-23 Joseph Myers <joseph@codesourcery.com>
931
932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
933 #include of fxstatat64.c.
934
3cc3ef96
RM
9352012-08-22 Roland McGrath <roland@hack.frob.com>
936
f04e2132
RM
937 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
938 * shadow/getspent_r.c: Likewise.
939 * shadow/getspnam.c: Likewise.
940 * shadow/getspnam_r.c: Likewise.
941 * gshadow/getsgent.c: Likewise.
942 * gshadow/getsgent_r.c: Likewise.
943 * gshadow/getsgnam.c: Likewise.
944 * gshadow/getsgnam_r.c: Likewise.
945 * inet/getnetbyad.c: Likewise.
946 * inet/getnetbyad_r.c: Likewise.
947 * inet/getnetbynm.c: Likewise.
948 * inet/getnetbynm_r.c: Likewise.
949 * inet/getnetent.c: Likewise.
950 * inet/getnetent_r.c: Likewise.
951 * inet/getproto.c: Likewise.
952 * inet/getproto_r.c: Likewise.
953 * inet/getprtent.c: Likewise.
954 * inet/getprtent_r.c: Likewise.
955 * inet/getprtname.c: Likewise.
956 * inet/getprtname_r.c: Likewise.
957 * inet/getrpcbyname.c: Likewise.
958 * inet/getrpcbyname_r.c: Likewise.
959 * inet/getrpcbynumber.c: Likewise.
960 * inet/getrpcbynumber_r.c: Likewise.
961 * inet/getrpcent.c: Likewise.
962 * inet/getrpcent_r.c: Likewise.
963 * inet/getaliasent.c: Likewise.
964 * inet/getaliasent_r.c: Likewise.
965 * inet/getaliasname.c: Likewise.
966 * inet/getaliasname_r.c: Likewise.
967 * nscd/getgrgid_r.c: Likewise.
968 * nscd/getgrnam_r.c: Likewise.
969 * nscd/gethstbyad_r.c: Likewise.
970 * nscd/gethstbynm3_r.c: Likewise.
971 * nscd/getpwnam_r.c: Likewise.
972 * nscd/getpwuid_r.c: Likewise.
973 * nscd/getsrvbynm_r.c: Likewise.
974 * nscd/getsrvbypt_r.c: Likewise.
975 * nscd/gai.c: Likewise.
976
c53d909c
RM
977 * configure.in (build_nscd): New substituted variable, set
978 by --disable-build-nscd and defaults to $use_nscd.
979 * configure: Regenerated.
980 * config.make.in (build-nscd): New substituted variable.
981 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
982 Change conditional to require [$(build-nscd) = yes] as well.
983 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
984
3cc3ef96
RM
985 [BZ# 13696]
986 * configure.in (use_nscd): New substituted variable, set by
987 --disable-nscd. If enabled, define USE_NSCD.
988 * configure: Regenerated.
989 * config.h.in: Add USE_NSCD.
990 * config.make.in (use-nscd): New substituted variable.
991 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
992 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
993 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
994 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
995 (CFLAGS-getgrnam_r.c): Likewise.
996 (CFLAGS-initgroups.c): Likewise.
997 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
998 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
999 Variables removed.
1000 * inet/getnetgrent_r.c
1001 (nscd_setnetgrent): New function, broken out of ...
1002 (setnetgrent): ... here. Call it.
1003 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1004 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1005 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1006 * nscd/Makefile (routines, aux): Move definitions after include of
1007 Makeconfig. Conditionalize on [$(use-nscd) != no].
1008 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1009 Conditionalize on [USE_NSCD].
1010 (is_nscd, nscd_init_cb): Likewise.
1011 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1012 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1013 * nss/nss_db/db-init.c: Likewise.
1014 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1015 [USE_NSCD].
1016 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1017 (make_request): Use it.
1018 (cache_valid_p): New function.
1019 (__check_pf): Use it.
1020 * NEWS: Add item for --disable-nscd.
1021
07e51550
DL
10222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1023
1024 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1025 to support sed >= 4.2.1-20-ga9bf076.
1026 * configure: Regenerated.
1027
35a5b08b
RM
10282012-08-22 Roland McGrath <roland@hack.frob.com>
1029
1030 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1031 Conditionalize whole body on [IREL].
1032
8479f23a
JL
10332012-08-22 Jeff Law <law@redhat.com>
1034
1035 [BZ #14505]
1036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1037 if the family is PF_UNSPEC.
1038
48da0b21
MF
10392012-08-22 Mike Frysinger <vapier@gentoo.org>
1040
1041 * Makerules (lib-version): Rename from V.
1042 (install-lib-nosubdir): Change V to lib-version.
1043
15d0da8c
WS
10442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1045
1046 [BZ #14252]
1047 * powerpc32/power6/wcschr.c: New file.
1048 * powerpc32/power6/wcscpy.c: New file.
1049 * powerpc32/power6/wcsrchr.c: New file.
1050 * powerpc64/power6/wcschr.c: New file.
1051 * powerpc64/power6/wcscpy.c: New file.
1052 * powerpc64/power6/wcsrchr.c: New file.
1053
bcca0895
MK
10542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1055
1056 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1057 (two_way_short_needle): Use it.
5a4aaa33
RM
1058 * string/strstr.c (AVAILABLE1_USES_J): Define.
1059 * string/strcasestr.c: Likewise.
99677e57
MK
1060
1061 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1062 array references.
1063 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1064
400726de
MK
1065 [BZ #11607]
1066 * NEWS: Add an entry.
1067 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1068 define their defaults.
1069 (two_way_short_needle): Detect end-of-string on-the-fly.
1070 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1071 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1072 * string/bug-strcasestr1.c: New test.
1073 * string/Makefile: Run it.
1074
20a71f2c
MK
10752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1076
1077 [BZ #11607]
1078 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1079 the first character.
1080
21ad0558
RM
10812012-08-21 Roland McGrath <roland@hack.frob.com>
1082
1083 * csu/elf-init.c (__libc_csu_irel): Function removed.
1084 * csu/libc-start.c (apply_irel): New function.
1085 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1086
0e1d9911
JM
10872012-08-21 Joseph Myers <joseph@codesourcery.com>
1088
1089 * sysdeps/unix/sysv/linux/kernel-features.h
1090 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1091 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1092 <kernel-features.h>.
1093 [__NR_fadvise64_64]: Make code unconditional.
1094 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1095 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1096 !__NR_fadvise64_64)]: Likewise.
1097 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1098 !__NR_fadvise64_64))]: Likewise.
1099 [__NR_fadvise64]: Make code unconditional.
1100 [!__NR_fadvise64]: Remove conditional code.
1101 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1102 <kernel-features.h>.
1103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1104 unconditional.
1105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1106 conditional code.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1108 not include <kernel-features.h>.
1109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1110 unconditional.
1111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1112 conditional code.
1113 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1114 include <kernel-features.h>.
1115 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1116 unconditional.
1117 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1118 conditional code.
1119
14a50c9d
WS
11202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1121
1122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1123 slight instruction rearrangements per scrollpipe analysis.
1124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1125
c0f4faf0
RM
11262012-08-20 Roland McGrath <roland@hack.frob.com>
1127
696da859
RM
1128 * manual/syslog.texi (syslog; vsyslog, closelog):
1129 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1130 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1131
c0f4faf0
RM
1132 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1133 DSOCAPS to match condition on defining it.
1134
348363b2
JM
11352012-08-20 Joseph Myers <joseph@codesourcery.com>
1136
a35cbf28
JM
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1148
445f7ecd
JM
1149 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1150 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1151
348363b2
JM
1152 * sysdeps/unix/sysv/linux/kernel-features.h
1153 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1154 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1155 unconditional.
1156 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1158 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1159 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1160 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1161 Make code unconditional.
1162 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1163 (__mmap64) [!__NR_mmap2]: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1165 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1166 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1168 [__NR_mmap2]: Make code unconditional.
1169 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1170 (__mmap64) [!__NR_mmap2]: Likewise.
1171
bc5bc0e5
AK
11722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1173
1174 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1175
88d506de
AJ
11762012-08-18 Andreas Jaeger <aj@suse.de>
1177
1178 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1179
493387d2
MF
11802012-08-18 Mike Frysinger <vapier@gentoo.org>
1181
1182 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1183 * include/unistd.h (__have_sock_cloexec): Likewise.
1184 (__have_pipe2): Likewise.
1185 (__have_dup3): Likewise.
1186
a277af22
MF
11872012-08-18 Mike Frysinger <vapier@gentoo.org>
1188
1189 [BZ #9685]
1190 * include/unistd.h (__have_pipe2): Change define into an extern int.
1191 (__have_dup3): Likewise.
1192 * socket/have_sock_cloexec.c: Include fcntl.h.
1193 (__have_pipe2): New variable.
1194 (__have_dup3): Likewise.
1195
fdab8fd3
MF
11962012-08-17 Mike Frysinger <vapier@gentoo.org>
1197
1198 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1199
31035e80
MP
12002012-08-17 Marek Polacek <polacek@redhat.com>
1201
1202 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1203 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1204
3bd9e993
RM
12052012-08-17 Roland McGrath <roland@hack.frob.com>
1206
c91c505f
RM
1207 * configure.in: Add AC_SUBST for sysheaders.
1208 * configure: Regenerated.
1209 * config.make.in (sysheaders): New substituted variable.
1210
7c6f9d53
RM
1211 * sysdeps/unix/mkfifo.c: Moved ...
1212 * sysdeps/posix/mkfifo.c: ... here.
1213 * sysdeps/unix/mkfifoat.c: Moved ...
1214 * sysdeps/posix/mkfifoat.c: ... here.
1215
1216 * sysdeps/unix/utime.c: Moved ...
1217 * sysdeps/posix/utime.c: ... here.
1218
1219 * sysdeps/unix/time.c: Moved ...
1220 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1221 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1223
1224 * sysdeps/unix/nice.c: Moved ...
1225 * sysdeps/posix/nice.c: ... here.
1226
1227 * sysdeps/unix/alarm.c: Moved ...
1228 * sysdeps/posix/alarm.c: ... here.
1229
3bd9e993
RM
1230 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1231
d1f09384
JL
12322012-08-17 Jeff Law <law@redhat.com>
1233
1234 * intl/Makefile (codeset_mo): New variable.
1235 ($(codeset_mo)): New target.
1236 (tst-codeset.out): Depend on that. Remove explicit rule.
1237 (tst-gettext3.out, tst-gettext5.out): Likewise.
1238 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1239 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1240 * intl/tst-codeset.sh: Remove.
1241 * intl/tst-gettext3.sh: Likewise.
1242 * intl/tst-gettext5.sh: Likewise.
1243
2ae1ae5c
RM
12442012-08-17 Roland McGrath <roland@hack.frob.com>
1245
c31fdb83
RM
1246 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1247 * sysdeps/unix/syscalls.list: ... here.
1248
a0844057
RM
1249 * sysdeps/posix/getaddrinfo.c
1250 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1251 (gaiconf_init, gaiconf_reload): Use them.
1252 [!_STATBUF_ST_NSEC]
1253 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1254 Define using time_t rather than struct timespec.
1255
750c1f2a
RM
1256 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1257 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1258 Macros removed.
1259 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1260 [!NO_THREADS].
1261 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1262 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1263 Likewise.
1264
2ae1ae5c
RM
1265 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1266 __libc_cleanup_push argument.
1267
e66a42f5
RM
1268 * bits/param.h: New file.
1269 * misc/sys/param.h: New file.
1270 * include/sys/param.h: New file.
1271 * misc/Makefile (headers): Add bits/param.h.
1272 * sysdeps/generic/sys/param.h: File removed.
1273 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1274 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1275 * sysdeps/mach/hurd/bits/param.h: New file.
1276 * sysdeps/mach/hurd/sys/param.h: New file.
1277
b7c08a66
RM
1278 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1279 last change.
1280
b2e1c562
RM
1281 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1282 [_IO_MTSAFE_IO].
1283 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1284 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1285 New macros.
1286
c75ccd4c
RM
1287 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1288 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1289 rather than -D_IO_MTSAFE_IO conditionally.
1290 * stdio-common/Makefile (CPPFLAGS): Likewise.
1291 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1292 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1293 Use $(libio-mtsafe).
1294 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1295 of -D_IO_MTSAFE_IO.
1296 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1297 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1298 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1299 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1300 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1301 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1302 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1303 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1304 (CFLAGS-fread_u_chk.c): Likewise.
1305 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1306 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1307 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1308 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1309 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1310 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1311 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1312 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1313 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1314
1315 * libio/Makefile: Test [$(libc-reentrant) = yes]
1316 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1317
1318 * Makeconfig
1319 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1320 * sysdeps/pthread/configure: File removed.
1321 * sysdeps/pthread/Makeconfig: New file.
1322 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1323 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1324
d9195db8
GB
13252012-08-16 Gary Benson <gbenson@redhat.com>
1326
1327 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1328 unmapping the first object in a namespace.
1329
86466cd9
RM
13302012-08-16 Roland McGrath <roland@hack.frob.com>
1331
1332 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1333 (__internal_setnetgrent): ... this. Add internal_function to
1334 definition. Add libc_hidden_def.
1335 (setnetgrent): Update caller.
1336 (internal_endnetgrent): Renamed to ...
1337 (__internal_endnetgrent): ... this. Add internal_function to
1338 definition. Add libc_hidden_def.
1339 (endnetgrent): Update caller.
1340 (internal_getnetgrent_r): Renamed to ...
1341 (__internal_getnetgrent_r): ... this. Add internal_function to
1342 definition. Add libc_hidden_def.
1343 (__getnetgrent_r): Update caller.
1344 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1345
c3c8283c
JM
13462012-08-16 Joseph Myers <joseph@codesourcery.com>
1347
1348 * stdlib/longlong.h: Update from GCC.
1349
db1ee0a8
RM
13502012-08-16 Roland McGrath <roland@hack.frob.com>
1351
1352 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1353 on _QL, which is set by umul_ppmm but never used.
1354 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1355 variables, which are set by GMP macros but never used.
1356 * stdio-common/_itowa.c (_itowa): Likewise.
1357 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1358 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1359
30f69637
CD
13602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1361
1362 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1363 struct La_sh_regs is not constant.
1364 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1365 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1366 and struct La_sparc64_regs are not constant.
1367
93a78ac4
JM
13682012-08-16 Joseph Myers <joseph@codesourcery.com>
1369
1370 * sysdeps/unix/sysv/linux/kernel-features.h
1371 (__ASSUME_POSIX_TIMERS): Remove.
1372 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1374 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1375 Make code unconditional.
1376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1377 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1378 Make code unconditional.
1379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1381 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1384 Make code unconditional.
1385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1386 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1387 (__libc_missing_posix_timers): Remove.
1388
dd924cd7
RM
13892012-08-15 Roland McGrath <roland@hack.frob.com>
1390
4b4f2771
RM
1391 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1392 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1393
601c888b
RM
1394 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1395
176790a7
RM
1396 * elf/dl-sym.c: Include <stdlib.h>.
1397
329bc018
RM
1398 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1399 constants, which avoids warnings in 32-bit builds.
1400
e04e272d
RM
1401 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1402 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1403
952bf94a
RM
1404 * misc/lseek.c: File moved to ...
1405 * io/lseek.c: ... here.
1406
7c99b50a
RM
1407 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1408
dd924cd7
RM
1409 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1410 shifting LEN more than 31 bits at once.
1411
b3f479a8
LD
14122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1413
1414 [BZ #14195]
8c4ae0d4
RM
1415 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1416 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1417 * string/test-strncasecmp.c (check1): Renamed to...
1418 (bz12205): ...this.
1419 (bz14195): Add new testcase for two empty input strings and N > 0.
1420 (test_main): Call new testcase, adapt for renamed function.
1421
9c55864e
AJ
14222012-08-15 Andreas Jaeger <aj@suse.de>
1423
1424 [BZ #14090]
1425 * crypt/md5test2.c: New test, based on test supplied by Serge
1426 Belyshev <belyshev@depni.sinp.msu.ru>.
1427 * crypt/Makefile (xtests): Add md5test-giant..
1428 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1429
02dcb6c5
PE
14302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1431
1432 [BZ #14090]
1433 * crypt/md5.c (md5_process_block): Don't assume the buffer
1434 length is less than 2**32.
1435 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1436 length is less than 2**64.
1437
a3f95dcc
RM
14382012-08-15 Roland McGrath <roland@hack.frob.com>
1439
be75d758
RM
1440 * string/str-two-way.h: Include <sys/param.h>.
1441 (MAX): Macro removed.
1442
7312ca90
RM
1443 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1444 Move #define and #undef of memmove to just before and after
1445 including <string.h>.
1446
9a0a5486
RM
1447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1448 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1449 and after including <string.h>. Move declarations of
1450 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1451 to before #include "string/memmove.c".
1452
67cc348d
RM
1453 * include/dirent.h: Declare __getdirentries.
1454
a3f95dcc
RM
1455 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1456 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1457
ca98e171
MF
14582012-08-14 Mike Frysinger <vapier@gentoo.org>
1459
1460 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1461 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1462 * sysdeps/i386/configure: Regenerated.
1463 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1464 STABS_CURRENT_FILE, and STABS_FUN.
1465 (END): Remove call to STABS_FUN_END.
1466 (STABS_CURRENT_FILE1): Delete.
1467 (STABS_CURRENT_FILE): Likewise.
1468 (STABS_FUN): Likewise.
1469 (STABS_FUN_END): Likewise.
1470 (STABS_FUN2): Likewise.
1471 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1472 * sysdeps/x86_64/configure: Regenerated.
1473
5908bf46
RM
14742012-08-14 Roland McGrath <roland@hack.frob.com>
1475
1476 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1477 * elf/dl-lookup.c: Likewise.
5908bf46 1478
f2c05b9e
JM
14792012-08-14 Joseph Myers <joseph@codesourcery.com>
1480
1481 * sysdeps/unix/sysv/linux/kernel-features.h
1482 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1483 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1484 unconditionally.
1485 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1486 unconditionally.
1487 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1488 condition on __ASSUME_CLONE_THREAD_FLAGS.
1489
e11f5155
AJ
14902012-08-14 Andreas Jaeger <aj@suse.de>
1491
1492 * sysdeps/i386/fpu/libm-test-ulps: Update.
1493
51a9ba86
MK
14942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1495
2fdd4f78
AJ
1496 * include/atomic.h (atomic_exchange_and_add): Split into ...
1497 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1498 New atomic macros.
51a9ba86 1499
ba6cba9e
MT
15002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1501
1502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1503
42443a47
JL
15042012-08-13 Jeff Law <law@redhat.com>
1505
1506 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1507 null byte in the output string.
1508
121dce05
JM
15092012-08-10 Joseph Myers <joseph@codesourcery.com>
1510
1511 * sysdeps/unix/sysv/linux/kernel-features.h
1512 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1513 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1514 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1516 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1517 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1518 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1519
bf51f568
JL
15202012-08-09 Jeff Law <law@redhat.com>
1521
1522 [BZ #13939]
1523 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1524 When avoid_arena is set, don't retry in the that arena. Pick the
1525 next one, whatever it might be.
1526 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1527 (arena_lock): Pass in new parameter to arena_get2.
1528 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1529 arena_get2.
1530 (__libc_malloc): Unify retrying after main arena failure with
1531 __libc_memalign version.
1532 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1533
f85fa270
L
15342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 [BZ #14166]
1537 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1538 to __redirect_strstr.
1539 (__strstr_sse42): Use typeof __redirect_strstr.
1540 (__strstr_ia32): Likewise.
1541 (__libc_strstr): New prototype.
1542 (strstr): Renamed to ...
1543 (__libc_strstr): This.
1544 (strstr): New strong alias of __libc_strstr.
1545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1546 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1547 __redirect_time.
1548 Include <time.h>.
1549 (__libc_time): New prototype.
1550 (time_ifunc): Replace time with __libc_time.
1551 (time): New strong alias and hidden definition of __libc_time.
1552 (__GI_time): Remove strong alias.
1553 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1554 Include <stddef.h>.
1555 (memmove): Redefined to __redirect_memmove.
1556 (__memmove_sse2): Use typeof __redirect_memmove.
1557 (__memmove_ssse3): Likewise.
1558 (__memmove_ssse3_back): Likewise.
1559 (__libc_memmove): New prototype.
1560 (memmove): Renamed to ...
1561 (__libc_memmove): This.
1562 (memmove): New strong alias of __libc_memmove.
1563
33b4a91e
MS
15642012-08-08 Mark Salter <msalter@redhat.com>
1565
1566 * elf/elf.h
1567 (R_MN10300_TLS_GD): Define.
1568 (R_MN10300_TLS_LD): Likewise.
1569 (R_MN10300_TLS_LDO): Likewise.
1570 (R_MN10300_TLS_GOTIE): Likewise.
1571 (R_MN10300_TLS_IE): Likewise.
1572 (R_MN10300_TLS_LE): Likewise.
1573 (R_MN10300_TLS_DTPMOD): Likewise.
1574 (R_MN10300_TLS_DTPOFF): Likewise.
1575 (R_MN10300_TLS_TPOFF): Likewise.
1576 (R_MN10300_SYM_DIFF): Likewise.
1577 (R_MN10300_ALIGN): Likewise.
1578 (R_MN10300_NUM): Update.
1579
b36137f1
JM
15802012-08-08 Joseph Myers <joseph@codesourcery.com>
1581
1582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1583 Remove.
1584
cdd915fd
RM
15852012-08-08 Roland McGrath <roland@hack.frob.com>
1586
a2433aac
RM
1587 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1588
cdd915fd
RM
1589 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1590 sysdeps/unix -> sysdeps/posix move.
1591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1592
bf9b740a
AM
15932012-08-07 Allan McRae <allan@archlinux.org>
1594
1595 [BZ #14303]
1596 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1597 (SUNOS_CPP): Likewise.
1598 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1599 not found.
1600 (open_input): Call CPP using execvp.
1601
93df14ee
JM
16022012-08-07 Joseph Myers <joseph@codesourcery.com>
1603
1604 * sysdeps/unix/sysv/linux/kernel-features.h
1605 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1606 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1607 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1608 (__ASSUME_WAITID_SYSCALL): Likewise.
1609 * sysdeps/unix/sysv/linux/dl-execstack.c
1610 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1611 code unconditional.
1612 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1613 conditional code.
1614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1615 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1616 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1617 code.
1618 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1619 unconditional.
1620 [__ASSUME_WAITID_SYSCALL]: Likewise.
1621 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1622
d34689de
RM
16232012-08-07 Roland McGrath <roland@hack.frob.com>
1624
a281decc
RM
1625 * sysdeps/unix/closedir.c: Renamed to ...
1626 * sysdeps/posix/closedir.c: ... here.
1627 * sysdeps/unix/dirfd.c: Renamed to ...
1628 * sysdeps/posix/dirfd.c: ... here.
1629 * sysdeps/unix/dirstream.h: Renamed to ...
1630 * sysdeps/posix/dirstream.h: ... here.
1631 * sysdeps/unix/fdopendir.c: Renamed to ...
1632 * sysdeps/posix/fdopendir.c: ... here.
1633 * sysdeps/unix/opendir.c: Renamed to ...
1634 * sysdeps/posix/opendir.c: ... here.
1635 * sysdeps/unix/readdir.c: Renamed to ...
1636 * sysdeps/posix/readdir.c: ... here.
1637 * sysdeps/unix/readdir_r.c: Renamed to ...
1638 * sysdeps/posix/readdir_r.c: ... here.
1639 * sysdeps/unix/rewinddir.c: Renamed to ...
1640 * sysdeps/posix/rewinddir.c: ... here.
1641 * sysdeps/unix/seekdir.c: Renamed to ...
1642 * sysdeps/posix/seekdir.c: ... here.
1643 * sysdeps/unix/telldir.c: Renamed to ...
1644 * sysdeps/posix/telldir.c: ... here.
1645 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1646 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1647 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1648 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1649
22895b47
RM
1650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1651 * bits/fcntl.h: ... here.
1652
707a53b6
RM
1653 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1654 not 0.
1655 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1656 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1657 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1658 (struct flock): Move l_start, l_len to the beginning.
1659 Use __pid_t for l_pid.
1660 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1661 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1662 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1663 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1664 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1665 [__USE_LARGEFILE64] (struct flock64): New type.
1666 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1667
f0bd3e25
RM
1668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1669 * bits/dirent.h: ... here.
1670
d34689de
RM
1671 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1672 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1673
6dad2c06
JM
16742012-08-07 Joseph Myers <joseph@codesourcery.com>
1675
1676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1677 Change from 2.6.0 to 2.6.16.
1678 * sysdeps/unix/sysv/linux/configure: Regenerated.
1679 * sysdeps/unix/sysv/linux/kernel-features.h
1680 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1681 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1682 version.
1683 (__ASSUME_UTIMES): Likewise.
1684 (__ASSUME_CLONE_STOPPED): Remove.
1685 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1686 architectures, not kernel version.
1687 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1690 (__ASSUME_WAITID_SYSCALL): Likewise.
1691 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1692 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1693 * README: State 2.6.16 as minimum Linux kernel version. Do not
1694 refer to older versions.
1695
03af9520
RM
16962012-08-06 Roland McGrath <roland@hack.frob.com>
1697
8e49df1d
RM
1698 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1699 Define alphasort64 as an alias.
1700 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1701 Define versionsort64 as an alias.
1702 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1703 Define scandir64 as an alias.
1704 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1705 Define scandirat64 as an alias.
1706 * dirent/alphasort64.c (alphasort64):
1707 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1708 * dirent/versionsort64.c: Likewise.
1709 * dirent/scandir64.c: Likewise.
1710 * dirent/scandirat64.c: Likewise.
1711 * sysdeps/wordsize-64/alphasort.c: File removed.
1712 * sysdeps/wordsize-64/alphasort64.c: File removed.
1713 * sysdeps/wordsize-64/scandir.c: File removed.
1714 * sysdeps/wordsize-64/scandir64.c: File removed.
1715 * sysdeps/wordsize-64/scandirat.c: File removed.
1716 * sysdeps/wordsize-64/scandirat64.c: File removed.
1717 * sysdeps/wordsize-64/versionsort.c: File removed.
1718 * sysdeps/wordsize-64/versionsort64.c: File removed.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1727
1728 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1730 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1732 [defined __arch64__ || defined __sparcv9]
1733 (__INO_T_MATCHES_INO64_T): New macro.
1734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1735 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1736 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1737 * sysdeps/unix/sysv/linux/bits/dirent.h
1738 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1739 (_DIRENT_MATCHES_DIRENT64): New macro.
1740
03af9520
RM
1741 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1742 Define lockf64 as an alias.
1743 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1744 Define fseeko64 as an alias.
1745 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1746 Define ftello64 as an alias.
1747 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1748 Define _IO_fgetpos64 and fgetpos64 as aliases.
1749 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1750 Define _IO_fsetpos64 and fsetpos64 as aliases.
1751 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1752 Conditionalize body on this.
1753 * libio/fseeko64.c: Likewise.
1754 * libio/ftello64.c: Likewise.
1755 * libio/iofgetpos64.c: Likewise.
1756 * libio/iofsetpos64.c: Likewise.
1757 * sysdeps/wordsize-64/lockf.c: File removed.
1758 * sysdeps/wordsize-64/lockf64.c: File removed.
1759 * sysdeps/wordsize-64/fseeko.c: File removed.
1760 * sysdeps/wordsize-64/fseeko64.c: File removed.
1761 * sysdeps/wordsize-64/ftello.c: File removed.
1762 * sysdeps/wordsize-64/ftello64.c: File removed.
1763 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1764 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1765 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1766 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1777
1778 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1780 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1782 [defined __arch64__ || defined __sparcv9]
1783 (__OFF_T_MATCHES_OFF64_T): New macro.
1784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1785 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1787 (__OFF_T_MATCHES_OFF64_T): New macro.
1788
c5757acd
L
17892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 * stdlib/secure-getenv.c (__secure_getenv): Replace
1792 GLIBC_2_16 with GLIBC_2_17.
1793
3a31811e
L
17942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1798
faa2bccb
DM
17992012-08-03 David S. Miller <davem@davemloft.net>
1800
1801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1802
85fe1997
JM
18032012-08-03 Joseph Myers <joseph@codesourcery.com>
1804
1805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1806 Remove.
1807 (__ASSUME_CORRECT_SI_PID): Likewise.
1808 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1809 (__ASSUME_TMPFS_NAME): Likewise.
1810 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1811 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1812 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1813 (HAVE_AUX_SECURE): Make definition unconditional.
1814 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1815 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1816
4f75b7a0
RM
18172012-08-03 Roland McGrath <roland@hack.frob.com>
1818
1819 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1820 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1821 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1822 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1823 __eloop_threshold instead of SYMLOOP_MAX.
1824
1825 * sysdeps/generic/eloop-threshold.h: New file.
1826 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1827 of MAXSYMLINKS.
1828 * elf/chroot_canon.c (chroot_canon): Likewise.
1829
7aab07e4
JM
18302012-08-03 Joseph Myers <joseph@codesourcery.com>
1831
1832 [BZ #13717]
1833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1834 Change to 2.6.0 everywhere.
1835 * sysdeps/unix/sysv/linux/configure: Regenerated.
1836 * sysdeps/unix/sysv/linux/kernel-features.h
1837 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1838 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1839 kernel versions.
1840 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1841 (__ASSUME_FUTEX_REQUEUE): Remove.
1842 (__ASSUME_STATFS64): Define unconditionally.
1843 (__ASSUME_AT_SECURE): Likewise.
1844 (__ASSUME_CORRECT_SI_PID): Likewise.
1845 (__ASSUME_TGKILL): Define without depending on kernel version for
1846 i386.
1847 (__ASSUME_UTIMES): Likewise.
1848 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1849 kernel version.
1850 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1851 (__ASSUME_TMPFS_NAME): Likewise.
1852 * README: Update reference to Linux kernel versions.
1853
b67e9372
MP
18542012-08-02 Marek Polacek <polacek@redhat.com>
1855
1f529f7d 1856 [BZ# 14150]
b67e9372
MP
1857 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1858 libc_cv_asm_type_prefix with %.
1859 * configure: Regenerated.
d2441631
RM
1860 * include/libc-symbols.h: Remove comment about
1861 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1862 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1863 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1864 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1865 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1866 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1867 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1869 * elf/tst-unique2mod1.c: Likewise.
1870 * elf/tst-unique1mod2.c: Likewise.
1871 * elf/tst-unique1mod1.c: Likewise.
1872 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1873 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1874 Replace ASM_TYPE_DIRECTIVE with .type.
1875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1876 * sysdeps/i386/sysdep.h: Likewise.
1877 * sysdeps/x86_64/sysdep.h: Likewise.
1878 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1880 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1881 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1882 * sysdeps/powerpc/powerpc32/sysdep.h:
1883 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1886 * sysdeps/i386/fpu/e_powf.S: Likewise.
1887 * sysdeps/i386/fpu/e_expl.S: Likewise.
1888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1890 * sysdeps/i386/fpu/e_pow.S: Likewise.
1891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1895 * sysdeps/i386/fpu/e_log2.S: Likewise.
1896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1898 * sysdeps/i386/fpu/e_powl.S: Likewise.
1899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1901 * sysdeps/i386/fpu/e_logl.S: Likewise.
1902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1903 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1904 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1905 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1907 * sysdeps/i386/fpu/e_log.S: Likewise.
1908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1909 * sysdeps/i386/fpu/e_logf.S: Likewise.
1910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1912 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1913 * sysdeps/i386/fpu/e_log10.S: Likewise.
1914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1919 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1920 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1921 * sysdeps/i386/i686/strtok.S: Likewise.
1922 * sysdeps/i386/i386-mcount.S: Likewise.
1923 * sysdeps/i386/strtok.S: Likewise.
1924 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1925 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1930 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1931 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1933 * sysdeps/x86_64/_mcount.S: Likewise.
1934 * sysdeps/x86_64/strtok.S: Likewise.
1935 * sysdeps/sh/_mcount.S: Likewise.
1936
2747bf9a
RM
19372012-08-01 Roland McGrath <roland@hack.frob.com>
1938
1939 * libio/iofopen.c: Include <fcntl.h>.
1940 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1941 (_IO_fopen64, fopen64): Define as aliases.
1942 * libio/iofopen64.c: Include <fcntl.h>.
1943 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1944 Conditionalize body on this.
1945 * sysdeps/wordsize-64/iofopen.c: File removed.
1946 * sysdeps/wordsize-64/iofopen64.c: File removed.
1947
3fb791b8
MP
19482012-08-01 Marek Polacek <polacek@redhat.com>
1949
1950 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1951 Use dlfcn directly instead of a variable.
1952 (binfmt-subdir): Do not define.
1953 (dlfcn): Likewise.
1954
a9f1039f
JM
19552012-08-01 Joseph Myers <joseph@codesourcery.com>
1956
23bddc06
JM
1957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1958 Remove all definitions.
1959 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1960 <kernel-features.h>.
1961 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1962 (miss_F_GETOWN_EX): Remove all definitions.
1963 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1964 macro definition.
1965 [!__ASSUME_FCNTL64]: Remove conditional code.
1966 [__ASSUME_FCNTL64]: Make code unconditional.
1967 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1968 <kernel-features.h>.
1969 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1970 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1971 (lockf64) [__NR_fcntl64]: Make code unconditional.
1972 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1973
a9f1039f
JM
1974 * sysdeps/unix/sysv/linux/kernel-features.h
1975 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1976 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1977 Make code unconditional.
1978 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1979 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1981 [__NR_vfork]: Make code unconditional.
1982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1985 [__NR_vfork]: Make code unconditional.
1986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1988
09c0ee5f
RM
19892012-08-01 Roland McGrath <roland@hack.frob.com>
1990
48aec5b9
RM
1991 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1992 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1993
cd97c966
RM
1994 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1995 Define mkstemp64 as an alias.
3f55550c
RM
1996 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1997 Define mkstemps64 as an alias.
cd97c966
RM
1998 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1999 Define mkostemp64 as an alias.
b8625cfc
RM
2000 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2001 Define mkostemps64 as an alias.
cd97c966
RM
2002 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2003 Conditionalize body on this.
2004 * misc/mkostemp64.c: Likewise.
b8625cfc 2005 * misc/mkostemps64.c: Likewise.
3f55550c 2006 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2007 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2008 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2009 * sysdeps/wordsize-64/mkostemp.c: File removed.
2010 * sysdeps/wordsize-64/mkstemp.c: File removed.
2011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2015
09c0ee5f
RM
2016 [BZ #14138]
2017 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2019 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2020 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2021
2022 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2023 compat_symbol macros from <shlib-compat.h> rather than the underlying
2024 default_symbol_version and symbol_version macros, so that DEFAULT
2025 lines in shlib-versions are respected.
2026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2027
7e66ee51
FW
20282012-08-01 Florian Weimer <fweimer@redhat.com>
2029
2030 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2031 Declare with warn_unused_result.
2032 (setgid, setregid, setegid, setresgid): Likewise.
2033 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2034 Likewise.
2035 * WUR-REPORT: Remove set*id functions.
2036
d2a54255
PT
20372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2038
2039 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2040
7ecdb005
RM
20412012-07-31 Roland McGrath <roland@hack.frob.com>
2042
789bd351
RM
2043 * include/sys/socket.h (__libc_accept, __libc_accept4):
2044 Add attribute_hidden.
2045 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2046
40ce302d
RM
2047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2048 use of PTR_MANGLE.
2049 * inet/getnetgrent_r.c (setup): Likewise.
2050
7ecdb005
RM
2051 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2052
e2eabb2c
DM
20532012-07-31 David S. Miller <davem@davemloft.net>
2054
2055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2056
d0419dbf
JM
20572012-07-31 Joseph Myers <joseph@codesourcery.com>
2058
2059 [BZ #13629]
2060 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2061 value between 1.0 and 2.0 and smaller part has absolute value less
2062 than 1.0.
2063 * math/s_clog10.c (__clog10): Likewise.
2064 * math/s_clog10f.c (__clog10f): Likewise.
2065 * math/s_clog10l.c (__clog10l): Likewise.
2066 * math/s_clogf.c (__clogf): Likewise.
2067 * math/s_clogl.c (__clogl): Likewise.
2068 * math/libm-test.inc (clog_test): Add more tests.
2069 (clog10_test): Likewise.
2070 * sysdeps/i386/fpu/libm-test-ulps: Update.
2071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2072
2bc13872
FW
20732012-07-31 Florian Weimer <fweimer@redhat.com>
2074
2075 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2076 Exit with zero in case no suitable GID is found, and write a
2077 message to standard error.
2078
bea9b193
RM
20792012-07-30 Roland McGrath <roland@hack.frob.com>
2080
2081 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2082 rather than to 1.
2083 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2084 (MAXPATHLEN): Removed.
2085 (NOGROUP, NODEV): New macros.
2086 (setbit, clrbit, isset, isclr): New macros.
2087 (howmany, roundup, powerof2): New macros.
2088 (DEV_BSIZE): New macro.
2089
2090 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2091 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2092
2093 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2094 definition on [!__NO_LONG_DOUBLE_MATH].
2095
2096 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2097 PTR_MANGLE and PTR_DEMANGLE.
2098
2099 * socket/accept4.c (accept4): Rename to __libc_accept4.
2100 Define accept4 as a weak alias.
2101
2102 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2103 on [_DIRENT_HAVE_D_TYPE].
2104 * io/ftw.c (ftw_dir): Likewise.
2105
2106 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2107
2108 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2109
2110 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2111 Use the BSD numbers rather than the arbitrary ones we had.
2112 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2113 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2114 (SIGXCPU, SIGXFSZ): New macros.
2115 (_NSIG): Now 32.
2116
2117 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2118 initializer on [_LIBC_REENTRANT].
2119
2120 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2121 definitions inside [_POSIX_MAPPED_FILES].
2122
2123 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2124
2125 * dirent/opendir.c: Include <fcntl.h>.
2126
2127 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2128 (__libc_getspecific): Likewise.
2129 (__libc_key_create): Likewise.
2130
2131 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2132 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2133 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2134 (tmpfile64): Define as alias.
2135 * sysdeps/wordsize-64/tmpfile.c: File removed.
2136 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2139
2140 * stdio-common/vfscanf.c: Include <stdbool.h>.
2141 * nss/makedb.c: Likewise.
2142 * stdio-common/_i18n_number.h: Likewise.
2143 * argp/argp-help.c: Likewise.
2144 * posix/wordexp.c: Likewise.
2145 * sysdeps/posix/spawni.c: Likewise.
2146 * nss/nss_files/files-initgroups.c: Likewise.
2147 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2148 * nss/nss_files/files-initgroups.c: Likewise.
2149 * nss/nss_db/db-netgrp.c: Likewise.
2150 * nss/nss_db/db-initgroups.c: Likewise.
2151 * io/fchmodat.c: Include <sys/stat.h>.
2152
2153 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2154 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2155
2156 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2157 [HAVE_MMAP].
2158
2159 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2160 Add multiple inclusion protection.
2161
e5abc686
DM
21622012-07-27 David S. Miller <davem@davemloft.net>
2163
2164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2165
815e6fa3
GB
21662012-07-27 Gary Benson <gbenson@redhat.com>
2167
2168 [BZ #14298]
2169 * elf/rtld.c: Include <stap-probe.h>.
2170 (dl_main): Added static probes "init_start" and "init_complete".
2171 * elf/dl-load.c: Include <stap-probe.h>.
2172 (lose): Take new parameter "nsid".
2173 Added static probe "map_failed".
2174 (_dl_map_object_from_fd): Pass namespace id to lose.
2175 Added static probe "map_start".
2176 (open_verify): Pass namespace id to lose.
2177 * elf/dl-open.c: Include <stap-probe.h>.
2178 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2179 and "reloc_complete".
2180 * elf/dl-close.c: Include <stap-probe.h>.
2181 (_dl_close_worker): Added static probes "unmap_start" and
2182 "unmap_complete".
2183 * elf/rtld-debugger-interface.txt: New file documenting the above.
2184
9f98c16c
RM
21852012-07-26 Roland McGrath <roland@hack.frob.com>
2186
2187 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2188 rather than a string variable.
2189 * sunrpc/rpc_main.c (h_output): Likewise.
2190 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2191
f3c22df3
PT
21922012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2193
2194 * inet/check_native.c: New file.
2195
3129cfc6
JM
21962012-07-26 Joseph Myers <joseph@codesourcery.com>
2197
da865e95
JM
2198 [BZ #13629]
2199 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2200 if larger part has absolute value 1.0.
2201 * math/s_clog10.c (__clog10): Likewise.
2202 * math/s_clog10f.c (__clog10f): Likewise.
2203 * math/s_clog10l.c (__clog10l): Likewise.
2204 * math/s_clogf.c (__clogf): Likewise.
2205 * math/s_clogl.c (__clogl): Likewise.
2206 * math/libm-test.inc (clog_test): Add more tests.
2207 (clog10_test): Likewise.
2208 * sysdeps/i386/fpu/libm-test-ulps: Update.
2209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2210
3129cfc6
JM
2211 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2212 (pltexit): Likewise.
2213 (La_regs): Likewise.
2214 (La_retval): Likewise.
2215 (int_retval): Likewise.
2216 Update #error for removed macros to refer only to definitions in
2217 tst-audit.h.
2218 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2219 macro.
2220 (pltexit): Likewise.
2221 (La_regs): Likewise.
2222 (La_retval): Likewise.
2223 (int_retval): Likewise.
2224 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2225 macro.
2226 (pltexit): Likewise.
2227 (La_regs): Likewise.
2228 (La_retval): Likewise.
2229 (int_retval): Likewise.
2230 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2231 macro.
2232 (pltexit): Likewise.
2233 (La_regs): Likewise.
2234 (La_retval): Likewise.
2235 (int_retval): Likewise.
2236 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2237 macro.
2238 (pltexit): Likewise.
2239 (La_regs): Likewise.
2240 (La_retval): Likewise.
2241 (int_retval): Likewise.
2242 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2243 macro.
2244 (pltexit): Likewise.
2245 (La_regs): Likewise.
2246 (La_retval): Likewise.
2247 (int_retval): Likewise.
2248 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2249 macro.
2250 (pltexit): Likewise.
2251 (La_regs): Likewise.
2252 (La_retval): Likewise.
2253 (int_retval): Likewise.
2254 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2255 macro definitions in tst-audit.h.
2256 * sysdeps/i386/tst-audit.h: New file.
2257 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2258 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2259 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2260 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2261 * sysdeps/sh/tst-audit.h: Likewise.
2262 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2263 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2264 * sysdeps/x86_64/tst-audit.h: Likewise.
2265
bfc07087
AJ
22662012-07-26 Andreas Jaeger <aj@suse.de>
2267
b1b2aaf8
AJ
2268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2269 ptrace.
2270
2271 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2272 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2273 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2274 PTRACE_O_MASK.
2275 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2278
bfc07087
AJ
2279 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2280 value.
2281
2282 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2283 _sigsys.
2284 (si_call_addr, si_syscall, si_arch): Define new macro.
2285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2286 _sigsys.
2287 (si_call_addr, si_syscall, si_arch): Define new marcro.
2288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2289 _sigsys.
2290 (si_call_addr, si_syscall, si_arch): Define new macro.
2291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2292 _sigsys.
2293 (si_call_addr, si_syscall, si_arch): Define new macro.
2294
89b4b02f
JM
22952012-07-25 Joseph Myers <joseph@codesourcery.com>
2296
2297 [BZ #13717]
2298 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2299 Change to 2.4.21 where previously 2.4.1.
2300 * sysdeps/unix/sysv/linux/configure: Regenerated.
2301 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2302 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2303 Linux kernel version.
2304 (__ASSUME_STD_AUXV): Remove.
2305 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2306 kernel version.
2307 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2308 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2309 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2310 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2311 (__ASSUME_NETLINK_SUPPORT): Likewise.
2312 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2313 (__no_netlink_support): Remove conditional definition.
2314 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2315 Remove.
2316 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2317 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2318 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2319 (if_nameindex_ioctl): Remove.
2320 (if_nameindex_netlink): Do not handle __no_netlink_support.
2321 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2322 code.
2323 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2324 Remove conditional code.
2325 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2326 code.
2327 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2328 unconditional.
2329 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2330 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2331 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2332 Remove.
2333 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2334 [!__ASSUME_STD_AUXV]: Remove conditional code.
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2336 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2337 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2339 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2340 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2341 code.
2342 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2345 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2346 conditional code.
2347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2349 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2350 code.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2352 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2353 conditional code.
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2355 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2356 code unconditional.
2357 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2358 conditional code.
2359 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2360 unconditional.
2361 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2362 conditional code.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2364 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2365 unconditional.
2366 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2367 conditional code.
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2369 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2370 code unconditional.
2371 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2372 conditional code.
2373 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2374 unconditional.
2375 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2376 conditional code.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2378 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2379 code unconditional.
2380 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2381 conditional code.
2382 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2383 unconditional.
2384 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2385 conditional code.
2386
842a39cd
AS
23872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2388
2389 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2390 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2391 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2393 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2394 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2395 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2396 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2397 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2398 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2399 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2400 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2402 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2403 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2409 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2410 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2411 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2412
84b3fd84
FW
24132012-07-25 Florian Weimer <fweimer@redhat.com>
2414
2415 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2416 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2417 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2418 Introduce __libc_secure_getenv.
0c7936d5
FW
2419 * stdlib/Versions (2.17): Add secure_getenv
2420 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2421 * stdlib/secure-getenv.c: Rename __secure_getenv to
2422 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2423 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2424 * stdlib/tst-secure-getenv.c: New.
2425 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2426 * manual/startup.texi (Environment Access): Document
2427 secure_getenv.
84b3fd84
FW
2428 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2429 __libc_secure_getenv.
2430 * inet/ruserpass.c (ruserpass): Likewise.
2431 * malloc/mtrace.c (mtrace): Likewise.
2432 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2433 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2434 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2435 * sysdeps/posix/tempname.c: Likewise. Evaluate
2436 HAVE_SECURE_GETENV.
2437 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2438 __secure_getenv to __libc_secure_getenv.
84b3fd84 2439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2441 Likewise.
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2443 Likewise.
2444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2451
56e49b71
JM
24522012-07-25 Joseph Myers <joseph@codesourcery.com>
2453
2454 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2455 (struct La_i86_retval): Likewise.
2456 (struct La_x86_64_regs): Likewise.
2457 (struct La_x86_64_retval): Likewise.
2458 (struct La_x32_regs): Likewise.
2459 (struct La_x32_retval): Likewise.
2460 (struct La_ppc32_regs): Likewise.
2461 (struct La_ppc32_retval): Likewise.
2462 (struct La_ppc64_regs): Likewise.
2463 (struct La_ppc64_retval): Likewise.
2464 (struct La_sh_regs): Likewise.
2465 (struct La_sh_retval): Likewise.
2466 (struct La_s390_32_regs): Likewise.
2467 (struct La_s390_32_retval): Likewise.
2468 (struct La_s390_64_regs): Likewise.
2469 (struct La_s390_64_retval): Likewise.
2470 (struct La_sparc32_regs): Likewise.
2471 (struct La_sparc32_retval): Likewise.
2472 (struct La_sparc64_regs): Likewise.
2473 (struct La_sparc64_retval): Likewise.
2474 (struct audit_ifaces): Remove architecture-specific pltenter and
2475 pltexit members.
2476 * sysdeps/i386/ldsodefs.h: New file.
2477 * sysdeps/powerpc/ldsodefs.h: Likewise.
2478 * sysdeps/s390/ldsodefs.h: Likewise.
2479 * sysdeps/sh/ldsodefs.h: Likewise.
2480 * sysdeps/sparc/ldsodefs.h: Likewise.
2481 * sysdeps/x86_64/ldsodefs.h: Likewise.
2482
354691b7
MP
24832012-07-25 Marek Polacek <polacek@redhat.com>
2484
2485 [BZ #6808]
2486 * math/libm-test.inc (yn_test): Add another test.
2487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2488 to ERANGE when the result is +-Inf.
2489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2490 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2491 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2493
bf9e2071
JM
24942012-07-24 Joseph Myers <joseph@codesourcery.com>
2495
2496 * conform/data/time.h-data (NULL): Use macro-constant. Require
2497 equal to 0.
2498 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2499 clock_t.
2500 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2501
57633811
TS
25022012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2503
2504 * configure.in <sysdeps resolving>: Correct printing
2505 Implies_before.
2506 * configure: Regenerate.
2507
c23c33b0
TS
25082012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2509
2510 * math/w_ilogb.c: Include <limits.h>.
2511 * math/w_ilogbl.c: Likewise.
2512
b5982523
JM
25132012-07-20 Joseph Myers <joseph@codesourcery.com>
2514
2515 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2516 va_copy. Document allowing for unavailable va_copy only as
2517 pre-C99 compatibility.
2518 * manual/string.texi (Copying and Concatenation): Use va_copy
2519 instead of __va_copy in concat example.
2520
ac4ea442
PT
25212012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2522
2523 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2524 (__sendto): Use create_address_port. Initialize APORT and deallocate
2525 it if not null.
2526
f98eafbd
PT
2527 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2528 with O_NOLINK passed to __file_name_lookup.
2529
898c7aab
PT
2530 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2531 with O_NOLINK passed to __file_name_lookup.
2532
0ced335a
PT
2533 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2534 negative N or less than NGIDS.
2535
b3404dbd
PT
2536 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2537 type to string_t. Set ERANGE as errno and return it if NAME is not big
2538 enough. Use memcpy instead of strncpy.
2539
0f48659e
JM
25402012-07-20 Joseph Myers <joseph@codesourcery.com>
2541
2542 * elf/Makefile (check-data): Remove.
2543 (localplt.data): New vpath directive.
2544 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2545 instead of $(check-data).
2546 * scripts/data/localplt-generic.data: Move to ...
2547 * sysdeps/generic/localplt.data: ... here.
2548 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2549 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2550 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2552 ... here.
2553 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2555 ... here.
2556 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2558 ... here.
2559 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2561 ... here.
2562 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2564 ... here.
2565 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2567 ... here.
2568
d37cbdaa
AZ
25692012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570
2571 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2572 PPC32 and PPC64 files.
2573 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2574 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2575
46f85fc2
AK
25762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2577
2578 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2579 __makecontext_ret to ...
2580 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2581 ... here and call exit if uc_link is NULL. New file.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2583 __makecontext_ret.S.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2585 __makecontext_ret to ...
2586 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2587 ... here and call exit if uc_link is NULL. New file.
2588 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2589 __makecontext_ret.S.
2590
08f43f9b
AK
25912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2592
2593 * elf/elf.h (R_390_IRELATIVE): New definition.
2594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2595 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2596 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2598 (elf_machine_lazy_rel): Likewise.
2599 * sysdeps/s390/dl-irel.h: New file.
2600 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2601 * sysdeps/s390/s390-64/memset.S: New asm code.
2602 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2603 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2604 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2605 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2606 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2607 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2608 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2609 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2610 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2611 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2612 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2613 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2614 * sysdeps/s390/s390-32/memset.S: New asm code.
2615 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2616
3b05db33
MP
26172012-07-17 Marek Polacek <polacek@redhat.com>
2618
2619 [BZ #14349]
2620 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2621 * sysdeps/s390/s390-64/configure.in: Likewise.
2622 * sysdeps/sparc/configure.in: Likewise.
2623 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2624 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2625 * sysdeps/i386/configure.in: Likewise.
2626 * sysdeps/x86_64/configure.in: Likewise.
2627 * sysdeps/sh/configure.in: Likewise.
2628 * sysdeps/s390/s390-32/configure: Regenerated.
2629 * sysdeps/s390/s390-64/configure: Likewise.
2630 * sysdeps/x86_64/configure: Likewise.
2631 * sysdeps/sh/configure: Likewise.
2632 * sysdeps/powerpc/powerpc64/configure: Likewise.
2633 * sysdeps/powerpc/powerpc32/configure: Likewise.
2634 * sysdeps/sparc/configure: Likwise.
2635 * sysdeps/i386/configure: Likewise.
2636
a66877c6
MP
2637 * elf/dl-open.c: Comment fixes.
2638
cfc82fd8
JM
26392012-07-17 Joseph Myers <joseph@codesourcery.com>
2640
bd29910a
JM
2641 * Makefile [CXX] (check-data): Remove.
2642 [CXX] (c++-types.data): New vpath directive.
2643 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2644 vpath. Do not allow for C++ type data being missing.
2645 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2646 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2647 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2648 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2649 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2650 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2651 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2653 ... here.
2654 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2656 ... here.
2657 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2659 ... here.
2660 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2662 ... here.
2663 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2665 ... here.
2666 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2668 ... here.
2669 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2671 ... here.
2672 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2674
cfc82fd8
JM
2675 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2676 definitions to architecture-specific files.
2677 (TLS_IE): Likewise.
2678 (TLS_LD): Likewise.
2679 (TLS_GD): Likewise.
2680 * sysdeps/i386/tls-macros.h: New file.
2681 * sysdeps/powerpc/tls-macros.h: Likewise.
2682 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2683 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2684 * sysdeps/sh/tls-macros.h: Likewise.
2685 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2686 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2687 * sysdeps/x86_64/tls-macros.h: Likewise.
2688
f7db3170
TS
26892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2690
07cbfc23
TS
2691 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2692 zero value for regular exit case.
2693
f7db3170
TS
2694 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2695 (__start_context): Preserve zero value for regular exit case.
2696
dc97c227
TS
26972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2698 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2699
2700 * manual/setjmp.texi (setcontext): Clarify normal process
2701 termination when uc_link is the null pointer.
2702 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2703 exit call.
2704
d0cd7d02
AS
27052012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2706
2707 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2708 preprocessor. Test for each exception mask separately.
2709
dd318934
AJ
27102012-07-16 Andreas Jaeger <aj@suse.de>
2711
2712 * po/ru.po: Update from translation team.
2713
8048311a
JM
27142012-07-15 Joseph Myers <joseph@codesourcery.com>
2715
2716 * conform/data/string.h-data (NULL): Use macro-constant. Require
2717 equal to 0.
2718 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2719 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2720 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2721 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2723
b637d46e
AJ
27242012-07-13 Andreas Jaeger <aj@suse.de>
2725
2726 * po/fr.po: Update from translation team.
2727
541428fe
MP
27282012-07-12 Marek Polacek <polacek@redhat.com>
2729
2730 [BZ #14173]
2731 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2733 loop condition.
2734
ec332e94
JM
27352012-07-12 Joseph Myers <joseph@codesourcery.com>
2736
2737 [BZ #13717]
2738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2739 Change to 2.4.1 where previously 2.4.0.
2740 * sysdeps/unix/sysv/linux/configure: Regenerated.
2741 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2742 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2743 version.
2744 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2745 (__ASSUME_AT_CLKTCK): Remove.
2746 (__ASSUME_AT_PAGESIZE): Likewise.
2747 (__ASSUME_AT_XID): Likewise.
2748 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2749 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2750 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2751 unconditionally.
2752 (HAVE_AUX_PAGESIZE): Likewise.
2753 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2754 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2755 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2756
7b6e99be
JB
27572012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2758
2759 [BZ #14307]
2760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2761 the temporary buffer used to invoke __gethostbyname2_r,
2762 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2763 host_data / struct gaih_addrtuple.
2764 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2765 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2766 header file nss/nsswitch.h.
2767 * nss/nsswitch.h (global scope): Add definition of implementation
2768 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2769 resolv/nss_dns/dns-host.c).
2770
608404eb
AJ
27712012-07-11 Andreas Jaeger <aj@suse.de>
2772
2773 * po/fr.po: Update from translation team.
2774
71220aca
AJ
2775 * po/sv.po: Update from translation team
2776 * po/fr.po: Another update from translation team.
2777
28cfe843
AZ
27782012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
2780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2781 for subnormals or multiply small sinh result by itself.
2782 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2784
6b90f981
DM
27852012-07-11 David S. Miller <davem@davemloft.net>
2786
2787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2788
c6825772
AS
27892012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2790
2791 [BZ #14347]
2792 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2793 (INTERNAL_MARK): Shift it here.
2794
7b8e0d49
MP
27952012-07-10 Marek Polacek <polacek@redhat.com>
2796
2797 [BZ #14151]
2798 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2799 libc_cv_asm_global_directive with .globl.
2800 * configure: Regenerated.
2801 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2802 with .globl.
2803 * sysdeps/i386/configure: Regenerated.
2804 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2805 with .globl.
2806 * sysdeps/x86_64/configure: Regenerated.
2807 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2808 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2809 * elf/tst-unique2mod2.c: Likewise.
2810 * elf/tst-unique2mod1.c: Likewise.
2811 * elf/tst-unique1mod2.c: Likewise.
2812 * elf/tst-unique1mod1.c: Likewise.
2813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2814 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2815 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2817 * sysdeps/mach/sysdep.h: Likewise.
2818 * sysdeps/i386/sysdep.h: Likewise.
2819 * sysdeps/i386/i386-mcount.S: Likewise.
2820 * sysdeps/x86_64/_mcount.S: Likewise.
2821 * sysdeps/x86_64/sysdep.h: Likewise.
2822 * sysdeps/sh/_mcount.S: Likewise.
2823 * sysdeps/sh/sysdep.h: Likewise.
2824 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2825 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2828 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2831 * locale/localeinfo.h: Likewise.
2832 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2833 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2834
6c55cda3
RM
28352012-07-09 Roland McGrath <roland@hack.frob.com>
2836
2837 [BZ #14336]
2838 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2839 system".
2840 * manual/message.texi (The Uniforum approach): Likewise.
2841 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2842 (glibc iconv Implementation): Likewise.
2843
638a572e
JM
28442012-07-09 Joseph Myers <joseph@codesourcery.com>
2845
2846 [BZ #14337]
2847 * math/s_clog.c (__clog): Avoid scaling a value down where that
2848 could result in underflow.
2849 * math/s_clog10.c (__clog10): Likewise.
2850 * math/s_clog10f.c (__clog10f): Likewise.
2851 * math/s_clog10l.c (__clog10l): Likewise.
2852 * math/s_clogf.c (__clogf): Likewise.
2853 * math/s_clogl.c (__clogl): Likewise.
2854 * math/libm-test.inc (clog_test): Add more tests.
2855 (clog10_test): Likewise.
2856 * sysdeps/i386/fpu/libm-test-ulps: Update.
2857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2858
261f4859
AS
28592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2860
0abaf3e4
AS
2861 [BZ #14283]
2862 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2863 by 7 not 8 to examine high bit of fractional part.
2864
261f4859
AS
2865 [BZ #14042]
2866 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2867 for call to __mcount_internal.
2868 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2869 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2870 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2871
f17ac40d
JM
28722012-07-06 Joseph Myers <joseph@codesourcery.com>
2873
9ad63c23
JM
2874 [BZ #14154]
2875 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2876 approximation for values within 0x1p-13f of an odd multiple of
2877 pi/4.
2878 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2879 exception. Add more tests.
2880 * sysdeps/i386/fpu/libm-test-ulps: Update.
2881
f17ac40d
JM
2882 [BZ #6778]
2883 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2884 inputs and return -1 for them. Do not check for +Inf in case not
2885 reachable for +Inf.
2886 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2887 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2889 and return -1 for them. Do not check for +Inf in case not
2890 reachable for +Inf.
2891 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2892 define.
2893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2894 and return -1 for them. Do not check for +Inf in case not
2895 reachable for +Inf.
2896 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2897 spurious underflow.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900
fb21f89b
MF
29012012-07-06 Mike Frysinger <vapier@gentoo.org>
2902
2903 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2904
cdfe2c5e
JM
29052012-07-05 Joseph Myers <joseph@codesourcery.com>
2906
2907 [BZ #14157]
2908 [BZ #14331]
2909 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2910 could result in spurious underflow. Scale down values above
2911 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2912 * math/s_csqrtf.c (__csqrtf): Likewise.
2913 * math/s_csqrtl.c (__csqrtl): Likewise.
2914 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2915 spurious underflow.
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2918
70d35b67
AS
29192012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2920
704bc459
AS
2921 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2922 xopen-msg.sed.
2923 * catgets/xopen-msg.awk: New file.
2924 * catgets/xopen-msg.sed: Removed.
2925
70d35b67
AS
2926 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2927 po2text.sed.
2928 * intl/po2test.awk: New file.
2929 * intl/po2test.sed: Removed.
2930
ca61cf32
JM
29312012-07-04 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #14328]
2934 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2935 or multiply small sinh result by itself.
2936 * math/s_ctanf.c (__ctanf): Likewise.
2937 * math/s_ctanh.c (__ctanh): Likewise.
2938 * math/s_ctanhf.c (__ctanhf): Likewise.
2939 * math/s_ctanhl.c (__ctanhl): Likewise.
2940 * math/s_ctanl.c (__ctanl): Likewise.
2941 * math/libm-test.inc (ctan_test_tonearest): New function.
2942 (ctan_test_towardzero): Likewise.
2943 (ctan_test_downward): Likewise.
2944 (ctan_test_upward): Likewise.
2945 (ctanh_test_tonearest): Likewise.
2946 (ctanh_test_towardzero): Likewise.
2947 (ctanh_test_downward): Likewise.
2948 (ctanh_test_upward): Likewise.
2949 (main): Call these new functions.
2950 * sysdeps/i386/fpu/libm-test-ulps: Update.
2951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2952
ca48a46a
MF
29532012-07-03 Mike Frysinger <vapier@gentoo.org>
2954
2955 * .gitignore: Delete /ports entry.
2956
9d63d37d
AJ
29572012-07-03 Andreas Jaeger <aj@suse.de>
2958
2959 * po/bg.po: Update from translation team.
2960 * po/cs.po: Likewise.
2961 * po/de.po: Likewise.
2962 * po/hr.po: Likewise.
2963 * po/nl.pl: Likewise.
2964 * po/pl.po: Likewise.
2965 * po/vi.po: Likewise.
2966
370ca3d2
JM
29672012-07-03 Joseph Myers <joseph@codesourcery.com>
2968
95f5a9a8
JM
2969 * Makeconfig [!+link] (+link-before-libc): New variable.
2970 [!+link] (+link-after-libc): Likewise.
2971 [!+link] (+link-tests): Likewise.
2972 [!+link] (+link): Define in terms of $(+link-before-libc) and
2973 $(+link-after-libc).
2974 [!+link-static] (+link-static-before-libc): New variable.
2975 [!+link-static] (+link-static-after-libc): Likewise.
2976 [!+link-static] (+link-static-tests): Likewise.
2977 [!+link-static] (+link-static): Define in terms of
2978 $(+link-static-before-libc) and $(+link-static-after-libc).
2979 [build-shared] (link-libc-before-gnulib): New variable.
2980 [build-shared] (link-libc-tests): Likewise.
2981 [build-shared] (link-libc): Define in terms of
2982 $(link-libc-before-gnulib).
2983 [!build-shared] (link-libc-tests): New variable.
2984 (link-libc-static-tests): New variable.
2985 [!gnulib] (gnulib-arch): New variable.
2986 [!gnulib] (gnulib-tests): Likewise.
2987 [!gnulib] (static-gnulib-arch): Likewise.
2988 [!gnulib] (static-gnulib-tests): Likewise.
2989 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2990 Define with "=" instead of ":=".
2991 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2992 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2993 * Rules (binaries-all-notests): New variable.
2994 (binaries-all-tests): Likewise.
2995 (binaries-static-notests): Likewise.
2996 (binaries-static-tests): Likewise.
2997 (binaries-all): Define using $(binaries-all-notests) and
2998 $(binaries-all-tests).
2999 (binaries-static): Define using $(binaries-static-notests) and
3000 $(binaries-static-tests).
3001 (binaries-shared-tests): New variable.
3002 (binaries-shared-notests): Likewise.
3003 (binaries-shared): Remove variable.
3004 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3005 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3006 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3007 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3008 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3009 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3010 * elf/Makefile (sln-modules): New variable.
3011 (extra-objs): Add $(sln-modules:=.o).
3012 (ldconfig-modules): Add static-stubs.
3013 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3014 * elf/static-stubs.c: New file.
3015
7a845b2c
JM
3016 [BZ #14283]
3017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3018 by 7 not 8 to examine high bit of fractional part. Use volatile
3019 variables when splitting into final array of floats if
3020 __FLT_EVAL_METHOD__ != 0.
3021 * math/libm-test.inc (cos_test): Add another test.
3022 (sin_test): Likewise.
3023 * sysdeps/i386/fpu/libm-test-ulps: Update.
3024
e2283f38
JM
3025 [BZ #14273]
3026 * math/libm-test.inc (cosh_test): Add more tests.
3027
370ca3d2
JM
3028 * version.h (RELEASE): Set to "development".
3029 (VERSION): Set to "2.16.90".
3030
ee9247c3
CD
30312012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3032
3033 * NEWS: Update copyright. Remove last-updated date.
3034 Mention math library bug fixes and timezone data changes.
3035 * README: Mention GNU/Hurd, x32, and HPPA support status.
3036
4648c381
TS
30372012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3038
3039 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3040
aac78a43
AJ
30412012-06-27 Andreas Jaeger <aj@suse.de>
3042
3043 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3044
ed3dbfad
AJ
30452012-06-25 Andreas Jaeger <aj@suse.de>
3046
3047 * sysdeps/s390/fpu/libm-test-ulps: Update.
3048
4d0ee855
AS
30492012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3050 Thomas Schwinge <thomas@codesourcery.com>
3051
3052 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3053 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3055 fanotify_mark.
3056
af1bce34
TS
30572012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3058
a9fa33ba
TS
3059 * sysdeps/mach/start.c: Remove file.
3060 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3061 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3062 * sysdeps/sh/init-first.c: Likewise.
3063
58f902b8
TS
3064 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3065 registers for frame unwinding purposes, add CFI directives.
3066 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3067 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3068 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3069 Likewise.
3070
1518f58b
TS
3071 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3072 __fortify_fail returning.
3073 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3074
db9b5059
TS
3075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3076 sysdeps/sh/____longjmp_chk.S.
3077 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3078 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3079 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3080 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3081
967705fe
TS
3082 * sysdeps/sh/abort-instr.h: New file.
3083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3084 process in case exit returns.
3085
a9def8c4
TS
3086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3087 initialize the GOT register before use.
3088
2a649725
TS
3089 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3090 calculation of ARGC > 4.
3091
af1bce34
TS
3092 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3093 meaningful names to some local labels.
3094
d230f50a
KK
30952012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3096 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3097
3098 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3099 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3100 (__arch_compare_and_exchange_val_16_acq): Likewise.
3101 (__arch_compare_and_exchange_val_32_acq): Likewise.
3102 (atomic_exchange_and_add): Fix gUSA sequence.
3103 (atomic_add): Likewise.
3104 (atomic_add_negative): Likewise.
3105 (atomic_add_zero): Likewise.
3106 (atomic_bit_test_set): Likewise.
3107
0479b305
AS
31082012-06-22 Andreas Schwab <schwab@redhat.com>
3109
3110 [BZ #13579]
3111 * include/link.h (struct link_map): Add l_free_initfini.
3112 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3113 l_initfini.
3114 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3115 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3116 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3117 set.
3118
0e3933b9
CD
31192012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3120
3121 * configure.in: Use AC_LANG_SOURCE.
3122 * configure: Regenerate.
3123
4248b1b1
RM
31242012-06-22 Roland McGrath <roland@hack.frob.com>
3125
3126 * configure.in (libc_cv_localstatedir): New substituted variable.
3127 * configure: Regenerated.
3128 * config.make.in (localstatedir): New variable, substituted from
3129 libc_cv_localstatedir.
3130 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3131 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3132 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3133 * sysdeps/gnu/configure: Regenerated.
3134
006dd861
JL
31352012-06-21 Jeff Law <law@redhat.com>
3136
3137 [BZ #14277]
3138 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3139 free. Simplify list management for _LIBC case.
3140
79662d42
JM
31412012-06-21 Joseph Myers <joseph@codesourcery.com>
3142
b7abb4bf
JM
3143 [BZ #14273]
3144 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3145 Clear sign bit of 64-bit integer value before comparing against
3146 overflow value.
3147
79662d42
JM
3148 * sysdeps/mach/configure: Regenerated.
3149
1f150908
L
31502012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 [BZ #14278]
3153 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3154
28363bbf
JL
31552012-06-21 Jeff Law <law@redhat.com>
3156
3157 [BZ #13882]
3158 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3159 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3160 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3161 * elf/dl-open.c (dl_open_worker): Likewise.
3162
09615db4
CD
31632012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3164
3165 * scripts/list-sources.sh: Scan PORTS for translations.
3166 * po/libc.pot: Regenerated.
3167
2174c6dd
AJ
31682012-06-21 Andreas Jaeger <aj@suse.de>
3169
3170 [BZ #12194]
3171 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3172 warning.
3173 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3174 * bits/byteswap-16.h (__bswap_16): Likewise.
3175 * bits/byteswap.h (__bswap_constant_16): Likewise.
3176
3ee947b1
L
31772012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3178
3179 [BZ #14117]
a2f34833
L
3180 * sysdeps/i386/fpu_control.h: Removed.
3181 * sysdeps/x86_64/fpu_control.h: Moved to ...
3182 * sysdeps/x86/fpu_control.h: Here.
3183
3ee947b1
L
3184 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3185 (_FPU_SETCW): Likewise.
3186
ed1825f8
L
31872012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3188
25f1282a
L
3189 [BZ #14117]
3190 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3191 * sysdeps/x86/fpu/bits/mathinline.h: This.
3192 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3193
ed1825f8
L
3194 [BZ #14050]
3195 [BZ #14117]
3196 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3197 functions if __x86_64__ is defined.
3198
36d54b74
CLT
31992012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3200
3201 * string/endian.h: Add !__ASSEMBLER__ condition for including
3202 conversion interfaces.
3203
10285c21
JM
32042012-06-15 Joseph Myers <joseph@codesourcery.com>
3205
3206 [BZ #14241]
3207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3208 of ABS(x) in calculating zero to negative powers other than odd
3209 integers.
3210 * math/libm-test.inc (pow_test): Add more tests.
3211
06c5abbd
AJ
32122012-06-15 Andreas Jaeger <aj@suse.de>
3213
3214 * manual/contrib.texi (Contributors): Update entry of Liubov
3215 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3216 Machado Filho.
3217
a3aeac40
CH
32182012-06-15 Cyril Hrubis <metan@ucw.cz>
3219
3220 * string/string.h: Add __wur to GNU version of strerror_r.
3221
49bdf4c1
L
32222012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 [BZ #14229]
3225 * string/Makefile (tests): Add tst-strtok_r.
3226 * string/tst-strtok_r.c: New file.
3227 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3228 RAX_LP/RDX_LP on SAVE_PTR.
3229
834f9b8d
RM
32302012-06-14 Roland McGrath <roland@hack.frob.com>
3231
3232 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3233
75fa1921
JM
32342012-06-14 Joseph Myers <joseph@codesourcery.com>
3235
3236 * libm_test.inc (csqrt_test): Allow more spurious underflow
3237 exceptions.
3238 (j0_test): Likewise.
3239 (j1_test): Likewise.
3240 (y0_test): Likewise.
3241 (y1_test): Likewise.
3242
771766df
CD
32432012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3244
3245 * po/Makefile (libc.pot): Use UTF-8 charset.
3246
ceb9e56b
PP
32472012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3248
3249 [BZ #14210]
3250 Suppress sign-conversion warning from FD_SET.
3251 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3252 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3253 not unsigned long int.
3254 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3255
ddb28975
L
32562012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 [BZ #14050]
3259 [BZ #14117]
3260 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3261 __extern_always_inline instead of __extern_inline.
3262 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3263 (__signbit): Likewise.
3264 (__signbitl): Support C++ namespace.
3265 (lrintf): New inline function.
3266 (lrint): Likewise.
3267 (llrintf): Likewise.
3268 (llrint): Likewise.
3269 (fmaxf): Likewise.
3270 (fmax): Likewise.
3271 (fminf): Likewise.
3272 (fmin): Likewise.
3273 (rint): Likewise.
3274 (rintf): Likewise.
3275 (ceil): Likewise.
3276 (ceilf): Likewise.
3277 (floor): Likewise.
3278 (floorf): Likewise.
3279 (nearbyint): Likewise.
3280 (nearbyintf): Likewise.
3281
d7b4fb26
TS
32822012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3283
3284 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3285 non-default versions.
3286
eb55f5c2
RM
32872012-06-11 Roland McGrath <roland@hack.frob.com>
3288
3289 [BZ #14218]
3290 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3291
366af02c
TS
32922012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3293
99ff6e5c
TS
3294 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3295 (FE_UPWARD, FE_DOWNWARD): Don't define.
3296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3298
366af02c
TS
3299 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3300 reading it.
3301 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3302 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3303
793ea851
KK
33042012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3305
3306 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3308 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3309 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3310
a728a38f
L
33112012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 [BZ #14117]
c08010c7
L
3314 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3315 * sysdeps/i386/fpu/Implies: New file.
3316 * sysdeps/x86_64/fpu/Implies: Likewise.
3317 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3318 * sysdeps/x86/fpu/bits/fenv.h: This.
3319
a728a38f
L
3320 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3321 __SSE_MATH__.
3322
6e230d11
SP
33232012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3324
3325 [BZ #14134]
3326 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3327 character 0xffff that matches the last element of the
3328 conversion table.
3329
1b671feb
AZ
33302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331
3332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3333 fmodl commit.
3334
6043738b
AZ
33352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336
3337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3338 values higher than 25.6283.
3339
34ae0b32
AZ
33402012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3341
3342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3343 subnormal exponent extraction and add some __builtin_expect.
3344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3345 Fix for subnormal mantissa calculation.
3346
1214ec8f
MF
33472012-06-04 Mike Frysinger <vapier@gentoo.org>
3348
3349 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3350 cpu2 is -1 and errno is not ENOSYS.
3351
f3d1f93c
L
33522012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 [BZ #14117]
0e4a3cd7
L
3355 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3356 * sysdeps/x86/bits/string.h: This.
3357 * sysdeps/x86_64/bits/string.h: Removed.
3358
6704c645
L
3359 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3360 if not compiling for x86-64, but compiling for >= i486.
3361
48495318
L
3362 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3363 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3364
14adcbfc
L
3365 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3366 New macro from Linux kernel 3.4.0.
3367 (FP_XSTATE_MAGIC2): Likewise.
3368 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3369 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3370 (struct _fpx_sw_bytes): New struct.
3371 (struct _xsave_hdr): Likewise.
3372 (struct _ymmh_state): Likewise.
3373 (struct _xstate): Likewise.
3374
68e408ab
L
3375 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3376 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3378 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3379 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3380 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3381
f3d1f93c
L
3382 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3384 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3385 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3386 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3387 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3388
d9dc34cd
TMQMF
33892012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3390
3391 [BZ #13743]
3392 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3393 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3394 (sysdep_headers): Include sys/platform/ppc.h.
3395 * sysdeps/powerpc/test-gettimebase.c: Test for
3396 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3397 * manual/Makefile (appendices): Include platform.texi.
3398 * manual/contrib.texi (Contributors): Update @node pointers.
3399 * manual/maint.texi (Maintenance): Likewise.
3400 (Platform): New node.
3401 * manual/platform.texi: New file. Document the new features.
3402
4af3879c
SP
34032012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3404 Jakub Jelinek <jakub@redhat.com>
3405
3406 [BZ #14188]
3407 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3408 where __builtin_expect is unavailable.
3409
2fd6ff13
DM
34102012-06-03 David S. Miller <davem@davemloft.net>
3411
3412 * stdlib/longlong.h: Updated from GCC.
3413
173f7220
AS
34142012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 [BZ #14042]
3417 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3418 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3419 __mcount_internal.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3421 (GLIBC_2.16): Likewise.
3422
f34a1c6f
L
34232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3426
88a4576f
JM
34272012-06-01 Joseph Myers <joseph@codesourcery.com>
3428
ea32bcdd
JM
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3430 (default-abi): New variable.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3432 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3433 variable.
3434 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3435 Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3439 Likewise.
3440
88a4576f
JM
3441 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3442 definition. Document in comment.
3443
402fe938
DM
34442012-06-01 David S. Miller <davem@davemloft.net>
3445
3446 * stdlib/longlong.h: Updated from GCC.
3447
3553723f
L
34482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 [BZ #14117]
3bd872c4
L
3451 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3452 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3453 sys/debugreg.h sys/io.h here.
3454 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3455 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3456 sys/io.h.
3457 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3458 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3459 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3460 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3461 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3462 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3463
3553723f
L
3464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3465 Define only if __x86_64__ is defined.
3466
4842e4fe
JM
34672012-06-01 Joseph Myers <joseph@codesourcery.com>
3468
c5bfe3d5
JM
3469 [BZ #14048]
3470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3471 Use int64_t for variable i.
3472 * math/libm-test.inc (fmod_test): Add more tests.
3473
4842e4fe
JM
3474 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3475 z computation is not scheduled after fetestexcept.
3476 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3477 Use math_force_eval instead of asm to ensure calculation scheduled
3478 before exception test.
3479 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3480 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3481
efb73488
AJ
34822012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3483
3484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3485 computation is not scheduled after fetestexcept.
3486
29bcce7c
L
34872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 [BZ #14117]
3490 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3491 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3492
73a68f94
AZ
34932012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494
3495 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3496 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3497
67b6df78
L
34982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3499
edf2933a 3500 [BZ #14117]
ebc64a18
L
3501 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3502 <bits/wordsize.h>.
3503 (__WCHAR_MIN): Support __WORDSIZE == 64.
3504 (__WCHAR_MAX): Likewise.
3505
edf2933a
L
3506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3508
57c6cf40
L
3509 [BZ #14183]
3510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3511 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3512
67b6df78 3513 [BZ #14117]
8eb6281e
L
3514 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3516
aac639f4
L
3517 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3518 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3519
67b6df78
L
3520 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3521 Defined to 1 if __x86_64__ isn't defined.
3522 (_STAT_VER_LINUX_OLD): New.
3523 (st_atime): Remove duplicate.
3524 (st_mtime): Likewise.
3525 (st_ctime): Likewise.
3526
1c2cfe81
DM
35272012-05-31 David S. Miller <davem@davemloft.net>
3528
3529 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3530 entries.
3531
5be8418c
AS
35322012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3533
e7725326
AS
3534 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3535 gen-libm-test.pl.
3536
5be8418c
AS
3537 [BZ #14132]
3538 * elf/dl-reloc.c: Include <_itoa.h>.
3539 (_dl_reloc_bad_type): Remove use of INTUSE.
3540 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3541 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3542 * stdio-common/psiginfo.c (psiginfo): Likewise.
3543 * stdio-common/psignal.c (psignal): Likewise.
3544 * string/strsignal.c (strsignal): Likewise.
3545 * include/signal.h (_sys_siglist): Declare hidden proto.
3546 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3547 INTVARDEF with libc_hidden_data_def.
3548 * stdio-common/itoa-udigits.c: Likewise.
3549 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3550 (_itoa_lower_digits_internal): Remove declaration.
3551 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3552 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3553 (_sys_sigabbrev_internal): Remove aliases.
3554 (_sys_siglist): Define hidden alias.
3555
507352f1
MT
35562012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3557
3558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3559 bits/sysctl.h.
3560
42bbb1c3
L
35612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3562
3563 [BZ #14117]
6bd784b6
L
3564 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3565 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3566
8bca20f0
L
3567 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3568 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3569 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3570 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3572 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3573
f9e890a9
L
3574 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3575 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3576 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3577
471101a1
L
3578 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3579 with __addr.
3580 (insw): Likewise.
3581 (insl): Likewise.
3582 (outsb): Likewise.
3583 (outsw): Likewise.
3584 (outsl): Likewise.
3585
6451c862
L
3586 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3589
a254b8c9
L
3590 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3591 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3592 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3593 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3594 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3595 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3596
b8dfdd92
L
3597 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3598 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3599
578cd270
L
3600 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3601 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3602
de662f5f
L
3603 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3604 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3605 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3606
25653439
L
3607 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3608 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3609 to ...
3610 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3611
6bad24a0
L
3612 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3613 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3614 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3615
42bbb1c3
L
3616 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3617 for x86-64.
3618 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3619
2d10d547
JM
36202012-05-31 Joseph Myers <joseph@codesourcery.com>
3621
3622 * math/math.h (M_El): Use two more decimal places.
3623 (M_LOG2El): Likewise.
3624 (M_LOG10El): Likewise.
3625 (M_LN2l): Likewise.
3626 (M_LN10l): Likewise.
3627 (M_PIl): Likewise.
3628 (M_PI_2l): Likewise.
3629 (M_PI_4l): Likewise.
3630 (M_1_PIl): Likewise.
3631 (M_2_PIl): Likewise.
3632 (M_2_SQRTPIl): Likewise.
3633 (M_SQRT2l): Likewise.
3634 (M_SQRT1_2l): Likewise.
3635
f230c29b
DM
36362012-05-31 David S. Miller <davem@davemloft.net>
3637
3638 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3639 values between float registers.
3640 * sysdeps/sparc/sparc64/memset.S: Likewise.
3641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3642
fed806c3
MF
36432012-05-31 Mike Frysinger <vapier@gentoo.org>
3644
3645 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3646 -D_FORTIFY_SOURCE=1.
3647 (CPPFLAGS-tst-longjmp_chk.c): Define.
3648 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3649 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3650 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3651 CFLAGS-tst-wchar-h.c.
3652
30917259
MP
36532012-05-31 Marek Polacek <polacek@redhat.com>
3654
3655 [BZ #14132]
3656 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3657 __endmntent_internal): Remove declaration.
3658 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3659 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3660 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3661
1c58d5dc
DM
36622012-05-30 David S. Miller <davem@davemloft.net>
3663
3664 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3665 (___Q_simulate_exceptions): Use real FP ops rather than writing
3666 into the %fsr.
3667 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3668 Likewise.
3669
7dc00e0d
L
36702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 [BZ #14117]
0bd53985
L
3673 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3674 * sysdeps/x86/bits/xtitypes.h: This.
3675
3a257e66
L
3676 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3677 * sysdeps/x86/bits/wordsize.h: This.
3678
62f62904
L
3679 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3680 * sysdeps/x86/bits/huge_vall.h: This.
3681
404fe9d9
L
3682 * sysdeps/i386/bits/select.h: Removed.
3683 * sysdeps/x86_64/bits/select.h: Renamed to ...
3684 * sysdeps/x86/bits/select.h: This.
3685
d48d0446
L
3686 * sysdeps/i386/bits/setjmp.h: Removed.
3687 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3688 * sysdeps/x86/bits/setjmp.h: This.
3689
7dc00e0d
L
3690 * sysdeps/i386/bits/mathdef.h: Removed.
3691 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3692 * sysdeps/x86/bits/mathdef.h: This.
3693
03277f8f
AS
36942012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3695
3696 [BZ #14132]
3697 * include/sys/socket.h (__connect_internal)
3698 (__libc_sa_len_internal): Remove declaration.
3699 (__connect, __libc_sa_len): Declare hidden_proto.
3700 (SA_LEN): Remove use of INTUSE.
3701 * socket/connect.c: Add libc_hidden_def.
3702 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3703 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3704 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3705 alias.
3706 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3707 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3708 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3709 of adding _internal alias.
3710
13764867
L
37112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 [BZ #14117]
6bd97696
L
3714 * sysdeps/i386/bits/link.h: Removed.
3715 * sysdeps/i386/bits/linkmap.h: Likewise.
3716 * sysdeps/x86_64/bits/link.h: Renamed to ...
3717 * sysdeps/x86/bits/link.h: This.
3718 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3719 * sysdeps/x86/bits/linkmap.h: This.
3720
f726f0bb
L
3721 * sysdeps/i386/bits/endian.h: Removed.
3722 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3723 * sysdeps/x86/bits/endian.h: This.
3724
13764867
L
3725 * sysdeps/i386/bits/byteswap.h: Removed.
3726 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3727 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3728 * sysdeps/x86/bits/byteswap.h: This.
3729 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3730 * sysdeps/x86/bits/byteswap-16.h: This.
3731 * sysdeps/i386/Implies: Add x86.
3732 * sysdeps/x86_64/Implies: Likewise.
3733
ae251b0b
DM
37342012-05-30 David S. Miller <davem@davemloft.net>
3735
3736 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3737 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3738 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3739 (FP_TRAPPING_EXCEPTIONS): Define.
3740 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3741 (FP_TRAPPING_EXCEPTIONS): Define.
3742 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3743 subnormals only when inexact has been signalled or underflow
3744 exceptions are enabled.
3745 (_FP_PACK_CANONICAL): Likewise.
3746
d5c90867
L
37472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 [BZ #14183]
3750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3751 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3752
63f1549e
RH
37532012-05-30 Richard Henderson <rth@twiddle.net>
3754
8d8f2279
RH
3755 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3756 with #ifndef NOT_IN_libc.
3757
63f1549e
RH
3758 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3759 marked to avoid plt entry.
3760
0ab0291b
L
37612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3762
3763 [BZ #14112]
3764 * Makeconfig (default-abi): New macro.
3765 (abi-includes): Likewise.
3766 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3767 $(abi-$(default-abi)-lib-soname) for soname if defined.
3768 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3769 abi-variants.
3770 * Makefile (installed-stubs): Likewise.
3771 * include/stubs-biarch.h: Removed.
3772 * scripts/lib-names.awk: Only handle one library at a time.
3773 * scripts/soversions.awk: Remove WORDSIZE support.
3774 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3775 entries.
3776 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3777 Removed.
3778 (syscall-list-default-condition): Likewise.
3779 (syscall-list-default-condition): Likewise.
3780 (syscall-list-includes): Likewise.
3781 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3782 syscall-list-* with abi-*. Handle undefined abi-variants.
3783 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3784 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3785 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3788 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3789 Removed.
3790 (syscall-list-32-options): Likewise.
3791 (syscall-list-32-condition): Likewise.
3792 (syscall-list-64-options): Likewise.
3793 (syscall-list-64-condition): Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3795 macro.
3796 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3797 Renamed to ...
3798 (abi-*): This.
3799 (abi-64-ld-soname): New macro.
3800 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3802 Renamed to ...
3803 (abi-*): This.
3804 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3805 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3806
4da0431d
JM
38072012-05-30 Joseph Myers <joseph@codesourcery.com>
3808
3a85279c
JM
3809 * sysdeps/unix/sysv/linux/kernel-features.h
3810 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3811 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3812 include <kernel-features.h>.
3813 [!__NR_ftruncate64]: Remove conditional code.
3814 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3815 [__NR_ftruncate64]: Make code unconditional.
3816 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3817 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3818 include <kernel-features.h>.
3819 [!__NR_ftruncate64]: Remove conditional code.
3820 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3821 [__NR_ftruncate64]: Make code unconditional.
3822 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3824 include <kernel-features.h>.
3825 [!__NR_ftruncate64]: Remove conditional code.
3826 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3827 [__NR_ftruncate64]: Make code unconditional.
3828 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3830 include <kernel-features.h>.
3831 [!__NR_ftruncate64]: Remove conditional code.
3832 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3833 [__NR_ftruncate64]: Make code unconditional.
3834 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3835
4da0431d
JM
3836 * configure.in (libc_cv_fpie): Weaken to a compile test using
3837 LIBC_TRY_CC_OPTION.
3838 * configure: Regenerated.
3839
11ef492c
AK
38402012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3841
3842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3846 Refreshed.
3847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3853 Refreshed.
3854
d66ef399
DM
38552012-05-27 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3858 (___Q_zero): New.
3859 (__Q_simulate_exceptions): Return void. Change to simulate
3860 exceptions by writing into the %fsr.
3861 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3862 (__Qp_handle_exceptions): Likewise.
3863 (numbers): Delete.
3864 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3865 __Qp_handle_exceptions.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3867 __Qp_handle_exceptions.
3868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3869 as unused and give dummy FP_RND_NEAREST initializer.
3870 (FP_INHIBIT_RESULTS): Define.
3871 (___Q_simulate_exceptions): Update declaration.
3872 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3873 formatting.
3874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3875 as unused and give dummy FP_RND_NEAREST initializer.
3876 (__Qp_handle_exceptions): Update declaration.
3877 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3878 formatting.
3879
04fb54b5
TS
38802012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3881
3882 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3883 the temporary FPU control word.
3884 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3885 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3887 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3888 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3889 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3890 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3892 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3893 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3894 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3895
3f99608f
KK
38962012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3897
3898 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3899 fields.
3900
65a4de4e
CLT
39012012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3902
3903 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3904 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3905 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3907 Likewise.
3908 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3909 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3910 Likewise.
3911
15749d40
UD
39122012-05-27 Ulrich Drepper <drepper@gmail.com>
3913
3914 * po/h.po: Update from translation team.
3915
25dbcb27
AS
39162012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3917
3d3f8e55
AS
3918 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3919
25dbcb27
AS
3920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3921 handling of denormals.
3922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3923 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3924 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3929 Likewise.
3930
7ad47a80 39312012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3932
3933 [BZ #14152]
3934 * math/libm-test.inc (fma_test): Don't always expect underflow
3935 exception.
3936
9c6ea9fa
SP
39372012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3938
3939 [BZ #12416]
3940 * elf/tst-execstack.c: Include stackinfo.h.
3941 (do_test): Adjust test case to ensure that pthread_getattr_np
3942 behaviour remains the same after marking stack executable.
3943
a8239222
JM
39442012-05-25 Joseph Myers <joseph@codesourcery.com>
3945
3946 * sysdeps/unix/sysv/linux/kernel-features.h
3947 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3948 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3949 kernel-features.h.
3950 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3951 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3953 kernel-features.h.
3954 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3955 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3956
918b5606
L
39572012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3958
3959 * configure.in: Define the default includes to being none.
3960 * configure: Regenerated.
3961
3a097cc7
RM
39622012-05-25 Roland McGrath <roland@hack.frob.com>
3963
8422c9a5
RM
3964 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3965 * sysdeps/x86_64/setjmp.S: Likewise.
3966 * sysdeps/i386/bsd-setjmp.S: Likewise.
3967 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3968 * sysdeps/i386/setjmp.S: Likewise.
3969 * sysdeps/i386/__longjmp.S: Likewise.
3970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3972
3a097cc7
RM
3973 * include/stap-probe.h: New file.
3974 * configure.in: Handle --enable-systemtap.
3975 * configure: Regenerated.
3976 * config.h.in (USE_STAP_PROBE): New #undef.
3977 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3978 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3979 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3980
21708942
JM
39812012-05-25 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #13717]
3984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3985 to 2.4.0 where earlier.
3986 * sysdeps/unix/sysv/linux/configure: Regenerated.
3987 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3988 <kernel-features.h>.
3989 [__ASSUME_32BITUIDS]: Make code unconditional.
3990 [!__ASSUME_32BITUIDS]: Remove conditional code.
3991 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3992 <kernel-features.h>.
3993 [__ASSUME_32BITUIDS]: Make code unconditional.
3994 [!__ASSUME_32BITUIDS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3996 [__ASSUME_32BITUIDS]: Make code unconditional.
3997 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3998 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3999 <kernel-features.h>.
4000 [__ASSUME_32BITUIDS]: Make code unconditional.
4001 [!__ASSUME_32BITUIDS]: Remove conditional code.
4002 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4003 <kernel-features.h>.
4004 [__ASSUME_32BITUIDS]: Make code unconditional.
4005 [!__ASSUME_32BITUIDS]: Remove conditional code.
4006 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4007 <kernel-features.h>.
4008 [__ASSUME_32BITUIDS]: Make code unconditional.
4009 [!__ASSUME_32BITUIDS]: Remove conditional code.
4010 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4011 <kernel-features.h>.
4012 [__ASSUME_32BITUIDS]: Make code unconditional.
4013 [!__ASSUME_32BITUIDS]: Remove conditional code.
4014 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4015 <kernel-features.h>.
4016 [__ASSUME_32BITUIDS]: Make code unconditional.
4017 [!__ASSUME_32BITUIDS]: Remove conditional code.
4018 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4019 <kernel-features.h>.
4020 [__ASSUME_32BITUIDS]: Make code unconditional.
4021 [!__ASSUME_32BITUIDS]: Remove conditional code.
4022 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4023 <kernel-features.h>.
4024 [__ASSUME_32BITUIDS]: Make code unconditional.
4025 [!__ASSUME_32BITUIDS]: Remove conditional code.
4026 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
4035 <kernel-features.h>.
4036 [__ASSUME_32BITUIDS]: Make code unconditional.
4037 [!__ASSUME_32BITUIDS]: Remove conditional code.
4038 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4039 <kernel-features.h>.
4040 [__NR_setresgid] (__setresgid): Do not declare.
4041 [__ASSUME_32BITUIDS]: Make code unconditional.
4042 [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4044 <kernel-features.h>.
4045 [__NR_setresuid] (__setresuid): Do not declare.
4046 [__ASSUME_32BITUIDS]: Make code unconditional.
4047 [!__ASSUME_32BITUIDS]: Remove conditional code.
4048 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4049 <kernel-features.h>.
4050 [__ASSUME_32BITUIDS]: Make code unconditional.
4051 [!__ASSUME_32BITUIDS]: Remove conditional code.
4052 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4053 <kernel-features.h>.
4054 [__ASSUME_32BITUIDS]: Make code unconditional.
4055 [!__ASSUME_32BITUIDS]: Remove conditional code.
4056 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4057 <kernel-features.h>.
4058 [__ASSUME_32BITUIDS]: Make code unconditional.
4059 [!__ASSUME_32BITUIDS]: Remove conditional code.
4060 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4061 <kernel-features.h>.
4062 [__ASSUME_32BITUIDS]: Make code unconditional.
4063 [!__ASSUME_32BITUIDS]: Remove conditional code.
4064 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4065 <kernel-features.h>.
4066 [__ASSUME_32BITUIDS]: Make code unconditional.
4067 [!__ASSUME_32BITUIDS]: Remove conditional code.
4068 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4069 <kernel-features.h>.
4070 [__ASSUME_32BITUIDS]: Make code unconditional.
4071 [!__ASSUME_32BITUIDS]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4073 <kernel-features.h>.
4074 [__ASSUME_32BITUIDS]: Make code unconditional.
4075 [!__ASSUME_32BITUIDS]: Remove conditional code.
4076 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4077 <kernel-features.h>.
4078 [__ASSUME_32BITUIDS]: Make code unconditional.
4079 [!__ASSUME_32BITUIDS]: Remove conditional code.
4080 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4081 <kernel-features.h>.
4082 [__ASSUME_32BITUIDS]: Make code unconditional.
4083 [!__ASSUME_32BITUIDS]: Remove conditional code.
4084 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4085 <kernel-features.h>.
4086 [__ASSUME_32BITUIDS]: Make code unconditional.
4087 [!__ASSUME_32BITUIDS]: Remove conditional code.
4088 * sysdeps/unix/sysv/linux/kernel-features.h
4089 (__ASSUME_SETRESUID_SYSCALL): Remove.
4090 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4091 (__ASSUME_32BITUIDS): Likewise.
4092 (__ASSUME_LDT_WORKS): Likewise.
4093 (__ASSUME_O_DIRECTORY): Likewise.
4094 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4095 architecture but not kernel version.
4096 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4097 (__ASSUME_MMAP2_SYSCALL): Likewise.
4098 (__ASSUME_STAT64_SYSCALL): Likewise.
4099 (__ASSUME_IPC64): Likewise.
4100 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4101 <kernel-features.h>.
4102 [__ASSUME_32BITUIDS]: Make code unconditional.
4103 [!__ASSUME_32BITUIDS]: Remove conditional code.
4104 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4105 <kernel-features.h>.
4106 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4107 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4108 132096]: Remove conditional code.
4109 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4110 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4111 <kernel-features.h>.
4112 [__ASSUME_32BITUIDS]: Make code unconditional.
4113 [!__ASSUME_32BITUIDS]: Remove conditional code.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4115 <kernel-features.h>.
4116 [__ASSUME_32BITUIDS]: Make code unconditional.
4117 [!__ASSUME_32BITUIDS]: Remove conditional code.
4118 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4119 <kernel-features.h>.
4120 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4121 unconditional.
4122 (__setresgid): Do not declare.
4123 [__ASSUME_32BITUIDS]: Make code unconditional.
4124 [!__ASSUME_32BITUIDS]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4126 <kernel-features.h>.
4127 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4128 unconditional.
4129 (__setresuid): Do not declare.
4130 [__ASSUME_32BITUIDS]: Make code unconditional.
4131 [!__ASSUME_32BITUIDS]: Remove conditional code.
4132 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4133 <kernel-features.h>.
4134 [__ASSUME_32BITUIDS]: Make code unconditional.
4135 [!__ASSUME_32BITUIDS]: Remove conditional code.
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4137 <kernel-features.h>.
4138 [__ASSUME_32BITUIDS]: Make code unconditional.
4139 [!__ASSUME_32BITUIDS]: Remove conditional code.
4140
a386f1cc
RH
41412012-05-25 Richard Henderson <rth@twiddle.net>
4142
4143 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4144 dl_hwcap to ifunc resolver.
4145 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4146 elf_ifunc_invoke.
4147 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4148 dl_hwcap to ifunc resolver.
4149 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4150
b6550497
JM
41512012-05-24 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #14153]
4154 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4155 for |x| <= 2**-26, not 2**-57.
4156 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4157 exception.
4158
b0bc23a1
JL
41592012-05-24 Jeff Law <law@redhat.com>
4160
4161 * stdio-common/Makefile (tests): Add bug25.
4162 * stdio-common/bug25.c: New test.
4163
347c92e9
L
41642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4165
4166 [BZ #13576]
4167 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4168 multiple of MALLOC_ALIGNMENT in size.
4169 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4170
6bcc8b3f
JM
41712012-05-24 Joseph Myers <joseph@codesourcery.com>
4172
4173 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4174 Require >= 256.
4175 (FILENAME_MAX): Use macro-int-constant.
4176 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4177 (_IOFBF): Use macro-int-constant.
4178 (_IOLBF): Likewise.
4179 (_IONBF): Likewise.
4180 (SEEK_CUR): Likewise.
4181 (SEEK_END): Likewise.
4182 (SEEK_SET): Likewise.
4183 (TMP_MAX): Likewise.
4184 (EOF): Use macro-int-constant. Require < 0.
4185 (NULL): Use macro-constant. Require == 0.
4186 (stdin): Require type to be FILE *.
4187 (stdout): Likewise.
4188 (stderr): Likewise.
4189 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4190 macro-int-constant.
4191 (EXIT_SUCCESS): Likewise.
4192 (NULL): Use macro-constant. Require == 0.
4193 (RAND_MAX): Use macro-int-constant.
4194 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4195 [C99-based standards] (strtof): Require function.
4196 [C99-based standards] (strtold): Likewise.
4197 [C99-based standards] (strtoll): Likewise.
4198 [C99-based standards] (strtoull): Likewise.
4199 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4200 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4201 [ISO || ISO99 || ISO11] (math.h): Likewise.
4202 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4203 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4205
d18ea0c5
AS
42062012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4207
4208 [BZ #14132]
56d25bb8
AS
4209 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4210 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4211 * intl/dgettext.c (DCGETTEXT): Likewise.
4212 * intl/gettext.c (DCGETTEXT): Likewise.
4213 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4214 * posix/regex_internal.h (gettext): Likewise.
4215 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4216 Remove declaration.
4217 * include/argz.h (__argz_count_internal)
4218 (__argz_stringify_internal): Remove declaration.
4219 (__argz_count, __argz_stringify): Declare hidden proto.
4220 * intl/dcgettext.c: Remove use of INTDEF.
4221 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4222 * string/argz-stringify.c: Likewise.
4223 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4224 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4225 Declare hidden proto.
d18ea0c5
AS
4226 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4227 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4228 Declare hidden proto.
4229 * include/stdio.h (__asprintf_internal): Don't declare.
4230 (__asprintf): Don't define as macro. Declare hidden proto.
4231 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4232 (__fsetlocking): Declare hidden proto.
4233 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4234 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4235 hidden proto.
4236 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4237 (_IO_setlinebuf): Remove use of INTUSE.
4238 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4239 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4240 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4241 Remove declaration.
4242 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4243 (_IO_do_flush): Remove use of INTUSE.
4244 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4245 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4246 (_IO_adjust_column, _IO_least_wmarker)
4247 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4248 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4249 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4250 (_IO_default_doallocate, _IO_wdefault_doallocate)
4251 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4252 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4253 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4254 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4255 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4256 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4257 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4258 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4259 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4260 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4261 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4262 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4263 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4264 proto.
4265 (_IO_flush_all_internal, _IO_adjust_column_internal)
4266 (_IO_default_uflow_internal, _IO_default_finish_internal)
4267 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4268 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4269 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4270 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4271 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4272 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4273 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4274 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4275 (_IO_file_close_internal, _IO_file_close_it_internal)
4276 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4277 (_IO_file_init_internal, _IO_file_attach_internal)
4278 (_IO_file_fopen_internal, _IO_file_read_internal)
4279 (_IO_file_sync_internal, _IO_file_seek_internal)
4280 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4281 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4282 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4283 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4284 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4285 (_IO_list_all_internal, _IO_link_in_internal)
4286 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4287 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4288 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4289 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4290 (_IO_do_write_internal, _IO_padn_internal)
4291 (_IO_getline_info_internal, _IO_getline_internal)
4292 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4293 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4294 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4295 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4296 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4297 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4298 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4299 with libc_hidden_ver, remove use of INTUSE.
4300 * libio/genops.c: Likewise.
4301 * libio/freopen.c: Likewise.
4302 * libio/freopen64.c: Likewise.
4303 * libio/iofclose.c: Likewise.
4304 * libio/iofdopen.c: Likewise.
4305 * libio/iofflush.c: Likewise.
4306 * libio/iofflush_u.c: Likewise.
4307 * libio/iofgets.c: Likewise.
4308 * libio/iofgets_u.c: Likewise.
4309 * libio/iofopen.c: Likewise.
4310 * libio/iofopncook.c: Likewise.
4311 * libio/iofread.c: Likewise.
4312 * libio/iofread_u.c: Likewise.
4313 * libio/ioftell.c: Likewise.
4314 * libio/iofwrite.c: Likewise.
4315 * libio/iogetline.c: Likewise.
4316 * libio/iogets.c: Likewise.
4317 * libio/iogetwline.c: Likewise.
4318 * libio/iopadn.c: Likewise.
4319 * libio/iopopen.c: Likewise.
4320 * libio/ioseekoff.c: Likewise.
4321 * libio/ioseekpos.c: Likewise.
4322 * libio/iosetbuffer.c: Likewise.
4323 * libio/iosetvbuf.c: Likewise.
4324 * libio/ioungetc.c: Likewise.
4325 * libio/ioungetwc.c: Likewise.
4326 * libio/iovdprintf.c: Likewise.
4327 * libio/iovsprintf.c: Likewise.
4328 * libio/iovsscanf.c: Likewise.
4329 * libio/memstream.c: Likewise.
4330 * libio/obprintf.c: Likewise.
4331 * libio/oldfileops.c: Likewise.
4332 * libio/oldiofclose.c: Likewise.
4333 * libio/oldiofdopen.c: Likewise.
4334 * libio/oldiofopen.c: Likewise.
4335 * libio/oldiopopen.c: Likewise.
4336 * libio/oldstdfiles.c: Likewise.
4337 * libio/putc.c: Likewise.
4338 * libio/setbuf.c: Likewise.
4339 * libio/setlinebuf.c: Likewise.
4340 * libio/stdfiles.c: Likewise.
4341 * libio/strops.c: Likewise.
4342 * libio/vasprintf.c: Likewise.
4343 * libio/vscanf.c: Likewise.
4344 * libio/vsnprintf.c: Likewise.
4345 * libio/vswprintf.c: Likewise.
4346 * libio/wfiledoalloc.c: Likewise.
4347 * libio/wfileops.c: Likewise.
4348 * libio/wgenops.c: Likewise.
4349 * libio/wmemstream.c: Likewise.
4350 * libio/wstrops.c: Likewise.
4351 * libio/__fpurge.c: Likewise.
4352 * libio/__fsetlocking.c: Likewise.
4353 * assert/assert.c: Likewise.
4354 * debug/fgets_chk.c: Likewise.
4355 * debug/fgets_u_chk.c: Likewise.
4356 * debug/fread_chk.c: Likewise.
4357 * debug/fread_u_chk.c: Likewise.
4358 * debug/gets_chk.c: Likewise.
4359 * debug/obprintf_chk.c: Likewise.
4360 * debug/vasprintf_chk.c: Likewise.
4361 * debug/vdprintf_chk.c: Likewise.
4362 * debug/vsnprintf_chk.c: Likewise.
4363 * debug/vsprintf_chk.c: Likewise.
4364 * malloc/mtrace.c: Likewise.
4365 * misc/error.c: Likewise.
4366 * misc/syslog.c: Likewise.
4367 * stdio-common/asprintf.c: Likewise.
4368 * stdio-common/fxprintf.c: Likewise.
4369 * stdio-common/getw.c: Likewise.
4370 * stdio-common/isoc99_fscanf.c: Likewise.
4371 * stdio-common/isoc99_scanf.c: Likewise.
4372 * stdio-common/isoc99_vfscanf.c: Likewise.
4373 * stdio-common/isoc99_vscanf.c: Likewise.
4374 * stdio-common/isoc99_vsscanf.c: Likewise.
4375 * stdio-common/printf-prs.c: Likewise.
4376 * stdio-common/printf_fp.c: Likewise.
4377 * stdio-common/printf_fphex.c: Likewise.
4378 * stdio-common/printf_size.c: Likewise.
4379 * stdio-common/putw.c: Likewise.
4380 * stdio-common/scanf.c: Likewise.
4381 * stdio-common/sprintf.c: Likewise.
4382 * stdio-common/tmpfile.c: Likewise.
4383 * stdio-common/vfprintf.c: Likewise.
4384 * stdio-common/vfscanf.c: Likewise.
4385 * stdlib/strfmon_l.c: Likewise.
4386 * sunrpc/openchild.c: Likewise.
4387 * sunrpc/xdr_stdio.c: Likewise.
4388 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4389 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4390
d6c33fda
RM
43912012-05-24 Roland McGrath <roland@hack.frob.com>
4392
c1487492
RM
4393 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4394
4395 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4396 in the third column, to generate for the shared library an IFUNC
4397 that uses _dl_vdso_vsym.
4398 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4399 * Makeconfig (object-suffixes-noshared): New variable.
4400
4401 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4402 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4403 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4404 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4405
d6c33fda
RM
4406 [BZ #14132]
4407 * include/sys/time.h (__gettimeofday): Remove macro.
4408 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4409 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4410 Remove INTDEF.
4411 (__gettimeofday): Add libc_hidden_def.
4412 (gettimeofday): Add libc_hidden_weak.
4413 * sysdeps/mach/gettimeofday.c: Likewise.
4414 * sysdeps/posix/gettimeofday.c: Likewise.
4415 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4418 (__gettimeofday_internal): Remove strong_alias.
4419 (__gettimeofday): Add libc_hidden_def.
4420 (gettimeofday): Add libc_hidden_weak.
4421 * sysdeps/unix/syscalls.list (gettimeofday):
4422 Remove __gettimeofday_internal alias.
4423
b5a2bbe6
L
44242012-05-24 Daniel Jacobowitz <drow@false.org>
4425 H.J. Lu <hongjiu.lu@intel.com>
4426
4427 [BZ #12495]
4428 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4429 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4430 (largebin_index_32_big): New.
4431 (largebin_index): Use it for 16-byte alignment.
4432 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4433 correction with front_misalign.
4434
cfba4fda
L
44352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4436
7f907421
L
4437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4439 Likewise.
4440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4441 Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4443 Likewise.
4444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4445 Likewise.
4446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4447 Likewise.
4448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4449 Likewise.
4450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4451 Likewise.
4452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4453 Likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4455 Likewise.
4456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4457 Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4459 Likewise.
4460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4461 Likewise.
4462
cfba4fda
L
4463 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4464 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4465
80bad0cc
JM
44662012-05-24 Joseph Myers <joseph@codesourcery.com>
4467
7a25eb06
JM
4468 [BZ #10846]
4469 [BZ #14036]
4470 * math/libm-test.inc (exp_test): Add test from bug 14036.
4471 (pow_test): Add test from bug 10846.
4472
795405f9
JM
4473 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4474 and other flags.
4475 (special_function): Do not include flags in test name.
4476 (parse_args): Likewise.
4477 * sysdeps/i386/fpu/libm-test-ulps: Update.
4478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4480 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482
80bad0cc
JM
4483 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4484 exceptions.
4485 * math/libm-test.inc ("Philosophy"): Update comment about
4486 exception testing.
4487 (UNDERFLOW_EXCEPTION): New macro.
4488 (UNDERFLOW_EXCEPTION_OK): Likewise.
4489 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4490 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4491 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4492 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4493 (INVALID_EXCEPTION_OK): Update value.
4494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4495 (OVERFLOW_EXCEPTION_OK): Likewise.
4496 (IGNORE_ZERO_INF_SIGN): Likewise.
4497 (test_exceptions): Handle underflow exceptions.
4498 (acos_test): Update for underflow exception expectations.
4499 (cexp_test): Likewise.
4500 (clog_test): Likewise.
4501 (clog10_test): Likewise.
4502 (csqrt_test): Likewise.
4503 (ctan_test): Likewise.
4504 (ctanh_test): Likewise.
4505 (exp_test): Likewise.
4506 (exp10_test): Likewise.
4507 (exp2_test): Likewise.
4508 (expm1_test): Likewise.
4509 (fma_test): Likewise.
4510 (j0_test): Likewise.
4511 (jn_test): Likewise.
4512 (nexttoward_test): Likewise.
4513 (pow_test): Likewise.
4514 (scalbn_test): Likewise.
4515 (scalbln_test): Likewise.
4516 (tan_test): Likewise.
4517 (y1_test): Likewise.
4518 * sysdeps/i386/fpu/libm-test-ulps: Update.
4519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4520
9e0e3d0b
DM
45212012-05-23 David S. Miller <davem@davemloft.net>
4522
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4524 (__libc_sigaction): Remove unused local variables.
4525
ccd0a08f
L
45262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4529
62bdf9a6
PE
45302012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4531
f8591f80
PE
4532 mktime: avoid signed integer overflow
4533 * time/mktime.c (__mktime_internal): Do not mishandle the case
4534 where diff == INT_MIN.
4535
94c7d826
PE
4536 mktime: simplify computation of average
4537 * time/mktime.c (ranged_convert): Use new time_t_avg function
4538 instead of rolling our own (probably-slower) code.
4539
ce73d683
PE
4540 mktime: do not assume signed right shift propagates sign bit
4541 * time/mktime.c (isdst_differ): New static function.
4542 (__mktime_internal): No need to normalize tm_isdst now.
4543 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4544 tm_isdst values.
4545
72a22e59
PE
4546 mktime: merge another wrapv change from gnulib
4547 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4548 from some compilers.
4549
68605433
PE
4550 mktime: remove incorrect attempt at unusual arithmetics
4551 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4552 The code didn't really work on such machines anyway.
4553 (TYPE_MINIMUM): Assume two's complement.
4554 (twos_complement_arithmetic): Verify that long_int and time_t
4555 are two's complement (or unsigned, in the latter case).
4556
03cf7fe3
PE
4557 mktime: check signed shifts on long_int and time_t, too
4558 * time/mktime.c (SHR): Check that shifts work as desired
4559 on the types long_int and time_t too, as SHR is used on
4560 such types.
4561
f04dfbc2
PE
4562 mktime: do not assume 'long' is wide enough
4563 * time/mktime.c (verify): Move decl up.
4564 (long_int): New type.
4565 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4566 to remove assumption in the code that 'long' is wide enough to
4567 store year values. This assumption is not true on x32 and on
4568 some non-glibc platforms.
4569
62bdf9a6
PE
4570 mktime: merge wrapv change from gnulib
4571 * time/mktime.c (WRAPV): New macro.
4572 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4573 (guess_time_tm, __mktime_internal): Do not assume that signed
4574 integer overflow wraps around; modern compilers generate code
4575 where this assumption is no longer valid.
4576
5e292e4f
L
45772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4578
4579 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4580 Replace "jmp L(pseudo_end)" with "ret".
4581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4582 Likewise.
4583
8caf8c87
AJ
45842012-05-23 Andreas Jaeger <aj@suse.de>
4585
4586 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4587 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4588
1a09dc56
AJ
45892012-05-23 Andreas Jaeger <aj@suse.de>
4590 Maximilian Attems <max@stro.at>
4591
4592 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4593 New macros.
4594
1c87aba0
L
45952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4596
4597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4598 code so that pseudo_end is just ret and the stack pointer is
4599 correct also for static library in error case.
4600
40e45bd5
JM
46012012-05-23 Joseph Myers <joseph@codesourcery.com>
4602
c2670533
JM
4603 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4604 move to syscalls.list.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4609
40e45bd5
JM
4610 * manual/install.texi (Running make install): Do not mention Linux
4611 kernel version for which pt_chown is not needed.
4612 (Linux): Do not mention problems with nscd with 2.0 kernels.
4613 * INSTALL: Regenerated.
4614
be08eda5
AJ
46152012-05-23 Andreas Jaeger <aj@suse.de>
4616
4617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4618 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4619 macro.
4620 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4621 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4622 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4623 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4624 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4630 * sysdeps/unix/sysv/linux/bits/in.h
4631 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4632
a6a056bb
RM
46332012-05-22 Roland McGrath <roland@hack.frob.com>
4634
4635 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4636 (PREPARE_VERSION): Just use assert instead, it will be elided
4637 under [NDEBUG] anyway.
4638
c9009328
L
46392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * sysdeps/unix/sysv/linux/Makefile: Include
4642 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4643 (sysdep_routines): Remove sysctl.
c9009328
L
4644 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4645 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4647 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4648 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4649
73338355
AJ
46502012-05-22 Andreas Jaeger <aj@suse.de>
4651
4652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4653 that pseudo_end is just ret and the stack pointer is correct also
4654 for static library in error case.
4655
d44638b0
PP
46562012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4657
4658 [BZ #14122]
4659 * nss/nsswitch.c (defconfig_entries): New variable.
4660 (__nss_database_lookup): Don't leak defconfig entries.
4661 (nss_parse_service_list): Don't leak on error paths.
4662 (free_database_entries): New function.
4663 (free_defconfig): New function.
4664 (free_mem): Move common code to free_database_entries.
4665
31a39bd8
L
46662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4667
da0331a8
L
4668 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4669 Add arch_prctl.
4670 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4671
31a39bd8
L
4672 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4673 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4675 New macro.
4676 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4677 (INTERNAL_SYSCALL_TYPES): Likewise.
4678 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4679 (LOAD_REGS_TYPES_[1-6]): Likewise.
4680 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4681 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4682
45470df3
AZ
46832012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4686 copysignl for GLIBC_2_0.
4687 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4688 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4690 logbl for GLIBC_2_0.
4691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4693
98a61bcb
L
46942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4695
a4f6e481
L
4696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4697 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4698
f63d5db6
L
4699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4700 Use "neg %eax".
4701
98a61bcb
L
4702 * time/mktime.c: Update copyright years.
4703
95770f14
PE
47042012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4705
6226efbd
PE
4706 mktime: merge comment-quoting-style change from gnulib
4707 * time/mktime.c: Quote 'like this' in comments.
4708 The GNU coding standards suggest that we no longer quote `like this',
4709 as "`" and "'" are typically rendered asymmetrically nowadays.
4710 The typical gnulib style is to quote 'like this' when quoting
4711 code, and "like this" when quoting English.
4712
b99e4f78
PE
4713 * time/mktime.c (compile-command): Add "-I.".
4714
643e01e6
PE
4715 mktime: merge mktime-internal.h change from gnulib
4716 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4717
2554247d
PE
4718 mktime: merge time_r change from gnulib
4719 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4720
826dd0ab
PE
4721 mktime: merge DEBUG change from gnulib
4722 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4723 case system <time.h> has a #define.
4724
bd83aabe
PE
4725 mktime: merge <sys/types.h> change from gnulib
4726 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4727 since <time.t> is now guaranteed to define time_t.
4728
95770f14
PE
4729 mktime: merge HAVE_CONFIG_H change from gnulib
4730 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4731
5e1a27a9
L
47322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4733
0e44a77e
L
4734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4735 Use "neg %eax".
4736
5e1a27a9
L
4737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4738 __rlim_t cast.
4739 (struct rusage): Use anonymous union to pad each field to
4740 __syscall_slong_t.
4741
46259bec
DM
47422012-05-21 David S. Miller <davem@davemloft.net>
4743
4744 * Makefules (o-iterator): Remove .s cases.
4745 (compile-command.s): Delete.
4746 (COMPILE.s): Delete.
4747 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4748
59f0c22e
JM
47492012-05-21 Joseph Myers <joseph@codesourcery.com>
4750
4751 * configure.in (libc_cv_predef_stack_protector): Only consider
4752 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4753 * configure: Regenerated.
4754
20c07380
L
47552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4756
bbb3154b
L
4757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4758 New macro. Use R*LP on int and pointer.
4759 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4760 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4762 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4763
20c07380
L
4764 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4765 [__WORDSIZE_TIME64_COMPAT32] instead of
4766 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4767 (struct utmp): Likewise.
4768 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4769 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4770 Renamed to ...
4771 (__WORDSIZE_TIME64_COMPAT32): This.
4772 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4773 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4774 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4776 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4777 (__WORDSIZE_TIME64_COMPAT32): New macro.
4778
d8d1017e
AJ
47792012-05-21 Andreas Jaeger <aj@suse.de>
4780
4781 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4782 only if [SHARED]. Add prototype for __wcschr_ia32.
4783
6c7fb145
RM
47842012-05-21 Roland McGrath <roland@hack.frob.com>
4785
4786 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4787 of %rbp unmolested in the jmp_buf while mangling the low bits.
4788 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4789 unmolested high bits of %rbp while demangling the low bits.
4790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4791
66274218
AJ
47922012-05-21 Andreas Jaeger <aj@suse.de>
4793
07c58f8f
AJ
4794 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4795 * sunrpc/svc_simple.c: Use it for registerrpc.
4796 * sunrpc/xcrypt.c: Use it for passwd2des.
4797
66274218
AJ
4798 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4799
61f65140
L
48002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4801
4802 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4803 Don't define if [__SYSCALL_WORDSIZE != 32].
4804 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4805 New macro.
4806
5fefb436
AJ
48072012-05-21 Bruno Haible <bruno@clisp.org>
4808 Andreas Jaeger <aj@suse.de>
4809
4810 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4811 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4812 inptr and inend for must_buffer_ch.
4813 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4814 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4815 * stdio-common/Makefile (tests): Remove bug15.
4816 (bug15-ENV): Remove macro.
4817 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4818 anymore.
4819
d8e272ab
AJ
48202012-05-19 Andreas Jaeger <aj@suse.de>
4821 Roland McGrath <roland@hack.frob.com>
4822
4823 * manual/contrib.texi: Completely rewritten. It contains now an
4824 alphabetical list of contributors and their contributions.
4825
4a56a162
RH
48262012-05-21 Richard Henderson <rth@twiddle.net>
4827
4828 * misc/getauxval.c (__getauxval): Use unsigned long int.
4829 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4830 (getauxval): Use unsigned long int.
4831
d024d23c
L
48322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4833
4834 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4835
cbc00a03
RM
48362012-05-21 Roland McGrath <roland@hack.frob.com>
4837
4838 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4839 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4840 __alignof__ (long double).
4841
478143fa
AZ
48422012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843
4844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4845
c7683a6d
RH
48462012-05-20 Richard Henderson <rth@twiddle.net>
4847
4848 * misc/getauxval.c: New file.
4849 * misc/sys/auxv.h: New file.
4850 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4851 (routines): Add getauxval.
4852 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4853 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4854 * elf/dl-sysdep.c (_dl_auxv): Remove.
4855 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4856 * elf/dl-support.c (_dl_auxv): New variable.
4857 (_dl_aux_init): Initialize it.
4858 * manual/startup.texi (Auxiliary Vector): New node.
4859 * sysdeps/generic/bits/hwcap.h: New file.
4860 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4861 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4862 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4863 * sysdeps/sparc/sysdep.h: ... here. Include it.
4864 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4865 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4867 Update.
c7683a6d
RH
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4876
a6f1845d
AZ
48772012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878
4879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4880
cbcbe830
DM
48812012-05-19 David S. Miller <davem@davemloft.net>
4882
4883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4884
e0b16cc2
JM
48852012-05-19 Joseph Myers <joseph@codesourcery.com>
4886
4887 [BZ #14123]
4888 * math/s_ccosh.c: Include <float.h>
4889 (__ccosh): Avoid internal overflow calculating sinh and cosh
4890 values before multiplying by sin and cos values.
4891 * math/s_ccoshf.c: Likewise.
4892 * math/s_ccoshl.c: Likewise.
4893 * math/s_csin.c: Likewise.
4894 * math/s_csinf.c: Likewise.
4895 * math/s_csinl.c: Likewise.
4896 * math/s_csinh.c: Likewise.
4897 * math/s_csinhf.c: Likewise.
4898 * math/s_csinhl.c: Likewise.
4899 * math/libm-test.inc (ccos_test): Add more tests.
4900 (ccosh_test): Likewise.
4901 (csin_test): Likewise.
4902 (csinh_test): Likewise.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
6ad13e08
L
49062012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4907
f66f0ce8
L
4908 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4909 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4910
6ad13e08
L
4911 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4912
b1d072a7
JM
49132012-05-19 Joseph Myers <joseph@codesourcery.com>
4914
4915 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4916 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4917 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4918 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4919 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4920 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4921 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4922 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4923 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4924 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4925 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4926 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4927 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4928 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4929 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4930 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4931 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4932 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4933 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4934 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4935 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4936 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4937 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4938 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4939 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4940 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4941 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4942 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4943 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4944 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4945 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4946
9eae47cb
AJ
49472012-05-18 Andreas Jaeger <aj@suse.de>
4948
4949 * csu/.gitignore: Delete.
4950
bb07f69f
L
49512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4952
4953 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4954 (timex): Use __syscall_slong_t.
4955
e6bdb741
AJ
49562012-05-18 Andreas Jaeger <aj@suse.de>
4957 Carlos O'Donell <carlos_odonell@mentor.com>
4958
4959 * manual/install.texi (Configuring and compiling): Update
4960 description about files modified in the source directory.
d6c33fda 4961 * INSTALL: Regenerated.
e6bdb741 4962
1b74487e
L
49632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4966 value. Use "or" to set return value to -1.
4967 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4968 negate return value.
4969
a88b64b9
TMQMF
49702012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4971
4972 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4973 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4974 failure if the compiler has Graphite support disabled.
4975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4976 Likewise.
4977 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4978 CFLAGS-memmove.c): Likewise.
4979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4980 Likewise.
4981
3707636e
L
49822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4983
610b8622
L
4984 * sysdeps/x86_64/x32/_itoa.h: New file.
4985
7cd195df
L
4986 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4987 getdents system call only if kernel and user dirents have the
4988 same d_ino and d_off.
4989
94b07d20
L
4990 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4991 LLONG_MAX != LONG_MAX.
4992 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4993 (_fitoa_word): Likewise.
4994
18298070
L
4995 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4996 years.
4997 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5000
553c7ea4
L
5001 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5002 include <bits/wordsize.h>. Check __x86_64__ instead of
5003 __WORDSIZE.
5004 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5005 if __x86_64__ is defined. Use anonymous union on fpstate.
5006
3707636e
L
5007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5008 anonymous union.
5009
b53ef01a
AS
50102012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5011
37fb1dc0
AS
5012 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5013 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5014 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5015 Refer to _rtld_local_ro instead of _rtld_global_ro.
5016 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5017 Likewise.
5018 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5019 Likewise.
5020 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5021 Likewise.
5022 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5023 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5024 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5025
b53ef01a
AS
5026 * sysdeps/powerpc/powerpc32/dl-machine.c
5027 (__elf_machine_runtime_setup) [PROF]: Don't reference
5028 _dl_prof_resolve.
5029
7a185db2
AJ
50302012-05-18 Andreas Jaeger <aj@suse.de>
5031
5032 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5033 function only available for GCCs before 3.4 since GCC 3.4
5034 introduced a builtin.
5035 (lrint): Likewise.
5036 (llrintf): Likewise.
5037 (llrint): Likewise.
5038 (fmaxf): Likewise.
5039 (fmax): Likewise.
5040 (fminf): Likewise.
5041 (fmin): Likewise.
5042 (rint): Likewise.
5043 (rintf): Likewise.
5044 (nearbyint): Likewise.
5045 (nearbyintf): Likewise.
5046 (ceil): Likewise.
5047 (ceilf): Likewise.
5048 (floor): Likewise.
5049 (floorf): Likewise.
5050
3e5aef87
L
50512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5052
428bd707
L
5053 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5054 on both fields and cast pointer to __syscall_ulong_t.
5055
3e5aef87
L
5056 * bits/types.h (__fsword_t): New type.
5057 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5058 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5060 (__FSWORD_T_TYPE): Likewise.
5061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5062 (__FSWORD_T_TYPE): Likewise.
5063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5064 (__FSWORD_T_TYPE): Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5066 (__FSWORD_T_TYPE): Likewise.
5067 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5068 __SWORD_TYPE with __fsword_t.
5069 (statfs64): Likewise.
5070
1ba7c3dc
DM
50712012-05-17 David S. Miller <davem@davemloft.net>
5072
5073 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5074
59910343
AJ
50752012-05-17 Andreas Jaeger <aj@suse.de>
5076
5077 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5078 warning.
5079
2e4c1e9e
L
50802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5083
de7f5ce7
AJ
50842012-05-17 Andreas Jaeger <aj@suse.de>
5085
5086 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5087 when it is used.
5088
286abc3d
CM
50892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5090
5091 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5092
477cc68e
L
50932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5094
5095 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5096 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5097
1a0994f5
CD
50982012-05-17 Andreas Jaeger <aj@suse.de>
5099 Carlos O'Donell <carlos_odonell@mentor.com>
5100
5101 [BZ #14059]
5102 * sysdeps/x86_64/multiarch/init-arch.h
5103 (bit_YMM_Usable): Rename to...
5104 (bit_AVX_Usable): ... this.
5105 (bit_FMA4_Usable): New macro.
5106 (bit_XMM_state): New macro.
5107 (bit_YMM_state): New macro.
5108 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5109 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5110 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5111 (CPUID_OSXSAVE): New macro.
5112 (CPUID_AVX): New macro.
5113 (CPUID_FMA4): New macro.
5114 (index_YMM_Usable): Rename to...
5115 (index_AVX_Usable): ... this.
5116 (HAS_AVX): Use HAS_ARCH_FEATURE.
5117 (HAS_FMA4): Likewise.
5118 (HAS_YMM_USABLE): Remove.
5119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5120 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5121 are present.
5122 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5123 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5124 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5125 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5126 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5127
0af797de
CM
51282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5129
5130 * math/libm-test.c: Support platforms without multiple rounding modes.
5131 * math/bug-nextafter.c: Support platforms without FP exceptions.
5132 * math/bug-nexttoward.c: Likewise.
5133 * math/test-fenv.c: Likewise.
5134 * math/test-misc.c: Likewise.
5135 * stdlib/bug-getcontext.c: Likewise.
5136
e39745ff
AJ
51372012-05-17 Andreas Jaeger <aj@suse.de>
5138
5139 * manual/examples/search.c (critter_cmp): Change signature to
5140 avoid warnings.
5141 * manual/string.texi (Collation Functions): Likewise.
5142
48970aba
L
51432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5144
5145 * bits/types.h: Fold copyright years.
5146 * bits/typesizes.h: Likewise.
5147 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5151 * time/time.h: Likewise.
5152
bedee953
PP
51532012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5154
5155 [BZ #208]
5156 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5157 in instead of returning them. Return void.
5158 (__libc_mallinfo): Accumulate over all arenas.
5159 (__malloc_stats): Adjust for change in int_mallinfo interface.
5160
61653dfb
RM
51612012-05-16 Roland McGrath <roland@hack.frob.com>
5162
30b99d79
RM
5163 [BZ #10375]
5164 * configure.in (NM): Add AC_CHECK_TOOL for it.
5165 (libc_extra_cflags): New substituted variable.
5166 Check for -fstack-protector being used implicitly.
5167 * configure: Regenerated.
5168 * config.make.in (config-extra-cflags): New variable,
5169 gets @libc_extra_cflags@.
5170 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5171
61653dfb
RM
5172 [BZ #10375]
5173 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5174 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5175 * configure: Regenerated.
5176 * config.make.in (CPPUNDEFS): New substituted variable.
5177 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5178 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5179 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5180
661768bb
L
51812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5184 (mq_attr): Use __syscall_slong_t.
5185
d4261567
L
51862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5187
5188 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5189 Check __x86_64__ instead of __WORDSIZE.
5190 (_STAT_VER_LINUX): Likewise.
5191 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5192 __syscall_ulong_t and __syscall_slong_t.
5193 (stat64): Likewise.
5194
cf3ff365
L
51952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5196
5197 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5198
76cf3e4d
L
51992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5200
5201 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5202
a637753a
L
52032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5206 __syscall_ulong_t.
5207
d5e05119
L
5208 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5209 include <bits/wordsize.h>. Check __x86_64__ instead of
5210 __WORDSIZE.
5211 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5212 defined.
5213 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5214
f62ee380
L
5215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5216 include <bits/wordsize.h>. Check __x86_64__ instead of
5217 __WORDSIZE.
5218 (user_regs_struct): Use "__extension__ unsigned long long"
5219 instead of "unsigned long" if __x86_64__ is defined.
5220 (user): Likewise. Pad after pointer field if __ILP32__ is
5221 defined.
5222
4e124ced
JM
52232012-05-16 Joseph Myers <joseph@codesourcery.com>
5224
6a3951a0
JM
5225 * configure.in (makeinfo): Require version 4.5 or later. Allow
5226 versions 5 to 9.
5227 * configure: Regenerated.
5228 * manual/install.texi (texinfo): Increase version requirement to
5229 4.5 or later.
5230 * INSTALL: Regenerated.
5231
4e124ced
JM
5232 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5233
953ca31a
L
52342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5237
617aca05
L
5238 * sysdeps/x86_64/x32/ffs.c: New file.
5239
5762f7ae
L
5240 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5241 __syscall_ulong_t.
5242 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5243 defined. Use __syscall_ulong_t.
5244 (shminfo): Use __syscall_ulong_t.
5245 (shm_info): Likewise.
5246
a26b6856
L
5247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5248 __syscall_ulong_t.
5249
cb2b9ef7
L
5250 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5251 <bits/wordsize.h>.
5252 (msgqnum_t): Use __syscall_ulong_t.
5253 (msglen_t): Likewise.
5254 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5255 __syscall_ulong_t.
5256
34683bb0
L
5257 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5259
84a68786
L
5260 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5261
48baa5f1
L
5262 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5263 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5264
180be88b
L
5265 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5266 __syscall_slong_t.
5267
5e90c8ad
L
5268 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5269 include <bits/wordsize.h>. Check __x86_64__ instead of
5270 __WORDSIZE.
5271
23dfb58b
L
5272 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5273 "unsigned long long int" if __x86_64__ is defined.
5274 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5275
ce5d54b0
L
5276 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5278 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5279
13dc9eac
L
5280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5281 <stdint.h>.
5282 (GET_PC): Cast to uintptr_t first.
5283 (GET_FRAME): Likewise.
5284 (GET_STACK): Likewise.
5285
a7895d15
L
5286 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5315
656416c9
AS
53162012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5317
5bd66283
AS
5318 * Makerules (+depfiles): Also collect depfiles from .oS in
5319 $(extra-objs).
5320 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5321 .oS, $(libnldbl-routines)).
5322
656416c9
AS
5323 * Makerules (native-compile-mkdep-flags): Define.
5324 * sunrpc/Makefile (extra-objs): Add $(addprefix
5325 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5326 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5327 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5328 calling $(make-target-directory).
5329
a46f2169
L
53302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * bits/types.h (__snseconds_t): Removed.
5333 * time/time.h (struct timespec): Replace __snseconds_t with
5334 __syscall_slong_t.
5335 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5336 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5337 Likewise.
5338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5339 (__SNSECONDS_T_TYPE): Likewise.
5340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5341 (__SNSECONDS_T_TYPE): Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5343 (__SNSECONDS_T_TYPE): Likewise.
5344
6af6528b
L
53452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5346
5347 * sysdeps/mach/hurd/bits/typesizes.h
5348 (__SYSCALL_SLONG_TYPE): New macro.
5349 (__SYSCALL_ULONG_TYPE): Likewise.
5350
de986b56
L
53512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 * bits/types.h (__syscall_slong_t): New type.
5354 (__syscall_ulong_t): Likewise.
5355
5356 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5357 (__SYSCALL_ULONG_TYPE): Likewise.
5358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5359 (__SYSCALL_SLONG_TYPE): Likewise.
5360 (__SYSCALL_ULONG_TYPE): Likewise.
5361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5362 (__SYSCALL_SLONG_TYPE): Likewise.
5363 (__SYSCALL_ULONG_TYPE): Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5365 (__SYSCALL_SLONG_TYPE): Likewise.
5366 (__SYSCALL_ULONG_TYPE): Likewise.
5367
85736dc7
L
53682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5369
5370 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5371 Add sigaltstack-offsets.sym.
5372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5373 <sigaltstack-offsets.h>.
5374 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5375 longjmp_msg pointer.
5376 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5377 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5378 signal stack.
5379 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5380
cc03b296
JM
53812012-05-15 Joseph Myers <joseph@codesourcery.com>
5382
a9538892
JM
5383 * elf/stackguard-macros.h: Remove file.
5384 * sysdeps/generic/stackguard-macros.h: New file.
5385 * sysdeps/i386/stackguard-macros.h: Likewise.
5386 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5387 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5388 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5389 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5390 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5391 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5392 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5393 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5394 <elf/stackguard-macros.h>.
5395
cc03b296
JM
5396 [BZ #14109]
5397 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5398 __aligned__ in attribute.
5399 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5400 (gregset_t): Likewise.
5401
93171016
L
54022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5403
5404 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5405 * sysdeps/x86_64/64/Implies-after: Here. New file.
5406 * sysdeps/x86_64/x32/Implies-after: New file.
5407
d86813a0
L
54082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5409
5410 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5411 and access return value for _dl_profile_fixup. Use R10_LP to
5412 load frame size.
5413
2953ec75
L
54142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5415
5416 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5417
3b550e9e
L
54182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5421 * sysdeps/x86_64/x32/sysdep.h: New file.
5422
eda41706
L
54232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5424
5425 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5426 * sysdeps/x86_64/setjmp.S: Likewise.
5427
9ea01d93
AZ
54282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429
5430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5432 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5433 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5434 remove unused global constant.
5435
02a91938
CM
54362012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5437
5438 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5439 include of <not-cancel.h>.
5440
6540185f
RM
54412012-05-15 Roland McGrath <roland@hack.frob.com>
5442
5443 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5444
509072a0
AJ
54452012-05-15 Jeff Law <law@redhat.com>
5446 Andreas Jaeger <aj@suse.de>
5447
5448 [BZ #13594]
5449 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5450 out from...
5451 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5452 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5454 code changing __hst_map_handle.map.
5455
ba75122d
RM
54562012-05-15 Roland McGrath <roland@hack.frob.com>
5457
5458 * configure.in (sysnames): Look for Implies-before and Implies-after
5459 files.
5460 * configure: Regenerated.
5461
890d8bd8
L
54622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5463
5464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5465 8-byte data alignment with LP_SIZE alignment.
5466
f6ee6623
L
54672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5468
5469 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5470 into R10_LP.
5471
ea2626f6
L
54722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5473
5474 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5475
085f715e
L
54762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5477
5478 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5479 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5481 Likewise.
5482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5483
be8498fc
L
54842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5487 (stackinfo_sub_sp): Likewise.
5488
70bc83b9
L
54892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5490
5491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5492 RAX_LP.
5493
9bc0b730
L
54942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5495
5496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5497 into R*_LP.
5498
6d2850e7
L
54992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5502 sizes into R*_LP.
5503
3cb84561
L
55042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5505
5506 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5507
54e2ed81
L
55082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5509
5510 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5511 into R11_LP and load __x86_64_shared_cache_size_half into
5512 R8_LP.
5513
8a17f349
L
55142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5515
5516 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5517 R8_LP.
5518
777b1eea
AZ
55192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5522 logb for POWER7.
5523 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5524 logbf for POWER7.
5525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5526 logbl for POWER7.
5527 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5528 powerpc32/power7/fpu/s_logb.c via #include.
5529 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5530 powerpc32/power7/fpu/s_logbf.c via #include.
5531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5532 powerpc32/power7/fpu/s_logbl.c via #include.
5533
d20d4ac2
JM
55342012-05-15 Joseph Myers <joseph@codesourcery.com>
5535
5536 * README.libm: Remove file.
5537
6cdef1ab
L
55382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5541 count for x32. Use R*_LP and omit operand-size suffix.
5542
0b254d8f
L
55432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5544
5545 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5546 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5547 * sysdeps/x86_64/x32/shlib-versions: New file.
5548
ceb809dc
RM
55492012-05-14 Roland McGrath <roland@hack.frob.com>
5550
5551 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5552 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5553 Use _dl_fatal_printf instead.
5554
37f1abd4
JM
55552012-05-14 Joseph Myers <joseph@codesourcery.com>
5556
5557 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5558 set if not set by the user. Do not allow for being unset.
5559 * sysdeps/unix/sysv/linux/configure: Regenerated.
5560
11de3a33
L
55612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5562
5563 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5564 the `q' suffix from lea and replace .quad with ASM_ADDR.
5565
e02f153a
L
55662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5569 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5570 instead of $17.
5571 (PTR_DEMANGLE): Likewise.
5572
520ae0fd
L
55732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5574
5575 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5576 (LP_OP): Likewise.
5577 (ASM_ADDR): Likewise.
5578 (RAX_LP): Likewise.
5579 (RBP_LP): Likewise.
5580 (RBX_LP): Likewise.
5581 (RCX_LP): Likewise.
5582 (RDI_LP): Likewise.
5583 (RSI_LP): Likewise.
5584 (RSP_LP): Likewise.
5585 (R8_LP): Likewise.
5586 (R9_LP): Likewise.
5587 (R10_LP): Likewise.
5588 (R10_LP): Likewise.
5589 (R11_LP): Likewise.
5590 (R12_LP): Likewise.
5591 (R13_LP): Likewise.
5592 (R14_LP): Likewise.
5593 (R15_LP): Likewise.
5594
b985be81
L
55952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * sysdeps/x86_64/x32/dl-machine.h: New file.
5598
6a4888ff
AJ
55992012-05-14 Andreas Jaeger <aj@suse.de>
5600
5601 * manual/Makefile (subdir): Remove export of subdir.
5602 (all): Remove target.
5603 (.PHONY): Remove all from list.
5604 (mkinstalldirs): Remove.
5605 (.PHONY): Remove installdirs from list.
5606 ($(inst_infodir)/libc.info): Use make-target-directory.
5607 (installdirs): Remove.
5608 (subdir_%): Remove.
5609 (glibc-targets): Remove.
5610 (lib): Remove.
5611 (stubs): Remove.
5612 ($(objpfx)stubs ../po/manual.pot): Remove.
5613 ($(objpfx)stamp%): Remove.
5614 (make-target-directory): Remove.
5615 (subdir_install): Remove.
5616 (routines): Remove.
5617 (aux): Remove.
5618 (sources): Remove.
5619 (objects): Remove.
5620 (headers): Remove.
5621
5622 [BZ #13750]
5623 * manual/.gitignore: Remove, it's not needed anymore.
5624 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5625 all files in it.
5626 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5627 directory.
5628 (texis): Renamed to $(objpfx)texis.
5629 (texis-path): New, contains path to generated files.
5630 (chapters.%): Use texis-path for complete path, add extra argument
5631 libc-texinfo.sh.
5632 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5633 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5634 (summary,texi, stamp-summary): Use complete path of
5635 files. Generate files in build dir.
5636 (dir-add.texi): Build in build dir.
5637 (libm-err.texi,stamp-libm-err): Likewise.
5638 (version.texi, stamp-version): Likewise.
5639 (.%c.texi): Likewise.
5640 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5641 (mostlyclean): Remove target.
5642 (realclean): Remove target.
5643 (generated): Add new variable with contents from mostlyclean and
5644 realclean, remove entries duplicated in common-mostlyclean, add
5645 stamp-libm-err and stamp-version.
5646 (generated-dirs): Add libc directory.
5647 ($(inst_infodir)/libc.info): Install files from build dir.
5648
5649 * manual/install.texi (Configuring and compiling): Adjust since
5650 the info files are not part of the tar ball anymore.
5651
7ac77294
AJ
56522012-05-14 Andreas Jaeger <aj@suse.de>
5653
5654 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5655 variable.
5656
ffb7875d
JM
56572012-05-14 Joseph Myers <joseph@codesourcery.com>
5658
5659 [BZ #13717]
5660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5661 to 2.2.0 where earlier.
5662 * sysdeps/unix/sysv/linux/configure: Regenerated.
5663 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5664 Remove conditional code.
5665 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5666 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5667 Remove conditional code.
5668 [!__NR_lchown]: Likewise.
5669 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5670 [__NR_lchown]: Likewise.
5671 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5672 comment referencing __ASSUME_LCHOWN_SYSCALL.
5673 * sysdeps/unix/sysv/linux/i386/sigaction.c
5674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5676 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5677 Remove conditional code.
5678 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5679 (__protocol_available): Remove #if 0 code.
5680 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5681 conditional code.
5682 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5683 * sysdeps/unix/sysv/linux/kernel-features.h
5684 (__ASSUME_GETCWD_SYSCALL): Don't define.
5685 (__ASSUME_REALTIME_SIGNALS): Likewise.
5686 (__ASSUME_PREAD_SYSCALL): Likewise.
5687 (__ASSUME_PWRITE_SYSCALL): Likewise.
5688 (__ASSUME_POLL_SYSCALL): Likewise.
5689 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5690 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5691 non-SPARC.
5692 (__ASSUME_SIOCGIFNAME): Don't define.
5693 (__ASSUME_MSG_NOSIGNAL): Likewise.
5694 (__ASSUME_SENDFILE): Define unconditionally.
5695 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5696 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5697 conditional code.
5698 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5699 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5700 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5701 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5702 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5703 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5704 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5730 Remove conditional code.
5731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5732 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5733 Remove conditional code.
5734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5735 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5736 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5737 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5738 Remove conditional code.
5739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5741 Remove conditional code.
5742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5743 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5744 Remove conditional code.
5745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5746 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5747 Remove conditional code.
5748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5749 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5750 Remove conditional code.
5751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5752 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5755 * sysdeps/unix/sysv/linux/sigaction.c
5756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5758 * sysdeps/unix/sysv/linux/sigpending.c
5759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5761 * sysdeps/unix/sysv/linux/sigprocmask.c
5762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5764 * sysdeps/unix/sysv/linux/sigsuspend.c
5765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5768 (__libc_missing_rt_sigs): Remove.
5769 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5770 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5771 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5772 Remove conditional code.
5773 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5774 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5775 return 1.
5776 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5777 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5778 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5779 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5780
1bfb7291
AJ
57812012-05-14 Andreas Jaeger <aj@suse.de>
5782
caae5a81
AJ
5783 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5784 it's not used in glibc.
5785 (__coshm1): Likewise.
5786 (__acosh1p): Likewise.
5787 (__sgn): Likewise.
5788
1bfb7291
AJ
5789 * manual/string.texi (Copying and Concatenation): Add missing
5790 variable in concat example.
5791 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5792
c044d724
L
57932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5794
144c5467 5795 [BZ #14103]
c044d724
L
5796 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5797 __builtin_clzl with __builtin_clzll.
5798
2523c62b
L
57992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5800
5801 [BZ #14104]
5802 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5803 libc_freeres_ptr.
5804
d7bb4c42
LD
58052012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5806
5807 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5808 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5809 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5811
9dc4e1fb
MF
58122012-05-14 Mike Frysinger <vapier@gentoo.org>
5813
5814 * NEWS: Update ia64 info.
5815
c7df0112
AS
58162012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5819 used as bcopy.
5820
dc70356c
TS
58212012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5822
5823 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5824 * sysdeps/unix/syscalls.list (dup3): Likewise.
5825 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5826 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5827
9fb1a21f
L
58282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5831 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5832
4822a2a5
L
58332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5834
5835 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5836 thread pointer.
5837 (TLS_IE): Use mov/add instead of movq/addq to load thread
5838 pointer.
5839 (TLS_GD_PREFIX): New.
5840 (TLS_GD): Use it.
5841
842b81d6
DM
58422012-05-11 David S. Miller <davem@davemloft.net>
5843
5844 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5845 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5846 (_FPU_SETCW): Likewise.
5847
1cf463cd
L
58482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5851 is 32-byte aligned.
5852
60cc4a18
AS
58532012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5854
5855 [BZ #11837]
5856 * iconvdata/gb18030.c: Update tables.
5857 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5858 characters specially.
5859 (BODY for TO_LOOP): Add encoding of missing ranges.
5860
febb44a4
TS
58612012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5862
5863 [BZ #13673]
5864 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5865 * sysdeps/mach/hurd/dup3.c: Likewise.
5866 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5867 * sysdeps/powerpc/memmove.c:: Likewise.
5868
0a10fb9e
L
58692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5872 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5873
df8a552f
L
58742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * elf/elf.h (R_X86_64_RELATIVE64): New.
5877 (R_X86_64_NUM): Updated.
5878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5879 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5880 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5881 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5882 tst-quad1pie tst-quad2pie
5883 (modules-names): Add tst-quadmod1 tst-quadmod2.
5884 ($(objpfx)tst-quad1): New dependency.
5885 ($(objpfx)tst-quad2): Likewise.
5886 ($(objpfx)tst-quad1pie): Likewise.
5887 ($(objpfx)tst-quad2pie): Likewise.
5888 * sysdeps/x86_64/tst-quad1.c: New file.
5889 * sysdeps/x86_64/tst-quad1pie.c: New file.
5890 * sysdeps/x86_64/tst-quad2.c: Likewise.
5891 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5892 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5893 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5894 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5895 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5896
f34d6f84
ST
58972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5898
f42d41d1
ST
5899 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5900 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5901 * streams/stropts.h (t_scalar_t): Define type.
5902
3c3571fc
ST
5903 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5904 (_PATH_PRESERVE): Set to "/var/lib".
5905 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5906
61f06bd3
ST
5907 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5908 instead of int.
5909
918d4d71
ST
5910 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5911 if __dir_mkfile succeeded.
5912
f34d6f84
ST
5913 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5914 checking for _hurd_dtablesize. Unlock it right after having
5915 finished _hurd_dtable allocation.
5916
10589b4a
TS
59172012-05-10 Thomas Schwinge <thomas@schwinge.name>
5918
674cdbc7
TS
5919 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5920 * sysdeps/mach/hurd/configure: Regenerated.
5921 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5922 special-casing to...
5923 * sysdeps/gnu/configure.in: ... this new file.
5924 * sysdeps/unix/sysv/linux/configure: Regenerated.
5925 * sysdeps/gnu/configure: New generated file.
5926
8e41b99f
TS
5927 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5928 for Linux: use nsec instead of usec, as well as:
5929 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5930 members of type struct timespec.
5931 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5932 New macros.
5933 (struct stat64): Likewise.
5934 (_STATBUF_ST_NSEC): New macro.
5935 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5936
10589b4a
TS
5937 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5938 __strtoul_internal rather than strtoul.
5939
63643c85
PT
59402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5941
5942 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5943 and reject them.
5944
3faebe6a
ST
59452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5946
5947 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5948 which preserves existing values.
5949 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5950
c6474b07
PT
59512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5952
5953 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5954 TIMEOUT values. Return EINVAL for NFDS values either negative or
5955 greater than FD_SETSIZE.
5956
1043890b
ST
59572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5958
5959 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5960 allocated, call __vm_protect to finish enabling the existing space, and
5961 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5962 allocate the remainder.
5963
37ed8b9b
PT
59642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5965
5966 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5967 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5968
db653660
ST
59692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5970
37ed8b9b
PT
5971 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5972 sysdeps/mach/hurd/readlink.c.
b29d4053 5973
db653660
ST
5974 * posix/tst-sysconf.c (posix_options): Only use
5975 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5976 _POSIX_SYNCHRONIZED_IO when they are defined
5977 * sysdeps/mach/hurd/bits/posix_opt.h:
5978 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5979 (_XOPEN_REALTIME): Undefine macro.
5980 (_XOPEN_REALTIME_THREADS): Undefine macro.
5981 (_XOPEN_SHM): Undefine macro.
5982 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5983 macro to -1.
5984 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5985 macro to -1.
5986 (_POSIX_ASYNC_IO): Undefine macro.
5987 (_POSIX_PRIORITIZED_IO): Undefine macro.
5988 (_POSIX_SPIN_LOCKS): Define macro to -1.
5989
ee16e894
ST
5990 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5991 SA_NODEFER, SA_RESETHAND.
5992 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5993 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5994 F_DUPFD_CLOEXEC.
5995
6103ae3b
TS
59962012-05-10 Thomas Schwinge <thomas@schwinge.name>
5997
5998 * elf/Makefile (pldd-modules): Define unconditionally.
5999
80b4e5f3
TS
60002012-05-10 Thomas Schwinge <thomas@schwinge.name>
6001
6002 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6003
edadcbd6
ST
60042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6005
6006 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6007 Return ENOENT when name is empty.
6008 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6009
80694780
TS
60102012-05-10 Thomas Schwinge <thomas@schwinge.name>
6011
1792c087
TS
6012 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6013
80694780
TS
6014 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6015
6b645f0d
ST
60162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6017
80694780
TS
6018 Fix mlock in all cases except non-readable pages.
6019 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6020 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6021
6b645f0d
ST
6022 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6023 (__mkdir): When path is `/', just fail with EEXIST.
6024 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6025
e468f8a3
TS
60262012-05-10 Thomas Schwinge <thomas@schwinge.name>
6027
6028 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6029 <sys/uio.h> (for writev).
6030 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6031 and <sys/param.h> (for MIN).
6032
a4186cff
PT
60332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6034
6035 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6036 REQUESTED_TIME. Properly set the remaining time and return EINTR
6037 if interrupted.
6038
510bbf14
TS
60392012-05-10 Thomas Schwinge <thomas@schwinge.name>
6040
6041 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6042 Depend on against $(link-rpcuserlibs).
6043
5d5722e8
ST
60442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6045
a4186cff
PT
6046 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6047 (__libc_stack_end): Do not use attribute_relro.
6048 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6049 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6050 to libthread-provided value.
a4186cff
PT
6051 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6052 attribute_relro.
5d5722e8 6053
37233df9
TS
60542012-05-10 Thomas Schwinge <thomas@schwinge.name>
6055
be971a2b
TS
6056 [BZ #3748]
6057 * bits/libc-lock.h (__libc_once_get): New macro.
6058 * sysdeps/mach/bits/libc-lock.h: Likewise.
6059 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6061 instead of using implementation details.
6062
37233df9
TS
6063 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6064 * libio/freopen.c: Likewise.
6065 * libio/freopen64.c: Likewise.
6066 * misc/syslog.c: Likewise.
6067 * nscd/connections.c: Likewise.
6068 * nscd/netgroupcache.c: Likewise.
6069 * sysdeps/posix/getcwd.c: Likewise.
6070
38de94a5
RM
60712012-05-10 Roland McGrath <roland@hack.frob.com>
6072
6073 * math/w_ilogbf.c: Add #include <limits.h>.
6074
67530489
ST
60752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6076
a4186cff 6077 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6078 path instead of returning without unlocking.
6079
67530489
ST
6080 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6081 immediate-write ioctls.
6082 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6083
5aa3a74a
TS
60842012-05-10 Thomas Schwinge <thomas@schwinge.name>
6085
18bad2ae
TS
6086 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6087 __builtin_frame_address instead of making assumptions about the
6088 location of the return address relative to DATA. Force early load of
6089 the return address.
6090 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6091 __builtin_frame_address.
6092
5aa3a74a
TS
6093 dup3 for GNU Hurd.
6094 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6095 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6096 implement dup3 and do some further code clean-ups.
6097 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6098 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6099
ecd0de9a
ST
61002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6101
cd9fa985
ST
6102 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6103
a4186cff
PT
6104 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6105 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6106 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6107 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6108 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6109 d->port.lock.
802ca5a5 6110
a4186cff
PT
6111 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6112 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6113 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6114
bcf55240
TS
61152012-05-10 Thomas Schwinge <thomas@schwinge.name>
6116
6960eb42
TS
6117 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6118 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6119 definitions.
6120
eb43375f
TS
6121 accept4 for GNU Hurd.
6122 * include/sys/socket.h (__libc_accept4): New prototype.
6123 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6124 to implement __libc_accept4.
6125 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6126 __libc_accept4.
6127 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6128
bcf55240
TS
6129 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6130 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6131 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6132 signal-defines.sym.
6133
6178c55b
ST
61342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6135
a4186cff 6136 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6137
6f080c2f
TS
61382012-05-10 Thomas Schwinge <thomas@schwinge.name>
6139
6140 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6141 assertion on O_CLOEXEC flag.
6142 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6143 * hurd/intern-fd.c: Likewise.
6144 * hurd/port2fd.c: Likewise.
6145
bcfe3a54
ST
61462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6147
6148 [BZ #3906]
6149 * bits/in.h (IPV6_PKTINFO): Define new macro.
6150 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6151
89c9aa49
AZ
61522012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 [BZ #13954]
6155 [BZ #13955]
6156 [BZ #13956]
6157 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6159 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6163 * math/libm-test.inc (logb_test) : Additional logb tests.
6164
021db4be
AJ
61652012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6166 Andreas Jaeger <aj@suse.de>
6167
6168 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6169 * configure: Regenerated.
6170 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6171 * config.make.in (link-obsolete-rpc): New substituted variable.
6172 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6173 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6174 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6175 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6176 so that libc.a contains the symbols.
6177 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6178 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6179 * sunrpc/auth_none.c: Likewise.
6180 * sunrpc/auth_unix.c: Likewise.
6181 * sunrpc/authdes_prot.c: Likewise.
6182 * sunrpc/authuxprot.c: Likewise.
6183 * sunrpc/clnt_gen.c: Likewise.
6184 * sunrpc/clnt_perr.c: Likewise.
6185 * sunrpc/clnt_raw.c: Likewise.
6186 * sunrpc/clnt_simp.c: Likewise.
6187 * sunrpc/clnt_tcp.c: Likewise.
6188 * sunrpc/clnt_udp.c: Likewise.
6189 * sunrpc/clnt_unix.c: Likewise.
6190 * sunrpc/des_crypt.c: Likewise.
6191 * sunrpc/des_soft.c: Likewise.
6192 * sunrpc/get_myaddr.c: Likewise.
6193 * sunrpc/key_call.c: Likewise.
6194 * sunrpc/key_prot.c: Likewise.
6195 * sunrpc/netname.c: Likewise.
6196 * sunrpc/pm_getmaps.c: Likewise.
6197 * sunrpc/pm_getport.c: Likewise.
6198 * sunrpc/pmap_clnt.c: Likewise.
6199 * sunrpc/pmap_prot.c: Likewise.
6200 * sunrpc/pmap_prot2.c: Likewise.
6201 * sunrpc/pmap_rmt.c: Likewise.
6202 * sunrpc/publickey.c: Likewise.
6203 * sunrpc/rpc_cmsg.c: Likewise.
6204 * sunrpc/rpc_common.c: Likewise.
6205 * sunrpc/rpc_dtable.c: Likewise.
6206 * sunrpc/rpc_prot.c: Likewise.
6207 * sunrpc/rpc_thread.c: Likewise.
6208 * sunrpc/rtime.c: Likewise.
6209 * sunrpc/svc.c: Likewise.
6210 * sunrpc/svc_auth.c: Likewise.
6211 * sunrpc/svc_raw.c: Likewise.
6212 * sunrpc/svc_run.c: Likewise.
6213 * sunrpc/svc_tcp.c: Likewise.
6214 * sunrpc/svc_udp.c: Likewise.
6215 * sunrpc/svc_unix.c: Likewise.
6216 * sunrpc/svcauth_des.c: Likewise.
6217 * sunrpc/xcrypt.c: Likewise.
6218 * sunrpc/xdr.c: Likewise.
6219 * sunrpc/xdr_array.c: Likewise.
6220 * sunrpc/xdr_float.c: Likewise.
6221 * sunrpc/xdr_intXX_t.c: Likewise.
6222 * sunrpc/xdr_mem.c: Likewise.
6223 * sunrpc/xdr_rec.c: Likewise.
6224 * sunrpc/xdr_ref.c: Likewise.
6225 * sunrpc/xdr_sizeof.c: Likewise.
6226 * sunrpc/xdr_stdio.c: Likewise.
6227
b5c086a2
RM
62282012-05-10 Roland McGrath <roland@hack.frob.com>
6229
6230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6231 change. Update copyright years.
6232
6d74dd09
JM
62332012-05-10 Joseph Myers <joseph@codesourcery.com>
6234
6235 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6236
28e72501
MK
62372012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6238 Joseph Myers <joseph@codesourcery.com>
6239 Paul Pluzhnikov <ppluzhnikov@google.com>
6240
6241 [BZ #14012]
6242 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6243 requiring rpcgen.
6244 [cross-compiling] (extra-libs): Likewise.
6245 [cross-compiling] (extra-libs-others): Likewise.
6246 [cross-compiling] (librpcsvc-routines): Likewise.
6247 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6248 [cross-compiling] (omit-deps): Likewise.
6249 (sunrpc-CPPFLAGS): New variable.
6250 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6251 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6252 (cross-rpcgen-objs): New variable.
6253 (extra-objs): Append $(cross-rpcgen-objs).
6254 ($(cross-rpcgen-objs)): New rule.
6255 ($(objpfx)cross-rpcgen): Likewise.
6256 (rpcgen-cmd): Define to use $(built-program-file). Expand
6257 comment.
6258 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6259 ($(objpfx)x%.stmp): Likewise.
6260 * sunrpc/proto.h [IS_IN_build] (_): Define.
6261 [IS_IN_build] (_libc_intl_domainname): Likewise.
6262
c8c59454
L
62632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6266 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6267 and R_X86_64_TPOFF64.
6268
6f27cd16
JM
62692012-05-10 Joseph Myers <joseph@codesourcery.com>
6270
6271 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6272 sysdeps/unix/sysv/syscalls.list.
6273 (stime): Likewise.
6274 (utime): Likewise.
6275 * sysdeps/unix/sysv/syscalls.list: Remove file.
6276
02467e1c
PE
62772012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6278
6279 [BZ #3440]
6280 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6281 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6282 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6283 (__LC_IDENTIFICATION): Make these macros useful in #if
6284 expressions, as required by C99.
6285
da392631
AS
62862012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6287
6288 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6289 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6290 after this.
6291
8115f29b
L
62922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6293
6294 * stdlib/longlong.h: Updated from GCC.
6295
bdd74070
AJ
62962012-05-09 Andreas Jaeger <aj@suse.de>
6297
edfe0dbe
AJ
6298 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6299 default is first entry.
6300 (run_mode): Set type.
6301 (main): Remove informal message about syslog.
6302 (options): Fix typo.
6303
bcfe3a54
ST
6304 [BZ #14053]
6305 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6306 to asm.
bcfe3a54
ST
6307 (lrint): Likewise.
6308 (llrintf): Likewise.
6309 (llrint): Likewise.
6310 (rint): Likewise.
6311 (rintf): Likewise.
6312 (nearbyint): Likewise.
6313 (nearbyintf): Likewise.
bdd74070 6314
91d8d69e
AJ
63152012-05-09 Andreas Jaeger <aj@suse.de>
6316 Pedro Alves <palves@redhat.com>
6317
6318 * nscd/nscd.c (run_mode): Use enum.
6319 (main): Cleanup coding style issue.
6320
bb90b80b
AJ
63212012-05-09 Alexandre Oliva <aoliva@redhat.com>
6322 Andreas Jaeger <aj@suse.de>
6323
bcfe3a54
ST
6324 * nscd/nscd.c (go_background): Replaced with...
6325 (run_mode): ... this.
bb90b80b 6326 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6327 (options): Add -F --foreground.
6328 (main): Implement it.
6329 (parse_opt): Parse it.
bb90b80b 6330
1a4b75a1
AJ
63312012-05-09 Andreas Jaeger <aj@suse.de>
6332
6333 [BZ #14083]
6334 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6335 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6336 -Wconversion warning.
6337 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6338 Likewise.
6339
b1cc2472
JM
63402012-05-09 Joseph Myers <joseph@codesourcery.com>
6341
6342 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6343 == 0.
6344 (LC_ALL): Use macro-int-constant.
6345 (LC_COLLATE): Likewise.
6346 (LC_CTYPE): Likewise.
6347 (LC_MESSAGES): Likewise.
6348 (LC_MONETARY): Likewise.
6349 (LC_NUMERIC): Likewise.
6350 (LC_TIME): Likewise.
6351 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6352 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6354 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6355 Specify type.
6356 [C99-based standards] (float_t): Expect type.
6357 [C99-based standards] (double_t): Expect type.
6358 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6359 type.
6360 [C99-based standards] (HUGE_VALL): Likewise.
6361 [C99-based standards] (INFINITY): Likewise.
6362 [C99-based standards] (NAN): Likewise.
6363 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6364 [C99-based standards] (FP_NAN): Likewise.
6365 [C99-based standards] (FP_NORMAL): Likewise.
6366 [C99-based standards] (FP_SUBNORMAL): Likewise.
6367 [C99-based standards] (FP_ZERO): Likewise.
6368 [C99-based standards] (FP_FAST_FMA): Use
6369 optional-macro-int-constant. Specify type. Require == 1.
6370 [C99-based standards] (FP_FAST_FMAF): Likewise.
6371 [C99-based standards] (FP_FAST_FMAL): Likewise.
6372 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6373 [C99-based standards] (FP_ILOGBNAN): Likewise.
6374 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6375 Specify type.
6376 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6377 [C99-based standards] (math_errhandling): Specify type.
6378 [ISO99 || ISO11] (signgam): Do not allow.
6379 [non-C99-based standards] (copysignf): Do not allow.
6380 [non-C99-based standards] (exp2f): Likewise.
6381 [non-C99-based standards] (log2f): Likewise.
6382 [non-C99-based standards] (modff): Allow.
6383 [non-C99-based standards] (erff): Do not allow.
6384 [non-C99-based standards] (erfcf): Likewise.
6385 [non-C99-based standards] (gammaf): Likewise.
6386 [non-C99-based standards] (hypotf): Likewise.
6387 [non-C99-based standards] (j0f): Likewise.
6388 [non-C99-based standards] (j1f): Likewise.
6389 [non-C99-based standards] (jnf): Likewise.
6390 [non-C99-based standards] (lgammaf): Likewise.
6391 [non-C99-based standards] (tgammaf): Likewise.
6392 [non-C99-based standards] (y0f): Likewise.
6393 [non-C99-based standards] (y1f): Likewise.
6394 [non-C99-based standards] (ynf): Likewise.
6395 [non-C99-based standards] (isnanf): Likewise.
6396 [non-C99-based standards] (acoshf): Likewise.
6397 [non-C99-based standards] (asinhf): Likewise.
6398 [non-C99-based standards] (atanhf): Likewise.
6399 [non-C99-based standards] (cbrtf): Likewise.
6400 [non-C99-based standards] (expm1f): Likewise.
6401 [non-C99-based standards] (ilogbf): Likewise.
6402 [non-C99-based standards] (log1pf): Likewise.
6403 [non-C99-based standards] (logbf): Likewise.
6404 [non-C99-based standards] (nextafterf): Likewise.
6405 [non-C99-based standards] (remainderf): Likewise.
6406 [non-C99-based standards] (rintf): Likewise.
6407 [non-C99-based standards] (scalbf): Likewise.
6408 [non-C99-based standards] (copysignl): Likewise.
6409 [non-C99-based standards] (exp2l): Likewise.
6410 [non-C99-based standards] (log2l): Likewise.
6411 [non-C99-based standards] (modfl): Allow.
6412 [non-C99-based standards] (erfl): Do not allow.
6413 [non-C99-based standards] (erfcl): Likewise.
6414 [non-C99-based standards] (gammal): Likewise.
6415 [non-C99-based standards] (hypotl): Likewise.
6416 [non-C99-based standards] (j0l): Likewise.
6417 [non-C99-based standards] (j1l): Likewise.
6418 [non-C99-based standards] (jnl): Likewise.
6419 [non-C99-based standards] (lgammal): Likewise.
6420 [non-C99-based standards] (tgammal): Likewise.
6421 [non-C99-based standards] (y0l): Likewise.
6422 [non-C99-based standards] (y1l): Likewise.
6423 [non-C99-based standards] (ynl): Likewise.
6424 [non-C99-based standards] (isnanl): Likewise.
6425 [non-C99-based standards] (acoshl): Likewise.
6426 [non-C99-based standards] (asinhl): Likewise.
6427 [non-C99-based standards] (atanhl): Likewise.
6428 [non-C99-based standards] (cbrtl): Likewise.
6429 [non-C99-based standards] (expm1l): Likewise.
6430 [non-C99-based standards] (ilogbl): Likewise.
6431 [non-C99-based standards] (log1pl): Likewise.
6432 [non-C99-based standards] (logbl): Likewise.
6433 [non-C99-based standards] (nextafterl): Likewise.
6434 [non-C99-based standards] (remainderl): Likewise.
6435 [non-C99-based standards] (rintl): Likewise.
6436 [non-C99-based standards] (scalbl): Likewise.
6437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6438 [non-C99-based standards] (FP_*): Do not allow.
6439 [C99-based standards] (FP_*): Change to
6440 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6441 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6442 allow.
6443 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6444 (SIG_ERR): Likewise.
6445 [X/Open-based standards] (SIG_HOLD): Likewise.
6446 (SIG_IGN): Likewise.
6447 (SIGABRT): Use macro-int-constant. Specify type. Require
6448 positive value.
6449 (SIGFPE): Likewise.
6450 (SIGILL): Likewise.
6451 (SIGINT): Likewise.
6452 (SIGSEGV): Likewise.
6453 (SIGTER): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6472 [X/Open-based standards] (SIGTRAP): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6477 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6478 allow.
6479
b9f1922d
IW
64802012-05-08 Ian Wienand <ianw@vmware.com>
6481
6482 [BZ #14080]
6483 * time/tzset.c (__tzset_parse_tz): Update default rules for
6484 daylight time changes in the Energy Policy Act of 2005.
6485
1db86e88
AJ
64862012-05-09 Andreas Jaeger <aj@suse.de>
6487
6488 [BZ #13983]
6489 * elf/ldconfig.c (parse_conf): Change string to make clear that
6490 ldconfig only issued a warning if ld.so.conf does not exist.
6491
dee4a4e3
DM
64922012-05-08 David S. Miller <davem@davemloft.net>
6493
ee0db190
DM
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6495 movxtod instead of popping the value on the stack.
6496
dee4a4e3
DM
6497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6498
6a43ec98
CD
64992012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6500
6501 * config.h.in: Add HAVE_ARM_PCS_VFP.
6502
05c2c961
RMG
65032012-05-08 Roland Mc Grath <roland@hack.frob.com>
6504
bcfe3a54
ST
6505 [BZ #13979]
6506 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6507 checking but the checks are disabled for any reason.
05c2c961 6508
4b30f61a
L
65092012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6512 and ELF64_R_TYPE with ELFW(R_TYPE).
6513
eee2bc67
JM
65142012-05-08 Joseph Myers <joseph@codesourcery.com>
6515
7ea5391a
JM
6516 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6517 (ulimit): Likewise.
6518
eee2bc67
JM
6519 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6520 (settimeofday): Likewise.
6521
abb66a67
MF
65222012-05-08 Mike Frysinger <vapier@gentoo.org>
6523
6524 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6525 a struct th_u2 inside the union, and move tu_block/tu_code into
6526 a new th_u3 union of tu_block/tu_code inside of that. Move
6527 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6528 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6529 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6530 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6531 (th_stuff): Change to th_u1.tu_stuff.
6532 (th_data): Define.
6533 (th_msg): Change to th_u1.th_u2.tu_data.
6534
7f18b530
DM
65352012-05-07 David S. Miller <davem@davemloft.net>
6536
05760585
DM
6537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6538
7f18b530
DM
6539 [BZ #14074]
6540 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6541 (SETUP_PIC_REG): Use it.
6542 (SETUP_PIC_REG_LEAF): Use it.
6543
495fd99f
JM
65442012-05-07 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #13885]
6547 [BZ #13923]
6548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6549 USE_AS_EXPM1L.
6550 (EXPL_FINITE): Likewise.
6551 (FLDLOG): Likewise.
6552 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6553 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6554 e_expl.S.
6555 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6556 USE_AS_EXPM1L.
6557 (EXPL_FINITE): Likewise.
6558 (FLDLOG): Likewise.
6559 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6560 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6561 e_expl.S.
6562 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6563 test of -max_value argument for long double.
6564 * sysdeps/i386/fpu/libm-test-ulps: Update.
6565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6566
6693d694
DM
65672012-05-06 David S. Miller <davem@davemloft.net>
6568
6569 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6570 quad soft-float symbols whose references which are compiler
6571 generated.
6572 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6573
6c23e11c
JM
65742012-05-06 Joseph Myers <joseph@codesourcery.com>
6575
d8b82cad
JM
6576 [BZ #13884]
6577 [BZ #13914]
6578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6579 USE_AS_EXP10L.
6580 (EXPL_FINITE): Likewise.
6581 (FLDLOG): Likewise.
6582 (c0): Likewise.
6583 (c1): Likewise.
6584 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6585 Adjust comments for base varying.
6586 (__expl_finite): Change alias to EXPL_FINITE.
6587 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6588 e_expl.S.
6589 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6590 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6592 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6593 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6594 USE_AS_EXP10L.
6595 (EXPL_FINITE): Likewise.
6596 (FLDLOG): Likewise.
6597 (c0): Likewise.
6598 (c1): Likewise.
6599 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6600 Adjust comments for base varying.
6601 (__expl_finite): Change alias to EXPL_FINITE.
6602 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6603 tests for bugs.
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6605
6c23e11c
JM
6606 [BZ #14064]
6607 * math/libm-test.inc (check_float_internal): Correct ulp
6608 calculation for subnormal expected results.
6609
29ba805c
AJ
66102012-05-06 Andreas Jaeger <aj@suse.de>
6611
6612 * Makeconfig (+math-flags): New, set to -frounding-math.
6613 (+cflags): Add +math-flags so that all of glibc gets compiled with
6614 it.
6615
6616 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6617
7b17aeda
JM
66182012-05-05 Joseph Myers <joseph@codesourcery.com>
6619
5779f134
JM
6620 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6621 Disable one test.
6622
41498f4d
JM
6623 [BZ #13787]
6624 [BZ #13922]
6625 [BZ #14036]
6626 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6627 (__ieee754_expl): Allow for and saturate large arguments.
6628 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6629 (u_threshold): Likewise.
6630 (__exp): Call __ieee754_exp before checking for overflow and
6631 underflow.
6632 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6633 (u_threshold): Likewise.
6634 (__expf): Call __ieee754_expf before checking for overflow and
6635 underflow.
6636 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6637 (u_threshold): Likewise.
6638 (__expl): Call __ieee754_expl before checking for overflow and
6639 underflow.
6640 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6641 (__ieee754_expl): Allow for and saturate large arguments.
6642 * math/libm-test.inc (exp_test): Add another test. Do not allow
6643 missing overflow exception on overflow.
6644 (expm1_test): Do not allow missing overflow exception on overflow.
6645
6698b8bf
JM
6646 * sysdeps/i386/fpu/e_expl.c: Move to ...
6647 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6648 rather than using inline asm.
6649 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6650 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6651 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6652
7b17aeda
JM
6653 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6654 (nice): Likewise.
6655 (poll): Likewise.
6656 (signal): Likewise.
6657 (time): Likewise.
6658 (times): Likewise.
6659
f7c85819
JM
66602012-05-04 Joseph Myers <joseph@codesourcery.com>
6661
6662 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6663 sysdeps/unix/common/syscalls.list.
6664 (fchmod): Likewise.
6665 (fchown): Likewise.
6666 (ftruncate): Likewise.
6667 (getrusage): Likewise.
6668 (gettimeofday): Likewise.
6669 (setpgid): Likewise.
6670 (setregid): Likewise.
6671 (setreuid): Likewise.
6672 (sigaction): Likewise.
6673 (truncate): Likewise.
6674 (vhangup): Likewise.
6675 * sysdeps/unix/common/syscalls.list: Remove file.
6676 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6677 * sysdeps/unix/sysv/linux/Implies: Likewise.
6678
336270d0
L
66792012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6680
6681 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6683 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6684 Moved to ...
6685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6686 Here.
6687 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6688 to ...
6689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6690 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6691 to ...
6692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6693 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6694 to ...
6695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6696 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6697 to ...
6698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6700 to ...
6701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6702 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6703 to ...
6704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6705 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6706 to ...
6707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6708 Here.
6709 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6710 to ...
6711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6712 Here.
6713 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6714 to ...
6715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6716 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6717 Moved to ...
6718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6719 Here.
6720 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6721 to ...
6722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6723
d128e450
JM
67242012-05-04 Joseph Myers <joseph@codesourcery.com>
6725
fa8ee516
JM
6726 * sysdeps/unix/common/bits/dirent.h: Remove file.
6727 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6728
d128e450
JM
6729 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6730 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6731 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6732 * sysdeps/unix/bsd/isatty.c: Likewise.
6733 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6734 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6735 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6736
ff8faaf0 67372012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6738
62881be4 6739 [BZ #13563]
31dc8730
AZ
6740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6741 long double comparison inaccuracies.
6742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6744
6fef930c
AS
67452012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6746
6747 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6749
8f203e6c
JM
67502012-05-04 Joseph Myers <joseph@codesourcery.com>
6751
6752 [BZ #14049]
6753 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6754 nonzero digits before rounding a hex value.
6755 * stdlib/tst-strtod.c (tests): Add another test.
6756
5197d9c2
AK
67572012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6758
6759 * sysdeps/s390/fpu/libm-test-ulps: Update.
6760
f0c1dedf
AJ
67612012-05-03 Andreas Jaeger <aj@suse.de>
6762
6763 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6764 does not get optimized out.
6765 (malloc_opt_barrier): New.
6766
a65ef2ae 67672012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6768 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6769
2b942cb7 6770 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6771 intermediate file deletion.
2b942cb7 6772 (generated): Add .symlist files.
a65ef2ae 6773
54b71e02
JM
67742012-05-03 Joseph Myers <joseph@codesourcery.com>
6775
6776 [BZ #13775]
6777 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6778 Redirect under this condition.
6779 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6780 [__USE_GNU] (__dprintf_chk): Not under this condition.
6781 [__USE_GNU] (__vdprintf_chk): Likewise.
6782 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6783 under this condition.
6784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6785 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6786 [__USE_XOPEN2K8] (vdprintf): Likewise.
6787 [__USE_GNU] (__dprintf_chk): Not under this condition.
6788 [__USE_GNU] (__vdprintf_chk): Likewise.
6789 [__USE_GNU] (dprintf): Likewise.
6790 [__USE_GNU] (vdprintf): Likewise.
6791
d3dfcc41
RM
67922012-05-03 Roland McGrath <roland@hack.frob.com>
6793
6794 * elf/Makefile (common-generated): Set this instead of generated for
6795 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6796 $(all-built-dso)-derived lists.
6797
7ac30cc5
AJ
67982012-05-03 Andreas Jaeger <aj@suse.de>
6799
0c51e550
AJ
6800 * sysdeps/i386/fpu/libm-test-ulps: Update.
6801
7ac30cc5
AJ
6802 * FAQ: Removed.
6803 * FAQ.in: Likewise.
6804 * scripts/gen-FAQ.pl: Likewise.
6805 * manual/install.texi (Installation): Point to online location of
6806 FAQ.
6807 * Makefile (files-for-dist): Remove FAQ.
6808 (FAQ): Remove.
6809
d4c2917f
AM
68102012-05-02 Allan McRae <allan@archlinux.org>
6811
6812 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6813 (LDFLAGS-reldepmod5.so): Likewise.
6814 (LDFLAGS-reldep6mod1.so): Likewise.
6815 (LDFLAGS-reldep6mod4.so): Likewise.
6816 (LDFLAGS-reldep8mod3.so): Likewise.
6817 (LDFLAGS-unload4mod1.so): Likewise.
6818 (LDFLAGS-unload4mod2.so): Likewise.
6819 (LDFLAGS-tst-initorder): Likewise.
6820 (LDFLAGS-tst-initordera2.so): Likewise.
6821 (LDFLAGS-tst-initordera3.so): Likewise.
6822 (LDFLAGS-tst-initordera4.so): Likewise.
6823 (LDFLAGS-tst-initorderb2.so): Likewise.
6824 (LDFLAGS-noload): Likewise.
6825 (LDFLAGS-next): Likewise.
6826 (LDFLAGS-order2mod1.so): Likewise.
6827 (LDFLAGS-order2mod2.so): Likewise.
6828 (LDFLAGS-tst-initorder2): Likewise.
6829 (LDFLAGS-tst-initorder2a.so): Likewise.
6830 (LDFLAGS-tst-initorder2b.so): Likewise.
6831 (LDFLAGS-tst-initorder2c.so): Likewise.
6832 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6833
d77f993f
DM
68342012-05-02 David S. Miller <davem@davemloft.net>
6835
6836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6837
171a70b4
PP
68382012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6839
6840 [BZ #14055]
6841 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6842
0be196ad
AJ
68432012-05-02 Andreas Jaeger <aj@suse.de>
6844
6845 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6846 since we manipulate rounding mode.
6847 (CPPFLAGS-test-idouble.c): Likewise.
6848 (CPPFLAGS-test-ifloat.c): Likewise.
6849 (CFLAGS-test-ldouble.c): Likewise.
6850 (CFLAGS-test-double.c): Likewise.
6851 (CFLAGS-test-float.c): Likewise.
6852 (CFLAGS-test-misc.c): Likewise.
6853 (CFLAGS-test-test-fenv.c): Likewise.
6854
4f9d04aa
AZ
68552012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6856
2b942cb7
RM
6857 [BZ #2550]
6858 [BZ #2570]
6859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6860 comparisons to determine direction to adjust input.
4f9d04aa 6861
82a79e7d
RM
68622012-05-01 Roland McGrath <roland@hack.frob.com>
6863
f5a01ca9
RM
6864 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6865 output to the target.
6866
90fe4186
RM
6867 * scripts/localplt.awk: New file.
6868 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6869 (check-localplt-CFLAGS): Variable removed.
6870 ($(all-built-dso:=.jmprel)): New static pattern rule.
6871 (generated): Add those targets.
6872 (localplt-built-dso): New variable.
6873 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6874
6875 * elf/check-localplt.c: File removed.
6876
82397ed6
RM
6877 * scripts/check-execstack.awk: New file.
6878 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6879 (check-execstack-CFLAGS): Variable removed.
6880 ($(objpfx)check-execstack.h): Target removed.
6881 ($(objpfx)execstack-default): New target.
6882 (generated): Add that instead of check-execstack.h.
6883 ($(all-built-dso:=.phdr)): New static pattern rule.
6884 (generated): Add those targets.
6885 * elf/check-execstack.c: File removed.
6886
82a79e7d
RM
6887 * scripts/check-textrel.awk: New file.
6888 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6889 (check-textrel-CFLAGS): Variable removed.
6890 (all-built-dso): Use := to define.o
6891 ($(all-built-dso:=.dyn)): New static pattern rule.
6892 (generated): Add those targets.
6893 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6894 * config.make.in (READELF): New substituted variable.
6895 * elf/check-textrel.c: File removed.
6896
62fde54f 68972012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6898
615605c9
JM
6899 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6900 allow.
6901 * conform/data/ctype.h-data [C99-based standards] (isblank):
6902 Expect function.
6903 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6904 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6906 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6907 Specify type. Require positive value.
6908 (EILSEQ): Likewise.
6909 (ERANGE): Likewise.
6910 [ISO || POSIX] (EILSEQ): Do not expect.
6911 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6912 Specify type. Require positive value.
6913 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6966 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6987 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6988 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6989 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6990 Require >= 2.
6991 (FLT_ROUNDS): Expect as macro, not constant.
6992 (FLT_MANT_DIG): Use macro-int-constant.
6993 (DBL_MANT_DIG): Likewise.
6994 (LDBL_MANT_DIG): Likewise.
6995 (FLT_DIG): Likewise.
6996 (DBL_DIG): Likewise.
6997 (LDBL_DIG): Likewise.
6998 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6999 (DBL_MIN_EXP): Likewise.
7000 (LDBL_MIN_EXP): Likewise.
7001 (FLT_MAX_EXP): Use macro-int-constant.
7002 (DBL_MAX_EXP): Likewise.
7003 (LDBL_MAX_EXP): Likewise.
7004 (FLT_MAX_10_EXP): Likewise.
7005 (DBL_MAX_10_EXP): Likewise.
7006 (LDBL_MAX_10_EXP): Likewise.
7007 (FLT_MAX): Use macro-constant.
7008 (DBL_MAX): Likewise.
7009 (LDBL_MAX): Likewise.
7010 (FLT_EPSILON): Use macro-constant. Give upper bound.
7011 (DBL_EPSILON): Likewise.
7012 (LDBL_EPSILON): Likewise.
7013 (FLT_MIN): Likewise.
7014 (DBL_MIN): Likewise.
7015 (LDBL_MIN): Likewise.
7016 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7017 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7018 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7019 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7020 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7021 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7022 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7023 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7024 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7025 [ISO11] (FLT_TRUE_MIN): Likewise.
7026 [ISO11] (LDBL_TRUE_MIN): Likewise.
7027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7028 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7029 (SCHAR_MIN): Use macro-int-constant. Specify type.
7030 (SCHAR_MAX): Likewise.
7031 (UCHAR_MAX): Likewise.
7032 (CHAR_MIN): Likewise.
7033 (CHAR_MAX): Likewise.
7034 (MB_LEN_MAX): Use macro-int-constant.
7035 (SHRT_MIN): Use macro-int-constant. Specify type.
7036 (SHRT_MAX): Likewise.
7037 (USHRT_MAX): Likewise.
7038 (INT_MAX): Likewise.
7039 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7040 bound negative.
7041 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7042 bound with "U".
7043 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7044 bound with "L".
7045 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7046 bound negative. Suffix upper bound with "L".
7047 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7048 bound with "UL".
7049 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7050 Specify type.
7051 [C99-based standards] (LLONG_MAX): Likewise.
7052 [C99-based standards] (ULLONG_MAX): Likewise.
7053 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7054 == 0.
7055 [ISO11] (max_align_t): Require type.
7056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7057
c9140a62
JM
7058 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7059 from $CFLAGS, without defining away __attribute__ calls.
7060 (checknamespace): Use $CFLAGS_namespace.
7061
9af0bf29
JM
7062 * conform/conformtest.pl (@keywords): Only include C99 keywords
7063 for standards based on C99 or C11.
7064
343222a2
JM
7065 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7066 Disable tests.
7067 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7068 UNIX98]: Likewise.
7069
661f8cf0
JM
7070 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7071 usability of symbols in #if.
7072
ee74b9cb
JM
7073 * conform/conformtest.pl: If macro or constant types start
7074 "promoted:", expect the symbol to be of the following type
7075 promoted by the integer promotions.
62fde54f 7076
aafc49b3
JM
7077 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7078 in one place. Also handle "macro-constant".
7079
fefdf574
JM
7080 * conform/conformtest.pl: Only accept expected macro values with
7081 "==". Parse all "macro" lines in one place.
7082 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7083
f2d922fe
JM
7084 * conform/conformtest.pl: Handle braced types on "constant" lines
7085 instead of handling "typed-constant".
7086 * conform/data/signal.h-data: Use "constant" instead of
7087 "typed-constant".
7088
d22956c9
JM
7089 * conform/conformtest.pl: Handle "optional-" at start of lines in
7090 one place rather than duplicating several cases. Handle each
7091 format of "macro" line with initial "optional-".
7092
028e2e38
JM
7093 * conform/conformtest.pl: Only accept expected constant or
7094 optional-constant values with "==". Parse all "constant" lines in
7095 one place. Parse all "optional-constant" lines in one place.
7096 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7097 * conform/data/fmtmsg.h-data: Likewise.
7098 * conform/data/netinet/in.h-data: Likewise.
7099 * conform/data/tar.h-data: Likewise.
7100 * conform/data/limits.h-data: Use "==" form on "constant" and
7101 "optional-constant" lines.
7102
1b8f2850
JM
7103 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7104 Use -std=c99 for XOPEN2K.
7105 (@knownproblems): Remove.
7106 (newtoken): Don't check %isknown.
7107
a05a144b
JM
7108 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7109 Do not expect macro.
7110 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7119 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7120 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7122 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7123 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7140 [XPG3] (acosh): Likewise.
7141 [XPG3] (asinh): Likewise.
7142 [XPG3] (atanh): Likewise.
7143 [XPG3] (cbrt): Likewise.
7144 [XPG3] (expm1): Likewise.
7145 [XPG3] (ilogb): Likewise.
7146 [XPG3] (log1p): Likewise.
7147 [XPG3] (logb): Likewise.
7148 [XPG3] (nextafter): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7151 [XPG3] (remainder): Likewise.
7152 [XPG3] (rint): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7160 [UNIX98 || XOPEN2K] (scalb): Expect.
7161 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7162 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7298
73c5ebe3
JM
7299 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7300 _XOPEN_SOURCE_EXTENDED for XPG4.
7301
39c33b6c
JM
7302 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7303
62fde54f
JM
7304 * Makeconfig (localtime): Remove variable.
7305 (inst_localtime-file): Likewise.
7306
0741d64c
AS
73072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7308
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7310 Update.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7312 Update.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7314 Update.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7316 Update.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7318 Update.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7320 Update.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7322 Update.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7324 Update.
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7326 Update.
7327
7cb029ee
JM
73282012-05-01 Joseph Myers <joseph@codesourcery.com>
7329
7330 [BZ #2550]
7331 [BZ #2570]
7332 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7333 comparisons to determine direction to adjust input.
7334 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7335 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7336 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7337 Likewise.
7338 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7339 Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7341 Likewise.
7342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7344 Likewise.
7345 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7346 Likewise.
7347 * math/libm-test.inc (nexttoward_test): Add more tests.
7348
412bd966
AS
73492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7350
7351 [BZ #14040]
7352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7353 in version GLIBC_2.1, not GLIBC_2.0.
7354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7355 Likewise.
7356
9568c0c2
JM
73572012-04-30 Joseph Myers <joseph@codesourcery.com>
7358
adfbc8ac
JM
7359 [BZ #13942]
7360 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7361 (1 - x) * (1 + x).
7362 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7363 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7364 * math/libm-test.inc (acos_test): Add more tests.
7365 (asin_test): Likewise.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7368
5ba3cc69
JM
7369 [BZ #14034]
7370 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7371 of square root.
7372 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7373 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7374 * math/libm-test.inc (acos_test_tonearest): New function.
7375 (acos_test_towardzero): Likewise.
7376 (acos_test_downward): Likewise.
7377 (acos_test_upward): Likewise.
7378 (asin_test_tonearest): Likewise.
7379 (asin_test_towardzero): Likewise.
7380 (asin_test_downward): Likewise.
7381 (asin_test_upward): Likewise.
7382 (main): Call the new functions.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7385
9568c0c2
JM
7386 [BZ #13884]
7387 [BZ #13924]
7388 * math/e_exp10.c: Include <float.h>.
7389 (__ieee754_exp10): Handle underflow here rather than multiplying
7390 large negative argument by M_LN10.
7391 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7392 of __ieee754_expf.
7393 * math/e_exp10l.c: Include <float.h>.
7394 (__ieee754_exp10l): Handle underflow here rather than multiplying
7395 large negative argument by M_LN10l.
7396 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7397 spurious overflow exception on underflow.
7398
5ac3ea17
MP
73992012-04-29 Marek Polacek <polacek@redhat.com>
7400
7401 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7402 (__fortify_function): New macro.
7403 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7404 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7405 __extern_always_inline.
7406 * libio/bits/stdio2.h: Likewise.
7407 * libio/bits/stdio.h: Likewise.
7408 * string/string.h: Likewise.
7409 * string/bits/string3.h: Likewise.
7410 * include/stdio.h: Likewise.
7411 * stdlib/bits/stdlib.h: Likewise.
7412 * stdlib/stdlib.h: Likewise.
7413 * rt/bits/mqueue2.h: Likewise.
7414 * rt/mqueue.h: Likewise.
7415 * posix/bits/unistd.h: Likewise.
7416 * posix/unistd.h: Likewise.
7417 * io/bits/poll2.h: Likewise.
7418 * io/bits/fcntl2.h: Likewise.
7419 * io/fcntl.h: Likewise.
7420 * io/sys/poll.h: Likewise.
7421 * misc/bits/syslog.h: Likewise.
7422 * misc/bits/syslog-ldbl.h: Likewise.
7423 * misc/sys/syslog.h: Likewise.
7424 * socket/bits/socket2.h: Likewise.
7425 * socket/sys/socket.h: Likewise.
7426 * debug/tst-chk1.c: Likewise.
7427 * wcsmbs/bits/wchar2.h: Likewise.
7428 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7429 * wcsmbs/wchar.h: Likewise.
7430
ecf0ebfb
AJ
74312012-04-29 Andreas Jaeger <aj@suse.de>
7432
7433 * Makerules (tests): Remove enable-check-abi protection.
7434 (check-abi-warn): Remove.
7435 (check-abi-%): Remove check-abi-warn usage.
7436
7437 * configure.in: Remove check-abi configure option.
7438 * configure: Regenerated.
7439 * config.make.in (enable-check-abi): Remove.
7440
6d5c57fa
AS
74412012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7442
24c5d07e 7443 [BZ #14033]
ded5180a
AS
7444 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7445 double functions to double *_finite functions.
7446
7e0d315d
AS
7447 [BZ #13941]
7448 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7449 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7450 LDBL_MIN_EXP.
7451 * stdio-common/Makefile (tests): Add tst-sprintf3.
7452 * stdio-common/tst-sprintf3.c: New file.
7453
6d5c57fa
AS
7454 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7455 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7456
0749ff8b
JM
74572012-04-28 Joseph Myers <joseph@codesourcery.com>
7458
7459 * conform/conformtest.pl: Remove duplicate typed-constant
7460 handling.
7461
8dbd5d7b
DM
74622012-04-28 David S. Miller <davem@davemloft.net>
7463
7464 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7465 (check-abi-%): Remove AWK script prerequisite and explicit
7466 abilist directory.
7467 (check-abi): Rewrite to just diff the symlist with the abilist.
7468 (config-tls, config-abi-config): Delete, no longer used.
7469 (update-abi-%): Remove AWK script and explicit abilist directory.
7470 (update-abi): Rewrite to simply compare and conditionally copy the
7471 symlist and the sysdep abilist file. Remove update-abi-config
7472 checks.
7473 * abilist/ld.abilist: Remove.
7474 * abilist/libBrokenLocale.abilist: Remove.
7475 * abilist/libanl.abilist: Remove.
7476 * abilist/libcrypt.abilist: Remove.
7477 * abilist/libdl.abilist: Remove.
7478 * abilist/librt.abilist: Remove.
7479 * abilist/libthread_db.abilist: Remove.
7480 * abilist/libutil.abilist: Remove.
7481 * scripts/extract-abilist.awk: Remove.
7482 * scripts/merge-abilist.awk: Remove.
7483 * sysdeps/generic/libcidn.abilist: New file.
7484 * sysdeps/generic/libnss_compat.abilist: New file.
7485 * sysdeps/generic/libnss_db.abilist: New file.
7486 * sysdeps/generic/libnss_dns.abilist: New file.
7487 * sysdeps/generic/libnss_files.abilist: New file.
7488 * sysdeps/generic/libnss_hesiod.abilist: New file.
7489 * sysdeps/generic/libnss_nis.abilist: New file.
7490 * sysdeps/generic/libnss_nisplus.abilist: New file.
7491 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7492 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7493 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7494 file.
7495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7496 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7497 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7498 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7499 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7500 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7501 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7502 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7503 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7504 file.
7505 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7506 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7507 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7508 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7509 file.
7510 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7511 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7512 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7513 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7514 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7515 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7516 file.
7517 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7518 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7519 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7520 file.
7521 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7523 New file.
7524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7525 New file.
7526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7527 New file.
7528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7529 New file.
7530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7531 New file.
7532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7533 New file.
7534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7535 New file.
7536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7537 New file.
7538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7539 New file.
7540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7541 New file.
7542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7543 New file.
7544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7545 New file.
7546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7547 New file.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7549 file.
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7551 New file.
7552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7553 New file.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7555 file.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7557 New file.
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7559 New file.
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7561 file.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7563 New file.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7565 New file.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7567 New file.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7569 New file.
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7571 New file.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7573 New file.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7576 file.
7577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7578 New file.
7579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7580 file.
7581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7582 file.
7583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7584 file.
7585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7586 file.
7587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7588 file.
7589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7590 New file.
7591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7592 file.
7593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7594 file.
7595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7596 New file.
7597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7598 file.
7599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7601 file.
7602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7603 New file.
7604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7605 file.
7606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7607 file.
7608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7609 file.
7610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7611 file.
7612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7613 file.
7614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7615 New file.
7616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7617 file.
7618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7619 file.
7620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7621 New file.
7622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7623 file.
7624 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7625 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7626 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7627 file.
7628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7629 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7630 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7631 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7632 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7633 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7634 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7635 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7636 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7637 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7640 file.
7641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7642 New file.
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7644 file.
7645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7646 file.
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7648 file.
7649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7650 file.
7651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7652 file.
7653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7654 New file.
7655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7656 New file.
7657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7658 file.
7659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7660 New file.
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7662 file.
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7665 file.
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7667 New file.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7669 file.
7670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7671 file.
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7673 file.
7674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7675 file.
7676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7677 file.
7678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7679 New file.
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7681 New file.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7683 file.
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7685 New file.
7686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7687 file.
7688
41d73a1b
JM
76892012-04-28 Joseph Myers <joseph@codesourcery.com>
7690
7691 * conform/conformtest.pl: Fix typo in handling typed-constant from
7692 allow-header.
7693
28aeeda4
JM
76942012-04-27 Joseph Myers <joseph@codesourcery.com>
7695
adae8f5e
JM
7696 * README: Cut down references to pre-2.6 Linux kernels and
7697 Linuxthreads. Update lists of configurations in libc and ports
7698 and sort alphabetically. Say "or newer" with Linux kernel version
7699 requirements.
7700
28aeeda4
JM
7701 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7702
a462cb63
RA
77032012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7704
7705 [BZ #887]
7706 * math/libm-test.inc (logb_test_downward): New test to expose
7707 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7708 rounding mode.
7709
6ad3493e
JM
77102012-04-27 Joseph Myers <joseph@codesourcery.com>
7711
7712 [BZ #14027]
7713 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7714 to be done.
7715 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7716 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7717
2ce4f015
JM
77182012-04-26 Joseph Myers <joseph@codesourcery.com>
7719
5aeb141a
JM
7720 * sysdeps/unix/i386/brk.S: Remove file.
7721 * sysdeps/unix/i386/dl-brk.S: Likewise.
7722 * sysdeps/unix/i386/pipe.S: Likewise.
7723 * sysdeps/unix/i386/sigreturn.S: Likewise.
7724 * sysdeps/unix/i386/syscall.S: Likewise.
7725 * sysdeps/unix/i386/vfork.S: Likewise.
7726 * sysdeps/unix/i386/wait.S: Likewise.
7727
7143acae
JM
7728 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7729 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7730
2ce4f015
JM
7731 * configure.in (arm*-none*): Do not allow without
7732 --enable-hacker-mode.
7733 (netbsd*): Remove case setting base_os.
7734 (386bsd*): Likewise.
7735 (freebsd*): Likewise.
7736 (bsdi*): Likewise.
7737 (osf*): Likewise.
7738 (sunos*): Likewise.
7739 (ultrix*): Likewise.
7740 (newsos*): Likewise.
7741 (dynix*): Likewise.
7742 (*bsd*): Likewise.
7743 (sysv*): Likewise.
7744 (isc*): Likewise.
7745 (esix*): Likewise.
7746 (sco*): Likewise.
7747 (minix*): Likewise.
7748 (irix4*): Likewise.
7749 (irix6*): Likewise.
7750 (solaris[2-9]*): Likewise.
7751 (none): Likewise.
7752 * configure: Regenerated.
7753
0ac229c8
AZ
77542012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755
7756 [BZ #11521]
7757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7758 overflow or cancellation in calculating denominator.
7759 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7761 down expression to avoid unexpected rounding in newer GCCs.
7762 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7763
33f244f4
DM
77642012-04-26 David S. Miller <davem@davemloft.net>
7765
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7767 long-double compat symbols.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7781
cfa1f3e8
DM
77822012-04-25 David S. Miller <davem@davemloft.net>
7783
7784 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7785 HWCAP_* values only after the memory barriers have been defined.
7786 (atomic_full_barrier): Define.
7787 (atomic_read_barrier): Define.
7788 (atomic_write_barrier): Define.
7789
6e236b92
SP
77902012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7791
7792 * shlib-versions: Add libgcc_s version information.
7793 * sysdeps/generic/libgcc_s.h: Remove.
7794 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7795 libgcc_s.h.
7796 * sysdeps/gnu/unwind-resume.c: Likewise.
7797 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7798
aab39a09
DM
77992012-04-25 David S. Miller <davem@davemloft.net>
7800
7801 * sysdeps/unix/sparc/brk.S: Delete.
7802 * sysdeps/unix/sparc/dl-brk.S: Delete.
7803 * sysdeps/unix/sparc/pipe.S: Delete.
7804 * sysdeps/unix/sparc/sysdep.S: Delete.
7805 * sysdeps/unix/sparc/sysdep.h: Delete.
7806 * sysdeps/unix/sparc/vfork.S: Delete.
7807 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7808 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7809 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7810 ret_ERRVAL, r0, r1, MOVE): Define.
7811 (JUMPTARGET): Remove.
7812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7813 sysdeps/unix/sparc/sysdep.h
7814 (ENTRY, END): Remove.
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7816
a3cc4f48
JM
78172012-04-25 Joseph Myers <joseph@codesourcery.com>
7818
2ed8cda2
JM
7819 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7820 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7821 -DIS_IN_build.
7822
35d76d59
JM
7823 * timezone/README: Update upstream location and email address for
7824 tzcode and tzdata.
7825 * timezone/zdump.c: Update from tzcode 2012b.
7826 * timezone/zic.c: Likewise.
7827
a3cc4f48
JM
7828 * configure.in (libc_cv_as_needed): Remove test.
7829 * configure: Regenerated.
7830 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7831 conditional definition.
7832 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7833 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7834 * config.make.in (have-as-needed): Remove variable.
7835
ceab42c3
SP
78362012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7837 Paul Pluzhnikov <ppluzhnikov@google.com>
7838
7839 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7840 strings correctly.
7841
3ce2865f
CLT
78422012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7843
7844 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7845 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7846 * sysdeps/sh/strlen.S: Likewise.
7847
f37e0d68
JM
78482012-04-24 Joseph Myers <joseph@codesourcery.com>
7849
ae186e9a
JM
7850 * sysdeps/unix/fork.S: Remove file.
7851 * sysdeps/unix/i386/fork.S: Likewise.
7852 * sysdeps/unix/sparc/fork.S: Likewise.
7853
b96914af
JM
7854 * sysdeps/unix/system.c: Remove file.
7855 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7856
f37e0d68
JM
7857 * sysdeps/unix/getegid.S: Remove file.
7858 * sysdeps/unix/geteuid.S: Likewise.
7859
87ef29ca
RM
78602012-04-24 Roland McGrath <roland@hack.frob.com>
7861
83bcd236
RM
7862 * scripts/check-localplt.awk: New file.
7863 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7864 of diff.
7865 * scripts/data/localplt-generic.data: Add a comment.
7866
87ef29ca
RM
7867 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7868 NODE when __dir_mkfile failed.
7869 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7870 Reported by Ludovic Courtès <ludo@gnu.org>.
7871
e5a6e567
AJ
78722012-04-24 Andreas Jaeger <aj@suse.de>
7873
7874 * Makerules (common-clean): Also remove gen-as-const-headers
7875 files.
7876
c1820385
JM
78772012-04-24 Joseph Myers <joseph@codesourcery.com>
7878
7879 * Makerules (native-compile): Do not change working directory for
7880 build. Use $(OUTPUT_OPTION) in command.
7881 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7882
94e02fc4
AZ
78832012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7884
7885 [BZ #13886]
7886 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7887 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7888 * math/libm-test.inc (floor_test): Add more tests.
7889 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7890
3a533ca3
JM
78912012-04-24 Joseph Myers <joseph@codesourcery.com>
7892
940ab4b3
JM
7893 * sysdeps/unix/getdents.c: Remove file.
7894 * sysdeps/unix/sysv/getdents.c: Likewise.
7895 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7896
90e037bd
JM
7897 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7898 sysdeps/unix/mman/syscalls.list.
7899 (mmap): Likewise.
7900 (mprotect): Likewise.
7901 (msync): Likewise.
7902 (munmap): Likewise.
7903 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7904 * sysdeps/unix/mman/syscalls.list: Remove.
7905 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7906
3a533ca3
JM
7907 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7908 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7909 * configure: Regenerated.
7910 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7911 $(libgcc_s_suffix).
7912 * config.make.in (libgcc_s_suffix): Remove variable.
7913
1ad743de
JM
79142012-04-23 Joseph Myers <joseph@codesourcery.com>
7915
4ad451e2
JM
7916 * sysdeps/unix/sysv/gethostname.c: Move to ...
7917 * sysdeps/posix/gethostname.c: ... here.
7918
5e37ce39
JM
7919 * sysdeps/unix/execve.S: Remove file.
7920
1ad743de
JM
7921 * sysdeps/unix/_exit.S: Remove file.
7922
4e681b5b
AJ
79232012-04-23 Andreas Jaeger <aj@suse.de>
7924
7925 [BZ #13739]
7926 * manual/Makefile: Remove make dist support, there's no
7927 need for a stand-alone documentation tar ball.
7928 (TEXI2DVI): Define always, it's not in Makeconfig.
7929 (dist): Removed.
7930 (tar-it): Removed.
7931 (edition): Removed.
7932 (glibc-doc-$(edition).tar): Removed
7933 (%.Z): Removed.
7934 (%.gz): Removed.
7935 (%.uu): Removed.
7936 (ETAGS): Remove, it's in Makeconfig.
7937 (move-if-change): Remove, it's in Makeconfig.
7938
c0baea34
PE
79392013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7940
7941 [BZ #13970]
7942 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7943 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7944 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7945 (strtod_l, strtof_l, strtold_l): Remove __wur.
7946 It is not necessarily an error to ignore strtol's return value.
7947 One can reliably look at the stored endptr to decide whether
7948 the number had valid syntax.
7949
7c0616fa
AJ
79502012-04-21 Andreas Jaeger <aj@suse.de>
7951
803cb6b7 7952 [BZ #13739]
7c0616fa
AJ
7953 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7954
b0fe253f
JM
79552012-04-21 Joseph Myers <joseph@codesourcery.com>
7956
7957 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7958 * sysdeps/unix/sysv/Versions: Remove file.
7959
8280f22d
MT
79602012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7961
7962 [BZ #13927]
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7964
75ce411f 79652012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7966
7967 [BZ #7064]
7968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7969 version from __vm86.
7970
097d59fa
JM
79712012-04-20 Joseph Myers <joseph@codesourcery.com>
7972
a90f3bcb
JM
7973 * sysdeps/unix/common/lxstat.c: Remove file.
7974 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7975
edc7ea78
JM
7976 * sysdeps/unix/sysv/Makefile: Remove file.
7977
cb78c221
JM
7978 * sysdeps/unix/sysv/direct.h: Remove file.
7979
efa6a45f
JM
7980 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7981 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7982 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7983 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7984 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7985 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7986 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7987
9c9f2d0c
JM
7988 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7989
4541c83b
JM
7990 * sysdeps/unix/xmknod.c: Remove file.
7991 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7992
f5d153a0
JM
7993 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7994
aa746595
JM
7995 * sysdeps/unix/sysv/i386/time.S: Remove file.
7996
cce5905e
JM
7997 * sysdeps/unix/fxstat.c: Remove file.
7998 * sysdeps/unix/xstat.c: Likewise.
7999 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8000
37fa3841
JM
8001 * sysdeps/unix/sysv/sigaction.c: Remove file.
8002
ff1962a3
JM
8003 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8004 (sysdep_headers): Remove variable.
8005 [termio.h not in sysdep_headers] (generated): Likewise.
8006 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8007 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8008 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8009 * sysdeps/unix/sysv/tcflow.c: Likewise.
8010 * sysdeps/unix/sysv/tcflush.c: Likewise.
8011 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8012 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8013 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8014 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8015 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8016
e7740d31
JM
8017 * sysdeps/unix/siglist.c: Remove file.
8018
ee06f18b
JM
8019 * sysdeps/unix/getppid.S: Remove file.
8020
097d59fa
JM
8021 * sysdeps/unix/mkdir.c: Remove file.
8022 * sysdeps/unix/rmdir.c: Likewise.
8023
ff3d51ec
AS
80242012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8025
8026 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8027 ERR_MAX value.
8028 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8029 errlist-compat value.
8030
50f81fd7
DM
80312012-04-18 David S. Miller <davem@davemloft.net>
8032
8033 * sysdeps/generic/memcopy.h (reg_char): Delete.
8034 * debug/strcat_chk.c: Use char, not reg_char.
8035 * debug/strcpy_chk.c: Likewise.
8036 * debug/strncat_chk.c: Likewise.
8037 * debug/strncpy_chk.c: Likewise.
8038 * string/memchr.c: Likewise.
8039 * string/memrchr.c: Likewise.
8040 * string/rawmemchr.c: Likewise.
8041 * string/strcat.c: Likewise.
8042 * string/strchr.c: Likewise.
8043 * string/strchrnul.c: Likewise.
8044 * string/strcmp.c: Likewise.
8045 * string/strcpy.c: Likewise.
8046 * string/strncat.c: Likewise.
8047 * string/strncmp.c: Likewise.
8048 * string/strncpy.c: Likewise.
8049
8ff41c46
WS
80502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8051
8052 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8053 __builtin_memcopy is called when src and dest ranges are known to not
8054 overlap.
8055
6b652f46
WS
80562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8057
8058 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8059 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8060 fwd_align_merge macro call.
8061 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8062 bwd_align_merge macro call.
8063 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8064
b282631e
WS
80652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8066
8067 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8068 bwd_align_merge macros.
8069 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8070 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8071 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8072
95aa737c
DM
80732012-04-18 David S. Miller <davem@davemloft.net>
8074
8075 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8076
7a99a614
AJ
80772012-04-18 Andreas Jaeger <aj@suse.de>
8078
8079 [BZ# 6794]
8080 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8081 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8082 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8083
8084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8085 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8086 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8087
8088 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8089 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8090 Adjust for changed ldbl-128 files.
8091
8092 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8093 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8094 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8095
e5270c23
DM
80962012-04-17 David S. Miller <davem@davemloft.net>
8097
8098 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8099
fb5e92c9
AS
81002012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8101
8102 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8103 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8104 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8105 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8107 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8108
76da7265
AZ
81092012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 [BZ #6794]
8112 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8113 * math/libm-test.inc: Add ilogb errno and exception tests.
8114 * math/w_ilogb.c: New file: ilogb wrapper.
8115 * math/w_ilogbf.c: New file: ilogbf wrapper.
8116 * math/w_ilogbl.c: New file: ilogbl wrapper.
8117 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8118 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8119 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8120 exception being thrown with 0.0 as argument.
8121 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8122 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8123 exception being thrown with 0.0 as argument.
8124 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8125 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8126 exception being thrown with 0.0 as argument.
8127 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8128 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8129 exception being thrown with 0.0 as argument.
8130 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8131 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8133 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8134 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8135 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8136 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8137 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8138 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8139
0396e69d
PB
81402012-04-17 Petr Baudis <pasky@ucw.cz>
8141
8142 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8143 with altivec.
8144
750b5926
MP
81452012-04-16 Marek Polacek <polacek@redhat.com>
8146
8147 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8148
751728a1
MP
81492012-04-16 Marek Polacek <polacek@redhat.com>
8150
8151 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8152 operands of fdivp instruction.
8153
34a27407
L
81542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8157 * elf/tst-auditmod3b.c: Likewise.
8158 * elf/tst-auditmod4b.c: Likewise.
8159 * elf/tst-auditmod5b.c: Likewise.
8160 * elf/tst-auditmod6b.c: Likewise.
8161 * elf/tst-auditmod6c.c: Likewise.
8162 * elf/tst-auditmod7b.c: Likewise.
8163 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8164 * sysdeps/x86_64/preconfigure.in: Likewise.
8165 * sysdeps/x86_64/preconfigure: Regenerated.
8166
7e73e17d
L
81672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8168
8169 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8170 __ILP32__.
8171
c7a6ab72
AB
81722012-04-13 Antoine Balestrat <merkil33@gmail.com>
8173
8174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8175 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8176
a9e8e0e0
CL
81772012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8178
8179 [BZ #13973]
8180 * locale/iso-639.def: Fix gl language name. Spotted by
8181 Yaron Shahrabani.
8182
ec98af7d
RM
81832012-04-12 Roland McGrath <roland@hack.frob.com>
8184
8185 [BZ #2074]
8186 * libio/libio.h (__io_write_fn): Update comment.
8187
247c3ede
PB
81882012-04-12 Petr Baudis <pasky@ucw.cz>
8189
8190 [BZ #2074]
8191 * stdio.texi (Hook Functions): The user provided writer function
8192 is not allowed to return -1.
8193
55939d6d
DM
81942012-04-11 David S. Miller <davem@davemloft.net>
8195
8196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8197
90020f5a
MF
81982012-04-11 Mike Frysinger <vapier@gentoo.org>
8199
8200 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8201 Add a leading slash to rtkaio.
8202
288f9098
JM
82032012-04-11 Jim Meyering <meyering@redhat.com>
8204
90020f5a
MF
8205 [BZ #11959]
8206 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8207 It is not necessarily an error to ignore fwrite's return
8208 value. One can reliably use ferror to test for errors after
8209 the fact.
288f9098 8210
4be2b570
L
82112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8212
8213 * bits/types.h (__snseconds_t): New type.
8214 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8215
8216 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8218 (__SNSECONDS_T_TYPE): Likewise.
8219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8220 (__SNSECONDS_T_TYPE): Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8222 (__SNSECONDS_T_TYPE): Likewise.
8223
288f9098 82242012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8225
8226 [BZ #2636]
8227 * manual/time.texi (Processor Time): Return type of times is
8228 elapsed real time since an arbitrary point in the past.
8229 (CPU Time): Move CLK_TCK from here...
8230 (Processor Time): ...to here. Correct description.
8231 * manual/conf.texi (Constants for Sysconf): Correct description of
8232 _SC_CLK_TCK.
8233
d7dd4413
DM
82342012-04-10 David S. Miller <davem@davemloft.net>
8235
8236 [BZ #13967]
8237 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8238 where the is a gap between DT_REL(A) and DT_JMPREL.
8239
b46068fc
L
82402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8243 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8244 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8245
73d65cc3
SP
82462012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8247
8248 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8249 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8250 (dl_main): Handle --inhibit-cache.
8251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8252 _dl_inhibit_cache.
8253 * elf/dl-load.c (_dl_map_object): Use it.
8254 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8255
bcc8d661
JM
82562012-04-09 Joseph Myers <joseph@codesourcery.com>
8257
8f9a2fae
JM
8258 [BZ #13872]
8259 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8260 (__ieee754_powl): Saturate large exponents rather than testing for
8261 overflow of y*log2(x).
8262 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8263 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8264 exceptions.
8265
bcc8d661
JM
8266 [BZ #11521]
8267 * math/s_ctan.c: Include <float.h>.
8268 (__ctan): Avoid internal overflow or cancellation in calculating
8269 denominator.
8270 * math/s_ctanf.c: Likewise.
8271 * math/s_ctanl.c: Likewise.
8272 * math/s_ctanh.c: Likewise.
8273 * math/s_ctanhf.c: Likewise.
8274 * math/s_ctanhl.c: Likewise.
8275 * math/libm-test.inc (ctan_test): Add more tests.
8276 (ctanh_test): Likewise.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8279
823fbbb4
AJ
82802012-04-09 Andreas Jaeger <aj@suse.de>
8281
03879793
AJ
8282 [BZ #6894]
8283 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8284 is an optional BSD extension.
8285
823fbbb4
AJ
8286 [BZ #10254]
8287 * manual/stdio.texi (Opening Streams): Document additional fopen
8288 parameters.
8289
8de131cb
RM
82902012-04-09 Roland McGrath <roland@hack.frob.com>
8291
8292 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8293 %eax without telling the compiler.
8294
c0ed9d7d
CD
82952012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8296
8297 [BZ # 13963]
8298 * manual/install.texi: Use sourceware.org.
8299
c483f6b4
JM
83002012-04-09 Joseph Myers <joseph@codesourcery.com>
8301
d7dd9453
JM
8302 [BZ #13873]
8303 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8304 (__ieee754_pow): Generate overflow and underflow using huge*huge
8305 and tiny*tiny rather than just returning constant infinity or zero
8306 for large exponents.
8307 * math/libm-test.inc (pow_test): Require overflow exceptions for
8308 applicable cases of large exponents.
8309
c483f6b4
JM
8310 [BZ #706]
8311 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8312 (__ieee754_pow): Use iterative multiplication algorithm only for
8313 integer exponents with absolute value below 1024. Check for odd
8314 integer exponents when using algorithm for real exponents.
8315 * math/libm-test.inc (pow_test): Add more tests.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8317
d2de7579
JM
83182012-04-08 Joseph Myers <joseph@codesourcery.com>
8319
8320 [BZ #13705]
8321 * math/libm-test.inc (exp_test): Do not allow overflow exception
8322 on underflow test.
8323
f77f1232
AJ
83242012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8325
8326 [BZ #13705]
8327 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8328 instead of __kernel_standard_f.
8329
3884932b
MF
83302012-04-08 Mike Frysinger <vapier@gentoo.org>
8331
8332 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8333 * sysdeps/x86_64/memset_chk.S: Likewise.
8334
54472e9c
AJ
83352012-04-08 Andreas Jaeger <aj@suse.de>
8336
6ab0fbfc
AJ
8337 [BZ #10153]
8338 * manual/startup.texi (Environment Access): Describe return value
8339 for putenv and setenv.
8340
61efba8c
AJ
8341 [BZ #6895]
8342 * manual/filesys.texi (Directory Entries): Add description for
8343 DT_LNK.
8344
95c3f29a
AJ
8345 [BZ #6890]
8346 * manual/filesys.texi (Directory Entries): Clarify that it's file
8347 system not operating system in the description of DT_UNKNOWN.
8348
54472e9c
AJ
8349 [BZ #6578]
8350 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8351
624254b1
SC
83522012-04-08 Stephen Compall <s11@member.fsf.org>
8353
8354 [BZ #6649]
8355 * manual/llio.texi (Opening and Closing Files): Add cross
8356 reference to explain mode argument.
8357
1e4920e0
MF
83582012-04-07 Mike Frysinger <vapier@gentoo.org>
8359
8360 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8361 * sysdeps/x86_64/memset_chk.S: Likewise.
8362
5ed848f3
DM
83632012-04-07 David S. Miller <davem@davemloft.net>
8364
8365 * elf/elf.h (R_SPARC_WDISP10): Define.
8366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8367 R_SPARC_SIZE32.
8368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8369 R_SPARC_SIZE64 and R_SPARC_H34.
8370
96154cd8
CD
83712012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8372
8373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8374 conditions and remove no longer applicable assertion.
8375
9904dc47
L
83762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * bits/byteswap.h: Include <features.h>.
8379 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8380 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8381
f8887d0a
L
83822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 * bits/byteswap.h (__bswap_16): Removed.
8385 Include <bits/byteswap-16.h> to get __bswap_16.
8386 * sysdeps/i386/bits/byteswap.h: Likewise.
8387 * sysdeps/s390/bits/byteswap.h: Likewise.
8388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8389 * bits/byteswap-16.h: New file.
8390 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8391 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8392 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8393 * string/Makefile (headers): Add bits/byteswap-16.h.
8394
62470f60
PP
83952012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8396
8397 [BZ #13895]
8398 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8399 extra indirection.
8400 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8401 * nss/tst-nss-static.c: New.
8402
4dad7bab
RM
84032012-04-06 Robert Millan <rmh@gnu.org>
8404
8405 [BZ #6486]
8406 * manual/llio.texi (File Position Primitive): lseek
8407 refers to WHENCE when it really means OFFSET.
8408
e9142a17
AJ
84092012-04-06 Andreas Jaeger <aj@suse.de>
8410
2c040eff
AJ
8411 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8412 strncmp declarations.
8413
e9142a17
AJ
8414 * abilist/libc.abilist: Add __poll and __ppoll.
8415
ff9f1c5f
DM
84162012-04-05 David S. Miller <davem@davemloft.net>
8417
dcd2ae90
DM
8418 * scripts/check-local-headers.sh: Accept a host triplet in the
8419 path matched by the exclude regexp.
8420
993eb054
DM
8421 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8422 definition.
8423 * sysdeps/powerpc/powerpc32/dl-machine.h
8424 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8425 * sysdeps/s390/s390-32/dl-machine.h
8426 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8427 * sysdeps/sparc/sparc32/dl-machine.h
8428 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8429 * sysdeps/sparc/sparc64/dl-machine.h
8430 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8431
ff9f1c5f
DM
8432 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8433 lazy binding.
48e2e132 8434 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8435 undefined symbol errors.
8436
48e2e132 8437 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8438 DT_NEEDED entries.
8439
e80d6f94
MM
84402012-04-05 Michael Matz <matz@suse.de>
8441
8442 [BZ #13592]
8443 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8444
349fa79f
AJ
84452012-04-05 Andreas Jaeger <aj@suse.de>
8446
8447 [BZ #13908]
8448 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8449 comment.
8450
f402708f
KK
84512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8452
8453 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8454 which ROUND is no valid rounding mode.
8455
2ecccfc9
KK
84562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8457
8458 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8459 read again.
8460 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8461
8a53f50f
KK
84622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8463
8464 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8465 an exception using FPU order intentionally.
8466
84672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8468
8469 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8470 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8471 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8472 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8473
d653abb7
SJ
84742012-04-05 Simon Josefsson <simon@josefsson.org>
8475
8476 [BZ #12340]
8477 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8478 EINVAL when BUFLEN is too smal.
8479
c3b1bf7d
TS
84802012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8481
8482 [BZ #13553]
8483 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8484 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8485
b1aa60f3
AJ
84862012-04-03 Andreas Jaeger <aj@suse.de>
8487
c3b1bf7d 8488 [BZ #13938]
67f60a26
AJ
8489 * manual/setjmp.texi (System V contexts): Fix sentence.
8490
b1aa60f3
AJ
8491 [BZ #13926]
8492 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8493 New macro for this case.
8494 [!__GNUC__] (__bswap_64): New inline function for this case.
8495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8496 * bits/byteswap.h: Likewise.
8497 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8498 ull, guard with __GLIBC_HAVE_LONG_LONG.
8499
8500 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8501 __GLIBC_HAVE_LONG_LONG.
8502
8503 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8504 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8505
39c59c35
TMQMF
85062012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8507
8508 [BZ #13691]
8509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8510 inptr and inend, rather than using last_ch.
8511
135ffda8
DM
85122012-04-02 David S. Miller <davem@davemloft.net>
8513
8514 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8515 * stdio-common/printf-parse.h (read_int): Change return type to
8516 'int', return -1 on INT_MAX overflow.
8517 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8518 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8519 overflows INT_MAX. Check for overflow of in-format-string precision
8520 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8521 SIZE_MAX not INT_MAX for integer overflow test.
8522 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8523 skip the construct in the format string but do not record anything.
8524 * stdio-common/bug22.c: Adjust to test both width/prevision
8525 INT_MAX overflow as well as total length INT_MAX overflow. Check
8526 explicitly for proper errno values.
8527
228c019e
TS
85282012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8529
302cadd3
TS
8530 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8531 CHAR_MAX.
8532 * string/test-strcmp.c [! WIDE]: Likewise.
8533 * time/tst-mktime2.c: Likewise for INT_MAX.
8534 * string/test-string.h: #include <sys/param.h> for MIN.
8535
228c019e
TS
8536 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8537 * sysdeps/i386/init-first.c (init): Likewise.
8538 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8539 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8540 * sysdeps/sh/init-first.c (init): Likewise.
8541
cfa633f5
UD
85422012-04-01 Ulrich Drepper <drepper@gmail.com>
8543
8544 * po/ru.po: Update from translation team.
d1635ef8 8545 * po/vi.po: Likewise.
cfa633f5 8546
6cd0a5ea
SP
85472012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
8549 * resolv/nss_dns/dns-host.c: Merge copyright years.
8550
4b43400f
LD
85512012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8552
8553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8554 Optimize memcpy with prefetch if
8555 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8556 src, dst pointers have unequal 16 byte alignments.
8557
48c41d04
SP
85582012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8559
8560 [BZ #13928]
8561 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8562 from a CNAME entry and return the minimum ttl for the query.
8563 (gaih_getanswer_slice): Likewise.
8564
b8dc394d
JL
85652012-03-30 Jeff Law <law@redhat.com>
8566
8567 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8568 due to long keys.
8569 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8570 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8571
2f5a5ed0
JL
8572 * resolv/nss_dns/dns-host.c: Update copyright year.
8573
1d39e359
UD
85742012-03-30 Ulrich Drepper <drepper@gmail.com>
8575
c030f70c 8576 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8577 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8578
1d39e359
UD
8579 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8580 comments for sendmmsg.
8581
85822012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8583
8584 [BZ #13691]
8585 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8586 with only 1 character between 0x0041 and 0x01b0.
8587 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8588 * wcsmbs/tst-mbsnrtowcs.c: New file.
8589
20fde227
DM
85902012-03-29 David S. Miller <davem@davemloft.net>
8591
8592 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8593 small copies by hand.
8594
984a4237
JL
85952012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8596
8597 [BZ #13761]
8598 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8599 _nss_compat_initgroups_dyn): Fall back to malloc/free
8600 for large group memberships.
8601
18c9d62b
DM
86022012-03-28 David S. Miller <davem@davemloft.net>
8603
88d85d4f
DM
8604 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8605 that branches into memcpy.
8606 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8609 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8611 bits.
8612 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8613 implementation too.
8614 * sysdeps/sparc/mempcpy.S: New file.
8615
e5aa83e1
DM
8616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8617 the IFUNC routine in the libc case.
8618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8619
88570753
DM
8620 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8622 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8623 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8624 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8625 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8626 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8627 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8628
249d7567
DM
8629 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8630 loop to 256 bytes instead of 64 bytes and fix test signedness.
8631
18c9d62b
DM
8632 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8633 * sysdeps/sparc/sparc32/Makefile: rather than here...
8634 * sysdeps/sparc/sparc64/Makefile: and here.
8635
05f3d1f6
UD
86362012-03-28 Ulrich Drepper <drepper@gmail.com>
8637
8638 * malloc/mallocbug.c: Avoid warnings about unused variables.
8639
86ae07a8
JL
86402012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8641
8642 [BZ #13760]
8643 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8644 in the right place. Discard and retry query if response is
8645 larger than input buffer size.
8646
41bf21a1
JM
86472012-03-28 Joseph Myers <joseph@codesourcery.com>
8648
d6270972
JM
8649 [BZ #369]
8650 [BZ #2678]
8651 [BZ #3866]
8652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8653 x for large integer exponent.
8654 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8655 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8656 sign of result as needed afterwards.
8657 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8658 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8659 result for underflowing pow the same as for overflow.
8660 (__kernel_standard_l): Handle powl overflow and underflow here
8661 rather than calling __kernel_standard.
8662 * math/libm-test.inc (pow_test): Add more tests.
8663
414fca03 8664 [BZ #3868]
41bf21a1
JM
8665 [BZ #13879]
8666 [BZ #13910]
8667 [BZ #13911]
8668 [BZ #13912]
8669 [BZ #13913]
8670 [BZ #13915]
8671 [BZ #13916]
8672 [BZ #13917]
8673 [BZ #13918]
8674 [BZ #13919]
8675 [BZ #13920]
8676 [BZ #13921]
8677 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8678 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8679 (__kernel_standard_l): New function.
8680 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8681 __kernel_standard.
8682 * math/w_acosl.c (__acosl): Likewise.
8683 * math/w_asinl.c (__asinl): Likewise.
8684 * math/w_atan2l.c (__atan2l): Likewise.
8685 * math/w_atanhl.c (__atanhl): Likewise.
8686 * math/w_coshl.c (__coshl): Likewise.
8687 * math/w_exp10l.c (__exp10l): Likewise.
8688 * math/w_exp2l.c (__exp2l): Likewise.
8689 * math/w_fmodl.c (__fmodl): Likewise.
8690 * math/w_hypotl.c (__hypotl): Likewise.
8691 * math/w_j0l.c (__j0l, __y0l): Likewise.
8692 * math/w_j1l.c (__j1l, __y1l): Likewise.
8693 * math/w_jnl.c (__jnl, __ynl): Likewise.
8694 * math/w_lgammal.c (__lgammal): Likewise.
8695 * math/w_log10l.c (__log10l): Likewise.
8696 * math/w_log2l.c (__log2l): Likewise.
8697 * math/w_logl.c (__logl): Likewise.
8698 * math/w_powl.c (__powl): Likewise.
8699 * math/w_remainderl.c (__remainderl): Likewise.
8700 * math/w_scalbl.c (sysv_scalbl): Likewise.
8701 * math/w_sinhl.c (__sinhl): Likewise.
8702 * math/w_sqrtl.c (__sqrtl): Likewise.
8703 * math/w_tgammal.c (__tgammal): Likewise.
8704 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8705 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8706 * math/libm-test.inc (acos_test): Add more tests.
8707 (acosh_test): Likewise.
8708 (asin_test): Likewise.
8709 (atanh_test): Likewise.
8710 (exp_test): Likewise.
8711 (exp10_test): Likewise.
8712 (exp2_test): Likewise.
8713 (expm1_test): Likewise.
8714 (lgamma_test): Likewise.
8715 (log_test): Likewise.
8716 (log10_test): Likewise.
8717 (log1p_test): Likewise.
8718 (log2_test): Likewise.
8719 (pow_test): Do not allow some spurious overflow exceptions.
8720 (sqrt_test): Add more tests.
8721 (tgamma_test): Likewise.
8722 (y0_test): Likewise.
8723 (y1_test): Likewise.
8724 (yn_test): Likewise.
8725
dd62fda6
AB
87262012-03-27 Anton Blanchard <anton@samba.org>
8727
8728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8729 MAP_HUGETLB.
8730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8733
1e3cdfda
AJ
87342012-03-27 David S. Miller <davem@davemloft.net>
8735
b855ab85
DM
8736 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8737
1e3cdfda
AJ
8738 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8739 have-as-vis3 check.
8740
87412012-03-27 Andreas Jaeger <aj@suse.de>
8742
8743 * sysdeps/x86_64/elf/configure.in: Moved to ...
8744 * sysdeps/x86_64/configure.in: ... here.
8745 * sysdeps/x86_64/elf/start.S: Moved to ...
8746 * sysdeps/x86_64/start.S: ... here.
8747 * sysdeps/x86_64/elf/configure: Delete.
8748
8749 * sysdeps/x86_64/configure.in: Merge contents from
8750 sysdeps/i386/configure.in (without i686 check).
8751
8752 * sysdeps/i386/elf/Versions: Merge into ...
8753 * sysdeps/i386/Versions: ... this.
8754 * sysdeps/i386/elf/Versions: Delete file.
8755 * sysdeps/i386/elf/start.S: Moved to ...
8756 * sysdeps/i386/start.S: ...here.
8757 * sysdeps/i386/elf/configure.in: Merge into...
8758 * sysdeps/i386/configure.in: ...here.
8759 * sysdeps/i386/elf/configure.in: Delete file.
8760 * sysdeps/i386/elf/configure: Delete file.
8761
8762 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8763 * debug/backtracesyms.c: ... here.
8764 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8765 * debug/backtracesymsfd.c: ... here.
8766 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8767 * sysdeps/generic/ifunc-sel.h: ... here.
8768
8769 * sysdeps/unix/i386/start.c: Delete file.
8770 * sysdeps/unix/sparc/start.c: Delete file.
8771 * sysdeps/unix/start.c: Delete file.
8772
8773 * sysdeps/sh/elf/configure.in: Moved to ...
8774 * sysdeps/sh/configure.in: ... here.
8775 * sysdeps/sh/elf/start.S: Moved to ...
8776 * sysdeps/sh/start.S: ... here.
8777 * sysdeps/sh/elf/configure: Delete file.
8778
8779 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8780 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8781 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8782 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8783 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8784 * sysdeps/powerpc/powerpc64/start.S: here.
8785 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8786 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8787 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8788 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8789 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8790
8791 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8792 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8793 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8794 * sysdeps/powerpc/powerpc32/start.S: ... here.
8795 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8796 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8797 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8798
8799 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8800 * sysdeps/powerpc/ifunc-sel.h: ... here.
8801 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8802 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8803
8804 * sysdeps/sparc/elf/configure.in: Moved to ...
8805 * sysdeps/sparc/configure.in: ... here.
8806 * sysdeps/sparc/elf/configure: Delete file.
8807 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8808 * sysdeps/sparc/sparc32/start.S: ... here.
8809 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8810 * sysdeps/sparc/sparc64/start.S: ... here.
8811 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8812 * sysdeps/sparc/sparc32/Makefile: ... this.
8813 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8814 * sysdeps/sparc/sparc64/Makefile: ... this.
8815
8816 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8817 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8818 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8819 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8820 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8821 * sysdeps/s390/s390-32/setjmp.S: ... here.
8822 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8823 * sysdeps/s390/s390-32/configure.in: ... here.
8824 * sysdeps/s390/s390-32/elf/configure: Delete file.
8825 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8826 * sysdeps/s390/s390-32/start.S: ... here.
8827
8828 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8829 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8830 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8831 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8832 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8833 * sysdeps/s390/s390-64/setjmp.S: ... here.
8834 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8835 * sysdeps/s390/s390-64/configure.in: ... here
8836 * sysdeps/s390/s390-64/elf/configure: Delete file.
8837 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8838 * sysdeps/s390/s390-64/start.S: ... here.
8839 * sysdeps/s390/s390-64/elf/configure: Delete.
8840
8841 * configure.in: Remove support for elf directories in sysdeps.
8842
8843 * configure: Regenerated.
8844 * sysdeps/i386/configure: Regenerated.
8845 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8846 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8847 * sysdeps/s390/s390-32/configure: Regenerated.
8848 * sysdeps/s390/s390-64/configure: Regenerated.
8849 * sysdeps/sh/configure: Regenerated.
8850 * sysdeps/sparc/configure: Regenerated.
8851 * sysdeps/x86_64/configure: Regenerated.
8852
a3f61311
AS
88532012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8854
c876e002
AS
8855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8856
a3f61311
AS
8857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8858 denormal result into account.
8859
ac4c54f0
RM
88602012-03-25 Roland McGrath <roland@hack.frob.com>
8861
8862 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8863 Reported by Allan McRae <allan@archlinux.org>.
8864
6a9b9c02
JL
88652012-03-23 Jeff Law <law@redhat.com>
8866
8867 * nss/getnssent.c (__nss_getent): Fix typo.
8868
4c42a0c1
DM
88692012-03-23 David S. Miller <davem@davemloft.net>
8870
8871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8872
1532c7ac
L
88732012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8874
8875 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8876 to pad to uint64_t for each field.
8877 (dl_tls_index): Replace unsigned long with uint64_t.
8878
3ff42526
PP
88792012-03-23 Daniel Jacobowitz <dmj@google.com>
8880 Paul Pluzhnikov <ppluzhnikov@google.com>
8881
8882 [BZ #6528]
8883 * grp/Makefile (otherlibs): Don't set it.
8884 * inet/Makefile (otherlibs): Likewise.
8885 * login/Makefile (otherlibs): Likewise.
8886 * nscd/Makefile (otherlibs): Likewise.
8887 * posix/Makefile (otherlibs): Likewise.
8888 * pwd/Makefile (otherlibs): Likewise.
8889 * rt/Makefile (otherlibs): Likewise.
8890 * sunrpc/Makefile (otherlibs): Likewise.
8891 * nss/Makefile (otherlibs): Likewise.
8892 Add libnss_files to routines and static-only-routines.
8893 ($(objpfx)getent): Remove rule.
8894 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8895 static-only-routines.
8896
7c69cd14
JM
88972012-03-22 Joseph Myers <joseph@codesourcery.com>
8898
8899 [BZ #13892]
8900 * math/s_cexp.c: Include <float.h>.
8901 (__cexp): Handle exp result overflowing not necessarily
8902 overflowing both real and imaginary parts of result.
8903 * math/s_cexpf.c: Likewise.
8904 * math/s_cexpl.c: Likewise.
8905 * math/libm-test.inc (cexp_test): Add more tests.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908
81b035fe
L
89092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8910
8911 * include/link.h (ELFW): New macro.
8912 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8913 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8914
1da7940c
L
89152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8918 with uint64_t.
8919
b749dbb9
L
89202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8923 declaration.
8924 (struct La_x32_retval): Likewise.
8925
2ff87f3f
L
89262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * sysdeps/x86_64/preconfigure.in: New file.
8929 * sysdeps/x86_64/preconfigure: New generated file.
8930
c0df8e69
JM
89312012-03-22 Joseph Myers <joseph@codesourcery.com>
8932
48e44791
JM
8933 [BZ #13824]
8934 * math/e_exp2l.c: Include <float.h>.
8935 (__ieee754_exp2l): Handle overflow and underflow cases
8936 separately. Only pass fractional part of argument to
8937 __ieee754_expl.
8938 * math/libm-test.inc (exp2_test): Add more tests.
8939
c0df8e69
JM
8940 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8941 negating x to take absolute value.
8942 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8943 Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8945 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8946 Likewise.
8947 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8948 computing low part if x was negated.
8949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8950
c8e43ba7
L
89512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8952
8953 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8954 la_x32_gnu_pltexit.
8955 (pltexit): Cast int_retval to ptrdiff_t.
8956 * elf/tst-auditmod3b.c: Likewise.
8957 * elf/tst-auditmod4b.c: Likewise.
8958 * elf/tst-auditmod5b.c: Likewise.
8959 * elf/tst-auditmod6b.c: Likewise.
8960 * elf/tst-auditmod6c.c: Likewise.
8961 * elf/tst-auditmod7b.c: Likewise.
8962
8963 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8964 and x32_gnu_pltexit.
8965
8966 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8967 __ELF_NATIVE_CLASS.
8968 (La_x32_regs): New macro.
8969 (La_x32_retval): Likewise.
8970 (la_x32_gnu_pltenter): New function prototype.
8971 (la_x32_gnu_pltexit): Likewise.
8972
7998fa78
AS
89732012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8974
dcb33988
AS
8975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8976 exponent.
8977
233fc563
AS
8978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8979
7998fa78
AS
8980 * configure.in (libc_cv_cc_nofma): Check for option to disable
8981 generation of FMA instructions.
8982 * configure: Regenerate.
8983 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8984 * sysdeps/ieee754/dbl-64/Makefile: New file.
8985 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8986 Remove brandred-fma4.
8987 (CFLAGS-brandred-fma4.c): Remove.
8988 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8990 define.
8991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8992 define.
8993
8e95c99a
L
89942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8997 LLONG_MAX != LONG_MAX.
8998 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8999 (_fitoa_word): Likewise.
9000 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9001 LLONG_MAX != LONG_MAX.
9002 * stdio-common/_itowa.h: Include <_itoa.h>.
9003 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9004 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9005 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9006 only if not defined.
9007 (_ITOA_WORD_TYPE): Likewise.
9008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9009 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9010
6f4db457
DM
90112012-03-21 David S. Miller <davem@davemloft.net>
9012
9013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9014
7785fe5a
L
90152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9018 of x86_64 when setting libc_cv_slibdir, libdir and
9019 libc_cv_localedir.
9020 * sysdeps/unix/sysv/linux/configure: Regenerated.
9021
4535cd55
JM
90222012-03-21 Joseph Myers <joseph@codesourcery.com>
9023
9024 * manual/lang.texi (Old Varargs): Remove section.
9025 (How Variadic): Update menu.
9026 (va_start): Do not mention varargs.h.
9027
17228132
TS
90282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9029 Joseph Myers <joseph@codesourcery.com>
9030
9031 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9032 link test.
9033 * configure: Regenerated.
9034
8149f976
TS
90352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9036
05f3d1f6
UD
9037 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9038 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9039 conformtest.pl
8149f976 9040
1a4ac776
JM
90412012-03-21 Joseph Myers <joseph@codesourcery.com>
9042
be22ce65
JM
9043 * NOTES: Remove.
9044 * Makefile (files-for-dist): Remove NOTES.
9045 (NOTES): Remove rule.
9046 * README: Don't refer to NOTES.
9047 * manual/creature.texi: Don't include macros.texi.
9048 * manual/intro.texi (creature.texi): Remove comment referring to
9049 NOTES.
9050
40b601fb
JM
9051 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9052 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9053 * configure: Regenerated.
9054 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9055 LIBC_TRY_CC_OPTION.
9056 (libc_cv_as_i686): Likewise.
9057 (libc_cv_cc_avx): Likewise.
9058 (libc_cv_cc_sse2avx): Likewise.
9059 (libc_cv_cc_fma4): Likewise.
9060 (libc_cv_cc_novzeroupper): Likewise.
9061 * sysdeps/i386/configure: Regenerated.
9062
1a4ac776
JM
9063 [BZ #13883]
9064 * sysdeps/i386/fpu/s_cexp.S: Remove.
9065 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9066 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9067 * math/libm-test.inc (cexp_test): Add more tests.
9068 * sysdeps/i386/fpu/libm-test-ulps: Update.
9069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9070
a458e7fe
AM
90712012-03-21 Allan McRae <allan@archlinux.org>
9072
9073 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9074
0cb7efc5
JM
90752012-03-21 Joseph Myers <joseph@codesourcery.com>
9076
9077 [BZ #13871]
9078 * math/w_exp2.c: Do not include <float.h>.
9079 (o_threshold, u_threshold): Remove.
9080 (__exp2): Calculate result before checking finiteness and calling
9081 __kernel_standard.
9082 * math/w_exp2f.c: Likewise.
9083 * math/w_exp2l.c: Likewise.
9084 * math/libm-test.inc (exp2_test): Require overflow exception for
9085 1e6 input.
2460d3aa
JM
9086
9087 [BZ #3866]
9088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9089 range of signed 64-bit integers before using fistpll. Remove
9090 checks for whether integers fit in mantissa bits.
9091 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9092 the range of signed 32-bit integers before using fistpl. Remove
9093 checks for whether integers fit in mantissa bits.
9094 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9095 (__ieee754_powl): Test for y outside the range of signed 64-bit
9096 integers before using fistpll. Reduce 64-bit values to 63-bit
9097 ones as needed.
9098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9099 divide-by-zero is raised for zero to large negative powers.
9100 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9101 (__ieee754_powl): Test for y outside the range of signed 64-bit
9102 integers before using fistpll. Reduce 64-bit values to 63-bit
9103 ones as needed.
9104 * math/libm-test.inc (pow_test): Add more tests.
9105
eb96ffb0
L
91062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9107
9108 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9109 <stdio-common/_itoa.h>.
9110 * debug/segfault.c: Likewise.
9111 * elf/dl-cache.c: Likewise.
9112 * elf/dl-minimal.c: Likewise.
9113 * elf/dl-misc.c: Likewise.
9114 * elf/dl-sysdep.c: Likewise.
9115 * elf/dl-version.c: Likewise.
9116 * elf/rtld.c: Likewise.
9117 * hurd/hurdsock.c: Likewise.
9118 * hurd/lookup-retry.c: Likewise.
9119 * malloc/malloc.c: Likewise.
9120 * malloc/mtrace.c: Likewise.
9121 * nscd/nscd_getgr_r.c: Likewise.
9122 * nscd/nscd_getpw_r.c: Likewise.
9123 * nscd/nscd_getserv_r.c: Likewise.
9124 * posix/getopt_init.c: Likewise.
9125 * posix/wordexp.c: Likewise.
9126 * stdio-common/_itoa.c: Likewise.
9127 * stdio-common/printf_fphex.c: Likewise.
9128 * stdio-common/vfprintf.c: Likewise.
9129 * string/_strerror.c: Likewise.
9130 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9131 * sysdeps/i386/i686/hp-timing.h: Likewise.
9132 * sysdeps/mach/_strerror.c: Likewise.
9133 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9134 * sysdeps/mach/hurd/sethostid.c: Likewise.
9135 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9136 * sysdeps/mach/xpg-strerror.c: Likewise.
9137 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9139 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9140 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9141 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9142 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9143 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9144 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9145 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9146 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9147 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9148 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9150 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9152 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9155 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9156 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9158
9159 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9160
9161 * stdio-common/_itoa.h: Moved to ...
9162 * sysdeps/generic/_itoa.h: Here.
9163
9164 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9165
9166 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9167 instead of "_itoa.h" and "_itowa.h".
9168 * stdio-common/vfprintf.: Likewise.
9169
d1af992d
L
91702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9173 <bits/wordsize.h>.
9174 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9175 (__signbit): Likwise.
9176 (llrintf): Likwise.
9177 (llrint): Likwise.
9178
114883e0
L
91792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9182 __WORDSIZE != 64.
9183
c135cc1b
JM
91842012-03-20 Joseph Myers <joseph@codesourcery.com>
9185
9186 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9187 OVERFLOW_EXCEPTION_OK.
9188 * math/libm-test.inc ("Philosophy"): Update comment about
9189 exception testing.
9190 (OVERFLOW_EXCEPTION): Define.
9191 (OVERFLOW_EXCEPTION_OK): Likewise.
9192 (INVALID_EXCEPTION_OK): Renumber.
9193 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9194 (IGNORE_ZERO_INF_SIGN): Likewise.
9195 (test_exceptions): Handle FE_OVERFLOW.
9196 (exp10_test): Expect overflow exceptions.
9197 (exp2_test): Likewise.
9198 (expm1_test): Likewise.
9199 (nextafter_test): Likewise.
9200 (pow_test): Likewise.
9201 (scalbn_test): Likewise.
9202 (scalbln_test): Likewise.
9203
95443d88
L
92042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 * sysdeps/x86_64/bits/atomic.h
9207 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9208 64bit integer.
9209 (atomic_exchange_acq): Likewise.
9210 (__arch_exchange_and_add_body): Likewise.
9211 (__arch_add_body): Likewise.
9212 (atomic_add_negative): Likewise.
9213 (atomic_add_zero): Likewise.
9214
490df6c4
L
92152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9216
c2722551 9217 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9218 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9219
5e52b189
L
92202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9223 Check __x86_64__ instead of __WORDSIZE.
9224
a9879d4c
L
92252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9226
9227 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9228
5df98260
DM
92292012-03-19 David S. Miller <davem@davemloft.net>
9230
e1497744
DM
9231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9232
5df98260
DM
9233 * sysdeps/sparc/fpu/fenv_private.h: New file.
9234 * sysdeps/sparc/fpu/math_private.h: Use it.
9235 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9236 Remove.
9237 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9238 (libc_feholdexcept_setroundl): Remove.
9239 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9240 Remove.
9241 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9242 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9243
b4c35121
L
92442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9247 int64_t instead of long int.
9248 (INSERT_WORDS64): Likwise.
9249
56965fd7
L
92502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9253 _Unwind_GetCFA return to _Unwind_Ptr first.
9254
83d1aec8
JM
92552012-03-19 Joseph Myers <joseph@codesourcery.com>
9256
1897ad44
JM
9257 [BZ #13629]
9258 * math/s_clog.c: Include <float.h>.
9259 (__clog): Scale large or subnormal inputs.
9260 * math/s_clogf.c: Likewise.
9261 * math/s_clogl.c: Likewise.
9262 * math/s_clog10.c: Include <float.h>.
9263 (M_LOG10_2): Define.
9264 (__clog10): Scale large or subnormal inputs.
9265 * math/s_clog10f.c: Likewise.
9266 * math/s_clog10l.c: Likewise.
9267 * math/libm-test.inc (clog_test): Add more tests.
9268 (clog10_test): Likewise.
9269 * sysdeps/i386/fpu/libm-test-ulps: Update.
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9271
7726d6a9
JM
9272 [BZ #11451]
9273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9274 x and y.
9275 * math/libm-test.inc (atan2_test): Add another test.
9276
83d1aec8
JM
9277 * Makerules (common-objdir-compile): Remove.
9278 * sysdeps/unix/Makefile (config-generated): Do not add
9279 $(unix-generated) to variable.
9280 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9281 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9282 Remove rule.
9283 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9284 Likewise.
9285 [generic bits/local_lim.h] (before-compile): Do not append to
9286 variable.
9287 [generic bits/local_lim.h] (common-generated): Likewise.
9288 [generic sys/param.h] (before-compile): Do not append to variable.
9289 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9290 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9291 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9293 include.
9294 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9295 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9296 [generic sys/param.h] ($(addprefix
9297 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9298 [generic sys/param.h] (common-generated): Do not append to
9299 variable.
9300 [generic sys/param.h] (sysdep_headers): Likewise.
9301 [generic bits/errno.h] (before-compile): Do not append to
9302 variable.
9303 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9304 rule.
9305 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9306 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9307 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9308 [generic bits/errno.h] (common-generated): Do not append to
9309 variable.
9310 [generic bits/ioctls.h] (before-compile): Do not append to
9311 variable.
9312 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9313 rule.
9314 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9315 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9316 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9317 rule.
9318 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9319 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9320 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9321 [generic bits/ioctls.h] (common-generated): Do not append to
9322 variable.
9323 [generic sys/syscall.h] (syscall.h): Remove variable.
9324 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9325 rule.
9326 [generic sys/syscall.h] (before-compile): Do not append to
9327 variable.
9328 [generic sys/syscall.h] (common-generated): Likewise.
9329 * sysdeps/unix/errnos-tmpl.c: Remove file.
9330 * sysdeps/unix/errnos.awk: Likewise.
9331 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9332 * sysdeps/unix/ioctls.awk: Likewise.
9333 * sysdeps/unix/mk-local_lim.c: Likewise.
9334 * sysdeps/unix/snarf-ioctls: Likewise.
9335
4851a949
RH
93362012-03-19 Richard Henderson <rth@twiddle.net>
9337
bd37f2ee
RH
9338 * sysdeps/i386/fpu/fenv_private.h: New file.
9339 * sysdeps/i386/fpu/math_private.h: Use it.
9340 (math_opt_barrier, math_force_eval): Remove.
9341 (libc_feholdexcept_setround_53bit): Remove.
9342 (libc_feupdateenv_53bit): Remove.
9343 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9344 (math_opt_barrier, math_force_eval): Remove.
9345 (libc_feholdexcept): Remove.
9346 (libc_feholdexcept_setround): Remove.
9347 (libc_fetestexcept, libc_fesetenv): Remove.
9348 (libc_feupdateenv_test): Remove.
9349 (libc_feupdateenv, libc_feholdsetround): Remove.
9350 (libc_feresetround): Remove.
9351
d0adc922
RH
9352 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9353 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9354
0fe0f1f8
RH
9355 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9356 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9357 (libc_feupdateenv_testl): New.
9358 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9359 (libc_feupdateenv_testf): New.
9360 (libc_feupdateenv): Use libc_feupdateenv_test.
9361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9362 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9363
eb92c487
RH
9364 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9365 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9366 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9367 (libc_feresetround_noex): New.
9368 (libc_feresetround_noexf): New.
9369 (libc_feresetround_noexl): New.
9370 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9371 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9372 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9373 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9374 SET_RESTORE_ROUND.
9375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9377 (__cos): Likewise.
9378 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9379 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9380 SET_RESTORE_ROUND_NOEX.
9381 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9382 SET_RESTORE_ROUND_NOEXF.
9383 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9384 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9385 (libc_feholdsetroundf): New.
9386 (libc_feresetround, libc_feresetroundf): New.
9387
7d2e8012
RH
9388 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9389 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9390 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9391
b4dabbb4
RH
9392 * sysdeps/generic/math_private.h: Include <fenv.h>.
9393 (default_libc_feholdexcept): New.
9394 (default_libc_feholdexcept_setround): New.
9395 (default_libc_fesetenv, default_libc_feupdateenv): New.
9396 (libc_feholdexcept): Only define if undefined.
9397 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9398 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9399 (libc_feholdexcept_setroundl): Likewise.
9400 (libc_feholdexcept_setround_53bit): Likewise.
9401 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9402 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9403 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9404 (libc_feupdateenv_53bit): Likewise.
9405 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9406 (libc_feholdexcept): Convert from macro to inline function.
9407 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9408 (libc_fesetenv, libc_feupdateenv): Likewise.
9409
4851a949
RH
9410 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9411 not previously defined.
9412 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9413 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9414 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9416 * sysdeps/ieee754/flt-32/math_private.h: New file.
9417 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9418 math_private.h below SET_FLOAT_WORD.
9419 (__isnan, __isinf_ns, __finite): Remove.
9420 (__isnanf, __isinf_nsf, __finitef): Remove.
9421
e79d442e
AS
94222012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9423
9424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9425
90b80344
DM
94262012-03-17 David S. Miller <davem@davemloft.net>
9427
9428 [BZ #6471]
9429 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9430 for 2.16.
9431
edc21804
DM
94322012-03-16 David S. Miller <davem@davemloft.net>
9433
77e927af
DM
9434 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9435 warnings.
9436
374976dd
DM
9437 [BZ #6471]
9438 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9439 properly.
9440 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9441 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9442 sysdep_routines when subdir is sysvipc.
9443 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9444 __getshmlba helper.
9445
edc21804
DM
9446 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9447
473c3ef3
L
94482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9449
9450 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9451 [__LP64__].
9452
eb0f39b6
L
94532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9454
9455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9456 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9457 (__lround): Renamed to ...
9458 (__llround): This. Replace long int with long long int.
9459 Define lround functions as aliases of llround functions.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9461
6b6cd74b
L
94622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9463
9464 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9465 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9466 adresses to uintptr_t. Replace "long int" and "unsigned long
9467 int" with "greg_t" on va_arg.
9468
f1a77b01
L
94692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9472 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9473
9474 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9475 Move e_machine check before EI_CLASS check. Handle x32
9476 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9477 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9478 SKIP_EM_IA_64 and include
9479 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9480
9481 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9482 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9483 (add_system_dir): New macro.
9484
9485 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9486 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9487
11b90b9f
JM
94882012-03-16 Joseph Myers <joseph@codesourcery.com>
9489
c36e1d23
JM
9490 [BZ #2551]
9491 [BZ #2552]
9492 [BZ #2553]
9493 [BZ #2554]
9494 [BZ #2562]
9495 [BZ #2563]
9496 [BZ #2565]
9497 [BZ #2566]
9498 [BZ #2576]
9499 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9500 (y0): Likewise.
9501 * math/w_j0f.c (j0f): Likewise.
9502 (y0f): Likewise.
9503 * math/w_j0l.c (__j0l): Likewise.
9504 (__y0l): Likewise.
9505 * math/w_j1.c (j1): Likewise.
9506 (y1): Likewise.
9507 * math/w_j1f.c (j1f): Likewise.
9508 (y1f): Likewise.
9509 * math/w_j1l.c (__j1l): Likewise.
9510 (__y1l): Likewise.
9511 * math/w_jn.c (jn): Likewise.
9512 (yn): Likewise.
9513 * math/w_jnf.c (jnf): Likewise.
9514 (ynf): Likewise.
9515 * math/w_jnl.c (__jnl): Likewise.
9516 (__ynl): Likewise.
9517 * math/libm-test.inc (j0_test): Add more tests.
9518 (j1_test): Likewise.
9519 (jn_test): Likewise. Add trailing semicolon to existing test.
9520 (y0_test): Likewise.
9521 (y1_test): Likewise.
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524
11b90b9f
JM
9525 [BZ #13851]
9526 [BZ #13854]
9527 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9528 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9529 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9530 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9531 (__tanl): Set errno for infinite argument.
9532 * sysdeps/i386/fpu/mptan.c: Remove.
9533 * sysdeps/i386/fpu/s_tan.S: Likewise.
9534 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9535 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9536 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9537 * math/libm-test.inc (tan_test): Add more tests and enable more
9538 tests for double and long double.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541
6a1bd2a1
JK
95422012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9543
9544 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9545 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9546
10a803e0
RM
95472012-03-16 Roland McGrath <roland@hack.frob.com>
9548
9549 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9550 * configure.in: Use it for both main tree and add-ons.
9551 * configure: Regenerated.
9552
f196c7f7
L
95532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9556
8848d99d
JM
95572012-03-16 Joseph Myers <joseph@codesourcery.com>
9558
96cbe7f4
JM
9559 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9560 in comment.
9561
8848d99d
JM
9562 [BZ #13851]
9563 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9564 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9568 infinite argument.
9569 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9571 != 0 for prec == 2.
9572 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9573 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9574 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9575 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9576 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9577 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9578 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9579 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9580 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9581 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9582 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9583 * math/libm-test.inc (cos_test): Add more tests and enable more
9584 tests for long double.
9585 (sin_test): Likewise.
9586 (sincos_test): Likewise.
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9589
dd7f4703
DM
95902012-03-16 David S. Miller <davem@davemloft.net>
9591
9592 * sysdeps/sparc/fpu/math_private.h: New file.
9593
006f1daa
DM
95942012-03-15 David S. Miller <davem@davemloft.net>
9595
c0c83bc8
DM
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9597 file.
e6a62e18 9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9600 file.
e6a62e18
DM
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9607 sysdep routines.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9609
88cb87d9
DM
9610 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9611 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9612
006f1daa 9613 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9615 sparc-ifunc.h
006f1daa 9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9618 Likewise.
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9620 Likewise.
006f1daa
DM
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9625 Likewise.
006f1daa
DM
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9631 Likewise.
9632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9633 Likewise.
006f1daa
DM
9634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9658
11e0098e
AS
96592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9660
9661 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9662 scaling.
9663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9664
e85b09d0
AJ
96652012-03-15 Andreas Jaeger <aj@suse.de>
9666
9667 [BZ #13852]
9668 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9669 ieee754/flt-32 implementation for sin, cos and sincos.
9670 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9671 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9672 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9673 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9674 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9675 ieee754/flt-32 implementation for tan.
9676
9677 * math/libm-test.inc (cos_test): Enable some large input tests for
9678 float as well
9679 (sin_test): Likewise.
9680 (sincos_test): Likewise.
9681 (tan_test): Add tests for large input.
9682
9683 * sysdeps/i386/fpu/libm-test-ulps: Update.
9684
81c64153
AJ
96852012-03-15 Andreas Jaeger <aj@suse.de>
9686
9687 [BZ #13658]
9688 * math/libm-test.inc (cos_test): Add more test cases.
9689 (sin_test): Likewise.
9690 (sincos_test): Likewise.
9691
7bbfa5c6
AJ
96922012-03-15 Andreas Jaeger <aj@suse.de>
9693
9694 [BZ #13837]
9695 * math/libm-test.inc (cos_test): Add a test case for large input
9696 value.
9697 (sin_test): Likewise.
9698 (sincos_test): Likewise.
9699
97002012-03-15 Andreas Jaeger <aj@suse.de>,
9701 Joseph Myers <joseph@codesourcery.com>
9702
9703 [BZ #13658]
0671f479 9704 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9705 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9706 * sysdeps/i386/fpu/branred.c: Likewise.
9707 * sysdeps/i386/fpu/dosincos.c: Likewise.
9708 * sysdeps/i386/fpu/mpa.c: Likewise.
9709 * sysdeps/i386/fpu/s_cos.S: Likewise.
9710 * sysdeps/i386/fpu/s_sin.S: Likewise.
9711 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9712 * sysdeps/i386/fpu/sincos32.c: Likewise.
9713
9714 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9715 Define.
9716 (libc_feupdateenv_53bit): Define.
9717 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9718 Define.
9719 (libc_feupdateenv_53bit): Define.
9720
9721 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9722 53 bit (without extend i386 double precision).
9723
9724 * math/libm-test.inc (sincos_test): Add tests for large input.
9725 (sin): Likewise.
9726 (cos): Likewise.
9727
9728 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9729
9cad04ea
AS
97302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9731
9732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9733
f7062b9a
DM
97342012-03-15 David S. Miller <davem@davemloft.net>
9735
9736 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9737 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9738 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9739 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9752 file.
f7062b9a 9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9755 file.
f7062b9a 9756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9758 file.
f7062b9a 9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9761 file.
f7062b9a
DM
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9764 fmin/fmax sysdep routines.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9766
7bd951ff
DM
97672012-03-14 David S. Miller <davem@davemloft.net>
9768
559398ab
DM
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9798 routines.
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9800 file.
559398ab 9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9803 file.
559398ab 9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9806 file.
559398ab 9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9809 file.
559398ab 9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9812 file.
559398ab 9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9815 file.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9817 file.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9819 file.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9821 file.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9823 New file.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9825 file.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9827 file.
559398ab 9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9830 file.
559398ab 9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9833 file.
559398ab 9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9836 file.
559398ab 9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9839 VIS3 routines.
559398ab
DM
9840
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9842 New file.
9843
5a1c1e32
DM
9844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9845
eae47a36
DM
9846 * sysdeps/sparc/configure.in: New file.
9847 * sysdeps/sparc/configure: Generate.
9848 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9849 * configure: Regenerate.
9850 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9851 * config.make.in (have-as-vis3): New.
9852 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9853 available use -Av9d instead of -Av9a.
9854 * sysdeps/sparc/sparc64/Makefile: Likewise.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9857 New file.
9858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9859 file.
9860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9861 New file.
9862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9863 file.
eae47a36
DM
9864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9865 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9869
c0c83bc8
DM
9870 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9871 fzeros/fnegs to load 0x80000000 into a float register instead of
9872 using the stack.
7bd951ff
DM
9873 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9874
bd951ccb
JM
98752012-03-14 Joseph Myers <joseph@codesourcery.com>
9876
9877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9878 bits/syscall.h.
9879 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9880 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9881 ($(inst_includedir)/bits/syscall.h): Remove rule.
9882 ($(objpfx)bits/syscall.d): Include instead of
9883 $(objpfx)syscall-list.d.
9884 (generated): Change syscall-list.h and syscall-list.d to
9885 bits/syscall.h and bits/syscall.d.
9886
bb4e6db2
RM
98872012-03-14 Roland McGrath <roland@hack.frob.com>
9888
9889 [BZ #13846]
9890 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9891
aa4a2ae1
JM
98922012-03-14 Joseph Myers <joseph@codesourcery.com>
9893
e456826d
JM
9894 [BZ #13841]
9895 * math/s_csqrt.c: Include <float.h>.
9896 (__csqrt): Scale large or subnormal inputs.
9897 * math/s_csqrtf.c: Likewise.
9898 * math/s_csqrtl.c: Likewise.
9899 * math/libm-test.inc (csqrt_test): Add more tests.
9900 * sysdeps/i386/fpu/libm-test-ulps: Update.
9901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9902
aa4a2ae1
JM
9903 [BZ #13840]
9904 * math/libm-test.inc (hypot_test): Add more tests.
9905
7c10fd35
DM
99062012-03-13 David S. Miller <davem@davemloft.net>
9907
9908 [BZ #13840]
9909 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9910 double-precision for the calculation instead of scaling.
9911
f453b98b
JM
99122012-03-13 Joseph Myers <joseph@codesourcery.com>
9913
9914 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9915 manipulate bits before adding and subtracting TWO52[sx].
9916 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9917 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9918 Likewise.
9919 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9920
09a3453f
DM
99212012-03-13 David S. Miller <davem@davemloft.net>
9922
8e59da90
DM
9923 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9924 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9926 rtld-global-offsets.h
9927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9928
2a8ab7f2
DM
9929 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9930 large parameters.
9931
10f62770
DM
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9933
5f0bdb18
DM
9934 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9935 'err' in the ifdef scope in which it is actually used.
9936
09a3453f
DM
9937 * nss/nss_db/db-init.c: Include string.h
9938
b4b2eb5e
DM
99392012-03-12 David S. Miller <davem@davemloft.net>
9940
98bb2f1c
DM
9941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9942 masking out of the most significant byte of random value used.
9943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9944 Fix coding style in previous change.
9945
b4b2eb5e
DM
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9948 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9949 expression.
9950 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9951 later.
9952
6e226b09
DM
99532012-03-11 David S. Miller <davem@davemloft.net>
9954
a1bcbd40
DM
9955 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9956 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9958 for 'resultvar' otherwise things get truncated on 64-bit.
9959
cb9d6174
DM
9960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9961 Fix masking out of the most significant byte of random value used.
9962
6e226b09
DM
9963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9964
058c132d
AS
99652012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9966
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9968
2d2cd515
DM
99692012-03-09 David S. Miller <davem@davemloft.net>
9970
9971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9972 variables with appropriate CPP guards.
9973 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9974 frame pointer, not the stack pointer. Correct layout comments. Fix test
9975 on resulting framesize and the management of the outregs buffer for pltexit.
9976 Preserve floating point return values across _dl_call_pltexit call.
9977 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9978 framesize and the management of the outregs buffer for pltexit.
9979 Preserve floating point return values across _dl_call_pltexit
9980 call.
9981 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9982 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9983 (print_exit): Fix format string for return register value.
9984
9a07f9d0
JM
99852012-03-10 Joseph Myers <joseph@codesourcery.com>
9986
9987 * sunrpc/Makefile (others): Add rpcgen.
9988 ($(objpfx)rpcgen): Remove special build rule and dependency on
9989 libc.
9990 * sunrpc/rpcgen.c: New file.
9991
547b5e30
PE
99922012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9993
c524201a
PE
9994 [BZ #13673]
9995 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9996 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9997 * sysdeps/i386/crti.S: Likewise.
9998 * sysdeps/i386/crtn.S: Likewise.
9999 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10000 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10002 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10003 * sysdeps/sh/crti.S: Likewise.
10004 * sysdeps/sh/crtn.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10006
7b6235f2
PE
10007 [BZ #13673]
10008 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10009 with URL.
10010 * locale/programs/locfile-kw.gperf: Likewise.
10011 * locale/programs/charmap-kw.h: Regenerated.
10012 * locale/programs/locfile-kw.h: Likewise.
10013
547b5e30
PE
10014 [BZ #13673]
10015 * intl/plural.y: Replace FSF snail mail address with URL.
10016 * intl/plural.c: Regenerated.
10017
5f0a5dae
RH
100182012-03-09 Richard Henderson <rth@twiddle.net>
10019
10020 * include/math_private.h: Remove file.
10021 * math/math_private.h: Move file ...
10022 * sysdeps/generic/math_private.h: ... here.
10023
b8c03620
RH
10024 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10025 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10026 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10027
4e234f5d 10028 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10029 and <math_private.h>.
10030 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10031 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10032 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10033 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10034 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10118 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10124 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10135 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10137 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10140 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10156 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10158 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10159 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10171 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10173 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10174 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10175 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10176 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10177 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10178 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10179 * sysdeps/ieee754/k_standard.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10329 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10330 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10340 * sysdeps/ieee754/s_lib_version.c: Likewise.
10341 * sysdeps/ieee754/s_matherr.c: Likewise.
10342 * sysdeps/ieee754/s_signgam.c: Likewise.
10343 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10344 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10345 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10346 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10347 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10348 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10349 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10350 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10351 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10352 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10353 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10354 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10355 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10356 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10357 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10358 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10359 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10360 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10361 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10364
1991fa03
JM
103652012-03-09 Joseph Myers <joseph@codesourcery.com>
10366
10367 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10368 * sunrpc/rpc_main.c: Likewise.
10369 * sunrpc/rpc_svcout.c: Likewise.
10370
60d6f5a6
DM
103712012-03-09 David S. Miller <davem@davemloft.net>
10372
10373 * include/math_private.h: New file.
10374
4962050e
JM
103752012-03-09 Joseph Myers <joseph@codesourcery.com>
10376
02a6f887
JM
10377 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10378 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10379 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10380 from <bits/socket_type.h>.
10381 (enum __socket_type): Don't define here.
10382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10384 bits/socket_type.h.
10385
c6e013c1
JM
10386 [BZ #13566]
10387 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10388 checking __USE_GNU.
10389
4962050e
JM
10390 * Makerules ($(inst_includedir)/%.h): New rule.
10391 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10392 (install-others): Remove variable setting.
10393 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10394
38842f45
RH
103952012-03-08 Richard Henderson <rth@twiddle.net>
10396
67bb6da6
RH
10397 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10398 from macro to inline function; merge with the
10399 !__LIBC_INTERNAL_MATH_INLINES version.
10400 (__ieee754_sqrtf): Likewise.
10401
15194b4b
RH
10402 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10403 to inline function.
10404 (__rintf, __floor, __floorf): Likewise.
10405
64e21ede
RH
10406 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10407 macro to inline function.
10408 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10409
38842f45
RH
10410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10411 not <math/math_private.h>.
10412
c64bf5fe
DM
104132012-03-08 David S. Miller <davem@davemloft.net>
10414
10415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10416 copyright year.
10417 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10418
82d86f28
TS
104192012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10420
10421 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10422 normalization.
10423 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10424 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10425
aea5d727
UD
104262012-03-08 Ulrich Drepper <drepper@gmail.com>
10427
10428 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10429 be defined individually, they must be defined as a block. Define
10430 S for printing a string instead of hidint the different by using a
10431 macro for adding the 'l'.
10432 * stdio-common/tst-fphex-wide.c: Adjust.
10433
70bca0a3
MP
104342012-03-07 Marek Polacek <polacek@redhat.com>
10435
10436 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10437
65b81130
MP
104382012-03-08 Marek Polacek <polacek@redhat.com>
10439
10440 [BZ #13806]
10441 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10442 * stdio-common/tst-fphex.c: Define a few macros to make the
10443 test reusable. Use them.
10444 * stdio-common/tst-fphex-wide.c: New file.
10445
07037eeb
JM
104462012-03-08 Joseph Myers <joseph@codesourcery.com>
10447
a7a93d50
JM
10448 [BZ #6911]
10449 * manual/macros.texi (gnusystems): New macro.
10450 (nongnusystems): Likewise.
10451 (gnulinuxhurdsystems): Likewise.
10452 (gnuhurdsystems): Likewise..
10453 (gnulinuxsystems): Likewise.
10454 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10455 variants of the GNU system, not "GNU system".
10456 * manual/conf.texi: Likewise.
10457 * manual/errno.texi: Likewise. Update example of errno macro
10458 expansion.
10459 * manual/filesys.texi: Likewise.
10460 (getumask): Document as specific to GNU/Hurd.
10461 * manual/install.texi: Likewise. Reword some references to
10462 GNU/Linux.
10463 * manual/intro.texi: Likewise.
10464 * manual/io.texi: Likewise.
10465 (File Name Portability): Detail which constraints are inapplicable
10466 to all GNU systems and which are only inapplicable to GNU/Hurd.
10467 * manual/job.texi: Likewise.
10468 * manual/llio.texi: Likewise.
10469 (O_NOCTTY): Document as present on GNU/Linux.
10470 * manual/maint.texi: Likewise.
10471 * manual/memory.texi: Likewise.
10472 * manual/pattern.texi: Likewise.
10473 * manual/pipe.texi: Likewise.
10474 * manual/process.texi: Likewise.
10475 * manual/resource.texi: Likewise.
10476 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10477 child on GNU/Hurd.
10478 * manual/setjmp.texi: Likewise.
10479 * manual/signal.texi: Likewise.
10480 * manual/startup.texi: Likewise.
10481 * manual/stdio.texi: Likewise.
10482 * manual/terminal.texi: Likewise.
10483 (ONLCR): Document as POSIX.
10484 (OXTABS): Document availability on GNU/Linux as XTABS.
10485 (ONOEOT): Document availability separately from other bits.
10486 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10487 * manual/time.texi: Likewise.
10488 * manual/users.texi: Likewise.
10489 * INSTALL: Regenerated.
10490 * sysdeps/gnu/errlist.c: Regenerated.
10491
07037eeb
JM
10492 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10493 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10494 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10495 puts.
10496 * configure: Regenerated.
10497
d1d3431a
JM
104982012-03-07 Joseph Myers <joseph@codesourcery.com>
10499
af6a1e37
JM
10500 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10501 default includes instead of AC_HEADER_CHECK.
10502 * sysdeps/i386/configure: Regenerated.
10503
d1d3431a
JM
10504 [BZ #10716]
10505 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10506 * math/s_cacoshf.c (__cacoshf): Likewise.
10507 * math/s_cacoshl.c (__cacoshl): Likewise.
10508 * math/s_casinh.c (__casinh): Set signs of result from argument.
10509 * math/s_casinhf.c (__casinhf): Likewise.
10510 * math/s_casinhl.c (__casinhl): Likewise.
10511 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10512 (casinh_test): Add more tests.
10513 * sysdeps/i386/fpu/libm-test-ulps: Update.
10514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515
482ff4da
UD
105162012-03-07 Ulrich Drepper <drepper@gmail.com>
10517
872fda05
UD
10518 * po/zh_TW.po: Update from translation team.
10519
a4300c7a
UD
10520 * login/Makefile (distribute): Remove variable.
10521 * catgets/Makefile: Likewise.
10522 * mach/Makefile: Likewise.
10523 * malloc/Makefile: Likewise.
10524 * misc/Makefile: Likewise.
10525 * iconv/Makefile: Likewise.
10526 * nscd/Makefile: Likewise.
10527 * hurd/Makefile: Likewise.
10528 * manual/Makefile: Likewise.
10529 * locale/Makefile: Likewise.
10530 * intl/Makefile: Likewise.
10531 * conform/Makefile: Likewise.
10532 * nss/Makefile: Likewise.
10533 * time/Makefile: Likewise.
10534 * soft-fp/Makefile: Likewise.
10535 * dirent/Makefile: Likewise.
10536 * gmon/Makefile: Likewise.
10537 * po/Makefile: Likewise.
10538 * rt/Makefile: Likewise.
10539 * socket/Makefile: Likewise.
10540 * math/Makefile: Likewise.
10541 * signal/Makefile: Likewise.
10542 * debug/Makefile: Likewise.
10543 * elf/Makefile: Likewise.
10544 * timezone/Makefile: Likewise.
10545 * stdlib/Makefile: Likewise.
10546 * iconvdata/Makefile: Likewise.
10547 * sunrpc/Makefile: Likewise.
10548 * io/Makefile: Likewise.
10549 * argp/Makefile: Likewise.
10550 * inet/Makefile: Likewise.
10551 * hesiod/Makefile: Likewise.
10552 * grp/Makefile: Likewise.
10553 * csu/Makefile: Likewise.
10554 * wctype/Makefile: Likewise.
10555 * crypt/Makefile: Likewise.
10556 * libio/Makefile: Likewise.
10557 * string/Makefile: Likewise.
10558 * nis/Makefile: Likewise.
10559 * resolv/Makefile: Likewise.
10560 * stdio-common/Makefile: Likewise.
10561 * wcsmbs/Makefile: Likewise.
10562 * dlfcn/Makefile: Likewise.
10563 * posix/Makefile: Likewise.
10564
3b7c4e74 10565 [BZ #6959]
482ff4da
UD
10566 * timezone/Makefile: Don't install timezone files, just the programs
10567 and scripts.
10568
f72ed77d
UD
105692012-03-06 Ulrich Drepper <drepper@gmail.com>
10570
a000466f
UD
10571 * nss/databases.def: Add missing gshadow entry.
10572
f72ed77d
UD
10573 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10574
a53b7a4e
MP
105752012-03-06 Marek Polacek <polacek@redhat.com>
10576
10577 [BZ #13726]
10578 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10579 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10580 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10581 * stdio-common/tst-long-dbl-fphex.c: New file.
10582
e9258400
DM
105832012-03-06 David S. Miller <davem@davemloft.net>
10584
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10586 (set_obp_int): New function.
10587 (get_obp_int): New function.
10588 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10589 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10590 Avoid unused variable warnings on 'val' and use builtin_expect.
10591 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10592 __builtin_expect.
e9258400
DM
10593 (INLINE_CLONE_SYSCALL): Likewise.
10594
3bd2c723
DM
105952012-03-05 David S. Miller <davem@davemloft.net>
10596
10597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10598
bbb78d03
AS
105992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10600
884c5db4
AS
10601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10602
bbb78d03
AS
10603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10604 only for |x| >= 40.
10605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10606
1c9f702a 106072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10608
10609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10610 Replace gettimeofday with __vdso_gettimeofday.
10611
7be16f82
RM
10612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10613 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10614 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10615
10616 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10617 time with __vdso_time.
10618
ed58a00f
JM
106192012-03-05 Joseph Myers <joseph@codesourcery.com>
10620
10621 * manual/lang.texi (size_t): Note types to which size_t may be
10622 equivalent with the GNU C Library, but do not describe when
10623 differences between them are significant.
10624
30ee4ced
AJ
106252012-03-05 Andreas Jaeger <aj@suse.de>
10626
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628
b7cd39e8
JM
106292012-03-05 Joseph Myers <joseph@codesourcery.com>
10630
10631 [BZ #3976]
10632 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10633 (__ieee754_pow): Save and restore rounding mode and use
10634 round-to-nearest for main computations.
10635 * math/libm-test.inc (pow_test_tonearest): New function.
10636 (pow_test_towardzero): Likewise.
10637 (pow_test_downward): Likewise.
10638 (pow_test_upward): Likewise.
10639 (main): Call the new functions.
10640 * sysdeps/i386/fpu/libm-test-ulps: Update.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10642
10643 [BZ #3976]
10644 * math/libm-test.inc (cosh_test_tonearest): New function.
10645 (cosh_test_towardzero): Likewise.
10646 (cosh_test_downward): Likewise.
10647 (cosh_test_upward): Likewise.
10648 (sinh_test_tonearest): Likewise.
10649 (sinh_test_towardzero): Likewise.
10650 (sinh_test_downward): Likewise.
10651 (sinh_test_upward): Likewise.
10652 (main): Call the new functions.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655
6c6a98c9
TV
106562012-03-05 Tom de Vries <tom@codesourcery.com>
10657
10658 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10659 default stack guard is set in last bytes.
10660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10661
21bb2d2e 106622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10663
21bb2d2e 10664 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10665
21bb2d2e
AJ
10666 [BZ #13656]
10667 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10668 possibly allocate from heap instead of stack.
10669 * stdio-common/bug-vfprintf-nargs.c: New file.
10670 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10671
c6922934
AS
106722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10675
bc957d53
MP
106762012-03-03 Marek Polacek <polacek@redhat.com>
10677
10678 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10679 * math/math_private.h: Likewise.
10680 * stdlib/tst-strtod.c: Likewise.
10681 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10682 * sysdeps/x86_64/bits/atomic.h: Likewise.
10683
6358490d
DM
106842012-03-02 David S. Miller <davem@davemloft.net>
10685
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10694
01ae168d
RM
106952012-03-02 Roland McGrath <roland@hack.frob.com>
10696
d9a17c07
RM
10697 [BZ #13792]
10698 * manual/examples/README: New file, says the example source files
10699 can be used under GPL>=2.
10700 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10701 line containing just "*/".
10702 * manual/examples/add.c: Add copyright header (GPL>=2).
10703 * manual/examples/argp-ex1.c: Likewise.
10704 * manual/examples/argp-ex2.c: Likewise.
10705 * manual/examples/argp-ex3.c: Likewise.
10706 * manual/examples/argp-ex4.c: Likewise.
10707 * manual/examples/atexit.c: Likewise.
10708 * manual/examples/db.c: Likewise.
10709 * manual/examples/dir.c: Likewise.
10710 * manual/examples/dir2.c: Likewise.
10711 * manual/examples/execinfo.c: Likewise.
10712 * manual/examples/filecli.c: Likewise.
10713 * manual/examples/filesrv.c: Likewise.
10714 * manual/examples/fmtmsgexpl.c: Likewise.
10715 * manual/examples/genpass.c: Likewise.
10716 * manual/examples/inetcli.c: Likewise.
10717 * manual/examples/inetsrv.c: Likewise.
10718 * manual/examples/isockad.c: Likewise.
10719 * manual/examples/longopt.c: Likewise.
10720 * manual/examples/memopen.c: Likewise.
10721 * manual/examples/memstrm.c: Likewise.
10722 * manual/examples/mkfsock.c: Likewise.
10723 * manual/examples/mkisock.c: Likewise.
10724 * manual/examples/mygetpass.c: Likewise.
10725 * manual/examples/pipe.c: Likewise.
10726 * manual/examples/popen.c: Likewise.
10727 * manual/examples/rprintf.c: Likewise.
10728 * manual/examples/search.c: Likewise.
10729 * manual/examples/select.c: Likewise.
10730 * manual/examples/setjmp.c: Likewise.
10731 * manual/examples/sigh1.c: Likewise.
10732 * manual/examples/sigusr.c: Likewise.
10733 * manual/examples/stpcpy.c: Likewise.
10734 * manual/examples/strdupa.c: Likewise.
10735 * manual/examples/strftim.c: Likewise.
10736 * manual/examples/strncat.c: Likewise.
10737 * manual/examples/subopt.c: Likewise.
10738 * manual/examples/swapcontext.c: Likewise.
10739 * manual/examples/termios.c: Likewise.
10740 * manual/examples/testopt.c: Likewise.
10741 * manual/examples/testpass.c: Likewise.
10742 * manual/examples/timeval_subtract.c: Likewise.
10743
01ae168d
RM
10744 [BZ #13792]
10745 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10746 function to ...
10747 * manual/timeval_subtract.c.texi: ... here, new file.
10748
49efa33d
DM
107492012-03-02 David S. Miller <davem@davemloft.net>
10750
10751 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10752
28afd92d
JM
107532012-03-02 Joseph Myers <joseph@codesourcery.com>
10754
804360ed
JM
10755 [BZ #3976]
10756 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10757 (__sin): Save and restore rounding mode and use round-to-nearest
10758 for all computations.
10759 (__cos): Save and restore rounding mode and use round-to-nearest
10760 for all computations.
10761 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10762 <fenv.h>.
10763 (tan): Save and restore rounding mode and use round-to-nearest for
10764 all computations.
10765 * math/libm-test.inc (cos_test_tonearest): New function.
10766 (cos_test_towardzero): Likewise.
10767 (cos_test_downward): Likewise.
10768 (cos_test_upward): Likewise.
10769 (sin_test_tonearest): Likewise.
10770 (sin_test_towardzero): Likewise.
10771 (sin_test_downward): Likewise.
10772 (sin_test_upward): Likewise.
10773 (tan_test_tonearest): Likewise.
10774 (tan_test_towardzero): Likewise.
10775 (tan_test_downward): Likewise.
10776 (tan_test_upward): Likewise.
10777 (main): Call the new functions.
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10780
a6d06d7b
JM
10781 [BZ #10135]
10782 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10783 small n, then large n, before computing and testing k+n.
10784 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10786 Likewise.
10787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10788 Likewise.
10789 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10790 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10797 * math/libm-test.inc (scalbn_test): Add more tests.
10798 (scalbln_test): Likewise.
10799
07e12bb3
JM
10800 * manual/filesys.texi (mode_t): Describe constraints on size and
10801 signedness, not exact equivalence to a particular type.
10802 (ino_t): Likewise.
10803 (ino64_t): Likewise.
10804 (dev_t): Likewise.
10805 (nlink_t): Likewise.
10806 (blkcnt_t): Likewise.
10807 (blkcnt64_t): Likewise.
10808 * manual/llio.texi (off_t): Likewise.
10809
28afd92d
JM
10810 [BZ #3976]
10811 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10812 (__ieee754_exp): Save and restore rounding mode and use
10813 round-to-nearest for all computations.
10814 * math/libm-test.inc (exp_test_tonearest): New function.
10815 (exp_test_towardzero): Likewise.
10816 (exp_test_downward): Likewise.
10817 (exp_test_upward): Likewise.
10818 (main): Call the new functions.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update.
10820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10821
b1eeb65d
CD
108222012-03-01 Chris Demetriou <cgd@google.com>
10823
10824 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10825 have predictable order.
10826
53362a4b
DM
108272012-03-01 David S. Miller <davem@davemloft.net>
10828
3c969083
DM
10829 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10830
759707de
DM
10831 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10833 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10834 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10835
dfdb8ff2
DM
10836 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10837 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10838 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10841 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10842 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10844 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10845
ead89f96
DM
10846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10847
7f66bd07
DM
10848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10849 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10850 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10851
53362a4b
DM
10852 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10854 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10855 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10856 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10857 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10859 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10860 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10861 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10862 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10865 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10868 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10869 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10870 * sysdeps/sparc/elf/configure: Regenerated.
10871
7b1902cb
JM
108722012-03-01 Joseph Myers <joseph@codesourcery.com>
10873
bec039bc
JM
10874 * configure.in (AS, LD): Require binutils 2.20 or later.
10875 * configure: Regenerated.
10876 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10877 as required minimum version.
10878 * INSTALL: Regenerated.
10879
7b1902cb
JM
10880 [BZ #2541]
10881 [BZ #4108]
10882 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10883 before squaring exponent.
10884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10885 bottom long double and 27 bits of top long double before squaring
10886 exponent.
10887 * math/libm-test.inc (erfc_test): Add more tests.
10888 * sysdeps/i386/fpu/libm-test-ulps: Update.
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10891
f775c276
KT
108922012-03-01 Kai Tietz <ktietz@redhat.com>
10893
10894 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10895 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10896 containing bit-fields.
10897 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10898 * soft-fp/single.h (_FP_UNION_S): Likewise.
10899 * soft-fp/double.h (_FP_UNION_D): Likewise.
10900
5b8a4d4a
JM
109012012-02-29 Joseph Myers <joseph@codesourcery.com>
10902
0bab47b6
JM
10903 [BZ #13786]
10904 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10905 not include ../strcmp.S.
10906 [USE_AS_STRNCASECMP_L]: Likewise.
10907 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10908 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10909 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10910 (__strncasecmp_l_ia32): Define as alias to
10911 __strncasecmp_l_nonascii.
10912
0fcad3e2
JM
10913 [BZ #5794]
10914 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10915 * sysdeps/i386/fpu/libm-test-ulps: Update.
10916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10917
5b8a4d4a
JM
10918 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10920
8fdceb2e
JL
109212012-02-29 Jeff Law <law@redhat.com>
10922
10923 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10924 out of bounds read.
10925
1f393a11
MP
109262012-02-29 Marek Polacek <polacek@redhat.com>
10927
10928 [BZ #13706]
10929 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10930 * elf/Makefile: Add rules to run tst-unused-dep.out.
10931
8847f037
DM
109322012-02-28 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10935 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10939 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10940
169d7f11
JM
109412012-02-29 Joseph Myers <joseph@codesourcery.com>
10942
10943 * math/libm-test.inc (llround_test): Move one test from
10944 lround_test. Use TEST_f_L in moved test.
10945 (lround_test): Move misplaced test to llround_test. Add testcase
10946 from bug 2561.
10947
39adf059
UD
109482012-02-28 Ulrich Drepper <drepper@gmail.com>
10949
10950 * sysdeps/x86_64/fpu/e_expf.S: New file.
10951 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10952
71b5d1c5
SB
109532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10954
10955 [BZ #13637]
10956 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10957 of remain_len that may cause incomplete multi-byte character and
10958 false match.
10959 * posix/bug-regex33.c: New file.
10960 * posix/Makefile (tests): Add bug-regex33.
10961
1f77f049
JM
109622012-02-28 Joseph Myers <joseph@codesourcery.com>
10963
10964 * manual/macros.texi: New file.
10965 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10966 * manual/libc.texinfo: Include macros.texi.
10967 * manual/creatute.texi: Likewise.
10968 * manual/install.texi: Likewise.
10969 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10970 @glibcadj{} in references to the GNU C Library.
10971 * manual/charset.texi: Likewise.
10972 * manual/conf.texi: Likewise.
10973 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10974 when not using those macros.
10975 * manual/creature.texi: Likewise.
10976 * manual/crypt.texi: Likewise.
10977 * manual/errno.texi: Likewise.
10978 * manual/filesys.texi: Likewise.
10979 * manual/header.texi: Likewise.
10980 * manual/install.texi: Likewise.
10981 * manual/intro.texi: Likewise.
10982 * manual/io.texi: Likewise.
10983 * manual/job.texi: Likewise.
10984 * manual/lang.texi: Likewise.
10985 * manual/libc.texiinfo: Likewise.
10986 * manual/llio.texi: Likewise.
10987 * manual/locale.texi: Likewise.
10988 * manual/maint.texi: Likewise.
10989 * manual/math.texi: Likewise.
10990 * manual/memory.texi: Likewise.
10991 * manual/message.texi: Likewise.
10992 * manual/nss.texi: Likewise.
10993 * manual/pattern.texi: Likewise.
10994 * manual/process.texi: Likewise.
10995 * manual/resource.texi: Likewise.
10996 * manual/search.texi: Likewise.
10997 * manual/setjmp.texi: Likewise.
10998 * manual/signal.texi: Likewise.
10999 * manual/socket.texi: Likewise.
11000 * manual/startup.texi: Likewise.
11001 * manual/stdio.texi: Likewise.
11002 * manual/string.texi: Likewise.
11003 * manual/sysinfo.texi: Likewise.
11004 * manual/syslog.texi: Likewise.
11005 * manual/terminal.texi: Likewise.
11006 * manual/time.texi: Likewise.
11007 * manual/users.texi: Likewise.
11008 * INSTALL: Regenerated.
11009 * NOTES: Regenerated.
d40c5d54 11010 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11011
450bf206
AS
110122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11013
11014 * include/dirent.h: Include <dirstream.h> before
11015 <dirent/dirent.h>.
11016
741a235b
DM
110172012-02-28 David S. Miller <davem@davemloft.net>
11018
11019 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11020 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11021 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11022 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11023
d6b5aa58
DM
110242012-02-27 David S. Miller <davem@davemloft.net>
11025
1aff59a3
DM
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11030
d6b5aa58
DM
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11032 frame pointer instead of stack pointer relative arg slot.
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11034 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11035 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11036
433f48bf
CD
110372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11038
11039 [BZ #3992]
11040 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11041
d674b76d
DM
110422012-02-27 David S. Miller <davem@davemloft.net>
11043
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11048 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11049 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11050 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11051 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11052
0e7727f7
JM
110532012-02-27 Joseph Myers <joseph@codesourcery.com>
11054
11055 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11056 later. Allow versions 5-9.
43be4ca2 11057 * configure: Regenerated.
0e7727f7
JM
11058 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11059 required minimum version and 4.6 as recommended version. Do not
11060 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11061 * INSTALL: Regenerated.
0e7727f7 11062
a78bc654
DM
110632012-02-27 David S. Miller <davem@davemloft.net>
11064
428d5830
DM
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11069 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11073
a78bc654
DM
11074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11075 manipulate bits before adding and subtracting TWO112[sx].
11076 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11077
4579f81c
RM
110782012-02-27 Roland McGrath <roland@hack.frob.com>
11079
36c8acb4
RM
11080 [BZ #13775]
11081 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11082 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11083 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11084 being in POSIX, because they are in 1003.1-2008.
11085
84ad622b
RM
11086 * rt/tst-aio.c: Include <fcntl.h>.
11087 * rt/tst-aio7.c: Likewise.
11088 * rt/tst-aio64.c: Likewise.
11089
4579f81c
RM
11090 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11091
abd923db
JM
110922012-02-27 Joseph Myers <joseph@codesourcery.com>
11093
11094 * manual/install.texi (--with-headers): Describe headers as
11095 interface headers, not private headers.
11096 (Specific advice for GNU/Linux systems): Describe use of headers
11097 from "make headers_install", not private headers from older
11098 kernels.
43be4ca2 11099 * INSTALL: Regenerated.
abd923db
JM
11100 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11101 Change to 2.6.19.
11102 * sysdeps/unix/sysv/linux/configure: Regenerated.
11103
6664049b
JM
11104 * manual/llio.texi (fclean): Remove documentation.
11105
bb8b6697
JM
11106 * manual/Makefile (libc-texi-generated): New variable. Include
11107 version.texi.
11108 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11109 $(libc-texi-generated), not duplicated list of files.
11110 (version.texi, stamp-version): New rules.
11111 (realclean): Remove $(libc-texi-generated), not individual files
11112 from that list. Do not remove dir-add.texinfo.
11113 * manual/libc.texinfo: Comment out uses of edition numbers and
11114 references to printed manual. Remove last-updated dates.
11115 (EDITION): Comment out.
11116 (ISBN): Likewise.
11117 (VERSION, UPDATED): Remove.
11118 (version.texi): Include.
11119
12e5c3b9
AS
111202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11121
11122 * sysdeps/posix/spawni.c: Include <signal.h>.
11123 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11124 * sysdeps/pthread/aio_fsync.c: Likewise.
11125
4efeffc1 111262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11127
ba63ba08
UD
11128 * conform/Makefile (tests): Run only when not cross-compiling and
11129 when fast-check is not defined.
11130
d94a4670
UD
11131 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11132 * conform/data/limits.h-data: Fixes for POSIX2008.
11133 * conform/run-conformtest.sh: Run all tests.
11134 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11135 headers.
11136 * include/bits/dlfcn.h: Likewise.
11137 * include/langinfo.h: Likewise.
11138 * include/monetary.h: Likewise.
11139 * include/sys/poll.h: Likewise.
11140
11141 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11142 for __USE_GNU.
11143 * posix/spawn.h: Define __need_sigset_t.
11144 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11145 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11146 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11147 to get sigevent_t only.
11148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11149 only for __USE_GNU.
11150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11151 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11152 process_vm_writev only for __USE_GNU.
11153 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11154
11155 * conform/Makefile: For now ignore errors from run-conformtest.
11156 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11157 POSIX to avoid namespace pollution. Don't prepend headers.
11158 * conform/data/aio.h-data: Fixes for POSIX testing.
11159 * conform/data/fcntl.h-data: Likewise.
11160 * conform/data/glob.h-data: Likewise.
11161 * conform/data/grp.h-data: Likewise.
11162 * conform/data/pthread.h-data: Likewise.
11163 * conform/data/pwd.h-data: Likewise.
11164 * conform/data/signal.h-data: Likewise.
11165 * conform/data/spawn.h-data: Likewise.
11166 * conform/data/stdio.h-data: Likewise.
11167 * conform/data/stdlib.h-data: Likewise.
11168 * conform/data/stropts.h-data: Likewise.
11169 * conform/data/sys/mman.h-data: Likewise.
11170 * conform/data/sys/stat.h-data: Likewise.
11171 * conform/data/sys/types.h-data: Likewise.
11172 * conform/data/sys/wait.h-data: Likewise.
11173 * conform/data/time.h-data: Likewise.
11174 * conform/data/unistd.h-data: Likewise.
11175 * conform/data/utime.h-data: Likewise.
11176
11177 * io/sys/stat.h: fchmod was always in POSIX.
11178 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11179 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11180 * rt/aio.h: Define __need_timespec before including <time.h>.
11181 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11182 struct. Add forward declaration of pthread_attr_t and use it in
11183 sigevent.
11184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11186 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11187 always remove CLK_TCK definition.
11188
c20105c3
AS
111892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11190
11191 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11192
7a270350
UD
111932012-02-25 Ulrich Drepper <drepper@gmail.com>
11194
31341567
UD
11195 * conform/run-conformtest.sh: New file.
11196 * conform/Makefile: Run run-conformtest for tests.
11197 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11198 support.
11199
11200 * conform/data/uchar.h-data: New file.
11201 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11202 * conform/data/arpa/inet.h-data: Likewise.
11203 * conform/data/assert.h-data: Likewise.
11204 * conform/data/complex.h-data: Likewise.
11205 * conform/data/cpio.h-data: Likewise.
11206 * conform/data/ctype.h-data: Likewise.
11207 * conform/data/dirent.h-data: Likewise.
11208 * conform/data/dlfcn.h-data: Likewise.
11209 * conform/data/errno.h-data: Likewise.
11210 * conform/data/fcntl.h-data: Likewise.
11211 * conform/data/float.h-data: Likewise.
11212 * conform/data/fmtmsg.h-data: Likewise.
11213 * conform/data/fnmatch.h-data: Likewise.
11214 * conform/data/ftw.h-data: Likewise.
11215 * conform/data/glob.h-data: Likewise.
11216 * conform/data/grp.h-data: Likewise.
11217 * conform/data/iconv.h-data: Likewise.
11218 * conform/data/inttypes.h-data: Likewise.
11219 * conform/data/langinfo.h-data: Likewise.
11220 * conform/data/libgen.h-data: Likewise.
11221 * conform/data/limits.h-data: Likewise.
11222 * conform/data/locale.h-data: Likewise.
11223 * conform/data/math.h-data: Likewise.
11224 * conform/data/monetary.h-data: Likewise.
11225 * conform/data/mqueue.h-data: Likewise.
11226 * conform/data/ndbm.h-data: Likewise.
11227 * conform/data/net/if.h-data: Likewise.
11228 * conform/data/netdb.h-data: Likewise.
11229 * conform/data/netinet/in.h-data: Likewise.
11230 * conform/data/nl_types.h-data: Likewise.
11231 * conform/data/poll.h-data: Likewise.
11232 * conform/data/pthread.h-data: Likewise.
11233 * conform/data/pwd.h-data: Likewise.
11234 * conform/data/regex.h-data: Likewise.
11235 * conform/data/sched.h-data: Likewise.
11236 * conform/data/search.h-data: Likewise.
11237 * conform/data/semaphore.h-data: Likewise.
11238 * conform/data/setjmp.h-data: Likewise.
11239 * conform/data/signal.h-data: Likewise.
11240 * conform/data/spawn.h-data: Likewise.
11241 * conform/data/stdarg.h-data: Likewise.
11242 * conform/data/stdio.h-data: Likewise.
11243 * conform/data/stdlib.h-data: Likewise.
11244 * conform/data/string.h-data: Likewise.
11245 * conform/data/strings.h-data: Likewise.
11246 * conform/data/stropts.h-data: Likewise.
11247 * conform/data/sys/ipc.h-data: Likewise.
11248 * conform/data/sys/mman.h-data: Likewise.
11249 * conform/data/sys/msg.h-data: Likewise.
11250 * conform/data/sys/resource.h-data: Likewise.
11251 * conform/data/sys/select.h-data: Likewise.
11252 * conform/data/sys/sem.h-data: Likewise.
11253 * conform/data/sys/shm.h-data: Likewise.
11254 * conform/data/sys/socket.h-data: Likewise.
11255 * conform/data/sys/stat.h-data: Likewise.
11256 * conform/data/sys/statvfs.h-data: Likewise.
11257 * conform/data/sys/time.h-data: Likewise.
11258 * conform/data/sys/timeb.h-data: Likewise.
11259 * conform/data/sys/times.h-data: Likewise.
11260 * conform/data/sys/types.h-data: Likewise.
11261 * conform/data/sys/uio.h-data: Likewise.
11262 * conform/data/sys/un.h-data: Likewise.
11263 * conform/data/sys/utsname.h-data: Likewise.
11264 * conform/data/sys/wait.h-data: Likewise.
11265 * conform/data/syslog.h-data: Likewise.
11266 * conform/data/tar.h-data: Likewise.
11267 * conform/data/termios.h-data: Likewise.
11268 * conform/data/utime.h-data: Likewise.
11269 * conform/data/utmpx.h-data: Likewise.
11270 * conform/data/varargs.h-data: Likewise.
11271 * conform/data/wchar.h-data: Likewise.
11272 * conform/data/wctype.h-data: Likewise.
11273 * conform/data/wordexp.h-data: Likewise.
11274
11275 * include/stropts.h: New file.
11276 * include/uchar.h: New file.
11277 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11278 * include/assert.h: Likewise.
11279 * include/ctype.h: Likewise.
11280 * include/dirent.h: Likewise.
11281 * include/dlfcn.h: Likewise.
11282 * include/fcntl.h: Likewise.
11283 * include/fnmatch.h: Likewise.
11284 * include/glob.h: Likewise.
11285 * include/grp.h: Likewise.
11286 * include/libio.h: Likewise.
11287 * include/locale.h: Likewise.
11288 * include/math.h: Likewise.
11289 * include/net/if.h: Likewise.
11290 * include/netdb.h: Likewise.
11291 * include/netinet/in.h: Likewise.
11292 * include/pthread.h: Likewise.
11293 * include/pwd.h: Likewise.
11294 * include/regex.h: Likewise.
11295 * include/sched.h: Likewise.
11296 * include/search.h: Likewise.
11297 * include/setjmp.h: Likewise.
11298 * include/signal.h: Likewise.
11299 * include/stdio.h: Likewise.
11300 * include/stdlib.h: Likewise.
11301 * include/string.h: Likewise.
11302 * include/sys/cdefs.h: Likewise.
11303 * include/sys/mman.h: Likewise.
11304 * include/sys/msg.h: Likewise.
11305 * include/sys/resource.h: Likewise.
11306 * include/sys/select.h: Likewise.
11307 * include/sys/socket.h: Likewise.
11308 * include/sys/stat.h: Likewise.
11309 * include/sys/statvfs.h: Likewise.
11310 * include/sys/time.h: Likewise.
11311 * include/sys/times.h: Likewise.
11312 * include/sys/uio.h: Likewise.
11313 * include/sys/utsname.h: Likewise.
11314 * include/sys/wait.h: Likewise.
11315 * include/termios.h: Likewise.
11316 * include/time.h: Likewise.
11317 * include/ulimit.h: Likewise.
11318 * include/unistd.h: Likewise.
11319 * include/utime.h: Likewise.
11320 * include/wchar.h: Likewise.
11321 * include/wctype.h: Likewise.
11322 * include/wordexp.h: Likewise.
11323
11324 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11325
7a270350
UD
11326 * time/time.h: TIME_UTC must be a macro.
11327 Make timespec_get available for ISO C11 only as well.
11328
7724defc
UD
113292012-02-24 Ulrich Drepper <drepper@gmail.com>
11330
11331 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11332 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11333
6b1d1d46
JM
113342012-02-24 Joseph Myers <joseph@codesourcery.com>
11335
11336 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11337
0f8bbd69
JM
113382012-02-24 Joseph Myers <joseph@codesourcery.com>
11339
11340 * manual/texinfo.tex: Update to version 2012-01-19.16.
11341
66ab80bc
JM
113422012-02-24 Joseph Myers <joseph@codesourcery.com>
11343
11344 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11345
74981cc5
RM
113462012-02-24 Roland McGrath <roland@hack.frob.com>
11347
ee968201
RM
11348 [BZ #13738]
11349 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11350 * manual/fdl-1.3.texi: New file.
11351 * manual/fdl-1.1.texi: File removed.
11352
74981cc5
RM
11353 [BZ #13738]
11354 * manual/libc.texinfo (FDL_VERSION): New @set.
11355 Use it for mention of FDL in cover text.
11356 (Documentation License): Use it in @include file name.
11357
7bb764bc
JM
113582012-02-22 Joseph Myers <joseph@codesourcery.com>
11359 Roland McGrath <roland@hack.frob.com>
11360
11361 [BZ #5461]
11362 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11363 not LONG_LONG_MAX and LONG_LONG_MIN.
11364 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11365 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11366 name.
11367 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11368
6cbeae47
JM
113692012-02-22 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #2547]
11372 [BZ #11365]
11373 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11374 manipulate bits before adding and subtracting TWO23[sx].
11375 * math/libm-test.inc (nearbyint_test): Add more tests.
11376
fe45ce09
JM
113772012-02-22 Joseph Myers <joseph@codesourcery.com>
11378
11379 [BZ #2548]
11380 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11381 bits before adding and subtracting TWO23[sx].
11382 * math/libm-test.inc (rint_test): Add more tests.
11383 (rint_test_tonearest): Likewise.
11384 (rint_test_towardzero): Likewise.
11385 (rint_test_downward): Likewise.
11386 (rint_test_upward: Likewise.
11387
ff3b3d82
JM
113882012-02-22 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #10110]
11391 * include/stdc-predef.h: New file. Extracted from features.h.
11392 * include/features.h: Include stdc-predef.h.
11393 * Makefile (headers): Add stdc-predef.h.
11394 * CONFORMANCE (Compiler limitations): Update.
11395
ef0aab35
JM
113962012-02-22 Joseph Myers <joseph@codesourcery.com>
11397
11398 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11399
58639409
DM
114002012-02-21 David S. Miller <davem@davemloft.net>
11401
11402 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11403 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11404
c0e70b25
DM
114052012-02-20 David S. Miller <davem@davemloft.net>
11406
11407 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11408 using a normal save/restore sequence, rather than allocating a
11409 dummy stack frame just to store a frame pointer and restore.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11411
fb06851d
JM
114122012-02-21 Joseph Myers <joseph@codesourcery.com>
11413
11414 * manual/install.texi: Fix stray word in line-wrapped comment.
11415
7a8b71c3
DM
114162012-02-20 David S. Miller <davem@davemloft.net>
11417
d510c123
DM
11418 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11419 both binutils and gcc support GOTDATA.
11420
0722d7c2
DM
11421 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11422 "rd %pc" in the PIC register setup sequences.
11423
3d2b3019
DM
11424 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11425 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11426 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11427 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11428 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11433 (SYSCALL_ERROR_HANDLER): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11437 (SYSCALL_ERROR_HANDLER): Likewise.
11438
c80098a9
DM
11439 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11440 (HAVE_GCC_GOTDATA): New.
11441 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11442 relocation support in both binutils and gcc.
11443 * sysdeps/sparc/elf/configure: Regenerate.
11444
3a2545a0
DM
11445 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11446 * sysdeps/sparc/sparc32/elf/configure: Delete.
11447 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11448 * sysdeps/sparc/sparc64/elf/configure: Delete.
11449 * sysdeps/sparc/elf/configure.in: New file.
11450 * sysdeps/sparc/elf/configure: Generate.
11451
7a8b71c3
DM
11452 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11453 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11454 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11455 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11456 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11457
f1e86fca
JM
114582012-02-21 Joseph Myers <joseph@codesourcery.com>
11459
11460 * manual/install.texi: Do not mention specific glibc version
11461 numbers.
11462 * manual/libc.texinfo (VERSION, UPDATED): Update.
11463 (@copying): Use @copyright{} and range of years.
11464
0e7dfaef
JM
114652012-02-21 Joseph Myers <joseph@codesourcery.com>
11466
11467 [BZ #13695]
11468 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11469 [crti.S not in sysdirs] (generated): Do not append.
11470 [crti.S not in sysdirs] (omit-deps): Likewise.
11471 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11472 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11473 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11474 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11475 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11476 Likewise.
11477 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11478 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11479 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11480 * csu/defs.awk: Remove file.
11481 * sysdeps/generic/initfini.c: Likewise.
11482 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11483 variable.
11484 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11485 Likewise.
11486
599af3ca
JM
114872012-02-20 Joseph Myers <joseph@codesourcery.com>
11488
11489 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11490 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11494 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11495 <bits/epoll.h>.
11496 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11497 (__EPOLL_PACKED): Define to empty if not defined by
11498 <bits/epoll.h>.
11499 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11501 bits/epoll.h.
11502
0e499750
JM
115032012-02-20 Joseph Myers <joseph@codesourcery.com>
11504
11505 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11506 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11509 <bits/timerfd.h>.
11510 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11512 bits/timerfd.h.
11513
5ad91f6e
JM
115142012-02-20 Joseph Myers <joseph@codesourcery.com>
11515
11516 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11517 in C locale.
11518 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11522
06b99b02
AJ
115232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11524
11525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11526 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11527
7638c0fd
AS
115282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11529
11530 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11531 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11532 defined.
11533 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11534 Likewise.
11535 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11536 entry for 2.16.
11537
92221550
AJ
115382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11539
11540 * math/w_acos.c: Use non-signaling floating-point comparisons.
11541 * math/w_acosf.c: Likewise.
11542 * math/w_acosh.c: Likewise.
11543 * math/w_acoshf.c: Likewise.
11544 * math/w_acoshl.c: Likewise.
11545 * math/w_acosl.c: Likewise.
11546 * math/w_asin.c: Likewise.
11547 * math/w_asinf.c: Likewise.
11548 * math/w_asinl.c: Likewise.
11549 * math/w_atanh.c: Likewise.
11550 * math/w_atanhf.c: Likewise.
11551 * math/w_atanhl.c: Likewise.
11552 * math/w_exp2.c: Likewise.
11553 * math/w_exp2f.c: Likewise.
11554 * math/w_exp2l.c: Likewise.
11555 * math/w_j0.c: Likewise.
11556 * math/w_j0f.c: Likewise.
11557 * math/w_j0l.c: Likewise.
11558 * math/w_j1.c: Likewise.
11559 * math/w_j1f.c: Likewise.
11560 * math/w_j1l.c: Likewise.
11561 * math/w_jn.c: Likewise.
11562 * math/w_jnf.c: Likewise.
11563 * math/w_log.c: Likewise.
11564 * math/w_log10.c: Likewise.
11565 * math/w_log10f.c: Likewise.
11566 * math/w_log10l.c: Likewise.
11567 * math/w_log2.c: Likewise.
11568 * math/w_log2f.c: Likewise.
11569 * math/w_log2l.c: Likewise.
11570 * math/w_logf.c: Likewise.
11571 * math/w_logl.c: Likewise.
11572 * math/w_sqrt.c: Likewise.
11573 * math/w_sqrtf.c: Likewise.
11574 * math/w_sqrtl.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11578 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11580
ebaf36eb
JM
115812012-02-19 Joseph Myers <joseph@codesourcery.com>
11582
11583 [BZ #9739]
11584 * manual/string.texi (strnlen): Use correct parameter name in
11585 equivalent expression.
11586
71c254a6
JM
115872012-02-19 Joseph Myers <joseph@codesourcery.com>
11588
11589 [BZ #11174]
11590 * manual/users.texi (seteuid): Consistently use neweuid for
11591 argument name.
11592
16d2c631
JM
115932012-02-19 Joseph Myers <joseph@codesourcery.com>
11594
11595 [BZ #13704]
11596 * manual/nss.texi (Services in the NSS configuration): Correct
11597 list of services in example configuration file.
11598
cd837b09
NB
115992012-02-19 Nick Bowler <nbowler@draconx.ca>
11600
11601 [BZ #11322]
11602 * manual/arith.texi: Remove statements about negative zero
11603 behaving identically to zero.
11604
02c4bbad
JM
116052012-02-18 Joseph Myers <joseph@codesourcery.com>
11606
11607 [BZ #5993]
11608 * manual/install.texi: Do not document upgrading from libc5.
11609
366842e7
JM
116102012-02-18 Joseph Myers <joseph@codesourcery.com>
11611
11612 [BZ #4596]
11613 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11614
dd54084d
DM
116152012-02-18 David S. Miller <davem@davemloft.net>
11616
11617 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11618 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11619 %o7 across the call.
11620 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11621 instead.
11622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11623 SETUP_PIC_REG_LEAF.
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11625 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11626 * sysdeps/sparc/crtn.S: Likewise.
11627
2bcc53a3
UD
116282012-02-17 Ulrich Drepper <drepper@gmail.com>
11629
11630 * aout/Makefile: Remove.
11631
09c093b5
RK
116322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11633
11634 [BZ #13058]
11635 * manual/examples/argp-ex1.c (main): Format definition in GNU
11636 style.
11637 * manual/examples/argp-ex2.c (main): Likewise.
11638 * manual/examples/argp-ex3.c (main): Likewise.
11639 * manual/examples/argp-ex4.c (main): Likewise.
11640 * manual/examples/longopt.c (main): Use new-style prototype
11641 definition.
11642 * manual/examples/strncat.c (main): Specify return type and use
11643 (void) for arguments.
11644 * manual/examples/subopt.c (main): Use char **argv argument.
11645
2ee633a2
JM
116462012-02-17 Joseph Myers <joseph@codesourcery.com>
11647
11648 [BZ #5077]
11649 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11650 rounding modes.
11651
0520adde
FB
116522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11653
11654 [BZ #6907]
11655 * manual/string.texi (strchr): Change when strchrnul is
11656 recommended.
11657
3f4081cd
DGM
116582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11659
11660 [BZ #174]
11661 * manual/locale.texi (setlocale): Document LOCPATH.
11662
d1b10e78
JM
116632012-02-17 Joseph Myers <joseph@codesourcery.com>
11664
11665 [BZ #10210]
11666 * manual/process.texi (execle): Move @dots{} before last argument.
11667
79c6869c
PB
116682012-02-17 Paul Bolle <pebolle@tiscali.nl>
11669
11670 [BZ #12047]
11671 * manual/charset.texi (Generic Charset Conversion): Fix typo
11672 (LC_TYPE -> LC_CTYPE).
11673
cc6e48bc
NB
116742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11675
11676 [BZ #5805]
11677 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11678 (scalbnf): Likewise.
11679 (scalbnl): Likewise.
11680 (scalbln): Likewise.
11681 (scalblnf): Likewise.
11682 (scalblnl): Likewise.
11683 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11684 (vwarnx): Likewise.
11685 (verr): Likewise.
11686 (verrx): Likewise.
11687 * manual/filesys.texi (telldir): Use braces around return type.
11688 * manual/llio.texi (mmap): Add space after comma.
11689 (mmap64): Likewise.
11690 * manual/math.texi (jn): Use @var{} on parameter names.
11691 (jnf): Likewise.
11692 (jnl): Likewise.
11693 (yn): Likewise.
11694 (ynf): Likewise.
11695 (ynl): Likewise.
11696 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11697 line.
11698 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11699 "...".
11700 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11701 (sched_get_priority_max): Likewise.
11702 * manual/signal.texi (sigvec): Add space after comma.
11703 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11704 names.
11705 (if_indextoname): Likewise.
11706 (if_freenameindex): Likewise.
11707 (sendto): Use ',' instead of '.' in prototype.
11708 * manual/startup.texi (syscall): Use @dots{} instead of literal
11709 "...".
11710 * manual/stdio.texi (__fpending): Separate initial words of
11711 paragraph from @deftypefun line.
11712 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11713 "...".
11714 (vsyslog): Use @var{} on parameter names.
11715 * manual/terminal.texi (stty): Use @var{} on parameter names.
11716 * manual/users.texi (getutmp): Use @var{} on parameter names.
11717 (getutmpx): Likewise.
11718
5b23062f
JM
117192012-02-17 Joseph Myers <joseph@codesourcery.com>
11720
11721 [BZ #6884]
11722 * manual/stdio.texi (fopen): Fix typos in description of
11723 ",ccs=STRING".
11724
8dee4833
AJ
117252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11726
11727 [BZ #4026]
11728 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11729 get clock_id definition.
11730
9078ce93
TS
117312012-02-17 Thomas Schwinge <thomas@schwinge.name>
11732
11733 [BZ #4822]
11734 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11735 (madvise): Cast every argument to void on its own.
11736
3835c55f
JM
117372012-02-17 Joseph Myers <joseph@codesourcery.com>
11738
11739 [BZ #9902]
11740 * manual/startup.texi (Exit Status): Fix typo.
11741
35c47e37
JM
117422012-02-17 Joseph Myers <joseph@codesourcery.com>
11743
11744 [BZ #10140]
11745 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11746 * manual/examples/argp-ex2.c: Likewise.
11747 * manual/examples/argp-ex3.c: Likewise.
11748
e3b69ca7
RH
117492012-02-16 Richard Henderson <rth@redhat.com>
11750
11751 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11752 * sysdeps/s390/s390-32/initfini.c: Remove.
11753 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11754 * sysdeps/s390/s390-64/initfini.c: Remove.
11755
df83af67
KK
117562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11757
11758 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11759 compiler output for sysdeps/generic/initfini.c.
11760 * sysdeps/sh/elf/initfini.c: Remove file.
11761
f63f3380
DM
117622012-02-16 David S. Miller <davem@davemloft.net>
11763
fb59b3a4
DM
11764 [BZ #11494]
11765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11766
f63f3380
DM
11767 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11768 * sysdeps/sparc/crti.S: New file.
11769 * sysdeps/sparc/crtn.S: New file.
11770 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11771 * sysdeps/sparc/sparc64/Makefile: Likewise.
11772
df6a4a4a
MF
117732012-02-15 Mike Frysinger <vapier@gentoo.org>
11774
6dd8f3dc 11775 [BZ #3335]
df6a4a4a
MF
11776 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11777
1cac7236
RM
117782012-02-15 Roland McGrath <roland@hack.frob.com>
11779
d2c736f8
RM
11780 [BZ #4822]
11781 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11782
1cac7236
RM
11783 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11784 (write, read, close): Likewise.
11785 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11786
8e475601
JM
117872012-02-15 Joseph Myers <joseph@codesourcery.com>
11788
11789 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11790 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11792 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11793 <bits/signalfd.h>.
11794 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11796 bits/signalfd.h.
11797
ed656b40
MP
117982012-02-14 Marek Polacek <polacek@redhat.com>
11799
11800 * sysdeps/x86_64/crti.S: New file.
11801 * sysdeps/x86_64/crtn.S: New file.
11802 * sysdeps/x86_64/elf/initfini.c: Remove file.
11803
2a979d3a
JM
118042012-02-13 Joseph Myers <joseph@codesourcery.com>
11805
11806 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11807 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11809 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11810 <bits/inotify.h>.
11811 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11813 bits/inotify.h.
11814
2a418ac3
JM
118152012-02-13 Joseph Myers <joseph@codesourcery.com>
11816
11817 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11818 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11820 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11821 <bits/eventfd.h>.
11822 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11824 bits/eventfd.h.
11825
fb779be7
TS
118262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11827
e19e83c5
RM
11828 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11829 __feraiseexcept instead of feraiseexcept.
7c35ffed 11830
fb779be7
TS
11831 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11832 nanosleep invocations.
11833 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11834 strings, and add error checking for a nanosleep invocations.
11835
59ba27a6
PE
118362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11837
11838 Replace FSF snail mail address with URLs, as per GNU coding standards.
11839 Most of the snail mail addresses were wrong anyway, and omitting
11840 them makes the source code easier to maintain. Almost all of the
11841 changes are to license notices and to locale LC_IDENTIFICATION
11842 addresses, except for this one:
11843 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11844 not its snail mail address.
11845
57b957eb
RH
118462012-02-09 Richard Henderson <rth@twiddle.net>
11847
af850b1c
RH
11848 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11849 of kernel-features.h.
11850
57b957eb
RH
11851 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11852
6b73181a
MP
118532012-02-08 Marek Polacek <polacek@redhat.com>
11854
11855 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11856 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11857 * sysdeps/gnu/_G_config.h: Likewise.
11858 * sysdeps/generic/_G_config.h: Likewise.
11859
26ecc33a
AS
118602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11861
6c6dbc63
AS
11862 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11863 tests.
11864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11865
e216c012
AS
11866 * sysdeps/powerpc/powerpc32/crti.S: New file.
11867 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11868 * sysdeps/powerpc/powerpc64/crti.S: New file.
11869 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11870
26ecc33a
AS
11871 * Makeconfig (have-initfini): Don't set.
11872 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11873 * configure.in (nopic_initfini): Don't substitute.
11874 * config.h.in (HAVE_INITFINI): Don't #undef.
11875 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11876 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11877
3add8e13
JM
118782012-02-08 Joseph Myers <joseph@codesourcery.com>
11879
11880 Support crti.S and crtn.S provided directly by architectures.
11881 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11882 [crti.S in sysdirs] (omit-deps): Likewise.
11883 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11884 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11885 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11886 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11887 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11888 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11889 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11890 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11891 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11892 compiler output for sysdeps/generic/initfini.c.
11893 * sysdeps/i386/elf/Makefile: Remove file.
11894 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11895
a22f12b4
MP
118962012-02-07 Marek Polacek <polacek@redhat.com>
11897
11898 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11899 * sysdeps/gnu/_G_config.h: Likewise.
11900 * sysdeps/mach/hurd/_G_config.h: Likewise.
11901
148cf100
MP
119022012-02-07 Marek Polacek <polacek@redhat.com>
11903
11904 * math/Makefile (tests): Add tst-CMPLX2.
11905 * math/tst-CMPLX2.c: New file.
11906
cfdc0dd7
AS
119072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11908
84ba42c4
AS
11909 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11910
cfdc0dd7
AS
11911 * math/libm-test.inc (jn_test): Add missing L suffix.
11912
622c86f4
MP
119132012-02-06 Marek Polacek <polacek@redhat.com>
11914
11915 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11916 * sysdeps/i386/fpu/e_powf.S: Likewise.
11917 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11918 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11919 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11920 * sysdeps/i386/fpu/e_pow.S: Likewise.
11921 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11922 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11923 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11924 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11925 * sysdeps/i386/fpu/e_log2.S: Likewise.
11926 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11927 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11928 * sysdeps/i386/fpu/e_powl.S: Likewise.
11929 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11930 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11931 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11932 * sysdeps/i386/fpu/e_logl.S: Likewise.
11933 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11934 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11935 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11936 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11937 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11938 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11939 * sysdeps/i386/fpu/e_log.S: Likewise.
11940 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11941 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11942 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11943 * sysdeps/i386/fpu/e_logf.S: Likewise.
11944 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11945 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11946 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11947 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11948 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11949 * sysdeps/i386/fpu/e_log10.S: Likewise.
11950 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11951 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11952 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11953 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11954 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11955 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11956 * sysdeps/i386/asm-syntax.h: Likewise.
11957 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11958 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11959 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11960 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11961 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11962 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11963 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11964 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11965 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11966 * sysdeps/powerpc/sysdep.h: Likewise.
11967 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11968 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11969
d4a54ac6
JM
119702012-02-06 Joseph Myers <joseph@codesourcery.com>
11971
11972 [BZ #411]
11973 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11974
314054ea
JM
119752012-02-06 Joseph Myers <joseph@codesourcery.com>
11976
11977 * sysdeps/i386/sysdep.h: Include <features.h>.
11978 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11979 version.
11980
d8e0ca50
JM
119812012-02-05 Joseph Myers <joseph@codesourcery.com>
11982
11983 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11984 Define.
11985 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11986 LOAD_PIC_REG_STR.
11987
b1da7dd9
JM
119882012-02-03 Joseph Myers <joseph@codesourcery.com>
11989
11990 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11991 (SETUP_PIC_REG): Use GET_PC_THUNK.
11992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11993 macro.
11994
9a1d9254
JM
119952012-02-03 Joseph Myers <joseph@codesourcery.com>
11996
11997 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11998 for non-PIC compilation.
11999 (SETUP_PIC_REG): Add .p2align directive.
12000 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12001 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12041
65dc3b75
JM
120422012-02-03 Joseph Myers <joseph@codesourcery.com>
12043
12044 * math/tst-CMPLX.c: Include <stdio.h>.
12045
d55bf177
JM
120462012-01-31 Joseph Myers <joseph@codesourcery.com>
12047
12048 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12049 float.
12050 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12051 * sysdeps/sparc/bits/mathdef.h: Likewise.
12052
69db4f8f
MP
120532012-01-31 Marek Polacek <polacek@redhat.com>
12054
12055 * libio/libio.h: Don't define _PARAMS.
12056 * locale/programs/config.h: Don't define PARAMS.
12057 * stdlib/strtol_l.c: Likewise.
12058 (__strtol_l): Remove PARAMS from the prototype.
12059
41b81892
UD
120602012-01-31 Ulrich Drepper <drepper@gmail.com>
12061
3b49edc0
UD
12062 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12063 names. Just use the correct names. Remove unnecessary wrapper
12064 functions.
12065 * malloc/arena.c: Likewise.
12066 * malloc/hooks.c: Likewise.
12067
41b81892
UD
12068 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12069 ARENA_TEST says not to. Simplify test for creation of a new arena.
12070 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12071
27a25b6e
UD
120722012-01-30 Ulrich Drepper <drepper@gmail.com>
12073
12074 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12075 into tail calls.
12076 (update_get_addr): New function.
12077 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12078 GET_ADDR_MODULE parameter.
12079
c8a89e7d
JM
120802012-01-30 Joseph Myers <joseph@codesourcery.com>
12081
12082 * crypt/cert.c: Remove __STDC__ conditionals.
12083 * crypt/crypt-entry.c: Likewise.
12084 * crypt/crypt_util.c: Likewise.
12085 * libio/filedoalloc.c: Likewise.
12086 * libio/fileops.c: Likewise.
12087 * libio/genops.c: Likewise.
12088 * libio/iofclose.c: Likewise.
12089 * libio/iofdopen.c: Likewise.
12090 * libio/iofopen.c: Likewise.
12091 * libio/iofopen64.c: Likewise.
12092 * libio/iogetdelim.c: Likewise.
12093 * libio/iopopen.c: Likewise.
12094 * libio/obprintf.c: Likewise.
12095 * libio/oldfileops.c: Likewise.
12096 * libio/oldiofclose.c: Likewise.
12097 * libio/oldiofdopen.c: Likewise.
12098 * libio/oldiofopen.c: Likewise.
12099 * libio/oldiopopen.c: Likewise.
12100 * libio/wfiledoalloc.c: Likewise.
12101 * libio/wgenops.c: Likewise.
12102 * locale/programs/xmalloc.c: Likewise.
12103 * misc/syslog.c: Likewise.
12104 * stdio-common/xbug.c: Likewise.
12105 * string/memchr.c: Likewise.
12106 * string/memcmp.c: Likewise.
12107 * string/memrchr.c: Likewise.
12108 * string/rawmemchr.c: Likewise.
12109 * sysdeps/posix/getcwd.c: Likewise.
12110 * time/strftime_l.c: Likewise.
12111
3b100462
JM
121122012-01-30 Joseph Myers <joseph@codesourcery.com>
12113
12114 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12115 * config.make.in (config-cflags-sse2avx): Define.
12116 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12117 Fix typo.
12118
607998af
CM
121192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12120
12121 * scripts/config.guess: Update from upstream config git repository.
12122 * scripts/config.sub: Likewise.
12123
3601428f
CM
121242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12125
3ac8b282
CM
12126 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12127 (EM_NUM): Update.
12128 (R_TILEPRO_*, R_TILEGX_*): New macros.
12129
e034841e
CM
12130 * scripts/firstversions.awk: Fix bug in version range handling.
12131
540d7568
CM
12132 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12133
3601428f
CM
12134 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12135
463de862
CM
12136 * include/sys/epoll.h: New file.
12137 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12138 libc_hidden_def.
12139
73139a76
UD
121402012-01-28 Ulrich Drepper <drepper@gmail.com>
12141
96bc5b45
UD
12142 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12143 Avoid unnecessary __WORDSIZE == 64 test.
12144 (fmaxf): Use VEX format if possible.
12145 (fmax): Likewise.
12146 (fminf): Likewise.
12147 (fmin): Likewise.
12148
56f6f6a2
UD
12149 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12150 * math/math_private.h: Remove libc_fegetround* and
12151 libc_fesetround*.
12152 * sysdeps/i386/configure.in: Check for -msse2avx.
12153 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12154 also if SSE2AVX is defined.
12155 Remove libc_fegetround* and libc_fesetround*.
12156 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12157 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12159 of HAS_YMM_USABLE.
12160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12165
73139a76
UD
12166 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12167
d73f93a4
AZ
121682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12169
12170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12171 size is not set.
12172 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12173
6ee65ed6
UD
121742012-01-27 Ulrich Drepper <drepper@gmail.com>
12175
12176 [BZ #13618]
12177 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12178 relocation.
12179 * Makeconfig (libm): Define.
12180 * elf/Makefile: Add rules to build and run tst-relsort1.
12181 * elf/tst-relsort1.c: New file.
12182 * elf/tst-relsort1mod1.c: New file.
12183 * elf/tst-relsort1mod2.c: New file.
12184
8db21882
JM
121852012-01-27 Joseph Myers <joseph@codesourcery.com>
12186
12187 * math/s_ldexp.c: Remove __STDC__ conditionals.
12188 * math/s_ldexpf.c: Likewise.
12189 * math/s_ldexpl.c: Likewise.
12190 * math/s_nextafter.c: Likewise.
12191 * math/s_nexttowardf.c: Likewise.
12192 * math/s_significand.c: Likewise.
12193 * math/s_significandf.c: Likewise.
12194 * math/s_significandl.c: Likewise.
12195 * math/w_jnl.c: Likewise.
12196 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12197 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12198 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12199 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12200 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12218 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12220 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12221 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12222 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12224 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12227 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12228 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12229 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12230 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12234 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12235 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12236 * sysdeps/ieee754/k_standard.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12316 * sysdeps/ieee754/s_matherr.c: Likewise.
12317 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12318 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12321
965a54a4
JM
123222012-01-26 Joseph Myers <joseph@codesourcery.com>
12323
12324 * crypt/md5.h: Remove __STDC__ conditionals.
12325 * libio/libioP.h: Likewise.
12326 * locale/programs/config.h: Likewise.
12327 * sysdeps/generic/sysdep.h: Likewise.
12328 * sysdeps/i386/asm-syntax.h: Likewise.
12329 * sysdeps/s390/asm-syntax.h: Likewise.
12330 * sysdeps/unix/sysdep.h: Likewise.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12333
7071ad79
JM
123342012-01-26 Joseph Myers <joseph@codesourcery.com>
12335
12336 * libio/libio.h: Remove __STDC__ conditionals.
12337 * malloc/obstack.h: Likewise.
12338 * math/complex.h: Likewise.
12339 * math/math.h: Likewise.
12340 * sysdeps/generic/_G_config.h: Likewise.
12341 * sysdeps/gnu/_G_config.h: Likewise.
12342 * sysdeps/mach/hurd/_G_config.h: Likewise.
12343 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12344 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12345 * sysdeps/sparc/bits/mathdef.h: Likewise.
12346
afc5ed09
UD
123472012-01-26 Ulrich Drepper <drepper@gmail.com>
12348
12349 [BZ #13583]
12350 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12351 Clean up HAS_* macros.
afc5ed09 12352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12353 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12354 possible.
12355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12356 HAS_AVX.
12357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12362
bdb6de1d
JM
123632012-01-25 Joseph Myers <joseph@codesourcery.com>
12364
12365 * elf/tst-unique3.cc (gets): Remove declaration.
12366 * elf/tst-unique3lib.cc (gets): Likewise.
12367 * elf/tst-unique3lib2.cc (gets): Likewise.
12368 * elf/tst-unique4.cc (gets): Likewise.
12369
b15549e6
UD
123702012-01-24 Ulrich Drepper <drepper@gmail.com>
12371
12372 * include/stdio.h: Add C++ protection. Add gets declarations and
12373 definitions.
12374 * debug/tst-chk1.c: Don't declare gets here.
12375 * stdio-common/tst-gets.c: Likewise.
12376
a037381f
JM
123772012-01-24 Joseph Myers <joseph@codesourcery.com>
12378
12379 * posix/glob: Remove directory.
12380
f1d4aa75
JM
123812012-01-24 Joseph Myers <joseph@codesourcery.com>
12382
12383 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12384
81c0c964
PT
123852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12386
12387 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12388 of the non-standard EPFNOSUPPORT.
12389
0ea698ae
ST
123902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12391
12392 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12393 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12394 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12395
d220b117
UD
123962012-01-21 Ulrich Drepper <drepper@gmail.com>
12397
12398 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12399
3e1aa84e
UD
124002012-01-20 Ulrich Drepper <drepper@gmail.com>
12401
12402 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12403 transient errors.
12404 * nscd/grpcache.c (cache_addgr): Likewise.
12405 * nscd/hstcache.c (cache_addhst): Likewise.
12406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12407 * nscd/pwdcache.c (cache_addpw): Likewise.
12408 * nscd/servicescache.c (cache_addserv): Likewise.
12409
400aa020
UD
124102012-01-16 Ulrich Drepper <drepper@gmail.com>
12411
d77e7869
UD
12412 * malloc/malloc.c: Various cleanups.
12413 * malloc/hooks.c: Likewise.
12414
400aa020
UD
12415 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12416 * stdlib/bug-fmtmsg1.c: New file.
12417
12418 * stdlib/fmtmsg.c (init): Add missing unlock.
12419 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12420
e0a309cf
MP
124212012-01-12 Marek Polacek <polacek@redhat.com>
12422
12423 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12424 and _GNU_SOURCE.
12425
929d11c7
WS
124262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12427
12428 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12429 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12430 macro to ensure uniqueness of label name.
12431 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12432 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12433
41d0e869
UD
124342012-01-11 Ulrich Drepper <drepper@gmail.com>
12435
0cc5ed3b
UD
12436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12437
41d0e869
UD
12438 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12439 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12440 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12442
a47a831a
UD
124432012-01-10 Ulrich Drepper <drepper@gmail.com>
12444
daa891c0
UD
12445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12446
12447 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12448 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12450
e58ef0f2
UD
12451 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12452
a47a831a 12453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12454 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12457
12458 * math/bits/math-finite.h: Add ldexp support.
12459
a0bfc9c7
MP
124602012-01-10 Marek Polacek <polacek@redhat.com>
12461
12462 * locale/programs/localedef.h (show_archive_content): Add noreturn
12463 attribute.
12464
d6e97a1d
UD
124652012-01-09 Ulrich Drepper <drepper@gmail.com>
12466
12467 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12468
d5835c26
UD
124692012-01-08 Ulrich Drepper <drepper@gmail.com>
12470
e5f484c6
UD
12471 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12472
d5835c26
UD
12473 * io/Makefile (headers): Add bits/poll2.h.
12474
d1f741e9
WS
124752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12476
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12478 typo #include statement.
12479
ec09c1c4
UD
124802012-01-08 Ulrich Drepper <drepper@gmail.com>
12481
12482 * include/sys/cdefs.h: Define __attribute_alloc_size.
12483 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12484 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12485 * elf/pldd.c: Likewise.
12486 * iconv/iconv_charmap.c: Likewise.
12487 * iconv/iconvconfig.c: Likewise.
12488 * iconv/strtab.c: Likewise.
12489 * locale/programs/locale.c: Likewise.
12490 * locale/programs/localedef.h: Likewise.
12491 * locale/programs/simple-hash.c: Likewise.
12492 * nscd/nscd.h: Likewise.
12493 * nss/makedb.c: Likewise.
12494 * sysdeps/generic/ldconfig.h: Likewise.
12495 * locale/programs/localedef.c: Remove xmalloc prototype.
12496 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12497
20b38e03
PP
124982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12499
12500 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12501 appropriate.
12502
a0da5fe1
UD
125032012-01-08 Ulrich Drepper <drepper@gmail.com>
12504
1d5a644a 12505 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12506 * math/tst-CMPLX.c: New file.
1d5a644a 12507
8784a6db
UD
12508 * math/complex.h (CMPLXL): Fix typo.
12509
d9a216c0
UD
12510 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12511 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12512 GLIBC_2.16.
12513 * debug/tst-chk1.c: Add poll and ppoll tests.
12514 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12515 * include/sys/poll.h: Add hidden proto for ppoll.
12516 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12517 * sysdeps/mach/hurd/ppoll.c: Likewise.
12518 * io/ppoll.c: Likewise.
12519 * debug/poll_chk.c: New file.
12520 * debug/ppoll_chk.c: New file.
12521 * include/bits/poll2.h: New file.
12522 * io/bits/poll2.h: New file.
12523
ac097f5c
UD
12524 [BZ #1350]
12525 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12526
2119dcfa
UD
12527 * configure.in: static is always set to yes. Remove.
12528 * config.make.in: Don't set build-static.
12529 * Makeconfig: Remove use of build-static.
12530 * dlfcn/Makefile: Likewise.
12531 * elf/Makefile: Likewise.
12532 * math/Makefile: Likewise.
12533 * misc/Makefile: Likewise.
12534 * nptl/Makefile: Likewise.
12535 * sysdeps/mach/hurd/Makefile: Likewise.
12536
121766a9
UD
12537 * configure.in: PWD_P is not used anymore.
12538 * config.make.in: Remove PWD_P entry.
12539
51a1d39c 12540 * configure.in: Remove last remnants of RANLIB.
8720d066 12541 No need to check for signed size_t anymore.
215f4bdc
UD
12542 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12543 and IA-64.
3857022a 12544 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12545 * aclocal.m4: Likewise.
12546
d3ed7225
UD
12547 * wcsmbs/mbrtoc16.c: Implement using towc function.
12548 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12549 * wcsmbs/wcsmbsload.c: Likewise.
12550 * iconv/gconv_simple.c: Likewise.
12551 * iconv/gconv_int.h: Likewise.
12552 * iconv/gconv_builtin.h: Likewise.
12553 * iconv/iconv_prog.c: Remove CHAR16 handling.
12554
12555 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12556
12557 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12558
a0da5fe1
UD
12559 * configure.in: Remove --with-elf and --enable-bounded options.
12560 Dont set base_machine for ia64. More non-ELF conditions removed.
12561 Remove testing and setting of leading underscore information.
12562 * config.make.in (build-bounded): Set to no.
12563 * config.h.in: Remove NO_UNDERSCORES entry.
12564 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12565 them.
12566 * csu/start.c: Remove !NO_UNDERSCORE code.
12567 * locale/localeinfo.h: Likewise.
12568 * sysdeps/generic/machine-gmon.h: Likewise.
12569 * sysdeps/generic/sysdep.h: Likewise.
12570 * sysdeps/i386/sysdep.h: Likewise.
12571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12572 * sysdeps/mach/sysdep.h: Likewise.
12573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12575 * sysdeps/sh/sysdep.h: Likewise.
12576 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12577 * sysdeps/unix/i386/sysdep.S: Likewise.
12578 * sysdeps/unix/sparc/start.c: Likewise.
12579 * sysdeps/unix/sparc/sysdep.S: Likewise.
12580 * sysdeps/unix/sparc/sysdep.h: Likewise.
12581 * sysdeps/unix/start.c: Likewise.
12582 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12583 * sysdeps/x86_64/sysdep.h: Likewise.
12584
df78418a
UD
125852012-01-07 Ulrich Drepper <drepper@gmail.com>
12586
a784e502
UD
12587 [BZ #13553]
12588 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12589 for non-gcc.
12590 * argp/argp-fmtstream.h: Use const instead __const.
12591 * argp/argp.h: Likewise.
12592 * assert/assert.h: Likewise.
12593 * bits/fenv.h: Likewise.
12594 * bits/sched.h: Likewise.
12595 * bits/sigset.h: Likewise.
12596 * bits/sigthread.h: Likewise.
12597 * catgets/nl_types.h: Likewise.
12598 * conform/data/pthread.h-data: Likewise.
12599 * crypt/crypt-private.h: Likewise.
12600 * crypt/crypt.h: Likewise.
12601 * crypt/crypt_util.c: Likewise.
12602 * ctype/ctype.h: Likewise.
12603 * debug/execinfo.h: Likewise.
12604 * debug/mbsnrtowcs_chk.c: Likewise.
12605 * debug/mbsrtowcs_chk.c: Likewise.
12606 * debug/wcsnrtombs_chk.c: Likewise.
12607 * debug/wcsrtombs_chk.c: Likewise.
12608 * debug/wcstombs_chk.c: Likewise.
12609 * dirent/dirent.h: Likewise.
12610 * dlfcn/dlfcn.h: Likewise.
12611 * elf/neededtest4.c: Likewise.
12612 * grp/grp.h: Likewise.
12613 * gshadow/gshadow.h: Likewise.
12614 * iconv/gconv.h: Likewise.
12615 * iconv/gconv_int.h: Likewise.
12616 * iconv/gconv_simple.c: Likewise.
12617 * iconv/iconv.h: Likewise.
12618 * iconv/loop.c: Likewise.
12619 * iconv/skeleton.c: Likewise.
12620 * include/aio.h: Likewise.
12621 * include/aliases.h: Likewise.
12622 * include/argz.h: Likewise.
12623 * include/arpa/inet.h: Likewise.
12624 * include/assert.h: Likewise.
12625 * include/dirent.h: Likewise.
12626 * include/dlfcn.h: Likewise.
12627 * include/execinfo.h: Likewise.
12628 * include/fcntl.h: Likewise.
12629 * include/fenv.h: Likewise.
12630 * include/glob.h: Likewise.
12631 * include/grp.h: Likewise.
12632 * include/libintl.h: Likewise.
12633 * include/mntent.h: Likewise.
12634 * include/netdb.h: Likewise.
12635 * include/pwd.h: Likewise.
12636 * include/rpc/netdb.h: Likewise.
12637 * include/sched.h: Likewise.
12638 * include/search.h: Likewise.
12639 * include/shadow.h: Likewise.
12640 * include/signal.h: Likewise.
12641 * include/stdio.h: Likewise.
12642 * include/stdlib.h: Likewise.
12643 * include/string.h: Likewise.
12644 * include/sys/socket.h: Likewise.
12645 * include/sys/stat.h: Likewise.
12646 * include/sys/statfs.h: Likewise.
12647 * include/sys/statvfs.h: Likewise.
12648 * include/sys/syslog.h: Likewise.
12649 * include/sys/time.h: Likewise.
12650 * include/sys/uio.h: Likewise.
12651 * include/time.h: Likewise.
12652 * include/unistd.h: Likewise.
12653 * include/utmp.h: Likewise.
12654 * include/wchar.h: Likewise.
12655 * include/wctype.h: Likewise.
12656 * inet/aliases.h: Likewise.
12657 * inet/arpa/inet.h: Likewise.
12658 * inet/netinet/ether.h: Likewise.
12659 * inet/netinet/in.h: Likewise.
12660 * intl/libintl.h: Likewise.
12661 * io/bits/fcntl2.h: Likewise.
12662 * io/fcntl.h: Likewise.
12663 * io/ftw.h: Likewise.
12664 * io/sys/poll.h: Likewise.
12665 * io/sys/stat.h: Likewise.
12666 * io/sys/statfs.h: Likewise.
12667 * io/sys/statvfs.h: Likewise.
12668 * io/utime.h: Likewise.
12669 * libio/bits/stdio.h: Likewise.
12670 * libio/bits/stdio2.h: Likewise.
12671 * libio/libio.h: Likewise.
12672 * libio/libioP.h: Likewise.
12673 * libio/stdio.h: Likewise.
12674 * locale/lc-ctype.c: Likewise.
12675 * locale/locale.h: Likewise.
12676 * login/utmp.h: Likewise.
12677 * malloc/arena.c: Likewise.
12678 * malloc/malloc.c: Likewise.
12679 * malloc/malloc.h: Likewise.
12680 * malloc/mcheck.c: Likewise.
12681 * malloc/mtrace.c: Likewise.
12682 * math/bits/mathcalls.h: Likewise.
12683 * math/fenv.h: Likewise.
12684 * math/math_private.h: Likewise.
12685 * misc/bits/error.h: Likewise.
12686 * misc/bits/syslog.h: Likewise.
12687 * misc/err.h: Likewise.
12688 * misc/error.h: Likewise.
12689 * misc/fstab.h: Likewise.
12690 * misc/mntent.h: Likewise.
12691 * misc/regexp.h: Likewise.
12692 * misc/search.h: Likewise.
12693 * misc/sgtty.h: Likewise.
12694 * misc/sys/mman.h: Likewise.
12695 * misc/sys/syslog.h: Likewise.
12696 * misc/sys/uio.h: Likewise.
12697 * misc/sys/xattr.h: Likewise.
12698 * misc/ttyent.h: Likewise.
12699 * nis/rpcsvc/ypclnt.h: Likewise.
12700 * nss/nss.h: Likewise.
12701 * posix/bits/unistd.h: Likewise.
12702 * posix/fnmatch.h: Likewise.
12703 * posix/glob.h: Likewise.
12704 * posix/sched.h: Likewise.
12705 * posix/spawn.h: Likewise.
12706 * posix/sys/wait.h: Likewise.
12707 * posix/unistd.h: Likewise.
12708 * posix/wordexp.h: Likewise.
12709 * pwd/pwd.h: Likewise.
12710 * resolv/netdb.h: Likewise.
12711 * resource/sys/resource.h: Likewise.
12712 * rt/aio.h: Likewise.
12713 * rt/bits/mqueue2.h: Likewise.
12714 * rt/mqueue.h: Likewise.
12715 * shadow/shadow.h: Likewise.
12716 * signal/signal.h: Likewise.
12717 * socket/send.c: Likewise.
12718 * socket/sendto.c: Likewise.
12719 * socket/sys/socket.h: Likewise.
12720 * stdio-common/printf.h: Likewise.
12721 * stdlib/bits/stdlib.h: Likewise.
12722 * stdlib/fmtmsg.h: Likewise.
12723 * stdlib/monetary.h: Likewise.
12724 * stdlib/stdlib.h: Likewise.
12725 * stdlib/ucontext.h: Likewise.
12726 * streams/stropts.h: Likewise.
12727 * string/argz.h: Likewise.
12728 * string/bits/string2.h: Likewise.
12729 * string/string.h: Likewise.
12730 * string/strings.h: Likewise.
12731 * sunrpc/rpc/auth.h: Likewise.
12732 * sunrpc/rpc/auth_des.h: Likewise.
12733 * sunrpc/rpc/clnt.h: Likewise.
12734 * sunrpc/rpc/netdb.h: Likewise.
12735 * sunrpc/rpc/pmap_clnt.h: Likewise.
12736 * sunrpc/rpc/xdr.h: Likewise.
12737 * sysdeps/generic/inttypes.h: Likewise.
12738 * sysdeps/generic/net/if.h: Likewise.
12739 * sysdeps/generic/sys/swap.h: Likewise.
12740 * sysdeps/gnu/net/if.h: Likewise.
12741 * sysdeps/gnu/utmpx.h: Likewise.
12742 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12743 * sysdeps/i386/i486/bits/string.h: Likewise.
12744 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12745 * sysdeps/s390/bits/string.h: Likewise.
12746 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12747 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12748 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12749 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12750 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12751 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12752 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12753 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12754 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12755 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12756 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12757 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12758 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12759 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12760 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12761 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12762 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12767 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12768 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12770 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12771 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12772 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12774 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12775 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12776 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12777 * sysvipc/sys/ipc.h: Likewise.
12778 * sysvipc/sys/msg.h: Likewise.
12779 * sysvipc/sys/sem.h: Likewise.
12780 * sysvipc/sys/shm.h: Likewise.
12781 * termios/termios.h: Likewise.
12782 * time/sys/time.h: Likewise.
12783 * time/time.h: Likewise.
12784 * wcsmbs/bits/wchar2.h: Likewise.
12785 * wcsmbs/uchar.h: Likewise.
12786 * wcsmbs/wchar.h: Likewise.
12787 * wctype/wctype.h: Likewise.
12788
0269750c
UD
12789 [BZ #13551]
12790 * Makeconfig: Remove all but ELF support including AIX support.
12791 * Makerules: Likewise.
12792 * config.h.in: Likewise.
12793 * config.make.in: Likewise.
12794 * configure: Likewise.
12795 * configure.in: Likewise.
12796 * csu/Makefile: Likewise.
12797 * csu/version.c: Likewise.
12798 * debug/Makefile: Likewise.
12799 * dlfcn/Makefile: Likewise.
12800 * elf/Makefile: Likewise.
12801 * extra-lib.mk: Likewise.
12802 * iconv/Makefile: Likewise.
12803 * include/libc-symbols.h: Likewise.
12804 * include/shlib-compat.h: Likewise.
12805 * resolv/Makefile: Likewise.
12806 * resolv/res_libc.c: Likewise.
12807 * rt/Makefile: Likewise.
12808 * sysdeps/i386/asm-syntax.h: Likewise.
12809 * sysdeps/i386/sysdep.h: Likewise.
12810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12811 * sysdeps/mach/sysdep.h: Likewise.
12812 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12813 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12814 * sysdeps/s390/asm-syntax.h: Likewise.
12815 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12817 * sysdeps/sh/sysdep.h: Likewise.
12818 * sysdeps/unix/sparc/sysdep.h: Likewise.
12819 * sysdeps/wordsize-32/divdi3.c: Likewise.
12820 * sysdeps/x86_64/sysdep.h: Likewise.
12821
00bbd29b
UD
12822 * argp/Versions: Remove _argp_unlock_xxx.
12823
12824 [BZ #13559]
12825 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12826 * abilist/libBrokenLocale.abilist: Likewise.
12827 * abilist/libanl.abilist: Likewise.
12828 * abilist/libc.abilist: Likewise.
12829 * abilist/libcrypt.abilist: Likewise.
12830 * abilist/libdl.abilist: Likewise.
12831 * abilist/libm.abilist: Likewise.
12832 * abilist/libnsl.abilist: Likewise.
12833 * abilist/libpthread.abilist: Likewise.
12834 * abilist/libresolv.abilist: Likewise.
12835 * abilist/librt.abilist: Likewise.
12836 * abilist/libthread_db.abilist: Likewise.
12837 * abilist/libutil.abilist: Likewise.
12838 * abilist/libnss_db.abilist: New file.
12839
12840 * scripts/abilist.awk: Add support for indirect functions.
12841
a2693a0e
UD
12842 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12843
3f05895f
UD
12844 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12845
ecb6fb48
UD
12846 * shlib-versions: Remove entries for ports architectures.
12847
664f8cb9
UD
12848 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12849 files in ports.
12850 * elf/stackguard-macros.h: Remove support for IA-64.
12851 * elf/tst-auditmod1.c: Likewise.
12852 * sysdeps/generic/ldsodefs.h: Likewise.
12853
7ae81d88
UD
12854 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12855 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12856 configure files.
12857
bdeba135
UD
12858 [BZ #13552]
12859 * configure.in: Remove --enable-omitfp support.
12860 * FAQ.in: Adjust.
12861 * config.make.in: Likewise.
12862 * Makeconfig: Likewise.
12863 * manual/install.texi: Likewise.
12864
d75a0a62
UD
12865 In case anyone cares, the IA-64 architecture could move to ports.
12866 * sysdeps/ia64/*: Removed.
12867 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12868 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12869
dcc9756b
UD
12870 [BZ #13555]
12871 * configure.in: Remove entries for unsupported architectures.
12872
d3761ebc 12873 [BZ #13533]
9954432e
UD
12874 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12875 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12876 routines.
12877 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12878 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12879 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12880 fall back to using wcrtomb.
12881 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12882 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12883 renaming.
12884 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12885 * wcsmbs/tst-c16c32-1.c: New file.
12886
12887 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12888 local variable.
12889
c3a87236
UD
12890 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12891
28926a1b
UD
12892 * elf/tst-unique3.cc: Add explicit declaration of gets.
12893 * elf/tst-unique3lib.cc: Likewise.
12894 * elf/tst-unique3lib2.cc: Likewise.
12895 * elf/tst-unique4.cc: Likewise.
12896
df78418a
UD
12897 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12898
8ecd6b2a
JM
128992012-01-06 Joseph Myers <joseph@codesourcery.com>
12900
12901 [BZ #13566]
12902 * assert/assert.h (static_assert): Don't define for C++.
12903 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12904 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12905
9f115170
UD
129062012-01-03 Ulrich Drepper <drepper@gmail.com>
12907
5e0d0300
UD
12908 * iconv/loop.c (single loop): Fix assertion in storing of
12909 remaining bytes.
12910
9f115170
UD
12911 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12912
81fb02b0
UD
129132012-01-01 Ulrich Drepper <drepper@gmail.com>
12914
12915 * posix/getconf.c: Update copyright year.
12916 * nss/getent.c: Likewise.
a316c1f6 12917 * nss/makedb.c: Likewise.
81fb02b0
UD
12918 * iconv/iconvconfig.c: Likewise.
12919 * iconv/iconv_prog.c: Likewise.
12920 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12921 * elf/pldd.c: Likewise.
12922 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12923 * catgets/gencat.c: Likewise.
12924 * csu/version.c: Likewise.
12925 * elf/ldd.bash.in: Likewise.
12926 * elf/sprof.c (print_version): Likewise.
12927 * locale/programs/locale.c: Likewise.
12928 * locale/programs/localedef.c: Likewise.
a316c1f6 12929 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12930 * nscd/nscd.c (print_version): Likewise.
12931 * debug/xtrace.sh: Likewise.
12932 * malloc/memusage.sh: Likewise.
12933 * malloc/mtrace.pl: Likewise.
12934 * debug/catchsegv.sh: Likewise.
12935
2ba92745
JJ
129362011-12-30 Jakub Jelinek <jakub@redhat.com>
12937
12938 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12939 pure attribute.
12940
dadebdae
UD
129412011-12-24 Ulrich Drepper <drepper@gmail.com>
12942
d3761ebc 12943 [BZ #13533]
db6af3eb
UD
12944 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12945 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12946 transformations.
12947 * iconv/gconv_int.h: Likewise.
12948 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12949 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12950 from libc for GLIBC_2.16.
12951 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12952 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12953 * wcsmbs/uchar.h: Really define mbstate_t.
12954 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12955 * wcsmbs/c16rtomb.c: New file.
12956 * wcsmbs/mbrtoc16.c: New file.
12957 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12958 for C/POSIX locale.
12959 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12960 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12961
dadebdae
UD
12962 * wcsmbs/wchar.h: Add missing __restrict.
12963
67371b56
UD
129642011-12-23 Ulrich Drepper <drepper@gmail.com>
12965
74033a25
UD
12966 [BZ #13532]
12967 * time/Makefile (routines): Add timespec_get.
12968 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12969 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12970 timespec for ISO C11.
12971 * time/timespec_get.c: New file.
12972 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12973 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12974
380d7e87
UD
12975 [BZ #13531]
12976 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12977 * stdlib/stdlib.h: Declare aligned_alloc.
12978 * Versions.def: Add GLIBC_2.16 for libc.
12979 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12980
4e9e7a35
UD
12981 [BZ 13527]
12982 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12983 ISO C11.
12984
380d7e87 12985 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12986 code.
12987
03a71829
UD
12988 [BZ #13528]
12989 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12990
839e283e
UD
12991 [BZ #13529]
12992 * assert/assert.h (static_assert): Define.
12993
ce5294e2 12994 * version.h: Update for 2.16 development version.
90fa7312 12995
8d44e150 12996 [BZ #13526]
d7809905
UD
12997 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12998 _ISOC11_SOURCE.
12999
c0da14cd
UD
13000 * version.h (RELEASE): Bump for 2.15 release.
13001 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13002
530a3249
MP
13003 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13004 Patch by Marek Polacek <mpolacek@redhat.com>.
13005
67371b56
UD
13006 * bits/byteswap.h: Protect long long constants with __extension__.
13007 * sysdeps/i386/bits/byteswap.h: Likewise.
13008 * sysdeps/ia64/bits/byteswap.h: Likewise.
13009 * sysdeps/s390/bits/byteswap.h: Likewise.
13010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13011
15db4de1
LD
130122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13013
13014 [BZ #13540]
bbe315ea
LD
13015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13016 destination buffer.
15db4de1
LD
13017 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13018
2b2596b1
MP
130192011-12-23 Marek Polacek <polacek@redhat.com>
13020
13021 * elf/dl-addr.c (determine_info): Add inline keyword.
13022 * elf/tst-auditmod4b.c (check_avx): Likewise.
13023 * elf/tst-auditmod6b.c (check_avx): Likewise.
13024 * elf/tst-auditmod6c.c (check_avx): Likewise.
13025 * elf/tst-auditmod7b.c (check_avx): Likewise.
13026
70c6c246
UD
130272011-12-23 Ulrich Drepper <drepper@gmail.com>
13028
13029 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13030 !__SSE_MATH__.
13031
c044cf14
LD
130322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13033
15db4de1 13034 [BZ #13540]
c044cf14
LD
13035 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13036 processing for last bytes.
13037
6b13d9d9
BH
130382011-08-06 Bruno Haible <bruno@clisp.org>
13039
d455f537
BH
13040 [BZ #13061]
13041 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13042 U+0385, not to U+1FEE.
13043
6b13d9d9
BH
13044 [BZ #13062]
13045 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13046 entry for U+00A5 U+0301.
13047
db910efd
UD
130482011-12-22 Ulrich Drepper <drepper@gmail.com>
13049
27deeafc
UD
13050 [BZ #13166]
13051 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13052 buffer for the output is too small.
13053
aed9d171
UD
13054 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13055 optimization.
13056
db910efd
UD
13057 [BZ #13185]
13058 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13059 SSE flags if possible.
13060
2bd779ae
LD
130612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13062
e7f9dac3 13063 [BZ #13540]
2bd779ae
LD
13064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13065 processing for last bytes.
13066
154bfc16
JM
130672011-12-22 Joseph Myers <joseph@codesourcery.com>
13068
13069 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13070 (syscall-list-default-options, syscall-list-default-condition)
13071 (syscall-list-includes): Define.
13072 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13073 list of ABIs and options and #if conditions for each ABI. Do not
13074 handle common syscalls between ABIs specially.
13075 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13076 Remove.
13077 (syscall-list-variants, syscall-list-32bit-options)
13078 (syscall-list-32bit-condition, syscall-list-64bit-options)
13079 (syscall-list-64bit-condition): Define.
13080 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13081 (syscall-list-variants, syscall-list-32bit-options)
13082 (syscall-list-32bit-condition, syscall-list-64bit-options)
13083 (syscall-list-64bit-condition): Define.
13084 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13085 Remove.
13086 (syscall-list-variants, syscall-list-32bit-options)
13087 (syscall-list-32bit-condition, syscall-list-64bit-options)
13088 (syscall-list-64bit-condition): Define.
13089 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13090 Remove.
13091 (syscall-list-variants, syscall-list-32bit-options)
13092 (syscall-list-32bit-condition, syscall-list-64bit-options)
13093 (syscall-list-64bit-condition): Define.
13094
21eaf3a5
UD
130952011-12-22 Ulrich Drepper <drepper@gmail.com>
13096
16c6f992
UD
13097 * locale/iso-639.def: Add brx entry.
13098
41043168
UD
13099 [BZ #13328]
13100 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13101 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13102
21eaf3a5
UD
13103 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13104 __feraiseexcept_renamed.
13105
e3a851a2
UD
131062011-12-21 Ulrich Drepper <drepper@gmail.com>
13107
4920765e
UD
13108 [BZ #13538]
13109 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13110 EPOLLET with unsigned values.
13111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13112 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13113
e3a851a2
UD
13114 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13115 to large cancellation.
13116 * math/s_cacoshf.c: Likewise.
13117 * math/s_cacoshl.c: Likewise.
13118
b27e24b8
RK
131192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13120
13121 [BZ #13305]
aebefeee 13122 [BZ #12786]
b27e24b8
RK
13123 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13124 * math/s_cacoshf.c: Likewise.
13125 * math/s_cacoshl.c: Likewise.
13126
ee190f67
UD
131272011-12-21 Ulrich Drepper <drepper@gmail.com>
13128
13129 [BZ #13439]
13130 * iconv/gconv.h: Define __GCONV_SWAP.
13131 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13132 * iconvdata/utf-16.c: Likewise.
13133 * iconvdata/utf-32.c: Likewise.
13134
707f25df
AS
131352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13136
13137 [BZ #13524]
13138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13139 numerator after shifting it by one limb.
13140
d2daaa1e
RÁE
131412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13142
13143 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13144 under [__USE_EXTERN_INLINES].
13145
a4647e72
UD
131462011-12-17 Ulrich Drepper <drepper@gmail.com>
13147
13148 [BZ #13446]
13149 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13150
f0b264f1
AZ
131512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13152
13153 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13154 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13155 optimized code.
13156 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13157 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13158 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13159 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13160 for strncasecmp/strncasecmp_l compilation.
13161 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13162 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13163
8ef4f244
MP
131642011-12-08 Marek Polacek <mpolacek@redhat.com>
13165
13166 [BZ #13484]
13167 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13168 of __asm__.
13169
97ac2654
UD
131702011-12-17 Ulrich Drepper <drepper@gmail.com>
13171
13172 [BZ #13506]
13173 * time/tzfile.c (__tzfile_read): Check values from file header.
13174
91d2a845
WS
131752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13176
13177 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13178 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13179 * powerpc/powerpc32/dl-start.S: Likewise.
13180 * powerpc/powerpc32/elf/start.S: Likewise.
13181 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13182 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13183 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13184 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13185 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13186 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13187 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13188 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13189 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13190 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13191 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13192 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13193 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13194 * powerpc/powerpc32/memset.S: Likewise.
13195 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13196 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13197 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13198 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13199 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13200 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13201 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13202 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13203 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13204 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13206 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13207 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13208
a1267ba1
AZ
132092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13210
13211 * math/libm-test.inc: Added more nearbyint tests.
13212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13216
ad8ac1bd
RL
132172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13218
13219 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13220 FD_CLOEXEC.
13221
1d3e4b61
UD
132222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13223
13224 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13225 Add wcscpy-ssse3 wcscpy-c.
13226 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13227 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13228 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13229 * sysdeps/x86_64/wcschr.S: New file.
13230 * sysdeps/x86_64/wcsrchr.S: New file.
13231 * string/test-strcmp.c: Remove checking of wcscmp function for
13232 wrong alignments.
13233 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13234 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13235 wcsrchr-sse2 wcsrchr-c.
13236 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13237 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13238 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13239 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13240 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13241 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13242 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13243 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13244 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13245 * wcsmbc/wcschr.c (WCSCHR): New macro.
13246
5b330a2d
UD
132472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13248
13249 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13250 * wcsmbs/test-wcsrchr.c: New file.
13251 * string/test-strrchr.c: Add wcsrchr support.
13252 (WIDE): New macro.
13253 * wcsmbs/test-wcscpy.c: New file.
13254 * string/test-strcpy.c: Add wcscpy support.
13255 (WIDE): New macro.
26428b7c 13256
f039c043
UD
132572011-12-10 Ulrich Drepper <drepper@gmail.com>
13258
13259 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13260 the inner loop.
13261
850fb039
AS
132622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13263
13264 [BZ #13472]
13265 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13266
4efbd5cb
UD
132672011-12-04 Ulrich Drepper <drepper@gmail.com>
13268
52ff5dd0 13269 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13270 Minor optimizations.
52ff5dd0 13271
4efbd5cb
UD
13272 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13273 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13274 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13275
8a426e12
UD
132762011-12-03 Ulrich Drepper <drepper@gmail.com>
13277
aff2453d
UD
13278 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13279 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13280 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13281 for gcc to avoid warnings.
13282 * inet/Makefile (tests): Add tst-checks.
13283 * inet/tst-checks.c: New file.
13284
13285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13286 warning.
13287
13288 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13289 __wmemcmp_sse2.
13290
13291 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13292 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13293
8a426e12
UD
13294 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13295
9bea3473
UD
132962011-12-02 Ulrich Drepper <drepper@gmail.com>
13297
3a965496
UD
13298 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13299 problem.
13300
9bea3473
UD
13301 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13302
f101631b
UD
133032011-11-29 Joseph Myers <joseph@codesourcery.com>
13304
13305 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13306 conditional on GCC version.
13307 (__arch_compare_and_exchange_val_8_acq)
13308 (__arch_compare_and_exchange_val_16_acq)
13309 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13310 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13311 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13312
a98275aa
UD
133132011-12-02 Joseph Myers <joseph@codesourcery.com>
13314
13315 * sysdeps/sh/backtrace.c: New file.
13316
d4cc29a2
AS
133172011-12-02 Andreas Schwab <schwab@redhat.com>
13318
13319 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13320 parenthesis.
13321
6257af2d
AS
133222011-12-01 Andreas Schwab <schwab@redhat.com>
13323
13324 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13325 falling back to utime.
13326
b5f44c1a
AS
133272011-11-30 Andreas Schwab <schwab@redhat.com>
13328
13329 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13330 expectations for float.
13331
f3a6cc0a
AS
133322011-11-29 Andreas Schwab <schwab@redhat.com>
13333
13334 * locale/weight.h (findidx): Add parameter len.
13335 * locale/weightwc.h (findidx): Likewise.
13336 * posix/fnmatch_loop.c (FCT): Adjust caller.
13337 * posix/regcomp.c (build_equiv_class): Likewise.
13338 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13339 * posix/regexec.c (check_node_accept_bytes): Likewise.
13340 * string/strcoll_l.c (STRCOLL): Likewise.
13341 * string/strxfrm_l.c (STRXFRM): Likewise.
13342
9d65ea3a
UD
133432011-11-17 Ulrich Drepper <drepper@gmail.com>
13344
13345 * Makefile.in: Remove CVSOPT handling.
13346 * configure.in: Remove use of AC_REVISION.
13347 * iconvdata/Makefile (distribute): No need to filter out CVS.
13348 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13349 handling.
13350
5583a086
AS
133512011-11-16 Andreas Schwab <schwab@redhat.com>
13352
13353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13354 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13355 [USE_AS_STRNCASECMP_L]: Likewise.
13356 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13357 NO_TLS_DIRECT_SEG_REFS.
13358 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13359 Fix argument offsets for non-PIC.
13360 [USE_AS_STRNCASECMP_L]: Likewise.
13361 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13362 NO_TLS_DIRECT_SEG_REFS.
13363
d62a8200
UD
133642011-11-15 Ulrich Drepper <drepper@gmail.com>
13365
9d65ea3a 13366 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13367 O_CLOEXEC.
13368 * locale/loadlocale.c (_nl_load_locale): Likewise.
13369
09f93bd3
AS
133702011-11-15 Andreas Schwab <schwab@redhat.com>
13371
446514f9
AS
13372 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13373 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13374 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13375 (SYSCALL_GETTIME): Set errno on error.
13376
09f93bd3
AS
13377 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13378 count references to noai6ai_cached.
13379
312be3f9
UD
133802011-11-15 Ulrich Drepper <drepper@gmail.com>
13381
13382 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13383
13384 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13385 FD_CLOEXEC for /proc/self/maps.
13386
13387 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13388 FD_CLOEXEC for /proc/meminfo.
13389
13390 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13391 gai.conf.
13392
13393 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13394 FD_CLOEXEC for given file.
13395
13396 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13397
13398 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13399 FD_CLOEXEC for /etc/hosts.
13400 (_gethtent): Likewise.
13401
13402 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13403
13404 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13405 cancellation and set FD_CLOEXEC for /etc/netgroup.
13406
13407 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13408 reading /etc/publickey.
13409
13410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13411 allow cancellation when reading /etc/group.
13412
13413 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13414 cancellation.
13415 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13416
13417 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13418 when using data file.
13419
13420 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13421
13422 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13423 (write_nis_obj): Use "c" and "e" in fopen.
13424
13425 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13426
13427 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13428
13429 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13430
13431 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13432
13433 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13434 locale.alias.
13435
13436 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13437
13438 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13439
13440 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13441
13442 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13443 file parsing and set FD_CLOEXEC.
13444
82af0fa8
UD
134452011-11-14 Ulrich Drepper <drepper@gmail.com>
13446
13447 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13448
a5fb313c
AS
134492011-11-14 Andreas Schwab <schwab@redhat.com>
13450
13451 * malloc/arena.c (arena_get2): Don't call reused_arena when
13452 _int_new_arena failed.
13453
6abf3465
UD
134542011-11-14 Ulrich Drepper <drepper@gmail.com>
13455
13456 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13457 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13459 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13462 to compile strcasecmp and strncasecmp.
13463 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13464 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13465
13466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13467
76e3966e
UD
134682011-11-13 Ulrich Drepper <drepper@gmail.com>
13469
13470 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13471 locale-defines.sym to gen-as-const-headers.
13472 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13473 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13475 to compile strcasecmp and strncasecmp.
13476 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13477 strcasecmp_l and strncasecmp_l.
13478 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13479 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13480 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13481 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13482 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13484 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13485 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13486 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13487 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13488 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13489
ab26144e
UD
134902011-11-12 Ulrich Drepper <drepper@gmail.com>
13491
7edb22ef
UD
13492 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13493 result of SYSDEP_GETTIME_CPU to retval.
13494 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13495 parameter list to macro. Remove trailing semicolon. Adjust users.
13496
9694fc44
UD
13497 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13498 variable.
13499
8ad89ef8
UD
13500 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13501 mantissa words.
13502 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13503
0c822ef9
UD
13504 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13505 from unused variable.
13506
874e0564
UD
13507 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13508 DWARF definitions.
13509 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13510 for assembling.
13511
3a2edc79
UD
13512 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13513 over namespaces.
13514
f3c2577f
UD
13515 * sunrpc/rpc_prot.c (rejected): Fix case value.
13516
294ce126
UD
13517 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13518 unsigned long long int to avoid warnings in shift.
13519
5e2b63c6
UD
13520 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13521 of use of trans.
13522 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13523 variable tmp.
13524
e7f4b08e
UD
13525 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13526 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13527 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13528
ab26144e
UD
13529 * nis/nis_table.c (nis_list): Use variable of correct type for
13530 result of __follow_path call.
13531
8a6d5255
AZ
135322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533
13534 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13535 of math functions ceil, trunc, floor, round, and sqrt, when
13536 avaliable on the platform.
13537 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13538 name clash.
13539 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13540 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13541 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13542
aaddc98c
MP
135432011-10-30 Marek Polacek <mpolacek@redhat.com>
13544
13545 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13546 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13547
95b7042b
RM
135482011-11-11 Roland McGrath <roland@hack.frob.com>
13549
13550 * include/unistd.h: Fix __readlink return type.
13551 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13552
57769839
UD
135532011-11-11 Ulrich Drepper <drepper@gmail.com>
13554
13555 * stdlib/ucontext.h: Undo last change for makecontext.
13556
edc5984d
AS
135572011-11-11 Andreas Schwab <schwab@redhat.com>
13558
98591e58
AS
13559 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13560
edc5984d
AS
13561 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13562 * setjmp/setjmp.h: Mark functions as non-leaf.
13563 * setjmp/bits/setjmp2.h: Likewise.
13564 * stdlib/ucontext.h: Likewise.
13565
77cdc054
AS
135662011-11-10 Andreas Schwab <schwab@redhat.com>
13567
13568 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13569 (reused_arena): Don't check arena limit.
13570 (arena_get2): Atomically check arena limit.
13571
fe72eebd
UD
135722011-11-08 Ulrich Drepper <drepper@gmail.com>
13573
5f078c32
UD
13574 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13575 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13576
fe72eebd
UD
13577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13578 instructions.
13579
ae1bc2fa
AS
135802011-11-07 Andreas Schwab <schwab@redhat.com>
13581
7583a88d
AS
13582 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13583 handler when locking.
13584
ae1bc2fa
AS
13585 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13586 Fix size of allocated buffer.
13587
10fb0bfa
AS
135882011-11-04 Andreas Schwab <schwab@redhat.com>
13589
998832a4
AS
13590 [BZ #10103]
13591 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13592 declarations for long double functions.
13593 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13594
10fb0bfa
AS
13595 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13596
3d7ba52b
AS
135972011-11-03 Andreas Schwab <schwab@redhat.com>
13598
a9ae54a1
AS
13599 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13600 installed.
13601
3d7ba52b
AS
13602 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13603 is disabled.
13604
bc8db248
ST
136052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13606
13607 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13608
45b96dd6
AS
136092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13610
647776f6
AS
13611 * include/alloca.h (stackinfo_alloca_round): Define.
13612 (extend_alloca): Use it.
13613 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13614 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13615 here.
13616
d91a8b93
AS
13617 * scripts/check-local-headers.sh: Ignore libaudit.h.
13618
45b96dd6
AS
13619 * nscd/Makefile (extra-objs): Make recursively expanded.
13620
432d41ce
UD
136212011-11-01 Ulrich Drepper <drepper@gmail.com>
13622
34372fc6
UD
13623 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13625
fadb59f8
UD
13626 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13627 * posix/tst-rfc3484-2.c: Likewise.
13628 * posix/tst-rfc3484-3.c: Likewise.
13629
78239589
UD
13630 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13631 process_vm_writev.
13632 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13633 process_vm_writev.
13634 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13635 process_vm_writev from libc using GLIBC_2.15 version.
13636
432d41ce
UD
13637 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13638
02f9c6cf
PP
136392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13640
13641 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13642 stack usage.
13643
3a2c0242
UD
136442011-10-31 Ulrich Drepper <drepper@gmail.com>
13645
f4ec4833
UD
13646 [BZ #13367]
13647 * nss/getent.c (initgroups_keys): Show error message in case no group
13648 names are given.
13649
3a2c0242
UD
13650 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13651 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13652 __bump_nl_timestamp.
13653 * nscd/connections (nscd_init): When host database is served open
13654 netlink socket and request notification about configuration changes.
13655 (main_loop_poll): Track netlink file descriptor and bump timestamp
13656 in case data becomes available.
13657 (main_loop_epoll): Likewise.
13658 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13659 (database_pers_head): Add extra_data fileds.
13660 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13661 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13662 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13663 Adjust caller.
13664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13665 in6ai data, call __free_in6ai.
13666 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13667 Add -DHAVE_NETLINK.
13668 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13669 interface information. Reuse previous data if netlink timestamp
13670 is not changed.
13671 (__bump_nl_timestamp): New function.
13672 (__free_in6ai): New function.
13673
636064eb
UD
136742011-10-30 Ulrich Drepper <drepper@gmail.com>
13675
13676 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13677 close_not_cancel_no_status here.
13678 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13679
9beb2334
UD
136802011-10-29 Ulrich Drepper <drepper@gmail.com>
13681
6ef76f3b
UD
13682 [BZ #13276]
13683 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13684 return value.
13685
0ffc4f3e 13686 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13687 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13688 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13689
cb95113e
UD
136902011-07-03 Andreas Jaeger <aj@suse.de>
13691
13692 [BZ #10709]
13693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13694 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13695 * math/libm-test.inc (sin_test): Add test case.
13696
a1b560ff
UD
136972011-10-29 Ulrich Drepper <drepper@gmail.com>
13698
c9aaface
UD
13699 [BZ #13337]
13700 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13701 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13702
d272e7f1
UD
13703 * elf/chroot_canon.c (chroot_canon): Cleanups.
13704
1bc33071
UD
13705 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13706
1760874d
TJ
13707 [BZ #13335]
13708 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13709 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13710
51d91b18
UD
13711 * string/test-strchr.c: Make usable for strchrnul testing.
13712 * string/test-strchrnul.c: New file.
13713 * string/Makefile (strop-tests): Add strchrnul.
13714
a1b560ff 13715 * po/it.po: Update from translation team.
b611fb81 13716 * po/es.po: Likewise.
a1b560ff 13717
a5b81e1f
UD
137182011-10-28 Ulrich Drepper <drepper@gmail.com>
13719
fd52bc6d
UD
13720 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13721 the three constants needed as parameters. Drop the others.
13722 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13723 __m128i_strloadu_tolower.
52e4b9eb
UD
13724 Create and initialize variable zero and use it in all the places
13725 where _mm_setzero_si128 was used.
fd52bc6d 13726
a5b81e1f
UD
13727 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13728 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13729 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13731 anymore.
13732 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13733 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13734 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13735 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13736 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13737 __mpranred, __mptan.
13738 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13739 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13740 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13741 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13742 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13743 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13745 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13746 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13747
b4343346
AS
137482011-10-28 Andreas Schwab <schwab@redhat.com>
13749
0c92d8a8
AS
13750 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13751 redefine if SHARED.
13752 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13753
b4343346
AS
13754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13755 wide char related routines to wcsmbs subdir.
13756
3871f58f
AS
137572011-10-27 Andreas Schwab <schwab@redhat.com>
13758
13759 [BZ #13344]
13760 * misc/sys/cdefs.h (__THROWNL): Define.
13761 * posix/unistd.h: Use __THREADNL instead of __THREAD
13762 for memory synchronization functions.
13763
94d44d9f
RM
137642011-10-26 Roland McGrath <roland@hack.frob.com>
13765
21b64b15 13766 [BZ #13349]
94d44d9f
RM
13767 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13768 doesn't exist.
13769 * manual/stdio.texi (Obstack Streams): Node removed.
13770
f6ce9294
AS
137712011-10-26 Andreas Schwab <schwab@redhat.com>
13772
80479147
AS
13773 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13776
f6ce9294
AS
13777 * math/math_private.h (math_force_eval): Allow non-addressable
13778 arguments.
13779 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13780
618280a1
UD
137812011-10-25 Ulrich Drepper <drepper@gmail.com>
13782
e0016b11
UD
13783 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13784 file is not needed.
13785
13786 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13788 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13789 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13793 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13794 Add AVX variants.
13795 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13796 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13797 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13798 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13799 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13800 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13801 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13802 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13803 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13804 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13805 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13806 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13808 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13809 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13810 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13811 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13813 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13814
13815 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13816 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13817
618280a1
UD
13818 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13819 place. Use VEX encoding when compiling for AVX.
13820
37822576
AS
138212011-10-25 Andreas Schwab <schwab@redhat.com>
13822
1f1e1947
AS
13823 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13824 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13825
37822576
AS
13826 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13827
31ea014d
UD
138282011-10-25 Ulrich Drepper <drepper@gmail.com>
13829
d7826aa1 13830 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13831 useless if() expression.
d7826aa1
UD
13832 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13841 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13851
31ea014d
UD
13852 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13853
16437fec
AS
138542011-10-25 Andreas Schwab <schwab@redhat.com>
13855
13856 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13857 condition.
13858 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13859
31d3cc00
UD
138602011-10-25 Ulrich Drepper <drepper@gmail.com>
13861
13862 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13863 .text section. Avoid duplicate constants.
13864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13874 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13876 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13891 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13892 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13893 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13895 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13896 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13897 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13898 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13899 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13900 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13901 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13902 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13903 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13909
58985aa9
UD
139102011-10-24 Ulrich Drepper <drepper@gmail.com>
13911
202c9deb
UD
13912 * sysdeps/x86_64/dla.h: Move to ...
13913 * sysdeps/x86_64/fpu/dla.h: ...here.
13914 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13915 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13916
af968f62
UD
13917 * config.make.in: Add have-mfma4 entry.
13918 * configure.in: Substitute libc_cv_cc_fma4.
13919 * math/Makefile (dbl-only-routines): Add sincostab.
13920 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13921 Use __sincostab not sincos.
13922 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13923 name is a macro.
13924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13928 using __copysign.
13929 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13930 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13931 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13932 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13933 and __inv.
13934 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13935 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13936 __copysign.
13937 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13938 define aliases when function name is a macro.
13939 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13940 sysdeps/ieee754/dbl-64/sincos.tbl.
13941 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13942 fma4-enabled routines.
13943 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13949 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13952 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13953 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13955 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13957 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13958 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13959 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13960 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13961 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13963 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13964 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13965 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13967 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13969 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13973
58985aa9
UD
13974 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13975 rename.
13976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13984
a201fbcf
AS
139852011-10-24 Andreas Schwab <schwab@redhat.com>
13986
13987 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13988
fc2ee42a
LD
139892011-10-23 Ulrich Drepper <drepper@gmail.com>
13990
bb3129bd
UD
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13992
0275fff8
UD
13993 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13994 prediction.
13995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13996
2fa2ae85
UD
13997 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13998 Remove unused variable magic_bits.
13999 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14000
fc2ee42a
LD
14001 * string/strnlen.c: Define and use STRNLEN macro.
14002 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14003 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14005 * wcsmbs/wcslen.c: Define and use WCSLEN.
14006 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14007 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14008 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14009 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14010 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14011 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14012 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14013
ce7dd29f
LD
140142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14015
14016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14017 strnlen-sse2-no-bsf.
14018 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14020 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14021 Add strnlen support.
14022 (USE_AS_STRNLEN): New macro.
14023 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14025 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14026 * sysdeps/x86_64/wcslen.S: New file.
14027
979c70a3
MZ
140282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14029
14030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14031 XMM-moves are used for copying on small sizes.
14032
2d09f82f
LD
140332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14034
14035 * wcsmbs/Makefile (strop-tests): Add wcschr.
14036 * wcsmbs/test-wcschr.c: New file.
14037 * string/test-strchr.c: Update.
14038 Add wcschr support.
14039 (WIDE): New macro.
14040
619fccca
LD
140412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14042
2d09f82f 14043 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14044 * wcsmbs/test-wcslen.c: New file.
14045 * string/test-strlen.c: Update.
14046 Add wcslen support.
14047 (WIDE): New macro.
14048
09f699ea
UD
140492011-10-23 Ulrich Drepper <drepper@gmail.com>
14050
14051 * po/it.po: Update from translation team.
14052
95584d3b
LD
140532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14054
14055 * sysdeps/x86_64/wcscmp.S: Update.
14056 Fix wrong comparison semantics.
14057 wcscmp shall use signed comparison not unsigned.
14058 Don't use substraction to avoid overflow bug.
14059 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14060 * wcsmbc/wcscmp.c: Likewise.
14061 * string/test-strcmp.c: Likewise.
14062 Add new tests to check cases with negative values.
14063
c8b3296b
UD
140642011-10-23 Ulrich Drepper <drepper@gmail.com>
14065
14066 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14067 * sysdeps/x86_64/dla.h: ...here. New file.
14068 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14077
246ad57a
AS
140782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14079
14080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14081 __ynl_finite aliases.
14082
a1a87169
UD
140832011-10-22 Ulrich Drepper <drepper@gmail.com>
14084
0d355eb7
UD
14085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14086
a1a87169
UD
14087 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14088 define DLA_FMA.
14089 [DLA_FMA] (EMULV): Use DLA_FMA.
14090 [DLA_FMA] (MUL12): Use EMULV.
14091 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14092 that are not needed.
14093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14100
ee2aafe0
AS
141012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14102
14103 * math/s_nan.c: Undef __nan.
14104 * math/s_nanf.c: Undef __nanf.
14105 * math/s_nanl.c: Undef __nanl.
14106 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14107 "math_private.h".
14108
bc62c2fb
UD
141092011-10-22 Ulrich Drepper <drepper@gmail.com>
14110
77425c63
UD
14111 * math/s_catan.c: Add branch predictions.
14112 * math/s_catanf.c: Likewise.
14113 * math/s_catanh.c: Likewise.
14114 * math/s_catanhf.c: Likewise.
14115 * math/s_catanhl.c: Likewise.
14116 * math/s_catanl.c: Likewise.
14117 * math/s_cexp.c: Likewise.
14118 * math/s_cexpf.c: Likewise.
14119 * math/s_cexpl.c: Likewise.
14120 * math/s_clog.c: Likewise.
14121 * math/s_clog10.c: Likewise.
14122 * math/s_clog10f.c: Likewise.
14123 * math/s_clog10l.c: Likewise.
14124 * math/s_clogf.c: Likewise.
14125 * math/s_clogl.c: Likewise.
14126 * math/s_csqrt.c: Likewise.
14127 * math/s_csqrtf.c: Likewise.
14128 * math/s_csqrtl.c: Likewise.
14129 * math/s_ctanf.c: Likewise.
14130 * math/s_ctanh.c: Likewise.
14131 * math/s_ctanhf.c: Likewise.
14132 * math/s_ctanhl.c: Likewise.
14133 * math/s_ctanl.c: Likewise.
14134
bc62c2fb
UD
14135 * math/math_private.h: Define __nan, __nanf, __nanl.
14136 * math/s_cacosh.c: Include <math_private.h>.
14137 * math/s_cacoshl.c: Likewise.
14138 * math/s_casinh.c: Likewise.
14139 * math/s_casinhf.c: Likewise.
14140 * math/s_casinhl.c: Likewise.
14141 * math/s_ccos.c: Rely entire on ccosh.
14142 * math/s_ccosf.c: Rely entire on ccoshf.
14143 * math/s_ccosl.c: Rely entirely on ccoshl.
14144 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14145 Remove tests for FE_INVALID.
14146 * math/s_ccoshf.c: Likewise.
14147 * math/s_ccoshl.c: Likewise.
14148 * math/s_csin.c: Likewise.
14149 * math/s_csinf.c: Likewise.
14150 * math/s_csinh.c Likewise.
14151 * math/s_csinhf.c: Likewise.
14152 * math/s_csinhl.c: Likewise.
14153 * math/s_csinl.c: Likewise.
14154 * math/s_ctan.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14156 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14157 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14158
8ec250a4
UD
141592011-10-21 Ulrich Drepper <drepper@gmail.com>
14160
c196fed8
UD
14161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14162 compilation problems.
14163
8ec250a4
UD
14164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14165 __builtin_expect.
14166
8d4f46c6
UD
141672011-10-20 Ulrich Drepper <drepper@gmail.com>
14168
ed72b654
UD
14169 * sysdeps/i386/configure.in: Test for -mfma4 option.
14170 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14171 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14172 COMMON_CPUID_INDEX_80000001.
14173 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14174 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14175 use it if FMA3 is not supported.
14176 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14177
8d4f46c6
UD
14178 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14179 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14180
d45c60c2
AS
141812011-10-20 Andreas Schwab <schwab@redhat.com>
14182
14183 [BZ #12892]
14184 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14185 it would create a cycle with a link time dependency.
14186
d9a4d2ab
UD
141872011-10-19 Ulrich Drepper <drepper@gmail.com>
14188
855d1560
UD
14189 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14190 instruction.
14191 * string/Makefile (strop-tests): Add rawmemchr.
14192 * string/test-rawmemchr.c: New file.
14193
d9a4d2ab
UD
14194 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14196 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14197 when compiling str{,n}casecmp and when AVX is available. Hook up
14198 new optimized code in initializers.
14199
8f3b1ffe
AS
142002011-10-19 Andreas Schwab <schwab@redhat.com>
14201
14202 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14203 __feraiseexcept instead of feraiseexcept.
14204
d38f1dba
UD
142052011-10-18 Ulrich Drepper <drepper@gmail.com>
14206
d9a8d0ab
UD
14207 * math/math_private.h: Define defaults for libc_fetestexcept and
14208 libc_feupdateenv.
14209 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14210 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14212 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14215 libc_fetestexcept and libc_feupdateenv.
14216
4855e3dd
UD
14217 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14218 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14219 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14220 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14221 libc_feholdexcept_setround.
14222
581d30e3
UD
14223 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14224 Add s_nearbyint-c and s_nearbyintf-c.
14225 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14226 nearbyintf inlines.
14227 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14229 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14231
d38f1dba
UD
14232 * math/math_private.h: Define defaults for libc_fegetround,
14233 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14234 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14235 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14236 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14237 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14238 standard functions.
14239 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14240 Remove comments and hacks for old compiler versions.
14241 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14242 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14243 libc_feholdexceptl.
14244
caa6c9d8
AS
142452011-10-18 Andreas Schwab <schwab@redhat.com>
14246
14247 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14248 (__feraiseexcept_renamed): Add __NTH.
14249 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14250 namespace violations.
14251
97c066e6
UD
142522011-10-17 Ulrich Drepper <drepper@gmail.com>
14253
99ce7b04
UD
14254 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14255
1004d182
UD
14256 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14257
228a984d
UD
14258 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14259 recently added interfaces.
14260 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14261
c8553a6a
UD
14262 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14263 about macro parameter expansion.
14264
ed22dcf6
UD
14265 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14266 __NO_MATH_INLINES is defined. Cleanups.
14267
14268 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14269 and __floorf is target has SSE4.1.
14270 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14271 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14274
b171c137
UD
14275 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14276 name.
14277 (floorf): Likewise.
14278
97c066e6
UD
14279 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14280
629f62ef
AS
142812011-10-17 Andreas Schwab <schwab@redhat.com>
14282
49a43d80
AS
14283 * misc/sys/cdefs.h: Fix last change.
14284
629f62ef
AS
14285 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14286 database lookup.
14287
e453f6cd
UD
142882011-10-16 Ulrich Drepper <drepper@gmail.com>
14289
aa78043a
UD
14290 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14291
ad0f5cad
UD
14292 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14300 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14301 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14302 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14303 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14304 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14305 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14306 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14307 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14308 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14309 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14310 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14311 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14312 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14313 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14314
14315 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14316 ceil, ceilf, floor, floorf.
14317
14318 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14319 Perform IRELATIVE relocations last.
14320
e453f6cd
UD
14321 * elf/do-rel.h: Add another parameter nrelative, replacing the
14322 local variable with the same name. Change name of the function
14323 to end in Rel or Rela (uppercase).
14324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14325 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14326 elf_dynamic_do_##reloc function.
14327
fd5bdc09
UD
143282011-10-15 Ulrich Drepper <drepper@gmail.com>
14329
79b195b5
UD
14330 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14331 is sufficient, at least on modern CPUs.
14332
d4a28569
UD
14333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14334
b61099b5
UD
14335 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14336 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14337
bcf01e6d
UD
14338 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14339 __expl_finite.
14340 * math/bits/math-finite.h: Add entries for exp.
14341 * math/e_expl.c: Add __*_finite alias.
14342 * sysdeps/i386/fpu/e_exp.S: Likewise.
14343 * sysdeps/i386/fpu/e_expf.S: Likewise.
14344 * sysdeps/i386/fpu/e_expl.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14346 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14350 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14352
ba1a0d59
UD
14353 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14354 is sufficient, at least on modern CPUs.
14355
fd5bdc09
UD
14356 * ctype/ctype-info.c (__ctype_init): Define.
14357 * include/ctype.h (__ctype_init): Declare.
14358 (__ctype_b_loc): The variable is always initialized.
14359 (__ctype_toupper_loc): Likewise.
14360 (__ctype_tolower_loc): Likewise.
14361 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14362 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14363
7872cfb0
AS
143642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14365
b468825a
AS
14366 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14367
7872cfb0
AS
14368 * configure.in: Also look in $cxxmachine/include for C++ system
14369 headers.
14370
be13f7bf
LD
143712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14372
14373 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14374 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14375 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14376 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14378 (USE_AS_WMEMCMP): New macro.
14379 Fixing indents.
14380 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14381 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14382 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14383 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14385 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14386 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14387 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14388 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14389 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14391 (USE_AS_WMEMCMP): New macro.
14392 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14393 * sysdeps/string/test-memcmp.c: Update.
14394 Fix simple_wmemcmp.
14395 Add new tests.
14396 * wcsmbs/wmemcmp.c: Update.
14397 (WMEMCMP): New macro.
14398 Fix overflow bug.
14399
556a2007
AJ
144002011-10-12 Andreas Jaeger <aj@suse.de>
14401
14402 [BZ #13268]
14403 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14404
538faaa7
UD
144052011-10-15 Ulrich Drepper <drepper@gmail.com>
14406
ab6737ff
UD
14407 * libio/iofwide.c (do_length): Avoid warning.
14408
538faaa7
UD
14409 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14410
396a21b1
UD
144112011-10-14 Ulrich Drepper <drepper@gmail.com>
14412
cdf2901f
UD
14413 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14414
38ad40ce
UD
14415 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14416 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14417 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14418 * sysdeps/i386/i686/fpu/e_log.S: New file.
14419 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14420 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14421
396a21b1
UD
14422 * ctype/ctype.h: Add support for inlined isXXX functions when
14423 compiling C++ code.
14424
6b1f68c9
AS
144252011-10-14 Andreas Schwab <schwab@redhat.com>
14426
349290c0
AS
14427 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14428
6b1f68c9
AS
14429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14430
f2282d42
RM
144312011-10-13 Roland McGrath <roland@hack.frob.com>
14432
14433 [BZ #13291]
14434 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14435
5298ffa8
AS
144362011-10-13 Andreas Schwab <schwab@redhat.com>
14437
714fad23
AS
14438 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14439 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14440 feraiseexcept.
14441
81dcc7fb
AS
14442 * sysdeps/x86_64/memrchr.S: Check for zero size.
14443
5298ffa8
AS
14444 * string/stratcliff.c: Add memrchr tests.
14445
951fbcec
LD
144462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14447
14448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14449 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14450 rawmemchr-sse2 rawmemchr-sse2-bsf.
14451 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14452 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14453 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14454 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14455 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14456 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14457 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14458 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14459 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14461 * string/memrchr.c (MEMRCHR): New macro.
14462
0ac5ae23
UD
144632011-10-12 Ulrich Drepper <drepper@gmail.com>
14464
14465 Add integration with gcc's -ffinite-math-only and optimize wrapper
14466 functions in libm.
14467 * Versions.def: Define GLIBC_2.15 version for libm.
14468 * math/Makefile (headers): Add bits/math-finite.h.
14469 * math/bits/math-finite.h: New file.
14470 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14471 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14472 * math/e_acoshl.c: Add __*_finite alias.
14473 * math/e_acosl.c: Likewise.
14474 * math/e_asinl.c: Likewise.
14475 * math/e_atan2l.c: Likewise.
14476 * math/e_atanhl.c: Likewise.
14477 * math/e_coshl.c: Likewise.
14478 * math/e_exp10.c: Likewise.
14479 * math/e_exp10f.c: Likewise.
14480 * math/e_exp10l.c: Likewise.
14481 * math/e_exp2l.c: Likewise.
14482 * math/e_fmodl.c: Likewise.
14483 * math/e_gammal_r.c: Likewise.
14484 * math/e_hypotl.c: Likewise.
14485 * math/e_j0l.c: Likewise.
14486 * math/e_j1l.c: Likewise.
14487 * math/e_jnl.c: Likewise.
14488 * math/e_lgammal_r.c: Likewise.
14489 * math/e_log10l.c: Likewise.
14490 * math/e_log2l.c: Likewise.
14491 * math/e_logl.c: Likewise.
14492 * math/e_powl.c: Likewise.
14493 * math/e_sinhl.c: Likewise.
14494 * math/e_sqrtl.c: Likewise.
14495 * math/e_scalb.c: Completely rewritten and optimized.
14496 * math/e_scalbf.c: Likewise.
14497 * math/e_scalbl.c: Likewise.
14498 * math/w_acos.c: Likewise.
14499 * math/w_acosf.c: Likewise.
14500 * math/w_acosl.c: Likewise.
14501 * math/w_acosh.c: Likewise.
14502 * math/w_acoshf.c: Likewise.
14503 * math/w_acoshl.c: Likewise.
14504 * math/w_asin.c: Likewise.
14505 * math/w_asinf.c: Likewise.
14506 * math/w_asinl.c: Likewise.
14507 * math/w_atan2.c: Likewise.
14508 * math/w_atan2f.c: Likewise.
14509 * math/w_atan2l.c: Likewise.
14510 * math/w_atanh.c: Likewise.
14511 * math/w_atanhf.c: Likewise.
14512 * math/w_atanhl.c: Likewise.
14513 * math/w_exp10.c: Likewise.
14514 * math/w_exp10f.c: Likewise.
14515 * math/w_exp10l.c: Likewise.
14516 * math/w_fmod.c: Likewise.
14517 * math/w_fmodf.c: Likewise.
14518 * math/w_fmodl.c: Likewise.
14519 * math/w_j0.c: Likewise.
14520 * math/w_j0f.c: Likewise.
14521 * math/w_j0l.c: Likewise.
14522 * math/w_j1.c: Likewise.
14523 * math/w_j1f.c: Likewise.
14524 * math/w_j1l.c: Likewise.
14525 * math/w_jn.c: Likewise.
14526 * math/w_jnf.c: Likewise.
14527 * math/w_log.c: Likewise.
14528 * math/w_logf.c: Likewise.
14529 * math/w_logl.c: Likewise.
14530 * math/w_log10.c: Likewise.
14531 * math/w_log10f.c: Likewise.
14532 * math/w_log10l.c: Likewise.
14533 * math/w_log2.c: Likewise.
14534 * math/w_log2f.c: Likewise.
14535 * math/w_log2l.c: Likewise.
14536 * math/w_pow.c: Likewise.
14537 * math/w_powf.c: Likewise.
14538 * math/w_powl.c: Likewise.
14539 * math/w_remainder.c: Likewise.
14540 * math/w_remainderf.c: Likewise.
14541 * math/w_remainderl.c: Likewise.
14542 * math/w_scalb.c: Likewise.
14543 * math/w_scalbf.c: Likewise.
14544 * math/w_scalbl.c: Likewise.
14545 * math/w_sqrt.c: Likewise.
14546 * math/w_sqrtf.c: Likewise.
14547 * math/w_sqrtl.c: Likewise.
14548 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14549 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14550 used.
14551 * math/math_private.h: Declare __kernel_standard_f.
14552 * math/w_cosh.c: Remove cruft and optimize a bit.
14553 * math/w_coshf.c: Likewise.
14554 * math/w_coshl.c: Likewise.
14555 * math/w_exp2.c: Likewise.
14556 * math/w_exp2f.c: Likewise.
14557 * math/w_exp2l.c: Likewise.
14558 * math/w_hypot.c: Likewise.
14559 * math/w_hypotf.c: Likewise.
14560 * math/w_hypotl.c: Likewise.
14561 * math/w_lgamma.c: Likewise.
14562 * math/w_lgamma_r.c: Likewise.
14563 * math/w_lgammaf.c: Likewise.
14564 * math/w_lgammaf_r.c: Likewise.
14565 * math/w_lgammal.c: Likewise.
14566 * math/w_lgammal_r.c: Likewise.
14567 * math/w_sinh.c: Likewise.
14568 * math/w_sinhf.c: Likewise.
14569 * math/w_sinhl.c: Likewise.
14570 * math/w_tgamma.c: Likewise.
14571 * math/w_tgammaf.c: Likewise.
14572 * math/w_tgammal.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14575 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14576 Minor optimizations. Pretty printing. Remove cruft.
14577 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14578 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14579 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14581 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14582 * sysdeps/i386/fpu/e_asin.S: Likewise.
14583 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14584 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14585 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14586 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14587 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14588 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14590 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14591 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14592 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14593 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14594 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14595 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14596 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14597 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14598 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14599 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14600 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14601 * sysdeps/i386/fpu/e_log.S: Likewise.
14602 * sysdeps/i386/fpu/e_log10.S: Likewise.
14603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14604 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14605 * sysdeps/i386/fpu/e_log2.S: Likewise.
14606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14607 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14608 * sysdeps/i386/fpu/e_logf.S: Likewise.
14609 * sysdeps/i386/fpu/e_logl.S: Likewise.
14610 * sysdeps/i386/fpu/e_pow.S: Likewise.
14611 * sysdeps/i386/fpu/e_powf.S: Likewise.
14612 * sysdeps/i386/fpu/e_powl.S: Likewise.
14613 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14614 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14615 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14616 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14617 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14618 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14619 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14620 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14621 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14643 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14644 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14645 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14646 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14648 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14649 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14650 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14656 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14658 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14659 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14660 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14661 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14662 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14663 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14713 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14715 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14716 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14717 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14718 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14719 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14720 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14721 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14722 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14723 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14724 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14725 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14727 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14730 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14731 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14732 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14733 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14734 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14735 (__isnanf): Likewise.
14736 (__isinf_ns): Likewise.
14737 (__isinf_nsf): Likewise.
14738 (__finite): Likewise.
14739 (__finitef): Likewise.
14740 (__ieee754_sqrt): Define as macro.
14741 (__ieee754_sqrtf): Define as macro.
14742 (__ieee754_sqrtl): Define as macro.
14743 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14744 inlined copy.
14745 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14746 __FINITE_MATH_ONLY__ consistent.
14747 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14748
12cc2fcd
AS
147492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14750
a843a204
AS
14751 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14752 of rawmemchr.
14753
12cc2fcd
AS
14754 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14755
c853acd5
UD
147562011-10-09 Ulrich Drepper <drepper@gmail.com>
14757
14758 * po/ja.po: Update from translation team.
14759
c658d255
RM
147602011-10-08 Roland McGrath <roland@hack.frob.com>
14761
110946e4
RM
14762 * locale/programs/locarchive.c (prepare_address_space): New function.
14763 (create_archive, enlarge_archive, open_archive): Use it.
14764
50604220
RM
14765 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14766 inside [SHARED], where it is used.
14767
c658d255
RM
14768 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14769
14770 * nss/getent.c (netgroup_keys): Remove unused variable.
14771 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14772
6a621eb7
UD
147732011-10-08 Ulrich Drepper <drepper@gmail.com>
14774
7edb55ce
UD
14775 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14776 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14779 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14781 * math/Makefile (libm-calls): Add s_isinf_ns.
14782 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14783 * math/multc3.c: Likewise.
14784 * math/s_casin.c: Likewise.
14785 * math/s_casinf.c: Likewise.
14786 * math/s_casinl.c: Likewise.
14787 * math/s_ccos.c: Likewise.
14788 * math/s_ccosf.c: Likewise.
14789 * math/s_ccosl.c: Likewise.
14790 * math/s_ctan.c: Likewise.
14791 * math/s_ctanf.c: Likewise.
14792 * math/s_ctanh.c: Likewise.
14793 * math/s_ctanhf.c: Likewise.
14794 * math/s_ctanhl.c: Likewise.
14795 * math/s_ctanl.c: Likewise.
14796 * math/w_fmod.c: Likewise.
14797 * math/w_fmodf.c: Likewise.
14798 * math/w_fmodl.c: Likewise.
14799 * math/w_remainder.c: Likewise.
14800 * math/w_remainderf.c: Likewise.
14801 * math/w_remainderl.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14803 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14806 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14807 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14808 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14809 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14810
187da0ae
UD
14811 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14812 of the number.
14813 * stdio-common/printf_fphex.c: Likewise.
14814 * stdio-common/printf_size.c: Likewise.
14815
9277c064
UD
14816 * math/e_exp10.c: Include math_private.h using <...> not "...".
14817 * math/e_exp10f.c: Likewise.
14818 * math/e_exp10l.c: Likewise.
14819 * math/e_exp2l.c: Likewise.
14820 * math/e_j0l.c: Likewise.
14821 * math/e_j1l.c: Likewise.
14822 * math/e_jnl.c: Likewise.
14823 * math/e_lgammal_r.c: Likewise.
14824 * math/e_rem_pio2l.c: Likewise.
14825 * math/e_scalb.c: Likewise.
14826 * math/e_scalbf.c: Likewise.
14827 * math/e_scalbl.c: Likewise.
14828 * math/k_cosl.c: Likewise.
14829 * math/k_sinl.c: Likewise.
14830 * math/k_tanl.c: Likewise.
14831 * math/s_cacoshf.c: Likewise.
14832 * math/s_catan.c: Likewise.
14833 * math/s_catanf.c: Likewise.
14834 * math/s_catanh.c: Likewise.
14835 * math/s_catanhf.c: Likewise.
14836 * math/s_catanhl.c: Likewise.
14837 * math/s_catanl.c: Likewise.
14838 * math/s_ccosh.c: Likewise.
14839 * math/s_ccoshf.c: Likewise.
14840 * math/s_ccoshl.c: Likewise.
14841 * math/s_cexp.c: Likewise.
14842 * math/s_cexpf.c: Likewise.
14843 * math/s_cexpl.c: Likewise.
14844 * math/s_clog.c: Likewise.
14845 * math/s_clog10.c: Likewise.
14846 * math/s_clog10f.c: Likewise.
14847 * math/s_clog10l.c: Likewise.
14848 * math/s_clogf.c: Likewise.
14849 * math/s_clogl.c: Likewise.
14850 * math/s_csin.c: Likewise.
14851 * math/s_csinf.c: Likewise.
14852 * math/s_csinh.c: Likewise.
14853 * math/s_csinhf.c: Likewise.
14854 * math/s_csinhl.c: Likewise.
14855 * math/s_csinl.c: Likewise.
14856 * math/s_csqrt.c: Likewise.
14857 * math/s_csqrtf.c: Likewise.
14858 * math/s_csqrtl.c: Likewise.
14859 * math/s_ctan.c: Likewise.
14860 * math/s_ctanf.c: Likewise.
14861 * math/s_ctanh.c: Likewise.
14862 * math/s_ctanhf.c: Likewise.
14863 * math/s_ctanhl.c: Likewise.
14864 * math/s_ctanl.c: Likewise.
14865 * math/s_ldexp.c: Likewise.
14866 * math/s_ldexpf.c: Likewise.
14867 * math/s_ldexpl.c: Likewise.
14868 * math/s_significand.c: Likewise.
14869 * math/s_significandf.c: Likewise.
14870 * math/s_significandl.c: Likewise.
14871 * math/w_acos.c: Likewise.
14872 * math/w_acosf.c: Likewise.
14873 * math/w_acosh.c: Likewise.
14874 * math/w_acoshf.c: Likewise.
14875 * math/w_acoshl.c: Likewise.
14876 * math/w_acosl.c: Likewise.
14877 * math/w_asin.c: Likewise.
14878 * math/w_asinf.c: Likewise.
14879 * math/w_asinl.c: Likewise.
14880 * math/w_atan2.c: Likewise.
14881 * math/w_atan2f.c: Likewise.
14882 * math/w_atan2l.c: Likewise.
14883 * math/w_atanh.c: Likewise.
14884 * math/w_atanhf.c: Likewise.
14885 * math/w_atanhl.c: Likewise.
14886 * math/w_cosh.c: Likewise.
14887 * math/w_coshf.c: Likewise.
14888 * math/w_coshl.c: Likewise.
14889 * math/w_dremf.c: Likewise.
14890 * math/w_exp10.c: Likewise.
14891 * math/w_exp10f.c: Likewise.
14892 * math/w_exp10l.c: Likewise.
14893 * math/w_exp2.c: Likewise.
14894 * math/w_exp2f.c: Likewise.
14895 * math/w_fmod.c: Likewise.
14896 * math/w_fmodf.c: Likewise.
14897 * math/w_fmodl.c: Likewise.
14898 * math/w_hypot.c: Likewise.
14899 * math/w_hypotf.c: Likewise.
14900 * math/w_hypotl.c: Likewise.
14901 * math/w_j0.c: Likewise.
14902 * math/w_j0f.c: Likewise.
14903 * math/w_j0l.c: Likewise.
14904 * math/w_j1.c: Likewise.
14905 * math/w_j1f.c: Likewise.
14906 * math/w_j1l.c: Likewise.
14907 * math/w_jn.c: Likewise.
14908 * math/w_jnf.c: Likewise.
14909 * math/w_jnl.c: Likewise.
14910 * math/w_lgamma.c: Likewise.
14911 * math/w_lgamma_r.c: Likewise.
14912 * math/w_lgammaf.c: Likewise.
14913 * math/w_lgammaf_r.c: Likewise.
14914 * math/w_lgammal.c: Likewise.
14915 * math/w_lgammal_r.c: Likewise.
14916 * math/w_log.c: Likewise.
14917 * math/w_log10.c: Likewise.
14918 * math/w_log10f.c: Likewise.
14919 * math/w_log10l.c: Likewise.
14920 * math/w_log2.c: Likewise.
14921 * math/w_log2f.c: Likewise.
14922 * math/w_log2l.c: Likewise.
14923 * math/w_logf.c: Likewise.
14924 * math/w_logl.c: Likewise.
14925 * math/w_pow.c: Likewise.
14926 * math/w_powf.c: Likewise.
14927 * math/w_powl.c: Likewise.
14928 * math/w_remainder.c: Likewise.
14929 * math/w_remainderf.c: Likewise.
14930 * math/w_remainderl.c: Likewise.
14931 * math/w_scalb.c: Likewise.
14932 * math/w_scalbf.c: Likewise.
14933 * math/w_scalbl.c: Likewise.
14934 * math/w_sinh.c: Likewise.
14935 * math/w_sinhf.c: Likewise.
14936 * math/w_sinhl.c: Likewise.
14937 * math/w_sqrt.c: Likewise.
14938 * math/w_sqrtf.c: Likewise.
14939 * math/w_sqrtl.c: Likewise.
14940 * math/w_tgamma.c: Likewise.
14941 * math/w_tgammaf.c: Likewise.
14942 * math/w_tgammal.c: Likewise.
14943
6a621eb7
UD
14944 * po/ja.po: Update from translation team.
14945
bf582445
AJ
149462011-09-29 Andreas Jaeger <aj@suse.de>
14947
f9efbf3a
AJ
14948 [BZ #13179]
14949 * sunrpc/netname.c (netname2host): Fix logic.
14950
bf582445
AJ
14951 [BZ #6779]
14952 [BZ #6783]
14953 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14954 correctly.
14955 * math/w_remainder.c (__remainder): Likewise.
14956 * math/w_remainderf.c (__remainderf): Likewise.
14957 * math/libm-test.inc (remainder_test): Add test cases.
14958
48693bea
AK
149592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14960
14961 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14962 sdiv_qrnnd.
14963
42622229
LD
149642011-10-07 Ulrich Drepper <drepper@gmail.com>
14965
14966 * string/test-memcmp.c: Avoid unncessary #defines.
14967 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14968
093ecf92
LD
149692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14970
14971 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14972 Use new sse2 version for core i3 - i7 as it's faster
14973 than sse42 version.
14974 (bit_Prefer_PMINUB_for_stringop): New.
14975 * sysdeps/x86_64/rawmemchr.S: Update.
14976 Replace with faster SSE2 version.
14977 * sysdeps/x86_64/memrchr.S: New file.
14978 * sysdeps/x86_64/memchr.S: Update.
14979 Replace with faster SSE2 version.
14980
fde56e5c
MP
149812011-09-12 Marek Polacek <mpolacek@redhat.com>
14982
14983 * elf/dl-load.c (lose): Add cast to avoid warning.
14984
21fd49a9
UD
149852011-10-07 Ulrich Drepper <drepper@gmail.com>
14986
5a06e643
UD
14987 * po/ca.po: Update from translation team.
14988
684ae515
UD
14989 * inet/getnetgrent_r.c: Hook up nscd.
14990 * nscd/Makefile (routines): Add nscd_netgroup.
14991 (nscd-modules): Add netgroupcache.
14992 (CFLAGS-netgroupcache.c): Define.
14993 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14994 (cache_search): Add const to second parameter.
14995 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14996 INNETGR.
14997 (dbs): Add netgrdb entry.
14998 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14999 (verify_persistent_db): Handle netgrdb.
15000 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15001 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15002 GETFDNETGR.
15003 (netgroup_response_header): Define.
15004 (innetgroup_response_header): Define.
15005 (datahead): Add netgroup_response_header and innetgroup_response_header
15006 elements.
15007 * nscd/nscd.conf: Add entries for netgroup cache.
15008 * nscd/nscd.h (dbtype): Add netgrdb.
15009 (_PATH_NSCD_NETGROUP_DB): Define.
15010 (netgroup_iov_disabled): Declare.
15011 (xmalloc, xcalloc, xrealloc): Move declarations here.
15012 (cache_search): Adjust prototype.
15013 Add netgroup-related prototypes.
15014 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15015 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15016 (__nscd_innetgr): Declare.
15017 * nscd/selinux.c (perms): Use access_vector_t as element type and
15018 add netgroup-related initializers.
15019 * nscd/netgroupcache.c: New file.
15020 * nscd/nscd_netgroup.c: New file.
15021 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15022 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15023 For four parameters use innetgr.
15024 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15025 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15026 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15027 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15028
21fd49a9
UD
15029 * nscd/connections.c (register_traced_file): Don't register file
15030 for disabled databases.
15031
054c0457
UD
150322011-10-06 Ulrich Drepper <drepper@gmail.com>
15033
32b63198
UD
15034 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15035
054c0457
UD
15036 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15037 from tree and freeing node.
15038
64031225
JO
150392011-09-25 Jiri Olsa <jolsa@redhat.com>
15040
15041 * nss/nsswitch.c (__nss_database_lookup): Handle
15042 nss_parse_service_list out of memory case.
15043
0490345c
JO
150442011-09-15 Jiri Olsa <jolsa@redhat.com>
15045
15046 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15047 out of memory case.
15048
3a62d00d
AS
150492011-10-04 Andreas Schwab <schwab@redhat.com>
15050
15051 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15052 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15053 pass it down.
15054 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15055 elf_machine_rela, elf_machine_lazy_rel.
15056 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15057 (ELF_DYNAMIC_DO_REL): Likewise.
15058 (ELF_DYNAMIC_DO_RELA): Likewise.
15059 (ELF_DYNAMIC_RELOCATE): Likewise.
15060 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15061 to ELF_DYNAMIC_DO_REL.
15062 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15063 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15064 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15065 elf_machine_rela.
15066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15067 skip_ifunc, don't call ifunc function if non-zero.
15068 (elf_machine_rela): Likewise.
15069 (elf_machine_lazy_rel): Likewise.
15070 (elf_machine_lazy_rela): Likewise.
15071 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15072 (elf_machine_lazy_rel): Likewise.
15073 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15074 Likewise.
15075 (elf_machine_lazy_rel): Likewise.
15076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15077 Likewise.
15078 (elf_machine_lazy_rel): Likewise.
15079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15080 (elf_machine_lazy_rel): Likewise.
15081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15082 (elf_machine_lazy_rel): Likewise.
15083 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15084 (elf_machine_lazy_rel): Likewise.
15085 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15086 (elf_machine_lazy_rel): Likewise.
15087 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15088 (elf_machine_lazy_rel): Likewise.
15089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15090 (elf_machine_lazy_rel): Likewise.
15091
68577918
UD
150922011-09-28 Ulrich Drepper <drepper@gmail.com>
15093
15094 * nss/nss_files/files-init.c (_nss_files_init): Use static
15095 initialization for all the *_traced_file variables.
15096
68822d74
AS
150972011-09-28 Andreas Schwab <schwab@redhat.com>
15098
15099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15100
2056100b
RM
151012011-09-27 Roland McGrath <roland@hack.frob.com>
15102
15103 [BZ #13226]
15104 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15105
32c76b63
AS
151062011-09-27 Andreas Schwab <schwab@redhat.com>
15107
15108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15109 Reread the line before reparsing it.
15110
bf972c9d
AS
151112011-09-26 Andreas Schwab <schwab@redhat.com>
15112
15113 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15114
e057a1b5
JM
151152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15116 Maxim Kuvyrkov <maxim@codesourcery.com>
15117 Joseph Myers <joseph@codesourcery.com>
15118
15119 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15120 if needed for __stack_chk_guard.
15121
bc7e1c36
RM
151222011-09-19 Roland McGrath <roland@hack.frob.com>
15123
ecb1482f
RM
15124 * sysdeps/posix/spawni.c (script_execute): Always define it.
15125 It will be optimized away if unused.
15126 (maybe_script_execute): New function.
15127 (__spawni): Call it.
15128
bc7e1c36
RM
15129 * Makerules: Don't include tls.make.
15130 (config-tls): Always set to thread.
15131 * tls.make.c: File removed.
15132
1c3b002b
MF
151332011-09-19 Mike Frysinger <vapier@gentoo.org>
15134
15135 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15136 * config.make.in (CPPFLAGS-config): New substituted variable.
15137
2840865d
UD
151382011-09-15 Ulrich Drepper <drepper@gmail.com>
15139
88738eb6
UD
15140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15141
cbf645a6 15142 [BZ #13192]
2840865d
UD
15143 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15144 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15145
b402e91a
RM
151462011-09-15 Roland McGrath <roland@hack.frob.com>
15147
15148 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15149 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15151 (CALL_FAIL): Likewise.
15152 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15153 (CALL_FAIL): Macro removed.
15154 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15155
4c1a1f71
UD
151562011-09-15 Ulrich Drepper <drepper@gmail.com>
15157
15158 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15159 for __FINITE_MATH_ONLY__ == 1.
15160
edc121be
AS
151612011-09-15 Andreas Schwab <schwab@redhat.com>
15162
15163 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15164 __ieee754_sqrt instead of sqrt.
15165 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15166 __ieee754_sqrtf instead of sqrtf.
15167 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15168 __floorf instead of floorf.
15169 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15170 __floorf, __truncf instead of floorf, truncf.
15171
cd205654
UD
151722011-09-14 Ulrich Drepper <drepper@gmail.com>
15173
ee4d0315
UD
15174 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15175
cd205654
UD
15176 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15177 __extern_always_inline.
15178 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15179 32-bit.
15180
48b67d71
AS
151812011-09-14 Andreas Schwab <schwab@redhat.com>
15182
15183 * elf/rtld.c (dl_main): Also relocate in dependency order when
15184 doing symbol dependency testing.
15185
1ae12c75
AS
151862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15187
15188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15189 Always define `refsym'.
15190
995a80df
AS
151912011-09-13 Andreas Schwab <schwab@redhat.com>
15192
e529793b
AS
15193 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15194 (__FD_ELT): Renamed from __FDELT.
15195 * misc/bits/select2.h (__FD_ELT): Likewise.
15196 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15197 __FD_MASK instead of __FDELT, __FDMASK.
15198 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15199 Likewise.
15200 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15201 Likewise.
15202
52d4fef8
AS
15203 * elf/Makefile (gen-ldd): Fix pattern.
15204
995a80df
AS
15205 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15206 (init_tls): Likewise.
15207
8682f8b0
UD
152082011-09-12 Ulrich Drepper <drepper@gmail.com>
15209
15210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15211
de82006d
AS
152122011-09-12 Andreas Schwab <schwab@redhat.com>
15213
a7c8e6a1
AS
15214 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15215 `struct cmsghdr *' instead of `void *'.
15216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15217 Likewise.
15218
0f31fe77
AS
152192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15220
15221 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15222 if non-absolute.
15223 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15224 ldd_rewrite_script.
0f31fe77 15225
32b4c839
UD
152262011-09-11 Ulrich Drepper <drepper@gmail.com>
15227
83cd1420
UD
15228 * configure.in: Remove --with-tls option.
15229 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15230 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15231 out in case it is missing.
15232 * sysdeps/ia64/elf/configure.in: Likewise.
15233 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15234 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15235 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15236 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15237 * sysdeps/sh/elf/configure.in: Likewise.
15238 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15240 * sysdeps/x86_64/elf/configure.in: Likewise.
15241 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15242 * sysdeps/mach/hurd/tls.h: Likewise.
15243
633f745d
UD
15244 [BZ #13067]
15245 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15246
f318beb8
UD
15247 [BZ #13090]
15248 * configure.in: Fix use of AC_INIT.
15249
32b4c839
UD
15250 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15251
3ce1f295
UD
152522011-09-10 Ulrich Drepper <drepper@gmail.com>
15253
bb016596
UD
15254 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15255 __set_errno.
8e58439c
UD
15256 * malloc/hooks.c: Likewise.
15257
aebae053 15258 [BZ #11929]
02d46fc4
UD
15259 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15260 variables statically.
15261 (narenas): Initialize.
15262 (list_lock): Initialize.
bb016596
UD
15263 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15264 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15265 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15266 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15267 Add initializers to main_arena and mp_.
15268 (malloc_state): Remove pagesize member. Change all users to use
15269 GLRO(dl_pagesize).
15270
15271 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15272 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15273 is always initialized.
15274
22a89187
UD
15275 * malloc/malloc.c: Removed unused configurations and dead code.
15276 * malloc/arena.c: Likewise.
15277 * malloc/hooks.c: Likewise.
02d46fc4 15278 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15279
d063d164
UD
15280 * include/tls.h: Removed. USE___THREAD must always be defined.
15281 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15282 * elf/dl-libc.c: Likewise.
15283 * elf/dl-tsd.c: Likewise.
15284 * include/errno.h: Likewise.
15285 * include/netdb.h: Likewise.
15286 * include/resolv.h: Likewise.
15287 * inet/herrno-loc.c: Likewise.
15288 * inet/herrno.c: Likewise.
15289 * malloc/arena.c: Likewise.
15290 * malloc/hooks.c: Likewise.
15291 * malloc/malloc.c: Likewise.
15292 * resolv/res-state.c: Likewise.
15293 * resolv/res_libc.c: Likewise.
15294 * sysdeps/i386/dl-machine.h: Likewise.
15295 * sysdeps/ia64/dl-machine.h: Likewise.
15296 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15297 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15298 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15299 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15300 * sysdeps/sh/dl-machine.h: Likewise.
15301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15302 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15303 * sysdeps/unix/i386/sysdep.S: Likewise.
15304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15305 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15314 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15315 * sysdeps/x86_64/dl-machine.h: Likewise.
15316 * tls.make.c: Likewise.
15317
3ce1f295
UD
15318 * configure.in: Remove --with-__thread option. Make tests for
15319 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15320 tls_model attribute fail if no support is available. Remove
15321 USE_IN_LIBIO.
15322 * Makeconfig: Adjust for dropped configure option. All features are
15323 now mandatory.
15324 * Makerules: Likewise.
15325 * Versions.def: Likewise.
15326 * argp/argp-fmtstream.c: Likewise.
15327 * argp/argp-fmtstream.h: Likewise.
15328 * argp/argp-help.c: Likewise.
15329 * assert/assert.c: Likewise.
15330 * config.h.in: Likewise.
15331 * config.make.in: Likewise.
15332 * configure: Likewise.
15333 * configure.in: Likewise.
15334 * csu/Versions: Likewise.
15335 * csu/init.c: Likewise.
15336 * elf/tst-audit2.c: Likewise.
15337 * elf/tst-tls10.c: Likewise.
15338 * elf/tst-tls10.h: Likewise.
15339 * elf/tst-tls11.c: Likewise.
15340 * elf/tst-tls12.c: Likewise.
15341 * elf/tst-tls14.c: Likewise.
15342 * elf/tst-tlsmod11.c: Likewise.
15343 * elf/tst-tlsmod12.c: Likewise.
15344 * elf/tst-tlsmod13.c: Likewise.
15345 * elf/tst-tlsmod13a.c: Likewise.
15346 * elf/tst-tlsmod14a.c: Likewise.
15347 * elf/tst-tlsmod15b.c: Likewise.
15348 * elf/tst-tlsmod16a.c: Likewise.
15349 * elf/tst-tlsmod16b.c: Likewise.
15350 * elf/tst-tlsmod7.c: Likewise.
15351 * elf/tst-tlsmod8.c: Likewise.
15352 * elf/tst-tlsmod9.c: Likewise.
15353 * gmon/gmon.c: Likewise.
15354 * grp/fgetgrent_r.c: Likewise.
15355 * grp/putgrent.c: Likewise.
15356 * hurd/fopenport.c: Likewise.
15357 * include/libc-symbols.h: Likewise.
15358 * include/tls.h: Likewise.
15359 * intl/gettextP.h: Likewise.
15360 * intl/loadinfo.h: Likewise.
15361 * locale/global-locale.c: Likewise.
15362 * locale/localeinfo.h: Likewise.
15363 * mach/devstream.c: Likewise.
15364 * malloc/arena.c: Likewise.
15365 * malloc/set-freeres.c: Likewise.
15366 * misc/err.c: Likewise.
15367 * misc/getttyent.c: Likewise.
15368 * misc/mntent_r.c: Likewise.
15369 * posix/getopt.c: Likewise.
15370 * posix/wordexp.c: Likewise.
15371 * pwd/fgetpwent_r.c: Likewise.
15372 * resolv/Versions: Likewise.
15373 * resolv/res_hconf.c: Likewise.
15374 * shadow/fgetspent_r.c: Likewise.
15375 * shadow/putspent.c: Likewise.
15376 * stdio-common/printf_fphex.c: Likewise.
15377 * stdio-common/tmpfile.c: Likewise.
15378 * stdlib/abort.c: Likewise.
15379 * stdlib/fmtmsg.c: Likewise.
15380 * sunrpc/auth_unix.c: Likewise.
15381 * sunrpc/clnt_perr.c: Likewise.
15382 * sunrpc/clnt_tcp.c: Likewise.
15383 * sunrpc/clnt_udp.c: Likewise.
15384 * sunrpc/clnt_unix.c: Likewise.
15385 * sunrpc/openchild.c: Likewise.
15386 * sunrpc/svc_simple.c: Likewise.
15387 * sunrpc/svc_tcp.c: Likewise.
15388 * sunrpc/svc_udp.c: Likewise.
15389 * sunrpc/svc_unix.c: Likewise.
15390 * sunrpc/xdr.c: Likewise.
15391 * sunrpc/xdr_array.c: Likewise.
15392 * sunrpc/xdr_rec.c: Likewise.
15393 * sunrpc/xdr_ref.c: Likewise.
15394 * sunrpc/xdr_stdio.c: Likewise.
15395
1248c1c4
PB
153962011-09-09 Ulrich Drepper <drepper@gmail.com>
15397
15398 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15399
154002011-07-03 Andreas Jaeger <aj@suse.de>
15401
15402 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15404 regenerate with gen-libm-tests.pl.
15405
154062010-05-12 Petr Baudis <pasky@suse.cz>
15407
15408 [BZ #11589]
15409 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15410 around j0() zero points by switching to j1().
15411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15415
f22e1074
UD
154162011-09-09 Ulrich Drepper <drepper@gmail.com>
15417
f19009c1
UD
15418 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15419 instead of 0.
15420 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15421 instead of 0. .
15422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15423 Patch in part by Pavel Roskin <proski@gnu.org>.
15424
3f8cc204
UD
15425 [BZ #13138]
15426 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15427 realloc.
15428 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15429 Free memory block if necessary.
15430
f22e1074
UD
15431 [BZ #12847]
15432 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15433 be NULL. Don't lock in this case.
15434
0a2349f9
RM
154352011-09-09 Roland McGrath <roland@hack.frob.com>
15436
15437 * elf/elf.h (ELFOSABI_GNU): New macro.
15438 (ELFOSABI_LINUX): Define to that.
15439
f3cdd467
DZ
154402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15441
15442 * string/strncat.c (strncat): Undef the symbol in case it has been
15443 defined in bits/string.h.
15444
74718d13
UD
154452011-09-09 Ulrich Drepper <drepper@gmail.com>
15446
633e9e0f
UD
15447 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15448
0a2349f9 15449 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15450 link map.
15451
f9924780
AJ
154522011-08-17 Andreas Jaeger <aj@suse.de>
15453
15454 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15455
7f5517aa
PP
154562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15457 Ian Lance Taylor <iant@google.com>
15458
15459 * math/libm-test.inc (lround_test): New testcase.
15460 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15461
762011fe
UD
154622011-09-08 Ulrich Drepper <drepper@gmail.com>
15463
92963737
UD
15464 * Makefile: Remove support for automatic cvs check-ins.
15465 * Makerules: Likewise.
15466 * config.make.in: Likewise.
15467 * configure.in: Likewise.
15468 * intl/Makefile: Likewise.
15469 * locale/Makefile: Likewise.
15470 * po/Makefile: Likewise.
15471 * posix/Makefile: Likewise.
15472 * sysdeps/gnu/Makefile: Likewise.
15473 * sysdeps/mach/hurd/Makefile: Likewise.
15474 * sysdeps/sparc/sparc32/Makefile: Likewise.
15475
b0727fd8
JS
15476 [BZ #13118]
15477 * posix/Makefile (bug-regex32-ENV): Define.
15478 Patch by John Stanley <jpsinthemix@verizon.net>.
15479
a0f33f99
UD
15480 * misc/Makefile (headers): Add bits/select2.h.
15481 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15482 * misc/bits/select2.h: New file.
15483 * include/bits/select2.h: New file.
15484 * debug/Makefile (routines): Add fdelt_chk.
15485 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15486 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15487 FD_ISSET.
15488 * debug/fdelt_chk.c: New file.
15489
762011fe
UD
15490 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15491 * wcsmbs/test-wmemcmp.c: Likewise.
15492 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15493 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15494
154952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15496
15497 * string/Makefile (strop-tests): Add memcmp.
15498 * string/test-wmemcmp.c: New file.
15499 * string/test-memcmp.c: Add wmemcmp support.
15500
7f513ec8
RM
155012011-09-08 Roland McGrath <roland@hack.frob.com>
15502
0442afb4
RM
15503 [BZ #13153]
15504 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15505 2011-07-19 change.
15506
7f513ec8
RM
15507 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15508 garbage value in a __mach_port_mod_refs call in the cases of the
15509 task-self and thread-self ports.
15510
a12b2239
ST
155112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15512
15513 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15514
610f9ab4
AS
155152011-09-08 Andreas Schwab <schwab@redhat.com>
15516
7f513ec8 15517 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15518
48882a1a
LD
155192011-09-07 Ulrich Drepper <drepper@gmail.com>
15520
b49865be
UD
15521 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15522
fdc86bc9
UD
15523 * elf/dl-libc.c (dlerror_run): Pass back error code from
15524 dl_catch_error.
15525
c966526a
UD
15526 [BZ #13123]
15527 * elf/dl-load.c (lose): Free l_origin if it is valid.
15528
48882a1a
LD
15529 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15530 names.
15531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15536 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15537
77a2a8b4
AZ
155382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15539
15540 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15541 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15542 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15543 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15544 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15545 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15546 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15547 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15548 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15549 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15550
24f579d8
AM
155512011-08-15 Alan Modra <amodra@gmail.com>
15552
15553 [BZ #13092]
15554 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15555 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15556 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15557 ppc_mcount to static-only-routines.
15558 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15559 __mcount_internal.
15560 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15561 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15562
3d4837df
UD
155632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15564
15565 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15566 for finite and infinity parameters.
15567
22700377
WS
155682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15569
15570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15571 and add nop instructions for throughput optimization.
15572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15573
5025581e
WS
155742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15575
15576 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15577 aligned copy for power7 with vector-scalar instructions.
15578 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15579
08a300c9
L
155802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15581
15582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15583 AVX check.
15584
59178ef9
AS
155852011-09-07 Andreas Schwab <schwab@redhat.com>
15586
15587 [BZ #13144]
15588 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15589 last change.
15590
e38ba7ab
UD
155912011-09-07 Ulrich Drepper <drepper@gmail.com>
15592
15593 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15594 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15595 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15596 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15597 clock_gettime.
15598
d53a73ac
UD
155992011-09-06 Ulrich Drepper <drepper@gmail.com>
15600
fc8bffcc
UD
15601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15602 Forgot to demangle the pointer.
15603
ceaa0c5d
UD
15604 * sysdeps/i386/sysdep.h: Define atom_text_section.
15605 * sysdeps/x86_64/sysdep.h: Likewise.
15606 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15607 section with atom_text_section.
15608 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15610 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15612 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15613
a77d3c17
UD
15614 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15616 already be defined. Change to take two parameters and don't assign
15617 result to variable. Adjust all users.
15618 Define INTERNAL_GETTIME if not already defined.
15619 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15620 call.
15621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15622 HAVE_CLOCK_GETTIME_VSYSCALL.
15623 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15624
d53a73ac
UD
15625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15626 gettimeofday vsyscall, just use time.
15627
a8f84144
AS
156282011-09-06 Andreas Schwab <schwab@redhat.com>
15629
15630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15631 <errno.h>.
15632
ef606249
UD
156332011-09-06 Ulrich Drepper <drepper@gmail.com>
15634
15635 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15636 syscall on x86-64.
15637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15638 syscall.
15639 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15641 syscall if possible.
15642
6585cb60
UD
156432011-09-05 Ulrich Drepper <drepper@gmail.com>
15644
15645 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15646 e_ident. Don't pass to find_mapsXX.
15647 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15648
a5f524e4
LD
156492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15650
15651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15652 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15653 * sysdeps/x86_64/multiarch/strchr.S: Update.
15654 Check bit_slow_BSF bit.
15655 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15657 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15658
554881ef
UD
156592011-09-05 Ulrich Drepper <drepper@gmail.com>
15660
d96de963
UD
15661 [BZ #13134]
15662 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15663 before glibc 2.15.
15664 (tryshell): Define.
15665 (__spawni): Change last parameter to be flag. Test
15666 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15667 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15668 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15669 * posix/spawni.c: Likewise.
15670 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15671 * posix/spawnp.c: Likewise. Change normal version to use
15672 SPAWN_XFLAGS_USE_PATH.
15673 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15674 SPAWN_XFLAGS_TRY_SHELL.
15675
d48e5868
UD
15676 [BZ #13150]
15677 * posix/glob.h: Remove gcc 1.x support.
15678
554881ef
UD
15679 [BZ #13068]
15680 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15681
693fb948
LD
156822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15683
15684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15685 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15686 strrchr-sse2-bsf
15687 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15688 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15689 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15691 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15693
1b48c537
UD
156942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15695
49d42c37
UD
15696 * sysdeps/x86_64/wcscmp.S: New file.
15697
1b48c537
UD
15698 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15699 wcscmp-c wcscmp-sse2
15700 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15701 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15702 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15703 * wcsmbs/wcscmp.c: Allow renaming.
15704
15c95c5d
DM
157052011-09-05 David S. Miller <davem@davemloft.net>
15706
15707 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15708 stack slot, rather than the struct return pointer slot.
15709 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15710 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15713
2f0ad8f3
UD
157142011-09-05 Ulrich Drepper <drepper@gmail.com>
15715
d88ae418
UD
15716 * po/ja.po: Update from translation team.
15717
2f0ad8f3
UD
15718 [BZ #13144]
15719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15720 kernel in 64-bit binaries.
15721
5f4318d1
DM
157222011-09-01 David S. Miller <davem@davemloft.net>
15723
15724 * elf/elf.h (HWCAP_SPARC_*): Move to..
15725 * sysdeps/sparc/sysdep.h: this new file and add new values.
15726 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15727 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15728 _DL_HWCAP_COUNT to 24.
15729 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15730 entries.
15731 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15732 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15733 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15735 instead of magic constants.
15736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15737
3ba57516
DM
157382011-08-31 David S. Miller <davem@davemloft.net>
15739
15740 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15741 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15742 Reimplement to do errno handling inline.
15743 (SYSCALL_ERROR_HANDLER): New macro.
15744 (__SYSCALL_STRING): Do not do errno handling in asm.
15745 (__CLONE_SYSCALL_STRING): Delete.
15746 (__INTERNAL_SYSCALL_STRING): Delete.
15747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15748 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15749 (PSEUDO): Reimplement to do errno handling inline.
15750 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15751 (SYSCALL_ERROR_HANDLER): New macro.
15752 (__SYSCALL_STRING): Do not do errno handling in asm.
15753 (__CLONE_SYSCALL_STRING): Delete.
15754 (__INTERNAL_SYSCALL_STRING): Delete.
15755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15756 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15757 i386.
15758 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15759 (inline_syscall*): Add 'err' argument.
15760 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15761 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15762 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15763 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15764
15765 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15766 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15767
2bc17433
AS
157682011-08-30 Andreas Schwab <schwab@redhat.com>
15769
15770 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15771
fbeb5f4d
JO
157722011-08-29 Jiri Olsa <jolsa@redhat.com>
15773
15774 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15775 directive.
15776
ad69cc26
DM
157772011-08-24 David S. Miller <davem@davemloft.net>
15778
15779 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15780
39dd69df
AS
157812011-08-24 Andreas Schwab <schwab@redhat.com>
15782
15783 * elf/Makefile: Add rules to build and run unload8 test.
15784 * elf/unload8.c: New file.
15785 * elf/unload8mod1.c: New file.
15786 * elf/unload8mod1x.c: New file.
15787 * elf/unload8mod2.c: New file.
15788 * elf/unload8mod3.c: New file.
15789
15790 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15791 it wasn't used.
15792
2c0b250a
DM
157932011-08-23 David S. Miller <davem@davemloft.net>
15794
15795 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15796 subtract stack bias.
15797 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15798 %sp not %fp in calculations.
15799 (_JMPBUF_UNWINDS_ADJ): Likewise.
15800
22044b48
DM
15801 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15802 (aio_suspend): Call it to force an exception region around the
15803 AIO_MISC_WAIT() invocation.
15804
2cae4995
AS
158052011-08-23 Andreas Schwab <schwab@redhat.com>
15806
15807 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15808 backslash.
15809
873a772e
AJ
158102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15811
15812 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15813 protection macro.
15814 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15815 and <dl-machine.h>.
15816 (Elf64_FuncDesc): Remove.
15817
25ad0df1
DM
158182011-08-22 David S. Miller <davem@davemloft.net>
15819
15820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15821 sigaltstack check, add missing cfi directives.
15822 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15823 missing cfi directives, and sigaltstack handling.
15824
e888bcbe
AS
158252011-08-16 Andreas Schwab <schwab@redhat.com>
15826
15827 [BZ #11724]
15828 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15829 object is seen twice.
15830 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15831
15832 * elf/Makefile (distribute): Add tst-initorder2.c.
15833 (tests): Add tst-initorder2.
15834 (modules-names): Add tst-initorder2a tst-initorder2b
15835 tst-initorder2c tst-initorder2d. Add rules to build them.
15836 ($(objpfx)tst-initorder2.out): New rule.
15837 * elf/tst-initorder2.c: New file.
15838 * elf/tst-initorder2.exp: New file.
15839
87162f46
AS
158402011-08-22 Andreas Schwab <schwab@redhat.com>
15841
70538b7f
AS
15842 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15843
f55ffe58
AS
15844 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15845 dependencies back to end of function.
15846
87162f46
AS
15847 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15848 $(elfobjdir)/ld.so.
15849
91b392a4
UD
158502011-08-21 Ulrich Drepper <drepper@gmail.com>
15851
15852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15853 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15855 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15856 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15857 of __vdso_gettimeofday.
15858 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15859 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15860 attribute_hidden.
15861 (_libc_vdso_platform_setup): Remove initialization of
15862 __vdso_gettimeofday and __vdso_time.
15863
5c43483f
UD
158642011-08-20 Ulrich Drepper <drepper@gmail.com>
15865
775a77e7
UD
15866 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15867 and fgetc_unlocked.
15868 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15869 getc_unlocked.
89f447ed 15870
49c74ba9
UD
15871 * elf/dl-open.c (add_to_global): Report additions to the global scope
15872 for LD_DEBUG=scopes.
15873 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15874 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15875
5c43483f
UD
15876 [BZ #13114]
15877 * stdio-common/Makefile (tests): Add bug24.
15878 * stdio-common/bug24.c: New file.
15879
a101b025
AJ
158802011-08-19 Andreas Jaeger <aj@suse.de>
15881
15882 [BZ #13114]
15883 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15884 non-existant file when using close-on-exec mode.
15885
c88f1766
UD
158862011-08-20 Ulrich Drepper <drepper@gmail.com>
15887
0276a718
UD
15888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15889 the very first instruction.
15890
c88f1766
UD
15891 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15892 the CFI state in the end.
15893 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15894 inclusion of dl-trampoline.h.
15895 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15896
51ccffa0
AS
158972011-08-19 Andreas Schwab <schwab@redhat.com>
15898
94d7165f
AS
15899 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15900 expectations for long double.
15901
51ccffa0
AS
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15903 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15904
fd708658 159052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15906
15907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15908 artificual limit depends upon the system page size.
15909
44f0a71e
UD
159102011-08-17 Ulrich Drepper <drepper@gmail.com>
15911
15912 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15913 * resolv/Makefile: Define CFLAGS-libresolv.
15914
8de79a24
AS
159152011-08-17 Andreas Schwab <schwab@redhat.com>
15916
15917 * nss/makedb.c (compute_tables): Make variables used in nested
15918 function static.
15919
27724598
UD
159202011-08-17 Ulrich Drepper <drepper@gmail.com>
15921
c5305d88
UD
15922 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15923 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15924 if buffer was too small.
15925
27724598
UD
15926 * elf/pldd.c (main): Attach to all threads in the process.
15927 Rewrite /proc handling to use *at functions.
15928
076fe015
UD
159292011-08-16 Ulrich Drepper <drepper@gmail.com>
15930
174baab3
UD
15931 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15932 specifies first scope to show.
15933 (dl_open_worker): Update callers. Move printing scope of new
15934 object to before the relocation.
44f0a71e 15935 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15936 * sysdeps/generic/ldsodefs.h: Update declaration.
15937
076fe015
UD
15938 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15939 string for the scope number.
15940
a60df2c3
UD
159412011-08-14 Ulrich Drepper <drepper@gmail.com>
15942
15943 * nscd/servicescache.c (cache_addserv): Make sure written is always
15944 initialized.
15945
5e4287d1
RM
159462011-08-14 Roland McGrath <roland@hack.frob.com>
15947
85ae0589
RM
15948 * sysdeps/i386/i486/bits/atomic.h
15949 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15950 statement expression, so as to suppress "set but not used" warning.
15951 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15952
69f63097
RM
15953 * string/strncat.c (STRNCAT): Use prototype definition.
15954
675456ef
RM
15955 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15956 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15957 -Iprograms here.
15958 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15959 (localedef-modules): Add localedef.
15960 (locale-modules): Add locale.
15961
5e4287d1
RM
15962 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15963 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15964 to avoid a warning.
15965
9c96ff23
DM
159662011-08-14 David S. Miller <davem@davemloft.net>
15967
15968 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15969 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15970
f9ddf089
UD
159712011-08-13 Ulrich Drepper <drepper@gmail.com>
15972
44f0a71e 15973 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15974 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15975 * elf/rtld.c (dl_main): Set l_name of vDSO.
15976 Call _dl_show_scope when DL_DEBUG_SCOPES.
15977 (process_dl_debug): Recognize scopes flag and also set it for all.
15978 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15979 Declare _dl_show_scope.
15980
1dc27704
UD
15981 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15982 (do_dlopen): Pass caller_dlopen to dl_open.
15983 (__libc_dlopen_mode): Initialize caller_dlopen.
15984
f9ddf089
UD
15985 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15986 of libc. Make tolower call locale-independent. Optimize a bit by
15987 using isdigit instead of isalnum.
15988 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15989
9ac533d3
UD
159902011-08-12 Ulrich Drepper <drepper@gmail.com>
15991
15992 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15993 was a dependency or dynamically loaded.
15994
89edf2e9
UD
159952011-08-11 Ulrich Drepper <drepper@gmail.com>
15996
8e999d29
UD
15997 * intl/l10nflist.c: Allow architecture-specific pop function.
15998 * sysdeps/x86_64/l10nflist.c: New file.
15999
89edf2e9
UD
16000 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16001 classification.
16002
14d96785
AS
160032011-08-10 Andreas Schwab <schwab@redhat.com>
16004
16005 * include/dirent.h: Add libc_hidden_proto for scandirat and
16006 scandirat64. Don't declare __scandirat64.
16007 * dirent/scandirat.c: Add libc_hidden_def.
16008 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16009 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16010
6761ac04
DM
160112011-08-10 David S. Miller <davem@davemloft.net>
16012
16013 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16014 enum.
16015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16018
c55fbd1e
UD
160192011-08-09 Ulrich Drepper <drepper@gmail.com>
16020
16021 * Versions.def [libc]: Add GLIBC_2.15.
16022 * dirent/Makefile (routines): Add scandirat and scandirat64.
16023 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16024 GLIBC_2.15.
16025 * dirent/dirent.h: Declare scandirat and scandirat64.
16026 * dirent/scandirat.c: New file.
16027 * dirent/scandirat64.c: New file.
16028 * sysdeps/wordsize-64/scandirat.c: New file.
16029 * sysdeps/wordsize-64/scandirat64.c: New file.
16030 * dirent/opendir.c: Define opendirat.
16031 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16032 using scandirat.
16033 * dirent/scandir64.c: Adjust for scandir.c change.
16034 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16035 __scandirat64, and __scandir_cancel_handler.
16036 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16037 additional parameter and use openat instead of open (outside of ld.so).
16038 Add new __opendir as wrapper around __opendirat.
16039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16040 here without requiring old scandirat implementation.
16041
879165f2
UD
160422011-08-08 Ulrich Drepper <drepper@gmail.com>
16043
16044 * dirent/scandir.c (cancel_handler): Renamed to
16045 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16046 defined. Adjust users.
16047 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16048 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16049
cb7e923b
UD
160502011-08-04 Ulrich Drepper <drepper@gmail.com>
16051
16292edd
UD
16052 * string/test-string.h (IMPL): Use __STRING to expand name and then
16053 stringify it.
16054
cb7e923b
UD
16055 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16056 of cleanups.
16057
cff82933
LD
160582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16059
16060 * string/Makefile: Update.
16061 (strop-tests): Append strncat.
16062 * string/test-wcscmp.c: New file.
16063 New comprehensive test for wcscmp.
16064 * string/test-strcmp.c: Update.
16065 (WIDE): New define.
16066
9be9bfcc
AS
160672011-07-22 Andreas Schwab <schwab@redhat.com>
16068
16069 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16070 line.
16071
2e96f1c7
AS
160722011-07-26 Andreas Schwab <schwab@redhat.com>
16073
16074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16075 encoding to ACE if AI_IDN.
16076
85188888
JJ
160772011-08-01 Jakub Jelinek <jakub@redhat.com>
16078
16079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16080 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16081
5fa16e9b
LD
160822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16083
16084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16085 Fix overflow bug in strncat.
16086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16087
16088 * string/test-strncat.c: Update.
16089 Add new tests for checking overflow bugs.
16090
160912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16092
16093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16094 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16095 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16096 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16098 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16099 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16100 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16101 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16102
16103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16104 (USE_AS_STRCAT): Define.
16105 Add strcat and strncat support.
16106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16107
8c1a459f
AS
161082011-07-25 Andreas Schwab <schwab@redhat.com>
16109
16110 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16111 __n bigger than INT_MAX+1.
16112 (__strncmp_g): Likewise.
16113
bba33c28
UD
161142011-07-23 Ulrich Drepper <drepper@gmail.com>
16115
798be72d
UD
16116 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16117 * libio/stido.h: Likewise.
16118
8accd4dc
UD
16119 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16120 (AF_NFC): Define.
16121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16122 (AF_NFC): Define.
16123
cbff0d96
UD
16124 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16127 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16129
9191c04a
UD
16130 [BZ #13021]
16131 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16132 installed.
16133
bba33c28
UD
16134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16135 typo.
16136 (_dl_x86_64_save_sse): Likewise.
16137
90f139dd
UD
161382011-07-22 Ulrich Drepper <drepper@gmail.com>
16139
1aae088a
UD
16140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16141 OSXSAVE.
16142 (_dl_x86_64_save_sse): Likewise.
16143
8e2045f5
UD
16144 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16145
90f139dd
UD
16146 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16147
1d002f25
AS
161482011-07-21 Andreas Schwab <schwab@redhat.com>
16149
16150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16151 change.
16152 (_dl_x86_64_save_sse): Use correct AVX check.
16153
21137f89
UD
161542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16155
16156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16157 bug in strncpy/strncat.
16158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16159
a65c0b7a
UD
161602011-07-21 Ulrich Drepper <drepper@gmail.com>
16161
16162 * string/tester.c (test_strcat): Add tests for different alignments
16163 of source and destination.
16164 (test_strncat): Likewise.
16165
6986b98a
UD
161662011-07-20 Ulrich Drepper <drepper@gmail.com>
16167
90bb2039
UD
16168 [BZ #12852]
16169 * posix/glob.c (glob): Check passed in values before using them in
16170 expressions to avoid some overflows.
16171 (glob_in_dir): Likewise.
16172
5644ef54
UD
16173 [BZ #13007]
16174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16175 check for AVX enablement so that we don't crash with old kernels and
16176 new hardware.
16177 * elf/tst-audit4.c: Add same checks here.
16178 * elf/tst-audit6.c: Likewise.
16179
16180 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16181
bfc9dc9b
AS
161822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16183
16184 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16185
702e64bb
UD
161862011-07-20 Ulrich Drepper <drepper@gmail.com>
16187
16188 * po/cs.po: Update from translation team.
16189 * po/bg.po: Likewise.
16190
295e904f
MP
161912011-07-12 Marek Polacek <mpolacek@redhat.com>
16192
16193 * misc/sys/cdefs.h: Add support for const attribute.
16194 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16195 to gnu_dev_{major,minor,makedev} functions.
16196
3ff94596
MP
161972011-07-20 Marek Polacek <mpolacek@redhat.com>
16198
16199 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16200
28b59fca
AS
162012011-07-20 Andreas Schwab <schwab@redhat.com>
16202
16203 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16204 strlen results.
16205
19df733e
AK
162062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16207
16208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16209 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16210 register in order to avoid conflicts with the soft frame pointer
16211 being held in r11 when necessary.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16213 (INTERNAL_VSYSCALL_NCS): Likewise.
16214
c8835729
MP
162152011-07-14 Marek Polacek <mpolacek@redhat.com>
16216
16217 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16218 * elf/dl-fini.c (_dl_fini): Adjust caller.
16219 * elf/dl-close.c (_dl_close_worker): Likewise.
16220 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16221
b902330c
MP
162222011-07-15 Marek Polacek <mpolacek@redhat.com>
16223
8991e135
MP
16224 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16225 "aux_cache->nlibs < 0".
16226
b902330c
MP
16227 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16228 in the reload-count case.
16229
99710781
LD
162302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16231
16232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16233 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16234 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16235 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16236 * sysdeps/x86_64/multiarch/strcat.S: New file.
16237 * sysdeps/x86_64/multiarch/strncat.S: New file.
16238 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16239 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16240 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16241 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16243 (USE_AS_STRCAT): Define.
16244 Add strcat and strncat support.
16245 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16247 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16248 * string/strncat.c: Update.
16249 (USE_AS_STRNCAT): Define.
16250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16251 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16252 and i7.
16253 * sysdeps/x86_64/multiarch/init-arch.h
16254 (bit_Prefer_PMINUB_for_stringop): New.
16255 (index_Prefer_PMINUB_for_stringop): Likewise.
16256 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16257 bit_Prefer_PMINUB_for_stringop.
16258
7dc6bd90
UD
162592011-07-19 Ulrich Drepper <drepper@gmail.com>
16260
16261 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16262 buffer64.
16263 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16264 of casting of buffer.
16265 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16266 buffer32 and buffer64.
16267 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16268 writes instead of casting of buffer.
16269 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16270 buffer32.
16271 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16272 casting of buffer.
16273
e0e72284
AS
162742011-07-19 Andreas Schwab <schwab@redhat.com>
16275
16276 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16277
feb1eb0b
UD
162782011-07-19 Ulrich Drepper <drepper@gmail.com>
16279
16280 * nscd/nscd.c (termination_handler): Don't do anything for a database
16281 if it has not yet been initialized.
16282
298711ff
UD
162832011-07-18 Ulrich Drepper <drepper@gmail.com>
16284
16285 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16286
162872011-07-15 Marek Polacek <mpolacek@redhat.com>
16288
16289 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16290
f9d68389
UD
162912011-07-18 Ulrich Drepper <drepper@gmail.com>
16292
16293 * po/nl.po: Update from translation team.
16294 * po/sv.po: Likewise.
16295
db290cf5
RM
162962011-07-16 Roland McGrath <roland@hack.frob.com>
16297
16298 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16299 now disallowed by GCC.
5c550700 16300
fd5e21c7
RM
16301 * configure.in (use-default-link): Default to yes if a test -shared
16302 link meets our qualifications.
16303 * configure: Regenerated.
16304
5c550700
RM
16305 * config.make.in (output-format): New variable.
16306 * configure.in: Check for ld --print-output-format support.
16307 * configure: Regenerated.
16308 * Makerules ($(common-objpfx)format.lds)
16309 [$(output-format) != unknown]: Just use $(output-format),
16310 instead of the linker-script munging.
16311
9fa2c032
RM
163122011-07-14 Roland McGrath <roland@hack.frob.com>
16313
a6928d51
RM
16314 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16315 of $(common-objpfx)shlib.lds.
16316 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16317
661607b3
RM
16318 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16319 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16320
9fa2c032
RM
16321 * configure.in (-z relro check): Adjust test code to add a large
16322 writable data section after it.
16323 * configure: Regenerated.
16324
defe9061
RM
163252011-07-11 Roland McGrath <roland@hack.frob.com>
16326
16327 * configure.in (-z relro check): Fix test code to make the variable
16328 truly const.
16329 * configure: Regenerated.
16330
319b9ad4
UD
163312011-07-11 Ulrich Drepper <drepper@gmail.com>
16332
16333 * nscd/nscd.h (struct traced_file): Define.
16334 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16335 elements. Add traced_files.
16336 (inotify_fd): Declare.
16337 (register_traced_file): Declare.
16338 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16339 (inotify_fd): Export.
16340 (resolv_conf_descr): Remove.
16341 (nscd_init): Move inotify descriptor creation to main.
16342 Don't register files for notification here.
16343 (register_traced_file): New function.
16344 (invalidate_cache): Don't use reset_res to determine whether to call
16345 res_init, go through the list of registered files.
16346 (main_loop_poll): The inotify descriptors are now stored in the
16347 structures for the traced files.
16348 (main_loop_epoll): Likewise
16349 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16350 to __nss_disable_nscd.
16351 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16352 for a database anymore. Check the records for all the registered
16353 files instead.
16354 * nss/Makefile (libnss_files-routines): Add files-init.
16355 (libnss_db-routines): Add db-init.
16356 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16357 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16358 * nss/nss_db/db-init.c: New file.
16359 * nss/nss_files/files-init.c: New file.
16360 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16361 __nss_lookup_function.
16362 (__nss_lookup_function): Call nss_load_library.
16363 (nss_load_all_libraries): New function.
16364 (__nss_disable_nscd): Take parameter with callback function for files
16365 to register. Set is_nscd. Load all the DSOs for the NSS modules
16366 used for the cached services.
16367 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16368 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16369 options for features to all the files in nscd.
16370
16371 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16372
23bee3e8
RM
163732011-07-10 Roland McGrath <roland@hack.frob.com>
16374
16375 * csu/elf-init.c (__libc_csu_init): Comment typo.
16376
46a5b7f0
UD
163772011-07-09 Ulrich Drepper <drepper@gmail.com>
16378
16379 * po/pl.po: Update from translation team.
16380 * po/ja.po: Likewise.
16381 * po/ru.po: Likewise.
16382 * po/ko.po: Likewise.
16383 * po/fr.po: Likewise.
16384
d30cf5bb
RM
163852011-07-09 Roland McGrath <roland@hack.frob.com>
16386
113ddea4
RM
16387 * configure.in (.ctors/.dtors header and trailer check):
16388 Use an empirical test on a built program.
16389 * configure: Regenerated.
16390
574920b4
RM
16391 * configure.in (-z relro check): Use an empirical test on a built DSO.
16392 Detect, but do not require, on ia64.
16393 * configure: Regenerated.
16394
d30cf5bb
RM
16395 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16396 Update tests that use readelf to use $READELF instead.
16397 * configure: Regenerated.
16398
8538fdb3
UD
163992011-07-08 Ulrich Drepper <drepper@gmail.com>
16400
16401 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16402 if the result is not used.
16403
04d08991
AJ
164042011-07-05 Andreas Jaeger <aj@suse.de>
16405
16406 [BZ#9696]
16407 * stdlib/tst-strtod.c: Add testcase.
16408
de283087
AD
164092011-07-07 Ulrich Drepper <drepper@gmail.com>
16410
4e5f31c8 16411 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16412 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16413 The latter has a higher limit. Take additional parameter to pass to
16414 the new function.
16415 (__pathconf): Pass file to __statfs_link_max.
16416 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16417 __statfs_link_max.
16418 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16419 __statfs_link_max.
16420
de283087
AD
16421 [BZ #12868]
16422 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16424 Handle Lustre.
16425 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16426 (__statfs_filesize_max): Likewise.
16427 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16428
c75fa153
AJ
164292011-07-05 Andreas Jaeger <aj@suse.de>
16430
16431 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16432
1a544854
UD
164332011-07-06 Marek Polacek <mpolacek@redhat.com>
16434
16435 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16436 `status' variable.
16437 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16438 Likewise.
16439
6f0eec67
UD
164402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16441
16442 * Makefile (strop-tests): Add strncat.
16443 * string/test-strncat.c: New file.
16444
aae30307
UD
164452011-06-30 Marek Polacek <mpolacek@redhat.com>
16446
16447 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16448
c0cfb5eb
UD
164492011-06-21 Andreas Jaeger <aj@suse.de>
16450
16451 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16452 Copy rule from iconvdata/Makefile.
16453
01636b21
UD
164542011-07-06 Ulrich Drepper <drepper@gmail.com>
16455
16456 [BZ #12922]
16457 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16458 but no long options are defined, just return 'W'.
16459
9895c8bc
UD
164602011-06-22 Marek Polacek <mpolacek@redhat.com>
16461
16462 [BZ #9696]
16463 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16464
5d4cf042
UD
164652011-07-06 Ulrich Drepper <drepper@gmail.com>
16466
16467 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16468 netgroups to read.
960e5535 16469 (innetgr): Likewise.
5d4cf042 16470
751eb97e
RM
164712011-07-05 Roland McGrath <roland@hack.frob.com>
16472
16473 * config.make.in (install_root): Default to $(DESTDIR).
16474
f15f1e45
UD
164752011-07-05 Ulrich Drepper <drepper@gmail.com>
16476
16477 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16478
4e34ac6a
RM
164792011-07-02 Roland McGrath <roland@hack.frob.com>
16480
5e9b6af4
RM
16481 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16482
84f9ea0f
RM
16483 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16484 containing directory rather than embedding absolute directory names.
16485
ea5ee9f7
RM
16486 * scripts/check-local-headers.sh: Rewritten using awk.
16487 Match by word, not by line. Print error messages for matches.
16488 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16489
1b74661a
RM
16490 * Makerules [shlib-lds-flags empty]:
16491 ($(common-objpfx)libc_pic.opts): New target.
16492 ($(common-objpfx)libc_pic.os.clean): New target.
16493 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16494
16495 * config.make.in (OBJCOPY): New variable.
16496 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16497 * configure: Regenerated.
16498
f781ef40
RM
16499 * config.make.in (use-default-link): New variable.
16500 * configure.in (use_default_link): Grok --with-default-link to set it.
16501 * configure: Regenerated.
16502 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16503 (shlib-lds, shlib-lds-flags): Define to empty.
16504
2d4fa81e
RM
16505 * Makerules (shlib-lds): New variable.
16506 (shlib-lds-flags): New variable.
16507 (build-shlib, build-moduile, build-module-asneeded): Use it.
16508 ($(common-objpfx)libc.so): Use $(shlib-lds).
16509 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16510 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16511
31fffa6b
RM
16512 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16513 DT_FLAGS/DT_FLAGS_1 with zero flags.
16514
4e34ac6a
RM
16515 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16516 linker script munging.
16517
fcfc776b
UD
165182011-07-02 Ulrich Drepper <drepper@gmail.com>
16519
16520 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16521 as 128-bit value.
16522 * crypt/sha512.c (sha512_process_block): Perform total addition using
16523 128-bit if possible.
16524 (__sha512_finish_ctx): Likewise.
16525 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16526 as 64-bit value.
16527 * crypt/sha256.c (SWAP64): Define.
16528 (sha256_process_block): Perform total addition using 64-bit if
16529 possible.
16530 (__sha256_finish_ctx): Likewise.
16531
99231d9a
UD
165322011-07-01 Ulrich Drepper <drepper@gmail.com>
16533
16534 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16536 * nscd/hstcache.c (cache_addhst): Likewise.
16537 * nscd/grpcache.c (cache_addgr): Likewise.
16538 * nscd/aicache.c (addhstaiX): Likewise
16539 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16540
445b4a53
TK
165412011-07-01 Thorsten Kukuk <kukuk@suse.de>
16542
16543 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16545 * nscd/hstcache.c (cache_addhst): Likewise.
16546 * nscd/grpcache.c (cache_addgr): Likewise.
16547 * nscd/aicache.c (addhstaiX): Likewise
16548
6d4d8e8e
AS
165492011-07-01 Andreas Schwab <schwab@redhat.com>
16550
16551 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16552 domain only when needed.
16553
89f654c5
AS
165542011-06-30 Andreas Schwab <schwab@redhat.com>
16555
16556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16557 is always restored.
16558
cf3b23ff
UD
165592011-06-29 Ulrich Drepper <drepper@gmail.com>
16560
16561 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16562 are re-adding the entry.
16563 * nscd/servicescache.c (cache_addserv): Likewise.
16564
751626f9
AJ
165652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16566
16567 * sysdeps/generic/dl-irel.h: fix protection against multiple
16568 inclusions.
16569 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16570
9113ea1f
UD
165712011-06-28 Ulrich Drepper <drepper@gmail.com>
16572
5c0b8d90
UD
16573 [BZ #12935]
16574 * malloc/memusage.sh: Fix quoting in message.
16575 * debug/xtrace.sh: Likewise.
16576
9113ea1f
UD
16577 * configure.in: Remove support for --experimental-malloc option, make
16578 it the default.
16579 * config.make.in: Likewise.
16580 * malloc/Makefile: Likewise.
16581
a4172181
AS
165822011-06-27 Andreas Schwab <schwab@redhat.com>
16583
16584 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16585 two-byte characters.
16586
78a7eee7
RM
165872011-06-27 Roland McGrath <roland@hack.frob.com>
16588
62bede13
RM
16589 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16590 AC_CACHE_CHECK invocation.
16591 * configure: Regenerated.
16592
78a7eee7
RM
16593 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16594
5ce33a62
UD
165952011-06-27 Ulrich Drepper <drepper@gmail.com>
16596
034807a9
UD
16597 [BZ #12350]
16598 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16599 bit from old_res_options.
16600
4902da17
UD
16601 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16602
5ce33a62
UD
16603 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16604 value type for setfct.
16605
c2344f56
L
166062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16609 __gettimeofday instead of gettimeofday.
16610
68468076
UD
166112011-06-26 Ulrich Drepper <drepper@gmail.com>
16612
16613 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16614
acb0d739
L
166152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16616
16617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16618
16619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16620 info.
16621
8912479f
L
166222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16625 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16626 strcpy-sse2-unaligned strncpy-sse2-unaligned
16627 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16628 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16629 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16630 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16631 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16634 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16635 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16636 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16637 (STRCPY): Support SSE2 and SSSE3 versions.
16638
d5495a11
UD
166392011-06-24 Ulrich Drepper <drepper@gmail.com>
16640
16641 [BZ #12874]
16642 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16643 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16644 kernels which artificially limit size of requests.
16645
0b1cbaae
L
166462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16647
16648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16649 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16650 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16651 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16652 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16653 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16654 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16655 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16658 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16659 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16660 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16661 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16662 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16664 Enable unaligned load optimization for Intel Core i3, i5 and i7
16665 processors.
16666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16667 Define.
16668 (index_Fast_Unaligned_Load): Define.
16669 (HAS_FAST_UNALIGNED_LOAD): Define.
16670
07f494a0
MP
166712011-06-23 Marek Polacek <mpolacek@redhat.com>
16672
16673 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16674
fa3fc0fe
UD
166752011-06-22 Ulrich Drepper <drepper@gmail.com>
16676
16677 [BZ #12907]
16678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16679 until it is clear that the information is realy needed.
16680 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16681
e12df166
AS
166822011-06-22 Andreas Schwab <schwab@redhat.com>
16683
16684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16685
852eb34d
UD
166862011-06-22 Ulrich Drepper <drepper@gmail.com>
16687
84e2a551
UD
16688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16689 /sys/devices/system/cpu/online if it is usable.
16690
852eb34d
UD
16691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16692 reading the information from the /proc filesystem to once a second.
16693
6e502e19
UD
166942011-06-21 Andreas Jaeger <aj@suse.de>
16695
16696 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16697 NULL after inclusion of kernel headers.
16698
75d39ff2
UD
166992011-06-21 Ulrich Drepper <drepper@gmail.com>
16700
51f9aa6a
UD
16701 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16702 calls to internal_setent.
16703
c0244a9d
UD
16704 [BZ #12885]
16705 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16706 addresses using gethostbyname4_r ignore IPv4 addresses.
16707
c5e3c2ae
UD
16708 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16709 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16710
75d39ff2
UD
16711 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16712
42675c6f
DM
167132011-06-20 David S. Miller <davem@davemloft.net>
16714
16715 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16716 inclusions.
16717 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16718
16719 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16720 (elf_irel): Use it.
16721 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16722 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16723 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16724 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16725 * sysdeps/x86_64/dl-irel.h: Likewise.
16726
16727 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16728 * elf/dl-sym.c: Likewise.
16729
57912a71
UD
167302011-06-15 Ulrich Drepper <drepper@gmail.com>
16731
16732 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16733 need to dereference resplen2.
16734
ee22793d
AS
167352011-06-14 Andreas Schwab <schwab@redhat.com>
16736
16737 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16738
a9e836b0
UD
167392011-06-15 Ulrich Drepper <drepper@gmail.com>
16740
77fb9117
UD
16741 * Makeconfig: Define vardbdir and inst_vardbdir.
16742 * nss/Makefile: Add rules to install db-Makefile.
16743
40c1b22c
UD
16744 * nss/nss_db/db-XXX.c: Cleanup.
16745
9f2da732
UD
16746 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16747 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16748 GLIBC_PRIVATE.
16749 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16750 * nss/makedb.c: Implement -g option to specify that value strings
16751 are generated and should not be added to table iterated over for
16752 get*ent calls.
16753 * nss/nss_db/db-initgroups.c: New file.
16754
82e9a1f7
UD
16755 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16756 interface.
16757
c41af17e
UD
16758 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16759 (internal_getgrouplist): Adjust to name change.
16760 Update use_initgroups_entry if this is not the first call.
16761 * nss/databases.def: Add initgroups entry.
16762
a9e836b0
UD
16763 * nss/makedb.c (compute_tables): Check result of multiple hash table
16764 sizes to minimize maximum chain length.
16765
2666d441
UD
167662011-06-14 Ulrich Drepper <drepper@gmail.com>
16767
16768 * Versions.def: Add entry for libnss_db.
16769 * shlib-versions: Likewise.
16770 * nss/Makefile: Add rules to build libnss_db.
16771 * nss/Versions: Add libnss_db information. Organize libnss_files
16772 entries better.
16773 * nss/db-Makefile: Add gshadow support. Change rules for the new
16774 makedb progra. Some minor improvements to generate smaller files.
16775 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16776 here from...
16777 * nss/makedb.c: ...here.
16778 Improve database format to be smaller and require less memory at
16779 runtime.
16780 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16781 db anymore.
16782 * nss/nss_db/db-netgrp.c: Likewise.
16783 * nss/nss_db/db-open.c: Likewise.
16784 * nss/nss_files/flies-XXX.x: Adjust comments.
16785 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16786 * nss/nss_files/files-grp.c: Likewise.
16787 * nss/nss_files/files-hosts.c: Likewise.
16788 * nss/nss_files/files-network.c: Likewise.
16789 * nss/nss_files/files-proto.c: Likewise.
16790 * nss/nss_files/files-pwd.c: Likewise.
16791 * nss/nss_files/files-rpc.c: Likewise.
16792 * nss/nss_files/files-service.c: Likewise.
16793 * nss/nss_files/files-sgrp.c: Likewise.
16794 * nss/nss_files/files-spwd.c: Likewise.
16795 * nss/nss_db/db-alias.c: Removed.
16796 * nss/nss_db/dummy-db.h: Removed.
16797
9ee76b5a
UD
167982011-06-02 Ulrich Drepper <drepper@gmail.com>
16799
16800 * nss/makedb.c: Rewritten to not use database library.
16801 * nss/Makefile: Update to build new makedb program.
16802
c71ca1f8
AJ
168032011-06-14 Andreas Jaeger <aj@suse.de>
16804
16805 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16806 memset declaration.
16807
3154bfb8
UD
168082011-06-10 Andreas Schwab <schwab@redhat.com>
16809
16810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16811 tmpbuf.
16812
b350afab
RM
168132011-06-10 Roland McGrath <roland@hack.frob.com>
16814
decd4e50
RM
16815 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16816 * elf/Makefile ($(objpfx)ld.so): Likewise.
16817
5615eaf2
RM
16818 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16819 Don't list ld.so twice in dependencies.
16820
16821 * posix/bug-regex31.c: Include <stdlib.h>.
16822
16823 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16824
16825 * nis/nss_compat/compat-spwd.c
16826 (getspent_next_nss_netgr): Remove unused variable.
16827 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16828
16829 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16830 nonmembers" output to use the right array.
16831
16832 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16833
16834 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16835
16836 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16837 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16838 * catgets/gencat.c (read_input_file): Likewise.
16839 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16840
16841 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16842 variable definition inside #if's controlling its use.
16843
16844 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16845
16846 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16847
16848 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16849
16850 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16851 unreachable code.
16852
16853 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16854
b68e08db
RM
16855 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16856 * configure: Regenerated.
16857
b350afab
RM
16858 * Makerules: Revert last change.
16859 * elf/Makefile: Likewise.
16860
28368601
RM
168612011-06-09 Roland McGrath <roland@hack.frob.com>
16862
16863 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16864 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16865 (reloc-link): Likewise.
16866
11988f8f
UD
168672011-06-09 Ulrich Drepper <drepper@gmail.com>
16868
16869 * elf/Makefile: Add rules to build pldd.
16870 * elf/pldd.c: New file.
16871 * elf/pldd-xx.c: New file.
16872
e80fab37
UD
168732011-06-07 Ulrich Drepper <drepper@gmail.com>
16874
16875 * version.h: Update for 2.15 development version.
16876
9b849836
DM
168772011-06-07 David S. Miller <davem@davemloft.net>
16878
16879 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16880 ifuncs.
16881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16882 elf_machine_lazy_rel): Likewise.
16883 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16885 elf_machine_lazy_rel): Likewise.
16886 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16887 dl_hwcap via passed in argument.
16888 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16889 Likewise.
16890
5a31b283
AK
168912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16892
16893 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16894
069e52f8
RM
168952011-06-06 Roland McGrath <roland@hack.frob.com>
16896
16897 [BZ #12849]
16898 * manual/fdl-1.1.texi: New file, verbatim from:
16899 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16900 * manual/lgpl-2.1.texi: New file, verbatim from:
16901 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16902 * manual/Makefile (licenses): New variable, list those new file names.
16903 (texis): Use it.
16904 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16905
16906 * manual/fdl.texi: File removed.
16907 * manual/lesser.texi: File removed.
16908 * manual/libc.texinfo (Copying, Documentation License):
16909 Use new @include file names, put @appendix directive before @include.
16910
f16846a5
JJ
169112011-06-04 Jakub Jelinek <jakub@redhat.com>
16912
16913 [BZ #12841]
16914 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16915 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16916 (mq_open): Add __NTH.
16917
3d29045b
L
169182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16921 Assume Intel Core i3/i5/i7 processor if AVX is available.
16922
8c297311
UD
169232011-05-31 Ulrich Drepper <drepper@gmail.com>
16924
16925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16926 typo.
16927
c8fc0c91
UD
169282011-05-31 Andreas Schwab <schwab@redhat.com>
16929
16930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16931 memory. Use alloca_account. Fix memory leak when retrying.
16932
5b27a807
UD
169332011-05-31 Ulrich Drepper <drepper@gmail.com>
16934
356f8bc6
UD
16935 * version.h (RELEASE): Bump for 2.14 release.
16936 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16937
5b27a807
UD
16938 * config.make.in (RANLIB): Remove entry.
16939
01f16ab0
UD
169402011-05-30 Ulrich Drepper <drepper@gmail.com>
16941
41fce8bd
UD
16942 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16943 (libc.pot): Work around missing support for .ksh extension in xgettext.
16944
4769ae77
UD
16945 [BZ #12684]
16946 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16947 if both request failed.
16948 (send_dg): In case of server errors clear resplen or *resplen2.
16949
6b1e7d19
UD
16950 [BZ #12454]
16951 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16952 when there are multiple maps.
16953 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16954 (_dl_fini): Remove test here.
16955
01f16ab0
UD
16956 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16957
b1ebd700
UD
169582011-05-29 Ulrich Drepper <drepper@gmail.com>
16959
7ae22829
UD
16960 [BZ #12350]
16961 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16962 bit from old_res_options.
16963 (gaih_inet): Likewise.
16964
553149f6 16965 [BZ #11099]
18a84741 16966 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16967 as signed.
16968
652ffab1
UD
16969 * resolv/res_init.c (res_setoptions): Make the code more compact.
16970
16985fd0
UD
16971 [BZ #11558]
16972 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16973 set RES_USEVC.
16974
0464f746
UD
16975 [BZ #11634]
16976 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16977
7d17596c
UD
16978 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16979
cf6bbbd7
UD
16980 [BZ #11781]
16981 * malloc/malloc.h: Declare malloc hook variables as volatile.
16982
13f1ab36
UD
16983 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16984 in last patch.
16985
b1ebd700
UD
16986 [BZ #11799]
16987 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16988 raise in the comment.
80e2212d
UD
16989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16991 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16992
ce67228d
UD
169932011-05-28 Ulrich Drepper <drepper@gmail.com>
16994
8887a920
UD
16995 [BZ #12811]
16996 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16997 grow the buffers more if it already has to be sufficient.
16998 (build_wcs_upper_buffer): Likewise.
16999 * posix/regexec.c (check_matching): Likewise.
17000 (clean_state_log_if_needed): Likewise.
17001 (extend_buffers): Don't enlarge buffers beyond size of the input
17002 buffer.
17003 Patches mostly by Emil Wojak <emil@wojak.eu>.
17004 * posix/bug-regex32.c: New file.
17005 * posix/Makefile (tests): Add bug-regex32.
17006
4f031072
UD
17007 * locale/findlocale.c (_nl_find_locale): Return right away if
17008 _nl_explode_name failed.
17009 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17010
d0478f0c
UD
17011 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17012
de81b246
UD
17013 * debug/xtrace.sh: Unify messages.
17014 * malloc/memusage.sh: Likewise.
17015
c738465a
UD
17016 [BZ #12813]
17017 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17018 time symbol from vDSO. Substitute with vsyscall if not available.
17019 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17020 __vdso_time.
17021
f1f929d7
UD
17022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17023 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17024 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17025 Add sendmmsg and internal_sendmmsg.
17026 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17027 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17029
ce67228d
UD
17030 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17031 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17033
e57420c6
UD
170342011-05-27 Ulrich Drepper <drepper@gmail.com>
17035
a8509ca5
UD
17036 [BZ #12813]
17037 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17038 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17039 available.
17040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17041 __vdso_getcpu.
17042
e57420c6
UD
17043 [BZ #12814]
17044 * iconvdata/Makefile (tests): Add bug-iconv9.
17045 * iconvdata/bug-iconv9.c: New file.
17046
4d07db15
AS
170472011-05-27 Andreas Schwab <schwab@redhat.com>
17048
17049 [BZ #12814]
17050 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17051
ea486f69
JJ
170522011-05-25 Jakub Jelinek <jakub@redhat.com>
17053
17054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17055 (struct user_regs_struct): Change intcs field back to cs.
17056
6f038433
UD
170572011-05-25 Ulrich Drepper <drepper@gmail.com>
17058
17059 * po/ja.po: Update from translation team.
17060
67f86a25
UD
170612011-05-23 Ulrich Drepper <drepper@gmail.com>
17062
17063 [BZ #12795]
17064 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17065 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17066
def7fbd6
AS
170672011-05-20 Andreas Schwab <schwab@redhat.com>
17068
17069 * stdlib/longlong.h: Update from GCC.
17070
f50ef8f1
AS
170712011-05-23 Andreas Schwab <schwab@redhat.com>
17072
17073 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17074 parameter name.
17075 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17076 Add parameter name.
17077 (__sysconf): Pass it down.
17078
de7ce8f1
UD
170792011-05-22 Ulrich Drepper <drepper@gmail.com>
17080
f2962a71
UD
17081 [BZ #12671]
17082 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17083 some situations.
17084 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17085 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17086 add in in __libc_use_alloca calls. Adjust callers.
17087 (glob): Use malloc in some situations.
17088
de7ce8f1
UD
17089 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17090 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17091 pltexit.
17092
aec84f53
UD
170932011-05-21 Ulrich Drepper <drepper@gmail.com>
17094
05bb4a68
UD
17095 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17096 and CLOCK_BOOTTIME_ALARM.
17097
7ea72f99
UD
17098 [BZ #12782]
17099 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17100 is returned.
17101
7e4afad5
UD
17102 * string/_strerror.c (__strerror_r): Print negative errors as signed
17103 numbers.
17104
8e211fec
UD
17105 [BZ #12777]
17106 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17107 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17108 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17109
f7d82dc9
UD
17110 * configure.in: Fix typo in redirection and correct removal of test
17111 files in two cases.
17112
cc9e536d
UD
17113 [BZ #12788]
17114 * locale/setlocale.c (new_composite_name): Fix test to check for
17115 identical name of all categories.
17116
aec84f53
UD
17117 [BZ #12792]
17118 * libio/filedoalloc.c (local_isatty): New function.
17119 (_IO_file_doallocate): Use local_isatty.
17120 * stdio-common/perror.c (perror): In case a new stream is used
17121 forward the stream error.
17122 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17123 error flag.
17124
78e64fdc
RT
171252011-05-20 Ulrich Drepper <drepper@gmail.com>
17126
34a9094f
UD
17127 [BZ #11869]
17128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17129 alloca.
17130 * include/alloca.h (extend_alloca_account): Define.
17131
78e64fdc
RT
17132 [BZ #11857]
17133 * posix/regex.h: Fix comments with documentation of user-accessible
17134 fields after compilation and describe correct free'ing of pattern
17135 after re_compile_pattern.
17136 Patch by Reuben Thomas <rrt@sc3d.org>.
17137
457bddfc
RA
171382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17139
17140 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17141 and -mno-altivec to prevent the compiler from using Altivec and/or
17142 VSX instructions when the corresponding registers are not available.
17143
a4527b51
AS
171442011-05-19 Andreas Schwab <schwab@redhat.com>
17145
17146 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17147
ed690b2f
UD
171482011-05-19 Ulrich Drepper <drepper@gmail.com>
17149
17150 * libio/freopen.c (freopen): Use __dup2, not dup2.
17151 * libio/freopen64.c (freopen64): Likewise.
17152
8db73634
L
171532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 [BZ #12775]
17156 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17157 * math/Makefile (tests): Add test-powl.
17158 (CFLAGS-test-powl.c): Define.
17159 * math/test-powl.c: New file.
17160
0a197a9d
L
171612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17164
ee30c380
UD
171652011-05-17 Ulrich Drepper <drepper@gmail.com>
17166
17167 [BZ #11837]
17168 * iconvdata/gb18030.c: Update to GB18020-2005.
17169
6ce75379
UD
171702011-05-16 Ulrich Drepper <drepper@gmail.com>
17171
a4b89fd8
AR
17172 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17173 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17174 Patch by Aharon Robbins <arnold@skeeve.com>.
17175
ea389b12
UD
17176 [BZ #11892]
17177 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17178 on the stack.
17179
68a3f91f
UD
17180 [BZ #11895]
17181 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17182 through underflows.
17183
15cc7dd1
UD
17184 [BZ #12766]
17185 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17186 point to strings before performing equality test for error_one_per_line
17187 mode.
17188
f3799213
UD
17189 [BZ #11697]
17190 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17191
d79a9c94
UD
17192 [BZ #11820]
17193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17194 (struct user_fpregs_struct): Avoid __uint*_t types.
17195
56e5eb46
UD
17196 [BZ #6420]
17197 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17198 symbol info. Use it instead of calling _dl_addr locally.
17199 (lock_and_info): New function.
17200 (tr_freehook): Call lock_and_info and pass symbol info as additional
17201 parameter to tr_where.
17202 (tr_mallochook): Likewise.
17203 (tr_reallochook): Likewise.
17204 (tr_memalignhook): Likewise.
17205
6ce75379
UD
17206 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17207 used and couldn't be at all thread-safe.
17208
f8a3b5bf
UD
172092011-05-15 Ulrich Drepper <drepper@gmail.com>
17210
94b7cc37
UD
17211 * libio/freopen.c (freopen): Don't close old file descriptor
17212 before the new one is opened. Instead dup the new file descriptor
17213 to the old one after the new stream is created.
17214 * libio/freopen64.c (freopen64): Likewise.
17215 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17216 * libio/fileops.c (_IO_new_file_close_it): Handle new
17217 _IO_FLAGS2_NOCLOSE flag.
17218 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17219 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17220 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17221 _IO_FLAGS2_NOCLOSE flag.
17222 * include/unistd.h: Add hidden_proto for dup3.
17223 Define __have_dup3.
17224 * io/dup3.c: Define hidden symbol.
17225 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17226
bd25564e
UD
17227 [BZ #7101]
17228 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17229 when an incomplete long option is used.
17230 * posix/tst-getopt_long1.c: New file.
17231 * posix/Makefile (tests): Add tst-getopt_long1.
17232
c84cfef4
UD
17233 [BZ #10138]
17234 * scripts/config.guess: Update from autoconf-2.68.
17235 * scripts/config.sub: Likewise.
17236
3b85df27
UD
17237 [BZ #10157]
17238 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17239 tests into ...
17240 (has_cpuclock): ...this. New function.
17241 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17242 macro here based on has_cpuclock code.
17243
15a856b1
UD
17244 [BZ #10149]
17245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17246 First byte (not low byte) is now always NUL.
17247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17248
05f399e6
UD
17249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17250 Use non-cancelable interfaces.
17251
10a52685 17252 [BZ #9809]
94ecc67d
UD
17253 * locale/iso-639.def: Add entry for Sorani.
17254
f8a3b5bf
UD
17255 [BZ #11901]
17256 * include/stdlib.h: Move include protection to the right place.
17257 Define abort_msg_s. Declare __abort_msg with it.
17258 * stdlib/abort.c (__abort_msg): Adjust type.
17259 * assert/assert.c (__assert_fail_base): New function. Majority
17260 of code from __assert_fail. Allocate memory for __abort_msg with
17261 mmap.
17262 (__assert_fail): Now call __assert_fail_base.
17263 * assert/assert-perr.c: Remove bulk of implementation. Use
17264 __assert_fail_base.
17265 * include/assert.hL Declare __assert_fail_base.
17266 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17267 mmap.
17268 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17269
1af4e298
UD
172702011-05-14 Ulrich Drepper <drepper@gmail.com>
17271
f8a3b5bf 17272 [BZ #11952]
d26dfc60
MG
17273 [BZ #12453]
17274 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17275 until all modules are registered in the DTV.
17276 * elf/Makefile: Add rules to build and run tst-tls19.
17277 * elf/tst-tls19.c: New file.
17278 * elf/tst-tls19mod1.c: New file.
17279 * elf/tst-tls19mod2.c: New file.
17280 * elf/tst-tls19mod3.c: New file.
17281 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17282
2fc54d6f
UD
17283 [BZ #12083]
17284 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17285 correctly.
17286
98d76b46
UD
17287 [BZ #12601]
17288 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17289 two-byte sequence errors.
17290 * iconvdata/Makefile (tests): Add bug-iconv8.
17291 * iconvdata/bug-iconv8.c: New file.
17292
da3c19ef
UD
17293 [BZ #12626]
17294 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17295 buf2 definition.
17296
ca408c15
UD
17297 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17298
d6f67f7d
UD
17299 [BZ #12432]
17300 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17301 (dummy_getcfa): New function.
17302 (init): Get _Unwind_GetCFA address, use dummy if not found.
17303 (backtrace_helper): In recursion check, also check whether CFA changes.
17304 (__backtrace): Completely initialize arg.
17305
1af4e298 17306 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17307 storing incomplete byte sequence in state object. Avoid testing for
17308 guaranteed too small input if we know there is enough data available.
1af4e298 17309
da62f81b
AS
173102011-05-11 Andreas Schwab <schwab@redhat.com>
17311
17312 * Makeconfig (+link-pie): Indent.
17313 * Rules (binaries-pie): Define if $(have-fpie) and
17314 $(build-shared).
17315 (binaries-shared): Also filter out $(binaries-pie).
17316 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17317 * nscd/Makefile (others-pie): Add nscd.
17318 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17319 ($(objpfx)nscd): Remove command override.
17320 * login/Makefile (others-pie): Add pt_chown.
17321 ($(objpfx)pt_chown): Remove command override.
17322 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17323 remove command overrides.
17324
fcabc0f8
UD
173252011-05-13 Ulrich Drepper <drepper@gmail.com>
17326
20030ae6
UD
17327 * libio/tst_putwc.c: Fix error messages.
17328
fcabc0f8
UD
17329 [BZ #12724]
17330 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17331 currently writing and seek to current position when not.
17332 * libio/Makefile (tests): Add bug-fclose1.
17333 * libio/bug-fclose1.c: New file.
17334
320a5dc0
PB
173352011-05-12 Ulrich Drepper <drepper@gmail.com>
17336
17337 [BZ #12511]
17338 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17339 don't set DF_1_NODELETE here.
17340 (do_lookup_x): When entering new entry test for copy relocation
17341 and if necessary set DF_1_NODELETE flag.
17342 * elf/tst-unique4.cc: New file.
17343 * elf/tst-unique4.h: New file.
17344 * elf/tst-unique4lib.cc: New file.
17345 * elf/Makefile: Add rules to build and run tst-unique4.
17346 Patch by Piotr Bury <pbury@goahead.com>.
17347
22836f52
UD
173482011-05-11 Ulrich Drepper <drepper@gmail.com>
17349
f574184a
UD
17350 [BZ #12052]
17351 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17352
e1fb097f
UD
17353 [BZ #12625]
17354 * misc/mntent_r.c (addmntent): Flush the stream after the output
17355
22836f52
UD
17356 [BZ #12393]
17357 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17358 (is_trusted_path_normalize): Skip initial colon. Append slash
17359 to empty buffer. Duplicate is_trusted_path code but allow
17360 constructed patch to be prefix.
17361 (is_dst): Allow $ORIGIN followed by /.
17362 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17363 Correct testing of result of is_trusted_path_normalize
17364 (decompose_rpath): Fix warning.
17365
7b3b0b2a
UD
173662011-05-10 Ulrich Drepper <drepper@gmail.com>
17367
17368 [BZ #11257]
17369 * grp/initgroups.c (internal_getgrouplist): When we found the service
17370 list through the initgroups entry in nsswitch.conf do not always
17371 continue on a successful lookup. Don't always use the
eac80ce2 17372 __nss_group_database value if it is set.
7b3b0b2a
UD
17373 * nss/nsswitch.conf (initgroups): Change action for successful db
17374 lookup to continue for compatibility.
17375
2a81eaa5
UD
173762011-05-09 Ulrich Drepper <drepper@gmail.com>
17377
be97a69e
UD
17378 [BZ #11532]
17379 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17380 and CP774 modules.
17381 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17382 and CP774 modules.
17383 * iconvdata/tst-tables.sh: Likewise.
17384 * iconvdata/cp770.c: New file.
17385 * iconvdata/cp771.c: New file.
17386 * iconvdata/cp772.c: New file.
17387 * iconvdata/cp773.c: New file.
17388 * iconvdata/cp774.c: New file.
17389 * iconvdata/testdata/CP770: New file.
17390 * iconvdata/testdata/CP770..UTF8: New file.
17391 * iconvdata/testdata/CP771: New file.
17392 * iconvdata/testdata/CP771..UTF8: New file.
17393 * iconvdata/testdata/CP772: New file.
17394 * iconvdata/testdata/CP772..UTF8: New file.
17395 * iconvdata/testdata/CP773: New file.
17396 * iconvdata/testdata/CP773..UTF8: New file.
17397 * iconvdata/testdata/CP774: New file.
17398 * iconvdata/testdata/CP774..UTF8: New file.
17399
17400 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17401 END CHARMAP line.
17402 * iconvdata/gen-8bit-gap.sh: Likewise.
17403 * iconvdata/gen-8bit.sh: Likewise.
17404
c1e9e399
UD
17405 * locale/iso-639.def: Add ary entry.
17406
24c55fb3 17407 [BZ #11258]
96b4b1b0
UD
17408 * locale/C-translit.h.in: Add U20A1 transliteration.
17409
bdc2f971
KB
17410 [BZ #12178]
17411 * locale/iso-639.def: Add wae entry.
17412 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17413
2952b117
UD
17414 [BZ #12545]
17415 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17416 for n.
17417
2a81eaa5
UD
17418 [BZ #12711]
17419 * locale/C-translit.h.in: Add entry for U20B9.
17420 Patch by pravin.d.s@gmail.com.
17421
28377d1b
UD
174222011-05-08 Ulrich Drepper <drepper@gmail.com>
17423
7fb90fb8
UD
17424 [BZ #12713]
17425 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17426 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17427 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17428 in rtld. Use *stat64.
7fb90fb8 17429 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17430 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17431 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17432 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17433 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17434 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17435 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17436 __fstatat64 macros.
7fb90fb8
UD
17437 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17438 * dirent/rewinddir.c: Add libc_hidden_def.
17439 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17440 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17441
28377d1b
UD
17442 * include/dirent.h (__alloc_dir): Add flags parameter.
17443 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17444 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17445 __alloc_dir.
17446 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17447 from fdopendir if O_CLOEXEC is already set.
17448
66bdbaa4
AM
174492011-03-15 Alan Modra <amodra@gmail.com>
17450
17451 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17452 l_tls_firstbyte_offset non-zero. Save padding offset in
17453 l_tls_firstbyte_offset for later use.
17454 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17455 freeing static tls block.
17456
95721191
JN
174572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17458
17459 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17460 where #ifdef was intended. The intent is to prevent ARG_MAX from
17461 being defined by the kernel headers.
17462
f87dfb1f
UD
174632011-05-07 Ulrich Drepper <drepper@gmail.com>
17464
17465 [BZ #12734]
17466 * resolv/resolv.h: Define RES_NOTLDQUERY.
17467 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17468 no-tld-query and set RES_NOTLDQUERY.
17469 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17470 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17471 modern BIND to search name as TLD unless forbidden.
17472
47c3cd7a
UD
174732011-05-07 Petr Baudis <pasky@suse.cz>
17474 Ulrich Drepper <drepper@gmail.com>
17475
17476 [BZ #12393]
17477 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17478 (is_trusted_path): ...to here.
c1e9ea35 17479 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17480 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17481 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17482
8a35c912
PP
174832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17484
17485 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17486 __BEGIN/__END_DECLS.
17487
acd41f47
UD
174882011-05-06 Ulrich Drepper <drepper@gmail.com>
17489
17490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17491 NSS_STATUS_NOTFOUND if no record was found.
17492
597df647
AS
174932011-05-05 Andreas Schwab <schwab@redhat.com>
17494
17495 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17496 (headers-not-in-tirpc): Remove rpc/netdb.h
17497 * resolv/netdb.h: Revert last change.
17498
b9af1301
PP
174992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17500
17501 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17502 circular dependency between libgcc.a and libc.a.
17503
4e34d5f5
AS
175042011-05-05 Andreas Schwab <schwab@redhat.com>
17505
17506 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17507 * nis/Makefile: Don't install rpcsvc/*.
17508 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17509 instead of <rpc/types.h>.
17510 (MAXHOSTNAMELEN): Define.
17511
00ee369c
AS
175122011-05-03 Andreas Schwab <schwab@redhat.com>
17513
17514 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17515
0b592a30
MB
175162011-04-28 Maciej Babinski <mbabinski@google.com>
17517
17518 [BZ #12714]
17519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17520 gethostbyname4_r when IPv6 results are possible.
17521
6e04cbbe
UD
175222011-05-02 Ulrich Drepper <drepper@gmail.com>
17523
17524 [BZ #12723]
17525 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17526 _PC_PIPE_BUF handling.
17527
e4ecafe0
BH
175282011-04-30 Bruno Haible <bruno@clisp.org>
17529
17530 [BZ #12717]
17531 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17532 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17533 to 'int'.
17534 * inet/getnameinfo.c (getnameinfo): Likewise.
17535
125ee683
UD
175362011-04-29 Ulrich Drepper <drepper@gmail.com>
17537
17538 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17539 to groups setting in database lookup.
17540 * nss/nsswitch.conf: Add initgroups entry.
17541
b722481a
EB
175422011-04-22 Ulrich Drepper <drepper@gmail.com>
17543
17544 [BZ #12685]
17545 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17546 mode string.
17547 Patch by Eric Blake <eblake@redhat.com>.
17548
4df46dbd
L
175492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17550
17551 * sunrpc/Makefile (need-export-routines): Add svc_run.
17552 (routines): Remove svc_run.
17553 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17554 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17555 * sunrpc/svc_run.c (svc_run): Likewise.
17556 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17557
e84142d2
UD
175582011-04-21 Ulrich Drepper <drepper@gmail.com>
17559
17560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17561 problem in reallocation in last patch.
17562
877175d8
UD
175632011-04-20 Ulrich Drepper <drepper@gmail.com>
17564
17565 * sunrpc/Makefile: Move inclusion of Rules.
17566
ab8eed78
UD
175672011-04-19 Ulrich Drepper <drepper@gmail.com>
17568
17569 * nss/nss_files/files-initgroups.c: New file.
17570 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17571 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17572 _nss_files_initgroups_dyn.
17573
e3d8f584
RS
175742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17575
17576 * elf/elf.h (R_ARM_IRELATIVE): Define.
17577
af190f45
UD
175782011-04-19 Ulrich Drepper <drepper@gmail.com>
17579
17580 * po/ru.po: Update from translation team.
17581
53cf59ef
UD
175822011-04-17 Ulrich Drepper <drepper@gmail.com>
17583
17584 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17585 dependencies.
17586
4c559bcd
MF
175872011-02-06 Mike Frysinger <vapier@gentoo.org>
17588
17589 [BZ #12653]
17590 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17591 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17595
4420675c
AS
175962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17597
17598 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17599 differing bytes.
17600 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17603
75ea32ab
UD
176042011-04-17 Ulrich Drepper <drepper@gmail.com>
17605
17606 [BZ #12420]
17607 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17608 storing it.
17609 * stdlib/bug-getcontext.c: New file.
17610 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17611
27390476
AK
176122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17613
17614 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17615 instructions into .machine "z9-109".
17616 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17617 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17618
10442705
AK
176192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17620
17621 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17622 between environment variables and auxiliary vector.
17623
7b57bfe5
UD
176242011-04-16 Ulrich Drepper <drepper@gmail.com>
17625
17626 * Makefile: Add rules to build linkobj/libc.so.
17627 * include/libc-symbols.h: Define libc_hidden_nolink.
17628 * include/rpc/auth.h: Mark functions which are to be hidden.
17629 * include/rpc/auth_des.h: Likewise.
17630 * include/rpc/auth_unix.h: Likewise.
17631 * include/rpc/clnt.h: Likewise.
17632 * include/rpc/des_crypt.h: Likewise.
17633 * include/rpc/key_prot.h: Likewise.
17634 * include/rpc/pmap_clnt.h: Likewise.
17635 * include/rpc/pmap_prot.h: Likewise.
17636 * include/rpc/pmap_rmt.h: Likewise.
17637 * include/rpc/rpc_msg.h: Likewise.
17638 * include/rpc/svc.h: Likewise.
17639 * include/rpc/svc_auth.h: Likewise.
17640 * include/rpc/xdr.h: Likewise.
17641 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17642 * nss/Makefile: Likewise.
17643 * sunrpc/Makefile: Don't install headers. Build library with normal
17644 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17645 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17646 for the compat linking library. Remove use of INTDEF/INTUSE.
17647 * sunrpc/auth_none.c: Likewise.
17648 * sunrpc/auth_unix.c: Likewise.
17649 * sunrpc/authdes_prot.c: Likewise.
17650 * sunrpc/authuxprot.c: Likewise.
17651 * sunrpc/clnt_gen.c: Likewise.
17652 * sunrpc/clnt_perr.c: Likewise.
17653 * sunrpc/clnt_raw.c: Likewise.
17654 * sunrpc/clnt_simp.c: Likewise.
17655 * sunrpc/clnt_tcp.c: Likewise.
17656 * sunrpc/clnt_udp.c: Likewise.
17657 * sunrpc/clnt_unix.c: Likewise.
17658 * sunrpc/des_crypt.c: Likewise.
17659 * sunrpc/des_soft.c: Likewise.
17660 * sunrpc/get_myaddr.c: Likewise.
17661 * sunrpc/key_call.c: Likewise.
17662 * sunrpc/key_prot.c: Likewise.
17663 * sunrpc/netname.c: Likewise.
17664 * sunrpc/pm_getmaps.c: Likewise.
17665 * sunrpc/pm_getport.c: Likewise.
17666 * sunrpc/pmap_clnt.c: Likewise.
17667 * sunrpc/pmap_prot.c: Likewise.
17668 * sunrpc/pmap_prot2.c: Likewise.
17669 * sunrpc/pmap_rmt.c: Likewise.
17670 * sunrpc/publickey.c: Likewise.
17671 * sunrpc/rpc_cmsg.c: Likewise.
17672 * sunrpc/rpc_common.c: Likewise.
17673 * sunrpc/rpc_dtable.c: Likewise.
17674 * sunrpc/rpc_prot.c: Likewise.
17675 * sunrpc/rpc_thread.c: Likewise.
17676 * sunrpc/rtime.c: Likewise.
17677 * sunrpc/svc.c: Likewise.
17678 * sunrpc/svc_auth.c: Likewise.
17679 * sunrpc/svc_authux.c: Likewise.
17680 * sunrpc/svc_raw.c: Likewise.
17681 * sunrpc/svc_run.c: Likewise.
17682 * sunrpc/svc_simple.c: Likewise.
17683 * sunrpc/svc_tcp.c: Likewise.
17684 * sunrpc/svc_udp.c: Likewise.
17685 * sunrpc/svc_unix.c: Likewise.
17686 * sunrpc/svcauth_des.c: Likewise.
17687 * sunrpc/xcrypt.c: Likewise.
17688 * sunrpc/xdr.c: Likewise.
17689 * sunrpc/xdr_array.c: Likewise.
17690 * sunrpc/xdr_float.c: Likewise.
17691 * sunrpc/xdr_intXX_t.c: Likewise.
17692 * sunrpc/xdr_mem.c: Likewise.
17693 * sunrpc/xdr_rec.c: Likewise.
17694 * sunrpc/xdr_ref.c: Likewise.
17695 * sunrpc/xdr_sizeof.c: Likewise.
17696 * sunrpc/xdr_stdio.c: Likewise.
17697
e6c61494
UD
176982011-04-10 Ulrich Drepper <drepper@gmail.com>
17699
17700 [BZ #12650]
17701 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17702 * sysdeps/ia64/dl-tls.h: Likewise.
17703 * sysdeps/powerpc/dl-tls.h: Likewise.
17704 * sysdeps/s390/dl-tls.h: Likewise.
17705 * sysdeps/sh/dl-tls.h: Likewise.
17706 * sysdeps/sparc/dl-tls.h: Likewise.
17707 * sysdeps/x86_64/dl-tls.h: Likewise.
17708 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17709
34fe483e
AS
177102011-03-14 Andreas Schwab <schwab@redhat.com>
17711
17712 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17713 rpath element also skip the following colon.
17714 (expand_dynamic_string_token): Add is_path parameter and pass
17715 down to DL_DST_REQUIRED and _dl_dst_substitute.
17716 (decompose_rpath): Call expand_dynamic_string_token with
17717 non-zero is_path. Ignore empty rpaths.
17718 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17719 with zero is_path.
17720
f12a32e6
AS
177212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17722
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17724 Make cancelable.
17725
38a7d692
UD
177262011-04-09 Ulrich Drepper <drepper@gmail.com>
17727
17728 [BZ #12655]
17729 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17730 Patch by Filipe David Manana <fdmanana@apache.org>.
17731
e451d22b
AS
177322011-04-07 Andreas Schwab <schwab@redhat.com>
17733
17734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17735 Maintain aligned stack.
17736 (CHECK_RSP): Remove unused macro.
17737
dedc7c7b
UD
177382011-04-03 Ulrich Drepper <drepper@gmail.com>
17739
17740 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17741 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17742
94521213
UD
177432011-04-02 Ulrich Drepper <drepper@gmail.com>
17744
17745 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17746
8cb700c0 17747 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17748
0354e355
L
177492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 [BZ #12518]
17752 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17753 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17754 * sysdeps/x86_64/memmove.c: New file.
17755 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17756 (memcpy): Renamed to ...
17757 (__new_memcpy): This.
17758 (memcpy): Provide GLIBC_2_14 memcpy.
17759 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17760 (memcpy): Provide GLIBC_2_2_5 memcpy.
17761
8593482f
UD
177622011-04-01 Ulrich Drepper <drepper@gmail.com>
17763
17764 [BZ #12631]
17765 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17766
81a5726b
AS
177672011-03-30 Andreas Schwab <schwab@redhat.com>
17768
17769 * misc/syncfs.c: New file.
17770 * misc/Makefile (routines): Add syncfs.
17771 * posix/unistd.h: Declare syncfs.
17772 * sysdeps/unix/syscalls.list: Add syncfs.
17773
00e5419f
AS
177742011-04-01 Andreas Schwab <schwab@redhat.com>
17775
17776 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17777 open_by_handle_at.
17778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17783 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17785
748876bf
UD
177862011-04-01 Ulrich Drepper <drepper@gmail.com>
17787
658e451d
UD
17788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17794 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17795
748876bf
UD
17796 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17797 sync_file_range.c with -fexceptions.
17798 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17799 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17800 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17802 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17803 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17805 sync_file_range as cancellation point
17806 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17807 now a wrapper around __call_sync_file_range with cancellation handling.
17808 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17809 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17810 function name to __call_sync_file_range.
17811 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17812 Add call_sync_file_range.
748876bf 17813
6e63d5e1
AS
178142011-04-01 Andreas Schwab <schwab@redhat.com>
17815
17816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17817 bits/timex.h.
6e63d5e1 17818
46998f74
UD
178192011-04-01 Ulrich Drepper <drepper@gmail.com>
17820
4c1423ed
UD
17821 * iconv/iconv.h: Fix typo in comment.
17822 * io/fcntl.h: Likewise.
17823 * libio/stdio.h: Likewise.
17824 * posix/spawn.h: Likewise.
17825 * posix/unistd.h: Likewise.
17826 * stdlib/stdlib.h: Likewise.
17827 * time/time.h: Likewise.
17828 * wcsmbs/wchar.h: Likewise.
17829
158648c0
UD
17830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17831 open_by_handle): Add.
17832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17833 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17834 Augment a few comments.
17835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17837 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17840 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17841 open_by_handle.
17842
46998f74
UD
17843 * io/fcntl.h (AT_EMPTY_PATH): Define.
17844
83fe108b
UD
178452011-03-30 Ulrich Drepper <drepper@gmail.com>
17846
17847 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17848 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17849 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17850 to...
17851 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17852 * Versions.def: Add GLIBC_2.14.
17853 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17854 Export.
83fe108b 17855
bb242059
UD
178562011-03-22 Ulrich Drepper <drepper@gmail.com>
17857
17858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17859 round counter.
17860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17861
c97a1282
L
178622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17863
17864 [BZ #12597]
17865 * string/test-strncmp.c (do_page_test): New function.
17866 (check2): Likewise.
17867 (test_main): Call check2.
17868 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17869
2a115601
UD
178702011-03-20 Ulrich Drepper <drepper@gmail.com>
17871
17872 [BZ #12587]
17873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17874 Handle cache information in CPU leaf 4.
17875 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17876
8126d904
UD
178772011-03-18 Ulrich Drepper <drepper@gmail.com>
17878
042c49c6 17879 [BZ #12583]
8126d904
UD
17880 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17881 character representation.
17882 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17883
ccfe366e
RA
178842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17885
17886 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17887 END(__isnan) to END(__isnanf) to match function entry point/label
17888 EALIGN(__isnanf,...).
17889
c6e13027
JJ
178902011-03-10 Jakub Jelinek <jakub@redhat.com>
17891
17892 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17893
33f85a3f
UD
178942011-03-10 Ulrich Drepper <drepper@gmail.com>
17895
028478fa
UD
17896 [BZ #12510]
17897 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17898 copy from the symbol referenced in the relocation to initialize the
17899 used variable.
17900 Patch by Piotr Bury <pbury@goahead.com>.
17901 * elf/Makefile: Add rules to build and tst-unique3.
17902 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17903 * elf/tst-unique3.cc: New file.
17904 * elf/tst-unique3.h: New file.
17905 * elf/tst-unique3lib.cc: New file.
17906 * elf/tst-unique3lib2.cc: New file.
17907
33f85a3f
UD
17908 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17909
03592fc7
MF
179102011-03-10 Mike Frysinger <vapier@gentoo.org>
17911
17912 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17913 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17914 to _start.
03592fc7 17915
6a5ee102
UD
179162011-03-06 Ulrich Drepper <drepper@gmail.com>
17917
17918 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17919 to-be-loaded object along a path to loader is ld.so.
17920
7e4ba49c
HJ
179212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17922 Ulrich Drepper <drepper@gmail.com>
17923
17924 * sysdeps/x86_64/memset.S: After aligning destination, code
17925 branches to different locations depending on the value of
17926 misalignment, when multiarch is enabled. Fix this.
17927
179282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17929
17930 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17931 Set _x86_64_preferred_memory_instruction for AMD processsors.
17932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17933 Set bit_Prefer_SSE_for_memop for AMD processors.
17934
13a804de
UD
179352011-03-04 Ulrich Drepper <drepper@gmail.com>
17936
17937 * libio/fmemopen.c (fmemopen): Optimize a bit.
17938
9d25c392
AS
179392011-03-03 Andreas Schwab <schwab@redhat.com>
17940
17941 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17942
a5543c6a
RM
179432011-03-03 Roland McGrath <roland@redhat.com>
17944
17945 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17946
012d35f7
DM
179472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17948
7e4ba49c 17949 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17950 __bzero_ultra1 instead of __memset_ultra1.
17951
4bff6e01
AS
179522011-02-23 Andreas Schwab <schwab@redhat.com>
17953 Ulrich Drepper <drepper@gmail.com>
17954
17955 [BZ #12509]
17956 * include/link.h (struct link_map): Add l_orig_initfini.
17957 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17958 returning unsuccessfully.
17959 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17960 close of a file loaded at startup, restore the original l_initfini
17961 list.
17962 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17963 list, store the pointer.
17964 * elf/Makefile ($(objpfx)noload-mem): New rule.
17965 (noload-ENV): Define.
17966 (tests): Add $(objpfx)noload-mem.
17967 * elf/noload.c: Include <memcheck.h>.
17968 (main): Call mtrace. Close all opened handles.
17969
f2092faf
AS
179702011-02-17 Andreas Schwab <schwab@redhat.com>
17971
17972 [BZ #12454]
17973 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17974 dependencies are missing.
17975
6c8a2e88
ST
179762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17977
f2092faf 17978 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17979 Hurd needs munmap.
17980 * sysdeps/mach/hurd/ifreq.h: New file.
17981
84a42118
PB
179822011-01-27 Petr Baudis <pasky@suse.cz>
17983 Ulrich Drepper <drepper@gmail.com>
17984
071f805e 17985 [BZ 12445]#
84a42118
PB
17986 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17987 to extend_alloca().
17988 * stdio-common/bug23.c: New file.
17989 * stdio-common/Makefile (tests): Add bug23.
17990
e23fe25b
AS
179912010-09-28 Andreas Schwab <schwab@redhat.com>
17992 Ulrich Drepper <drepper@gmail.com>
17993
17994 [BZ #12489]
17995 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17996 before performing relro protection. At old place add assertion
17997 to make sure nothing changed.
17998
d3f02e10
NS
179992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18000 Glauber de Oliveira Costa <glommer@gmail.com>
18001
18002 * elf/elf.h: Add new ARM TLS relocs.
18003
d55fd7a5
RA
180042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18005
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18007 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18008 cast from r3.
18009 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18010 'tests' variable.
18011 * sysdeps/wordsize-64/tst-writev.c: New file.
18012
2206397e
RA
180132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18014
18015 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18016 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18017 insns in _dl_start to prevent a TOC reference before relocs are
18018 resolved.
18019
e9433893
UD
180202011-02-15 Ulrich Drepper <drepper@gmail.com>
18021
18022 [BZ #12469]
18023 * Makeconfig: Remove RANLIB definition.
18024 * Makerules: Don't use RANLIB.
18025 * aclocal.m4: Remove ranlib test.
18026 * configure.in: No need to check for ranlib.
18027 * elf/rtld-Rules: Don't use RANLIB.
18028
f75286c6
ST
180292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18030
8e31c82d
ST
18031 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18032 protection macro.
18033 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18034 inclusion protection macro.
18035
f75286c6
ST
18036 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18037 SIGRTMIN and SIGRTMAX and print information in that case only when
18038 SIGRTMIN is defined.
18039
c1d0e639
JJ
180402011-02-11 Jakub Jelinek <jakub@redhat.com>
18041
18042 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18043 arginfo fn returning -1.
18044
18045 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18046 and thousands string is zero terminated.
18047
edf9294e
AS
180482011-02-03 Andreas Schwab <schwab@redhat.com>
18049
18050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18051 sysdeps/unix/sysv/linux/bits/socket.h.
18052
2b7e92df
ST
180532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18054
edf9294e
AS
18055 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18056 (__CPU_COUNT): Remove old macros.
18057 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18058 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18059 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18060 (__sched_cpualloc, __sched_cpufree): Add declarations.
18061
a4c7ea7b
UD
180622011-02-05 Ulrich Drepper <drepper@gmail.com>
18063
18064 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18065 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18066 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18067 (readdhstai): Return value of addhstaiX call.
18068 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18069 (addgrbyX): Return value returned by cache_addgr.
18070 (readdgrbyname): Return value returned by addgrbyX.
18071 (readdgrbygid): Likewise.
18072 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18073 (addpwbyX): Return value returned by cache_addpw.
18074 (readdpwbyname): Return value returned by addhstbyX.
18075 (readdpwbyuid): Likewise.
18076 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18077 (addservbyX): Return value returned by cache_addserv.
18078 (readdservbyname): Return value returned by addservbyX:
18079 (readdservbyport): Likewise.
18080 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18081 (addhstbyX): Return value returned by cache_addhst.
18082 (readdhstbyname): Return value returned by addhstbyX.
18083 (readdhstbyaddr): Likewise.
18084 (readdhstbynamev6): Likewise.
18085 (readdhstbyaddrv6): Likewise.
18086 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18087 (readdinitgroups): Return value returned by addinitgroupsX.
18088 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18089 (prune_cache): Keep track of timeout value of re-added entries.
18090 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18091 * nscd/nscd.h: Adjust prototypes of readd* functions.
18092
a0bf67cc
RM
180932011-02-04 Roland McGrath <roland@redhat.com>
18094
18095 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18096 (nis_stats): Likewise.
18097 * nis/nis_modify.c (nis_modify): Likewise.
18098 * nis/nis_remove.c (nis_remove): Likewise.
18099 * nis/nis_add.c (nis_add): Likewise.
18100
18101 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18102
18103 * posix/fnmatch_loop.c: Add some consts.
18104
18105 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18106
435b95eb
L
181072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 [BZ #12460]
18110 * config.make.in (config-cflags-novzeroupper): Define.
18111 * configure.in: Substitute libc_cv_cc_novzeroupper.
18112 * elf/Makefile (AVX-CFLAGS): Define.
18113 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18114 (CFLAGS-tst-auditmod4a.c): Likewise.
18115 (CFLAGS-tst-auditmod4b.c): Likewise.
18116 (CFLAGS-tst-auditmod6b.c): Likewise.
18117 (CFLAGS-tst-auditmod6c.c): Likewise.
18118 (CFLAGS-tst-auditmod7b.c): Likewise.
18119 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18120
8517b15e
UD
181212011-02-02 Ulrich Drepper <drepper@gmail.com>
18122
18123 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18124 function to the callback.
18125 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18126
10a656fe
AS
181272011-02-02 Andreas Schwab <schwab@redhat.com>
18128
18129 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18130 of errno.
18131
968dad0a
UD
181322011-01-19 Ulrich Drepper <drepper@gmail.com>
18133
9f94d2ea 18134 [BZ #11724]
968dad0a
UD
18135 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18136 of constructors.
18137 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18138 of destructors.
18139 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18140
18141 [BZ #11724]
18142 * elf/Makefile: Add rules to build and run new test.
18143 * elf/tst-initorder.c: New file.
18144 * elf/tst-initorder.exp: New file.
18145 * elf/tst-initordera1.c: New file.
18146 * elf/tst-initordera2.c: New file.
18147 * elf/tst-initordera3.c: New file.
18148 * elf/tst-initordera4.c: New file.
18149 * elf/tst-initorderb1.c: New file.
18150 * elf/tst-initorderb2.c: New file.
18151 * elf/tst-order-a1.c: New file.
18152 * elf/tst-order-a2.c: New file.
18153 * elf/tst-order-a3.c: New file.
18154 * elf/tst-order-a4.c: New file.
18155 * elf/tst-order-b1.c: New file.
18156 * elf/tst-order-b2.c: New file.
18157 * elf/tst-order-main.c: New file.
18158 New test case by George Gensure <werkt0@gmail.com>.
18159
86e92359
UD
181602010-10-01 Andreas Schwab <schwab@redhat.com>
18161
18162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18163 decoding ACE if AI_CANONIDN.
18164
5d5732b0
UD
181652011-01-18 Ulrich Drepper <drepper@gmail.com>
18166
18167 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18168
a77e8cbc
UD
181692011-01-17 Ulrich Drepper <drepper@gmail.com>
18170
6392473f
UD
18171 * version.h (RELEASE): Bump for 2.13 release.
18172 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18173
620a0529
UD
18174 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18175
18ba70a5
UD
18176 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18177 MADV_NOHUGEPAGE.
32465c3e
UD
18178 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18179 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18181 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18184
c0dafcf1
UD
18185 * posix/getconf.c: Update copyright year.
18186 * catgets/gencat.c: Likewise.
18187 * csu/version.c: Likewise.
18188 * debug/catchsegv.sh: Likewise.
18189 * debug/xtrace.sh: Likewise.
18190 * elf/ldconfig.c: Likewise.
18191 * elf/ldd.bash.in: Likewise.
18192 * elf/sprof.c (print_version): Likewise.
18193 * iconv/iconv_prog.c: Likewise.
18194 * iconv/iconvconfig.c: Likewise.
18195 * locale/programs/locale.c: Likewise.
18196 * locale/programs/localedef.c: Likewise.
18197 * malloc/memusage.sh: Likewise.
18198 * malloc/mtrace.pl: Likewise.
18199 * nscd/nscd.c (print_version): Likewise.
18200 * nss/getent.c: Likewise.
18201
a77e8cbc
UD
18202 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18203 PF_CAIF, and PF_ALG.
18204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18205
77e8bddf
AS
182062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18207
1f20b93a
AS
18208 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18209 (modules-names): Use them.
18210 (ifunc-test-modules, ifunc-pie-tests): Define.
18211 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18212 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18213 (test-extras): Likewise.
18214 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18215 $(compile-command.c).
18216 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18217 (all-built-dso): Define.
18218 (check-textrel.out, check-execstack.out): Depend on it.
18219
77e8bddf
AS
18220 * configure.in: Don't override --enable-multi-arch.
18221
bc425b33
UD
182222011-01-15 Ulrich Drepper <drepper@gmail.com>
18223
18224 [BZ #6812]
18225 * nscd/hstcache.c (tryagain): Define.
18226 (cache_addhst): Return tryagain not notfound for temporary errors.
18227 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18228 failed.
18229
794c3ad3
UD
182302011-01-14 Ulrich Drepper <drepper@gmail.com>
18231
70181fdd
UD
18232 [BZ #10563]
18233 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18234 to make the syscall.
18235 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18236
794c3ad3
UD
18237 [BZ #12378]
18238 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18239 and fall back to matching as normal character if the string ends before
18240 the matching ']' is found. This is what POSIX requires.
18241 * posix/testfnm.c: Adjust test result.
18242 * posix/globtest.sh: Adjust test result. Add new test.
18243 * posix/tst-fnmatch.input: Likewise.
18244 * posix/tst-fnmatch2.c: Add new test.
18245
68dc9497
AS
182462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18247
18248 * elf/Makefile (check-execstack): Revert last change. Depend on
18249 check-execstack.h.
18250 (check-execstack.h): New target.
18251 (generated): Add check-execstack.h.
18252 * elf/check-execstack.c: Include "check-execstack.h".
18253 (main): Revert last change.
18254 (handle_file): Return zero if GNU_STACK is absent and
18255 DEFAULT_STACK_PERMS doesn't include PF_X.
18256
451f001b
UD
182572011-01-13 Ulrich Drepper <drepper@gmail.com>
18258
cfa28e56
UD
18259 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18260 in child fails because the descriptor is already closed.
8cf8ce17
UD
18261 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18262 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18264
1086d70d
UD
18265 [BZ #12397]
18266 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18267 syscall.
18268
451f001b
UD
18269 [BZ #10484]
18270 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18271 temporary buffer used to handle multi lookups locally.
a85b5cb4 18272 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18273
08769175
UD
182742011-01-12 Ulrich Drepper <drepper@gmail.com>
18275
18276 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18277 loader is ld.so.
18278
5e49c52e
UD
182792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18280
18281 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18282 alignment for SSE2.
18283
60522a5f
UD
182842011-01-12 Ulrich Drepper <drepper@gmail.com>
18285
18286 [BZ #12394]
18287 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18288 characters. When rounding increased number of integer digits recompute
18289 number of groups.
18290 * stdio-common/tst-grouping.c: New file.
18291 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18292
f257bbd7
UD
182932011-01-09 Ulrich Drepper <drepper@gmail.com>
18294
18295 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18296 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18297
18298 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18299 void.
18300 * bits/select.h: Likewise.
18301
fa9c15cb
UD
183022011-01-08 Ulrich Drepper <drepper@gmail.com>
18303
18304 * po/ja.po: Update from translation team.
18305
16c2895f
DM
183062011-01-04 David S. Miller <davem@sunset.davemloft.net>
18307
18308 [BZ #11155]
18309 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18310 implementation just like for lxstat, fxstatat, et al.
18311
2543fef2
JM
183122010-12-27 Jim Meyering <meyering@redhat.com>
18313
18314 [BZ #12348]
18315 * posix/regexec.c (build_trtable): Return failure indication upon
18316 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18317
98727dbe
UD
183182010-12-25 Ulrich Drepper <drepper@gmail.com>
18319
5bd6dc5c
UD
18320 [BZ #12201]
18321 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18322 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18323 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18324 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18325
97983464
UD
18326 [BZ #12207]
18327 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18328
98727dbe
UD
18329 [BZ #12204]
18330 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18331 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18332
4a531bb0
L
183332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18334
18335 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18336 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18337 script has SORT_BY_INIT_PRIORITY.
18338 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18339 NO_CTORS_DTORS_SECTIONS is defined.
18340 * elf/soinit.c: Likewise.
18341 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18342 NO_CTORS_DTORS_SECTIONS is defined.
18343 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18344 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18345 * sysdeps/sh/init-first.c: Likewise.
18346 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18347
07eb4b71
UD
183482010-12-24 Ulrich Drepper <drepper@gmail.com>
18349
18350 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18351 always use the slow path.
18352
30950a5f
RA
183532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18354
18355 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18356 similar rule which adds the sysdep directories to the header search in
18357 order to pick up the correct platform stackinfo.h.
18358 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18359 perform test if it is, otherwise return successfully without testing.
18360 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18361 DEFAULT_STACK_PERMS define in stackinfo.h.
18362 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18363 defined in stackinfo.h.
18364 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18365 DEFAULT_STACK_PERMS defined in stackinfo.h.
18366 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18367 * sysdeps/ia64/stackinfo.h: Likewise.
18368 * sysdeps/s390/stackinfo.h: Likewise.
18369 * sysdeps/sh/stackinfo.h: Likewise.
18370 * sysdeps/sparc/stackinfo.h: Likewise.
18371 * sysdeps/x86_64/stackinfo.h: Likewise.
18372 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18373 PF_X for powerpc64. Retain PF_X for powerpc32.
18374
db753e2c
UD
183752010-12-19 Ulrich Drepper <drepper@gmail.com>
18376
14b697f7
UD
18377 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18378 accurately.
db753e2c
UD
18379 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18380 GETDENTS_64BIT_ALIGNED.
18381
28300719
UD
183822010-12-14 Ulrich Drepper <dreper@gmail.com>
18383
14b697f7 18384 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18385
4f197237
AS
183862010-12-10 Andreas Schwab <schwab@redhat.com>
18387
dbb0472f
AS
18388 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18389 _GNU_SOURCE.
18390
4f197237
AS
18391 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18392 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18393 Remove __restrict.
18394 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18395 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18396
fb88ac72
UD
183972010-12-09 Ulrich Drepper <drepper@gmail.com>
18398
18399 [BZ #11655]
18400 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18401 are initialized.
18402
42acbb92
JJ
184032010-12-09 Jakub Jelinek <jakub@redhat.com>
18404
18405 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18406
c038d98d
UD
184072010-12-03 Ulrich Drepper <drepper@gmail.com>
18408
18409 * po/it.po: Update from translation team.
18410
3a4a2499
L
184112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18412
18413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18414 unused codes.
18415
1e24cf6e
UD
184162010-11-30 Ulrich Drepper <drepper@gmail.com>
18417
18418 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18419
a7690819
AS
184202010-11-24 Andreas Schwab <schwab@redhat.com>
18421
18422 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18423 specially.
18424 (gaih_getanswer_slice): Likewise.
18425
3bf8d1b1
JJ
184262010-10-20 Jakub Jelinek <jakub@redhat.com>
18427
18428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18429
6db52fbb
PB
184302010-05-31 Petr Baudis <pasky@suse.cz>
18431
18432 [BZ #11149]
18433 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18434 silently even in the chroot mode.
18435
eaca7569
UD
184362010-11-22 Ulrich Drepper <drepper@gmail.com>
18437
18438 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18439 last patch a bit. Pretty printing
18440
3056dcdb
UD
184412010-05-31 Petr Baudis <pasky@suse.cz>
18442
18443 [BZ #10085]
18444 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18445 initialization of skip_initgroups_dyn.
18446
cf7c9078
UD
184472010-11-19 Ulrich Drepper <drepper@gmail.com>
18448
18449 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18450 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18451
a1fb5e3e
UD
184522010-11-16 Ulrich Drepper <drepper@gmail.com>
18453
18454 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18455
3540d66b
AS
184562010-11-11 Andreas Schwab <schwab@redhat.com>
18457
18458 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18459 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18460 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18461 ($(objpfx)tst-fnmatch-mem): New rule.
18462 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18463 * posix/tst-fnmatch.c (main): Call mtrace.
18464
13b69574
L
184652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18466
18467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18468 Support Intel processor model 6 and model 0x2c.
18469
da93d214
LM
184702010-11-10 Luis Machado <luisgpm@br.ibm.com>
18471
18472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18473 signed comparison.
18474
8ca52c6e
L
184752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 [BZ #12205]
18478 * string/test-strncasecmp.c (check_result): New function.
18479 (do_one_test): Use it.
18480 (check1): New function.
18481 (test_main): Use it.
18482 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18483 Support strcasecmp and strncasecmp.
18484
69da074d
UD
184852010-11-08 Ulrich Drepper <drepper@gmail.com>
18486
18487 [BZ #12194]
18488 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18489 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18490
ff02d528
L
184912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18492
18493 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18494 IFUNC support.
18495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18496 memset-x86-64.
18497 * sysdeps/x86_64/multiarch/bzero.S: New file.
18498 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18499 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18500 * sysdeps/x86_64/multiarch/memset.S: New file.
18501 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18503 Set bit_Prefer_SSE_for_memop for Intel processors.
18504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18505 Define.
18506 (index_Prefer_SSE_for_memop): Define.
18507 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18508
344d0b54
LM
185092010-11-04 Luis Machado <luisgpm@br.ibm.com>
18510
18511 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18513
c0dde15b
UD
185142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 [BZ #12191]
18517 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18518 (__x86_64_raw_data_cache_size_half): Likewise.
18519 (__x86_64_raw_shared_cache_size): Likewise.
18520 (__x86_64_raw_shared_cache_size_half): Likewise.
18521
18522 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18523 (__x86_64_raw_data_cache_size_half): Likewise.
18524 (__x86_64_raw_shared_cache_size): Likewise.
18525 (__x86_64_raw_shared_cache_size_half): Likewise.
18526 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18527 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18528 and __x86_64_raw_shared_cache_size_half. Round
18529 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18530 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18531 to multiple of 256 bytes.
18532
0e516e0e
MS
185332010-11-03 Ulrich Drepper <drepper@gmail.com>
18534
18535 [BZ #12167]
18536 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18537 of inacessible symlinks. Verify result of symlink before returning it.
18538 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18539 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18540
0e012e87
ER
185412010-10-28 Erich Ritz <erichritz@gmail.com>
18542
18543 * math/math.h (isinf): Fix typo in comment.
18544
de0ff7bc
UD
185452010-11-01 Ulrich Drepper <drepper@gmail.com>
18546
18547 * po/da.po: Update from translation team.
18548
fa41c84d
UD
185492010-10-26 Ulrich Drepper <drepper@gmail.com>
18550
18551 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18552 is added to the list.
18553
f0967738
AK
185542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18555 Ulrich Drepper <drepper@gmail.com>
18556
18557 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18558 the global list here. Move code to...
18559 (_dl_add_to_namespace_list): ...here. New function.
18560 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18561 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18562 * elf/dl-load.c (lose): Don't remove the element from the list.
18563 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18564 (_dl_map_object): Likewise.
18565
185662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18567
18568 [BZ #12159]
18569 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18570 into all bytes of SSE register.
18571 Patch by Richard Li <richardpku@gmail.com>.
18572
f0967738 185732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18574
18575 [BZ #12140]
18576 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18577 perturbing.
18578
d0b9e94f
MB
185792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18580
18581 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18582 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18583 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18584 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18586 submachine.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18588
8e9f92e9
AS
185892010-10-22 Andreas Schwab <schwab@redhat.com>
18590
18591 * include/dlfcn.h (__RTLD_SECURE): Define.
18592 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18593 mode & __RTLD_SECURE instead.
18594 (open_path): Rename preloaded parameter to secure.
18595 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18596 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18597 * elf/dl-deps.c (openaux): Likewise.
18598 * elf/rtld.c (struct map_args): Remove is_preloaded.
18599 (map_doit): Don't use it.
18600 (dl_main): Likewise.
18601 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18602 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18603
bc96fbda
AS
186042010-09-09 Andreas Schwab <schwab@redhat.com>
18605
18606 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18607 (sysd-rules-targets): Remove duplicates.
18608 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18609 rtld-%.$o dependency.
18610
22cd1c9b
AS
186112010-10-18 Andreas Schwab <schwab@redhat.com>
18612
18613 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18614 _dl_map_object do it.
18615
18edac48
UD
186162010-10-19 Ulrich Drepper <drepper@gmail.com>
18617
18618 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18619 fast fma builtins, define the macros in the C99 standard.
18620 (FP_FAST_FMAF): Likewise.
18621 (FP_FAST_FMAL): Likewise.
18622 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18623
18624 * bits/mathdef.h: Update copyright year.
18625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18626
d2050124
MM
186272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18628
18629 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18630 builtins, define the macros in the C99 standard.
18631 (FP_FAST_FMAF): Likewise.
18632 (FP_FAST_FMAL): Likewise.
18633 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18634 multiply/add.
18635 (FP_FAST_FMAF): Likewise.
18636
475facd1
JJ
186372010-10-15 Jakub Jelinek <jakub@redhat.com>
18638
18639 [BZ #3268]
18640 * math/libm-test.inc (fma_test): Some new testcases.
18641 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18642 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18643 y and infinite z. Do multiplication by C already in long double.
18644 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18646 y and infinite z. Do bitwise or of inexact bit into u.d.
18647 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18648 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18649 * sysdeps/i386/fpu/s_fma.S: Removed.
18650 * sysdeps/i386/fpu/s_fmal.S: Removed.
18651
7c08a05c
JJ
186522010-10-16 Jakub Jelinek <jakub@redhat.com>
18653
18654 [BZ #3268]
18655 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18657 computation is not scheduled after fetestexcept. Fix value
18658 of minimum denormal long double.
18659
f3f7372d
JJ
186602010-10-14 Jakub Jelinek <jakub@redhat.com>
18661
18662 [BZ #3268]
18663 * math/libm-test.inc (fma_test): Add some more tests.
18664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18665 correctly.
18666
14d43591
AS
186672010-10-15 Andreas Schwab <schwab@redhat.com>
18668
18669 * scripts/data/localplt-s390-linux-gnu.data: New file.
18670 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18671
5e908464
JJ
186722010-10-13 Jakub Jelinek <jakub@redhat.com>
18673
18674 [BZ #3268]
18675 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18676 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18677 instead of dbl-64.
18678 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18679 inlines.
18680 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18682 if one of x and y is very large and the other is subnormal.
18683 * sysdeps/s390/fpu/s_fmaf.c: New file.
18684 * sysdeps/s390/fpu/s_fma.c: New file.
18685 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18686 * sysdeps/powerpc/fpu/s_fma.S: New file.
18687 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18688 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18689 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18690
186912010-10-12 Jakub Jelinek <jakub@redhat.com>
18692
18693 [BZ #3268]
18694 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18695 fma tests.
18696 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18697 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18698 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18699 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18700 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18701 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18703
b833d51f
UD
187042010-10-12 Ulrich Drepper <drepper@redhat.com>
18705
18706 [BZ #12078]
18707 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18708 * posix/bug-regex31.input: Add test case.
18709
1751705d
UD
187102010-10-11 Ulrich Drepper <drepper@gmail.com>
18711
e9b9cbf5
UD
18712 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18713 * posix/bug-regex31.input: New file.
18714
18715 [BZ #12078]
18716 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18717 (parse_sub_exp): Fix last change, use postorder.
18718
ef06edbe
UD
18719 * posix/bug-regex31.c: New file.
18720 * posix/Makefile: Add rules to build and run bug-regex31.
18721
a129c80d
UD
18722 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18723
18724 [BZ #12078]
18725 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18726
b76b818e
UD
18727 [BZ #12108]
18728 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18729 to have entries in sys_siglist.
18730
1751705d
UD
18731 [BZ #12093]
18732 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18733 be NULL.
18734
9ff8d36f
JJ
187352010-10-07 Jakub Jelinek <jakub@redhat.com>
18736
18737 [BZ #3268]
18738 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18739 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18740 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18741 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18742 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18743 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18744 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18745 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18746 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18747 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18748 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18749 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18750 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18751 * math/ftestexcept.c (fetestexcept): Likewise.
18752 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18753 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18754 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18755 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18756 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18757 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18758 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18759
af325969
UD
187602010-10-11 Ulrich Drepper <drepper@gmail.com>
18761
c579b202 18762 [BZ #12107]
af325969
UD
18763 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18764 newline.
18765
67a67b95
UD
187662010-10-06 Ulrich Drepper <drepper@gmail.com>
18767
18768 * string/bug-strstr1.c: New file.
18769 * string/Makefile: Add rules to build and run bug-strstr1.
18770
5fb308bc
EB
187712010-10-05 Eric Blake <eblake@redhat.com>
18772
18773 [BZ #12092]
18774 * string/str-two-way.h (two_way_long_needle): Always clear memory
18775 when skipping input due to the shift table.
18776
45db99c7
UD
187772010-10-03 Ulrich Drepper <drepper@gmail.com>
18778
3b111893
UD
18779 [BZ #12005]
18780 * malloc/mcheck.c: Handle large requests.
18781
45db99c7
UD
18782 [BZ #12077]
18783 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18784 for strncmp and strncasecmp.
18785 * string/stratcliff.c: Add tests for strcmp and strncmp.
18786 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18787
cf7a1eb8
NI
187882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18789
18790 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18791 __set_fpscr.
18792
6484ba5e
AJ
187932010-09-30 Andreas Jaeger <aj@suse.de>
18794
18795 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18796 (CGROUP_SUPER_MAGIC): Define.
18797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18798 Handle btrfs and cgroup file systems.
18799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18800 Likewise.
18801
91c42559
LM
188022010-09-27 Luis Machado <luisgpm@br.ibm.com>
18803
18804 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18805 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18806
87a97932
AK
188072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18808
18809 [BZ #12067]
18810 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18811 trying to locate the ELF header.
18812
c21cc9bc
AS
188132010-09-27 Andreas Schwab <schwab@redhat.com>
18814
18815 [BZ #11611]
18816 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18817 Mask out sign-bit copies when constructing f_fsid.
18818
315970f6
PB
188192010-09-24 Petr Baudis <pasky@suse.cz>
18820
18821 * debug/stack_chk_fail_local.c: Add missing licence exception.
18822 * debug/warning-nop.c: Likewise.
18823
1ac7a2c7
JM
188242010-09-15 Joseph Myers <joseph@codesourcery.com>
18825
18826 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18827 implementing getdents64 using getdents syscall, set d_type if
18828 __ASSUME_GETDENTS32_D_TYPE.
18829
56801c50
AS
188302010-09-16 Andreas Schwab <schwab@redhat.com>
18831
18832 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18833 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18834
dda51327
UD
188352010-09-21 Ulrich Drepper <drepper@redhat.com>
18836
18837 [BZ #12037]
18838 * posix/unistd.h: Undo change of feature selection for ftruncate from
18839 2010-01-11.
18840
8ffcee4a
UD
188412010-09-20 Ulrich Drepper <drepper@redhat.com>
18842
a545ecd9 18843 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18844 detection.
18845
e24f0a8b
AS
188462010-09-20 Andreas Schwab <schwab@redhat.com>
18847
18848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18849 fanotify_mark.
18850 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18851
7291c56f
AS
188522010-09-14 Andreas Schwab <schwab@redhat.com>
18853
18854 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18855 variables after CHECK_SP call.
18856 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18857
bc5fb037
AS
188582010-09-13 Andreas Schwab <schwab@redhat.com>
18859 Ulrich Drepper <drepper@redhat.com>
18860
18861 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18862 re-relocationg ld.so.
18863 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18864 _dl_init_paths call.
18865 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18866 here anymore.
18867
e66e7419
UD
188682010-09-14 Ulrich Drepper <drepper@redhat.com>
18869
18870 * resolv/res_init.c (__res_vinit): Count the default server we added.
18871
c044aa75
CLT
188722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18873 Ulrich Drepper <drepper@redhat.com>
18874
18875 [BZ #11968]
18876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18877 (____longjmp_chk): Use %ebx for saving value across system call.
18878 Add unwind info.
18879
32cf4069
AS
188802010-09-06 Andreas Schwab <schwab@redhat.com>
18881
18882 * manual/Makefile: Don't mix pattern rules with normal rules.
18883
817328ee
AS
188842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18885
18886 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18887 operation.
18888 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18889 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18890 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18891 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18893 Likewise.
18894
29fddf61
UD
188952010-09-04 Ulrich Drepper <drepper@redhat.com>
18896
18897 [BZ #11979]
18898 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18899 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18900
0959ffc9
UD
189012010-09-02 Ulrich Drepper <drepper@redhat.com>
18902
18903 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18904 * sysdeps/x86_64/addmul_1.S: Likewise.
18905 * sysdeps/x86_64/lshift.S: Likewise.
18906 * sysdeps/x86_64/mul_1.S: Likewise.
18907 * sysdeps/x86_64/rshift.S: Likewise.
18908 * sysdeps/x86_64/sub_n.S: Likewise.
18909 * sysdeps/x86_64/submul_1.S: Likewise.
18910
ece29840
ST
189112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18912
0959ffc9
UD
18913 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18914 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18915 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18916 * bits/sched.h [__need_schedparam]
ece29840 18917 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18918 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18919 (__defined_schedparam): Define to 1.
ece29840
ST
18920 (__sched_param): New structure, identical to sched_param.
18921 (__need_schedparam): Undefine.
18922
e53a31fe
MF
189232010-08-31 Mike Frysinger <vapier@gentoo.org>
18924
fdc0c10d
MF
18925 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18926 (epoll_create1): Declare.
18927
e53a31fe
MF
18928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18929
a726d796
AS
189302010-08-31 Andreas Schwab <schwab@redhat.com>
18931
18932 [BZ #7066]
18933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18934 shifting retval into place.
18935
2f3e3dc7
UD
189362010-09-01 Ulrich Drepper <drepper@redhat.com>
18937
f2933da9
UD
18938 * nis/rpcsvc/nis.h: Update copyright notice.
18939 * nis/rpcsvc/nis.x: Likewise.
18940 * nis/rpcsvc/nis_callback.h: Likewise.
18941 * nis/rpcsvc/nis_callback.x: Likewise.
18942 * nis/rpcsvc/nis_object.x: Likewise.
18943 * nis/rpcsvc/nis_tags.h: Likewise.
18944 * nis/rpcsvc/yp.h: Likewise.
18945 * nis/rpcsvc/yp.x: Likewise.
18946 * nis/rpcsvc/ypupd.h: Likewise.
18947 * nis/yp_xdr.c: Likewise.
18948 * nis/ypupdate_xdr.c: Likewise.
18949
2f3e3dc7
UD
18950 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18951 mainly the body of pmap_getport. Add parameters to specify timeouts.
18952 (pmap_getport): Use __libc_rpc_getport.
18953 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18954 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18955 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18956
f3dcc2f9
AS
189572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18958
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18960 fanotify_mark.
18961
6d34eb5b
RM
189622010-08-27 Roland McGrath <roland@redhat.com>
18963
18964 * sysdeps/i386/i686/multiarch/Makefile
18965 (CFLAGS-varshift.c): New variable.
18966
9ea3de11
UD
189672010-08-27 Ulrich Drepper <drepper@redhat.com>
18968
c96d23fc
UD
18969 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18970 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18971
9ea3de11
UD
18972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18973
18974 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18975
623aac7f
L
189762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18977
18978 * sysdeps/x86_64/strlen.S: Unroll the loop.
18979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18980 strlen-sse2 strlen-sse2-bsf.
18981 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18982 __strlen_no_bsf if bit_Slow_BSF is set.
18983 (__strlen_sse42): Removed.
18984 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18985 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18986
8b2b7715
RM
189872010-08-25 Roland McGrath <roland@redhat.com>
18988
18989 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18990 * sysdeps/x86_64/multiarch/varshift.c: New file.
18991 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18992 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18993 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18994 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18995
e73015f2
L
189962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18997
18998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18999 strlen-sse2 strlen-sse2-bsf.
19000 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19001 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19002 (__strlen_sse2): Removed.
19003 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19006 bit_Slow_BSF for Atom.
19007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19008 (index_Slow_BSF): Define.
19009 (HAS_SLOW_BSF): Define.
19010
df24a73e
UD
190112010-08-25 Ulrich Drepper <drepper@redhat.com>
19012
19013 [BZ #10851]
19014 * resolv/res_init.c (__res_vinit): When no server address at all
19015 is given default to loopback.
19016
f2ac4868
RM
190172010-08-24 Roland McGrath <roland@redhat.com>
19018
09055553
RM
19019 * configure.in: Remove config-name.h generation.
19020 * configure: Regenerated.
19021 * config-name.in: File removed.
19022 * scripts/config-uname.sh: New file.
19023 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19024 ($(objdir)config-name.h): New target.
19025
f2ac4868
RM
19026 * sunrpc/rpc_parse.h: Avoid nested comment.
19027
73f27d5e
RH
190282010-08-24 Richard Henderson <rth@redhat.com>
19029 Ulrich Drepper <drepper@redhat.com>
19030 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19034 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19035 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19036 _mm_alignr_epi8 with _mm_loadu_si128.
19037 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19038 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19039 (__m128i_shift_right): Removed.
19040 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19041 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19042 * sysdeps/x86_64/multiarch/varshift.h: New file.
19043 * sysdeps/x86_64/multiarch/varshift.S: New file.
19044
84b9230c
MF
190452010-08-21 Mike Frysinger <vapier@gentoo.org>
19046
19047 * configure.in: Move assembler checks to before sysdep dir checking.
19048
9bbd0ddc
PB
190492010-08-20 Petr Baudis <pasky@suse.cz>
19050
19051 * LICENSES: Sync the sunrpc license.
19052
9da4bb31
UD
190532010-08-19 Ulrich Drepper <drepper@redhat.com>
19054
a7ab6ec8
UD
19055 * sunrpc/auth_des.c: Update copyright notice once again.
19056 * sunrpc/auth_none.c: Likewise.
19057 * sunrpc/auth_unix.c: Likewise.
19058 * sunrpc/authdes_prot.c: Likewise.
19059 * sunrpc/authuxprot.c: Likewise.
19060 * sunrpc/bindrsvprt.c: Likewise.
19061 * sunrpc/clnt_gen.c: Likewise.
19062 * sunrpc/clnt_perr.c: Likewise.
19063 * sunrpc/clnt_raw.c: Likewise.
19064 * sunrpc/clnt_simp.c: Likewise.
19065 * sunrpc/clnt_tcp.c: Likewise.
19066 * sunrpc/clnt_udp.c: Likewise.
19067 * sunrpc/clnt_unix.c: Likewise.
19068 * sunrpc/des_crypt.c: Likewise.
19069 * sunrpc/des_soft.c: Likewise.
19070 * sunrpc/get_myaddr.c: Likewise.
19071 * sunrpc/getrpcport.c: Likewise.
19072 * sunrpc/key_call.c: Likewise.
19073 * sunrpc/key_prot.c: Likewise.
19074 * sunrpc/openchild.c: Likewise.
19075 * sunrpc/pm_getmaps.c: Likewise.
19076 * sunrpc/pm_getport.c: Likewise.
19077 * sunrpc/pmap_clnt.c: Likewise.
19078 * sunrpc/pmap_prot.c: Likewise.
19079 * sunrpc/pmap_prot2.c: Likewise.
19080 * sunrpc/pmap_rmt.c: Likewise.
19081 * sunrpc/rpc/auth.h: Likewise.
19082 * sunrpc/rpc/auth_unix.h: Likewise.
19083 * sunrpc/rpc/clnt.h: Likewise.
19084 * sunrpc/rpc/des_crypt.h: Likewise.
19085 * sunrpc/rpc/key_prot.h: Likewise.
19086 * sunrpc/rpc/netdb.h: Likewise.
19087 * sunrpc/rpc/pmap_clnt.h: Likewise.
19088 * sunrpc/rpc/pmap_prot.h: Likewise.
19089 * sunrpc/rpc/pmap_rmt.h: Likewise.
19090 * sunrpc/rpc/rpc.h: Likewise.
19091 * sunrpc/rpc/rpc_des.h: Likewise.
19092 * sunrpc/rpc/rpc_msg.h: Likewise.
19093 * sunrpc/rpc/svc.h: Likewise.
19094 * sunrpc/rpc/svc_auth.h: Likewise.
19095 * sunrpc/rpc/types.h: Likewise.
19096 * sunrpc/rpc/xdr.h: Likewise.
19097 * sunrpc/rpc_clntout.c: Likewise.
19098 * sunrpc/rpc_cmsg.c: Likewise.
19099 * sunrpc/rpc_common.c: Likewise.
19100 * sunrpc/rpc_cout.c: Likewise.
19101 * sunrpc/rpc_dtable.c: Likewise.
19102 * sunrpc/rpc_hout.c: Likewise.
19103 * sunrpc/rpc_main.c: Likewise.
19104 * sunrpc/rpc_parse.c: Likewise.
19105 * sunrpc/rpc_parse.h: Likewise.
19106 * sunrpc/rpc_prot.c: Likewise.
19107 * sunrpc/rpc_sample.c: Likewise.
19108 * sunrpc/rpc_scan.c: Likewise.
19109 * sunrpc/rpc_scan.h: Likewise.
19110 * sunrpc/rpc_svcout.c: Likewise.
19111 * sunrpc/rpc_tblout.c: Likewise.
19112 * sunrpc/rpc_util.c: Likewise.
19113 * sunrpc/rpc_util.h: Likewise.
19114 * sunrpc/rpcinfo.c: Likewise.
19115 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19116 * sunrpc/rpcsvc/key_prot.x: Likewise.
19117 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19118 * sunrpc/rpcsvc/mount.x: Likewise.
19119 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19120 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19121 * sunrpc/rpcsvc/rex.x: Likewise.
19122 * sunrpc/rpcsvc/rstat.x: Likewise.
19123 * sunrpc/rpcsvc/rusers.x: Likewise.
19124 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19125 * sunrpc/rpcsvc/spray.x: Likewise.
19126 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19127 * sunrpc/rtime.c: Likewise.
19128 * sunrpc/svc.c: Likewise.
19129 * sunrpc/svc_auth.c: Likewise.
19130 * sunrpc/svc_authux.c: Likewise.
19131 * sunrpc/svc_raw.c: Likewise.
19132 * sunrpc/svc_run.c: Likewise.
19133 * sunrpc/svc_simple.c: Likewise.
19134 * sunrpc/svc_tcp.c: Likewise.
19135 * sunrpc/svc_udp.c: Likewise.
19136 * sunrpc/svc_unix.c: Likewise.
19137 * sunrpc/svcauth_des.c: Likewise.
19138 * sunrpc/xcrypt.c: Likewise.
19139 * sunrpc/xdr.c: Likewise.
19140 * sunrpc/xdr_array.c: Likewise.
19141 * sunrpc/xdr_float.c: Likewise.
19142 * sunrpc/xdr_mem.c: Likewise.
19143 * sunrpc/xdr_rec.c: Likewise.
19144 * sunrpc/xdr_ref.c: Likewise.
19145 * sunrpc/xdr_sizeof.c: Likewise.
19146 * sunrpc/xdr_stdio.c: Likewise.
19147
9da4bb31
UD
19148 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19149 handling.
19150
bdaa77bc
AS
191512010-08-19 Andreas Schwab <schwab@redhat.com>
19152
19153 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19154
fe2f79db
LM
191552010-08-19 Luis Machado <luisgpm@br.ibm.com>
19156
19157 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19158 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19160 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19161 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19162 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19163 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19164 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19166 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19167 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19169 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19170 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19171
b9b42ee0
AB
191722010-07-26 Anton Blanchard <anton@samba.org>
19173
19174 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19175 * malloc/arena.c (heap_trim): Likewise.
19176
1c06ba31
UD
191772010-08-16 Ulrich Drepper <drepper@redhat.com>
19178
19179 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19180 here. Not...
19181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19182 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19183
f8392f40
L
191842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 * sysdeps/i386/elf/Makefile: New file.
19187
3162f12e
AS
191882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19189
19190 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19191 from fanotify_init.
19192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19194
28c90b2c
UD
191952010-08-15 Ulrich Drepper <drepper@redhat.com>
19196
19197 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19198 of strncasecmp_l.
1feccb6c 19199 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19200
ca6bb004
UD
192012010-08-14 Ulrich Drepper <drepper@redhat.com>
19202
e9f82e0d
UD
19203 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19204 strncase_l-nonascii.
19205 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19206 Add strncase_l-ssse3.
19207 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19208 * sysdeps/x86_64/strcmp.S: Likewise.
19209 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19210 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19211 * sysdeps/x86_64/strncase.S: New file.
19212 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19213 * sysdeps/x86_64/strncase_l.S: New file.
19214 * string/Makefile (strop-tests): Add strncasecmp.
19215 * string/test-strncasecmp.c: New file.
19216
19217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19218 warning.
19219
ca6bb004
UD
19220 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19221 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19222
052fa7b3
AS
192232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19224
19225 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19226
962dba78
UD
192272010-08-12 Ulrich Drepper <drepper@redhat.com>
19228
19229 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19230 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19232
bebff237
AM
192332010-05-01 Alan Modra <amodra@gmail.com>
19234
19235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19236 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19237 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19238 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19239 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19240 tidying. Don't tail-call __sigjmp_save for static lib.
19241 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19242 save location.
19243 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19244 (CALL_MCOUNT): Add eh info, and nop after bl.
19245 (TAIL_CALL_SYSCALL_ERROR): New macro.
19246 (PSEUDO_RET): Use it.
19247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19248 Correct save location of integer regs and cr.
19249 (_dl_profile_resolve): Correct cr save location. Delete nops
19250 after bl when SHARED. Reduce cfi size a little by better
19251 placement of cfi directives.
19252 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19253 make a stack frame. Instead use parm save area as a temp.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19255 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19257 Don't make a stack frame for parent, use parm save area.
19258 Increase child stack frame to 112 bytes. Don't save unused reg,
19259 and adjust reg usage. Set up cfi on error recovery and
19260 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19262 (__makecontext): Add dummy nop after jump to exit.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19264 Use correct parm save area and cr save, reduce stack frame.
19265 Correct cfi for possible PSEUDO_RET frame setup.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19267 Branch to local label emitted by PSEUDO_RET rather than
19268 __syscall_error.
19269
02637374
AS
192702010-08-12 Andreas Schwab <schwab@redhat.com>
19271
19272 [BZ #11904]
19273 * locale/programs/locale.c (print_assignment): New function.
19274 (show_locale_vars): Use it.
19275
c3e2f19b
UD
192762010-08-11 Ulrich Drepper <drepper@redhat.com>
19277
3cdaa6ad
UD
19278 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19279 field.
19280 (struct statfs64): Likewise.
19281 (_STATFS_F_FLAGS): Define.
19282 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19284 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19285 (ST_VALID): Define locally.
19286 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19287 __statvfs_getflags, use the provided value.
19288 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19289 __ASSUME_STATFS_F_FLAGS.
19290
754f7da3
UD
19291 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19292
10b3bedc
UD
19293 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19294 Add sys/fanotify.h.
19295 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19296 fanotify_mask for GLIBC_2.13.
19297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19298 fanotify_init and fanotify_mark.
19299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19300 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19301
c08fb0d7
UD
19302 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19303 Add prlimit.
19304 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19305 prlimit64 for GLIBC_2.13.
19306 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19307 prlimit64.
19308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19309 syscall.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19311 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19312 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19315 add prlimit alias.
19316 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19317
15bac72b
UD
19318 [BZ #11903]
19319 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19320 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19321
c3e2f19b
UD
19322 * nss/Makefile: Add rules to build and run tst-nss-test1.
19323 * shlib-versions: Add entry for libnss_test1.
19324 * nss/nss_test1.c: New file.
19325 * nss/tst-nss-test1.c: New file.
19326
19327 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19328 (__nss_configure_lookup): Set appropriate entry in
19329 __nss_configure_lookup to true.
19330 * nss/nsswitch.h: Define enum with indeces of databases in
19331 databases and __nss_database_custom arrays. Declare
19332 __nss_database_custom.
19333 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19334 to avoid using nscd when custom rules are installed.
19335 * nss/getXXbyYY_r.c: Likewise.
19336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19337
19338 * nss/nss_files/files-parse.c: Whitespace fixes.
19339
f15ce4d8
UD
193402010-08-09 Ulrich Drepper <drepper@redhat.com>
19341
19342 [BZ #11883]
19343 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19344 * posix/fnmatch_loop.c: Likewise.
19345
d22e4cc9
AK
193462010-07-17 Andi Kleen <ak@linux.intel.com>
19347
19348 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19349 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19350 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19351 * Versions.def [GLIBC_2.13]: Add.
19352
805bc17d
UD
193532010-08-06 Ulrich Drepper <drepper@redhat.com>
19354
19355 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19356 Also fail if tpwd after pwuid call is NULL.
19357
5a42321d
ST
193582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19359
19360 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19361 when converting to ms.
19362
fd3ebeda
ST
193632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19364
19365 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19366 EOPNOTSUPP errors with ENOTTY.
19367 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19368 EOPNOTSUPP errors with ENOTTY.
19369
73507d3a
UD
193702010-07-31 Ulrich Drepper <drepper@redhat.com>
19371
19372 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19373 Add strcasecmp_l-ssse3.
19374 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19375 strcasecmp.
19376 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19377 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19378 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19379
fe36dd02
UD
193802010-07-30 Ulrich Drepper <drepper@redhat.com>
19381
66f6765a
UD
19382 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19383
42e08a54
UD
19384 * string/Makefile (strop-tests): Add strcasecmp.
19385 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19386 strcasecmp_l-nonascii.
19387 (gen-as-const-headers): Add locale-defines.sym.
19388 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19389 * sysdeps/x86_64/strcasecmp.S: New file.
19390 * sysdeps/x86_64/strcasecmp_l.S: New file.
19391 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19392 * sysdeps/x86_64/locale-defines.sym: New file.
19393 * string/test-strcasecmp.c: New file.
19394
fe36dd02
UD
19395 * string/test-strcasestr.c: Test both ends of the range of characters.
19396 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19397
48cbc0d6
RM
193982010-07-29 Roland McGrath <roland@redhat.com>
19399
76e6d6bc 19400 [BZ #11856]
48cbc0d6
RM
19401 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19402
880113d9
UD
194032010-07-27 Ulrich Drepper <drepper@redhat.com>
19404
19405 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19406 for ld.so.
19407
deb9cabb
AS
194082010-07-27 Andreas Schwab <schwab@redhat.com>
19409
19410 * manual/memory.texi (Malloc Tunable Parameters): Document
19411 M_PERTURB.
19412
1c7570ff
RM
194132010-07-26 Roland McGrath <roland@redhat.com>
19414
19415 [BZ #11840]
19416 * configure.in (-fgnu89-inline check): Set and substitute
19417 gnu89_inline, not libc_cv_gnu89_inline.
19418 * configure: Regenerated.
19419 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19420
24fb0f88
UD
194212010-07-26 Ulrich Drepper <drepper@redhat.com>
19422
19423 * string/test-strnlen.c: New file.
19424 * string/Makefile (strop-tests): Add strnlen.
19425 * string/tester.c (test_strnlen): Add a few more test cases.
19426 * string/tst-strlen.c: Better error reporting.
19427
19428 * sysdeps/x86_64/strnlen.S: New file.
19429
8e96b93a
UD
194302010-07-24 Ulrich Drepper <drepper@redhat.com>
19431
19432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19433 lower-latency instructions.
19434
dbc676d4
UD
194352010-07-23 Ulrich Drepper <drepper@redhat.com>
19436
19437 * string/test-strcasestr.c: New file.
19438 * string/test-strstr.c: New file.
19439 * string/Makefile (strop-tests): Add strstr and strcasestr.
19440 * string/str-two-way.h: Don't undefine MAX.
19441 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19442
f6a31e0e
AS
194432010-07-21 Andreas Schwab <schwab@redhat.com>
19444
19445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19446 strcasestr-nonascii.
19447 (CFLAGS-strcasestr-nonascii.c): Define.
19448 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19450 Remove unused attribute.
19451
5dbc3b6c
RM
194522010-07-20 Roland McGrath <roland@redhat.com>
19453
19454 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19455 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19456 ld.so.cache was broken. With it, there is no way to disable dsocaps
19457 like LD_HWCAP_MASK can disable hwcaps.
19458
23d101d8
EPM
194592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19460
19461 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19462
cc9f2e47
UD
194632010-07-16 Ulrich Drepper <drepper@redhat.com>
19464
19465 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19466 call in strcasestr.
19467 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19468 __strcasestr_sse42_nonascii.
19469 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19470 strcasestr-nonascii.c.
19471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19472
77c1b069
LM
194732010-06-15 Luis Machado <luisgpm@br.ibm.com>
19474
19475 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19477 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19479
440566c3
UD
194802010-07-09 Ulrich Drepper <drepper@redhat.com>
19481
19482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19483 fcntl.
19484
5be9d05d
AS
194852010-07-06 Andreas Schwab <schwab@redhat.com>
19486
c30b7ee2 19487 [BZ #11577]
5be9d05d
AS
19488 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19489 dl_signal_cerror.
19490
8a492a67
UD
194912010-07-06 Ulrich Drepper <drepper@redhat.com>
19492
19493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19494 _PC_PIPE_BUF using F_GETPIPE_SZ.
19495
713df3d5
RM
194962010-07-05 Roland McGrath <roland@redhat.com>
19497
19498 * manual/arith.texi (Rounding Functions): Fix rint description
19499 implicit in round description.
19500
702e8f14
UD
195012010-07-02 Ulrich Drepper <drepper@redhat.com>
19502
19503 * elf/Makefile: Fix linking for a few tests to make recent linker
19504 happy.
19505
52ed8be9
AS
195062010-06-30 Andreas Schwab <schwab@redhat.com>
19507
19508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19509 $(common-objpfx)libc_nonshared.a.
19510
f47c9a11
LM
195112010-06-21 Luis Machado <luisgpm@br.ibm.com>
19512
19513 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19514 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19515 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19516 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19517 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19518 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19519 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19520 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19535 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19536 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19537 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19538 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19539 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19540 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19541 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19542 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19543 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19544 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19545 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19546 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19561
6fb8cbcb
L
195622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19563
19564 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19565 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19566 * string/memmove.c (memmove): Renamed to ...
19567 (MEMMOVE): ...this. Default to memmove.
19568 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19569 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19570 (END_CHK): Define.
19571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19572 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19573 mempcpy-ssse3-back memmove-ssse3-back.
19574 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19577 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19578 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19579 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19580 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19581 * sysdeps/x86_64/multiarch/memmove.c: New file.
19582 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19583 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19584 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19585 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19586 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19588 Define.
19589 (index_Fast_Copy_Backward): Define.
19590 (HAS_ARCH_FEATURE): Define.
19591 (HAS_FAST_REP_STRING): Define.
19592 (HAS_FAST_COPY_BACKWARD): Define.
19593
4e733bac 195942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19595
19596 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19597 Restore proper fallback handling.
19598
63c4ed22
UD
195992010-06-19 Ulrich Drepper <drepper@redhat.com>
19600
ac2b484c
UD
19601 [BZ #11701]
19602 * posix/group_member.c (__group_member): Correct checking loop.
19603
63c4ed22
UD
19604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19605 OOM in getpwuid_r correctly. Return error number when the caller
19606 should return, otherwise -1.
19607 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19608 call returning > 0 value.
19609 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19610
765ade4b
AS
196112010-06-07 Andreas Schwab <schwab@redhat.com>
19612
19613 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19614 libc_nonshared.a from targets in modules-names.
19615
80da2e09
KS
196162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19617
19618 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19619 requires it.
19620
158db122
LM
196212010-06-10 Luis Machado <luisgpm@br.ibm.com>
19622
19623 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19624 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19627
caa78cf8
AS
196282010-06-02 Andreas Schwab <schwab@redhat.com>
19629
19630 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19631
b2ef2c01
UD
196322010-06-14 Ulrich Drepper <drepper@redhat.com>
19633
19634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19635 and F_GETPIPE_SZ.
19636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19642
fbd643b6
RM
196432010-06-14 Roland McGrath <roland@redhat.com>
19644
19645 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19646
f32f2869
JJ
196472010-06-07 Jakub Jelinek <jakub@redhat.com>
19648
19649 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19650 __REDIRECT followed by __THROW.
19651 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19652 * posix/getopt.h (getopt): Likewise.
19653
2a50c078
EPM
196542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19655
19656 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19657 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19658 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19659 in AT_FLAGS.
19660 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19661 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19662
eb5ad2eb
LM
196632010-05-28 Luis Machado <luisgpm@br.ibm.com>
19664
19665 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19666
3c88fe1e
L
196672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19668
19669 [BZ #11640]
19670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19671 Properly check family and model.
19672
d2f73151
TY
196732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19674
19675 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19676
ebd2e13d
LM
196772010-05-24 Luis Machado <luisgpm@br.ibm.com>
19678
19679 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19680
b32b8b45
UD
196812010-05-21 Ulrich Drepper <drepper@redhat.com>
19682
19683 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19684 symbol reference.
19685
9acbe24d
AS
196862010-05-19 Andreas Schwab <schwab@redhat.com>
19687
19688 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19689 symbol reference.
19690
f0ccf6ea
AS
196912010-05-21 Andreas Schwab <schwab@redhat.com>
19692
3d04ff3a
AS
19693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19694 and internal_recvmmsg.
19695 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19696 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19697 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19698 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19699
f0ccf6ea
AS
19700 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19701 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19702 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19703
5b08ac57
AS
197042010-05-20 Andreas Schwab <schwab@redhat.com>
19705
19706 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19707
4828935d
LM
197082010-05-17 Luis Machado <luisgpm@br.ibm.com>
19709
19710 POWER7 optimizations.
19711 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19712 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19713
373d545e
UD
197142010-05-19 Ulrich Drepper <drepper@redhat.com>
19715
19716 * version.h: Update for 2.13 development version.
19717
21a2b1ae
AS
197182010-05-12 Andrew Stubbs <ams@codesourcery.com>
19719
19720 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19721 exceptions. Return 0.
19722
3f7dcb2b
RM
197232010-05-07 Roland McGrath <roland@redhat.com>
19724
19725 * elf/ldconfig.c (main): Add a const.
19726
5f24d53a 197272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19728
a160f8d8
UD
19729 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19730 (args_options): Add no-idn option.
19731 (ahosts_keys_int): Add idn_flags to ai_flags.
19732 (parse_option): Handle 'i' option to clear idn_flags.
19733
5f24d53a
UD
19734 * malloc/malloc.c (_int_free): Possible race in the most recently
19735 added check. Only act on the data if no current modification
19736 happened.
265bb1ce
UD
19737
19738See ChangeLog.17 for earlier changes.
This page took 2.656116 seconds and 5 git commands to generate.