]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix up definitions for older compilers.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b7bfe116
MP
12012-09-26 Marek Polacek <polacek@redhat.com>
2
3 [BZ #14530]
4 [BZ #13741]
5 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6 for C++ and GCC <4.3 as well as for non GCC compilers.
7
43c4edba
MT
82012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9
10 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11
6a1bf82f
RM
122012-09-25 Roland McGrath <roland@hack.frob.com>
13
14 * Makefile.in (all, install): Declare with .PHONY.
15 Reported by Michael Hope <michael.hope@linaro.org>.
16
8ad11b9a
TMQMF
172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18
19 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21 system header.
22 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23 Likewise.
24 (sydep_routines): Add the new and the internal functions.
25 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28 (GLIBC_2.17): Add the new function.
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30 (GLIBC_2.17): Likewise.
31 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32 (GLIBC_2.17): Likewise.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34 (GLIBC_2.17): Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36
7e2fca8d
AM
372012-09-25 Alan Modra <amodra@gmail.com>
38
39 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40 Add release barrier before setting once_control to say
41 initialisation is done. Add hints on lwarx. Use macro in
42 place of isync.
43 (clear_once_control): Add release barrier.
44
b87c4b24
JM
452012-09-25 Joseph Myers <joseph@codesourcery.com>
46
d032e0d2
JM
47 [BZ #13629]
48 * math/s_clog.c (__clog): Handle more values close to |z| = 1
49 specially.
50 * math/s_clog10.c (__clog10): Likewise.
51 * math/s_clog10f.c (__clog10f): Likewise.
52 * math/s_clog10l.c (__clog10l): Likewise.
53 * math/s_clogf.c (__clogf): Likewise.
54 * math/s_clogl.c (__clogl): Likewise.
55 * math/Makefile (libm-calls): Add x2y2m1.
56 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57 (__x2y2m1): Likewise.
58 (__x2y2m1l): Likewise.
59 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66 * sysdeps/i386/fpu/libm-test-ulps: Update.
67 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68
b87c4b24
JM
69 [BZ #14621]
70 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71 int as type of variable DEPTH.
72 (glob): Use size_t instead of int as type of variables NEWCOUNT
73 and OLD_PATHC.
74
6d3bf199
LD
752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76
22bf5c17
LD
77 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
78 Add s_sincosf-sse2.
79 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
80 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
81 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
82 macros for using routine as __sincosf_ia32.
83 Use macro for function declaration and weak_alias.
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85
86 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
87 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88
89 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
90 subnormal argument.
91 * math/s_cexpf.c (__cexpf): Likewise.
92 * math/s_csinf.c (__csinf): Likewise.
93 * math/s_csinhf.c (__csinhf): Likewise.
94 * math/s_ctanf.c (__ctanf): Likewise.
95 * math/s_ctanhf.c (__ctanhf): Likewise.
96 * math/s_ccosh.c (__ccoshf): Likewise.
97 * math/s_cexp.c (__cexpl): Likewise.
98 * math/s_csin.c (__csin): Likewise.
99 * math/s_csinh.c (__csinh): Likewise.
100 * math/s_ctan.c (__ctan): Likewise.
101 * math/s_ctanh.c (ctanh): Likewise.
102 * math/s_ccoshl.c (__ccoshl): Likewise.
103 * math/s_cexpl.c (__cexpl): Likewise.
104 * math/s_csinl.c (__csinl): Likewise.
105 * math/s_csinhl.c (__csinhl): Likewise.
106 * math/s_ctanl.c (__ctanl): Likewise.
107 * math/s_ctanhl.c (__ctanhl): Likewise.
108
203e5603
JM
1092012-09-25 Joseph Myers <joseph@codesourcery.com>
110
111 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
112 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
113 (_IO_off_t): Define to __off_t, not _G_off_t.
114 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
115 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
116 (_IO_wint_t): Define to wint_t, not _G_wint_t.
117 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
118 type of __dummy and __dummy2 fields.
119 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
120 (_G_ssize_t): Likewise.
121 (_G_off_t): Likewise.
122 (_G_pid_t): Likewise.
123 (_G_uid_t): Likewise.
124 (_G_wchar_t): Likewise.
125 (_G_wint_t): Likewise.
126 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
127 (_G_ssize_t): Likewise.
128 (_G_off_t): Likewise.
129 (_G_pid_t): Likewise.
130 (_G_uid_t): Likewise.
131 (_G_wchar_t): Likewise.
132 (_G_wint_t): Likewise.
133 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
134 (_G_ssize_t): Likewise.
135 (_G_off_t): Likewise.
136 (_G_pid_t): Likewise.
137 (_G_uid_t): Likewise.
138 (_G_wchar_t): Likewise.
139 (_G_wint_t): Likewise.
140
9fab36eb
SP
1412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
142
143 * malloc/arena.c: Include malloc-sysdep.h.
144 (shrink_heap): Use check_may_shrink_heap to decide if madvise
145 is sufficient to shrink the heap or an unmap is needed.
146 * sysdeps/generic/malloc-sysdep.h: New file. Define
147 new function check_may_shrink_heap.
148 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
149 new function check_may_shrink_heap.
150
2b4f00d1
SP
1512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
152
153 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
154 comments.
155
9a9028b1
DL
1562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
157
57c69bef
DL
158 * catgets/test-gencat.sh: Add "set -e".
159 * elf/tst-pathopt.sh: Likewise.
160 * grp/tst_fgetgrent.sh: Likewise.
161 * iconvdata/run-iconv-test.sh: Likewise.
162 * intl/tst-gettext.sh: Likewise.
163 * intl/tst-gettext2.sh: Likewise.
164 * intl/tst-gettext4.sh: Likewise.
165 * intl/tst-gettext6.sh: Likewise.
166 * intl/tst-translit.sh: Likewise.
167 * io/ftwtest-sh: Likewise.
168 * libio/test-freopen.sh: Likewise.
169 * malloc/tst-mtrace.sh: Likewise.
170 * posix/globtest.sh: Likewise.
171 * posix/tst-getconf.sh: Likewise.
172 * posix/wordexp-tst.sh: Likewise.
173 * stdio-common/tst-printf.sh: Likewise.
174 * stdio-common/tst-unbputc.sh: Likewise.
175 * stdlib/tst-fmtmsg.sh: Likewise.
176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
177 * catgets/Makefile: Do not specify -e option when running
178 testsuite shell scripts.
179 * elf/Makefile: Likewise.
180 * grp/Makefile: Likewise.
181 * iconvdata/Makefile: Likewise.
182 * intl/Makefile: Likewise.
183 * io/Makefile: Likewise.
184 * libio/Makefile: Likewise.
185 * malloc/Makefile: Likewise.
186 * posix/Makefile: Likewise.
187 * stdio-common/Makefile: Likewise.
188 * stdlib/Makefile: Likewise.
189 * sysdeps/x86_64/Makefile: Likewise.
190
9a9028b1
DL
191 * io/ftwtest-sh: Add copyright header.
192 * posix/globtest.sh: Likewise.
193 * posix/tst-getconf.sh: Likewise.
194 * posix/wordexp-tst.sh: Likewise.
195 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
196
ced6f16e
L
1972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
198
94b32c39
L
199 [BZ #13679]
200 * Makeconfig (+link): Defined as $(+link-static) if
201 $(build-shared) isn't yes.
202 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
203 isn't yes.
204 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
205
189e935b
L
206 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
207
ced6f16e
L
208 [BZ #14562]
209 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
210 new chunk size with MALLOC_ALIGN_MASK.
211
a9f8e53a
JM
2122012-09-24 Joseph Myers <joseph@codesourcery.com>
213
214 [BZ #5044]
215 * stdio-common/printf_fphex.c: Include <stdbool.h> and
216 <rounding-mode.h>.
217 (__printf_fphex): Determine rounding using get_rounding_mode and
218 round_away.
219 * stdio-common/tst-printf-round.c (struct hex_test): New
220 structure.
221 (hex_tests): New variable.
222 (test_hex_in_one_mode): New function.
223 (do_test): Also run tests for hex float output.
224
43153109
JM
2252012-09-21 Joseph Myers <joseph@codesourcery.com>
226
227 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
228 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
229 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
230 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
231 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
232 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
233 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
235
8a26625d
JM
2362012-09-20 Joseph Myers <joseph@codesourcery.com>
237
238 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
239 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
240 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
241 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
242
f3fd569c
DL
2432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
244
245 [BZ #14579]
246 * elf/rtld.c (dl_main): Limit the check for self loading to normal
247 mode only.
248 * elf/tst-rtld-load-self.sh: New test.
249 * elf/Makefile: Run it.
250
63bbedd4
JM
2512012-09-18 Joseph Myers <joseph@codesourcery.com>
252
253 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
254 (tst-writev-ENV): Remove.
255 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
256
626f8b6a
CM
2572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
258
259 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
260
b7aaa4d6
JM
2612012-09-17 Joseph Myers <joseph@codesourcery.com>
262
263 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
264 unconditional.
265 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
266 Likewise.
267 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
268 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
270 Likewise.
271
65513990
L
2722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
273
274 [BZ #14587]
275 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
276 * config.make.in (have-cpp-asm-debuginfo): Removed.
277 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
278 * configure: Regenerated.
279
784761be
JM
2802012-09-14 Joseph Myers <joseph@codesourcery.com>
281
282 [BZ #5044]
283 * stdio-common/printf_fp.c: Include <stdbool.h> and
284 <rounding-mode.h>.
285 (___printf_fp): Determine rounding using get_rounding_mode and
286 round_away.
287 * stdio-common/tst-printf-round.c: New file.
288 * stdio-common/Makefile (tests): Add tst-printf-round.
289 (link-libm): New variable.
290 ($(objpfx)tst-printf-round): Depend in $(link-libm).
291
9503345f
L
2922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
293
294 [BZ #14576]
295 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
296 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
297 Likewise.
298 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
299 Likewise.
300
ad35fc00
JM
3012012-09-13 Joseph Myers <joseph@codesourcery.com>
302
303 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
304 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
305 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
306 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
307
6c9b0f68
JM
3082012-09-12 Joseph Myers <joseph@codesourcery.com>
309
310 [BZ #14518]
311 * include/rounding-mode.h: New file.
312 * sysdeps/generic/get-rounding-mode.h: Likewise.
313 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
314 * stdlib/strtod_l.c: Include <rounding-mode.h>.
315 (MAX_VALUE): New macro.
316 (MIN_VALUE): Likewise.
317 (overflow_value): New function.
318 (underflow_value): Likewise.
319 (round_and_return): Use overflow_value and underflow_value to
320 determine return values in overflow and underflow cases. Use
321 round_away to determine rounding depending on rounding mode.
322 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
323 determine return values in overflow and underflow cases.
324 * stdlib/tst-strtod-round.c: Include <fenv.h>.
325 (struct test_results): New structure.
326 (struct test): Use struct test_results to store expected results
327 for all rounding modes.
328 (TEST): Include expected results for all rounding modes.
329 (test_in_one_mode): New function.
330 (do_test): Use test_in_one_mode to compute and check results.
331 Check results for all rounding modes.
332 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
333 $(link-libm).
334
19fcedd5
AM
3352012-12-09 Allan McRae <allan@archlinux.org>
336
337 * sysdeps/i386/fpu/libm-test-ulps: Update
338
8bbfd2f1
JM
3392012-09-11 Joseph Myers <joseph@codesourcery.com>
340
341 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
342 (_G_int32_t): Likewise.
343 (_G_uint16_t): Likewise.
344 (_G_uint32_t): Likewise.
345 (_G_HAVE_BOOL): Likewise.
346 (_G_HAVE_ATEXIT): Likewise.
347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
348 (_G_HAVE_IO_FILE_OPEN): Likewise.
349 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
350 (_G_int32_t): Likewise.
351 (_G_uint16_t): Likewise.
352 (_G_uint32_t): Likewise.
353 (_G_HAVE_BOOL): Likewise.
354 (_G_HAVE_ATEXIT): Likewise.
355 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
356 (_G_HAVE_IO_FILE_OPEN): Likewise.
357 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
358 (_G_int32_t): Likewise.
359 (_G_uint16_t): Likewise.
360 (_G_uint32_t): Likewise.
361 (_G_HAVE_BOOL): Likewise.
362 (_G_HAVE_ATEXIT): Likewise.
363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
364 (_G_HAVE_IO_FILE_OPEN): Likewise.
365
b1dc5912
L
3662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
367
368 * csu/libc-tls.c: Update copyright years.
369
0e886ef9
JM
3702012-09-10 Joseph Myers <joseph@codesourcery.com>
371
28361c5e
JM
372 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
373 [!_G_USING_THUNKS]: Remove conditional code.
374 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
375 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
376
0e886ef9
JM
377 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
378 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
379 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
380 (_G_VTABLE_LABEL_PREFIX): Likewise.
381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
382 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
384 (_G_VTABLE_LABEL_PREFIX): Likewise.
385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
386 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
388 (_G_VTABLE_LABEL_PREFIX): Likewise.
389 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
390
bcba7aa2
L
3912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
392
393 * libio/Makefile: Include ../Makeconfig before tests.
394 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
395 only if $(build-shared) is yes.
396
06585ee8
L
397 * iconv/gconv_db.c: Update copyright years.
398
80ccd52c
LD
3992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
400
401 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
402 unwind info if defined PIC. Fix special cases description.
403 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
404
405 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
406 DP_HI_MASK entry.
407 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
408
691bc9c1
L
4092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
410
3d9b46b3
L
411 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
412
de2139a9
L
413 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
414 is NULL.
415
5ca78dd0
L
416 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
417 (LDLIBS-tst-chk4): This.
418 (LDFLAGS-tst-chk5): Renamed to ...
419 (LDLIBS-tst-chk5): This.
420 (LDFLAGS-tst-chk6): Renamed to ...
421 (LDLIBS-tst-chk6): This.
422 (LDFLAGS-tst-lfschk4): Renamed to ...
423 (LDLIBS-tst-lfschk4): This.
424 (LDFLAGS-tst-lfschk5): Renamed to ...
425 (LDLIBS-tst-lfschk5): This.
426 (LDFLAGS-tst-lfschk6): Renamed to ...
427 (LDLIBS-tst-lfschk6): This.
428
691bc9c1
L
429 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
430 on $(common-objpfx)soversions.mk.
431
65cafb1c
JM
4322012-09-07 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #10014]
435 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
436 example host name.
437
c78ab094
SP
4382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
439
440 * malloc/arena.c (arena_get_retry): New function that gets
441 another arena for the caller to try its request on.
442 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
443 current arena cannot fulfill the request.
444 (__libc_memalign): Likewise.
445 (__libc_memalign): Likewise.
446 (__libc_pvalloc): Likewise.
447 (__libc_calloc): Likewise.
448
01f49f59
JT
4492012-09-05 John Tobey <john.tobey@gmail.com>
450
451 [BZ #13542]
452 * manual/arith.texi (Operations on Complex): Fix description
453 of carg branch cut.
454
4c23fed5
JM
4552012-09-06 Joseph Myers <joseph@codesourcery.com>
456
1d3c8572
JM
457 [BZ #10014]
458 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
459 host name.
460
4c23fed5
JM
461 [BZ #10038]
462 * manual/memory.texi (Memory): Make order of menu items match
463 order of sections.
464
04570aaa
L
4652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
466
467 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
468 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
469 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
470
b80af2f4
L
4712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
472
473 * csu/libc-tls.c (static_dtv): Renamed to ...
474 (_dl_static_dtv): This. Make it global.
475 (_dl_initial_dtv): Removed.
476 (__libc_setup_tls): Updated.
477 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
478 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
479 DL_INITIAL_DTV.
480
2abe9f15
PM
4812012-09-06 Petr Machata <pmachata@redhat.com>
482
483 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
484 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
485 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
486 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
487
0948c3af
L
4882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
489
490 [BZ #14545]
491 * csu/libc-tls.c (_dl_initial_dtv): New variable.
492 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
493 freeing dtv[-1].
494
a5055ad1
L
4952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
496
497 [BZ #14544]
498 * Makeconfig (link-static-before-libc): Replace $(+prector)
499 with $(+prectorT).
500 (link-static-after-libc): Replace $(+postctor) with
501 $(+postctorT).
502 (link-bounded): Replace $(+prector)/$(+postctor) with
503 $(+prectorT)/$(+postctorT).
504 (+prectorT): New macro.
505 (+postctorT): Likewise.
506
ed8c2ecd
JM
5072012-09-06 Joseph Myers <joseph@codesourcery.com>
508
509 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
510 (round_str): Handle values above the maximum for IBM long double
511 as inexact.
512 * stdlib/tst-strtod-round.c (tests): Regenerated.
513
14c996c8
AK
5142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
515
516 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
517 assembler flag.
518 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
519 zarch_nohighgprs around the zarch optimized routines.
520 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
521 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
523 for zarch.
524
430d6ce6
DM
5252012-09-05 David S. Miller <davem@davemloft.net>
526
527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
528
ff04dda4
DM
529 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
530 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
531 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
532 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
533 entries.
534
24d4e01b
AO
5352012-09-05 Alexandre Oliva <aoliva@redhat.com>
536
537 * malloc/arena.c: Fold copyright years.
538 * malloc/mcheck.c, malloc/memusage.c: Likewise.
539
61d58174
AO
5402012-09-05 Alexandre Oliva <aoliva@redhat.com>
541
542 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
543
20196a5e
AO
5442012-09-05 Alexandre Oliva <aoliva@redhat.com>
545
546 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
547
5c447383
AO
5482012-09-05 Alexandre Oliva <aoliva@redhat.com>
549
550 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
551 change internal state upon failure.
552
fad64255
AO
5532012-09-05 Alexandre Oliva <aoliva@redhat.com>
554
555 * malloc/mcheck.c (mcheck_check_all): Fix typo.
556 * malloc/memusage.c (mmap): Likewise.
557 (mmap64, mremap): Likewise. Adjust name in comment.
558
1ffb8c90
SP
5592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
560
561 * libio/fileops.c: Fix typos in comments.
562 * libio/oldfileops.c: Likewise.
563 * libio/wfileops.c: Likewise.
564
6ef9cc37
SP
5652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 [BZ #1349]
568 * malloc/Makefile (tests): Add tst-malloc-usable test case.
569 (tst-malloc-usable-ENV): Set environment for test case.
570 * malloc/hooks.c (malloc_check_get_size): New function to get
571 requested size.
572 * malloc/malloc.c (musable): Use malloc_check_get_size.
573 * malloc/tst-malloc-usable.c: New test case.
574
4d038ae3
AS
5752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
576
577 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
578
c4e85184
AM
5792012-09-05 Allan McRae <allan@archlinux.org>
580
b9dafc56 581 [BZ #13966]
c4e85184
AM
582 * configure.in (CXX_SYSINCLUDES): Use compiler output to
583 determine header location.
584 * configure: Regenerated.
585
e1343020
AS
5862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
587
588 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
589 float format.
590 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
591 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
592 format.
e1343020
AS
593 (test): Regenerate.
594
0a9f1987
DM
5952012-09-04 David S. Miller <davem@davemloft.net>
596
597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
599 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
600
29237804
FW
6012012-09-04 Florian Weimer <fweimer@redhat.com>
602
603 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
604 failures.
605
edb3cb88
FW
606 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
607
60160d83
JM
6082012-09-04 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #9914]
611 * libio/iogetdelim.c: Include <limits.h>.
612 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
613 + len + 1 would overflow.
614
bcd6c8dc
AJ
6152012-09-03 Andreas Jaeger <aj@suse.de>
616
617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
618 * sysdeps/i386/fpu/libm-test-ulps: Update.
619
4ffffbd2
LD
6202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
621
622 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
623 Add s_sinf-sse2, s_conf-sse2.
624
625 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
626 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
627 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
628 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
629
630 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
631 for using routine as __sinf_ia32.
632 Use macro for function declaration and weak_alias.
633 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
634 for using routine as __cosf_ia32.
635 Use macro for function declaration and weak_alias.
636
637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
638 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
639
640 * sysdeps/x86_64/fpu/s_sinf.S: New file.
641 * sysdeps/x86_64/fpu/s_cosf.S: New file.
642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
643
644 * math/libm-test.inc (cos_test): Add more test cases.
645 (sin_test): Likewise.
646 (sincos_test): Likewise.
647
511fa286
AK
6482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
649
650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
651 (IFUNC_RESOLVE): Make pointers to the specialized implementations
652 hidden.
653 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
654
5f30cfec
L
6552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
656
657 [BZ #14538]
658 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
659 first element of the GOT.
660 (elf_machine_load_address): Return the difference between
661 the runtime address of _DYNAMIC and elf_machine_dynamic ().
662
0786794f
AM
6632012-09-01 Allan McRae <allan@archlinux.org>
664
5f30cfec
L
665 [BZ #13412]
666 * configure.in (AWK): Require gawk version 3.0 or later.
667 * configure: Regenerated.
0786794f 668
26889eac
JM
6692012-09-01 Joseph Myers <joseph@codesourcery.com>
670
671 * sysdeps/unix/sysv/linux/kernel-features.h
672 (__ASSUME_POSIX_CPU_TIMERS): Remove.
673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
674 [__NR_clock_getres]: Make code unconditional.
675 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
676 (clock_getcpuclockid): Remove code left unreachable by removal of
677 conditionals.
678 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
679 code unconditional.
680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
682 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
683 Make code unconditional.
684 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/clock_settime.c
687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
688 conditional code.
689 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
691
d22e28b0
L
6922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
693
694 [BZ #14476]
695 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
696 scripts/test-installation.pl.
697
698 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
699 and $ld_so_version if it is set.
700
050af9c4
SP
7012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
702
703 [BZ #14516]
704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
705 failure if reading from procfs failed.
706 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
707
ad845c0b
JM
7082012-08-27 Joseph Myers <joseph@codesourcery.com>
709
710 * sysdeps/unix/sysv/linux/kernel-features.h
711 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
712 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
713 Remove conditional code.
714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
715 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
716 Remove conditional code.
717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
718 * sysdeps/unix/sysv/linux/i386/fxstat.c
719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/i386/fxstatat.c
722 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
724 * sysdeps/unix/sysv/linux/i386/lxstat.c
725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
727 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
728 Remove conditional code.
729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
731 Remove conditional code.
732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
733 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
734 <kernel-features.h>.
735 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
736 Remove.
737 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
738 Remove conditional code.
739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
740 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
741 Remove conditional.
742
5dbf56af
MF
7432012-08-27 Mike Frysinger <vapier@gentoo.org>
744
745 [BZ #5400]
746 * NEWS: Add fixed bug number.
747
d6e70f43
JM
7482012-08-27 Joseph Myers <joseph@codesourcery.com>
749
7efb4737
JM
750 [BZ #14519]
751 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
752 underflowing exponent in case of negative sign.
753 * stdlib/tst-strtod-round-data: Add more tests.
754 * stdlib/tst-strtod-round.c (tests): Regenerated.
755
af92131a
JM
756 [BZ #3479]
757 * stdlib/strtod_l.c (NDIG): Remove.
758 (HEXNDIG): Likewise.
759 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
760 smallest representable value.
761 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
762 lie within an exact representation of 1/2 ulp of the result.
763 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
764 unconditionally.
765 (TENS_P9_IDX): Define unconditionally.
766 (TENS_P9_SIZE): Likewise.
767 (TENS_P10_IDX): Likewise.
768 (TENS_P10_SIZE): Likewise.
769 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
770 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
772 entries for 10^2^13 and 10^2^14.
773 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
774 (TENS_P13_IDX): Define.
775 (TENS_P13_SIZE): Likewise.
776 (TENS_P14_IDX): Likewise.
777 (TENS_P14_SIZE): Likewise.
778 (_fpioconst_pow10): Change array size to
779 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
780 unconditional.
781 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
782 1024]: Add entries for 10^2^13 and 10^2^14.
783 [LAST_POW10 > _LAST_POW10]: Remove #error.
784 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
785 (_fpioconst_pow10): Change array size to
786 FPIOCONST_POW10_ARRAY_SIZE.
787 * stdlib/gen-fpioconst.c: New file.
788 * stdlib/gen-tst-strtod-round.c: Likewise.
789 * stdlib/tst-strtod-round-data: Likewise.
790 * stdlib/tst-strtod-round.c: Likewise.
791 * stdlib/Makefile (tests): Add tst-strtod-round.
792
d6e70f43
JM
793 [BZ #14459]
794 * stdlib/strtod_l.c: Include <stdint.h>.
795 (NDEBUG): Do not define.
796 (round_and_return): Change EXPONENT parameter to type intmax_t.
797 Rearrange calculations to avoid internal overflow possibilities.
798 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
799 Rearrange calculations to avoid internal overflow possibilities.
800 Assert that number fits inside MPNSIZE limbs.
801 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
802 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
803 calculations and add assertions to avoid internal overflow
804 possibilities. Add casts to avoid signed/unsigned operations.
805 * stdlib/tst-strtod-overflow.c: New file.
806 * stdlib/Makefile (tests): Add tst-strtod-overflow.
807
1f529f7d
MP
8082012-08-25 Marek Polacek <polacek@redhat.com>
809
810 * time/time.h: Fix some typos in comments.
811
59a629f1
RM
8122012-08-23 Roland McGrath <roland@hack.frob.com>
813
814 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
815 * posix/tst-rfc3484-2.c: Likewise.
816 * posix/tst-rfc3484-3.c: Likewise.
817
d3bafbc9
SM
8182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
819
820 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
821 (EF_ARM_ABI_FLOAT_HARD): Likewise.
822
4efcc022
JM
8232012-08-23 Joseph Myers <joseph@codesourcery.com>
824
825 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
826 #include of fxstatat64.c.
827
3cc3ef96
RM
8282012-08-22 Roland McGrath <roland@hack.frob.com>
829
f04e2132
RM
830 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
831 * shadow/getspent_r.c: Likewise.
832 * shadow/getspnam.c: Likewise.
833 * shadow/getspnam_r.c: Likewise.
834 * gshadow/getsgent.c: Likewise.
835 * gshadow/getsgent_r.c: Likewise.
836 * gshadow/getsgnam.c: Likewise.
837 * gshadow/getsgnam_r.c: Likewise.
838 * inet/getnetbyad.c: Likewise.
839 * inet/getnetbyad_r.c: Likewise.
840 * inet/getnetbynm.c: Likewise.
841 * inet/getnetbynm_r.c: Likewise.
842 * inet/getnetent.c: Likewise.
843 * inet/getnetent_r.c: Likewise.
844 * inet/getproto.c: Likewise.
845 * inet/getproto_r.c: Likewise.
846 * inet/getprtent.c: Likewise.
847 * inet/getprtent_r.c: Likewise.
848 * inet/getprtname.c: Likewise.
849 * inet/getprtname_r.c: Likewise.
850 * inet/getrpcbyname.c: Likewise.
851 * inet/getrpcbyname_r.c: Likewise.
852 * inet/getrpcbynumber.c: Likewise.
853 * inet/getrpcbynumber_r.c: Likewise.
854 * inet/getrpcent.c: Likewise.
855 * inet/getrpcent_r.c: Likewise.
856 * inet/getaliasent.c: Likewise.
857 * inet/getaliasent_r.c: Likewise.
858 * inet/getaliasname.c: Likewise.
859 * inet/getaliasname_r.c: Likewise.
860 * nscd/getgrgid_r.c: Likewise.
861 * nscd/getgrnam_r.c: Likewise.
862 * nscd/gethstbyad_r.c: Likewise.
863 * nscd/gethstbynm3_r.c: Likewise.
864 * nscd/getpwnam_r.c: Likewise.
865 * nscd/getpwuid_r.c: Likewise.
866 * nscd/getsrvbynm_r.c: Likewise.
867 * nscd/getsrvbypt_r.c: Likewise.
868 * nscd/gai.c: Likewise.
869
c53d909c
RM
870 * configure.in (build_nscd): New substituted variable, set
871 by --disable-build-nscd and defaults to $use_nscd.
872 * configure: Regenerated.
873 * config.make.in (build-nscd): New substituted variable.
874 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
875 Change conditional to require [$(build-nscd) = yes] as well.
876 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
877
3cc3ef96
RM
878 [BZ# 13696]
879 * configure.in (use_nscd): New substituted variable, set by
880 --disable-nscd. If enabled, define USE_NSCD.
881 * configure: Regenerated.
882 * config.h.in: Add USE_NSCD.
883 * config.make.in (use-nscd): New substituted variable.
884 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
885 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
886 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
887 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
888 (CFLAGS-getgrnam_r.c): Likewise.
889 (CFLAGS-initgroups.c): Likewise.
890 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
891 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
892 Variables removed.
893 * inet/getnetgrent_r.c
894 (nscd_setnetgrent): New function, broken out of ...
895 (setnetgrent): ... here. Call it.
896 (innetgr): Conditionalize nscd bits on [USE_NSCD].
897 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
898 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
899 * nscd/Makefile (routines, aux): Move definitions after include of
900 Makeconfig. Conditionalize on [$(use-nscd) != no].
901 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
902 Conditionalize on [USE_NSCD].
903 (is_nscd, nscd_init_cb): Likewise.
904 (nss_load_library): Conditionalize init callback on [USE_NSCD].
905 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
906 * nss/nss_db/db-init.c: Likewise.
907 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
908 [USE_NSCD].
909 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
910 (make_request): Use it.
911 (cache_valid_p): New function.
912 (__check_pf): Use it.
913 * NEWS: Add item for --disable-nscd.
914
07e51550
DL
9152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
916
917 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
918 to support sed >= 4.2.1-20-ga9bf076.
919 * configure: Regenerated.
920
35a5b08b
RM
9212012-08-22 Roland McGrath <roland@hack.frob.com>
922
923 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
924 Conditionalize whole body on [IREL].
925
8479f23a
JL
9262012-08-22 Jeff Law <law@redhat.com>
927
928 [BZ #14505]
929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
930 if the family is PF_UNSPEC.
931
48da0b21
MF
9322012-08-22 Mike Frysinger <vapier@gentoo.org>
933
934 * Makerules (lib-version): Rename from V.
935 (install-lib-nosubdir): Change V to lib-version.
936
15d0da8c
WS
9372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
938
939 [BZ #14252]
940 * powerpc32/power6/wcschr.c: New file.
941 * powerpc32/power6/wcscpy.c: New file.
942 * powerpc32/power6/wcsrchr.c: New file.
943 * powerpc64/power6/wcschr.c: New file.
944 * powerpc64/power6/wcscpy.c: New file.
945 * powerpc64/power6/wcsrchr.c: New file.
946
bcca0895
MK
9472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
948
949 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
950 (two_way_short_needle): Use it.
5a4aaa33
RM
951 * string/strstr.c (AVAILABLE1_USES_J): Define.
952 * string/strcasestr.c: Likewise.
99677e57
MK
953
954 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
955 array references.
956 * string/strcasestr.c (TOLOWER): Make side-effect safe.
957
400726de
MK
958 [BZ #11607]
959 * NEWS: Add an entry.
960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
961 define their defaults.
962 (two_way_short_needle): Detect end-of-string on-the-fly.
963 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
964 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
965 * string/bug-strcasestr1.c: New test.
966 * string/Makefile: Run it.
967
20a71f2c
MK
9682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
969
970 [BZ #11607]
971 * string/str-two-way.h (two_way_short_needle): Optimize matching of
972 the first character.
973
21ad0558
RM
9742012-08-21 Roland McGrath <roland@hack.frob.com>
975
976 * csu/elf-init.c (__libc_csu_irel): Function removed.
977 * csu/libc-start.c (apply_irel): New function.
978 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
979
0e1d9911
JM
9802012-08-21 Joseph Myers <joseph@codesourcery.com>
981
982 * sysdeps/unix/sysv/linux/kernel-features.h
983 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
984 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
985 <kernel-features.h>.
986 [__NR_fadvise64_64]: Make code unconditional.
987 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
988 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
989 !__NR_fadvise64_64)]: Likewise.
990 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
991 !__NR_fadvise64_64))]: Likewise.
992 [__NR_fadvise64]: Make code unconditional.
993 [!__NR_fadvise64]: Remove conditional code.
994 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
995 <kernel-features.h>.
996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
997 unconditional.
998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
999 conditional code.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1001 not include <kernel-features.h>.
1002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1003 unconditional.
1004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1005 conditional code.
1006 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1007 include <kernel-features.h>.
1008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1009 unconditional.
1010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1011 conditional code.
1012
14a50c9d
WS
10132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1014
1015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1016 slight instruction rearrangements per scrollpipe analysis.
1017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1018
c0f4faf0
RM
10192012-08-20 Roland McGrath <roland@hack.frob.com>
1020
696da859
RM
1021 * manual/syslog.texi (syslog; vsyslog, closelog):
1022 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1023 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1024
c0f4faf0
RM
1025 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1026 DSOCAPS to match condition on defining it.
1027
348363b2
JM
10282012-08-20 Joseph Myers <joseph@codesourcery.com>
1029
a35cbf28
JM
1030 * sysdeps/unix/sysv/linux/kernel-features.h
1031 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1036 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1037 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1041
445f7ecd
JM
1042 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1043 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1044
348363b2
JM
1045 * sysdeps/unix/sysv/linux/kernel-features.h
1046 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1047 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1048 unconditional.
1049 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1050 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1051 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1052 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1053 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1054 Make code unconditional.
1055 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1056 (__mmap64) [!__NR_mmap2]: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1061 [__NR_mmap2]: Make code unconditional.
1062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1063 (__mmap64) [!__NR_mmap2]: Likewise.
1064
bc5bc0e5
AK
10652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1066
1067 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1068
88d506de
AJ
10692012-08-18 Andreas Jaeger <aj@suse.de>
1070
1071 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1072
493387d2
MF
10732012-08-18 Mike Frysinger <vapier@gentoo.org>
1074
1075 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1076 * include/unistd.h (__have_sock_cloexec): Likewise.
1077 (__have_pipe2): Likewise.
1078 (__have_dup3): Likewise.
1079
a277af22
MF
10802012-08-18 Mike Frysinger <vapier@gentoo.org>
1081
1082 [BZ #9685]
1083 * include/unistd.h (__have_pipe2): Change define into an extern int.
1084 (__have_dup3): Likewise.
1085 * socket/have_sock_cloexec.c: Include fcntl.h.
1086 (__have_pipe2): New variable.
1087 (__have_dup3): Likewise.
1088
fdab8fd3
MF
10892012-08-17 Mike Frysinger <vapier@gentoo.org>
1090
1091 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1092
31035e80
MP
10932012-08-17 Marek Polacek <polacek@redhat.com>
1094
1095 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1096 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1097
3bd9e993
RM
10982012-08-17 Roland McGrath <roland@hack.frob.com>
1099
c91c505f
RM
1100 * configure.in: Add AC_SUBST for sysheaders.
1101 * configure: Regenerated.
1102 * config.make.in (sysheaders): New substituted variable.
1103
7c6f9d53
RM
1104 * sysdeps/unix/mkfifo.c: Moved ...
1105 * sysdeps/posix/mkfifo.c: ... here.
1106 * sysdeps/unix/mkfifoat.c: Moved ...
1107 * sysdeps/posix/mkfifoat.c: ... here.
1108
1109 * sysdeps/unix/utime.c: Moved ...
1110 * sysdeps/posix/utime.c: ... here.
1111
1112 * sysdeps/unix/time.c: Moved ...
1113 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1114 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1116
1117 * sysdeps/unix/nice.c: Moved ...
1118 * sysdeps/posix/nice.c: ... here.
1119
1120 * sysdeps/unix/alarm.c: Moved ...
1121 * sysdeps/posix/alarm.c: ... here.
1122
3bd9e993
RM
1123 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1124
d1f09384
JL
11252012-08-17 Jeff Law <law@redhat.com>
1126
1127 * intl/Makefile (codeset_mo): New variable.
1128 ($(codeset_mo)): New target.
1129 (tst-codeset.out): Depend on that. Remove explicit rule.
1130 (tst-gettext3.out, tst-gettext5.out): Likewise.
1131 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1132 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1133 * intl/tst-codeset.sh: Remove.
1134 * intl/tst-gettext3.sh: Likewise.
1135 * intl/tst-gettext5.sh: Likewise.
1136
2ae1ae5c
RM
11372012-08-17 Roland McGrath <roland@hack.frob.com>
1138
c31fdb83
RM
1139 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1140 * sysdeps/unix/syscalls.list: ... here.
1141
a0844057
RM
1142 * sysdeps/posix/getaddrinfo.c
1143 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1144 (gaiconf_init, gaiconf_reload): Use them.
1145 [!_STATBUF_ST_NSEC]
1146 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1147 Define using time_t rather than struct timespec.
1148
750c1f2a
RM
1149 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1150 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1151 Macros removed.
1152 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1153 [!NO_THREADS].
1154 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1155 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1156 Likewise.
1157
2ae1ae5c
RM
1158 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1159 __libc_cleanup_push argument.
1160
e66a42f5
RM
1161 * bits/param.h: New file.
1162 * misc/sys/param.h: New file.
1163 * include/sys/param.h: New file.
1164 * misc/Makefile (headers): Add bits/param.h.
1165 * sysdeps/generic/sys/param.h: File removed.
1166 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1167 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1168 * sysdeps/mach/hurd/bits/param.h: New file.
1169 * sysdeps/mach/hurd/sys/param.h: New file.
1170
b7c08a66
RM
1171 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1172 last change.
1173
b2e1c562
RM
1174 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1175 [_IO_MTSAFE_IO].
1176 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1177 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1178 New macros.
1179
c75ccd4c
RM
1180 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1181 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1182 rather than -D_IO_MTSAFE_IO conditionally.
1183 * stdio-common/Makefile (CPPFLAGS): Likewise.
1184 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1185 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1186 Use $(libio-mtsafe).
1187 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1188 of -D_IO_MTSAFE_IO.
1189 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1190 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1191 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1192 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1193 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1194 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1195 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1196 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1197 (CFLAGS-fread_u_chk.c): Likewise.
1198 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1199 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1200 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1201 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1202 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1203 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1204 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1205 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1206 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1207
1208 * libio/Makefile: Test [$(libc-reentrant) = yes]
1209 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1210
1211 * Makeconfig
1212 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1213 * sysdeps/pthread/configure: File removed.
1214 * sysdeps/pthread/Makeconfig: New file.
1215 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1216 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1217
d9195db8
GB
12182012-08-16 Gary Benson <gbenson@redhat.com>
1219
1220 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1221 unmapping the first object in a namespace.
1222
86466cd9
RM
12232012-08-16 Roland McGrath <roland@hack.frob.com>
1224
1225 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1226 (__internal_setnetgrent): ... this. Add internal_function to
1227 definition. Add libc_hidden_def.
1228 (setnetgrent): Update caller.
1229 (internal_endnetgrent): Renamed to ...
1230 (__internal_endnetgrent): ... this. Add internal_function to
1231 definition. Add libc_hidden_def.
1232 (endnetgrent): Update caller.
1233 (internal_getnetgrent_r): Renamed to ...
1234 (__internal_getnetgrent_r): ... this. Add internal_function to
1235 definition. Add libc_hidden_def.
1236 (__getnetgrent_r): Update caller.
1237 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1238
c3c8283c
JM
12392012-08-16 Joseph Myers <joseph@codesourcery.com>
1240
1241 * stdlib/longlong.h: Update from GCC.
1242
db1ee0a8
RM
12432012-08-16 Roland McGrath <roland@hack.frob.com>
1244
1245 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1246 on _QL, which is set by umul_ppmm but never used.
1247 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1248 variables, which are set by GMP macros but never used.
1249 * stdio-common/_itowa.c (_itowa): Likewise.
1250 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1251 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1252
30f69637
CD
12532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1254
1255 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1256 struct La_sh_regs is not constant.
1257 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1258 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1259 and struct La_sparc64_regs are not constant.
1260
93a78ac4
JM
12612012-08-16 Joseph Myers <joseph@codesourcery.com>
1262
1263 * sysdeps/unix/sysv/linux/kernel-features.h
1264 (__ASSUME_POSIX_TIMERS): Remove.
1265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1267 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1268 Make code unconditional.
1269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1270 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1271 Make code unconditional.
1272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1273 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1274 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1276 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1277 Make code unconditional.
1278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1279 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1280 (__libc_missing_posix_timers): Remove.
1281
dd924cd7
RM
12822012-08-15 Roland McGrath <roland@hack.frob.com>
1283
4b4f2771
RM
1284 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1285 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1286
601c888b
RM
1287 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1288
176790a7
RM
1289 * elf/dl-sym.c: Include <stdlib.h>.
1290
329bc018
RM
1291 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1292 constants, which avoids warnings in 32-bit builds.
1293
e04e272d
RM
1294 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1295 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1296
952bf94a
RM
1297 * misc/lseek.c: File moved to ...
1298 * io/lseek.c: ... here.
1299
7c99b50a
RM
1300 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1301
dd924cd7
RM
1302 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1303 shifting LEN more than 31 bits at once.
1304
b3f479a8
LD
13052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1306
1307 [BZ #14195]
8c4ae0d4
RM
1308 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1309 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1310 * string/test-strncasecmp.c (check1): Renamed to...
1311 (bz12205): ...this.
1312 (bz14195): Add new testcase for two empty input strings and N > 0.
1313 (test_main): Call new testcase, adapt for renamed function.
1314
9c55864e
AJ
13152012-08-15 Andreas Jaeger <aj@suse.de>
1316
1317 [BZ #14090]
1318 * crypt/md5test2.c: New test, based on test supplied by Serge
1319 Belyshev <belyshev@depni.sinp.msu.ru>.
1320 * crypt/Makefile (xtests): Add md5test-giant..
1321 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1322
02dcb6c5
PE
13232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1324
1325 [BZ #14090]
1326 * crypt/md5.c (md5_process_block): Don't assume the buffer
1327 length is less than 2**32.
1328 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1329 length is less than 2**64.
1330
a3f95dcc
RM
13312012-08-15 Roland McGrath <roland@hack.frob.com>
1332
be75d758
RM
1333 * string/str-two-way.h: Include <sys/param.h>.
1334 (MAX): Macro removed.
1335
7312ca90
RM
1336 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1337 Move #define and #undef of memmove to just before and after
1338 including <string.h>.
1339
9a0a5486
RM
1340 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1341 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1342 and after including <string.h>. Move declarations of
1343 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1344 to before #include "string/memmove.c".
1345
67cc348d
RM
1346 * include/dirent.h: Declare __getdirentries.
1347
a3f95dcc
RM
1348 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1349 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1350
ca98e171
MF
13512012-08-14 Mike Frysinger <vapier@gentoo.org>
1352
1353 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1354 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1355 * sysdeps/i386/configure: Regenerated.
1356 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1357 STABS_CURRENT_FILE, and STABS_FUN.
1358 (END): Remove call to STABS_FUN_END.
1359 (STABS_CURRENT_FILE1): Delete.
1360 (STABS_CURRENT_FILE): Likewise.
1361 (STABS_FUN): Likewise.
1362 (STABS_FUN_END): Likewise.
1363 (STABS_FUN2): Likewise.
1364 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1365 * sysdeps/x86_64/configure: Regenerated.
1366
5908bf46
RM
13672012-08-14 Roland McGrath <roland@hack.frob.com>
1368
1369 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1370 * elf/dl-lookup.c: Likewise.
5908bf46 1371
f2c05b9e
JM
13722012-08-14 Joseph Myers <joseph@codesourcery.com>
1373
1374 * sysdeps/unix/sysv/linux/kernel-features.h
1375 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1376 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1377 unconditionally.
1378 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1379 unconditionally.
1380 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1381 condition on __ASSUME_CLONE_THREAD_FLAGS.
1382
e11f5155
AJ
13832012-08-14 Andreas Jaeger <aj@suse.de>
1384
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1386
51a9ba86
MK
13872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1388
2fdd4f78
AJ
1389 * include/atomic.h (atomic_exchange_and_add): Split into ...
1390 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1391 New atomic macros.
51a9ba86 1392
ba6cba9e
MT
13932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1394
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1396
42443a47
JL
13972012-08-13 Jeff Law <law@redhat.com>
1398
1399 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1400 null byte in the output string.
1401
121dce05
JM
14022012-08-10 Joseph Myers <joseph@codesourcery.com>
1403
1404 * sysdeps/unix/sysv/linux/kernel-features.h
1405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1406 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1407 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1409 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1410 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1411 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1412
bf51f568
JL
14132012-08-09 Jeff Law <law@redhat.com>
1414
1415 [BZ #13939]
1416 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1417 When avoid_arena is set, don't retry in the that arena. Pick the
1418 next one, whatever it might be.
1419 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1420 (arena_lock): Pass in new parameter to arena_get2.
1421 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1422 arena_get2.
1423 (__libc_malloc): Unify retrying after main arena failure with
1424 __libc_memalign version.
1425 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1426
f85fa270
L
14272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 [BZ #14166]
1430 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1431 to __redirect_strstr.
1432 (__strstr_sse42): Use typeof __redirect_strstr.
1433 (__strstr_ia32): Likewise.
1434 (__libc_strstr): New prototype.
1435 (strstr): Renamed to ...
1436 (__libc_strstr): This.
1437 (strstr): New strong alias of __libc_strstr.
1438 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1439 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1440 __redirect_time.
1441 Include <time.h>.
1442 (__libc_time): New prototype.
1443 (time_ifunc): Replace time with __libc_time.
1444 (time): New strong alias and hidden definition of __libc_time.
1445 (__GI_time): Remove strong alias.
1446 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1447 Include <stddef.h>.
1448 (memmove): Redefined to __redirect_memmove.
1449 (__memmove_sse2): Use typeof __redirect_memmove.
1450 (__memmove_ssse3): Likewise.
1451 (__memmove_ssse3_back): Likewise.
1452 (__libc_memmove): New prototype.
1453 (memmove): Renamed to ...
1454 (__libc_memmove): This.
1455 (memmove): New strong alias of __libc_memmove.
1456
33b4a91e
MS
14572012-08-08 Mark Salter <msalter@redhat.com>
1458
1459 * elf/elf.h
1460 (R_MN10300_TLS_GD): Define.
1461 (R_MN10300_TLS_LD): Likewise.
1462 (R_MN10300_TLS_LDO): Likewise.
1463 (R_MN10300_TLS_GOTIE): Likewise.
1464 (R_MN10300_TLS_IE): Likewise.
1465 (R_MN10300_TLS_LE): Likewise.
1466 (R_MN10300_TLS_DTPMOD): Likewise.
1467 (R_MN10300_TLS_DTPOFF): Likewise.
1468 (R_MN10300_TLS_TPOFF): Likewise.
1469 (R_MN10300_SYM_DIFF): Likewise.
1470 (R_MN10300_ALIGN): Likewise.
1471 (R_MN10300_NUM): Update.
1472
b36137f1
JM
14732012-08-08 Joseph Myers <joseph@codesourcery.com>
1474
1475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1476 Remove.
1477
cdd915fd
RM
14782012-08-08 Roland McGrath <roland@hack.frob.com>
1479
a2433aac
RM
1480 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1481
cdd915fd
RM
1482 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1483 sysdeps/unix -> sysdeps/posix move.
1484 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1485
bf9b740a
AM
14862012-08-07 Allan McRae <allan@archlinux.org>
1487
1488 [BZ #14303]
1489 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1490 (SUNOS_CPP): Likewise.
1491 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1492 not found.
1493 (open_input): Call CPP using execvp.
1494
93df14ee
JM
14952012-08-07 Joseph Myers <joseph@codesourcery.com>
1496
1497 * sysdeps/unix/sysv/linux/kernel-features.h
1498 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1499 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1500 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1501 (__ASSUME_WAITID_SYSCALL): Likewise.
1502 * sysdeps/unix/sysv/linux/dl-execstack.c
1503 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1504 code unconditional.
1505 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1506 conditional code.
1507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1508 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1509 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1510 code.
1511 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1512 unconditional.
1513 [__ASSUME_WAITID_SYSCALL]: Likewise.
1514 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1515
d34689de
RM
15162012-08-07 Roland McGrath <roland@hack.frob.com>
1517
a281decc
RM
1518 * sysdeps/unix/closedir.c: Renamed to ...
1519 * sysdeps/posix/closedir.c: ... here.
1520 * sysdeps/unix/dirfd.c: Renamed to ...
1521 * sysdeps/posix/dirfd.c: ... here.
1522 * sysdeps/unix/dirstream.h: Renamed to ...
1523 * sysdeps/posix/dirstream.h: ... here.
1524 * sysdeps/unix/fdopendir.c: Renamed to ...
1525 * sysdeps/posix/fdopendir.c: ... here.
1526 * sysdeps/unix/opendir.c: Renamed to ...
1527 * sysdeps/posix/opendir.c: ... here.
1528 * sysdeps/unix/readdir.c: Renamed to ...
1529 * sysdeps/posix/readdir.c: ... here.
1530 * sysdeps/unix/readdir_r.c: Renamed to ...
1531 * sysdeps/posix/readdir_r.c: ... here.
1532 * sysdeps/unix/rewinddir.c: Renamed to ...
1533 * sysdeps/posix/rewinddir.c: ... here.
1534 * sysdeps/unix/seekdir.c: Renamed to ...
1535 * sysdeps/posix/seekdir.c: ... here.
1536 * sysdeps/unix/telldir.c: Renamed to ...
1537 * sysdeps/posix/telldir.c: ... here.
1538 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1539 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1540 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1541 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1542
22895b47
RM
1543 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1544 * bits/fcntl.h: ... here.
1545
707a53b6
RM
1546 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1547 not 0.
1548 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1549 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1550 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1551 (struct flock): Move l_start, l_len to the beginning.
1552 Use __pid_t for l_pid.
1553 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1554 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1555 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1556 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1557 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1558 [__USE_LARGEFILE64] (struct flock64): New type.
1559 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1560
f0bd3e25
RM
1561 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1562 * bits/dirent.h: ... here.
1563
d34689de
RM
1564 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1565 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1566
6dad2c06
JM
15672012-08-07 Joseph Myers <joseph@codesourcery.com>
1568
1569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1570 Change from 2.6.0 to 2.6.16.
1571 * sysdeps/unix/sysv/linux/configure: Regenerated.
1572 * sysdeps/unix/sysv/linux/kernel-features.h
1573 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1574 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1575 version.
1576 (__ASSUME_UTIMES): Likewise.
1577 (__ASSUME_CLONE_STOPPED): Remove.
1578 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1579 architectures, not kernel version.
1580 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1583 (__ASSUME_WAITID_SYSCALL): Likewise.
1584 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1585 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1586 * README: State 2.6.16 as minimum Linux kernel version. Do not
1587 refer to older versions.
1588
03af9520
RM
15892012-08-06 Roland McGrath <roland@hack.frob.com>
1590
8e49df1d
RM
1591 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1592 Define alphasort64 as an alias.
1593 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1594 Define versionsort64 as an alias.
1595 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1596 Define scandir64 as an alias.
1597 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1598 Define scandirat64 as an alias.
1599 * dirent/alphasort64.c (alphasort64):
1600 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1601 * dirent/versionsort64.c: Likewise.
1602 * dirent/scandir64.c: Likewise.
1603 * dirent/scandirat64.c: Likewise.
1604 * sysdeps/wordsize-64/alphasort.c: File removed.
1605 * sysdeps/wordsize-64/alphasort64.c: File removed.
1606 * sysdeps/wordsize-64/scandir.c: File removed.
1607 * sysdeps/wordsize-64/scandir64.c: File removed.
1608 * sysdeps/wordsize-64/scandirat.c: File removed.
1609 * sysdeps/wordsize-64/scandirat64.c: File removed.
1610 * sysdeps/wordsize-64/versionsort.c: File removed.
1611 * sysdeps/wordsize-64/versionsort64.c: File removed.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1620
1621 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1623 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1625 [defined __arch64__ || defined __sparcv9]
1626 (__INO_T_MATCHES_INO64_T): New macro.
1627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1628 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1629 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1630 * sysdeps/unix/sysv/linux/bits/dirent.h
1631 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1632 (_DIRENT_MATCHES_DIRENT64): New macro.
1633
03af9520
RM
1634 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1635 Define lockf64 as an alias.
1636 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1637 Define fseeko64 as an alias.
1638 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1639 Define ftello64 as an alias.
1640 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1641 Define _IO_fgetpos64 and fgetpos64 as aliases.
1642 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1643 Define _IO_fsetpos64 and fsetpos64 as aliases.
1644 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1645 Conditionalize body on this.
1646 * libio/fseeko64.c: Likewise.
1647 * libio/ftello64.c: Likewise.
1648 * libio/iofgetpos64.c: Likewise.
1649 * libio/iofsetpos64.c: Likewise.
1650 * sysdeps/wordsize-64/lockf.c: File removed.
1651 * sysdeps/wordsize-64/lockf64.c: File removed.
1652 * sysdeps/wordsize-64/fseeko.c: File removed.
1653 * sysdeps/wordsize-64/fseeko64.c: File removed.
1654 * sysdeps/wordsize-64/ftello.c: File removed.
1655 * sysdeps/wordsize-64/ftello64.c: File removed.
1656 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1657 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1658 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1659 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1670
1671 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1673 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1675 [defined __arch64__ || defined __sparcv9]
1676 (__OFF_T_MATCHES_OFF64_T): New macro.
1677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1678 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1680 (__OFF_T_MATCHES_OFF64_T): New macro.
1681
c5757acd
L
16822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * stdlib/secure-getenv.c (__secure_getenv): Replace
1685 GLIBC_2_16 with GLIBC_2_17.
1686
3a31811e
L
16872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1691
faa2bccb
DM
16922012-08-03 David S. Miller <davem@davemloft.net>
1693
1694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1695
85fe1997
JM
16962012-08-03 Joseph Myers <joseph@codesourcery.com>
1697
1698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1699 Remove.
1700 (__ASSUME_CORRECT_SI_PID): Likewise.
1701 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1702 (__ASSUME_TMPFS_NAME): Likewise.
1703 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1704 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1705 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1706 (HAVE_AUX_SECURE): Make definition unconditional.
1707 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1708 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1709
4f75b7a0
RM
17102012-08-03 Roland McGrath <roland@hack.frob.com>
1711
1712 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1713 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1714 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1715 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1716 __eloop_threshold instead of SYMLOOP_MAX.
1717
1718 * sysdeps/generic/eloop-threshold.h: New file.
1719 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1720 of MAXSYMLINKS.
1721 * elf/chroot_canon.c (chroot_canon): Likewise.
1722
7aab07e4
JM
17232012-08-03 Joseph Myers <joseph@codesourcery.com>
1724
1725 [BZ #13717]
1726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1727 Change to 2.6.0 everywhere.
1728 * sysdeps/unix/sysv/linux/configure: Regenerated.
1729 * sysdeps/unix/sysv/linux/kernel-features.h
1730 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1731 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1732 kernel versions.
1733 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1734 (__ASSUME_FUTEX_REQUEUE): Remove.
1735 (__ASSUME_STATFS64): Define unconditionally.
1736 (__ASSUME_AT_SECURE): Likewise.
1737 (__ASSUME_CORRECT_SI_PID): Likewise.
1738 (__ASSUME_TGKILL): Define without depending on kernel version for
1739 i386.
1740 (__ASSUME_UTIMES): Likewise.
1741 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1742 kernel version.
1743 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1744 (__ASSUME_TMPFS_NAME): Likewise.
1745 * README: Update reference to Linux kernel versions.
1746
b67e9372
MP
17472012-08-02 Marek Polacek <polacek@redhat.com>
1748
1f529f7d 1749 [BZ# 14150]
b67e9372
MP
1750 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1751 libc_cv_asm_type_prefix with %.
1752 * configure: Regenerated.
d2441631
RM
1753 * include/libc-symbols.h: Remove comment about
1754 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1755 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1756 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1757 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1758 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1759 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1762 * elf/tst-unique2mod1.c: Likewise.
1763 * elf/tst-unique1mod2.c: Likewise.
1764 * elf/tst-unique1mod1.c: Likewise.
1765 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1766 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1767 Replace ASM_TYPE_DIRECTIVE with .type.
1768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1769 * sysdeps/i386/sysdep.h: Likewise.
1770 * sysdeps/x86_64/sysdep.h: Likewise.
1771 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1773 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1774 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1775 * sysdeps/powerpc/powerpc32/sysdep.h:
1776 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1777 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1778 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1779 * sysdeps/i386/fpu/e_powf.S: Likewise.
1780 * sysdeps/i386/fpu/e_expl.S: Likewise.
1781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1782 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1783 * sysdeps/i386/fpu/e_pow.S: Likewise.
1784 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1785 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1786 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1787 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1788 * sysdeps/i386/fpu/e_log2.S: Likewise.
1789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1791 * sysdeps/i386/fpu/e_powl.S: Likewise.
1792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1794 * sysdeps/i386/fpu/e_logl.S: Likewise.
1795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1800 * sysdeps/i386/fpu/e_log.S: Likewise.
1801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1802 * sysdeps/i386/fpu/e_logf.S: Likewise.
1803 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1806 * sysdeps/i386/fpu/e_log10.S: Likewise.
1807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1814 * sysdeps/i386/i686/strtok.S: Likewise.
1815 * sysdeps/i386/i386-mcount.S: Likewise.
1816 * sysdeps/i386/strtok.S: Likewise.
1817 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1821 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1826 * sysdeps/x86_64/_mcount.S: Likewise.
1827 * sysdeps/x86_64/strtok.S: Likewise.
1828 * sysdeps/sh/_mcount.S: Likewise.
1829
2747bf9a
RM
18302012-08-01 Roland McGrath <roland@hack.frob.com>
1831
1832 * libio/iofopen.c: Include <fcntl.h>.
1833 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1834 (_IO_fopen64, fopen64): Define as aliases.
1835 * libio/iofopen64.c: Include <fcntl.h>.
1836 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1837 Conditionalize body on this.
1838 * sysdeps/wordsize-64/iofopen.c: File removed.
1839 * sysdeps/wordsize-64/iofopen64.c: File removed.
1840
3fb791b8
MP
18412012-08-01 Marek Polacek <polacek@redhat.com>
1842
1843 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1844 Use dlfcn directly instead of a variable.
1845 (binfmt-subdir): Do not define.
1846 (dlfcn): Likewise.
1847
a9f1039f
JM
18482012-08-01 Joseph Myers <joseph@codesourcery.com>
1849
23bddc06
JM
1850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1851 Remove all definitions.
1852 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1853 <kernel-features.h>.
1854 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1855 (miss_F_GETOWN_EX): Remove all definitions.
1856 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1857 macro definition.
1858 [!__ASSUME_FCNTL64]: Remove conditional code.
1859 [__ASSUME_FCNTL64]: Make code unconditional.
1860 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1861 <kernel-features.h>.
1862 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1863 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1864 (lockf64) [__NR_fcntl64]: Make code unconditional.
1865 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1866
a9f1039f
JM
1867 * sysdeps/unix/sysv/linux/kernel-features.h
1868 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1869 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1870 Make code unconditional.
1871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1874 [__NR_vfork]: Make code unconditional.
1875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1878 [__NR_vfork]: Make code unconditional.
1879 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1880 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1881
09c0ee5f
RM
18822012-08-01 Roland McGrath <roland@hack.frob.com>
1883
48aec5b9
RM
1884 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1885 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1886
cd97c966
RM
1887 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1888 Define mkstemp64 as an alias.
3f55550c
RM
1889 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1890 Define mkstemps64 as an alias.
cd97c966
RM
1891 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1892 Define mkostemp64 as an alias.
b8625cfc
RM
1893 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1894 Define mkostemps64 as an alias.
cd97c966
RM
1895 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1896 Conditionalize body on this.
1897 * misc/mkostemp64.c: Likewise.
b8625cfc 1898 * misc/mkostemps64.c: Likewise.
3f55550c 1899 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1900 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1901 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1902 * sysdeps/wordsize-64/mkostemp.c: File removed.
1903 * sysdeps/wordsize-64/mkstemp.c: File removed.
1904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1908
09c0ee5f
RM
1909 [BZ #14138]
1910 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1911 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1912 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1913 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1914
1915 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1916 compat_symbol macros from <shlib-compat.h> rather than the underlying
1917 default_symbol_version and symbol_version macros, so that DEFAULT
1918 lines in shlib-versions are respected.
1919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1920
7e66ee51
FW
19212012-08-01 Florian Weimer <fweimer@redhat.com>
1922
1923 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1924 Declare with warn_unused_result.
1925 (setgid, setregid, setegid, setresgid): Likewise.
1926 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1927 Likewise.
1928 * WUR-REPORT: Remove set*id functions.
1929
d2a54255
PT
19302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1931
1932 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1933
7ecdb005
RM
19342012-07-31 Roland McGrath <roland@hack.frob.com>
1935
789bd351
RM
1936 * include/sys/socket.h (__libc_accept, __libc_accept4):
1937 Add attribute_hidden.
1938 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1939
40ce302d
RM
1940 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1941 use of PTR_MANGLE.
1942 * inet/getnetgrent_r.c (setup): Likewise.
1943
7ecdb005
RM
1944 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1945
e2eabb2c
DM
19462012-07-31 David S. Miller <davem@davemloft.net>
1947
1948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1949
d0419dbf
JM
19502012-07-31 Joseph Myers <joseph@codesourcery.com>
1951
1952 [BZ #13629]
1953 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1954 value between 1.0 and 2.0 and smaller part has absolute value less
1955 than 1.0.
1956 * math/s_clog10.c (__clog10): Likewise.
1957 * math/s_clog10f.c (__clog10f): Likewise.
1958 * math/s_clog10l.c (__clog10l): Likewise.
1959 * math/s_clogf.c (__clogf): Likewise.
1960 * math/s_clogl.c (__clogl): Likewise.
1961 * math/libm-test.inc (clog_test): Add more tests.
1962 (clog10_test): Likewise.
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965
2bc13872
FW
19662012-07-31 Florian Weimer <fweimer@redhat.com>
1967
1968 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1969 Exit with zero in case no suitable GID is found, and write a
1970 message to standard error.
1971
bea9b193
RM
19722012-07-30 Roland McGrath <roland@hack.frob.com>
1973
1974 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1975 rather than to 1.
1976 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1977 (MAXPATHLEN): Removed.
1978 (NOGROUP, NODEV): New macros.
1979 (setbit, clrbit, isset, isclr): New macros.
1980 (howmany, roundup, powerof2): New macros.
1981 (DEV_BSIZE): New macro.
1982
1983 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1984 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1985
1986 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1987 definition on [!__NO_LONG_DOUBLE_MATH].
1988
1989 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1990 PTR_MANGLE and PTR_DEMANGLE.
1991
1992 * socket/accept4.c (accept4): Rename to __libc_accept4.
1993 Define accept4 as a weak alias.
1994
1995 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1996 on [_DIRENT_HAVE_D_TYPE].
1997 * io/ftw.c (ftw_dir): Likewise.
1998
1999 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2000
2001 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2002
2003 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2004 Use the BSD numbers rather than the arbitrary ones we had.
2005 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2006 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2007 (SIGXCPU, SIGXFSZ): New macros.
2008 (_NSIG): Now 32.
2009
2010 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2011 initializer on [_LIBC_REENTRANT].
2012
2013 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2014 definitions inside [_POSIX_MAPPED_FILES].
2015
2016 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2017
2018 * dirent/opendir.c: Include <fcntl.h>.
2019
2020 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2021 (__libc_getspecific): Likewise.
2022 (__libc_key_create): Likewise.
2023
2024 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2025 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2026 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2027 (tmpfile64): Define as alias.
2028 * sysdeps/wordsize-64/tmpfile.c: File removed.
2029 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2032
2033 * stdio-common/vfscanf.c: Include <stdbool.h>.
2034 * nss/makedb.c: Likewise.
2035 * stdio-common/_i18n_number.h: Likewise.
2036 * argp/argp-help.c: Likewise.
2037 * posix/wordexp.c: Likewise.
2038 * sysdeps/posix/spawni.c: Likewise.
2039 * nss/nss_files/files-initgroups.c: Likewise.
2040 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2041 * nss/nss_files/files-initgroups.c: Likewise.
2042 * nss/nss_db/db-netgrp.c: Likewise.
2043 * nss/nss_db/db-initgroups.c: Likewise.
2044 * io/fchmodat.c: Include <sys/stat.h>.
2045
2046 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2047 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2048
2049 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2050 [HAVE_MMAP].
2051
2052 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2053 Add multiple inclusion protection.
2054
e5abc686
DM
20552012-07-27 David S. Miller <davem@davemloft.net>
2056
2057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2058
815e6fa3
GB
20592012-07-27 Gary Benson <gbenson@redhat.com>
2060
2061 [BZ #14298]
2062 * elf/rtld.c: Include <stap-probe.h>.
2063 (dl_main): Added static probes "init_start" and "init_complete".
2064 * elf/dl-load.c: Include <stap-probe.h>.
2065 (lose): Take new parameter "nsid".
2066 Added static probe "map_failed".
2067 (_dl_map_object_from_fd): Pass namespace id to lose.
2068 Added static probe "map_start".
2069 (open_verify): Pass namespace id to lose.
2070 * elf/dl-open.c: Include <stap-probe.h>.
2071 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2072 and "reloc_complete".
2073 * elf/dl-close.c: Include <stap-probe.h>.
2074 (_dl_close_worker): Added static probes "unmap_start" and
2075 "unmap_complete".
2076 * elf/rtld-debugger-interface.txt: New file documenting the above.
2077
9f98c16c
RM
20782012-07-26 Roland McGrath <roland@hack.frob.com>
2079
2080 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2081 rather than a string variable.
2082 * sunrpc/rpc_main.c (h_output): Likewise.
2083 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2084
f3c22df3
PT
20852012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2086
2087 * inet/check_native.c: New file.
2088
3129cfc6
JM
20892012-07-26 Joseph Myers <joseph@codesourcery.com>
2090
da865e95
JM
2091 [BZ #13629]
2092 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2093 if larger part has absolute value 1.0.
2094 * math/s_clog10.c (__clog10): Likewise.
2095 * math/s_clog10f.c (__clog10f): Likewise.
2096 * math/s_clog10l.c (__clog10l): Likewise.
2097 * math/s_clogf.c (__clogf): Likewise.
2098 * math/s_clogl.c (__clogl): Likewise.
2099 * math/libm-test.inc (clog_test): Add more tests.
2100 (clog10_test): Likewise.
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
3129cfc6
JM
2104 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2105 (pltexit): Likewise.
2106 (La_regs): Likewise.
2107 (La_retval): Likewise.
2108 (int_retval): Likewise.
2109 Update #error for removed macros to refer only to definitions in
2110 tst-audit.h.
2111 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2112 macro.
2113 (pltexit): Likewise.
2114 (La_regs): Likewise.
2115 (La_retval): Likewise.
2116 (int_retval): Likewise.
2117 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2118 macro.
2119 (pltexit): Likewise.
2120 (La_regs): Likewise.
2121 (La_retval): Likewise.
2122 (int_retval): Likewise.
2123 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2124 macro.
2125 (pltexit): Likewise.
2126 (La_regs): Likewise.
2127 (La_retval): Likewise.
2128 (int_retval): Likewise.
2129 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2130 macro.
2131 (pltexit): Likewise.
2132 (La_regs): Likewise.
2133 (La_retval): Likewise.
2134 (int_retval): Likewise.
2135 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2136 macro.
2137 (pltexit): Likewise.
2138 (La_regs): Likewise.
2139 (La_retval): Likewise.
2140 (int_retval): Likewise.
2141 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2142 macro.
2143 (pltexit): Likewise.
2144 (La_regs): Likewise.
2145 (La_retval): Likewise.
2146 (int_retval): Likewise.
2147 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2148 macro definitions in tst-audit.h.
2149 * sysdeps/i386/tst-audit.h: New file.
2150 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2151 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2152 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2153 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2154 * sysdeps/sh/tst-audit.h: Likewise.
2155 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2156 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2157 * sysdeps/x86_64/tst-audit.h: Likewise.
2158
bfc07087
AJ
21592012-07-26 Andreas Jaeger <aj@suse.de>
2160
b1b2aaf8
AJ
2161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2162 ptrace.
2163
2164 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2165 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2166 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2167 PTRACE_O_MASK.
2168 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2169 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2170 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2171
bfc07087
AJ
2172 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2173 value.
2174
2175 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2176 _sigsys.
2177 (si_call_addr, si_syscall, si_arch): Define new macro.
2178 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2179 _sigsys.
2180 (si_call_addr, si_syscall, si_arch): Define new marcro.
2181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2182 _sigsys.
2183 (si_call_addr, si_syscall, si_arch): Define new macro.
2184 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2185 _sigsys.
2186 (si_call_addr, si_syscall, si_arch): Define new macro.
2187
89b4b02f
JM
21882012-07-25 Joseph Myers <joseph@codesourcery.com>
2189
2190 [BZ #13717]
2191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2192 Change to 2.4.21 where previously 2.4.1.
2193 * sysdeps/unix/sysv/linux/configure: Regenerated.
2194 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2195 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2196 Linux kernel version.
2197 (__ASSUME_STD_AUXV): Remove.
2198 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2199 kernel version.
2200 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2201 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2202 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2203 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2204 (__ASSUME_NETLINK_SUPPORT): Likewise.
2205 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2206 (__no_netlink_support): Remove conditional definition.
2207 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2208 Remove.
2209 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2210 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2212 (if_nameindex_ioctl): Remove.
2213 (if_nameindex_netlink): Do not handle __no_netlink_support.
2214 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2215 code.
2216 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2217 Remove conditional code.
2218 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2219 code.
2220 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2221 unconditional.
2222 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2223 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2224 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2225 Remove.
2226 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2227 [!__ASSUME_STD_AUXV]: Remove conditional code.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2229 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2230 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2232 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2233 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2234 code.
2235 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2237 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2238 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2239 conditional code.
2240 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2242 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2243 code.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2245 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2246 conditional code.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2248 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2249 code unconditional.
2250 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2251 conditional code.
2252 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2253 unconditional.
2254 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2255 conditional code.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2257 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2258 unconditional.
2259 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2260 conditional code.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2262 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2263 code unconditional.
2264 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2265 conditional code.
2266 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2267 unconditional.
2268 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2269 conditional code.
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2271 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2272 code unconditional.
2273 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2274 conditional code.
2275 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2276 unconditional.
2277 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2278 conditional code.
2279
842a39cd
AS
22802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2281
2282 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2284 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2285 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2286 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2287 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2288 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2289 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2290 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2291 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2292 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2293 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2294 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2295 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2296 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2297 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2298 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2300 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2303 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2304 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2305
84b3fd84
FW
23062012-07-25 Florian Weimer <fweimer@redhat.com>
2307
2308 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2309 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2310 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2311 Introduce __libc_secure_getenv.
0c7936d5
FW
2312 * stdlib/Versions (2.17): Add secure_getenv
2313 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2314 * stdlib/secure-getenv.c: Rename __secure_getenv to
2315 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2316 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2317 * stdlib/tst-secure-getenv.c: New.
2318 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2319 * manual/startup.texi (Environment Access): Document
2320 secure_getenv.
84b3fd84
FW
2321 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2322 __libc_secure_getenv.
2323 * inet/ruserpass.c (ruserpass): Likewise.
2324 * malloc/mtrace.c (mtrace): Likewise.
2325 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2326 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2327 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2328 * sysdeps/posix/tempname.c: Likewise. Evaluate
2329 HAVE_SECURE_GETENV.
2330 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2331 __secure_getenv to __libc_secure_getenv.
84b3fd84 2332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2334 Likewise.
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2336 Likewise.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2344
56e49b71
JM
23452012-07-25 Joseph Myers <joseph@codesourcery.com>
2346
2347 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2348 (struct La_i86_retval): Likewise.
2349 (struct La_x86_64_regs): Likewise.
2350 (struct La_x86_64_retval): Likewise.
2351 (struct La_x32_regs): Likewise.
2352 (struct La_x32_retval): Likewise.
2353 (struct La_ppc32_regs): Likewise.
2354 (struct La_ppc32_retval): Likewise.
2355 (struct La_ppc64_regs): Likewise.
2356 (struct La_ppc64_retval): Likewise.
2357 (struct La_sh_regs): Likewise.
2358 (struct La_sh_retval): Likewise.
2359 (struct La_s390_32_regs): Likewise.
2360 (struct La_s390_32_retval): Likewise.
2361 (struct La_s390_64_regs): Likewise.
2362 (struct La_s390_64_retval): Likewise.
2363 (struct La_sparc32_regs): Likewise.
2364 (struct La_sparc32_retval): Likewise.
2365 (struct La_sparc64_regs): Likewise.
2366 (struct La_sparc64_retval): Likewise.
2367 (struct audit_ifaces): Remove architecture-specific pltenter and
2368 pltexit members.
2369 * sysdeps/i386/ldsodefs.h: New file.
2370 * sysdeps/powerpc/ldsodefs.h: Likewise.
2371 * sysdeps/s390/ldsodefs.h: Likewise.
2372 * sysdeps/sh/ldsodefs.h: Likewise.
2373 * sysdeps/sparc/ldsodefs.h: Likewise.
2374 * sysdeps/x86_64/ldsodefs.h: Likewise.
2375
354691b7
MP
23762012-07-25 Marek Polacek <polacek@redhat.com>
2377
2378 [BZ #6808]
2379 * math/libm-test.inc (yn_test): Add another test.
2380 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2381 to ERANGE when the result is +-Inf.
2382 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2383 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2384 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2386
bf9e2071
JM
23872012-07-24 Joseph Myers <joseph@codesourcery.com>
2388
2389 * conform/data/time.h-data (NULL): Use macro-constant. Require
2390 equal to 0.
2391 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2392 clock_t.
2393 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2394
57633811
TS
23952012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2396
2397 * configure.in <sysdeps resolving>: Correct printing
2398 Implies_before.
2399 * configure: Regenerate.
2400
c23c33b0
TS
24012012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2402
2403 * math/w_ilogb.c: Include <limits.h>.
2404 * math/w_ilogbl.c: Likewise.
2405
b5982523
JM
24062012-07-20 Joseph Myers <joseph@codesourcery.com>
2407
2408 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2409 va_copy. Document allowing for unavailable va_copy only as
2410 pre-C99 compatibility.
2411 * manual/string.texi (Copying and Concatenation): Use va_copy
2412 instead of __va_copy in concat example.
2413
ac4ea442
PT
24142012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2415
2416 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2417 (__sendto): Use create_address_port. Initialize APORT and deallocate
2418 it if not null.
2419
f98eafbd
PT
2420 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2421 with O_NOLINK passed to __file_name_lookup.
2422
898c7aab
PT
2423 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2424 with O_NOLINK passed to __file_name_lookup.
2425
0ced335a
PT
2426 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2427 negative N or less than NGIDS.
2428
b3404dbd
PT
2429 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2430 type to string_t. Set ERANGE as errno and return it if NAME is not big
2431 enough. Use memcpy instead of strncpy.
2432
0f48659e
JM
24332012-07-20 Joseph Myers <joseph@codesourcery.com>
2434
2435 * elf/Makefile (check-data): Remove.
2436 (localplt.data): New vpath directive.
2437 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2438 instead of $(check-data).
2439 * scripts/data/localplt-generic.data: Move to ...
2440 * sysdeps/generic/localplt.data: ... here.
2441 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2442 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2443 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2445 ... here.
2446 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2448 ... here.
2449 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2451 ... here.
2452 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2454 ... here.
2455 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2457 ... here.
2458 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2460 ... here.
2461
d37cbdaa
AZ
24622012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2465 PPC32 and PPC64 files.
2466 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2467 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2468
46f85fc2
AK
24692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2470
2471 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2472 __makecontext_ret to ...
2473 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2474 ... here and call exit if uc_link is NULL. New file.
2475 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2476 __makecontext_ret.S.
2477 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2478 __makecontext_ret to ...
2479 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2480 ... here and call exit if uc_link is NULL. New file.
2481 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2482 __makecontext_ret.S.
2483
08f43f9b
AK
24842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2485
2486 * elf/elf.h (R_390_IRELATIVE): New definition.
2487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2488 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2489 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2490 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2491 (elf_machine_lazy_rel): Likewise.
2492 * sysdeps/s390/dl-irel.h: New file.
2493 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2494 * sysdeps/s390/s390-64/memset.S: New asm code.
2495 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2496 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2497 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2498 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2499 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2500 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2502 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2503 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2504 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2505 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2506 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2507 * sysdeps/s390/s390-32/memset.S: New asm code.
2508 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2509
3b05db33
MP
25102012-07-17 Marek Polacek <polacek@redhat.com>
2511
2512 [BZ #14349]
2513 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2514 * sysdeps/s390/s390-64/configure.in: Likewise.
2515 * sysdeps/sparc/configure.in: Likewise.
2516 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2517 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2518 * sysdeps/i386/configure.in: Likewise.
2519 * sysdeps/x86_64/configure.in: Likewise.
2520 * sysdeps/sh/configure.in: Likewise.
2521 * sysdeps/s390/s390-32/configure: Regenerated.
2522 * sysdeps/s390/s390-64/configure: Likewise.
2523 * sysdeps/x86_64/configure: Likewise.
2524 * sysdeps/sh/configure: Likewise.
2525 * sysdeps/powerpc/powerpc64/configure: Likewise.
2526 * sysdeps/powerpc/powerpc32/configure: Likewise.
2527 * sysdeps/sparc/configure: Likwise.
2528 * sysdeps/i386/configure: Likewise.
2529
a66877c6
MP
2530 * elf/dl-open.c: Comment fixes.
2531
cfc82fd8
JM
25322012-07-17 Joseph Myers <joseph@codesourcery.com>
2533
bd29910a
JM
2534 * Makefile [CXX] (check-data): Remove.
2535 [CXX] (c++-types.data): New vpath directive.
2536 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2537 vpath. Do not allow for C++ type data being missing.
2538 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2539 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2540 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2541 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2542 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2543 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2544 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2546 ... here.
2547 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2549 ... here.
2550 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2552 ... here.
2553 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2555 ... here.
2556 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2558 ... here.
2559 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2561 ... here.
2562 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2564 ... here.
2565 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2567
cfc82fd8
JM
2568 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2569 definitions to architecture-specific files.
2570 (TLS_IE): Likewise.
2571 (TLS_LD): Likewise.
2572 (TLS_GD): Likewise.
2573 * sysdeps/i386/tls-macros.h: New file.
2574 * sysdeps/powerpc/tls-macros.h: Likewise.
2575 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2576 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2577 * sysdeps/sh/tls-macros.h: Likewise.
2578 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2579 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2580 * sysdeps/x86_64/tls-macros.h: Likewise.
2581
f7db3170
TS
25822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2583
07cbfc23
TS
2584 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2585 zero value for regular exit case.
2586
f7db3170
TS
2587 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2588 (__start_context): Preserve zero value for regular exit case.
2589
dc97c227
TS
25902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2591 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2592
2593 * manual/setjmp.texi (setcontext): Clarify normal process
2594 termination when uc_link is the null pointer.
2595 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2596 exit call.
2597
d0cd7d02
AS
25982012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2599
2600 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2601 preprocessor. Test for each exception mask separately.
2602
dd318934
AJ
26032012-07-16 Andreas Jaeger <aj@suse.de>
2604
2605 * po/ru.po: Update from translation team.
2606
8048311a
JM
26072012-07-15 Joseph Myers <joseph@codesourcery.com>
2608
2609 * conform/data/string.h-data (NULL): Use macro-constant. Require
2610 equal to 0.
2611 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2612 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2613 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2614 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2616
b637d46e
AJ
26172012-07-13 Andreas Jaeger <aj@suse.de>
2618
2619 * po/fr.po: Update from translation team.
2620
541428fe
MP
26212012-07-12 Marek Polacek <polacek@redhat.com>
2622
2623 [BZ #14173]
2624 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2626 loop condition.
2627
ec332e94
JM
26282012-07-12 Joseph Myers <joseph@codesourcery.com>
2629
2630 [BZ #13717]
2631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2632 Change to 2.4.1 where previously 2.4.0.
2633 * sysdeps/unix/sysv/linux/configure: Regenerated.
2634 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2635 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2636 version.
2637 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2638 (__ASSUME_AT_CLKTCK): Remove.
2639 (__ASSUME_AT_PAGESIZE): Likewise.
2640 (__ASSUME_AT_XID): Likewise.
2641 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2642 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2643 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2644 unconditionally.
2645 (HAVE_AUX_PAGESIZE): Likewise.
2646 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2647 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2648 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2649
7b6e99be
JB
26502012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2651
2652 [BZ #14307]
2653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2654 the temporary buffer used to invoke __gethostbyname2_r,
2655 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2656 host_data / struct gaih_addrtuple.
2657 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2658 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2659 header file nss/nsswitch.h.
2660 * nss/nsswitch.h (global scope): Add definition of implementation
2661 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2662 resolv/nss_dns/dns-host.c).
2663
608404eb
AJ
26642012-07-11 Andreas Jaeger <aj@suse.de>
2665
2666 * po/fr.po: Update from translation team.
2667
71220aca
AJ
2668 * po/sv.po: Update from translation team
2669 * po/fr.po: Another update from translation team.
2670
28cfe843
AZ
26712012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672
2673 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2674 for subnormals or multiply small sinh result by itself.
2675 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2677
6b90f981
DM
26782012-07-11 David S. Miller <davem@davemloft.net>
2679
2680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2681
c6825772
AS
26822012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2683
2684 [BZ #14347]
2685 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2686 (INTERNAL_MARK): Shift it here.
2687
7b8e0d49
MP
26882012-07-10 Marek Polacek <polacek@redhat.com>
2689
2690 [BZ #14151]
2691 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2692 libc_cv_asm_global_directive with .globl.
2693 * configure: Regenerated.
2694 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2695 with .globl.
2696 * sysdeps/i386/configure: Regenerated.
2697 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2698 with .globl.
2699 * sysdeps/x86_64/configure: Regenerated.
2700 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2701 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2702 * elf/tst-unique2mod2.c: Likewise.
2703 * elf/tst-unique2mod1.c: Likewise.
2704 * elf/tst-unique1mod2.c: Likewise.
2705 * elf/tst-unique1mod1.c: Likewise.
2706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2707 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2709 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2710 * sysdeps/mach/sysdep.h: Likewise.
2711 * sysdeps/i386/sysdep.h: Likewise.
2712 * sysdeps/i386/i386-mcount.S: Likewise.
2713 * sysdeps/x86_64/_mcount.S: Likewise.
2714 * sysdeps/x86_64/sysdep.h: Likewise.
2715 * sysdeps/sh/_mcount.S: Likewise.
2716 * sysdeps/sh/sysdep.h: Likewise.
2717 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2718 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2719 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2720 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2721 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2722 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2723 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2724 * locale/localeinfo.h: Likewise.
2725 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2726 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2727
6c55cda3
RM
27282012-07-09 Roland McGrath <roland@hack.frob.com>
2729
2730 [BZ #14336]
2731 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2732 system".
2733 * manual/message.texi (The Uniforum approach): Likewise.
2734 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2735 (glibc iconv Implementation): Likewise.
2736
638a572e
JM
27372012-07-09 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #14337]
2740 * math/s_clog.c (__clog): Avoid scaling a value down where that
2741 could result in underflow.
2742 * math/s_clog10.c (__clog10): Likewise.
2743 * math/s_clog10f.c (__clog10f): Likewise.
2744 * math/s_clog10l.c (__clog10l): Likewise.
2745 * math/s_clogf.c (__clogf): Likewise.
2746 * math/s_clogl.c (__clogl): Likewise.
2747 * math/libm-test.inc (clog_test): Add more tests.
2748 (clog10_test): Likewise.
2749 * sysdeps/i386/fpu/libm-test-ulps: Update.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2751
261f4859
AS
27522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2753
0abaf3e4
AS
2754 [BZ #14283]
2755 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2756 by 7 not 8 to examine high bit of fractional part.
2757
261f4859
AS
2758 [BZ #14042]
2759 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2760 for call to __mcount_internal.
2761 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2762 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2763 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2764
f17ac40d
JM
27652012-07-06 Joseph Myers <joseph@codesourcery.com>
2766
9ad63c23
JM
2767 [BZ #14154]
2768 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2769 approximation for values within 0x1p-13f of an odd multiple of
2770 pi/4.
2771 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2772 exception. Add more tests.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774
f17ac40d
JM
2775 [BZ #6778]
2776 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2777 inputs and return -1 for them. Do not check for +Inf in case not
2778 reachable for +Inf.
2779 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2780 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2781 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2782 and return -1 for them. Do not check for +Inf in case not
2783 reachable for +Inf.
2784 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2785 define.
2786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2787 and return -1 for them. Do not check for +Inf in case not
2788 reachable for +Inf.
2789 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2790 spurious underflow.
2791 * sysdeps/i386/fpu/libm-test-ulps: Update.
2792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2793
fb21f89b
MF
27942012-07-06 Mike Frysinger <vapier@gentoo.org>
2795
2796 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2797
cdfe2c5e
JM
27982012-07-05 Joseph Myers <joseph@codesourcery.com>
2799
2800 [BZ #14157]
2801 [BZ #14331]
2802 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2803 could result in spurious underflow. Scale down values above
2804 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2805 * math/s_csqrtf.c (__csqrtf): Likewise.
2806 * math/s_csqrtl.c (__csqrtl): Likewise.
2807 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2808 spurious underflow.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
70d35b67
AS
28122012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2813
704bc459
AS
2814 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2815 xopen-msg.sed.
2816 * catgets/xopen-msg.awk: New file.
2817 * catgets/xopen-msg.sed: Removed.
2818
70d35b67
AS
2819 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2820 po2text.sed.
2821 * intl/po2test.awk: New file.
2822 * intl/po2test.sed: Removed.
2823
ca61cf32
JM
28242012-07-04 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #14328]
2827 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2828 or multiply small sinh result by itself.
2829 * math/s_ctanf.c (__ctanf): Likewise.
2830 * math/s_ctanh.c (__ctanh): Likewise.
2831 * math/s_ctanhf.c (__ctanhf): Likewise.
2832 * math/s_ctanhl.c (__ctanhl): Likewise.
2833 * math/s_ctanl.c (__ctanl): Likewise.
2834 * math/libm-test.inc (ctan_test_tonearest): New function.
2835 (ctan_test_towardzero): Likewise.
2836 (ctan_test_downward): Likewise.
2837 (ctan_test_upward): Likewise.
2838 (ctanh_test_tonearest): Likewise.
2839 (ctanh_test_towardzero): Likewise.
2840 (ctanh_test_downward): Likewise.
2841 (ctanh_test_upward): Likewise.
2842 (main): Call these new functions.
2843 * sysdeps/i386/fpu/libm-test-ulps: Update.
2844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845
ca48a46a
MF
28462012-07-03 Mike Frysinger <vapier@gentoo.org>
2847
2848 * .gitignore: Delete /ports entry.
2849
9d63d37d
AJ
28502012-07-03 Andreas Jaeger <aj@suse.de>
2851
2852 * po/bg.po: Update from translation team.
2853 * po/cs.po: Likewise.
2854 * po/de.po: Likewise.
2855 * po/hr.po: Likewise.
2856 * po/nl.pl: Likewise.
2857 * po/pl.po: Likewise.
2858 * po/vi.po: Likewise.
2859
370ca3d2
JM
28602012-07-03 Joseph Myers <joseph@codesourcery.com>
2861
95f5a9a8
JM
2862 * Makeconfig [!+link] (+link-before-libc): New variable.
2863 [!+link] (+link-after-libc): Likewise.
2864 [!+link] (+link-tests): Likewise.
2865 [!+link] (+link): Define in terms of $(+link-before-libc) and
2866 $(+link-after-libc).
2867 [!+link-static] (+link-static-before-libc): New variable.
2868 [!+link-static] (+link-static-after-libc): Likewise.
2869 [!+link-static] (+link-static-tests): Likewise.
2870 [!+link-static] (+link-static): Define in terms of
2871 $(+link-static-before-libc) and $(+link-static-after-libc).
2872 [build-shared] (link-libc-before-gnulib): New variable.
2873 [build-shared] (link-libc-tests): Likewise.
2874 [build-shared] (link-libc): Define in terms of
2875 $(link-libc-before-gnulib).
2876 [!build-shared] (link-libc-tests): New variable.
2877 (link-libc-static-tests): New variable.
2878 [!gnulib] (gnulib-arch): New variable.
2879 [!gnulib] (gnulib-tests): Likewise.
2880 [!gnulib] (static-gnulib-arch): Likewise.
2881 [!gnulib] (static-gnulib-tests): Likewise.
2882 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2883 Define with "=" instead of ":=".
2884 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2885 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2886 * Rules (binaries-all-notests): New variable.
2887 (binaries-all-tests): Likewise.
2888 (binaries-static-notests): Likewise.
2889 (binaries-static-tests): Likewise.
2890 (binaries-all): Define using $(binaries-all-notests) and
2891 $(binaries-all-tests).
2892 (binaries-static): Define using $(binaries-static-notests) and
2893 $(binaries-static-tests).
2894 (binaries-shared-tests): New variable.
2895 (binaries-shared-notests): Likewise.
2896 (binaries-shared): Remove variable.
2897 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2898 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2899 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2900 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2901 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2902 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2903 * elf/Makefile (sln-modules): New variable.
2904 (extra-objs): Add $(sln-modules:=.o).
2905 (ldconfig-modules): Add static-stubs.
2906 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2907 * elf/static-stubs.c: New file.
2908
7a845b2c
JM
2909 [BZ #14283]
2910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2911 by 7 not 8 to examine high bit of fractional part. Use volatile
2912 variables when splitting into final array of floats if
2913 __FLT_EVAL_METHOD__ != 0.
2914 * math/libm-test.inc (cos_test): Add another test.
2915 (sin_test): Likewise.
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917
e2283f38
JM
2918 [BZ #14273]
2919 * math/libm-test.inc (cosh_test): Add more tests.
2920
370ca3d2
JM
2921 * version.h (RELEASE): Set to "development".
2922 (VERSION): Set to "2.16.90".
2923
ee9247c3
CD
29242012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2925
2926 * NEWS: Update copyright. Remove last-updated date.
2927 Mention math library bug fixes and timezone data changes.
2928 * README: Mention GNU/Hurd, x32, and HPPA support status.
2929
4648c381
TS
29302012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2931
2932 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2933
aac78a43
AJ
29342012-06-27 Andreas Jaeger <aj@suse.de>
2935
2936 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2937
ed3dbfad
AJ
29382012-06-25 Andreas Jaeger <aj@suse.de>
2939
2940 * sysdeps/s390/fpu/libm-test-ulps: Update.
2941
4d0ee855
AS
29422012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2943 Thomas Schwinge <thomas@codesourcery.com>
2944
2945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2946 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2948 fanotify_mark.
2949
af1bce34
TS
29502012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2951
a9fa33ba
TS
2952 * sysdeps/mach/start.c: Remove file.
2953 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2954 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2955 * sysdeps/sh/init-first.c: Likewise.
2956
58f902b8
TS
2957 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2958 registers for frame unwinding purposes, add CFI directives.
2959 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2960 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2961 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2962 Likewise.
2963
1518f58b
TS
2964 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2965 __fortify_fail returning.
2966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2967
db9b5059
TS
2968 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2969 sysdeps/sh/____longjmp_chk.S.
2970 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2971 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2972 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2973 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2974
967705fe
TS
2975 * sysdeps/sh/abort-instr.h: New file.
2976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2977 process in case exit returns.
2978
a9def8c4
TS
2979 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2980 initialize the GOT register before use.
2981
2a649725
TS
2982 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2983 calculation of ARGC > 4.
2984
af1bce34
TS
2985 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2986 meaningful names to some local labels.
2987
d230f50a
KK
29882012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2989 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2990
2991 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2992 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2993 (__arch_compare_and_exchange_val_16_acq): Likewise.
2994 (__arch_compare_and_exchange_val_32_acq): Likewise.
2995 (atomic_exchange_and_add): Fix gUSA sequence.
2996 (atomic_add): Likewise.
2997 (atomic_add_negative): Likewise.
2998 (atomic_add_zero): Likewise.
2999 (atomic_bit_test_set): Likewise.
3000
0479b305
AS
30012012-06-22 Andreas Schwab <schwab@redhat.com>
3002
3003 [BZ #13579]
3004 * include/link.h (struct link_map): Add l_free_initfini.
3005 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3006 l_initfini.
3007 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3008 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3009 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3010 set.
3011
0e3933b9
CD
30122012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3013
3014 * configure.in: Use AC_LANG_SOURCE.
3015 * configure: Regenerate.
3016
4248b1b1
RM
30172012-06-22 Roland McGrath <roland@hack.frob.com>
3018
3019 * configure.in (libc_cv_localstatedir): New substituted variable.
3020 * configure: Regenerated.
3021 * config.make.in (localstatedir): New variable, substituted from
3022 libc_cv_localstatedir.
3023 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3024 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3025 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3026 * sysdeps/gnu/configure: Regenerated.
3027
006dd861
JL
30282012-06-21 Jeff Law <law@redhat.com>
3029
3030 [BZ #14277]
3031 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3032 free. Simplify list management for _LIBC case.
3033
79662d42
JM
30342012-06-21 Joseph Myers <joseph@codesourcery.com>
3035
b7abb4bf
JM
3036 [BZ #14273]
3037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3038 Clear sign bit of 64-bit integer value before comparing against
3039 overflow value.
3040
79662d42
JM
3041 * sysdeps/mach/configure: Regenerated.
3042
1f150908
L
30432012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 [BZ #14278]
3046 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3047
28363bbf
JL
30482012-06-21 Jeff Law <law@redhat.com>
3049
3050 [BZ #13882]
3051 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3052 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3053 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3054 * elf/dl-open.c (dl_open_worker): Likewise.
3055
09615db4
CD
30562012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3057
3058 * scripts/list-sources.sh: Scan PORTS for translations.
3059 * po/libc.pot: Regenerated.
3060
2174c6dd
AJ
30612012-06-21 Andreas Jaeger <aj@suse.de>
3062
3063 [BZ #12194]
3064 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3065 warning.
3066 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3067 * bits/byteswap-16.h (__bswap_16): Likewise.
3068 * bits/byteswap.h (__bswap_constant_16): Likewise.
3069
3ee947b1
L
30702012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 [BZ #14117]
a2f34833
L
3073 * sysdeps/i386/fpu_control.h: Removed.
3074 * sysdeps/x86_64/fpu_control.h: Moved to ...
3075 * sysdeps/x86/fpu_control.h: Here.
3076
3ee947b1
L
3077 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3078 (_FPU_SETCW): Likewise.
3079
ed1825f8
L
30802012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3081
25f1282a
L
3082 [BZ #14117]
3083 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3084 * sysdeps/x86/fpu/bits/mathinline.h: This.
3085 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3086
ed1825f8
L
3087 [BZ #14050]
3088 [BZ #14117]
3089 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3090 functions if __x86_64__ is defined.
3091
36d54b74
CLT
30922012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3093
3094 * string/endian.h: Add !__ASSEMBLER__ condition for including
3095 conversion interfaces.
3096
10285c21
JM
30972012-06-15 Joseph Myers <joseph@codesourcery.com>
3098
3099 [BZ #14241]
3100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3101 of ABS(x) in calculating zero to negative powers other than odd
3102 integers.
3103 * math/libm-test.inc (pow_test): Add more tests.
3104
06c5abbd
AJ
31052012-06-15 Andreas Jaeger <aj@suse.de>
3106
3107 * manual/contrib.texi (Contributors): Update entry of Liubov
3108 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3109 Machado Filho.
3110
a3aeac40
CH
31112012-06-15 Cyril Hrubis <metan@ucw.cz>
3112
3113 * string/string.h: Add __wur to GNU version of strerror_r.
3114
49bdf4c1
L
31152012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 [BZ #14229]
3118 * string/Makefile (tests): Add tst-strtok_r.
3119 * string/tst-strtok_r.c: New file.
3120 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3121 RAX_LP/RDX_LP on SAVE_PTR.
3122
834f9b8d
RM
31232012-06-14 Roland McGrath <roland@hack.frob.com>
3124
3125 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3126
75fa1921
JM
31272012-06-14 Joseph Myers <joseph@codesourcery.com>
3128
3129 * libm_test.inc (csqrt_test): Allow more spurious underflow
3130 exceptions.
3131 (j0_test): Likewise.
3132 (j1_test): Likewise.
3133 (y0_test): Likewise.
3134 (y1_test): Likewise.
3135
771766df
CD
31362012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3137
3138 * po/Makefile (libc.pot): Use UTF-8 charset.
3139
ceb9e56b
PP
31402012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3141
3142 [BZ #14210]
3143 Suppress sign-conversion warning from FD_SET.
3144 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3145 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3146 not unsigned long int.
3147 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3148
ddb28975
L
31492012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3150
3151 [BZ #14050]
3152 [BZ #14117]
3153 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3154 __extern_always_inline instead of __extern_inline.
3155 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3156 (__signbit): Likewise.
3157 (__signbitl): Support C++ namespace.
3158 (lrintf): New inline function.
3159 (lrint): Likewise.
3160 (llrintf): Likewise.
3161 (llrint): Likewise.
3162 (fmaxf): Likewise.
3163 (fmax): Likewise.
3164 (fminf): Likewise.
3165 (fmin): Likewise.
3166 (rint): Likewise.
3167 (rintf): Likewise.
3168 (ceil): Likewise.
3169 (ceilf): Likewise.
3170 (floor): Likewise.
3171 (floorf): Likewise.
3172 (nearbyint): Likewise.
3173 (nearbyintf): Likewise.
3174
d7b4fb26
TS
31752012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3176
3177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3178 non-default versions.
3179
eb55f5c2
RM
31802012-06-11 Roland McGrath <roland@hack.frob.com>
3181
3182 [BZ #14218]
3183 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3184
366af02c
TS
31852012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3186
99ff6e5c
TS
3187 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3188 (FE_UPWARD, FE_DOWNWARD): Don't define.
3189 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3190 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3191
366af02c
TS
3192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3193 reading it.
3194 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3195 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3196
793ea851
KK
31972012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3198
3199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3201 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3202 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3203
a728a38f
L
32042012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3205
3206 [BZ #14117]
c08010c7
L
3207 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3208 * sysdeps/i386/fpu/Implies: New file.
3209 * sysdeps/x86_64/fpu/Implies: Likewise.
3210 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3211 * sysdeps/x86/fpu/bits/fenv.h: This.
3212
a728a38f
L
3213 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3214 __SSE_MATH__.
3215
6e230d11
SP
32162012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3217
3218 [BZ #14134]
3219 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3220 character 0xffff that matches the last element of the
3221 conversion table.
3222
1b671feb
AZ
32232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224
3225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3226 fmodl commit.
3227
6043738b
AZ
32282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3229
3230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3231 values higher than 25.6283.
3232
34ae0b32
AZ
32332012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3234
3235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3236 subnormal exponent extraction and add some __builtin_expect.
3237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3238 Fix for subnormal mantissa calculation.
3239
1214ec8f
MF
32402012-06-04 Mike Frysinger <vapier@gentoo.org>
3241
3242 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3243 cpu2 is -1 and errno is not ENOSYS.
3244
f3d1f93c
L
32452012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 [BZ #14117]
0e4a3cd7
L
3248 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3249 * sysdeps/x86/bits/string.h: This.
3250 * sysdeps/x86_64/bits/string.h: Removed.
3251
6704c645
L
3252 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3253 if not compiling for x86-64, but compiling for >= i486.
3254
48495318
L
3255 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3256 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3257
14adcbfc
L
3258 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3259 New macro from Linux kernel 3.4.0.
3260 (FP_XSTATE_MAGIC2): Likewise.
3261 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3262 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3263 (struct _fpx_sw_bytes): New struct.
3264 (struct _xsave_hdr): Likewise.
3265 (struct _ymmh_state): Likewise.
3266 (struct _xstate): Likewise.
3267
68e408ab
L
3268 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3269 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3271 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3272 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3273 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3274
f3d1f93c
L
3275 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3277 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3278 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3279 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3280 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3281
d9dc34cd
TMQMF
32822012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3283
3284 [BZ #13743]
3285 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3286 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3287 (sysdep_headers): Include sys/platform/ppc.h.
3288 * sysdeps/powerpc/test-gettimebase.c: Test for
3289 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3290 * manual/Makefile (appendices): Include platform.texi.
3291 * manual/contrib.texi (Contributors): Update @node pointers.
3292 * manual/maint.texi (Maintenance): Likewise.
3293 (Platform): New node.
3294 * manual/platform.texi: New file. Document the new features.
3295
4af3879c
SP
32962012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3297 Jakub Jelinek <jakub@redhat.com>
3298
3299 [BZ #14188]
3300 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3301 where __builtin_expect is unavailable.
3302
2fd6ff13
DM
33032012-06-03 David S. Miller <davem@davemloft.net>
3304
3305 * stdlib/longlong.h: Updated from GCC.
3306
173f7220
AS
33072012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3308
3309 [BZ #14042]
3310 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3311 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3312 __mcount_internal.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3314 (GLIBC_2.16): Likewise.
3315
f34a1c6f
L
33162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3319
88a4576f
JM
33202012-06-01 Joseph Myers <joseph@codesourcery.com>
3321
ea32bcdd
JM
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3323 (default-abi): New variable.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3325 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3326 variable.
3327 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3328 Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3330 Likewise.
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3332 Likewise.
3333
88a4576f
JM
3334 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3335 definition. Document in comment.
3336
402fe938
DM
33372012-06-01 David S. Miller <davem@davemloft.net>
3338
3339 * stdlib/longlong.h: Updated from GCC.
3340
3553723f
L
33412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3342
3343 [BZ #14117]
3bd872c4
L
3344 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3345 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3346 sys/debugreg.h sys/io.h here.
3347 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3348 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3349 sys/io.h.
3350 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3351 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3352 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3353 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3354 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3355 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3356
3553723f
L
3357 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3358 Define only if __x86_64__ is defined.
3359
4842e4fe
JM
33602012-06-01 Joseph Myers <joseph@codesourcery.com>
3361
c5bfe3d5
JM
3362 [BZ #14048]
3363 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3364 Use int64_t for variable i.
3365 * math/libm-test.inc (fmod_test): Add more tests.
3366
4842e4fe
JM
3367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3368 z computation is not scheduled after fetestexcept.
3369 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3370 Use math_force_eval instead of asm to ensure calculation scheduled
3371 before exception test.
3372 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3373 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3374
efb73488
AJ
33752012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3376
3377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3378 computation is not scheduled after fetestexcept.
3379
29bcce7c
L
33802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 [BZ #14117]
3383 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3384 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3385
73a68f94
AZ
33862012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387
3388 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3389 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3390
67b6df78
L
33912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3392
edf2933a 3393 [BZ #14117]
ebc64a18
L
3394 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3395 <bits/wordsize.h>.
3396 (__WCHAR_MIN): Support __WORDSIZE == 64.
3397 (__WCHAR_MAX): Likewise.
3398
edf2933a
L
3399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3401
57c6cf40
L
3402 [BZ #14183]
3403 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3404 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3405
67b6df78 3406 [BZ #14117]
8eb6281e
L
3407 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3408 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3409
aac639f4
L
3410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3411 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3412
67b6df78
L
3413 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3414 Defined to 1 if __x86_64__ isn't defined.
3415 (_STAT_VER_LINUX_OLD): New.
3416 (st_atime): Remove duplicate.
3417 (st_mtime): Likewise.
3418 (st_ctime): Likewise.
3419
1c2cfe81
DM
34202012-05-31 David S. Miller <davem@davemloft.net>
3421
3422 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3423 entries.
3424
5be8418c
AS
34252012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3426
e7725326
AS
3427 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3428 gen-libm-test.pl.
3429
5be8418c
AS
3430 [BZ #14132]
3431 * elf/dl-reloc.c: Include <_itoa.h>.
3432 (_dl_reloc_bad_type): Remove use of INTUSE.
3433 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3434 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3435 * stdio-common/psiginfo.c (psiginfo): Likewise.
3436 * stdio-common/psignal.c (psignal): Likewise.
3437 * string/strsignal.c (strsignal): Likewise.
3438 * include/signal.h (_sys_siglist): Declare hidden proto.
3439 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3440 INTVARDEF with libc_hidden_data_def.
3441 * stdio-common/itoa-udigits.c: Likewise.
3442 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3443 (_itoa_lower_digits_internal): Remove declaration.
3444 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3445 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3446 (_sys_sigabbrev_internal): Remove aliases.
3447 (_sys_siglist): Define hidden alias.
3448
507352f1
MT
34492012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3450
3451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3452 bits/sysctl.h.
3453
42bbb1c3
L
34542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 [BZ #14117]
6bd784b6
L
3457 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3458 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3459
8bca20f0
L
3460 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3461 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3462 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3463 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3465 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3466
f9e890a9
L
3467 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3468 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3469 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3470
471101a1
L
3471 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3472 with __addr.
3473 (insw): Likewise.
3474 (insl): Likewise.
3475 (outsb): Likewise.
3476 (outsw): Likewise.
3477 (outsl): Likewise.
3478
6451c862
L
3479 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3482
a254b8c9
L
3483 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3484 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3485 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3486 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3487 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3488 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3489
b8dfdd92
L
3490 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3491 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3492
578cd270
L
3493 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3494 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3495
de662f5f
L
3496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3499
25653439
L
3500 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3501 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3502 to ...
3503 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3504
6bad24a0
L
3505 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3506 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3507 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3508
42bbb1c3
L
3509 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3510 for x86-64.
3511 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3512
2d10d547
JM
35132012-05-31 Joseph Myers <joseph@codesourcery.com>
3514
3515 * math/math.h (M_El): Use two more decimal places.
3516 (M_LOG2El): Likewise.
3517 (M_LOG10El): Likewise.
3518 (M_LN2l): Likewise.
3519 (M_LN10l): Likewise.
3520 (M_PIl): Likewise.
3521 (M_PI_2l): Likewise.
3522 (M_PI_4l): Likewise.
3523 (M_1_PIl): Likewise.
3524 (M_2_PIl): Likewise.
3525 (M_2_SQRTPIl): Likewise.
3526 (M_SQRT2l): Likewise.
3527 (M_SQRT1_2l): Likewise.
3528
f230c29b
DM
35292012-05-31 David S. Miller <davem@davemloft.net>
3530
3531 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3532 values between float registers.
3533 * sysdeps/sparc/sparc64/memset.S: Likewise.
3534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3535
fed806c3
MF
35362012-05-31 Mike Frysinger <vapier@gentoo.org>
3537
3538 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3539 -D_FORTIFY_SOURCE=1.
3540 (CPPFLAGS-tst-longjmp_chk.c): Define.
3541 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3542 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3543 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3544 CFLAGS-tst-wchar-h.c.
3545
30917259
MP
35462012-05-31 Marek Polacek <polacek@redhat.com>
3547
3548 [BZ #14132]
3549 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3550 __endmntent_internal): Remove declaration.
3551 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3552 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3553 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3554
1c58d5dc
DM
35552012-05-30 David S. Miller <davem@davemloft.net>
3556
3557 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3558 (___Q_simulate_exceptions): Use real FP ops rather than writing
3559 into the %fsr.
3560 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3561 Likewise.
3562
7dc00e0d
L
35632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 [BZ #14117]
0bd53985
L
3566 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3567 * sysdeps/x86/bits/xtitypes.h: This.
3568
3a257e66
L
3569 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3570 * sysdeps/x86/bits/wordsize.h: This.
3571
62f62904
L
3572 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3573 * sysdeps/x86/bits/huge_vall.h: This.
3574
404fe9d9
L
3575 * sysdeps/i386/bits/select.h: Removed.
3576 * sysdeps/x86_64/bits/select.h: Renamed to ...
3577 * sysdeps/x86/bits/select.h: This.
3578
d48d0446
L
3579 * sysdeps/i386/bits/setjmp.h: Removed.
3580 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3581 * sysdeps/x86/bits/setjmp.h: This.
3582
7dc00e0d
L
3583 * sysdeps/i386/bits/mathdef.h: Removed.
3584 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3585 * sysdeps/x86/bits/mathdef.h: This.
3586
03277f8f
AS
35872012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3588
3589 [BZ #14132]
3590 * include/sys/socket.h (__connect_internal)
3591 (__libc_sa_len_internal): Remove declaration.
3592 (__connect, __libc_sa_len): Declare hidden_proto.
3593 (SA_LEN): Remove use of INTUSE.
3594 * socket/connect.c: Add libc_hidden_def.
3595 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3596 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3597 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3598 alias.
3599 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3600 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3601 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3602 of adding _internal alias.
3603
13764867
L
36042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 [BZ #14117]
6bd97696
L
3607 * sysdeps/i386/bits/link.h: Removed.
3608 * sysdeps/i386/bits/linkmap.h: Likewise.
3609 * sysdeps/x86_64/bits/link.h: Renamed to ...
3610 * sysdeps/x86/bits/link.h: This.
3611 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3612 * sysdeps/x86/bits/linkmap.h: This.
3613
f726f0bb
L
3614 * sysdeps/i386/bits/endian.h: Removed.
3615 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3616 * sysdeps/x86/bits/endian.h: This.
3617
13764867
L
3618 * sysdeps/i386/bits/byteswap.h: Removed.
3619 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3620 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3621 * sysdeps/x86/bits/byteswap.h: This.
3622 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3623 * sysdeps/x86/bits/byteswap-16.h: This.
3624 * sysdeps/i386/Implies: Add x86.
3625 * sysdeps/x86_64/Implies: Likewise.
3626
ae251b0b
DM
36272012-05-30 David S. Miller <davem@davemloft.net>
3628
3629 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3630 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3632 (FP_TRAPPING_EXCEPTIONS): Define.
3633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3634 (FP_TRAPPING_EXCEPTIONS): Define.
3635 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3636 subnormals only when inexact has been signalled or underflow
3637 exceptions are enabled.
3638 (_FP_PACK_CANONICAL): Likewise.
3639
d5c90867
L
36402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 [BZ #14183]
3643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3644 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3645
63f1549e
RH
36462012-05-30 Richard Henderson <rth@twiddle.net>
3647
8d8f2279
RH
3648 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3649 with #ifndef NOT_IN_libc.
3650
63f1549e
RH
3651 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3652 marked to avoid plt entry.
3653
0ab0291b
L
36542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 [BZ #14112]
3657 * Makeconfig (default-abi): New macro.
3658 (abi-includes): Likewise.
3659 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3660 $(abi-$(default-abi)-lib-soname) for soname if defined.
3661 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3662 abi-variants.
3663 * Makefile (installed-stubs): Likewise.
3664 * include/stubs-biarch.h: Removed.
3665 * scripts/lib-names.awk: Only handle one library at a time.
3666 * scripts/soversions.awk: Remove WORDSIZE support.
3667 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3668 entries.
3669 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3670 Removed.
3671 (syscall-list-default-condition): Likewise.
3672 (syscall-list-default-condition): Likewise.
3673 (syscall-list-includes): Likewise.
3674 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3675 syscall-list-* with abi-*. Handle undefined abi-variants.
3676 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3677 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3678 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3679 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3680 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3681 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3682 Removed.
3683 (syscall-list-32-options): Likewise.
3684 (syscall-list-32-condition): Likewise.
3685 (syscall-list-64-options): Likewise.
3686 (syscall-list-64-condition): Likewise.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3688 macro.
3689 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3690 Renamed to ...
3691 (abi-*): This.
3692 (abi-64-ld-soname): New macro.
3693 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3694 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3695 Renamed to ...
3696 (abi-*): This.
3697 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3698 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3699
4da0431d
JM
37002012-05-30 Joseph Myers <joseph@codesourcery.com>
3701
3a85279c
JM
3702 * sysdeps/unix/sysv/linux/kernel-features.h
3703 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3704 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3705 include <kernel-features.h>.
3706 [!__NR_ftruncate64]: Remove conditional code.
3707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3708 [__NR_ftruncate64]: Make code unconditional.
3709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3710 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3711 include <kernel-features.h>.
3712 [!__NR_ftruncate64]: Remove conditional code.
3713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3714 [__NR_ftruncate64]: Make code unconditional.
3715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3717 include <kernel-features.h>.
3718 [!__NR_ftruncate64]: Remove conditional code.
3719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3720 [__NR_ftruncate64]: Make code unconditional.
3721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3723 include <kernel-features.h>.
3724 [!__NR_ftruncate64]: Remove conditional code.
3725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3726 [__NR_ftruncate64]: Make code unconditional.
3727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3728
4da0431d
JM
3729 * configure.in (libc_cv_fpie): Weaken to a compile test using
3730 LIBC_TRY_CC_OPTION.
3731 * configure: Regenerated.
3732
11ef492c
AK
37332012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3734
3735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3739 Refreshed.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3746 Refreshed.
3747
d66ef399
DM
37482012-05-27 David S. Miller <davem@davemloft.net>
3749
3750 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3751 (___Q_zero): New.
3752 (__Q_simulate_exceptions): Return void. Change to simulate
3753 exceptions by writing into the %fsr.
3754 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3755 (__Qp_handle_exceptions): Likewise.
3756 (numbers): Delete.
3757 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3758 __Qp_handle_exceptions.
3759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3760 __Qp_handle_exceptions.
3761 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3762 as unused and give dummy FP_RND_NEAREST initializer.
3763 (FP_INHIBIT_RESULTS): Define.
3764 (___Q_simulate_exceptions): Update declaration.
3765 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3766 formatting.
3767 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3768 as unused and give dummy FP_RND_NEAREST initializer.
3769 (__Qp_handle_exceptions): Update declaration.
3770 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3771 formatting.
3772
04fb54b5
TS
37732012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3774
3775 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3776 the temporary FPU control word.
3777 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3778 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3780 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3781 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3782 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3783 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3785 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3786 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3787 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3788
3f99608f
KK
37892012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3790
3791 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3792 fields.
3793
65a4de4e
CLT
37942012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3795
3796 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3797 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3798 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3799 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3802 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3803 Likewise.
3804
15749d40
UD
38052012-05-27 Ulrich Drepper <drepper@gmail.com>
3806
3807 * po/h.po: Update from translation team.
3808
25dbcb27
AS
38092012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3810
3d3f8e55
AS
3811 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3812
25dbcb27
AS
3813 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3814 handling of denormals.
3815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3816 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3818 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3822 Likewise.
3823
7ad47a80 38242012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3825
3826 [BZ #14152]
3827 * math/libm-test.inc (fma_test): Don't always expect underflow
3828 exception.
3829
9c6ea9fa
SP
38302012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3831
3832 [BZ #12416]
3833 * elf/tst-execstack.c: Include stackinfo.h.
3834 (do_test): Adjust test case to ensure that pthread_getattr_np
3835 behaviour remains the same after marking stack executable.
3836
a8239222
JM
38372012-05-25 Joseph Myers <joseph@codesourcery.com>
3838
3839 * sysdeps/unix/sysv/linux/kernel-features.h
3840 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3841 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3842 kernel-features.h.
3843 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3844 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3845 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3846 kernel-features.h.
3847 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3848 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3849
918b5606
L
38502012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * configure.in: Define the default includes to being none.
3853 * configure: Regenerated.
3854
3a097cc7
RM
38552012-05-25 Roland McGrath <roland@hack.frob.com>
3856
8422c9a5
RM
3857 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3858 * sysdeps/x86_64/setjmp.S: Likewise.
3859 * sysdeps/i386/bsd-setjmp.S: Likewise.
3860 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3861 * sysdeps/i386/setjmp.S: Likewise.
3862 * sysdeps/i386/__longjmp.S: Likewise.
3863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3864 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3865
3a097cc7
RM
3866 * include/stap-probe.h: New file.
3867 * configure.in: Handle --enable-systemtap.
3868 * configure: Regenerated.
3869 * config.h.in (USE_STAP_PROBE): New #undef.
3870 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3871 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3872 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3873
21708942
JM
38742012-05-25 Joseph Myers <joseph@codesourcery.com>
3875
3876 [BZ #13717]
3877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3878 to 2.4.0 where earlier.
3879 * sysdeps/unix/sysv/linux/configure: Regenerated.
3880 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3881 <kernel-features.h>.
3882 [__ASSUME_32BITUIDS]: Make code unconditional.
3883 [!__ASSUME_32BITUIDS]: Remove conditional code.
3884 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3885 <kernel-features.h>.
3886 [__ASSUME_32BITUIDS]: Make code unconditional.
3887 [!__ASSUME_32BITUIDS]: Remove conditional code.
3888 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3889 [__ASSUME_32BITUIDS]: Make code unconditional.
3890 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3891 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3892 <kernel-features.h>.
3893 [__ASSUME_32BITUIDS]: Make code unconditional.
3894 [!__ASSUME_32BITUIDS]: Remove conditional code.
3895 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3896 <kernel-features.h>.
3897 [__ASSUME_32BITUIDS]: Make code unconditional.
3898 [!__ASSUME_32BITUIDS]: Remove conditional code.
3899 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3900 <kernel-features.h>.
3901 [__ASSUME_32BITUIDS]: Make code unconditional.
3902 [!__ASSUME_32BITUIDS]: Remove conditional code.
3903 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3904 <kernel-features.h>.
3905 [__ASSUME_32BITUIDS]: Make code unconditional.
3906 [!__ASSUME_32BITUIDS]: Remove conditional code.
3907 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3908 <kernel-features.h>.
3909 [__ASSUME_32BITUIDS]: Make code unconditional.
3910 [!__ASSUME_32BITUIDS]: Remove conditional code.
3911 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3912 <kernel-features.h>.
3913 [__ASSUME_32BITUIDS]: Make code unconditional.
3914 [!__ASSUME_32BITUIDS]: Remove conditional code.
3915 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3916 <kernel-features.h>.
3917 [__ASSUME_32BITUIDS]: Make code unconditional.
3918 [!__ASSUME_32BITUIDS]: Remove conditional code.
3919 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3920 <kernel-features.h>.
3921 [__ASSUME_32BITUIDS]: Make code unconditional.
3922 [!__ASSUME_32BITUIDS]: Remove conditional code.
3923 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3924 <kernel-features.h>.
3925 [__ASSUME_32BITUIDS]: Make code unconditional.
3926 [!__ASSUME_32BITUIDS]: Remove conditional code.
3927 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3928 <kernel-features.h>.
3929 [__ASSUME_32BITUIDS]: Make code unconditional.
3930 [!__ASSUME_32BITUIDS]: Remove conditional code.
3931 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3932 <kernel-features.h>.
3933 [__NR_setresgid] (__setresgid): Do not declare.
3934 [__ASSUME_32BITUIDS]: Make code unconditional.
3935 [!__ASSUME_32BITUIDS]: Remove conditional code.
3936 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3937 <kernel-features.h>.
3938 [__NR_setresuid] (__setresuid): Do not declare.
3939 [__ASSUME_32BITUIDS]: Make code unconditional.
3940 [!__ASSUME_32BITUIDS]: Remove conditional code.
3941 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3942 <kernel-features.h>.
3943 [__ASSUME_32BITUIDS]: Make code unconditional.
3944 [!__ASSUME_32BITUIDS]: Remove conditional code.
3945 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3946 <kernel-features.h>.
3947 [__ASSUME_32BITUIDS]: Make code unconditional.
3948 [!__ASSUME_32BITUIDS]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3950 <kernel-features.h>.
3951 [__ASSUME_32BITUIDS]: Make code unconditional.
3952 [!__ASSUME_32BITUIDS]: Remove conditional code.
3953 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3954 <kernel-features.h>.
3955 [__ASSUME_32BITUIDS]: Make code unconditional.
3956 [!__ASSUME_32BITUIDS]: Remove conditional code.
3957 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3958 <kernel-features.h>.
3959 [__ASSUME_32BITUIDS]: Make code unconditional.
3960 [!__ASSUME_32BITUIDS]: Remove conditional code.
3961 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3962 <kernel-features.h>.
3963 [__ASSUME_32BITUIDS]: Make code unconditional.
3964 [!__ASSUME_32BITUIDS]: Remove conditional code.
3965 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3966 <kernel-features.h>.
3967 [__ASSUME_32BITUIDS]: Make code unconditional.
3968 [!__ASSUME_32BITUIDS]: Remove conditional code.
3969 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3970 <kernel-features.h>.
3971 [__ASSUME_32BITUIDS]: Make code unconditional.
3972 [!__ASSUME_32BITUIDS]: Remove conditional code.
3973 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3974 <kernel-features.h>.
3975 [__ASSUME_32BITUIDS]: Make code unconditional.
3976 [!__ASSUME_32BITUIDS]: Remove conditional code.
3977 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3978 <kernel-features.h>.
3979 [__ASSUME_32BITUIDS]: Make code unconditional.
3980 [!__ASSUME_32BITUIDS]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/kernel-features.h
3982 (__ASSUME_SETRESUID_SYSCALL): Remove.
3983 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3984 (__ASSUME_32BITUIDS): Likewise.
3985 (__ASSUME_LDT_WORKS): Likewise.
3986 (__ASSUME_O_DIRECTORY): Likewise.
3987 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3988 architecture but not kernel version.
3989 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3990 (__ASSUME_MMAP2_SYSCALL): Likewise.
3991 (__ASSUME_STAT64_SYSCALL): Likewise.
3992 (__ASSUME_IPC64): Likewise.
3993 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3994 <kernel-features.h>.
3995 [__ASSUME_32BITUIDS]: Make code unconditional.
3996 [!__ASSUME_32BITUIDS]: Remove conditional code.
3997 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3998 <kernel-features.h>.
3999 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4000 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4001 132096]: Remove conditional code.
4002 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4003 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4004 <kernel-features.h>.
4005 [__ASSUME_32BITUIDS]: Make code unconditional.
4006 [!__ASSUME_32BITUIDS]: Remove conditional code.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4008 <kernel-features.h>.
4009 [__ASSUME_32BITUIDS]: Make code unconditional.
4010 [!__ASSUME_32BITUIDS]: Remove conditional code.
4011 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4012 <kernel-features.h>.
4013 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4014 unconditional.
4015 (__setresgid): Do not declare.
4016 [__ASSUME_32BITUIDS]: Make code unconditional.
4017 [!__ASSUME_32BITUIDS]: Remove conditional code.
4018 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4019 <kernel-features.h>.
4020 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4021 unconditional.
4022 (__setresuid): Do not declare.
4023 [__ASSUME_32BITUIDS]: Make code unconditional.
4024 [!__ASSUME_32BITUIDS]: Remove conditional code.
4025 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4026 <kernel-features.h>.
4027 [__ASSUME_32BITUIDS]: Make code unconditional.
4028 [!__ASSUME_32BITUIDS]: Remove conditional code.
4029 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4030 <kernel-features.h>.
4031 [__ASSUME_32BITUIDS]: Make code unconditional.
4032 [!__ASSUME_32BITUIDS]: Remove conditional code.
4033
a386f1cc
RH
40342012-05-25 Richard Henderson <rth@twiddle.net>
4035
4036 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4037 dl_hwcap to ifunc resolver.
4038 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4039 elf_ifunc_invoke.
4040 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4041 dl_hwcap to ifunc resolver.
4042 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4043
b6550497
JM
40442012-05-24 Joseph Myers <joseph@codesourcery.com>
4045
4046 [BZ #14153]
4047 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4048 for |x| <= 2**-26, not 2**-57.
4049 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4050 exception.
4051
b0bc23a1
JL
40522012-05-24 Jeff Law <law@redhat.com>
4053
4054 * stdio-common/Makefile (tests): Add bug25.
4055 * stdio-common/bug25.c: New test.
4056
347c92e9
L
40572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ #13576]
4060 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4061 multiple of MALLOC_ALIGNMENT in size.
4062 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4063
6bcc8b3f
JM
40642012-05-24 Joseph Myers <joseph@codesourcery.com>
4065
4066 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4067 Require >= 256.
4068 (FILENAME_MAX): Use macro-int-constant.
4069 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4070 (_IOFBF): Use macro-int-constant.
4071 (_IOLBF): Likewise.
4072 (_IONBF): Likewise.
4073 (SEEK_CUR): Likewise.
4074 (SEEK_END): Likewise.
4075 (SEEK_SET): Likewise.
4076 (TMP_MAX): Likewise.
4077 (EOF): Use macro-int-constant. Require < 0.
4078 (NULL): Use macro-constant. Require == 0.
4079 (stdin): Require type to be FILE *.
4080 (stdout): Likewise.
4081 (stderr): Likewise.
4082 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4083 macro-int-constant.
4084 (EXIT_SUCCESS): Likewise.
4085 (NULL): Use macro-constant. Require == 0.
4086 (RAND_MAX): Use macro-int-constant.
4087 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4088 [C99-based standards] (strtof): Require function.
4089 [C99-based standards] (strtold): Likewise.
4090 [C99-based standards] (strtoll): Likewise.
4091 [C99-based standards] (strtoull): Likewise.
4092 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4093 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4094 [ISO || ISO99 || ISO11] (math.h): Likewise.
4095 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4096 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4098
d18ea0c5
AS
40992012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4100
4101 [BZ #14132]
56d25bb8
AS
4102 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4103 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4104 * intl/dgettext.c (DCGETTEXT): Likewise.
4105 * intl/gettext.c (DCGETTEXT): Likewise.
4106 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4107 * posix/regex_internal.h (gettext): Likewise.
4108 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4109 Remove declaration.
4110 * include/argz.h (__argz_count_internal)
4111 (__argz_stringify_internal): Remove declaration.
4112 (__argz_count, __argz_stringify): Declare hidden proto.
4113 * intl/dcgettext.c: Remove use of INTDEF.
4114 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4115 * string/argz-stringify.c: Likewise.
4116 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4117 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4118 Declare hidden proto.
d18ea0c5
AS
4119 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4120 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4121 Declare hidden proto.
4122 * include/stdio.h (__asprintf_internal): Don't declare.
4123 (__asprintf): Don't define as macro. Declare hidden proto.
4124 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4125 (__fsetlocking): Declare hidden proto.
4126 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4127 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4128 hidden proto.
4129 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4130 (_IO_setlinebuf): Remove use of INTUSE.
4131 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4132 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4133 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4134 Remove declaration.
4135 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4136 (_IO_do_flush): Remove use of INTUSE.
4137 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4138 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4139 (_IO_adjust_column, _IO_least_wmarker)
4140 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4141 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4142 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4143 (_IO_default_doallocate, _IO_wdefault_doallocate)
4144 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4145 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4146 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4147 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4148 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4149 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4150 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4151 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4152 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4153 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4154 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4155 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4156 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4157 proto.
4158 (_IO_flush_all_internal, _IO_adjust_column_internal)
4159 (_IO_default_uflow_internal, _IO_default_finish_internal)
4160 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4161 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4162 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4163 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4164 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4165 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4166 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4167 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4168 (_IO_file_close_internal, _IO_file_close_it_internal)
4169 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4170 (_IO_file_init_internal, _IO_file_attach_internal)
4171 (_IO_file_fopen_internal, _IO_file_read_internal)
4172 (_IO_file_sync_internal, _IO_file_seek_internal)
4173 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4174 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4175 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4176 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4177 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4178 (_IO_list_all_internal, _IO_link_in_internal)
4179 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4180 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4181 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4182 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4183 (_IO_do_write_internal, _IO_padn_internal)
4184 (_IO_getline_info_internal, _IO_getline_internal)
4185 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4186 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4187 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4188 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4189 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4190 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4191 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4192 with libc_hidden_ver, remove use of INTUSE.
4193 * libio/genops.c: Likewise.
4194 * libio/freopen.c: Likewise.
4195 * libio/freopen64.c: Likewise.
4196 * libio/iofclose.c: Likewise.
4197 * libio/iofdopen.c: Likewise.
4198 * libio/iofflush.c: Likewise.
4199 * libio/iofflush_u.c: Likewise.
4200 * libio/iofgets.c: Likewise.
4201 * libio/iofgets_u.c: Likewise.
4202 * libio/iofopen.c: Likewise.
4203 * libio/iofopncook.c: Likewise.
4204 * libio/iofread.c: Likewise.
4205 * libio/iofread_u.c: Likewise.
4206 * libio/ioftell.c: Likewise.
4207 * libio/iofwrite.c: Likewise.
4208 * libio/iogetline.c: Likewise.
4209 * libio/iogets.c: Likewise.
4210 * libio/iogetwline.c: Likewise.
4211 * libio/iopadn.c: Likewise.
4212 * libio/iopopen.c: Likewise.
4213 * libio/ioseekoff.c: Likewise.
4214 * libio/ioseekpos.c: Likewise.
4215 * libio/iosetbuffer.c: Likewise.
4216 * libio/iosetvbuf.c: Likewise.
4217 * libio/ioungetc.c: Likewise.
4218 * libio/ioungetwc.c: Likewise.
4219 * libio/iovdprintf.c: Likewise.
4220 * libio/iovsprintf.c: Likewise.
4221 * libio/iovsscanf.c: Likewise.
4222 * libio/memstream.c: Likewise.
4223 * libio/obprintf.c: Likewise.
4224 * libio/oldfileops.c: Likewise.
4225 * libio/oldiofclose.c: Likewise.
4226 * libio/oldiofdopen.c: Likewise.
4227 * libio/oldiofopen.c: Likewise.
4228 * libio/oldiopopen.c: Likewise.
4229 * libio/oldstdfiles.c: Likewise.
4230 * libio/putc.c: Likewise.
4231 * libio/setbuf.c: Likewise.
4232 * libio/setlinebuf.c: Likewise.
4233 * libio/stdfiles.c: Likewise.
4234 * libio/strops.c: Likewise.
4235 * libio/vasprintf.c: Likewise.
4236 * libio/vscanf.c: Likewise.
4237 * libio/vsnprintf.c: Likewise.
4238 * libio/vswprintf.c: Likewise.
4239 * libio/wfiledoalloc.c: Likewise.
4240 * libio/wfileops.c: Likewise.
4241 * libio/wgenops.c: Likewise.
4242 * libio/wmemstream.c: Likewise.
4243 * libio/wstrops.c: Likewise.
4244 * libio/__fpurge.c: Likewise.
4245 * libio/__fsetlocking.c: Likewise.
4246 * assert/assert.c: Likewise.
4247 * debug/fgets_chk.c: Likewise.
4248 * debug/fgets_u_chk.c: Likewise.
4249 * debug/fread_chk.c: Likewise.
4250 * debug/fread_u_chk.c: Likewise.
4251 * debug/gets_chk.c: Likewise.
4252 * debug/obprintf_chk.c: Likewise.
4253 * debug/vasprintf_chk.c: Likewise.
4254 * debug/vdprintf_chk.c: Likewise.
4255 * debug/vsnprintf_chk.c: Likewise.
4256 * debug/vsprintf_chk.c: Likewise.
4257 * malloc/mtrace.c: Likewise.
4258 * misc/error.c: Likewise.
4259 * misc/syslog.c: Likewise.
4260 * stdio-common/asprintf.c: Likewise.
4261 * stdio-common/fxprintf.c: Likewise.
4262 * stdio-common/getw.c: Likewise.
4263 * stdio-common/isoc99_fscanf.c: Likewise.
4264 * stdio-common/isoc99_scanf.c: Likewise.
4265 * stdio-common/isoc99_vfscanf.c: Likewise.
4266 * stdio-common/isoc99_vscanf.c: Likewise.
4267 * stdio-common/isoc99_vsscanf.c: Likewise.
4268 * stdio-common/printf-prs.c: Likewise.
4269 * stdio-common/printf_fp.c: Likewise.
4270 * stdio-common/printf_fphex.c: Likewise.
4271 * stdio-common/printf_size.c: Likewise.
4272 * stdio-common/putw.c: Likewise.
4273 * stdio-common/scanf.c: Likewise.
4274 * stdio-common/sprintf.c: Likewise.
4275 * stdio-common/tmpfile.c: Likewise.
4276 * stdio-common/vfprintf.c: Likewise.
4277 * stdio-common/vfscanf.c: Likewise.
4278 * stdlib/strfmon_l.c: Likewise.
4279 * sunrpc/openchild.c: Likewise.
4280 * sunrpc/xdr_stdio.c: Likewise.
4281 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4282 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4283
d6c33fda
RM
42842012-05-24 Roland McGrath <roland@hack.frob.com>
4285
c1487492
RM
4286 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4287
4288 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4289 in the third column, to generate for the shared library an IFUNC
4290 that uses _dl_vdso_vsym.
4291 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4292 * Makeconfig (object-suffixes-noshared): New variable.
4293
4294 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4295 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4296 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4297 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4298
d6c33fda
RM
4299 [BZ #14132]
4300 * include/sys/time.h (__gettimeofday): Remove macro.
4301 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4302 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4303 Remove INTDEF.
4304 (__gettimeofday): Add libc_hidden_def.
4305 (gettimeofday): Add libc_hidden_weak.
4306 * sysdeps/mach/gettimeofday.c: Likewise.
4307 * sysdeps/posix/gettimeofday.c: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4311 (__gettimeofday_internal): Remove strong_alias.
4312 (__gettimeofday): Add libc_hidden_def.
4313 (gettimeofday): Add libc_hidden_weak.
4314 * sysdeps/unix/syscalls.list (gettimeofday):
4315 Remove __gettimeofday_internal alias.
4316
b5a2bbe6
L
43172012-05-24 Daniel Jacobowitz <drow@false.org>
4318 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 [BZ #12495]
4321 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4322 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4323 (largebin_index_32_big): New.
4324 (largebin_index): Use it for 16-byte alignment.
4325 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4326 correction with front_misalign.
4327
cfba4fda
L
43282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4329
7f907421
L
4330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4332 Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4334 Likewise.
4335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4336 Likewise.
4337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4338 Likewise.
4339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4340 Likewise.
4341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4342 Likewise.
4343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4344 Likewise.
4345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4346 Likewise.
4347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4348 Likewise.
4349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4350 Likewise.
4351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4352 Likewise.
4353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4354 Likewise.
4355
cfba4fda
L
4356 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4357 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4358
80bad0cc
JM
43592012-05-24 Joseph Myers <joseph@codesourcery.com>
4360
7a25eb06
JM
4361 [BZ #10846]
4362 [BZ #14036]
4363 * math/libm-test.inc (exp_test): Add test from bug 14036.
4364 (pow_test): Add test from bug 10846.
4365
795405f9
JM
4366 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4367 and other flags.
4368 (special_function): Do not include flags in test name.
4369 (parse_args): Likewise.
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4372 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4373 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375
80bad0cc
JM
4376 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4377 exceptions.
4378 * math/libm-test.inc ("Philosophy"): Update comment about
4379 exception testing.
4380 (UNDERFLOW_EXCEPTION): New macro.
4381 (UNDERFLOW_EXCEPTION_OK): Likewise.
4382 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4383 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4384 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4385 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4386 (INVALID_EXCEPTION_OK): Update value.
4387 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4388 (OVERFLOW_EXCEPTION_OK): Likewise.
4389 (IGNORE_ZERO_INF_SIGN): Likewise.
4390 (test_exceptions): Handle underflow exceptions.
4391 (acos_test): Update for underflow exception expectations.
4392 (cexp_test): Likewise.
4393 (clog_test): Likewise.
4394 (clog10_test): Likewise.
4395 (csqrt_test): Likewise.
4396 (ctan_test): Likewise.
4397 (ctanh_test): Likewise.
4398 (exp_test): Likewise.
4399 (exp10_test): Likewise.
4400 (exp2_test): Likewise.
4401 (expm1_test): Likewise.
4402 (fma_test): Likewise.
4403 (j0_test): Likewise.
4404 (jn_test): Likewise.
4405 (nexttoward_test): Likewise.
4406 (pow_test): Likewise.
4407 (scalbn_test): Likewise.
4408 (scalbln_test): Likewise.
4409 (tan_test): Likewise.
4410 (y1_test): Likewise.
4411 * sysdeps/i386/fpu/libm-test-ulps: Update.
4412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413
9e0e3d0b
DM
44142012-05-23 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4417 (__libc_sigaction): Remove unused local variables.
4418
ccd0a08f
L
44192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4422
62bdf9a6
PE
44232012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4424
f8591f80
PE
4425 mktime: avoid signed integer overflow
4426 * time/mktime.c (__mktime_internal): Do not mishandle the case
4427 where diff == INT_MIN.
4428
94c7d826
PE
4429 mktime: simplify computation of average
4430 * time/mktime.c (ranged_convert): Use new time_t_avg function
4431 instead of rolling our own (probably-slower) code.
4432
ce73d683
PE
4433 mktime: do not assume signed right shift propagates sign bit
4434 * time/mktime.c (isdst_differ): New static function.
4435 (__mktime_internal): No need to normalize tm_isdst now.
4436 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4437 tm_isdst values.
4438
72a22e59
PE
4439 mktime: merge another wrapv change from gnulib
4440 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4441 from some compilers.
4442
68605433
PE
4443 mktime: remove incorrect attempt at unusual arithmetics
4444 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4445 The code didn't really work on such machines anyway.
4446 (TYPE_MINIMUM): Assume two's complement.
4447 (twos_complement_arithmetic): Verify that long_int and time_t
4448 are two's complement (or unsigned, in the latter case).
4449
03cf7fe3
PE
4450 mktime: check signed shifts on long_int and time_t, too
4451 * time/mktime.c (SHR): Check that shifts work as desired
4452 on the types long_int and time_t too, as SHR is used on
4453 such types.
4454
f04dfbc2
PE
4455 mktime: do not assume 'long' is wide enough
4456 * time/mktime.c (verify): Move decl up.
4457 (long_int): New type.
4458 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4459 to remove assumption in the code that 'long' is wide enough to
4460 store year values. This assumption is not true on x32 and on
4461 some non-glibc platforms.
4462
62bdf9a6
PE
4463 mktime: merge wrapv change from gnulib
4464 * time/mktime.c (WRAPV): New macro.
4465 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4466 (guess_time_tm, __mktime_internal): Do not assume that signed
4467 integer overflow wraps around; modern compilers generate code
4468 where this assumption is no longer valid.
4469
5e292e4f
L
44702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4473 Replace "jmp L(pseudo_end)" with "ret".
4474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4475 Likewise.
4476
8caf8c87
AJ
44772012-05-23 Andreas Jaeger <aj@suse.de>
4478
4479 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4480 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4481
1a09dc56
AJ
44822012-05-23 Andreas Jaeger <aj@suse.de>
4483 Maximilian Attems <max@stro.at>
4484
4485 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4486 New macros.
4487
1c87aba0
L
44882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4491 code so that pseudo_end is just ret and the stack pointer is
4492 correct also for static library in error case.
4493
40e45bd5
JM
44942012-05-23 Joseph Myers <joseph@codesourcery.com>
4495
c2670533
JM
4496 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4497 move to syscalls.list.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4502
40e45bd5
JM
4503 * manual/install.texi (Running make install): Do not mention Linux
4504 kernel version for which pt_chown is not needed.
4505 (Linux): Do not mention problems with nscd with 2.0 kernels.
4506 * INSTALL: Regenerated.
4507
be08eda5
AJ
45082012-05-23 Andreas Jaeger <aj@suse.de>
4509
4510 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4511 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4512 macro.
4513 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4515 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4517 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4523 * sysdeps/unix/sysv/linux/bits/in.h
4524 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4525
a6a056bb
RM
45262012-05-22 Roland McGrath <roland@hack.frob.com>
4527
4528 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4529 (PREPARE_VERSION): Just use assert instead, it will be elided
4530 under [NDEBUG] anyway.
4531
c9009328
L
45322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 * sysdeps/unix/sysv/linux/Makefile: Include
4535 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4536 (sysdep_routines): Remove sysctl.
c9009328
L
4537 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4538 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4541 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4542
73338355
AJ
45432012-05-22 Andreas Jaeger <aj@suse.de>
4544
4545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4546 that pseudo_end is just ret and the stack pointer is correct also
4547 for static library in error case.
4548
d44638b0
PP
45492012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4550
4551 [BZ #14122]
4552 * nss/nsswitch.c (defconfig_entries): New variable.
4553 (__nss_database_lookup): Don't leak defconfig entries.
4554 (nss_parse_service_list): Don't leak on error paths.
4555 (free_database_entries): New function.
4556 (free_defconfig): New function.
4557 (free_mem): Move common code to free_database_entries.
4558
31a39bd8
L
45592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4560
da0331a8
L
4561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4562 Add arch_prctl.
4563 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4564
31a39bd8
L
4565 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4566 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4568 New macro.
4569 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4570 (INTERNAL_SYSCALL_TYPES): Likewise.
4571 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4572 (LOAD_REGS_TYPES_[1-6]): Likewise.
4573 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4574 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4575
45470df3
AZ
45762012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4579 copysignl for GLIBC_2_0.
4580 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4581 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4583 logbl for GLIBC_2_0.
4584 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4585 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4586
98a61bcb
L
45872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4588
a4f6e481
L
4589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4590 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4591
f63d5db6
L
4592 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4593 Use "neg %eax".
4594
98a61bcb
L
4595 * time/mktime.c: Update copyright years.
4596
95770f14
PE
45972012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4598
6226efbd
PE
4599 mktime: merge comment-quoting-style change from gnulib
4600 * time/mktime.c: Quote 'like this' in comments.
4601 The GNU coding standards suggest that we no longer quote `like this',
4602 as "`" and "'" are typically rendered asymmetrically nowadays.
4603 The typical gnulib style is to quote 'like this' when quoting
4604 code, and "like this" when quoting English.
4605
b99e4f78
PE
4606 * time/mktime.c (compile-command): Add "-I.".
4607
643e01e6
PE
4608 mktime: merge mktime-internal.h change from gnulib
4609 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4610
2554247d
PE
4611 mktime: merge time_r change from gnulib
4612 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4613
826dd0ab
PE
4614 mktime: merge DEBUG change from gnulib
4615 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4616 case system <time.h> has a #define.
4617
bd83aabe
PE
4618 mktime: merge <sys/types.h> change from gnulib
4619 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4620 since <time.t> is now guaranteed to define time_t.
4621
95770f14
PE
4622 mktime: merge HAVE_CONFIG_H change from gnulib
4623 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4624
5e1a27a9
L
46252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4626
0e44a77e
L
4627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4628 Use "neg %eax".
4629
5e1a27a9
L
4630 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4631 __rlim_t cast.
4632 (struct rusage): Use anonymous union to pad each field to
4633 __syscall_slong_t.
4634
46259bec
DM
46352012-05-21 David S. Miller <davem@davemloft.net>
4636
4637 * Makefules (o-iterator): Remove .s cases.
4638 (compile-command.s): Delete.
4639 (COMPILE.s): Delete.
4640 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4641
59f0c22e
JM
46422012-05-21 Joseph Myers <joseph@codesourcery.com>
4643
4644 * configure.in (libc_cv_predef_stack_protector): Only consider
4645 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4646 * configure: Regenerated.
4647
20c07380
L
46482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4649
bbb3154b
L
4650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4651 New macro. Use R*LP on int and pointer.
4652 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4653 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4654 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4655 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4656
20c07380
L
4657 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4658 [__WORDSIZE_TIME64_COMPAT32] instead of
4659 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4660 (struct utmp): Likewise.
4661 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4662 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4663 Renamed to ...
4664 (__WORDSIZE_TIME64_COMPAT32): This.
4665 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4666 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4667 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4669 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4670 (__WORDSIZE_TIME64_COMPAT32): New macro.
4671
d8d1017e
AJ
46722012-05-21 Andreas Jaeger <aj@suse.de>
4673
4674 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4675 only if [SHARED]. Add prototype for __wcschr_ia32.
4676
6c7fb145
RM
46772012-05-21 Roland McGrath <roland@hack.frob.com>
4678
4679 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4680 of %rbp unmolested in the jmp_buf while mangling the low bits.
4681 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4682 unmolested high bits of %rbp while demangling the low bits.
4683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4684
66274218
AJ
46852012-05-21 Andreas Jaeger <aj@suse.de>
4686
07c58f8f
AJ
4687 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4688 * sunrpc/svc_simple.c: Use it for registerrpc.
4689 * sunrpc/xcrypt.c: Use it for passwd2des.
4690
66274218
AJ
4691 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4692
61f65140
L
46932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4694
4695 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4696 Don't define if [__SYSCALL_WORDSIZE != 32].
4697 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4698 New macro.
4699
5fefb436
AJ
47002012-05-21 Bruno Haible <bruno@clisp.org>
4701 Andreas Jaeger <aj@suse.de>
4702
4703 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4704 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4705 inptr and inend for must_buffer_ch.
4706 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4707 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4708 * stdio-common/Makefile (tests): Remove bug15.
4709 (bug15-ENV): Remove macro.
4710 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4711 anymore.
4712
d8e272ab
AJ
47132012-05-19 Andreas Jaeger <aj@suse.de>
4714 Roland McGrath <roland@hack.frob.com>
4715
4716 * manual/contrib.texi: Completely rewritten. It contains now an
4717 alphabetical list of contributors and their contributions.
4718
4a56a162
RH
47192012-05-21 Richard Henderson <rth@twiddle.net>
4720
4721 * misc/getauxval.c (__getauxval): Use unsigned long int.
4722 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4723 (getauxval): Use unsigned long int.
4724
d024d23c
L
47252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4728
cbc00a03
RM
47292012-05-21 Roland McGrath <roland@hack.frob.com>
4730
4731 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4732 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4733 __alignof__ (long double).
4734
478143fa
AZ
47352012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736
4737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4738
c7683a6d
RH
47392012-05-20 Richard Henderson <rth@twiddle.net>
4740
4741 * misc/getauxval.c: New file.
4742 * misc/sys/auxv.h: New file.
4743 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4744 (routines): Add getauxval.
4745 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4746 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4747 * elf/dl-sysdep.c (_dl_auxv): Remove.
4748 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4749 * elf/dl-support.c (_dl_auxv): New variable.
4750 (_dl_aux_init): Initialize it.
4751 * manual/startup.texi (Auxiliary Vector): New node.
4752 * sysdeps/generic/bits/hwcap.h: New file.
4753 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4754 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4755 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4756 * sysdeps/sparc/sysdep.h: ... here. Include it.
4757 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4760 Update.
c7683a6d
RH
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4769
a6f1845d
AZ
47702012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4773
cbcbe830
DM
47742012-05-19 David S. Miller <davem@davemloft.net>
4775
4776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4777
e0b16cc2
JM
47782012-05-19 Joseph Myers <joseph@codesourcery.com>
4779
4780 [BZ #14123]
4781 * math/s_ccosh.c: Include <float.h>
4782 (__ccosh): Avoid internal overflow calculating sinh and cosh
4783 values before multiplying by sin and cos values.
4784 * math/s_ccoshf.c: Likewise.
4785 * math/s_ccoshl.c: Likewise.
4786 * math/s_csin.c: Likewise.
4787 * math/s_csinf.c: Likewise.
4788 * math/s_csinl.c: Likewise.
4789 * math/s_csinh.c: Likewise.
4790 * math/s_csinhf.c: Likewise.
4791 * math/s_csinhl.c: Likewise.
4792 * math/libm-test.inc (ccos_test): Add more tests.
4793 (ccosh_test): Likewise.
4794 (csin_test): Likewise.
4795 (csinh_test): Likewise.
4796 * sysdeps/i386/fpu/libm-test-ulps: Update.
4797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4798
6ad13e08
L
47992012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4800
f66f0ce8
L
4801 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4802 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4803
6ad13e08
L
4804 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4805
b1d072a7
JM
48062012-05-19 Joseph Myers <joseph@codesourcery.com>
4807
4808 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4809 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4810 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4811 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4812 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4813 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4814 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4815 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4816 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4817 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4818 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4819 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4820 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4821 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4822 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4823 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4824 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4825 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4826 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4827 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4828 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4829 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4830 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4831 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4832 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4833 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4834 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4835 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4836 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4837 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4838 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4839
9eae47cb
AJ
48402012-05-18 Andreas Jaeger <aj@suse.de>
4841
4842 * csu/.gitignore: Delete.
4843
bb07f69f
L
48442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4847 (timex): Use __syscall_slong_t.
4848
e6bdb741
AJ
48492012-05-18 Andreas Jaeger <aj@suse.de>
4850 Carlos O'Donell <carlos_odonell@mentor.com>
4851
4852 * manual/install.texi (Configuring and compiling): Update
4853 description about files modified in the source directory.
d6c33fda 4854 * INSTALL: Regenerated.
e6bdb741 4855
1b74487e
L
48562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4857
4858 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4859 value. Use "or" to set return value to -1.
4860 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4861 negate return value.
4862
a88b64b9
TMQMF
48632012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4864
4865 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4866 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4867 failure if the compiler has Graphite support disabled.
4868 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4869 Likewise.
4870 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4871 CFLAGS-memmove.c): Likewise.
4872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4873 Likewise.
4874
3707636e
L
48752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4876
610b8622
L
4877 * sysdeps/x86_64/x32/_itoa.h: New file.
4878
7cd195df
L
4879 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4880 getdents system call only if kernel and user dirents have the
4881 same d_ino and d_off.
4882
94b07d20
L
4883 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4884 LLONG_MAX != LONG_MAX.
4885 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4886 (_fitoa_word): Likewise.
4887
18298070
L
4888 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4889 years.
4890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4893
553c7ea4
L
4894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4895 include <bits/wordsize.h>. Check __x86_64__ instead of
4896 __WORDSIZE.
4897 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4898 if __x86_64__ is defined. Use anonymous union on fpstate.
4899
3707636e
L
4900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4901 anonymous union.
4902
b53ef01a
AS
49032012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4904
37fb1dc0
AS
4905 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4906 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4907 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4908 Refer to _rtld_local_ro instead of _rtld_global_ro.
4909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4910 Likewise.
4911 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4912 Likewise.
4913 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4914 Likewise.
4915 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4916 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4917 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4918
b53ef01a
AS
4919 * sysdeps/powerpc/powerpc32/dl-machine.c
4920 (__elf_machine_runtime_setup) [PROF]: Don't reference
4921 _dl_prof_resolve.
4922
7a185db2
AJ
49232012-05-18 Andreas Jaeger <aj@suse.de>
4924
4925 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4926 function only available for GCCs before 3.4 since GCC 3.4
4927 introduced a builtin.
4928 (lrint): Likewise.
4929 (llrintf): Likewise.
4930 (llrint): Likewise.
4931 (fmaxf): Likewise.
4932 (fmax): Likewise.
4933 (fminf): Likewise.
4934 (fmin): Likewise.
4935 (rint): Likewise.
4936 (rintf): Likewise.
4937 (nearbyint): Likewise.
4938 (nearbyintf): Likewise.
4939 (ceil): Likewise.
4940 (ceilf): Likewise.
4941 (floor): Likewise.
4942 (floorf): Likewise.
4943
3e5aef87
L
49442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4945
428bd707
L
4946 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4947 on both fields and cast pointer to __syscall_ulong_t.
4948
3e5aef87
L
4949 * bits/types.h (__fsword_t): New type.
4950 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4951 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4953 (__FSWORD_T_TYPE): Likewise.
4954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4955 (__FSWORD_T_TYPE): Likewise.
4956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4957 (__FSWORD_T_TYPE): Likewise.
4958 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4959 (__FSWORD_T_TYPE): Likewise.
4960 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4961 __SWORD_TYPE with __fsword_t.
4962 (statfs64): Likewise.
4963
1ba7c3dc
DM
49642012-05-17 David S. Miller <davem@davemloft.net>
4965
4966 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4967
59910343
AJ
49682012-05-17 Andreas Jaeger <aj@suse.de>
4969
4970 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4971 warning.
4972
2e4c1e9e
L
49732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4976
de7f5ce7
AJ
49772012-05-17 Andreas Jaeger <aj@suse.de>
4978
4979 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4980 when it is used.
4981
286abc3d
CM
49822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4983
4984 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4985
477cc68e
L
49862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4989 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4990
1a0994f5
CD
49912012-05-17 Andreas Jaeger <aj@suse.de>
4992 Carlos O'Donell <carlos_odonell@mentor.com>
4993
4994 [BZ #14059]
4995 * sysdeps/x86_64/multiarch/init-arch.h
4996 (bit_YMM_Usable): Rename to...
4997 (bit_AVX_Usable): ... this.
4998 (bit_FMA4_Usable): New macro.
4999 (bit_XMM_state): New macro.
5000 (bit_YMM_state): New macro.
5001 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5002 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5003 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5004 (CPUID_OSXSAVE): New macro.
5005 (CPUID_AVX): New macro.
5006 (CPUID_FMA4): New macro.
5007 (index_YMM_Usable): Rename to...
5008 (index_AVX_Usable): ... this.
5009 (HAS_AVX): Use HAS_ARCH_FEATURE.
5010 (HAS_FMA4): Likewise.
5011 (HAS_YMM_USABLE): Remove.
5012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5013 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5014 are present.
5015 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5016 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5017 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5018 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5019 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5020
0af797de
CM
50212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5022
5023 * math/libm-test.c: Support platforms without multiple rounding modes.
5024 * math/bug-nextafter.c: Support platforms without FP exceptions.
5025 * math/bug-nexttoward.c: Likewise.
5026 * math/test-fenv.c: Likewise.
5027 * math/test-misc.c: Likewise.
5028 * stdlib/bug-getcontext.c: Likewise.
5029
e39745ff
AJ
50302012-05-17 Andreas Jaeger <aj@suse.de>
5031
5032 * manual/examples/search.c (critter_cmp): Change signature to
5033 avoid warnings.
5034 * manual/string.texi (Collation Functions): Likewise.
5035
48970aba
L
50362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5037
5038 * bits/types.h: Fold copyright years.
5039 * bits/typesizes.h: Likewise.
5040 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5041 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5043 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5044 * time/time.h: Likewise.
5045
bedee953
PP
50462012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5047
5048 [BZ #208]
5049 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5050 in instead of returning them. Return void.
5051 (__libc_mallinfo): Accumulate over all arenas.
5052 (__malloc_stats): Adjust for change in int_mallinfo interface.
5053
61653dfb
RM
50542012-05-16 Roland McGrath <roland@hack.frob.com>
5055
30b99d79
RM
5056 [BZ #10375]
5057 * configure.in (NM): Add AC_CHECK_TOOL for it.
5058 (libc_extra_cflags): New substituted variable.
5059 Check for -fstack-protector being used implicitly.
5060 * configure: Regenerated.
5061 * config.make.in (config-extra-cflags): New variable,
5062 gets @libc_extra_cflags@.
5063 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5064
61653dfb
RM
5065 [BZ #10375]
5066 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5067 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5068 * configure: Regenerated.
5069 * config.make.in (CPPUNDEFS): New substituted variable.
5070 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5071 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5072 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5073
661768bb
L
50742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5075
5076 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5077 (mq_attr): Use __syscall_slong_t.
5078
d4261567
L
50792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5080
5081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5082 Check __x86_64__ instead of __WORDSIZE.
5083 (_STAT_VER_LINUX): Likewise.
5084 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5085 __syscall_ulong_t and __syscall_slong_t.
5086 (stat64): Likewise.
5087
cf3ff365
L
50882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5089
5090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5091
76cf3e4d
L
50922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5093
5094 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5095
a637753a
L
50962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5097
5098 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5099 __syscall_ulong_t.
5100
d5e05119
L
5101 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5102 include <bits/wordsize.h>. Check __x86_64__ instead of
5103 __WORDSIZE.
5104 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5105 defined.
5106 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5107
f62ee380
L
5108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5109 include <bits/wordsize.h>. Check __x86_64__ instead of
5110 __WORDSIZE.
5111 (user_regs_struct): Use "__extension__ unsigned long long"
5112 instead of "unsigned long" if __x86_64__ is defined.
5113 (user): Likewise. Pad after pointer field if __ILP32__ is
5114 defined.
5115
4e124ced
JM
51162012-05-16 Joseph Myers <joseph@codesourcery.com>
5117
6a3951a0
JM
5118 * configure.in (makeinfo): Require version 4.5 or later. Allow
5119 versions 5 to 9.
5120 * configure: Regenerated.
5121 * manual/install.texi (texinfo): Increase version requirement to
5122 4.5 or later.
5123 * INSTALL: Regenerated.
5124
4e124ced
JM
5125 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5126
953ca31a
L
51272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5130
617aca05
L
5131 * sysdeps/x86_64/x32/ffs.c: New file.
5132
5762f7ae
L
5133 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5134 __syscall_ulong_t.
5135 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5136 defined. Use __syscall_ulong_t.
5137 (shminfo): Use __syscall_ulong_t.
5138 (shm_info): Likewise.
5139
a26b6856
L
5140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5141 __syscall_ulong_t.
5142
cb2b9ef7
L
5143 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5144 <bits/wordsize.h>.
5145 (msgqnum_t): Use __syscall_ulong_t.
5146 (msglen_t): Likewise.
5147 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5148 __syscall_ulong_t.
5149
34683bb0
L
5150 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5151 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5152
84a68786
L
5153 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5154
48baa5f1
L
5155 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5156 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5157
180be88b
L
5158 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5159 __syscall_slong_t.
5160
5e90c8ad
L
5161 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5162 include <bits/wordsize.h>. Check __x86_64__ instead of
5163 __WORDSIZE.
5164
23dfb58b
L
5165 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5166 "unsigned long long int" if __x86_64__ is defined.
5167 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5168
ce5d54b0
L
5169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5171 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5172
13dc9eac
L
5173 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5174 <stdint.h>.
5175 (GET_PC): Cast to uintptr_t first.
5176 (GET_FRAME): Likewise.
5177 (GET_STACK): Likewise.
5178
a7895d15
L
5179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5181 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5183 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5184 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5185 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5186 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5187 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5192 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5208
656416c9
AS
52092012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5210
5bd66283
AS
5211 * Makerules (+depfiles): Also collect depfiles from .oS in
5212 $(extra-objs).
5213 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5214 .oS, $(libnldbl-routines)).
5215
656416c9
AS
5216 * Makerules (native-compile-mkdep-flags): Define.
5217 * sunrpc/Makefile (extra-objs): Add $(addprefix
5218 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5219 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5220 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5221 calling $(make-target-directory).
5222
a46f2169
L
52232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5224
5225 * bits/types.h (__snseconds_t): Removed.
5226 * time/time.h (struct timespec): Replace __snseconds_t with
5227 __syscall_slong_t.
5228 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5229 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5230 Likewise.
5231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5232 (__SNSECONDS_T_TYPE): Likewise.
5233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5234 (__SNSECONDS_T_TYPE): Likewise.
5235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5236 (__SNSECONDS_T_TYPE): Likewise.
5237
6af6528b
L
52382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5239
5240 * sysdeps/mach/hurd/bits/typesizes.h
5241 (__SYSCALL_SLONG_TYPE): New macro.
5242 (__SYSCALL_ULONG_TYPE): Likewise.
5243
de986b56
L
52442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5245
5246 * bits/types.h (__syscall_slong_t): New type.
5247 (__syscall_ulong_t): Likewise.
5248
5249 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5250 (__SYSCALL_ULONG_TYPE): Likewise.
5251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5252 (__SYSCALL_SLONG_TYPE): Likewise.
5253 (__SYSCALL_ULONG_TYPE): Likewise.
5254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5255 (__SYSCALL_SLONG_TYPE): Likewise.
5256 (__SYSCALL_ULONG_TYPE): Likewise.
5257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5258 (__SYSCALL_SLONG_TYPE): Likewise.
5259 (__SYSCALL_ULONG_TYPE): Likewise.
5260
85736dc7
L
52612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5264 Add sigaltstack-offsets.sym.
5265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5266 <sigaltstack-offsets.h>.
5267 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5268 longjmp_msg pointer.
5269 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5270 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5271 signal stack.
5272 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5273
cc03b296
JM
52742012-05-15 Joseph Myers <joseph@codesourcery.com>
5275
a9538892
JM
5276 * elf/stackguard-macros.h: Remove file.
5277 * sysdeps/generic/stackguard-macros.h: New file.
5278 * sysdeps/i386/stackguard-macros.h: Likewise.
5279 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5280 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5281 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5282 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5283 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5284 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5285 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5286 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5287 <elf/stackguard-macros.h>.
5288
cc03b296
JM
5289 [BZ #14109]
5290 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5291 __aligned__ in attribute.
5292 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5293 (gregset_t): Likewise.
5294
93171016
L
52952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5296
5297 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5298 * sysdeps/x86_64/64/Implies-after: Here. New file.
5299 * sysdeps/x86_64/x32/Implies-after: New file.
5300
d86813a0
L
53012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5304 and access return value for _dl_profile_fixup. Use R10_LP to
5305 load frame size.
5306
2953ec75
L
53072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5308
5309 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5310
3b550e9e
L
53112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5314 * sysdeps/x86_64/x32/sysdep.h: New file.
5315
eda41706
L
53162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5319 * sysdeps/x86_64/setjmp.S: Likewise.
5320
9ea01d93
AZ
53212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5322
5323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5325 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5327 remove unused global constant.
5328
02a91938
CM
53292012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5330
5331 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5332 include of <not-cancel.h>.
5333
6540185f
RM
53342012-05-15 Roland McGrath <roland@hack.frob.com>
5335
5336 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5337
509072a0
AJ
53382012-05-15 Jeff Law <law@redhat.com>
5339 Andreas Jaeger <aj@suse.de>
5340
5341 [BZ #13594]
5342 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5343 out from...
5344 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5345 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5346 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5347 code changing __hst_map_handle.map.
5348
ba75122d
RM
53492012-05-15 Roland McGrath <roland@hack.frob.com>
5350
5351 * configure.in (sysnames): Look for Implies-before and Implies-after
5352 files.
5353 * configure: Regenerated.
5354
890d8bd8
L
53552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5356
5357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5358 8-byte data alignment with LP_SIZE alignment.
5359
f6ee6623
L
53602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5363 into R10_LP.
5364
ea2626f6
L
53652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5368
085f715e
L
53692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5374 Likewise.
5375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5376
be8498fc
L
53772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5380 (stackinfo_sub_sp): Likewise.
5381
70bc83b9
L
53822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5383
5384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5385 RAX_LP.
5386
9bc0b730
L
53872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5388
5389 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5390 into R*_LP.
5391
6d2850e7
L
53922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5393
5394 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5395 sizes into R*_LP.
5396
3cb84561
L
53972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5398
5399 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5400
54e2ed81
L
54012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5402
5403 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5404 into R11_LP and load __x86_64_shared_cache_size_half into
5405 R8_LP.
5406
8a17f349
L
54072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5410 R8_LP.
5411
777b1eea
AZ
54122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5413
5414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5415 logb for POWER7.
5416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5417 logbf for POWER7.
5418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5419 logbl for POWER7.
5420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5421 powerpc32/power7/fpu/s_logb.c via #include.
5422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5423 powerpc32/power7/fpu/s_logbf.c via #include.
5424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5425 powerpc32/power7/fpu/s_logbl.c via #include.
5426
d20d4ac2
JM
54272012-05-15 Joseph Myers <joseph@codesourcery.com>
5428
5429 * README.libm: Remove file.
5430
6cdef1ab
L
54312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5432
5433 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5434 count for x32. Use R*_LP and omit operand-size suffix.
5435
0b254d8f
L
54362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5437
5438 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5439 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5440 * sysdeps/x86_64/x32/shlib-versions: New file.
5441
ceb809dc
RM
54422012-05-14 Roland McGrath <roland@hack.frob.com>
5443
5444 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5445 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5446 Use _dl_fatal_printf instead.
5447
37f1abd4
JM
54482012-05-14 Joseph Myers <joseph@codesourcery.com>
5449
5450 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5451 set if not set by the user. Do not allow for being unset.
5452 * sysdeps/unix/sysv/linux/configure: Regenerated.
5453
11de3a33
L
54542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5455
5456 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5457 the `q' suffix from lea and replace .quad with ASM_ADDR.
5458
e02f153a
L
54592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5460
5461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5462 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5463 instead of $17.
5464 (PTR_DEMANGLE): Likewise.
5465
520ae0fd
L
54662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5467
5468 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5469 (LP_OP): Likewise.
5470 (ASM_ADDR): Likewise.
5471 (RAX_LP): Likewise.
5472 (RBP_LP): Likewise.
5473 (RBX_LP): Likewise.
5474 (RCX_LP): Likewise.
5475 (RDI_LP): Likewise.
5476 (RSI_LP): Likewise.
5477 (RSP_LP): Likewise.
5478 (R8_LP): Likewise.
5479 (R9_LP): Likewise.
5480 (R10_LP): Likewise.
5481 (R10_LP): Likewise.
5482 (R11_LP): Likewise.
5483 (R12_LP): Likewise.
5484 (R13_LP): Likewise.
5485 (R14_LP): Likewise.
5486 (R15_LP): Likewise.
5487
b985be81
L
54882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * sysdeps/x86_64/x32/dl-machine.h: New file.
5491
6a4888ff
AJ
54922012-05-14 Andreas Jaeger <aj@suse.de>
5493
5494 * manual/Makefile (subdir): Remove export of subdir.
5495 (all): Remove target.
5496 (.PHONY): Remove all from list.
5497 (mkinstalldirs): Remove.
5498 (.PHONY): Remove installdirs from list.
5499 ($(inst_infodir)/libc.info): Use make-target-directory.
5500 (installdirs): Remove.
5501 (subdir_%): Remove.
5502 (glibc-targets): Remove.
5503 (lib): Remove.
5504 (stubs): Remove.
5505 ($(objpfx)stubs ../po/manual.pot): Remove.
5506 ($(objpfx)stamp%): Remove.
5507 (make-target-directory): Remove.
5508 (subdir_install): Remove.
5509 (routines): Remove.
5510 (aux): Remove.
5511 (sources): Remove.
5512 (objects): Remove.
5513 (headers): Remove.
5514
5515 [BZ #13750]
5516 * manual/.gitignore: Remove, it's not needed anymore.
5517 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5518 all files in it.
5519 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5520 directory.
5521 (texis): Renamed to $(objpfx)texis.
5522 (texis-path): New, contains path to generated files.
5523 (chapters.%): Use texis-path for complete path, add extra argument
5524 libc-texinfo.sh.
5525 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5526 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5527 (summary,texi, stamp-summary): Use complete path of
5528 files. Generate files in build dir.
5529 (dir-add.texi): Build in build dir.
5530 (libm-err.texi,stamp-libm-err): Likewise.
5531 (version.texi, stamp-version): Likewise.
5532 (.%c.texi): Likewise.
5533 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5534 (mostlyclean): Remove target.
5535 (realclean): Remove target.
5536 (generated): Add new variable with contents from mostlyclean and
5537 realclean, remove entries duplicated in common-mostlyclean, add
5538 stamp-libm-err and stamp-version.
5539 (generated-dirs): Add libc directory.
5540 ($(inst_infodir)/libc.info): Install files from build dir.
5541
5542 * manual/install.texi (Configuring and compiling): Adjust since
5543 the info files are not part of the tar ball anymore.
5544
7ac77294
AJ
55452012-05-14 Andreas Jaeger <aj@suse.de>
5546
5547 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5548 variable.
5549
ffb7875d
JM
55502012-05-14 Joseph Myers <joseph@codesourcery.com>
5551
5552 [BZ #13717]
5553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5554 to 2.2.0 where earlier.
5555 * sysdeps/unix/sysv/linux/configure: Regenerated.
5556 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5557 Remove conditional code.
5558 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5559 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5560 Remove conditional code.
5561 [!__NR_lchown]: Likewise.
5562 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5563 [__NR_lchown]: Likewise.
5564 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5565 comment referencing __ASSUME_LCHOWN_SYSCALL.
5566 * sysdeps/unix/sysv/linux/i386/sigaction.c
5567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5569 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5570 Remove conditional code.
5571 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5572 (__protocol_available): Remove #if 0 code.
5573 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5574 conditional code.
5575 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5576 * sysdeps/unix/sysv/linux/kernel-features.h
5577 (__ASSUME_GETCWD_SYSCALL): Don't define.
5578 (__ASSUME_REALTIME_SIGNALS): Likewise.
5579 (__ASSUME_PREAD_SYSCALL): Likewise.
5580 (__ASSUME_PWRITE_SYSCALL): Likewise.
5581 (__ASSUME_POLL_SYSCALL): Likewise.
5582 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5583 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5584 non-SPARC.
5585 (__ASSUME_SIOCGIFNAME): Don't define.
5586 (__ASSUME_MSG_NOSIGNAL): Likewise.
5587 (__ASSUME_SENDFILE): Define unconditionally.
5588 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5589 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5590 conditional code.
5591 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5592 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5593 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5594 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5595 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5596 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5597 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5614 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5620 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5622 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5623 Remove conditional code.
5624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5625 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5626 Remove conditional code.
5627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5628 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5629 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5630 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5631 Remove conditional code.
5632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5633 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5634 Remove conditional code.
5635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5636 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5637 Remove conditional code.
5638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5639 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5640 Remove conditional code.
5641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5642 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5643 Remove conditional code.
5644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5645 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5648 * sysdeps/unix/sysv/linux/sigaction.c
5649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5651 * sysdeps/unix/sysv/linux/sigpending.c
5652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5654 * sysdeps/unix/sysv/linux/sigprocmask.c
5655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5657 * sysdeps/unix/sysv/linux/sigsuspend.c
5658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5660 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5661 (__libc_missing_rt_sigs): Remove.
5662 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5663 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5664 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5665 Remove conditional code.
5666 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5667 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5668 return 1.
5669 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5670 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5671 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5672 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5673
1bfb7291
AJ
56742012-05-14 Andreas Jaeger <aj@suse.de>
5675
caae5a81
AJ
5676 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5677 it's not used in glibc.
5678 (__coshm1): Likewise.
5679 (__acosh1p): Likewise.
5680 (__sgn): Likewise.
5681
1bfb7291
AJ
5682 * manual/string.texi (Copying and Concatenation): Add missing
5683 variable in concat example.
5684 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5685
c044d724
L
56862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5687
144c5467 5688 [BZ #14103]
c044d724
L
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5690 __builtin_clzl with __builtin_clzll.
5691
2523c62b
L
56922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5693
5694 [BZ #14104]
5695 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5696 libc_freeres_ptr.
5697
d7bb4c42
LD
56982012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5699
5700 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5701 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5702 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5703 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5704
9dc4e1fb
MF
57052012-05-14 Mike Frysinger <vapier@gentoo.org>
5706
5707 * NEWS: Update ia64 info.
5708
c7df0112
AS
57092012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5710
5711 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5712 used as bcopy.
5713
dc70356c
TS
57142012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5715
5716 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5717 * sysdeps/unix/syscalls.list (dup3): Likewise.
5718 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5719 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5720
9fb1a21f
L
57212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5724 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5725
4822a2a5
L
57262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5727
5728 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5729 thread pointer.
5730 (TLS_IE): Use mov/add instead of movq/addq to load thread
5731 pointer.
5732 (TLS_GD_PREFIX): New.
5733 (TLS_GD): Use it.
5734
842b81d6
DM
57352012-05-11 David S. Miller <davem@davemloft.net>
5736
5737 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5738 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5739 (_FPU_SETCW): Likewise.
5740
1cf463cd
L
57412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5744 is 32-byte aligned.
5745
60cc4a18
AS
57462012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5747
5748 [BZ #11837]
5749 * iconvdata/gb18030.c: Update tables.
5750 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5751 characters specially.
5752 (BODY for TO_LOOP): Add encoding of missing ranges.
5753
febb44a4
TS
57542012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5755
5756 [BZ #13673]
5757 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5758 * sysdeps/mach/hurd/dup3.c: Likewise.
5759 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5760 * sysdeps/powerpc/memmove.c:: Likewise.
5761
0a10fb9e
L
57622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5763
5764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5765 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5766
df8a552f
L
57672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5768
5769 * elf/elf.h (R_X86_64_RELATIVE64): New.
5770 (R_X86_64_NUM): Updated.
5771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5772 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5773 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5774 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5775 tst-quad1pie tst-quad2pie
5776 (modules-names): Add tst-quadmod1 tst-quadmod2.
5777 ($(objpfx)tst-quad1): New dependency.
5778 ($(objpfx)tst-quad2): Likewise.
5779 ($(objpfx)tst-quad1pie): Likewise.
5780 ($(objpfx)tst-quad2pie): Likewise.
5781 * sysdeps/x86_64/tst-quad1.c: New file.
5782 * sysdeps/x86_64/tst-quad1pie.c: New file.
5783 * sysdeps/x86_64/tst-quad2.c: Likewise.
5784 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5785 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5786 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5787 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5788 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5789
f34d6f84
ST
57902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5791
f42d41d1
ST
5792 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5793 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5794 * streams/stropts.h (t_scalar_t): Define type.
5795
3c3571fc
ST
5796 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5797 (_PATH_PRESERVE): Set to "/var/lib".
5798 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5799
61f06bd3
ST
5800 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5801 instead of int.
5802
918d4d71
ST
5803 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5804 if __dir_mkfile succeeded.
5805
f34d6f84
ST
5806 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5807 checking for _hurd_dtablesize. Unlock it right after having
5808 finished _hurd_dtable allocation.
5809
10589b4a
TS
58102012-05-10 Thomas Schwinge <thomas@schwinge.name>
5811
674cdbc7
TS
5812 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5813 * sysdeps/mach/hurd/configure: Regenerated.
5814 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5815 special-casing to...
5816 * sysdeps/gnu/configure.in: ... this new file.
5817 * sysdeps/unix/sysv/linux/configure: Regenerated.
5818 * sysdeps/gnu/configure: New generated file.
5819
8e41b99f
TS
5820 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5821 for Linux: use nsec instead of usec, as well as:
5822 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5823 members of type struct timespec.
5824 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5825 New macros.
5826 (struct stat64): Likewise.
5827 (_STATBUF_ST_NSEC): New macro.
5828 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5829
10589b4a
TS
5830 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5831 __strtoul_internal rather than strtoul.
5832
63643c85
PT
58332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5834
5835 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5836 and reject them.
5837
3faebe6a
ST
58382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5839
5840 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5841 which preserves existing values.
5842 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5843
c6474b07
PT
58442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5845
5846 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5847 TIMEOUT values. Return EINVAL for NFDS values either negative or
5848 greater than FD_SETSIZE.
5849
1043890b
ST
58502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5851
5852 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5853 allocated, call __vm_protect to finish enabling the existing space, and
5854 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5855 allocate the remainder.
5856
37ed8b9b
PT
58572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5858
5859 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5860 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5861
db653660
ST
58622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5863
37ed8b9b
PT
5864 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5865 sysdeps/mach/hurd/readlink.c.
b29d4053 5866
db653660
ST
5867 * posix/tst-sysconf.c (posix_options): Only use
5868 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5869 _POSIX_SYNCHRONIZED_IO when they are defined
5870 * sysdeps/mach/hurd/bits/posix_opt.h:
5871 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5872 (_XOPEN_REALTIME): Undefine macro.
5873 (_XOPEN_REALTIME_THREADS): Undefine macro.
5874 (_XOPEN_SHM): Undefine macro.
5875 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5876 macro to -1.
5877 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5878 macro to -1.
5879 (_POSIX_ASYNC_IO): Undefine macro.
5880 (_POSIX_PRIORITIZED_IO): Undefine macro.
5881 (_POSIX_SPIN_LOCKS): Define macro to -1.
5882
ee16e894
ST
5883 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5884 SA_NODEFER, SA_RESETHAND.
5885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5886 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5887 F_DUPFD_CLOEXEC.
5888
6103ae3b
TS
58892012-05-10 Thomas Schwinge <thomas@schwinge.name>
5890
5891 * elf/Makefile (pldd-modules): Define unconditionally.
5892
80b4e5f3
TS
58932012-05-10 Thomas Schwinge <thomas@schwinge.name>
5894
5895 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5896
edadcbd6
ST
58972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5898
5899 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5900 Return ENOENT when name is empty.
5901 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5902
80694780
TS
59032012-05-10 Thomas Schwinge <thomas@schwinge.name>
5904
1792c087
TS
5905 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5906
80694780
TS
5907 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5908
6b645f0d
ST
59092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5910
80694780
TS
5911 Fix mlock in all cases except non-readable pages.
5912 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5913 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5914
6b645f0d
ST
5915 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5916 (__mkdir): When path is `/', just fail with EEXIST.
5917 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5918
e468f8a3
TS
59192012-05-10 Thomas Schwinge <thomas@schwinge.name>
5920
5921 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5922 <sys/uio.h> (for writev).
5923 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5924 and <sys/param.h> (for MIN).
5925
a4186cff
PT
59262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5927
5928 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5929 REQUESTED_TIME. Properly set the remaining time and return EINTR
5930 if interrupted.
5931
510bbf14
TS
59322012-05-10 Thomas Schwinge <thomas@schwinge.name>
5933
5934 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5935 Depend on against $(link-rpcuserlibs).
5936
5d5722e8
ST
59372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5938
a4186cff
PT
5939 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5940 (__libc_stack_end): Do not use attribute_relro.
5941 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5942 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5943 to libthread-provided value.
a4186cff
PT
5944 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5945 attribute_relro.
5d5722e8 5946
37233df9
TS
59472012-05-10 Thomas Schwinge <thomas@schwinge.name>
5948
be971a2b
TS
5949 [BZ #3748]
5950 * bits/libc-lock.h (__libc_once_get): New macro.
5951 * sysdeps/mach/bits/libc-lock.h: Likewise.
5952 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5954 instead of using implementation details.
5955
37233df9
TS
5956 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5957 * libio/freopen.c: Likewise.
5958 * libio/freopen64.c: Likewise.
5959 * misc/syslog.c: Likewise.
5960 * nscd/connections.c: Likewise.
5961 * nscd/netgroupcache.c: Likewise.
5962 * sysdeps/posix/getcwd.c: Likewise.
5963
38de94a5
RM
59642012-05-10 Roland McGrath <roland@hack.frob.com>
5965
5966 * math/w_ilogbf.c: Add #include <limits.h>.
5967
67530489
ST
59682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5969
a4186cff 5970 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5971 path instead of returning without unlocking.
5972
67530489
ST
5973 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5974 immediate-write ioctls.
5975 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5976
5aa3a74a
TS
59772012-05-10 Thomas Schwinge <thomas@schwinge.name>
5978
18bad2ae
TS
5979 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5980 __builtin_frame_address instead of making assumptions about the
5981 location of the return address relative to DATA. Force early load of
5982 the return address.
5983 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5984 __builtin_frame_address.
5985
5aa3a74a
TS
5986 dup3 for GNU Hurd.
5987 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5988 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5989 implement dup3 and do some further code clean-ups.
5990 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5991 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5992
ecd0de9a
ST
59932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5994
cd9fa985
ST
5995 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5996
a4186cff
PT
5997 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5998 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5999 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6000 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6001 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6002 d->port.lock.
802ca5a5 6003
a4186cff
PT
6004 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6005 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6006 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6007
bcf55240
TS
60082012-05-10 Thomas Schwinge <thomas@schwinge.name>
6009
6960eb42
TS
6010 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6011 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6012 definitions.
6013
eb43375f
TS
6014 accept4 for GNU Hurd.
6015 * include/sys/socket.h (__libc_accept4): New prototype.
6016 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6017 to implement __libc_accept4.
6018 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6019 __libc_accept4.
6020 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6021
bcf55240
TS
6022 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6023 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6024 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6025 signal-defines.sym.
6026
6178c55b
ST
60272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6028
a4186cff 6029 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6030
6f080c2f
TS
60312012-05-10 Thomas Schwinge <thomas@schwinge.name>
6032
6033 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6034 assertion on O_CLOEXEC flag.
6035 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6036 * hurd/intern-fd.c: Likewise.
6037 * hurd/port2fd.c: Likewise.
6038
bcfe3a54
ST
60392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6040
6041 [BZ #3906]
6042 * bits/in.h (IPV6_PKTINFO): Define new macro.
6043 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6044
89c9aa49
AZ
60452012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6046
6047 [BZ #13954]
6048 [BZ #13955]
6049 [BZ #13956]
6050 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6051 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6052 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6053 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6055 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6056 * math/libm-test.inc (logb_test) : Additional logb tests.
6057
021db4be
AJ
60582012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6059 Andreas Jaeger <aj@suse.de>
6060
6061 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6062 * configure: Regenerated.
6063 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6064 * config.make.in (link-obsolete-rpc): New substituted variable.
6065 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6066 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6067 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6068 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6069 so that libc.a contains the symbols.
6070 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6071 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6072 * sunrpc/auth_none.c: Likewise.
6073 * sunrpc/auth_unix.c: Likewise.
6074 * sunrpc/authdes_prot.c: Likewise.
6075 * sunrpc/authuxprot.c: Likewise.
6076 * sunrpc/clnt_gen.c: Likewise.
6077 * sunrpc/clnt_perr.c: Likewise.
6078 * sunrpc/clnt_raw.c: Likewise.
6079 * sunrpc/clnt_simp.c: Likewise.
6080 * sunrpc/clnt_tcp.c: Likewise.
6081 * sunrpc/clnt_udp.c: Likewise.
6082 * sunrpc/clnt_unix.c: Likewise.
6083 * sunrpc/des_crypt.c: Likewise.
6084 * sunrpc/des_soft.c: Likewise.
6085 * sunrpc/get_myaddr.c: Likewise.
6086 * sunrpc/key_call.c: Likewise.
6087 * sunrpc/key_prot.c: Likewise.
6088 * sunrpc/netname.c: Likewise.
6089 * sunrpc/pm_getmaps.c: Likewise.
6090 * sunrpc/pm_getport.c: Likewise.
6091 * sunrpc/pmap_clnt.c: Likewise.
6092 * sunrpc/pmap_prot.c: Likewise.
6093 * sunrpc/pmap_prot2.c: Likewise.
6094 * sunrpc/pmap_rmt.c: Likewise.
6095 * sunrpc/publickey.c: Likewise.
6096 * sunrpc/rpc_cmsg.c: Likewise.
6097 * sunrpc/rpc_common.c: Likewise.
6098 * sunrpc/rpc_dtable.c: Likewise.
6099 * sunrpc/rpc_prot.c: Likewise.
6100 * sunrpc/rpc_thread.c: Likewise.
6101 * sunrpc/rtime.c: Likewise.
6102 * sunrpc/svc.c: Likewise.
6103 * sunrpc/svc_auth.c: Likewise.
6104 * sunrpc/svc_raw.c: Likewise.
6105 * sunrpc/svc_run.c: Likewise.
6106 * sunrpc/svc_tcp.c: Likewise.
6107 * sunrpc/svc_udp.c: Likewise.
6108 * sunrpc/svc_unix.c: Likewise.
6109 * sunrpc/svcauth_des.c: Likewise.
6110 * sunrpc/xcrypt.c: Likewise.
6111 * sunrpc/xdr.c: Likewise.
6112 * sunrpc/xdr_array.c: Likewise.
6113 * sunrpc/xdr_float.c: Likewise.
6114 * sunrpc/xdr_intXX_t.c: Likewise.
6115 * sunrpc/xdr_mem.c: Likewise.
6116 * sunrpc/xdr_rec.c: Likewise.
6117 * sunrpc/xdr_ref.c: Likewise.
6118 * sunrpc/xdr_sizeof.c: Likewise.
6119 * sunrpc/xdr_stdio.c: Likewise.
6120
b5c086a2
RM
61212012-05-10 Roland McGrath <roland@hack.frob.com>
6122
6123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6124 change. Update copyright years.
6125
6d74dd09
JM
61262012-05-10 Joseph Myers <joseph@codesourcery.com>
6127
6128 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6129
28e72501
MK
61302012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6131 Joseph Myers <joseph@codesourcery.com>
6132 Paul Pluzhnikov <ppluzhnikov@google.com>
6133
6134 [BZ #14012]
6135 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6136 requiring rpcgen.
6137 [cross-compiling] (extra-libs): Likewise.
6138 [cross-compiling] (extra-libs-others): Likewise.
6139 [cross-compiling] (librpcsvc-routines): Likewise.
6140 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6141 [cross-compiling] (omit-deps): Likewise.
6142 (sunrpc-CPPFLAGS): New variable.
6143 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6144 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6145 (cross-rpcgen-objs): New variable.
6146 (extra-objs): Append $(cross-rpcgen-objs).
6147 ($(cross-rpcgen-objs)): New rule.
6148 ($(objpfx)cross-rpcgen): Likewise.
6149 (rpcgen-cmd): Define to use $(built-program-file). Expand
6150 comment.
6151 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6152 ($(objpfx)x%.stmp): Likewise.
6153 * sunrpc/proto.h [IS_IN_build] (_): Define.
6154 [IS_IN_build] (_libc_intl_domainname): Likewise.
6155
c8c59454
L
61562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6159 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6160 and R_X86_64_TPOFF64.
6161
6f27cd16
JM
61622012-05-10 Joseph Myers <joseph@codesourcery.com>
6163
6164 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6165 sysdeps/unix/sysv/syscalls.list.
6166 (stime): Likewise.
6167 (utime): Likewise.
6168 * sysdeps/unix/sysv/syscalls.list: Remove file.
6169
02467e1c
PE
61702012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6171
6172 [BZ #3440]
6173 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6174 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6175 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6176 (__LC_IDENTIFICATION): Make these macros useful in #if
6177 expressions, as required by C99.
6178
da392631
AS
61792012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6180
6181 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6182 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6183 after this.
6184
8115f29b
L
61852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6186
6187 * stdlib/longlong.h: Updated from GCC.
6188
bdd74070
AJ
61892012-05-09 Andreas Jaeger <aj@suse.de>
6190
edfe0dbe
AJ
6191 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6192 default is first entry.
6193 (run_mode): Set type.
6194 (main): Remove informal message about syslog.
6195 (options): Fix typo.
6196
bcfe3a54
ST
6197 [BZ #14053]
6198 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6199 to asm.
bcfe3a54
ST
6200 (lrint): Likewise.
6201 (llrintf): Likewise.
6202 (llrint): Likewise.
6203 (rint): Likewise.
6204 (rintf): Likewise.
6205 (nearbyint): Likewise.
6206 (nearbyintf): Likewise.
bdd74070 6207
91d8d69e
AJ
62082012-05-09 Andreas Jaeger <aj@suse.de>
6209 Pedro Alves <palves@redhat.com>
6210
6211 * nscd/nscd.c (run_mode): Use enum.
6212 (main): Cleanup coding style issue.
6213
bb90b80b
AJ
62142012-05-09 Alexandre Oliva <aoliva@redhat.com>
6215 Andreas Jaeger <aj@suse.de>
6216
bcfe3a54
ST
6217 * nscd/nscd.c (go_background): Replaced with...
6218 (run_mode): ... this.
bb90b80b 6219 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6220 (options): Add -F --foreground.
6221 (main): Implement it.
6222 (parse_opt): Parse it.
bb90b80b 6223
1a4b75a1
AJ
62242012-05-09 Andreas Jaeger <aj@suse.de>
6225
6226 [BZ #14083]
6227 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6228 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6229 -Wconversion warning.
6230 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6231 Likewise.
6232
b1cc2472
JM
62332012-05-09 Joseph Myers <joseph@codesourcery.com>
6234
6235 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6236 == 0.
6237 (LC_ALL): Use macro-int-constant.
6238 (LC_COLLATE): Likewise.
6239 (LC_CTYPE): Likewise.
6240 (LC_MESSAGES): Likewise.
6241 (LC_MONETARY): Likewise.
6242 (LC_NUMERIC): Likewise.
6243 (LC_TIME): Likewise.
6244 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6245 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6247 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6248 Specify type.
6249 [C99-based standards] (float_t): Expect type.
6250 [C99-based standards] (double_t): Expect type.
6251 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6252 type.
6253 [C99-based standards] (HUGE_VALL): Likewise.
6254 [C99-based standards] (INFINITY): Likewise.
6255 [C99-based standards] (NAN): Likewise.
6256 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6257 [C99-based standards] (FP_NAN): Likewise.
6258 [C99-based standards] (FP_NORMAL): Likewise.
6259 [C99-based standards] (FP_SUBNORMAL): Likewise.
6260 [C99-based standards] (FP_ZERO): Likewise.
6261 [C99-based standards] (FP_FAST_FMA): Use
6262 optional-macro-int-constant. Specify type. Require == 1.
6263 [C99-based standards] (FP_FAST_FMAF): Likewise.
6264 [C99-based standards] (FP_FAST_FMAL): Likewise.
6265 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6266 [C99-based standards] (FP_ILOGBNAN): Likewise.
6267 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6268 Specify type.
6269 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6270 [C99-based standards] (math_errhandling): Specify type.
6271 [ISO99 || ISO11] (signgam): Do not allow.
6272 [non-C99-based standards] (copysignf): Do not allow.
6273 [non-C99-based standards] (exp2f): Likewise.
6274 [non-C99-based standards] (log2f): Likewise.
6275 [non-C99-based standards] (modff): Allow.
6276 [non-C99-based standards] (erff): Do not allow.
6277 [non-C99-based standards] (erfcf): Likewise.
6278 [non-C99-based standards] (gammaf): Likewise.
6279 [non-C99-based standards] (hypotf): Likewise.
6280 [non-C99-based standards] (j0f): Likewise.
6281 [non-C99-based standards] (j1f): Likewise.
6282 [non-C99-based standards] (jnf): Likewise.
6283 [non-C99-based standards] (lgammaf): Likewise.
6284 [non-C99-based standards] (tgammaf): Likewise.
6285 [non-C99-based standards] (y0f): Likewise.
6286 [non-C99-based standards] (y1f): Likewise.
6287 [non-C99-based standards] (ynf): Likewise.
6288 [non-C99-based standards] (isnanf): Likewise.
6289 [non-C99-based standards] (acoshf): Likewise.
6290 [non-C99-based standards] (asinhf): Likewise.
6291 [non-C99-based standards] (atanhf): Likewise.
6292 [non-C99-based standards] (cbrtf): Likewise.
6293 [non-C99-based standards] (expm1f): Likewise.
6294 [non-C99-based standards] (ilogbf): Likewise.
6295 [non-C99-based standards] (log1pf): Likewise.
6296 [non-C99-based standards] (logbf): Likewise.
6297 [non-C99-based standards] (nextafterf): Likewise.
6298 [non-C99-based standards] (remainderf): Likewise.
6299 [non-C99-based standards] (rintf): Likewise.
6300 [non-C99-based standards] (scalbf): Likewise.
6301 [non-C99-based standards] (copysignl): Likewise.
6302 [non-C99-based standards] (exp2l): Likewise.
6303 [non-C99-based standards] (log2l): Likewise.
6304 [non-C99-based standards] (modfl): Allow.
6305 [non-C99-based standards] (erfl): Do not allow.
6306 [non-C99-based standards] (erfcl): Likewise.
6307 [non-C99-based standards] (gammal): Likewise.
6308 [non-C99-based standards] (hypotl): Likewise.
6309 [non-C99-based standards] (j0l): Likewise.
6310 [non-C99-based standards] (j1l): Likewise.
6311 [non-C99-based standards] (jnl): Likewise.
6312 [non-C99-based standards] (lgammal): Likewise.
6313 [non-C99-based standards] (tgammal): Likewise.
6314 [non-C99-based standards] (y0l): Likewise.
6315 [non-C99-based standards] (y1l): Likewise.
6316 [non-C99-based standards] (ynl): Likewise.
6317 [non-C99-based standards] (isnanl): Likewise.
6318 [non-C99-based standards] (acoshl): Likewise.
6319 [non-C99-based standards] (asinhl): Likewise.
6320 [non-C99-based standards] (atanhl): Likewise.
6321 [non-C99-based standards] (cbrtl): Likewise.
6322 [non-C99-based standards] (expm1l): Likewise.
6323 [non-C99-based standards] (ilogbl): Likewise.
6324 [non-C99-based standards] (log1pl): Likewise.
6325 [non-C99-based standards] (logbl): Likewise.
6326 [non-C99-based standards] (nextafterl): Likewise.
6327 [non-C99-based standards] (remainderl): Likewise.
6328 [non-C99-based standards] (rintl): Likewise.
6329 [non-C99-based standards] (scalbl): Likewise.
6330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6331 [non-C99-based standards] (FP_*): Do not allow.
6332 [C99-based standards] (FP_*): Change to
6333 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6334 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6335 allow.
6336 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6337 (SIG_ERR): Likewise.
6338 [X/Open-based standards] (SIG_HOLD): Likewise.
6339 (SIG_IGN): Likewise.
6340 (SIGABRT): Use macro-int-constant. Specify type. Require
6341 positive value.
6342 (SIGFPE): Likewise.
6343 (SIGILL): Likewise.
6344 (SIGINT): Likewise.
6345 (SIGSEGV): Likewise.
6346 (SIGTER): Likewise.
6347 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6348 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6351 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6353 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6354 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6356 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6357 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6358 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6360 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6362 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6363 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6364 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6365 [X/Open-based standards] (SIGTRAP): Likewise.
6366 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6367 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6368 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6370 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6371 allow.
6372
b9f1922d
IW
63732012-05-08 Ian Wienand <ianw@vmware.com>
6374
6375 [BZ #14080]
6376 * time/tzset.c (__tzset_parse_tz): Update default rules for
6377 daylight time changes in the Energy Policy Act of 2005.
6378
1db86e88
AJ
63792012-05-09 Andreas Jaeger <aj@suse.de>
6380
6381 [BZ #13983]
6382 * elf/ldconfig.c (parse_conf): Change string to make clear that
6383 ldconfig only issued a warning if ld.so.conf does not exist.
6384
dee4a4e3
DM
63852012-05-08 David S. Miller <davem@davemloft.net>
6386
ee0db190
DM
6387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6388 movxtod instead of popping the value on the stack.
6389
dee4a4e3
DM
6390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6391
6a43ec98
CD
63922012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6393
6394 * config.h.in: Add HAVE_ARM_PCS_VFP.
6395
05c2c961
RMG
63962012-05-08 Roland Mc Grath <roland@hack.frob.com>
6397
bcfe3a54
ST
6398 [BZ #13979]
6399 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6400 checking but the checks are disabled for any reason.
05c2c961 6401
4b30f61a
L
64022012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6403
6404 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6405 and ELF64_R_TYPE with ELFW(R_TYPE).
6406
eee2bc67
JM
64072012-05-08 Joseph Myers <joseph@codesourcery.com>
6408
7ea5391a
JM
6409 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6410 (ulimit): Likewise.
6411
eee2bc67
JM
6412 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6413 (settimeofday): Likewise.
6414
abb66a67
MF
64152012-05-08 Mike Frysinger <vapier@gentoo.org>
6416
6417 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6418 a struct th_u2 inside the union, and move tu_block/tu_code into
6419 a new th_u3 union of tu_block/tu_code inside of that. Move
6420 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6421 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6422 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6423 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6424 (th_stuff): Change to th_u1.tu_stuff.
6425 (th_data): Define.
6426 (th_msg): Change to th_u1.th_u2.tu_data.
6427
7f18b530
DM
64282012-05-07 David S. Miller <davem@davemloft.net>
6429
05760585
DM
6430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6431
7f18b530
DM
6432 [BZ #14074]
6433 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6434 (SETUP_PIC_REG): Use it.
6435 (SETUP_PIC_REG_LEAF): Use it.
6436
495fd99f
JM
64372012-05-07 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #13885]
6440 [BZ #13923]
6441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6442 USE_AS_EXPM1L.
6443 (EXPL_FINITE): Likewise.
6444 (FLDLOG): Likewise.
6445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6446 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6447 e_expl.S.
6448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6449 USE_AS_EXPM1L.
6450 (EXPL_FINITE): Likewise.
6451 (FLDLOG): Likewise.
6452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6453 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6454 e_expl.S.
6455 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6456 test of -max_value argument for long double.
6457 * sysdeps/i386/fpu/libm-test-ulps: Update.
6458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6459
6693d694
DM
64602012-05-06 David S. Miller <davem@davemloft.net>
6461
6462 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6463 quad soft-float symbols whose references which are compiler
6464 generated.
6465 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6466
6c23e11c
JM
64672012-05-06 Joseph Myers <joseph@codesourcery.com>
6468
d8b82cad
JM
6469 [BZ #13884]
6470 [BZ #13914]
6471 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6472 USE_AS_EXP10L.
6473 (EXPL_FINITE): Likewise.
6474 (FLDLOG): Likewise.
6475 (c0): Likewise.
6476 (c1): Likewise.
6477 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6478 Adjust comments for base varying.
6479 (__expl_finite): Change alias to EXPL_FINITE.
6480 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6481 e_expl.S.
6482 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6483 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6485 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6487 USE_AS_EXP10L.
6488 (EXPL_FINITE): Likewise.
6489 (FLDLOG): Likewise.
6490 (c0): Likewise.
6491 (c1): Likewise.
6492 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6493 Adjust comments for base varying.
6494 (__expl_finite): Change alias to EXPL_FINITE.
6495 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6496 tests for bugs.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6498
6c23e11c
JM
6499 [BZ #14064]
6500 * math/libm-test.inc (check_float_internal): Correct ulp
6501 calculation for subnormal expected results.
6502
29ba805c
AJ
65032012-05-06 Andreas Jaeger <aj@suse.de>
6504
6505 * Makeconfig (+math-flags): New, set to -frounding-math.
6506 (+cflags): Add +math-flags so that all of glibc gets compiled with
6507 it.
6508
6509 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6510
7b17aeda
JM
65112012-05-05 Joseph Myers <joseph@codesourcery.com>
6512
5779f134
JM
6513 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6514 Disable one test.
6515
41498f4d
JM
6516 [BZ #13787]
6517 [BZ #13922]
6518 [BZ #14036]
6519 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6520 (__ieee754_expl): Allow for and saturate large arguments.
6521 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6522 (u_threshold): Likewise.
6523 (__exp): Call __ieee754_exp before checking for overflow and
6524 underflow.
6525 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6526 (u_threshold): Likewise.
6527 (__expf): Call __ieee754_expf before checking for overflow and
6528 underflow.
6529 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6530 (u_threshold): Likewise.
6531 (__expl): Call __ieee754_expl before checking for overflow and
6532 underflow.
6533 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6534 (__ieee754_expl): Allow for and saturate large arguments.
6535 * math/libm-test.inc (exp_test): Add another test. Do not allow
6536 missing overflow exception on overflow.
6537 (expm1_test): Do not allow missing overflow exception on overflow.
6538
6698b8bf
JM
6539 * sysdeps/i386/fpu/e_expl.c: Move to ...
6540 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6541 rather than using inline asm.
6542 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6543 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6544 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6545
7b17aeda
JM
6546 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6547 (nice): Likewise.
6548 (poll): Likewise.
6549 (signal): Likewise.
6550 (time): Likewise.
6551 (times): Likewise.
6552
f7c85819
JM
65532012-05-04 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6556 sysdeps/unix/common/syscalls.list.
6557 (fchmod): Likewise.
6558 (fchown): Likewise.
6559 (ftruncate): Likewise.
6560 (getrusage): Likewise.
6561 (gettimeofday): Likewise.
6562 (setpgid): Likewise.
6563 (setregid): Likewise.
6564 (setreuid): Likewise.
6565 (sigaction): Likewise.
6566 (truncate): Likewise.
6567 (vhangup): Likewise.
6568 * sysdeps/unix/common/syscalls.list: Remove file.
6569 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6570 * sysdeps/unix/sysv/linux/Implies: Likewise.
6571
336270d0
L
65722012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6573
6574 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6576 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6577 Moved to ...
6578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6579 Here.
6580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6581 to ...
6582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6584 to ...
6585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6586 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6587 to ...
6588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6589 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6590 to ...
6591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6592 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6593 to ...
6594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6595 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6596 to ...
6597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6599 to ...
6600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6601 Here.
6602 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6603 to ...
6604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6605 Here.
6606 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6607 to ...
6608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6609 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6610 Moved to ...
6611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6612 Here.
6613 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6614 to ...
6615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6616
d128e450
JM
66172012-05-04 Joseph Myers <joseph@codesourcery.com>
6618
fa8ee516
JM
6619 * sysdeps/unix/common/bits/dirent.h: Remove file.
6620 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6621
d128e450
JM
6622 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6623 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6624 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6625 * sysdeps/unix/bsd/isatty.c: Likewise.
6626 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6627 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6628 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6629
ff8faaf0 66302012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6631
62881be4 6632 [BZ #13563]
31dc8730
AZ
6633 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6634 long double comparison inaccuracies.
6635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6637
6fef930c
AS
66382012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6639
6640 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6642
8f203e6c
JM
66432012-05-04 Joseph Myers <joseph@codesourcery.com>
6644
6645 [BZ #14049]
6646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6647 nonzero digits before rounding a hex value.
6648 * stdlib/tst-strtod.c (tests): Add another test.
6649
5197d9c2
AK
66502012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6651
6652 * sysdeps/s390/fpu/libm-test-ulps: Update.
6653
f0c1dedf
AJ
66542012-05-03 Andreas Jaeger <aj@suse.de>
6655
6656 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6657 does not get optimized out.
6658 (malloc_opt_barrier): New.
6659
a65ef2ae 66602012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6661 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6662
2b942cb7 6663 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6664 intermediate file deletion.
2b942cb7 6665 (generated): Add .symlist files.
a65ef2ae 6666
54b71e02
JM
66672012-05-03 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #13775]
6670 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6671 Redirect under this condition.
6672 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6673 [__USE_GNU] (__dprintf_chk): Not under this condition.
6674 [__USE_GNU] (__vdprintf_chk): Likewise.
6675 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6676 under this condition.
6677 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6678 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6679 [__USE_XOPEN2K8] (vdprintf): Likewise.
6680 [__USE_GNU] (__dprintf_chk): Not under this condition.
6681 [__USE_GNU] (__vdprintf_chk): Likewise.
6682 [__USE_GNU] (dprintf): Likewise.
6683 [__USE_GNU] (vdprintf): Likewise.
6684
d3dfcc41
RM
66852012-05-03 Roland McGrath <roland@hack.frob.com>
6686
6687 * elf/Makefile (common-generated): Set this instead of generated for
6688 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6689 $(all-built-dso)-derived lists.
6690
7ac30cc5
AJ
66912012-05-03 Andreas Jaeger <aj@suse.de>
6692
0c51e550
AJ
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6694
7ac30cc5
AJ
6695 * FAQ: Removed.
6696 * FAQ.in: Likewise.
6697 * scripts/gen-FAQ.pl: Likewise.
6698 * manual/install.texi (Installation): Point to online location of
6699 FAQ.
6700 * Makefile (files-for-dist): Remove FAQ.
6701 (FAQ): Remove.
6702
d4c2917f
AM
67032012-05-02 Allan McRae <allan@archlinux.org>
6704
6705 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6706 (LDFLAGS-reldepmod5.so): Likewise.
6707 (LDFLAGS-reldep6mod1.so): Likewise.
6708 (LDFLAGS-reldep6mod4.so): Likewise.
6709 (LDFLAGS-reldep8mod3.so): Likewise.
6710 (LDFLAGS-unload4mod1.so): Likewise.
6711 (LDFLAGS-unload4mod2.so): Likewise.
6712 (LDFLAGS-tst-initorder): Likewise.
6713 (LDFLAGS-tst-initordera2.so): Likewise.
6714 (LDFLAGS-tst-initordera3.so): Likewise.
6715 (LDFLAGS-tst-initordera4.so): Likewise.
6716 (LDFLAGS-tst-initorderb2.so): Likewise.
6717 (LDFLAGS-noload): Likewise.
6718 (LDFLAGS-next): Likewise.
6719 (LDFLAGS-order2mod1.so): Likewise.
6720 (LDFLAGS-order2mod2.so): Likewise.
6721 (LDFLAGS-tst-initorder2): Likewise.
6722 (LDFLAGS-tst-initorder2a.so): Likewise.
6723 (LDFLAGS-tst-initorder2b.so): Likewise.
6724 (LDFLAGS-tst-initorder2c.so): Likewise.
6725 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6726
d77f993f
DM
67272012-05-02 David S. Miller <davem@davemloft.net>
6728
6729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6730
171a70b4
PP
67312012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6732
6733 [BZ #14055]
6734 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6735
0be196ad
AJ
67362012-05-02 Andreas Jaeger <aj@suse.de>
6737
6738 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6739 since we manipulate rounding mode.
6740 (CPPFLAGS-test-idouble.c): Likewise.
6741 (CPPFLAGS-test-ifloat.c): Likewise.
6742 (CFLAGS-test-ldouble.c): Likewise.
6743 (CFLAGS-test-double.c): Likewise.
6744 (CFLAGS-test-float.c): Likewise.
6745 (CFLAGS-test-misc.c): Likewise.
6746 (CFLAGS-test-test-fenv.c): Likewise.
6747
4f9d04aa
AZ
67482012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749
2b942cb7
RM
6750 [BZ #2550]
6751 [BZ #2570]
6752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6753 comparisons to determine direction to adjust input.
4f9d04aa 6754
82a79e7d
RM
67552012-05-01 Roland McGrath <roland@hack.frob.com>
6756
f5a01ca9
RM
6757 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6758 output to the target.
6759
90fe4186
RM
6760 * scripts/localplt.awk: New file.
6761 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6762 (check-localplt-CFLAGS): Variable removed.
6763 ($(all-built-dso:=.jmprel)): New static pattern rule.
6764 (generated): Add those targets.
6765 (localplt-built-dso): New variable.
6766 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6767
6768 * elf/check-localplt.c: File removed.
6769
82397ed6
RM
6770 * scripts/check-execstack.awk: New file.
6771 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6772 (check-execstack-CFLAGS): Variable removed.
6773 ($(objpfx)check-execstack.h): Target removed.
6774 ($(objpfx)execstack-default): New target.
6775 (generated): Add that instead of check-execstack.h.
6776 ($(all-built-dso:=.phdr)): New static pattern rule.
6777 (generated): Add those targets.
6778 * elf/check-execstack.c: File removed.
6779
82a79e7d
RM
6780 * scripts/check-textrel.awk: New file.
6781 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6782 (check-textrel-CFLAGS): Variable removed.
6783 (all-built-dso): Use := to define.o
6784 ($(all-built-dso:=.dyn)): New static pattern rule.
6785 (generated): Add those targets.
6786 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6787 * config.make.in (READELF): New substituted variable.
6788 * elf/check-textrel.c: File removed.
6789
62fde54f 67902012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6791
615605c9
JM
6792 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6793 allow.
6794 * conform/data/ctype.h-data [C99-based standards] (isblank):
6795 Expect function.
6796 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6797 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6799 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6800 Specify type. Require positive value.
6801 (EILSEQ): Likewise.
6802 (ERANGE): Likewise.
6803 [ISO || POSIX] (EILSEQ): Do not expect.
6804 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6805 Specify type. Require positive value.
6806 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6807 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6808 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6809 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6810 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6811 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6812 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6813 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6814 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6815 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6816 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6817 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6818 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6819 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6820 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6821 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6822 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6823 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6824 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6825 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6826 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6827 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6828 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6829 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6830 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6831 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6832 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6833 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6834 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6835 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6836 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6837 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6838 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6839 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6840 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6841 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6842 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6843 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6844 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6845 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6846 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6847 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6848 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6849 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6850 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6851 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6852 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6853 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6854 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6855 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6856 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6857 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6858 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6859 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6860 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6861 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6862 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6863 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6864 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6865 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6866 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6867 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6868 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6869 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6870 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6871 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6872 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6873 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6874 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6875 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6876 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6877 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6878 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6879 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6880 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6881 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6882 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6883 Require >= 2.
6884 (FLT_ROUNDS): Expect as macro, not constant.
6885 (FLT_MANT_DIG): Use macro-int-constant.
6886 (DBL_MANT_DIG): Likewise.
6887 (LDBL_MANT_DIG): Likewise.
6888 (FLT_DIG): Likewise.
6889 (DBL_DIG): Likewise.
6890 (LDBL_DIG): Likewise.
6891 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6892 (DBL_MIN_EXP): Likewise.
6893 (LDBL_MIN_EXP): Likewise.
6894 (FLT_MAX_EXP): Use macro-int-constant.
6895 (DBL_MAX_EXP): Likewise.
6896 (LDBL_MAX_EXP): Likewise.
6897 (FLT_MAX_10_EXP): Likewise.
6898 (DBL_MAX_10_EXP): Likewise.
6899 (LDBL_MAX_10_EXP): Likewise.
6900 (FLT_MAX): Use macro-constant.
6901 (DBL_MAX): Likewise.
6902 (LDBL_MAX): Likewise.
6903 (FLT_EPSILON): Use macro-constant. Give upper bound.
6904 (DBL_EPSILON): Likewise.
6905 (LDBL_EPSILON): Likewise.
6906 (FLT_MIN): Likewise.
6907 (DBL_MIN): Likewise.
6908 (LDBL_MIN): Likewise.
6909 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6910 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6911 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6912 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6913 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6914 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6915 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6916 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6917 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6918 [ISO11] (FLT_TRUE_MIN): Likewise.
6919 [ISO11] (LDBL_TRUE_MIN): Likewise.
6920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6921 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6922 (SCHAR_MIN): Use macro-int-constant. Specify type.
6923 (SCHAR_MAX): Likewise.
6924 (UCHAR_MAX): Likewise.
6925 (CHAR_MIN): Likewise.
6926 (CHAR_MAX): Likewise.
6927 (MB_LEN_MAX): Use macro-int-constant.
6928 (SHRT_MIN): Use macro-int-constant. Specify type.
6929 (SHRT_MAX): Likewise.
6930 (USHRT_MAX): Likewise.
6931 (INT_MAX): Likewise.
6932 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6933 bound negative.
6934 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6935 bound with "U".
6936 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6937 bound with "L".
6938 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6939 bound negative. Suffix upper bound with "L".
6940 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6941 bound with "UL".
6942 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6943 Specify type.
6944 [C99-based standards] (LLONG_MAX): Likewise.
6945 [C99-based standards] (ULLONG_MAX): Likewise.
6946 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6947 == 0.
6948 [ISO11] (max_align_t): Require type.
6949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6950
c9140a62
JM
6951 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6952 from $CFLAGS, without defining away __attribute__ calls.
6953 (checknamespace): Use $CFLAGS_namespace.
6954
9af0bf29
JM
6955 * conform/conformtest.pl (@keywords): Only include C99 keywords
6956 for standards based on C99 or C11.
6957
343222a2
JM
6958 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6959 Disable tests.
6960 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6961 UNIX98]: Likewise.
6962
661f8cf0
JM
6963 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6964 usability of symbols in #if.
6965
ee74b9cb
JM
6966 * conform/conformtest.pl: If macro or constant types start
6967 "promoted:", expect the symbol to be of the following type
6968 promoted by the integer promotions.
62fde54f 6969
aafc49b3
JM
6970 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6971 in one place. Also handle "macro-constant".
6972
fefdf574
JM
6973 * conform/conformtest.pl: Only accept expected macro values with
6974 "==". Parse all "macro" lines in one place.
6975 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6976
f2d922fe
JM
6977 * conform/conformtest.pl: Handle braced types on "constant" lines
6978 instead of handling "typed-constant".
6979 * conform/data/signal.h-data: Use "constant" instead of
6980 "typed-constant".
6981
d22956c9
JM
6982 * conform/conformtest.pl: Handle "optional-" at start of lines in
6983 one place rather than duplicating several cases. Handle each
6984 format of "macro" line with initial "optional-".
6985
028e2e38
JM
6986 * conform/conformtest.pl: Only accept expected constant or
6987 optional-constant values with "==". Parse all "constant" lines in
6988 one place. Parse all "optional-constant" lines in one place.
6989 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6990 * conform/data/fmtmsg.h-data: Likewise.
6991 * conform/data/netinet/in.h-data: Likewise.
6992 * conform/data/tar.h-data: Likewise.
6993 * conform/data/limits.h-data: Use "==" form on "constant" and
6994 "optional-constant" lines.
6995
1b8f2850
JM
6996 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6997 Use -std=c99 for XOPEN2K.
6998 (@knownproblems): Remove.
6999 (newtoken): Don't check %isknown.
7000
a05a144b
JM
7001 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7002 Do not expect macro.
7003 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7004 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7005 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7006 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7007 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7008 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7009 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7010 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7011 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7012 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7013 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7014 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7015 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7016 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7018 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7019 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7020 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7021 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7022 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7023 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7027 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7028 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7029 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7030 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7031 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7032 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7033 [XPG3] (acosh): Likewise.
7034 [XPG3] (asinh): Likewise.
7035 [XPG3] (atanh): Likewise.
7036 [XPG3] (cbrt): Likewise.
7037 [XPG3] (expm1): Likewise.
7038 [XPG3] (ilogb): Likewise.
7039 [XPG3] (log1p): Likewise.
7040 [XPG3] (logb): Likewise.
7041 [XPG3] (nextafter): Likewise.
7042 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7043 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7044 [XPG3] (remainder): Likewise.
7045 [XPG3] (rint): Likewise.
7046 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7047 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7048 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7049 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7050 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7051 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7052 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7053 [UNIX98 || XOPEN2K] (scalb): Expect.
7054 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7055 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7056 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7057 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7058 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7059 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7060 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7061 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7062 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7063 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7064 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7065 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7066 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7067 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7068 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7069 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7070 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7071 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7072 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7073 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7074 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7075 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7076 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7077 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7078 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7079 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7080 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7081 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7082 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7083 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7084 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7085 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7086 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7087 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7088 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7089 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7090 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7091 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7092 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7093 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7094 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7095 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7096 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7097 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7098 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7099 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7100 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7101 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7102 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7103 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7104 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7105 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7106 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7107 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7119 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7120 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7122 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7123 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7140 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7141 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7143 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7144 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7148 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7162 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7191
73c5ebe3
JM
7192 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7193 _XOPEN_SOURCE_EXTENDED for XPG4.
7194
39c33b6c
JM
7195 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7196
62fde54f
JM
7197 * Makeconfig (localtime): Remove variable.
7198 (inst_localtime-file): Likewise.
7199
0741d64c
AS
72002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7201
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7203 Update.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7205 Update.
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7207 Update.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7209 Update.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7211 Update.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7213 Update.
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7215 Update.
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7217 Update.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7219 Update.
7220
7cb029ee
JM
72212012-05-01 Joseph Myers <joseph@codesourcery.com>
7222
7223 [BZ #2550]
7224 [BZ #2570]
7225 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7226 comparisons to determine direction to adjust input.
7227 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7228 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7230 Likewise.
7231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7232 Likewise.
7233 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7234 Likewise.
7235 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7236 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7237 Likewise.
7238 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7239 Likewise.
7240 * math/libm-test.inc (nexttoward_test): Add more tests.
7241
412bd966
AS
72422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7243
7244 [BZ #14040]
7245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7246 in version GLIBC_2.1, not GLIBC_2.0.
7247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7248 Likewise.
7249
9568c0c2
JM
72502012-04-30 Joseph Myers <joseph@codesourcery.com>
7251
adfbc8ac
JM
7252 [BZ #13942]
7253 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7254 (1 - x) * (1 + x).
7255 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7256 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7257 * math/libm-test.inc (acos_test): Add more tests.
7258 (asin_test): Likewise.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
5ba3cc69
JM
7262 [BZ #14034]
7263 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7264 of square root.
7265 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7266 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7267 * math/libm-test.inc (acos_test_tonearest): New function.
7268 (acos_test_towardzero): Likewise.
7269 (acos_test_downward): Likewise.
7270 (acos_test_upward): Likewise.
7271 (asin_test_tonearest): Likewise.
7272 (asin_test_towardzero): Likewise.
7273 (asin_test_downward): Likewise.
7274 (asin_test_upward): Likewise.
7275 (main): Call the new functions.
7276 * sysdeps/i386/fpu/libm-test-ulps: Update.
7277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7278
9568c0c2
JM
7279 [BZ #13884]
7280 [BZ #13924]
7281 * math/e_exp10.c: Include <float.h>.
7282 (__ieee754_exp10): Handle underflow here rather than multiplying
7283 large negative argument by M_LN10.
7284 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7285 of __ieee754_expf.
7286 * math/e_exp10l.c: Include <float.h>.
7287 (__ieee754_exp10l): Handle underflow here rather than multiplying
7288 large negative argument by M_LN10l.
7289 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7290 spurious overflow exception on underflow.
7291
5ac3ea17
MP
72922012-04-29 Marek Polacek <polacek@redhat.com>
7293
7294 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7295 (__fortify_function): New macro.
7296 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7297 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7298 __extern_always_inline.
7299 * libio/bits/stdio2.h: Likewise.
7300 * libio/bits/stdio.h: Likewise.
7301 * string/string.h: Likewise.
7302 * string/bits/string3.h: Likewise.
7303 * include/stdio.h: Likewise.
7304 * stdlib/bits/stdlib.h: Likewise.
7305 * stdlib/stdlib.h: Likewise.
7306 * rt/bits/mqueue2.h: Likewise.
7307 * rt/mqueue.h: Likewise.
7308 * posix/bits/unistd.h: Likewise.
7309 * posix/unistd.h: Likewise.
7310 * io/bits/poll2.h: Likewise.
7311 * io/bits/fcntl2.h: Likewise.
7312 * io/fcntl.h: Likewise.
7313 * io/sys/poll.h: Likewise.
7314 * misc/bits/syslog.h: Likewise.
7315 * misc/bits/syslog-ldbl.h: Likewise.
7316 * misc/sys/syslog.h: Likewise.
7317 * socket/bits/socket2.h: Likewise.
7318 * socket/sys/socket.h: Likewise.
7319 * debug/tst-chk1.c: Likewise.
7320 * wcsmbs/bits/wchar2.h: Likewise.
7321 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7322 * wcsmbs/wchar.h: Likewise.
7323
ecf0ebfb
AJ
73242012-04-29 Andreas Jaeger <aj@suse.de>
7325
7326 * Makerules (tests): Remove enable-check-abi protection.
7327 (check-abi-warn): Remove.
7328 (check-abi-%): Remove check-abi-warn usage.
7329
7330 * configure.in: Remove check-abi configure option.
7331 * configure: Regenerated.
7332 * config.make.in (enable-check-abi): Remove.
7333
6d5c57fa
AS
73342012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7335
24c5d07e 7336 [BZ #14033]
ded5180a
AS
7337 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7338 double functions to double *_finite functions.
7339
7e0d315d
AS
7340 [BZ #13941]
7341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7342 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7343 LDBL_MIN_EXP.
7344 * stdio-common/Makefile (tests): Add tst-sprintf3.
7345 * stdio-common/tst-sprintf3.c: New file.
7346
6d5c57fa
AS
7347 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7348 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7349
0749ff8b
JM
73502012-04-28 Joseph Myers <joseph@codesourcery.com>
7351
7352 * conform/conformtest.pl: Remove duplicate typed-constant
7353 handling.
7354
8dbd5d7b
DM
73552012-04-28 David S. Miller <davem@davemloft.net>
7356
7357 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7358 (check-abi-%): Remove AWK script prerequisite and explicit
7359 abilist directory.
7360 (check-abi): Rewrite to just diff the symlist with the abilist.
7361 (config-tls, config-abi-config): Delete, no longer used.
7362 (update-abi-%): Remove AWK script and explicit abilist directory.
7363 (update-abi): Rewrite to simply compare and conditionally copy the
7364 symlist and the sysdep abilist file. Remove update-abi-config
7365 checks.
7366 * abilist/ld.abilist: Remove.
7367 * abilist/libBrokenLocale.abilist: Remove.
7368 * abilist/libanl.abilist: Remove.
7369 * abilist/libcrypt.abilist: Remove.
7370 * abilist/libdl.abilist: Remove.
7371 * abilist/librt.abilist: Remove.
7372 * abilist/libthread_db.abilist: Remove.
7373 * abilist/libutil.abilist: Remove.
7374 * scripts/extract-abilist.awk: Remove.
7375 * scripts/merge-abilist.awk: Remove.
7376 * sysdeps/generic/libcidn.abilist: New file.
7377 * sysdeps/generic/libnss_compat.abilist: New file.
7378 * sysdeps/generic/libnss_db.abilist: New file.
7379 * sysdeps/generic/libnss_dns.abilist: New file.
7380 * sysdeps/generic/libnss_files.abilist: New file.
7381 * sysdeps/generic/libnss_hesiod.abilist: New file.
7382 * sysdeps/generic/libnss_nis.abilist: New file.
7383 * sysdeps/generic/libnss_nisplus.abilist: New file.
7384 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7385 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7386 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7387 file.
7388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7389 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7390 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7391 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7392 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7393 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7394 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7395 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7396 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7397 file.
7398 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7399 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7400 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7401 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7402 file.
7403 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7404 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7405 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7406 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7408 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7409 file.
7410 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7411 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7412 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7413 file.
7414 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7416 New file.
7417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7418 New file.
7419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7420 New file.
7421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7422 New file.
7423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7424 New file.
7425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7426 New file.
7427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7428 New file.
7429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7430 New file.
7431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7432 New file.
7433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7434 New file.
7435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7436 New file.
7437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7438 New file.
7439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7440 New file.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7442 file.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7444 New file.
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7446 New file.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7448 file.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7450 New file.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7452 New file.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7454 file.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7456 New file.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7458 New file.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7460 New file.
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7462 New file.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7464 New file.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7466 New file.
7467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7469 file.
7470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7471 New file.
7472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7473 file.
7474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7475 file.
7476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7477 file.
7478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7479 file.
7480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7481 file.
7482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7483 New file.
7484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7485 file.
7486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7487 file.
7488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7489 New file.
7490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7491 file.
7492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7494 file.
7495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7496 New file.
7497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7498 file.
7499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7500 file.
7501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7502 file.
7503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7504 file.
7505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7506 file.
7507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7508 New file.
7509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7510 file.
7511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7512 file.
7513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7514 New file.
7515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7516 file.
7517 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7518 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7519 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7520 file.
7521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7522 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7523 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7524 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7525 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7526 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7527 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7529 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7530 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7533 file.
7534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7535 New file.
7536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7537 file.
7538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7539 file.
7540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7541 file.
7542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7543 file.
7544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7545 file.
7546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7547 New file.
7548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7549 New file.
7550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7551 file.
7552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7553 New file.
7554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7555 file.
7556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7558 file.
7559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7560 New file.
7561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7562 file.
7563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7564 file.
7565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7566 file.
7567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7568 file.
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7570 file.
7571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7572 New file.
7573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7574 New file.
7575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7576 file.
7577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7578 New file.
7579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7580 file.
7581
41d73a1b
JM
75822012-04-28 Joseph Myers <joseph@codesourcery.com>
7583
7584 * conform/conformtest.pl: Fix typo in handling typed-constant from
7585 allow-header.
7586
28aeeda4
JM
75872012-04-27 Joseph Myers <joseph@codesourcery.com>
7588
adae8f5e
JM
7589 * README: Cut down references to pre-2.6 Linux kernels and
7590 Linuxthreads. Update lists of configurations in libc and ports
7591 and sort alphabetically. Say "or newer" with Linux kernel version
7592 requirements.
7593
28aeeda4
JM
7594 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7595
a462cb63
RA
75962012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7597
7598 [BZ #887]
7599 * math/libm-test.inc (logb_test_downward): New test to expose
7600 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7601 rounding mode.
7602
6ad3493e
JM
76032012-04-27 Joseph Myers <joseph@codesourcery.com>
7604
7605 [BZ #14027]
7606 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7607 to be done.
7608 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7609 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7610
2ce4f015
JM
76112012-04-26 Joseph Myers <joseph@codesourcery.com>
7612
5aeb141a
JM
7613 * sysdeps/unix/i386/brk.S: Remove file.
7614 * sysdeps/unix/i386/dl-brk.S: Likewise.
7615 * sysdeps/unix/i386/pipe.S: Likewise.
7616 * sysdeps/unix/i386/sigreturn.S: Likewise.
7617 * sysdeps/unix/i386/syscall.S: Likewise.
7618 * sysdeps/unix/i386/vfork.S: Likewise.
7619 * sysdeps/unix/i386/wait.S: Likewise.
7620
7143acae
JM
7621 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7622 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7623
2ce4f015
JM
7624 * configure.in (arm*-none*): Do not allow without
7625 --enable-hacker-mode.
7626 (netbsd*): Remove case setting base_os.
7627 (386bsd*): Likewise.
7628 (freebsd*): Likewise.
7629 (bsdi*): Likewise.
7630 (osf*): Likewise.
7631 (sunos*): Likewise.
7632 (ultrix*): Likewise.
7633 (newsos*): Likewise.
7634 (dynix*): Likewise.
7635 (*bsd*): Likewise.
7636 (sysv*): Likewise.
7637 (isc*): Likewise.
7638 (esix*): Likewise.
7639 (sco*): Likewise.
7640 (minix*): Likewise.
7641 (irix4*): Likewise.
7642 (irix6*): Likewise.
7643 (solaris[2-9]*): Likewise.
7644 (none): Likewise.
7645 * configure: Regenerated.
7646
0ac229c8
AZ
76472012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7648
7649 [BZ #11521]
7650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7651 overflow or cancellation in calculating denominator.
7652 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7654 down expression to avoid unexpected rounding in newer GCCs.
7655 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7656
33f244f4
DM
76572012-04-26 David S. Miller <davem@davemloft.net>
7658
7659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7660 long-double compat symbols.
7661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7674
cfa1f3e8
DM
76752012-04-25 David S. Miller <davem@davemloft.net>
7676
7677 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7678 HWCAP_* values only after the memory barriers have been defined.
7679 (atomic_full_barrier): Define.
7680 (atomic_read_barrier): Define.
7681 (atomic_write_barrier): Define.
7682
6e236b92
SP
76832012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7684
7685 * shlib-versions: Add libgcc_s version information.
7686 * sysdeps/generic/libgcc_s.h: Remove.
7687 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7688 libgcc_s.h.
7689 * sysdeps/gnu/unwind-resume.c: Likewise.
7690 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7691
aab39a09
DM
76922012-04-25 David S. Miller <davem@davemloft.net>
7693
7694 * sysdeps/unix/sparc/brk.S: Delete.
7695 * sysdeps/unix/sparc/dl-brk.S: Delete.
7696 * sysdeps/unix/sparc/pipe.S: Delete.
7697 * sysdeps/unix/sparc/sysdep.S: Delete.
7698 * sysdeps/unix/sparc/sysdep.h: Delete.
7699 * sysdeps/unix/sparc/vfork.S: Delete.
7700 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7701 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7702 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7703 ret_ERRVAL, r0, r1, MOVE): Define.
7704 (JUMPTARGET): Remove.
7705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7706 sysdeps/unix/sparc/sysdep.h
7707 (ENTRY, END): Remove.
7708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7709
a3cc4f48
JM
77102012-04-25 Joseph Myers <joseph@codesourcery.com>
7711
2ed8cda2
JM
7712 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7713 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7714 -DIS_IN_build.
7715
35d76d59
JM
7716 * timezone/README: Update upstream location and email address for
7717 tzcode and tzdata.
7718 * timezone/zdump.c: Update from tzcode 2012b.
7719 * timezone/zic.c: Likewise.
7720
a3cc4f48
JM
7721 * configure.in (libc_cv_as_needed): Remove test.
7722 * configure: Regenerated.
7723 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7724 conditional definition.
7725 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7726 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7727 * config.make.in (have-as-needed): Remove variable.
7728
ceab42c3
SP
77292012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7730 Paul Pluzhnikov <ppluzhnikov@google.com>
7731
7732 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7733 strings correctly.
7734
3ce2865f
CLT
77352012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7736
7737 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7738 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7739 * sysdeps/sh/strlen.S: Likewise.
7740
f37e0d68
JM
77412012-04-24 Joseph Myers <joseph@codesourcery.com>
7742
ae186e9a
JM
7743 * sysdeps/unix/fork.S: Remove file.
7744 * sysdeps/unix/i386/fork.S: Likewise.
7745 * sysdeps/unix/sparc/fork.S: Likewise.
7746
b96914af
JM
7747 * sysdeps/unix/system.c: Remove file.
7748 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7749
f37e0d68
JM
7750 * sysdeps/unix/getegid.S: Remove file.
7751 * sysdeps/unix/geteuid.S: Likewise.
7752
87ef29ca
RM
77532012-04-24 Roland McGrath <roland@hack.frob.com>
7754
83bcd236
RM
7755 * scripts/check-localplt.awk: New file.
7756 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7757 of diff.
7758 * scripts/data/localplt-generic.data: Add a comment.
7759
87ef29ca
RM
7760 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7761 NODE when __dir_mkfile failed.
7762 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7763 Reported by Ludovic Courtès <ludo@gnu.org>.
7764
e5a6e567
AJ
77652012-04-24 Andreas Jaeger <aj@suse.de>
7766
7767 * Makerules (common-clean): Also remove gen-as-const-headers
7768 files.
7769
c1820385
JM
77702012-04-24 Joseph Myers <joseph@codesourcery.com>
7771
7772 * Makerules (native-compile): Do not change working directory for
7773 build. Use $(OUTPUT_OPTION) in command.
7774 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7775
94e02fc4
AZ
77762012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7777
7778 [BZ #13886]
7779 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7780 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7781 * math/libm-test.inc (floor_test): Add more tests.
7782 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7783
3a533ca3
JM
77842012-04-24 Joseph Myers <joseph@codesourcery.com>
7785
940ab4b3
JM
7786 * sysdeps/unix/getdents.c: Remove file.
7787 * sysdeps/unix/sysv/getdents.c: Likewise.
7788 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7789
90e037bd
JM
7790 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7791 sysdeps/unix/mman/syscalls.list.
7792 (mmap): Likewise.
7793 (mprotect): Likewise.
7794 (msync): Likewise.
7795 (munmap): Likewise.
7796 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7797 * sysdeps/unix/mman/syscalls.list: Remove.
7798 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7799
3a533ca3
JM
7800 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7801 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7802 * configure: Regenerated.
7803 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7804 $(libgcc_s_suffix).
7805 * config.make.in (libgcc_s_suffix): Remove variable.
7806
1ad743de
JM
78072012-04-23 Joseph Myers <joseph@codesourcery.com>
7808
4ad451e2
JM
7809 * sysdeps/unix/sysv/gethostname.c: Move to ...
7810 * sysdeps/posix/gethostname.c: ... here.
7811
5e37ce39
JM
7812 * sysdeps/unix/execve.S: Remove file.
7813
1ad743de
JM
7814 * sysdeps/unix/_exit.S: Remove file.
7815
4e681b5b
AJ
78162012-04-23 Andreas Jaeger <aj@suse.de>
7817
7818 [BZ #13739]
7819 * manual/Makefile: Remove make dist support, there's no
7820 need for a stand-alone documentation tar ball.
7821 (TEXI2DVI): Define always, it's not in Makeconfig.
7822 (dist): Removed.
7823 (tar-it): Removed.
7824 (edition): Removed.
7825 (glibc-doc-$(edition).tar): Removed
7826 (%.Z): Removed.
7827 (%.gz): Removed.
7828 (%.uu): Removed.
7829 (ETAGS): Remove, it's in Makeconfig.
7830 (move-if-change): Remove, it's in Makeconfig.
7831
c0baea34
PE
78322013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7833
7834 [BZ #13970]
7835 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7836 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7837 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7838 (strtod_l, strtof_l, strtold_l): Remove __wur.
7839 It is not necessarily an error to ignore strtol's return value.
7840 One can reliably look at the stored endptr to decide whether
7841 the number had valid syntax.
7842
7c0616fa
AJ
78432012-04-21 Andreas Jaeger <aj@suse.de>
7844
803cb6b7 7845 [BZ #13739]
7c0616fa
AJ
7846 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7847
b0fe253f
JM
78482012-04-21 Joseph Myers <joseph@codesourcery.com>
7849
7850 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7851 * sysdeps/unix/sysv/Versions: Remove file.
7852
8280f22d
MT
78532012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7854
7855 [BZ #13927]
7856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7857
75ce411f 78582012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7859
7860 [BZ #7064]
7861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7862 version from __vm86.
7863
097d59fa
JM
78642012-04-20 Joseph Myers <joseph@codesourcery.com>
7865
a90f3bcb
JM
7866 * sysdeps/unix/common/lxstat.c: Remove file.
7867 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7868
edc7ea78
JM
7869 * sysdeps/unix/sysv/Makefile: Remove file.
7870
cb78c221
JM
7871 * sysdeps/unix/sysv/direct.h: Remove file.
7872
efa6a45f
JM
7873 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7874 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7875 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7876 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7877 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7878 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7879 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7880
9c9f2d0c
JM
7881 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7882
4541c83b
JM
7883 * sysdeps/unix/xmknod.c: Remove file.
7884 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7885
f5d153a0
JM
7886 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7887
aa746595
JM
7888 * sysdeps/unix/sysv/i386/time.S: Remove file.
7889
cce5905e
JM
7890 * sysdeps/unix/fxstat.c: Remove file.
7891 * sysdeps/unix/xstat.c: Likewise.
7892 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7893
37fa3841
JM
7894 * sysdeps/unix/sysv/sigaction.c: Remove file.
7895
ff1962a3
JM
7896 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7897 (sysdep_headers): Remove variable.
7898 [termio.h not in sysdep_headers] (generated): Likewise.
7899 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7900 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7901 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7902 * sysdeps/unix/sysv/tcflow.c: Likewise.
7903 * sysdeps/unix/sysv/tcflush.c: Likewise.
7904 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7905 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7906 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7907 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7908 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7909
e7740d31
JM
7910 * sysdeps/unix/siglist.c: Remove file.
7911
ee06f18b
JM
7912 * sysdeps/unix/getppid.S: Remove file.
7913
097d59fa
JM
7914 * sysdeps/unix/mkdir.c: Remove file.
7915 * sysdeps/unix/rmdir.c: Likewise.
7916
ff3d51ec
AS
79172012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7918
7919 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7920 ERR_MAX value.
7921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7922 errlist-compat value.
7923
50f81fd7
DM
79242012-04-18 David S. Miller <davem@davemloft.net>
7925
7926 * sysdeps/generic/memcopy.h (reg_char): Delete.
7927 * debug/strcat_chk.c: Use char, not reg_char.
7928 * debug/strcpy_chk.c: Likewise.
7929 * debug/strncat_chk.c: Likewise.
7930 * debug/strncpy_chk.c: Likewise.
7931 * string/memchr.c: Likewise.
7932 * string/memrchr.c: Likewise.
7933 * string/rawmemchr.c: Likewise.
7934 * string/strcat.c: Likewise.
7935 * string/strchr.c: Likewise.
7936 * string/strchrnul.c: Likewise.
7937 * string/strcmp.c: Likewise.
7938 * string/strcpy.c: Likewise.
7939 * string/strncat.c: Likewise.
7940 * string/strncmp.c: Likewise.
7941 * string/strncpy.c: Likewise.
7942
8ff41c46
WS
79432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7944
7945 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7946 __builtin_memcopy is called when src and dest ranges are known to not
7947 overlap.
7948
6b652f46
WS
79492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7950
7951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7952 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7953 fwd_align_merge macro call.
7954 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7955 bwd_align_merge macro call.
7956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7957
b282631e
WS
79582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7959
7960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7961 bwd_align_merge macros.
7962 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7963 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7964 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7965
95aa737c
DM
79662012-04-18 David S. Miller <davem@davemloft.net>
7967
7968 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7969
7a99a614
AJ
79702012-04-18 Andreas Jaeger <aj@suse.de>
7971
7972 [BZ# 6794]
7973 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7974 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7976
7977 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7978 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7979 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7980
7981 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7982 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7983 Adjust for changed ldbl-128 files.
7984
7985 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7986 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7987 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7988
e5270c23
DM
79892012-04-17 David S. Miller <davem@davemloft.net>
7990
7991 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7992
fb5e92c9
AS
79932012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7994
7995 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7996 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7997 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7998 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7999 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8000 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8001
76da7265
AZ
80022012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 [BZ #6794]
8005 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8006 * math/libm-test.inc: Add ilogb errno and exception tests.
8007 * math/w_ilogb.c: New file: ilogb wrapper.
8008 * math/w_ilogbf.c: New file: ilogbf wrapper.
8009 * math/w_ilogbl.c: New file: ilogbl wrapper.
8010 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8011 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8012 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8013 exception being thrown with 0.0 as argument.
8014 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8015 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8016 exception being thrown with 0.0 as argument.
8017 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8018 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8019 exception being thrown with 0.0 as argument.
8020 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8021 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8022 exception being thrown with 0.0 as argument.
8023 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8024 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8025 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8026 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8027 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8028 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8029 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8030 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8031 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8032
0396e69d
PB
80332012-04-17 Petr Baudis <pasky@ucw.cz>
8034
8035 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8036 with altivec.
8037
750b5926
MP
80382012-04-16 Marek Polacek <polacek@redhat.com>
8039
8040 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8041
751728a1
MP
80422012-04-16 Marek Polacek <polacek@redhat.com>
8043
8044 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8045 operands of fdivp instruction.
8046
34a27407
L
80472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8050 * elf/tst-auditmod3b.c: Likewise.
8051 * elf/tst-auditmod4b.c: Likewise.
8052 * elf/tst-auditmod5b.c: Likewise.
8053 * elf/tst-auditmod6b.c: Likewise.
8054 * elf/tst-auditmod6c.c: Likewise.
8055 * elf/tst-auditmod7b.c: Likewise.
8056 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8057 * sysdeps/x86_64/preconfigure.in: Likewise.
8058 * sysdeps/x86_64/preconfigure: Regenerated.
8059
7e73e17d
L
80602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8063 __ILP32__.
8064
c7a6ab72
AB
80652012-04-13 Antoine Balestrat <merkil33@gmail.com>
8066
8067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8068 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8069
a9e8e0e0
CL
80702012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8071
8072 [BZ #13973]
8073 * locale/iso-639.def: Fix gl language name. Spotted by
8074 Yaron Shahrabani.
8075
ec98af7d
RM
80762012-04-12 Roland McGrath <roland@hack.frob.com>
8077
8078 [BZ #2074]
8079 * libio/libio.h (__io_write_fn): Update comment.
8080
247c3ede
PB
80812012-04-12 Petr Baudis <pasky@ucw.cz>
8082
8083 [BZ #2074]
8084 * stdio.texi (Hook Functions): The user provided writer function
8085 is not allowed to return -1.
8086
55939d6d
DM
80872012-04-11 David S. Miller <davem@davemloft.net>
8088
8089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8090
90020f5a
MF
80912012-04-11 Mike Frysinger <vapier@gentoo.org>
8092
8093 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8094 Add a leading slash to rtkaio.
8095
288f9098
JM
80962012-04-11 Jim Meyering <meyering@redhat.com>
8097
90020f5a
MF
8098 [BZ #11959]
8099 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8100 It is not necessarily an error to ignore fwrite's return
8101 value. One can reliably use ferror to test for errors after
8102 the fact.
288f9098 8103
4be2b570
L
81042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8105
8106 * bits/types.h (__snseconds_t): New type.
8107 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8108
8109 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8111 (__SNSECONDS_T_TYPE): Likewise.
8112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8113 (__SNSECONDS_T_TYPE): Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8115 (__SNSECONDS_T_TYPE): Likewise.
8116
288f9098 81172012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8118
8119 [BZ #2636]
8120 * manual/time.texi (Processor Time): Return type of times is
8121 elapsed real time since an arbitrary point in the past.
8122 (CPU Time): Move CLK_TCK from here...
8123 (Processor Time): ...to here. Correct description.
8124 * manual/conf.texi (Constants for Sysconf): Correct description of
8125 _SC_CLK_TCK.
8126
d7dd4413
DM
81272012-04-10 David S. Miller <davem@davemloft.net>
8128
8129 [BZ #13967]
8130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8131 where the is a gap between DT_REL(A) and DT_JMPREL.
8132
b46068fc
L
81332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8134
8135 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8136 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8137 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8138
73d65cc3
SP
81392012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
8141 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8142 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8143 (dl_main): Handle --inhibit-cache.
8144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8145 _dl_inhibit_cache.
8146 * elf/dl-load.c (_dl_map_object): Use it.
8147 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8148
bcc8d661
JM
81492012-04-09 Joseph Myers <joseph@codesourcery.com>
8150
8f9a2fae
JM
8151 [BZ #13872]
8152 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8153 (__ieee754_powl): Saturate large exponents rather than testing for
8154 overflow of y*log2(x).
8155 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8156 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8157 exceptions.
8158
bcc8d661
JM
8159 [BZ #11521]
8160 * math/s_ctan.c: Include <float.h>.
8161 (__ctan): Avoid internal overflow or cancellation in calculating
8162 denominator.
8163 * math/s_ctanf.c: Likewise.
8164 * math/s_ctanl.c: Likewise.
8165 * math/s_ctanh.c: Likewise.
8166 * math/s_ctanhf.c: Likewise.
8167 * math/s_ctanhl.c: Likewise.
8168 * math/libm-test.inc (ctan_test): Add more tests.
8169 (ctanh_test): Likewise.
8170 * sysdeps/i386/fpu/libm-test-ulps: Update.
8171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172
823fbbb4
AJ
81732012-04-09 Andreas Jaeger <aj@suse.de>
8174
03879793
AJ
8175 [BZ #6894]
8176 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8177 is an optional BSD extension.
8178
823fbbb4
AJ
8179 [BZ #10254]
8180 * manual/stdio.texi (Opening Streams): Document additional fopen
8181 parameters.
8182
8de131cb
RM
81832012-04-09 Roland McGrath <roland@hack.frob.com>
8184
8185 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8186 %eax without telling the compiler.
8187
c0ed9d7d
CD
81882012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8189
8190 [BZ # 13963]
8191 * manual/install.texi: Use sourceware.org.
8192
c483f6b4
JM
81932012-04-09 Joseph Myers <joseph@codesourcery.com>
8194
d7dd9453
JM
8195 [BZ #13873]
8196 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8197 (__ieee754_pow): Generate overflow and underflow using huge*huge
8198 and tiny*tiny rather than just returning constant infinity or zero
8199 for large exponents.
8200 * math/libm-test.inc (pow_test): Require overflow exceptions for
8201 applicable cases of large exponents.
8202
c483f6b4
JM
8203 [BZ #706]
8204 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8205 (__ieee754_pow): Use iterative multiplication algorithm only for
8206 integer exponents with absolute value below 1024. Check for odd
8207 integer exponents when using algorithm for real exponents.
8208 * math/libm-test.inc (pow_test): Add more tests.
8209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8210
d2de7579
JM
82112012-04-08 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #13705]
8214 * math/libm-test.inc (exp_test): Do not allow overflow exception
8215 on underflow test.
8216
f77f1232
AJ
82172012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8218
8219 [BZ #13705]
8220 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8221 instead of __kernel_standard_f.
8222
3884932b
MF
82232012-04-08 Mike Frysinger <vapier@gentoo.org>
8224
8225 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8226 * sysdeps/x86_64/memset_chk.S: Likewise.
8227
54472e9c
AJ
82282012-04-08 Andreas Jaeger <aj@suse.de>
8229
6ab0fbfc
AJ
8230 [BZ #10153]
8231 * manual/startup.texi (Environment Access): Describe return value
8232 for putenv and setenv.
8233
61efba8c
AJ
8234 [BZ #6895]
8235 * manual/filesys.texi (Directory Entries): Add description for
8236 DT_LNK.
8237
95c3f29a
AJ
8238 [BZ #6890]
8239 * manual/filesys.texi (Directory Entries): Clarify that it's file
8240 system not operating system in the description of DT_UNKNOWN.
8241
54472e9c
AJ
8242 [BZ #6578]
8243 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8244
624254b1
SC
82452012-04-08 Stephen Compall <s11@member.fsf.org>
8246
8247 [BZ #6649]
8248 * manual/llio.texi (Opening and Closing Files): Add cross
8249 reference to explain mode argument.
8250
1e4920e0
MF
82512012-04-07 Mike Frysinger <vapier@gentoo.org>
8252
8253 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8254 * sysdeps/x86_64/memset_chk.S: Likewise.
8255
5ed848f3
DM
82562012-04-07 David S. Miller <davem@davemloft.net>
8257
8258 * elf/elf.h (R_SPARC_WDISP10): Define.
8259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8260 R_SPARC_SIZE32.
8261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8262 R_SPARC_SIZE64 and R_SPARC_H34.
8263
96154cd8
CD
82642012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8265
8266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8267 conditions and remove no longer applicable assertion.
8268
9904dc47
L
82692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8270
8271 * bits/byteswap.h: Include <features.h>.
8272 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8273 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8274
f8887d0a
L
82752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8276
8277 * bits/byteswap.h (__bswap_16): Removed.
8278 Include <bits/byteswap-16.h> to get __bswap_16.
8279 * sysdeps/i386/bits/byteswap.h: Likewise.
8280 * sysdeps/s390/bits/byteswap.h: Likewise.
8281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8282 * bits/byteswap-16.h: New file.
8283 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8284 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8285 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8286 * string/Makefile (headers): Add bits/byteswap-16.h.
8287
62470f60
PP
82882012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8289
8290 [BZ #13895]
8291 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8292 extra indirection.
8293 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8294 * nss/tst-nss-static.c: New.
8295
4dad7bab
RM
82962012-04-06 Robert Millan <rmh@gnu.org>
8297
8298 [BZ #6486]
8299 * manual/llio.texi (File Position Primitive): lseek
8300 refers to WHENCE when it really means OFFSET.
8301
e9142a17
AJ
83022012-04-06 Andreas Jaeger <aj@suse.de>
8303
2c040eff
AJ
8304 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8305 strncmp declarations.
8306
e9142a17
AJ
8307 * abilist/libc.abilist: Add __poll and __ppoll.
8308
ff9f1c5f
DM
83092012-04-05 David S. Miller <davem@davemloft.net>
8310
dcd2ae90
DM
8311 * scripts/check-local-headers.sh: Accept a host triplet in the
8312 path matched by the exclude regexp.
8313
993eb054
DM
8314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8315 definition.
8316 * sysdeps/powerpc/powerpc32/dl-machine.h
8317 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8318 * sysdeps/s390/s390-32/dl-machine.h
8319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8320 * sysdeps/sparc/sparc32/dl-machine.h
8321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8322 * sysdeps/sparc/sparc64/dl-machine.h
8323 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8324
ff9f1c5f
DM
8325 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8326 lazy binding.
48e2e132 8327 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8328 undefined symbol errors.
8329
48e2e132 8330 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8331 DT_NEEDED entries.
8332
e80d6f94
MM
83332012-04-05 Michael Matz <matz@suse.de>
8334
8335 [BZ #13592]
8336 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8337
349fa79f
AJ
83382012-04-05 Andreas Jaeger <aj@suse.de>
8339
8340 [BZ #13908]
8341 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8342 comment.
8343
f402708f
KK
83442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8345
8346 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8347 which ROUND is no valid rounding mode.
8348
2ecccfc9
KK
83492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8350
8351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8352 read again.
8353 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8354
8a53f50f
KK
83552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8356
8357 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8358 an exception using FPU order intentionally.
8359
83602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8361
8362 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8363 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8364 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8365 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8366
d653abb7
SJ
83672012-04-05 Simon Josefsson <simon@josefsson.org>
8368
8369 [BZ #12340]
8370 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8371 EINVAL when BUFLEN is too smal.
8372
c3b1bf7d
TS
83732012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8374
8375 [BZ #13553]
8376 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8377 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8378
b1aa60f3
AJ
83792012-04-03 Andreas Jaeger <aj@suse.de>
8380
c3b1bf7d 8381 [BZ #13938]
67f60a26
AJ
8382 * manual/setjmp.texi (System V contexts): Fix sentence.
8383
b1aa60f3
AJ
8384 [BZ #13926]
8385 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8386 New macro for this case.
8387 [!__GNUC__] (__bswap_64): New inline function for this case.
8388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8389 * bits/byteswap.h: Likewise.
8390 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8391 ull, guard with __GLIBC_HAVE_LONG_LONG.
8392
8393 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8394 __GLIBC_HAVE_LONG_LONG.
8395
8396 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8397 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8398
39c59c35
TMQMF
83992012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8400
8401 [BZ #13691]
8402 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8403 inptr and inend, rather than using last_ch.
8404
135ffda8
DM
84052012-04-02 David S. Miller <davem@davemloft.net>
8406
8407 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8408 * stdio-common/printf-parse.h (read_int): Change return type to
8409 'int', return -1 on INT_MAX overflow.
8410 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8411 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8412 overflows INT_MAX. Check for overflow of in-format-string precision
8413 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8414 SIZE_MAX not INT_MAX for integer overflow test.
8415 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8416 skip the construct in the format string but do not record anything.
8417 * stdio-common/bug22.c: Adjust to test both width/prevision
8418 INT_MAX overflow as well as total length INT_MAX overflow. Check
8419 explicitly for proper errno values.
8420
228c019e
TS
84212012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8422
302cadd3
TS
8423 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8424 CHAR_MAX.
8425 * string/test-strcmp.c [! WIDE]: Likewise.
8426 * time/tst-mktime2.c: Likewise for INT_MAX.
8427 * string/test-string.h: #include <sys/param.h> for MIN.
8428
228c019e
TS
8429 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8430 * sysdeps/i386/init-first.c (init): Likewise.
8431 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8432 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8433 * sysdeps/sh/init-first.c (init): Likewise.
8434
cfa633f5
UD
84352012-04-01 Ulrich Drepper <drepper@gmail.com>
8436
8437 * po/ru.po: Update from translation team.
d1635ef8 8438 * po/vi.po: Likewise.
cfa633f5 8439
6cd0a5ea
SP
84402012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8441
8442 * resolv/nss_dns/dns-host.c: Merge copyright years.
8443
4b43400f
LD
84442012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8445
8446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8447 Optimize memcpy with prefetch if
8448 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8449 src, dst pointers have unequal 16 byte alignments.
8450
48c41d04
SP
84512012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8452
8453 [BZ #13928]
8454 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8455 from a CNAME entry and return the minimum ttl for the query.
8456 (gaih_getanswer_slice): Likewise.
8457
b8dc394d
JL
84582012-03-30 Jeff Law <law@redhat.com>
8459
8460 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8461 due to long keys.
8462 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8463 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8464
2f5a5ed0
JL
8465 * resolv/nss_dns/dns-host.c: Update copyright year.
8466
1d39e359
UD
84672012-03-30 Ulrich Drepper <drepper@gmail.com>
8468
c030f70c 8469 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8470 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8471
1d39e359
UD
8472 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8473 comments for sendmmsg.
8474
84752012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8476
8477 [BZ #13691]
8478 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8479 with only 1 character between 0x0041 and 0x01b0.
8480 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8481 * wcsmbs/tst-mbsnrtowcs.c: New file.
8482
20fde227
DM
84832012-03-29 David S. Miller <davem@davemloft.net>
8484
8485 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8486 small copies by hand.
8487
984a4237
JL
84882012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
8490 [BZ #13761]
8491 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8492 _nss_compat_initgroups_dyn): Fall back to malloc/free
8493 for large group memberships.
8494
18c9d62b
DM
84952012-03-28 David S. Miller <davem@davemloft.net>
8496
88d85d4f
DM
8497 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8498 that branches into memcpy.
8499 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8502 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8504 bits.
8505 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8506 implementation too.
8507 * sysdeps/sparc/mempcpy.S: New file.
8508
e5aa83e1
DM
8509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8510 the IFUNC routine in the libc case.
8511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8512
88570753
DM
8513 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8514 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8515 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8516 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8517 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8518 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8519 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8520 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8521
249d7567
DM
8522 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8523 loop to 256 bytes instead of 64 bytes and fix test signedness.
8524
18c9d62b
DM
8525 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8526 * sysdeps/sparc/sparc32/Makefile: rather than here...
8527 * sysdeps/sparc/sparc64/Makefile: and here.
8528
05f3d1f6
UD
85292012-03-28 Ulrich Drepper <drepper@gmail.com>
8530
8531 * malloc/mallocbug.c: Avoid warnings about unused variables.
8532
86ae07a8
JL
85332012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8534
8535 [BZ #13760]
8536 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8537 in the right place. Discard and retry query if response is
8538 larger than input buffer size.
8539
41bf21a1
JM
85402012-03-28 Joseph Myers <joseph@codesourcery.com>
8541
d6270972
JM
8542 [BZ #369]
8543 [BZ #2678]
8544 [BZ #3866]
8545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8546 x for large integer exponent.
8547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8549 sign of result as needed afterwards.
8550 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8551 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8552 result for underflowing pow the same as for overflow.
8553 (__kernel_standard_l): Handle powl overflow and underflow here
8554 rather than calling __kernel_standard.
8555 * math/libm-test.inc (pow_test): Add more tests.
8556
414fca03 8557 [BZ #3868]
41bf21a1
JM
8558 [BZ #13879]
8559 [BZ #13910]
8560 [BZ #13911]
8561 [BZ #13912]
8562 [BZ #13913]
8563 [BZ #13915]
8564 [BZ #13916]
8565 [BZ #13917]
8566 [BZ #13918]
8567 [BZ #13919]
8568 [BZ #13920]
8569 [BZ #13921]
8570 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8571 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8572 (__kernel_standard_l): New function.
8573 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8574 __kernel_standard.
8575 * math/w_acosl.c (__acosl): Likewise.
8576 * math/w_asinl.c (__asinl): Likewise.
8577 * math/w_atan2l.c (__atan2l): Likewise.
8578 * math/w_atanhl.c (__atanhl): Likewise.
8579 * math/w_coshl.c (__coshl): Likewise.
8580 * math/w_exp10l.c (__exp10l): Likewise.
8581 * math/w_exp2l.c (__exp2l): Likewise.
8582 * math/w_fmodl.c (__fmodl): Likewise.
8583 * math/w_hypotl.c (__hypotl): Likewise.
8584 * math/w_j0l.c (__j0l, __y0l): Likewise.
8585 * math/w_j1l.c (__j1l, __y1l): Likewise.
8586 * math/w_jnl.c (__jnl, __ynl): Likewise.
8587 * math/w_lgammal.c (__lgammal): Likewise.
8588 * math/w_log10l.c (__log10l): Likewise.
8589 * math/w_log2l.c (__log2l): Likewise.
8590 * math/w_logl.c (__logl): Likewise.
8591 * math/w_powl.c (__powl): Likewise.
8592 * math/w_remainderl.c (__remainderl): Likewise.
8593 * math/w_scalbl.c (sysv_scalbl): Likewise.
8594 * math/w_sinhl.c (__sinhl): Likewise.
8595 * math/w_sqrtl.c (__sqrtl): Likewise.
8596 * math/w_tgammal.c (__tgammal): Likewise.
8597 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8598 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8599 * math/libm-test.inc (acos_test): Add more tests.
8600 (acosh_test): Likewise.
8601 (asin_test): Likewise.
8602 (atanh_test): Likewise.
8603 (exp_test): Likewise.
8604 (exp10_test): Likewise.
8605 (exp2_test): Likewise.
8606 (expm1_test): Likewise.
8607 (lgamma_test): Likewise.
8608 (log_test): Likewise.
8609 (log10_test): Likewise.
8610 (log1p_test): Likewise.
8611 (log2_test): Likewise.
8612 (pow_test): Do not allow some spurious overflow exceptions.
8613 (sqrt_test): Add more tests.
8614 (tgamma_test): Likewise.
8615 (y0_test): Likewise.
8616 (y1_test): Likewise.
8617 (yn_test): Likewise.
8618
dd62fda6
AB
86192012-03-27 Anton Blanchard <anton@samba.org>
8620
8621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8622 MAP_HUGETLB.
8623 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8626
1e3cdfda
AJ
86272012-03-27 David S. Miller <davem@davemloft.net>
8628
b855ab85
DM
8629 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8630
1e3cdfda
AJ
8631 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8632 have-as-vis3 check.
8633
86342012-03-27 Andreas Jaeger <aj@suse.de>
8635
8636 * sysdeps/x86_64/elf/configure.in: Moved to ...
8637 * sysdeps/x86_64/configure.in: ... here.
8638 * sysdeps/x86_64/elf/start.S: Moved to ...
8639 * sysdeps/x86_64/start.S: ... here.
8640 * sysdeps/x86_64/elf/configure: Delete.
8641
8642 * sysdeps/x86_64/configure.in: Merge contents from
8643 sysdeps/i386/configure.in (without i686 check).
8644
8645 * sysdeps/i386/elf/Versions: Merge into ...
8646 * sysdeps/i386/Versions: ... this.
8647 * sysdeps/i386/elf/Versions: Delete file.
8648 * sysdeps/i386/elf/start.S: Moved to ...
8649 * sysdeps/i386/start.S: ...here.
8650 * sysdeps/i386/elf/configure.in: Merge into...
8651 * sysdeps/i386/configure.in: ...here.
8652 * sysdeps/i386/elf/configure.in: Delete file.
8653 * sysdeps/i386/elf/configure: Delete file.
8654
8655 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8656 * debug/backtracesyms.c: ... here.
8657 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8658 * debug/backtracesymsfd.c: ... here.
8659 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8660 * sysdeps/generic/ifunc-sel.h: ... here.
8661
8662 * sysdeps/unix/i386/start.c: Delete file.
8663 * sysdeps/unix/sparc/start.c: Delete file.
8664 * sysdeps/unix/start.c: Delete file.
8665
8666 * sysdeps/sh/elf/configure.in: Moved to ...
8667 * sysdeps/sh/configure.in: ... here.
8668 * sysdeps/sh/elf/start.S: Moved to ...
8669 * sysdeps/sh/start.S: ... here.
8670 * sysdeps/sh/elf/configure: Delete file.
8671
8672 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8673 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8674 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8675 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8676 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8677 * sysdeps/powerpc/powerpc64/start.S: here.
8678 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8679 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8680 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8681 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8682 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8683
8684 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8685 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8686 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8687 * sysdeps/powerpc/powerpc32/start.S: ... here.
8688 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8689 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8690 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8691
8692 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8693 * sysdeps/powerpc/ifunc-sel.h: ... here.
8694 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8695 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8696
8697 * sysdeps/sparc/elf/configure.in: Moved to ...
8698 * sysdeps/sparc/configure.in: ... here.
8699 * sysdeps/sparc/elf/configure: Delete file.
8700 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8701 * sysdeps/sparc/sparc32/start.S: ... here.
8702 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8703 * sysdeps/sparc/sparc64/start.S: ... here.
8704 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8705 * sysdeps/sparc/sparc32/Makefile: ... this.
8706 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8707 * sysdeps/sparc/sparc64/Makefile: ... this.
8708
8709 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8710 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8711 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8712 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8713 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8714 * sysdeps/s390/s390-32/setjmp.S: ... here.
8715 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8716 * sysdeps/s390/s390-32/configure.in: ... here.
8717 * sysdeps/s390/s390-32/elf/configure: Delete file.
8718 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8719 * sysdeps/s390/s390-32/start.S: ... here.
8720
8721 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8722 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8723 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8724 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8725 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8726 * sysdeps/s390/s390-64/setjmp.S: ... here.
8727 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8728 * sysdeps/s390/s390-64/configure.in: ... here
8729 * sysdeps/s390/s390-64/elf/configure: Delete file.
8730 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8731 * sysdeps/s390/s390-64/start.S: ... here.
8732 * sysdeps/s390/s390-64/elf/configure: Delete.
8733
8734 * configure.in: Remove support for elf directories in sysdeps.
8735
8736 * configure: Regenerated.
8737 * sysdeps/i386/configure: Regenerated.
8738 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8739 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8740 * sysdeps/s390/s390-32/configure: Regenerated.
8741 * sysdeps/s390/s390-64/configure: Regenerated.
8742 * sysdeps/sh/configure: Regenerated.
8743 * sysdeps/sparc/configure: Regenerated.
8744 * sysdeps/x86_64/configure: Regenerated.
8745
a3f61311
AS
87462012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8747
c876e002
AS
8748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8749
a3f61311
AS
8750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8751 denormal result into account.
8752
ac4c54f0
RM
87532012-03-25 Roland McGrath <roland@hack.frob.com>
8754
8755 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8756 Reported by Allan McRae <allan@archlinux.org>.
8757
6a9b9c02
JL
87582012-03-23 Jeff Law <law@redhat.com>
8759
8760 * nss/getnssent.c (__nss_getent): Fix typo.
8761
4c42a0c1
DM
87622012-03-23 David S. Miller <davem@davemloft.net>
8763
8764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8765
1532c7ac
L
87662012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8767
8768 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8769 to pad to uint64_t for each field.
8770 (dl_tls_index): Replace unsigned long with uint64_t.
8771
3ff42526
PP
87722012-03-23 Daniel Jacobowitz <dmj@google.com>
8773 Paul Pluzhnikov <ppluzhnikov@google.com>
8774
8775 [BZ #6528]
8776 * grp/Makefile (otherlibs): Don't set it.
8777 * inet/Makefile (otherlibs): Likewise.
8778 * login/Makefile (otherlibs): Likewise.
8779 * nscd/Makefile (otherlibs): Likewise.
8780 * posix/Makefile (otherlibs): Likewise.
8781 * pwd/Makefile (otherlibs): Likewise.
8782 * rt/Makefile (otherlibs): Likewise.
8783 * sunrpc/Makefile (otherlibs): Likewise.
8784 * nss/Makefile (otherlibs): Likewise.
8785 Add libnss_files to routines and static-only-routines.
8786 ($(objpfx)getent): Remove rule.
8787 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8788 static-only-routines.
8789
7c69cd14
JM
87902012-03-22 Joseph Myers <joseph@codesourcery.com>
8791
8792 [BZ #13892]
8793 * math/s_cexp.c: Include <float.h>.
8794 (__cexp): Handle exp result overflowing not necessarily
8795 overflowing both real and imaginary parts of result.
8796 * math/s_cexpf.c: Likewise.
8797 * math/s_cexpl.c: Likewise.
8798 * math/libm-test.inc (cexp_test): Add more tests.
8799 * sysdeps/i386/fpu/libm-test-ulps: Update.
8800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801
81b035fe
L
88022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * include/link.h (ELFW): New macro.
8805 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8806 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8807
1da7940c
L
88082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8811 with uint64_t.
8812
b749dbb9
L
88132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8814
8815 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8816 declaration.
8817 (struct La_x32_retval): Likewise.
8818
2ff87f3f
L
88192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 * sysdeps/x86_64/preconfigure.in: New file.
8822 * sysdeps/x86_64/preconfigure: New generated file.
8823
c0df8e69
JM
88242012-03-22 Joseph Myers <joseph@codesourcery.com>
8825
48e44791
JM
8826 [BZ #13824]
8827 * math/e_exp2l.c: Include <float.h>.
8828 (__ieee754_exp2l): Handle overflow and underflow cases
8829 separately. Only pass fractional part of argument to
8830 __ieee754_expl.
8831 * math/libm-test.inc (exp2_test): Add more tests.
8832
c0df8e69
JM
8833 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8834 negating x to take absolute value.
8835 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8836 Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8839 Likewise.
8840 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8841 computing low part if x was negated.
8842 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8843
c8e43ba7
L
88442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8845
8846 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8847 la_x32_gnu_pltexit.
8848 (pltexit): Cast int_retval to ptrdiff_t.
8849 * elf/tst-auditmod3b.c: Likewise.
8850 * elf/tst-auditmod4b.c: Likewise.
8851 * elf/tst-auditmod5b.c: Likewise.
8852 * elf/tst-auditmod6b.c: Likewise.
8853 * elf/tst-auditmod6c.c: Likewise.
8854 * elf/tst-auditmod7b.c: Likewise.
8855
8856 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8857 and x32_gnu_pltexit.
8858
8859 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8860 __ELF_NATIVE_CLASS.
8861 (La_x32_regs): New macro.
8862 (La_x32_retval): Likewise.
8863 (la_x32_gnu_pltenter): New function prototype.
8864 (la_x32_gnu_pltexit): Likewise.
8865
7998fa78
AS
88662012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8867
dcb33988
AS
8868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8869 exponent.
8870
233fc563
AS
8871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8872
7998fa78
AS
8873 * configure.in (libc_cv_cc_nofma): Check for option to disable
8874 generation of FMA instructions.
8875 * configure: Regenerate.
8876 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8877 * sysdeps/ieee754/dbl-64/Makefile: New file.
8878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8879 Remove brandred-fma4.
8880 (CFLAGS-brandred-fma4.c): Remove.
8881 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8882 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8883 define.
8884 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8885 define.
8886
8e95c99a
L
88872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8890 LLONG_MAX != LONG_MAX.
8891 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8892 (_fitoa_word): Likewise.
8893 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8894 LLONG_MAX != LONG_MAX.
8895 * stdio-common/_itowa.h: Include <_itoa.h>.
8896 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8897 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8898 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8899 only if not defined.
8900 (_ITOA_WORD_TYPE): Likewise.
8901 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8902 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8903
6f4db457
DM
89042012-03-21 David S. Miller <davem@davemloft.net>
8905
8906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8907
7785fe5a
L
89082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8909
8910 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8911 of x86_64 when setting libc_cv_slibdir, libdir and
8912 libc_cv_localedir.
8913 * sysdeps/unix/sysv/linux/configure: Regenerated.
8914
4535cd55
JM
89152012-03-21 Joseph Myers <joseph@codesourcery.com>
8916
8917 * manual/lang.texi (Old Varargs): Remove section.
8918 (How Variadic): Update menu.
8919 (va_start): Do not mention varargs.h.
8920
17228132
TS
89212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8922 Joseph Myers <joseph@codesourcery.com>
8923
8924 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8925 link test.
8926 * configure: Regenerated.
8927
8149f976
TS
89282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8929
05f3d1f6
UD
8930 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8931 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8932 conformtest.pl
8149f976 8933
1a4ac776
JM
89342012-03-21 Joseph Myers <joseph@codesourcery.com>
8935
be22ce65
JM
8936 * NOTES: Remove.
8937 * Makefile (files-for-dist): Remove NOTES.
8938 (NOTES): Remove rule.
8939 * README: Don't refer to NOTES.
8940 * manual/creature.texi: Don't include macros.texi.
8941 * manual/intro.texi (creature.texi): Remove comment referring to
8942 NOTES.
8943
40b601fb
JM
8944 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8945 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8946 * configure: Regenerated.
8947 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8948 LIBC_TRY_CC_OPTION.
8949 (libc_cv_as_i686): Likewise.
8950 (libc_cv_cc_avx): Likewise.
8951 (libc_cv_cc_sse2avx): Likewise.
8952 (libc_cv_cc_fma4): Likewise.
8953 (libc_cv_cc_novzeroupper): Likewise.
8954 * sysdeps/i386/configure: Regenerated.
8955
1a4ac776
JM
8956 [BZ #13883]
8957 * sysdeps/i386/fpu/s_cexp.S: Remove.
8958 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8959 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8960 * math/libm-test.inc (cexp_test): Add more tests.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8963
a458e7fe
AM
89642012-03-21 Allan McRae <allan@archlinux.org>
8965
8966 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8967
0cb7efc5
JM
89682012-03-21 Joseph Myers <joseph@codesourcery.com>
8969
8970 [BZ #13871]
8971 * math/w_exp2.c: Do not include <float.h>.
8972 (o_threshold, u_threshold): Remove.
8973 (__exp2): Calculate result before checking finiteness and calling
8974 __kernel_standard.
8975 * math/w_exp2f.c: Likewise.
8976 * math/w_exp2l.c: Likewise.
8977 * math/libm-test.inc (exp2_test): Require overflow exception for
8978 1e6 input.
2460d3aa
JM
8979
8980 [BZ #3866]
8981 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8982 range of signed 64-bit integers before using fistpll. Remove
8983 checks for whether integers fit in mantissa bits.
8984 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8985 the range of signed 32-bit integers before using fistpl. Remove
8986 checks for whether integers fit in mantissa bits.
8987 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8988 (__ieee754_powl): Test for y outside the range of signed 64-bit
8989 integers before using fistpll. Reduce 64-bit values to 63-bit
8990 ones as needed.
8991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8992 divide-by-zero is raised for zero to large negative powers.
8993 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8994 (__ieee754_powl): Test for y outside the range of signed 64-bit
8995 integers before using fistpll. Reduce 64-bit values to 63-bit
8996 ones as needed.
8997 * math/libm-test.inc (pow_test): Add more tests.
8998
eb96ffb0
L
89992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9002 <stdio-common/_itoa.h>.
9003 * debug/segfault.c: Likewise.
9004 * elf/dl-cache.c: Likewise.
9005 * elf/dl-minimal.c: Likewise.
9006 * elf/dl-misc.c: Likewise.
9007 * elf/dl-sysdep.c: Likewise.
9008 * elf/dl-version.c: Likewise.
9009 * elf/rtld.c: Likewise.
9010 * hurd/hurdsock.c: Likewise.
9011 * hurd/lookup-retry.c: Likewise.
9012 * malloc/malloc.c: Likewise.
9013 * malloc/mtrace.c: Likewise.
9014 * nscd/nscd_getgr_r.c: Likewise.
9015 * nscd/nscd_getpw_r.c: Likewise.
9016 * nscd/nscd_getserv_r.c: Likewise.
9017 * posix/getopt_init.c: Likewise.
9018 * posix/wordexp.c: Likewise.
9019 * stdio-common/_itoa.c: Likewise.
9020 * stdio-common/printf_fphex.c: Likewise.
9021 * stdio-common/vfprintf.c: Likewise.
9022 * string/_strerror.c: Likewise.
9023 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9024 * sysdeps/i386/i686/hp-timing.h: Likewise.
9025 * sysdeps/mach/_strerror.c: Likewise.
9026 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9027 * sysdeps/mach/hurd/sethostid.c: Likewise.
9028 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9029 * sysdeps/mach/xpg-strerror.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9032 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9033 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9034 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9035 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9036 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9037 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9038 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9039 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9040 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9041 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9042 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9043 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9044 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9045 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9048 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9049 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9050 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9051
9052 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9053
9054 * stdio-common/_itoa.h: Moved to ...
9055 * sysdeps/generic/_itoa.h: Here.
9056
9057 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9058
9059 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9060 instead of "_itoa.h" and "_itowa.h".
9061 * stdio-common/vfprintf.: Likewise.
9062
d1af992d
L
90632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9066 <bits/wordsize.h>.
9067 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9068 (__signbit): Likwise.
9069 (llrintf): Likwise.
9070 (llrint): Likwise.
9071
114883e0
L
90722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9075 __WORDSIZE != 64.
9076
c135cc1b
JM
90772012-03-20 Joseph Myers <joseph@codesourcery.com>
9078
9079 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9080 OVERFLOW_EXCEPTION_OK.
9081 * math/libm-test.inc ("Philosophy"): Update comment about
9082 exception testing.
9083 (OVERFLOW_EXCEPTION): Define.
9084 (OVERFLOW_EXCEPTION_OK): Likewise.
9085 (INVALID_EXCEPTION_OK): Renumber.
9086 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9087 (IGNORE_ZERO_INF_SIGN): Likewise.
9088 (test_exceptions): Handle FE_OVERFLOW.
9089 (exp10_test): Expect overflow exceptions.
9090 (exp2_test): Likewise.
9091 (expm1_test): Likewise.
9092 (nextafter_test): Likewise.
9093 (pow_test): Likewise.
9094 (scalbn_test): Likewise.
9095 (scalbln_test): Likewise.
9096
95443d88
L
90972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * sysdeps/x86_64/bits/atomic.h
9100 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9101 64bit integer.
9102 (atomic_exchange_acq): Likewise.
9103 (__arch_exchange_and_add_body): Likewise.
9104 (__arch_add_body): Likewise.
9105 (atomic_add_negative): Likewise.
9106 (atomic_add_zero): Likewise.
9107
490df6c4
L
91082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9109
c2722551 9110 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9111 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9112
5e52b189
L
91132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9116 Check __x86_64__ instead of __WORDSIZE.
9117
a9879d4c
L
91182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9119
9120 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9121
5df98260
DM
91222012-03-19 David S. Miller <davem@davemloft.net>
9123
e1497744
DM
9124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9125
5df98260
DM
9126 * sysdeps/sparc/fpu/fenv_private.h: New file.
9127 * sysdeps/sparc/fpu/math_private.h: Use it.
9128 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9129 Remove.
9130 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9131 (libc_feholdexcept_setroundl): Remove.
9132 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9133 Remove.
9134 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9135 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9136
b4c35121
L
91372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9140 int64_t instead of long int.
9141 (INSERT_WORDS64): Likwise.
9142
56965fd7
L
91432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9144
9145 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9146 _Unwind_GetCFA return to _Unwind_Ptr first.
9147
83d1aec8
JM
91482012-03-19 Joseph Myers <joseph@codesourcery.com>
9149
1897ad44
JM
9150 [BZ #13629]
9151 * math/s_clog.c: Include <float.h>.
9152 (__clog): Scale large or subnormal inputs.
9153 * math/s_clogf.c: Likewise.
9154 * math/s_clogl.c: Likewise.
9155 * math/s_clog10.c: Include <float.h>.
9156 (M_LOG10_2): Define.
9157 (__clog10): Scale large or subnormal inputs.
9158 * math/s_clog10f.c: Likewise.
9159 * math/s_clog10l.c: Likewise.
9160 * math/libm-test.inc (clog_test): Add more tests.
9161 (clog10_test): Likewise.
9162 * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9164
7726d6a9
JM
9165 [BZ #11451]
9166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9167 x and y.
9168 * math/libm-test.inc (atan2_test): Add another test.
9169
83d1aec8
JM
9170 * Makerules (common-objdir-compile): Remove.
9171 * sysdeps/unix/Makefile (config-generated): Do not add
9172 $(unix-generated) to variable.
9173 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9174 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9175 Remove rule.
9176 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9177 Likewise.
9178 [generic bits/local_lim.h] (before-compile): Do not append to
9179 variable.
9180 [generic bits/local_lim.h] (common-generated): Likewise.
9181 [generic sys/param.h] (before-compile): Do not append to variable.
9182 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9183 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9184 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9185 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9186 include.
9187 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9188 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9189 [generic sys/param.h] ($(addprefix
9190 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9191 [generic sys/param.h] (common-generated): Do not append to
9192 variable.
9193 [generic sys/param.h] (sysdep_headers): Likewise.
9194 [generic bits/errno.h] (before-compile): Do not append to
9195 variable.
9196 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9197 rule.
9198 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9199 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9200 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9201 [generic bits/errno.h] (common-generated): Do not append to
9202 variable.
9203 [generic bits/ioctls.h] (before-compile): Do not append to
9204 variable.
9205 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9206 rule.
9207 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9208 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9209 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9210 rule.
9211 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9212 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9213 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9214 [generic bits/ioctls.h] (common-generated): Do not append to
9215 variable.
9216 [generic sys/syscall.h] (syscall.h): Remove variable.
9217 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9218 rule.
9219 [generic sys/syscall.h] (before-compile): Do not append to
9220 variable.
9221 [generic sys/syscall.h] (common-generated): Likewise.
9222 * sysdeps/unix/errnos-tmpl.c: Remove file.
9223 * sysdeps/unix/errnos.awk: Likewise.
9224 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9225 * sysdeps/unix/ioctls.awk: Likewise.
9226 * sysdeps/unix/mk-local_lim.c: Likewise.
9227 * sysdeps/unix/snarf-ioctls: Likewise.
9228
4851a949
RH
92292012-03-19 Richard Henderson <rth@twiddle.net>
9230
bd37f2ee
RH
9231 * sysdeps/i386/fpu/fenv_private.h: New file.
9232 * sysdeps/i386/fpu/math_private.h: Use it.
9233 (math_opt_barrier, math_force_eval): Remove.
9234 (libc_feholdexcept_setround_53bit): Remove.
9235 (libc_feupdateenv_53bit): Remove.
9236 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9237 (math_opt_barrier, math_force_eval): Remove.
9238 (libc_feholdexcept): Remove.
9239 (libc_feholdexcept_setround): Remove.
9240 (libc_fetestexcept, libc_fesetenv): Remove.
9241 (libc_feupdateenv_test): Remove.
9242 (libc_feupdateenv, libc_feholdsetround): Remove.
9243 (libc_feresetround): Remove.
9244
d0adc922
RH
9245 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9246 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9247
0fe0f1f8
RH
9248 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9249 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9250 (libc_feupdateenv_testl): New.
9251 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9252 (libc_feupdateenv_testf): New.
9253 (libc_feupdateenv): Use libc_feupdateenv_test.
9254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9256
eb92c487
RH
9257 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9258 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9259 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9260 (libc_feresetround_noex): New.
9261 (libc_feresetround_noexf): New.
9262 (libc_feresetround_noexl): New.
9263 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9264 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9265 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9266 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9267 SET_RESTORE_ROUND.
9268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9270 (__cos): Likewise.
9271 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9272 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9273 SET_RESTORE_ROUND_NOEX.
9274 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9275 SET_RESTORE_ROUND_NOEXF.
9276 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9277 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9278 (libc_feholdsetroundf): New.
9279 (libc_feresetround, libc_feresetroundf): New.
9280
7d2e8012
RH
9281 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9282 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9283 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9284
b4dabbb4
RH
9285 * sysdeps/generic/math_private.h: Include <fenv.h>.
9286 (default_libc_feholdexcept): New.
9287 (default_libc_feholdexcept_setround): New.
9288 (default_libc_fesetenv, default_libc_feupdateenv): New.
9289 (libc_feholdexcept): Only define if undefined.
9290 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9291 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9292 (libc_feholdexcept_setroundl): Likewise.
9293 (libc_feholdexcept_setround_53bit): Likewise.
9294 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9295 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9296 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9297 (libc_feupdateenv_53bit): Likewise.
9298 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9299 (libc_feholdexcept): Convert from macro to inline function.
9300 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9301 (libc_fesetenv, libc_feupdateenv): Likewise.
9302
4851a949
RH
9303 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9304 not previously defined.
9305 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9306 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9307 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9308 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9309 * sysdeps/ieee754/flt-32/math_private.h: New file.
9310 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9311 math_private.h below SET_FLOAT_WORD.
9312 (__isnan, __isinf_ns, __finite): Remove.
9313 (__isnanf, __isinf_nsf, __finitef): Remove.
9314
e79d442e
AS
93152012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9316
9317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9318
90b80344
DM
93192012-03-17 David S. Miller <davem@davemloft.net>
9320
9321 [BZ #6471]
9322 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9323 for 2.16.
9324
edc21804
DM
93252012-03-16 David S. Miller <davem@davemloft.net>
9326
77e927af
DM
9327 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9328 warnings.
9329
374976dd
DM
9330 [BZ #6471]
9331 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9332 properly.
9333 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9334 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9335 sysdep_routines when subdir is sysvipc.
9336 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9337 __getshmlba helper.
9338
edc21804
DM
9339 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9340
473c3ef3
L
93412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9342
9343 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9344 [__LP64__].
9345
eb0f39b6
L
93462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9347
9348 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9349 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9350 (__lround): Renamed to ...
9351 (__llround): This. Replace long int with long long int.
9352 Define lround functions as aliases of llround functions.
9353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9354
6b6cd74b
L
93552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9356
9357 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9358 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9359 adresses to uintptr_t. Replace "long int" and "unsigned long
9360 int" with "greg_t" on va_arg.
9361
f1a77b01
L
93622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9363
9364 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9365 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9366
9367 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9368 Move e_machine check before EI_CLASS check. Handle x32
9369 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9370 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9371 SKIP_EM_IA_64 and include
9372 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9373
9374 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9375 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9376 (add_system_dir): New macro.
9377
9378 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9379 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9380
11b90b9f
JM
93812012-03-16 Joseph Myers <joseph@codesourcery.com>
9382
c36e1d23
JM
9383 [BZ #2551]
9384 [BZ #2552]
9385 [BZ #2553]
9386 [BZ #2554]
9387 [BZ #2562]
9388 [BZ #2563]
9389 [BZ #2565]
9390 [BZ #2566]
9391 [BZ #2576]
9392 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9393 (y0): Likewise.
9394 * math/w_j0f.c (j0f): Likewise.
9395 (y0f): Likewise.
9396 * math/w_j0l.c (__j0l): Likewise.
9397 (__y0l): Likewise.
9398 * math/w_j1.c (j1): Likewise.
9399 (y1): Likewise.
9400 * math/w_j1f.c (j1f): Likewise.
9401 (y1f): Likewise.
9402 * math/w_j1l.c (__j1l): Likewise.
9403 (__y1l): Likewise.
9404 * math/w_jn.c (jn): Likewise.
9405 (yn): Likewise.
9406 * math/w_jnf.c (jnf): Likewise.
9407 (ynf): Likewise.
9408 * math/w_jnl.c (__jnl): Likewise.
9409 (__ynl): Likewise.
9410 * math/libm-test.inc (j0_test): Add more tests.
9411 (j1_test): Likewise.
9412 (jn_test): Likewise. Add trailing semicolon to existing test.
9413 (y0_test): Likewise.
9414 (y1_test): Likewise.
9415 * sysdeps/i386/fpu/libm-test-ulps: Update.
9416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9417
11b90b9f
JM
9418 [BZ #13851]
9419 [BZ #13854]
9420 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9421 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9422 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9424 (__tanl): Set errno for infinite argument.
9425 * sysdeps/i386/fpu/mptan.c: Remove.
9426 * sysdeps/i386/fpu/s_tan.S: Likewise.
9427 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9428 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9429 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9430 * math/libm-test.inc (tan_test): Add more tests and enable more
9431 tests for double and long double.
9432 * sysdeps/i386/fpu/libm-test-ulps: Update.
9433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9434
6a1bd2a1
JK
94352012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9436
9437 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9438 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9439
10a803e0
RM
94402012-03-16 Roland McGrath <roland@hack.frob.com>
9441
9442 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9443 * configure.in: Use it for both main tree and add-ons.
9444 * configure: Regenerated.
9445
f196c7f7
L
94462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9447
9448 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9449
8848d99d
JM
94502012-03-16 Joseph Myers <joseph@codesourcery.com>
9451
96cbe7f4
JM
9452 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9453 in comment.
9454
8848d99d
JM
9455 [BZ #13851]
9456 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9457 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9461 infinite argument.
9462 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9464 != 0 for prec == 2.
9465 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9466 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9467 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9468 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9469 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9470 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9471 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9472 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9473 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9474 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9475 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9476 * math/libm-test.inc (cos_test): Add more tests and enable more
9477 tests for long double.
9478 (sin_test): Likewise.
9479 (sincos_test): Likewise.
9480 * sysdeps/i386/fpu/libm-test-ulps: Update.
9481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9482
dd7f4703
DM
94832012-03-16 David S. Miller <davem@davemloft.net>
9484
9485 * sysdeps/sparc/fpu/math_private.h: New file.
9486
006f1daa
DM
94872012-03-15 David S. Miller <davem@davemloft.net>
9488
c0c83bc8
DM
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9490 file.
e6a62e18 9491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9493 file.
e6a62e18
DM
9494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9500 sysdep routines.
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9502
88cb87d9
DM
9503 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9504 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9505
006f1daa 9506 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9508 sparc-ifunc.h
006f1daa 9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9511 Likewise.
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9513 Likewise.
006f1daa
DM
9514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9518 Likewise.
006f1daa
DM
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9524 Likewise.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9526 Likewise.
006f1daa
DM
9527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9551
11e0098e
AS
95522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9553
9554 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9555 scaling.
9556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9557
e85b09d0
AJ
95582012-03-15 Andreas Jaeger <aj@suse.de>
9559
9560 [BZ #13852]
9561 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9562 ieee754/flt-32 implementation for sin, cos and sincos.
9563 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9564 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9565 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9566 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9567 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9568 ieee754/flt-32 implementation for tan.
9569
9570 * math/libm-test.inc (cos_test): Enable some large input tests for
9571 float as well
9572 (sin_test): Likewise.
9573 (sincos_test): Likewise.
9574 (tan_test): Add tests for large input.
9575
9576 * sysdeps/i386/fpu/libm-test-ulps: Update.
9577
81c64153
AJ
95782012-03-15 Andreas Jaeger <aj@suse.de>
9579
9580 [BZ #13658]
9581 * math/libm-test.inc (cos_test): Add more test cases.
9582 (sin_test): Likewise.
9583 (sincos_test): Likewise.
9584
7bbfa5c6
AJ
95852012-03-15 Andreas Jaeger <aj@suse.de>
9586
9587 [BZ #13837]
9588 * math/libm-test.inc (cos_test): Add a test case for large input
9589 value.
9590 (sin_test): Likewise.
9591 (sincos_test): Likewise.
9592
95932012-03-15 Andreas Jaeger <aj@suse.de>,
9594 Joseph Myers <joseph@codesourcery.com>
9595
9596 [BZ #13658]
0671f479 9597 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9598 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9599 * sysdeps/i386/fpu/branred.c: Likewise.
9600 * sysdeps/i386/fpu/dosincos.c: Likewise.
9601 * sysdeps/i386/fpu/mpa.c: Likewise.
9602 * sysdeps/i386/fpu/s_cos.S: Likewise.
9603 * sysdeps/i386/fpu/s_sin.S: Likewise.
9604 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9605 * sysdeps/i386/fpu/sincos32.c: Likewise.
9606
9607 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9608 Define.
9609 (libc_feupdateenv_53bit): Define.
9610 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9611 Define.
9612 (libc_feupdateenv_53bit): Define.
9613
9614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9615 53 bit (without extend i386 double precision).
9616
9617 * math/libm-test.inc (sincos_test): Add tests for large input.
9618 (sin): Likewise.
9619 (cos): Likewise.
9620
9621 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9622
9cad04ea
AS
96232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9624
9625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9626
f7062b9a
DM
96272012-03-15 David S. Miller <davem@davemloft.net>
9628
9629 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9630 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9631 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9632 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9645 file.
f7062b9a 9646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9648 file.
f7062b9a 9649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9651 file.
f7062b9a 9652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9654 file.
f7062b9a
DM
9655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9657 fmin/fmax sysdep routines.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9659
7bd951ff
DM
96602012-03-14 David S. Miller <davem@davemloft.net>
9661
559398ab
DM
9662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9691 routines.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9693 file.
559398ab 9694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9696 file.
559398ab 9697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9699 file.
559398ab 9700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9702 file.
559398ab 9703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9705 file.
559398ab 9706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9708 file.
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9710 file.
9711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9712 file.
9713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9714 file.
9715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9716 New file.
9717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9718 file.
9719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9720 file.
559398ab 9721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9723 file.
559398ab 9724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9726 file.
559398ab 9727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9729 file.
559398ab 9730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9732 VIS3 routines.
559398ab
DM
9733
9734 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9735 New file.
9736
5a1c1e32
DM
9737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9738
eae47a36
DM
9739 * sysdeps/sparc/configure.in: New file.
9740 * sysdeps/sparc/configure: Generate.
9741 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9742 * configure: Regenerate.
9743 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9744 * config.make.in (have-as-vis3): New.
9745 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9746 available use -Av9d instead of -Av9a.
9747 * sysdeps/sparc/sparc64/Makefile: Likewise.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9750 New file.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9752 file.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9754 New file.
9755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9756 file.
eae47a36
DM
9757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9762
c0c83bc8
DM
9763 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9764 fzeros/fnegs to load 0x80000000 into a float register instead of
9765 using the stack.
7bd951ff
DM
9766 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9767
bd951ccb
JM
97682012-03-14 Joseph Myers <joseph@codesourcery.com>
9769
9770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9771 bits/syscall.h.
9772 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9773 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9774 ($(inst_includedir)/bits/syscall.h): Remove rule.
9775 ($(objpfx)bits/syscall.d): Include instead of
9776 $(objpfx)syscall-list.d.
9777 (generated): Change syscall-list.h and syscall-list.d to
9778 bits/syscall.h and bits/syscall.d.
9779
bb4e6db2
RM
97802012-03-14 Roland McGrath <roland@hack.frob.com>
9781
9782 [BZ #13846]
9783 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9784
aa4a2ae1
JM
97852012-03-14 Joseph Myers <joseph@codesourcery.com>
9786
e456826d
JM
9787 [BZ #13841]
9788 * math/s_csqrt.c: Include <float.h>.
9789 (__csqrt): Scale large or subnormal inputs.
9790 * math/s_csqrtf.c: Likewise.
9791 * math/s_csqrtl.c: Likewise.
9792 * math/libm-test.inc (csqrt_test): Add more tests.
9793 * sysdeps/i386/fpu/libm-test-ulps: Update.
9794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9795
aa4a2ae1
JM
9796 [BZ #13840]
9797 * math/libm-test.inc (hypot_test): Add more tests.
9798
7c10fd35
DM
97992012-03-13 David S. Miller <davem@davemloft.net>
9800
9801 [BZ #13840]
9802 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9803 double-precision for the calculation instead of scaling.
9804
f453b98b
JM
98052012-03-13 Joseph Myers <joseph@codesourcery.com>
9806
9807 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9808 manipulate bits before adding and subtracting TWO52[sx].
9809 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9810 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9811 Likewise.
9812 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9813
09a3453f
DM
98142012-03-13 David S. Miller <davem@davemloft.net>
9815
8e59da90
DM
9816 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9817 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9819 rtld-global-offsets.h
9820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9821
2a8ab7f2
DM
9822 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9823 large parameters.
9824
10f62770
DM
9825 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9826
5f0bdb18
DM
9827 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9828 'err' in the ifdef scope in which it is actually used.
9829
09a3453f
DM
9830 * nss/nss_db/db-init.c: Include string.h
9831
b4b2eb5e
DM
98322012-03-12 David S. Miller <davem@davemloft.net>
9833
98bb2f1c
DM
9834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9835 masking out of the most significant byte of random value used.
9836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9837 Fix coding style in previous change.
9838
b4b2eb5e
DM
9839 * sysdeps/unix/sysv/linux/kernel-features.h
9840 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9841 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9842 expression.
9843 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9844 later.
9845
6e226b09
DM
98462012-03-11 David S. Miller <davem@davemloft.net>
9847
a1bcbd40
DM
9848 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9849 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9851 for 'resultvar' otherwise things get truncated on 64-bit.
9852
cb9d6174
DM
9853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9854 Fix masking out of the most significant byte of random value used.
9855
6e226b09
DM
9856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9857
058c132d
AS
98582012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9859
9860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9861
2d2cd515
DM
98622012-03-09 David S. Miller <davem@davemloft.net>
9863
9864 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9865 variables with appropriate CPP guards.
9866 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9867 frame pointer, not the stack pointer. Correct layout comments. Fix test
9868 on resulting framesize and the management of the outregs buffer for pltexit.
9869 Preserve floating point return values across _dl_call_pltexit call.
9870 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9871 framesize and the management of the outregs buffer for pltexit.
9872 Preserve floating point return values across _dl_call_pltexit
9873 call.
9874 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9875 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9876 (print_exit): Fix format string for return register value.
9877
9a07f9d0
JM
98782012-03-10 Joseph Myers <joseph@codesourcery.com>
9879
9880 * sunrpc/Makefile (others): Add rpcgen.
9881 ($(objpfx)rpcgen): Remove special build rule and dependency on
9882 libc.
9883 * sunrpc/rpcgen.c: New file.
9884
547b5e30
PE
98852012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9886
c524201a
PE
9887 [BZ #13673]
9888 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9889 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9890 * sysdeps/i386/crti.S: Likewise.
9891 * sysdeps/i386/crtn.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9893 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9894 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9895 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9896 * sysdeps/sh/crti.S: Likewise.
9897 * sysdeps/sh/crtn.S: Likewise.
9898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9899
7b6235f2
PE
9900 [BZ #13673]
9901 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9902 with URL.
9903 * locale/programs/locfile-kw.gperf: Likewise.
9904 * locale/programs/charmap-kw.h: Regenerated.
9905 * locale/programs/locfile-kw.h: Likewise.
9906
547b5e30
PE
9907 [BZ #13673]
9908 * intl/plural.y: Replace FSF snail mail address with URL.
9909 * intl/plural.c: Regenerated.
9910
5f0a5dae
RH
99112012-03-09 Richard Henderson <rth@twiddle.net>
9912
9913 * include/math_private.h: Remove file.
9914 * math/math_private.h: Move file ...
9915 * sysdeps/generic/math_private.h: ... here.
9916
b8c03620
RH
9917 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9918 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9919 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9920
4e234f5d 9921 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9922 and <math_private.h>.
9923 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9924 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9925 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9926 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9927 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9948 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9949 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9964 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9969 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9970 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9971 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9972 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9973 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9974 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9975 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9977 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9979 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9980 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9981 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9982 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9984 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9986 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9987 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9988 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9989 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9990 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10011 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10014 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10016 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10017 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10018 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10019 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10020 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10022 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10023 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10024 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10025 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10026 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10028 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10029 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10030 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10031 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10033 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10034 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10035 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10036 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10037 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10038 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10039 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10040 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10041 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10042 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10044 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10046 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10047 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10048 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10050 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10051 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10052 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10053 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10054 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10056 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10057 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10058 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10060 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10061 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10062 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10063 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10064 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10065 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10066 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10067 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10068 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10069 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10071 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10072 * sysdeps/ieee754/k_standard.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10090 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10100 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10106 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10192 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10195 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10200 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10205 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10222 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10233 * sysdeps/ieee754/s_lib_version.c: Likewise.
10234 * sysdeps/ieee754/s_matherr.c: Likewise.
10235 * sysdeps/ieee754/s_signgam.c: Likewise.
10236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10238 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10239 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10240 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10241 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10242 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10243 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10244 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10245 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10246 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10247 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10248 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10249 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10250 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10257
1991fa03
JM
102582012-03-09 Joseph Myers <joseph@codesourcery.com>
10259
10260 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10261 * sunrpc/rpc_main.c: Likewise.
10262 * sunrpc/rpc_svcout.c: Likewise.
10263
60d6f5a6
DM
102642012-03-09 David S. Miller <davem@davemloft.net>
10265
10266 * include/math_private.h: New file.
10267
4962050e
JM
102682012-03-09 Joseph Myers <joseph@codesourcery.com>
10269
02a6f887
JM
10270 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10271 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10272 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10273 from <bits/socket_type.h>.
10274 (enum __socket_type): Don't define here.
10275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10277 bits/socket_type.h.
10278
c6e013c1
JM
10279 [BZ #13566]
10280 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10281 checking __USE_GNU.
10282
4962050e
JM
10283 * Makerules ($(inst_includedir)/%.h): New rule.
10284 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10285 (install-others): Remove variable setting.
10286 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10287
38842f45
RH
102882012-03-08 Richard Henderson <rth@twiddle.net>
10289
67bb6da6
RH
10290 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10291 from macro to inline function; merge with the
10292 !__LIBC_INTERNAL_MATH_INLINES version.
10293 (__ieee754_sqrtf): Likewise.
10294
15194b4b
RH
10295 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10296 to inline function.
10297 (__rintf, __floor, __floorf): Likewise.
10298
64e21ede
RH
10299 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10300 macro to inline function.
10301 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10302
38842f45
RH
10303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10304 not <math/math_private.h>.
10305
c64bf5fe
DM
103062012-03-08 David S. Miller <davem@davemloft.net>
10307
10308 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10309 copyright year.
10310 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10311
82d86f28
TS
103122012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10313
10314 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10315 normalization.
10316 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10317 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10318
aea5d727
UD
103192012-03-08 Ulrich Drepper <drepper@gmail.com>
10320
10321 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10322 be defined individually, they must be defined as a block. Define
10323 S for printing a string instead of hidint the different by using a
10324 macro for adding the 'l'.
10325 * stdio-common/tst-fphex-wide.c: Adjust.
10326
70bca0a3
MP
103272012-03-07 Marek Polacek <polacek@redhat.com>
10328
10329 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10330
65b81130
MP
103312012-03-08 Marek Polacek <polacek@redhat.com>
10332
10333 [BZ #13806]
10334 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10335 * stdio-common/tst-fphex.c: Define a few macros to make the
10336 test reusable. Use them.
10337 * stdio-common/tst-fphex-wide.c: New file.
10338
07037eeb
JM
103392012-03-08 Joseph Myers <joseph@codesourcery.com>
10340
a7a93d50
JM
10341 [BZ #6911]
10342 * manual/macros.texi (gnusystems): New macro.
10343 (nongnusystems): Likewise.
10344 (gnulinuxhurdsystems): Likewise.
10345 (gnuhurdsystems): Likewise..
10346 (gnulinuxsystems): Likewise.
10347 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10348 variants of the GNU system, not "GNU system".
10349 * manual/conf.texi: Likewise.
10350 * manual/errno.texi: Likewise. Update example of errno macro
10351 expansion.
10352 * manual/filesys.texi: Likewise.
10353 (getumask): Document as specific to GNU/Hurd.
10354 * manual/install.texi: Likewise. Reword some references to
10355 GNU/Linux.
10356 * manual/intro.texi: Likewise.
10357 * manual/io.texi: Likewise.
10358 (File Name Portability): Detail which constraints are inapplicable
10359 to all GNU systems and which are only inapplicable to GNU/Hurd.
10360 * manual/job.texi: Likewise.
10361 * manual/llio.texi: Likewise.
10362 (O_NOCTTY): Document as present on GNU/Linux.
10363 * manual/maint.texi: Likewise.
10364 * manual/memory.texi: Likewise.
10365 * manual/pattern.texi: Likewise.
10366 * manual/pipe.texi: Likewise.
10367 * manual/process.texi: Likewise.
10368 * manual/resource.texi: Likewise.
10369 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10370 child on GNU/Hurd.
10371 * manual/setjmp.texi: Likewise.
10372 * manual/signal.texi: Likewise.
10373 * manual/startup.texi: Likewise.
10374 * manual/stdio.texi: Likewise.
10375 * manual/terminal.texi: Likewise.
10376 (ONLCR): Document as POSIX.
10377 (OXTABS): Document availability on GNU/Linux as XTABS.
10378 (ONOEOT): Document availability separately from other bits.
10379 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10380 * manual/time.texi: Likewise.
10381 * manual/users.texi: Likewise.
10382 * INSTALL: Regenerated.
10383 * sysdeps/gnu/errlist.c: Regenerated.
10384
07037eeb
JM
10385 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10386 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10387 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10388 puts.
10389 * configure: Regenerated.
10390
d1d3431a
JM
103912012-03-07 Joseph Myers <joseph@codesourcery.com>
10392
af6a1e37
JM
10393 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10394 default includes instead of AC_HEADER_CHECK.
10395 * sysdeps/i386/configure: Regenerated.
10396
d1d3431a
JM
10397 [BZ #10716]
10398 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10399 * math/s_cacoshf.c (__cacoshf): Likewise.
10400 * math/s_cacoshl.c (__cacoshl): Likewise.
10401 * math/s_casinh.c (__casinh): Set signs of result from argument.
10402 * math/s_casinhf.c (__casinhf): Likewise.
10403 * math/s_casinhl.c (__casinhl): Likewise.
10404 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10405 (casinh_test): Add more tests.
10406 * sysdeps/i386/fpu/libm-test-ulps: Update.
10407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10408
482ff4da
UD
104092012-03-07 Ulrich Drepper <drepper@gmail.com>
10410
872fda05
UD
10411 * po/zh_TW.po: Update from translation team.
10412
a4300c7a
UD
10413 * login/Makefile (distribute): Remove variable.
10414 * catgets/Makefile: Likewise.
10415 * mach/Makefile: Likewise.
10416 * malloc/Makefile: Likewise.
10417 * misc/Makefile: Likewise.
10418 * iconv/Makefile: Likewise.
10419 * nscd/Makefile: Likewise.
10420 * hurd/Makefile: Likewise.
10421 * manual/Makefile: Likewise.
10422 * locale/Makefile: Likewise.
10423 * intl/Makefile: Likewise.
10424 * conform/Makefile: Likewise.
10425 * nss/Makefile: Likewise.
10426 * time/Makefile: Likewise.
10427 * soft-fp/Makefile: Likewise.
10428 * dirent/Makefile: Likewise.
10429 * gmon/Makefile: Likewise.
10430 * po/Makefile: Likewise.
10431 * rt/Makefile: Likewise.
10432 * socket/Makefile: Likewise.
10433 * math/Makefile: Likewise.
10434 * signal/Makefile: Likewise.
10435 * debug/Makefile: Likewise.
10436 * elf/Makefile: Likewise.
10437 * timezone/Makefile: Likewise.
10438 * stdlib/Makefile: Likewise.
10439 * iconvdata/Makefile: Likewise.
10440 * sunrpc/Makefile: Likewise.
10441 * io/Makefile: Likewise.
10442 * argp/Makefile: Likewise.
10443 * inet/Makefile: Likewise.
10444 * hesiod/Makefile: Likewise.
10445 * grp/Makefile: Likewise.
10446 * csu/Makefile: Likewise.
10447 * wctype/Makefile: Likewise.
10448 * crypt/Makefile: Likewise.
10449 * libio/Makefile: Likewise.
10450 * string/Makefile: Likewise.
10451 * nis/Makefile: Likewise.
10452 * resolv/Makefile: Likewise.
10453 * stdio-common/Makefile: Likewise.
10454 * wcsmbs/Makefile: Likewise.
10455 * dlfcn/Makefile: Likewise.
10456 * posix/Makefile: Likewise.
10457
3b7c4e74 10458 [BZ #6959]
482ff4da
UD
10459 * timezone/Makefile: Don't install timezone files, just the programs
10460 and scripts.
10461
f72ed77d
UD
104622012-03-06 Ulrich Drepper <drepper@gmail.com>
10463
a000466f
UD
10464 * nss/databases.def: Add missing gshadow entry.
10465
f72ed77d
UD
10466 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10467
a53b7a4e
MP
104682012-03-06 Marek Polacek <polacek@redhat.com>
10469
10470 [BZ #13726]
10471 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10472 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10473 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10474 * stdio-common/tst-long-dbl-fphex.c: New file.
10475
e9258400
DM
104762012-03-06 David S. Miller <davem@davemloft.net>
10477
10478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10479 (set_obp_int): New function.
10480 (get_obp_int): New function.
10481 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10483 Avoid unused variable warnings on 'val' and use builtin_expect.
10484 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10485 __builtin_expect.
e9258400
DM
10486 (INLINE_CLONE_SYSCALL): Likewise.
10487
3bd2c723
DM
104882012-03-05 David S. Miller <davem@davemloft.net>
10489
10490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10491
bbb78d03
AS
104922012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10493
884c5db4
AS
10494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10495
bbb78d03
AS
10496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10497 only for |x| >= 40.
10498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10499
1c9f702a 105002012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10501
10502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10503 Replace gettimeofday with __vdso_gettimeofday.
10504
7be16f82
RM
10505 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10506 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10507 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10508
10509 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10510 time with __vdso_time.
10511
ed58a00f
JM
105122012-03-05 Joseph Myers <joseph@codesourcery.com>
10513
10514 * manual/lang.texi (size_t): Note types to which size_t may be
10515 equivalent with the GNU C Library, but do not describe when
10516 differences between them are significant.
10517
30ee4ced
AJ
105182012-03-05 Andreas Jaeger <aj@suse.de>
10519
10520 * sysdeps/i386/fpu/libm-test-ulps: Update.
10521
b7cd39e8
JM
105222012-03-05 Joseph Myers <joseph@codesourcery.com>
10523
10524 [BZ #3976]
10525 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10526 (__ieee754_pow): Save and restore rounding mode and use
10527 round-to-nearest for main computations.
10528 * math/libm-test.inc (pow_test_tonearest): New function.
10529 (pow_test_towardzero): Likewise.
10530 (pow_test_downward): Likewise.
10531 (pow_test_upward): Likewise.
10532 (main): Call the new functions.
10533 * sysdeps/i386/fpu/libm-test-ulps: Update.
10534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10535
10536 [BZ #3976]
10537 * math/libm-test.inc (cosh_test_tonearest): New function.
10538 (cosh_test_towardzero): Likewise.
10539 (cosh_test_downward): Likewise.
10540 (cosh_test_upward): Likewise.
10541 (sinh_test_tonearest): Likewise.
10542 (sinh_test_towardzero): Likewise.
10543 (sinh_test_downward): Likewise.
10544 (sinh_test_upward): Likewise.
10545 (main): Call the new functions.
10546 * sysdeps/i386/fpu/libm-test-ulps: Update.
10547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548
6c6a98c9
TV
105492012-03-05 Tom de Vries <tom@codesourcery.com>
10550
10551 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10552 default stack guard is set in last bytes.
10553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10554
21bb2d2e 105552012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10556
21bb2d2e 10557 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10558
21bb2d2e
AJ
10559 [BZ #13656]
10560 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10561 possibly allocate from heap instead of stack.
10562 * stdio-common/bug-vfprintf-nargs.c: New file.
10563 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10564
c6922934
AS
105652012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10566
10567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10568
bc957d53
MP
105692012-03-03 Marek Polacek <polacek@redhat.com>
10570
10571 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10572 * math/math_private.h: Likewise.
10573 * stdlib/tst-strtod.c: Likewise.
10574 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10575 * sysdeps/x86_64/bits/atomic.h: Likewise.
10576
6358490d
DM
105772012-03-02 David S. Miller <davem@davemloft.net>
10578
10579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10585 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10586 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10587
01ae168d
RM
105882012-03-02 Roland McGrath <roland@hack.frob.com>
10589
d9a17c07
RM
10590 [BZ #13792]
10591 * manual/examples/README: New file, says the example source files
10592 can be used under GPL>=2.
10593 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10594 line containing just "*/".
10595 * manual/examples/add.c: Add copyright header (GPL>=2).
10596 * manual/examples/argp-ex1.c: Likewise.
10597 * manual/examples/argp-ex2.c: Likewise.
10598 * manual/examples/argp-ex3.c: Likewise.
10599 * manual/examples/argp-ex4.c: Likewise.
10600 * manual/examples/atexit.c: Likewise.
10601 * manual/examples/db.c: Likewise.
10602 * manual/examples/dir.c: Likewise.
10603 * manual/examples/dir2.c: Likewise.
10604 * manual/examples/execinfo.c: Likewise.
10605 * manual/examples/filecli.c: Likewise.
10606 * manual/examples/filesrv.c: Likewise.
10607 * manual/examples/fmtmsgexpl.c: Likewise.
10608 * manual/examples/genpass.c: Likewise.
10609 * manual/examples/inetcli.c: Likewise.
10610 * manual/examples/inetsrv.c: Likewise.
10611 * manual/examples/isockad.c: Likewise.
10612 * manual/examples/longopt.c: Likewise.
10613 * manual/examples/memopen.c: Likewise.
10614 * manual/examples/memstrm.c: Likewise.
10615 * manual/examples/mkfsock.c: Likewise.
10616 * manual/examples/mkisock.c: Likewise.
10617 * manual/examples/mygetpass.c: Likewise.
10618 * manual/examples/pipe.c: Likewise.
10619 * manual/examples/popen.c: Likewise.
10620 * manual/examples/rprintf.c: Likewise.
10621 * manual/examples/search.c: Likewise.
10622 * manual/examples/select.c: Likewise.
10623 * manual/examples/setjmp.c: Likewise.
10624 * manual/examples/sigh1.c: Likewise.
10625 * manual/examples/sigusr.c: Likewise.
10626 * manual/examples/stpcpy.c: Likewise.
10627 * manual/examples/strdupa.c: Likewise.
10628 * manual/examples/strftim.c: Likewise.
10629 * manual/examples/strncat.c: Likewise.
10630 * manual/examples/subopt.c: Likewise.
10631 * manual/examples/swapcontext.c: Likewise.
10632 * manual/examples/termios.c: Likewise.
10633 * manual/examples/testopt.c: Likewise.
10634 * manual/examples/testpass.c: Likewise.
10635 * manual/examples/timeval_subtract.c: Likewise.
10636
01ae168d
RM
10637 [BZ #13792]
10638 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10639 function to ...
10640 * manual/timeval_subtract.c.texi: ... here, new file.
10641
49efa33d
DM
106422012-03-02 David S. Miller <davem@davemloft.net>
10643
10644 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10645
28afd92d
JM
106462012-03-02 Joseph Myers <joseph@codesourcery.com>
10647
804360ed
JM
10648 [BZ #3976]
10649 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10650 (__sin): Save and restore rounding mode and use round-to-nearest
10651 for all computations.
10652 (__cos): Save and restore rounding mode and use round-to-nearest
10653 for all computations.
10654 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10655 <fenv.h>.
10656 (tan): Save and restore rounding mode and use round-to-nearest for
10657 all computations.
10658 * math/libm-test.inc (cos_test_tonearest): New function.
10659 (cos_test_towardzero): Likewise.
10660 (cos_test_downward): Likewise.
10661 (cos_test_upward): Likewise.
10662 (sin_test_tonearest): Likewise.
10663 (sin_test_towardzero): Likewise.
10664 (sin_test_downward): Likewise.
10665 (sin_test_upward): Likewise.
10666 (tan_test_tonearest): Likewise.
10667 (tan_test_towardzero): Likewise.
10668 (tan_test_downward): Likewise.
10669 (tan_test_upward): Likewise.
10670 (main): Call the new functions.
10671 * sysdeps/i386/fpu/libm-test-ulps: Update.
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673
a6d06d7b
JM
10674 [BZ #10135]
10675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10676 small n, then large n, before computing and testing k+n.
10677 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10679 Likewise.
10680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10681 Likewise.
10682 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10683 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10689 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10690 * math/libm-test.inc (scalbn_test): Add more tests.
10691 (scalbln_test): Likewise.
10692
07e12bb3
JM
10693 * manual/filesys.texi (mode_t): Describe constraints on size and
10694 signedness, not exact equivalence to a particular type.
10695 (ino_t): Likewise.
10696 (ino64_t): Likewise.
10697 (dev_t): Likewise.
10698 (nlink_t): Likewise.
10699 (blkcnt_t): Likewise.
10700 (blkcnt64_t): Likewise.
10701 * manual/llio.texi (off_t): Likewise.
10702
28afd92d
JM
10703 [BZ #3976]
10704 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10705 (__ieee754_exp): Save and restore rounding mode and use
10706 round-to-nearest for all computations.
10707 * math/libm-test.inc (exp_test_tonearest): New function.
10708 (exp_test_towardzero): Likewise.
10709 (exp_test_downward): Likewise.
10710 (exp_test_upward): Likewise.
10711 (main): Call the new functions.
10712 * sysdeps/i386/fpu/libm-test-ulps: Update.
10713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10714
b1eeb65d
CD
107152012-03-01 Chris Demetriou <cgd@google.com>
10716
10717 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10718 have predictable order.
10719
53362a4b
DM
107202012-03-01 David S. Miller <davem@davemloft.net>
10721
3c969083
DM
10722 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10723
759707de
DM
10724 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10725 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10726 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10727 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10728
dfdb8ff2
DM
10729 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10730 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10731 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10733 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10734 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10735 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10736 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10737 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10738
ead89f96
DM
10739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10740
7f66bd07
DM
10741 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10742 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10743 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10744
53362a4b
DM
10745 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10748 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10749 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10752 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10753 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10754 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10755 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10761 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10762 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10763 * sysdeps/sparc/elf/configure: Regenerated.
10764
7b1902cb
JM
107652012-03-01 Joseph Myers <joseph@codesourcery.com>
10766
bec039bc
JM
10767 * configure.in (AS, LD): Require binutils 2.20 or later.
10768 * configure: Regenerated.
10769 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10770 as required minimum version.
10771 * INSTALL: Regenerated.
10772
7b1902cb
JM
10773 [BZ #2541]
10774 [BZ #4108]
10775 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10776 before squaring exponent.
10777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10778 bottom long double and 27 bits of top long double before squaring
10779 exponent.
10780 * math/libm-test.inc (erfc_test): Add more tests.
10781 * sysdeps/i386/fpu/libm-test-ulps: Update.
10782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10784
f775c276
KT
107852012-03-01 Kai Tietz <ktietz@redhat.com>
10786
10787 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10788 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10789 containing bit-fields.
10790 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10791 * soft-fp/single.h (_FP_UNION_S): Likewise.
10792 * soft-fp/double.h (_FP_UNION_D): Likewise.
10793
5b8a4d4a
JM
107942012-02-29 Joseph Myers <joseph@codesourcery.com>
10795
0bab47b6
JM
10796 [BZ #13786]
10797 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10798 not include ../strcmp.S.
10799 [USE_AS_STRNCASECMP_L]: Likewise.
10800 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10801 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10802 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10803 (__strncasecmp_l_ia32): Define as alias to
10804 __strncasecmp_l_nonascii.
10805
0fcad3e2
JM
10806 [BZ #5794]
10807 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10808 * sysdeps/i386/fpu/libm-test-ulps: Update.
10809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10810
5b8a4d4a
JM
10811 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10813
8fdceb2e
JL
108142012-02-29 Jeff Law <law@redhat.com>
10815
10816 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10817 out of bounds read.
10818
1f393a11
MP
108192012-02-29 Marek Polacek <polacek@redhat.com>
10820
10821 [BZ #13706]
10822 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10823 * elf/Makefile: Add rules to run tst-unused-dep.out.
10824
8847f037
DM
108252012-02-28 David S. Miller <davem@davemloft.net>
10826
10827 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10828 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10831 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10833
169d7f11
JM
108342012-02-29 Joseph Myers <joseph@codesourcery.com>
10835
10836 * math/libm-test.inc (llround_test): Move one test from
10837 lround_test. Use TEST_f_L in moved test.
10838 (lround_test): Move misplaced test to llround_test. Add testcase
10839 from bug 2561.
10840
39adf059
UD
108412012-02-28 Ulrich Drepper <drepper@gmail.com>
10842
10843 * sysdeps/x86_64/fpu/e_expf.S: New file.
10844 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10845
71b5d1c5
SB
108462012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10847
10848 [BZ #13637]
10849 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10850 of remain_len that may cause incomplete multi-byte character and
10851 false match.
10852 * posix/bug-regex33.c: New file.
10853 * posix/Makefile (tests): Add bug-regex33.
10854
1f77f049
JM
108552012-02-28 Joseph Myers <joseph@codesourcery.com>
10856
10857 * manual/macros.texi: New file.
10858 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10859 * manual/libc.texinfo: Include macros.texi.
10860 * manual/creatute.texi: Likewise.
10861 * manual/install.texi: Likewise.
10862 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10863 @glibcadj{} in references to the GNU C Library.
10864 * manual/charset.texi: Likewise.
10865 * manual/conf.texi: Likewise.
10866 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10867 when not using those macros.
10868 * manual/creature.texi: Likewise.
10869 * manual/crypt.texi: Likewise.
10870 * manual/errno.texi: Likewise.
10871 * manual/filesys.texi: Likewise.
10872 * manual/header.texi: Likewise.
10873 * manual/install.texi: Likewise.
10874 * manual/intro.texi: Likewise.
10875 * manual/io.texi: Likewise.
10876 * manual/job.texi: Likewise.
10877 * manual/lang.texi: Likewise.
10878 * manual/libc.texiinfo: Likewise.
10879 * manual/llio.texi: Likewise.
10880 * manual/locale.texi: Likewise.
10881 * manual/maint.texi: Likewise.
10882 * manual/math.texi: Likewise.
10883 * manual/memory.texi: Likewise.
10884 * manual/message.texi: Likewise.
10885 * manual/nss.texi: Likewise.
10886 * manual/pattern.texi: Likewise.
10887 * manual/process.texi: Likewise.
10888 * manual/resource.texi: Likewise.
10889 * manual/search.texi: Likewise.
10890 * manual/setjmp.texi: Likewise.
10891 * manual/signal.texi: Likewise.
10892 * manual/socket.texi: Likewise.
10893 * manual/startup.texi: Likewise.
10894 * manual/stdio.texi: Likewise.
10895 * manual/string.texi: Likewise.
10896 * manual/sysinfo.texi: Likewise.
10897 * manual/syslog.texi: Likewise.
10898 * manual/terminal.texi: Likewise.
10899 * manual/time.texi: Likewise.
10900 * manual/users.texi: Likewise.
10901 * INSTALL: Regenerated.
10902 * NOTES: Regenerated.
d40c5d54 10903 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10904
450bf206
AS
109052012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10906
10907 * include/dirent.h: Include <dirstream.h> before
10908 <dirent/dirent.h>.
10909
741a235b
DM
109102012-02-28 David S. Miller <davem@davemloft.net>
10911
10912 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10913 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10916
d6b5aa58
DM
109172012-02-27 David S. Miller <davem@davemloft.net>
10918
1aff59a3
DM
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10921 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10922 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10923
d6b5aa58
DM
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10925 frame pointer instead of stack pointer relative arg slot.
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10927 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10928 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10929
433f48bf
CD
109302012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10931
10932 [BZ #3992]
10933 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10934
d674b76d
DM
109352012-02-27 David S. Miller <davem@davemloft.net>
10936
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10941 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10942 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10943 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10944 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10945
0e7727f7
JM
109462012-02-27 Joseph Myers <joseph@codesourcery.com>
10947
10948 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10949 later. Allow versions 5-9.
43be4ca2 10950 * configure: Regenerated.
0e7727f7
JM
10951 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10952 required minimum version and 4.6 as recommended version. Do not
10953 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10954 * INSTALL: Regenerated.
0e7727f7 10955
a78bc654
DM
109562012-02-27 David S. Miller <davem@davemloft.net>
10957
428d5830
DM
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10964 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10966
a78bc654
DM
10967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10968 manipulate bits before adding and subtracting TWO112[sx].
10969 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10970
4579f81c
RM
109712012-02-27 Roland McGrath <roland@hack.frob.com>
10972
36c8acb4
RM
10973 [BZ #13775]
10974 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10975 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10976 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10977 being in POSIX, because they are in 1003.1-2008.
10978
84ad622b
RM
10979 * rt/tst-aio.c: Include <fcntl.h>.
10980 * rt/tst-aio7.c: Likewise.
10981 * rt/tst-aio64.c: Likewise.
10982
4579f81c
RM
10983 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10984
abd923db
JM
109852012-02-27 Joseph Myers <joseph@codesourcery.com>
10986
10987 * manual/install.texi (--with-headers): Describe headers as
10988 interface headers, not private headers.
10989 (Specific advice for GNU/Linux systems): Describe use of headers
10990 from "make headers_install", not private headers from older
10991 kernels.
43be4ca2 10992 * INSTALL: Regenerated.
abd923db
JM
10993 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10994 Change to 2.6.19.
10995 * sysdeps/unix/sysv/linux/configure: Regenerated.
10996
6664049b
JM
10997 * manual/llio.texi (fclean): Remove documentation.
10998
bb8b6697
JM
10999 * manual/Makefile (libc-texi-generated): New variable. Include
11000 version.texi.
11001 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11002 $(libc-texi-generated), not duplicated list of files.
11003 (version.texi, stamp-version): New rules.
11004 (realclean): Remove $(libc-texi-generated), not individual files
11005 from that list. Do not remove dir-add.texinfo.
11006 * manual/libc.texinfo: Comment out uses of edition numbers and
11007 references to printed manual. Remove last-updated dates.
11008 (EDITION): Comment out.
11009 (ISBN): Likewise.
11010 (VERSION, UPDATED): Remove.
11011 (version.texi): Include.
11012
12e5c3b9
AS
110132012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11014
11015 * sysdeps/posix/spawni.c: Include <signal.h>.
11016 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11017 * sysdeps/pthread/aio_fsync.c: Likewise.
11018
4efeffc1 110192012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11020
ba63ba08
UD
11021 * conform/Makefile (tests): Run only when not cross-compiling and
11022 when fast-check is not defined.
11023
d94a4670
UD
11024 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11025 * conform/data/limits.h-data: Fixes for POSIX2008.
11026 * conform/run-conformtest.sh: Run all tests.
11027 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11028 headers.
11029 * include/bits/dlfcn.h: Likewise.
11030 * include/langinfo.h: Likewise.
11031 * include/monetary.h: Likewise.
11032 * include/sys/poll.h: Likewise.
11033
11034 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11035 for __USE_GNU.
11036 * posix/spawn.h: Define __need_sigset_t.
11037 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11038 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11039 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11040 to get sigevent_t only.
11041 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11042 only for __USE_GNU.
11043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11044 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11045 process_vm_writev only for __USE_GNU.
11046 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11047
11048 * conform/Makefile: For now ignore errors from run-conformtest.
11049 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11050 POSIX to avoid namespace pollution. Don't prepend headers.
11051 * conform/data/aio.h-data: Fixes for POSIX testing.
11052 * conform/data/fcntl.h-data: Likewise.
11053 * conform/data/glob.h-data: Likewise.
11054 * conform/data/grp.h-data: Likewise.
11055 * conform/data/pthread.h-data: Likewise.
11056 * conform/data/pwd.h-data: Likewise.
11057 * conform/data/signal.h-data: Likewise.
11058 * conform/data/spawn.h-data: Likewise.
11059 * conform/data/stdio.h-data: Likewise.
11060 * conform/data/stdlib.h-data: Likewise.
11061 * conform/data/stropts.h-data: Likewise.
11062 * conform/data/sys/mman.h-data: Likewise.
11063 * conform/data/sys/stat.h-data: Likewise.
11064 * conform/data/sys/types.h-data: Likewise.
11065 * conform/data/sys/wait.h-data: Likewise.
11066 * conform/data/time.h-data: Likewise.
11067 * conform/data/unistd.h-data: Likewise.
11068 * conform/data/utime.h-data: Likewise.
11069
11070 * io/sys/stat.h: fchmod was always in POSIX.
11071 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11072 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11073 * rt/aio.h: Define __need_timespec before including <time.h>.
11074 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11075 struct. Add forward declaration of pthread_attr_t and use it in
11076 sigevent.
11077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11078 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11079 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11080 always remove CLK_TCK definition.
11081
c20105c3
AS
110822012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11083
11084 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11085
7a270350
UD
110862012-02-25 Ulrich Drepper <drepper@gmail.com>
11087
31341567
UD
11088 * conform/run-conformtest.sh: New file.
11089 * conform/Makefile: Run run-conformtest for tests.
11090 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11091 support.
11092
11093 * conform/data/uchar.h-data: New file.
11094 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11095 * conform/data/arpa/inet.h-data: Likewise.
11096 * conform/data/assert.h-data: Likewise.
11097 * conform/data/complex.h-data: Likewise.
11098 * conform/data/cpio.h-data: Likewise.
11099 * conform/data/ctype.h-data: Likewise.
11100 * conform/data/dirent.h-data: Likewise.
11101 * conform/data/dlfcn.h-data: Likewise.
11102 * conform/data/errno.h-data: Likewise.
11103 * conform/data/fcntl.h-data: Likewise.
11104 * conform/data/float.h-data: Likewise.
11105 * conform/data/fmtmsg.h-data: Likewise.
11106 * conform/data/fnmatch.h-data: Likewise.
11107 * conform/data/ftw.h-data: Likewise.
11108 * conform/data/glob.h-data: Likewise.
11109 * conform/data/grp.h-data: Likewise.
11110 * conform/data/iconv.h-data: Likewise.
11111 * conform/data/inttypes.h-data: Likewise.
11112 * conform/data/langinfo.h-data: Likewise.
11113 * conform/data/libgen.h-data: Likewise.
11114 * conform/data/limits.h-data: Likewise.
11115 * conform/data/locale.h-data: Likewise.
11116 * conform/data/math.h-data: Likewise.
11117 * conform/data/monetary.h-data: Likewise.
11118 * conform/data/mqueue.h-data: Likewise.
11119 * conform/data/ndbm.h-data: Likewise.
11120 * conform/data/net/if.h-data: Likewise.
11121 * conform/data/netdb.h-data: Likewise.
11122 * conform/data/netinet/in.h-data: Likewise.
11123 * conform/data/nl_types.h-data: Likewise.
11124 * conform/data/poll.h-data: Likewise.
11125 * conform/data/pthread.h-data: Likewise.
11126 * conform/data/pwd.h-data: Likewise.
11127 * conform/data/regex.h-data: Likewise.
11128 * conform/data/sched.h-data: Likewise.
11129 * conform/data/search.h-data: Likewise.
11130 * conform/data/semaphore.h-data: Likewise.
11131 * conform/data/setjmp.h-data: Likewise.
11132 * conform/data/signal.h-data: Likewise.
11133 * conform/data/spawn.h-data: Likewise.
11134 * conform/data/stdarg.h-data: Likewise.
11135 * conform/data/stdio.h-data: Likewise.
11136 * conform/data/stdlib.h-data: Likewise.
11137 * conform/data/string.h-data: Likewise.
11138 * conform/data/strings.h-data: Likewise.
11139 * conform/data/stropts.h-data: Likewise.
11140 * conform/data/sys/ipc.h-data: Likewise.
11141 * conform/data/sys/mman.h-data: Likewise.
11142 * conform/data/sys/msg.h-data: Likewise.
11143 * conform/data/sys/resource.h-data: Likewise.
11144 * conform/data/sys/select.h-data: Likewise.
11145 * conform/data/sys/sem.h-data: Likewise.
11146 * conform/data/sys/shm.h-data: Likewise.
11147 * conform/data/sys/socket.h-data: Likewise.
11148 * conform/data/sys/stat.h-data: Likewise.
11149 * conform/data/sys/statvfs.h-data: Likewise.
11150 * conform/data/sys/time.h-data: Likewise.
11151 * conform/data/sys/timeb.h-data: Likewise.
11152 * conform/data/sys/times.h-data: Likewise.
11153 * conform/data/sys/types.h-data: Likewise.
11154 * conform/data/sys/uio.h-data: Likewise.
11155 * conform/data/sys/un.h-data: Likewise.
11156 * conform/data/sys/utsname.h-data: Likewise.
11157 * conform/data/sys/wait.h-data: Likewise.
11158 * conform/data/syslog.h-data: Likewise.
11159 * conform/data/tar.h-data: Likewise.
11160 * conform/data/termios.h-data: Likewise.
11161 * conform/data/utime.h-data: Likewise.
11162 * conform/data/utmpx.h-data: Likewise.
11163 * conform/data/varargs.h-data: Likewise.
11164 * conform/data/wchar.h-data: Likewise.
11165 * conform/data/wctype.h-data: Likewise.
11166 * conform/data/wordexp.h-data: Likewise.
11167
11168 * include/stropts.h: New file.
11169 * include/uchar.h: New file.
11170 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11171 * include/assert.h: Likewise.
11172 * include/ctype.h: Likewise.
11173 * include/dirent.h: Likewise.
11174 * include/dlfcn.h: Likewise.
11175 * include/fcntl.h: Likewise.
11176 * include/fnmatch.h: Likewise.
11177 * include/glob.h: Likewise.
11178 * include/grp.h: Likewise.
11179 * include/libio.h: Likewise.
11180 * include/locale.h: Likewise.
11181 * include/math.h: Likewise.
11182 * include/net/if.h: Likewise.
11183 * include/netdb.h: Likewise.
11184 * include/netinet/in.h: Likewise.
11185 * include/pthread.h: Likewise.
11186 * include/pwd.h: Likewise.
11187 * include/regex.h: Likewise.
11188 * include/sched.h: Likewise.
11189 * include/search.h: Likewise.
11190 * include/setjmp.h: Likewise.
11191 * include/signal.h: Likewise.
11192 * include/stdio.h: Likewise.
11193 * include/stdlib.h: Likewise.
11194 * include/string.h: Likewise.
11195 * include/sys/cdefs.h: Likewise.
11196 * include/sys/mman.h: Likewise.
11197 * include/sys/msg.h: Likewise.
11198 * include/sys/resource.h: Likewise.
11199 * include/sys/select.h: Likewise.
11200 * include/sys/socket.h: Likewise.
11201 * include/sys/stat.h: Likewise.
11202 * include/sys/statvfs.h: Likewise.
11203 * include/sys/time.h: Likewise.
11204 * include/sys/times.h: Likewise.
11205 * include/sys/uio.h: Likewise.
11206 * include/sys/utsname.h: Likewise.
11207 * include/sys/wait.h: Likewise.
11208 * include/termios.h: Likewise.
11209 * include/time.h: Likewise.
11210 * include/ulimit.h: Likewise.
11211 * include/unistd.h: Likewise.
11212 * include/utime.h: Likewise.
11213 * include/wchar.h: Likewise.
11214 * include/wctype.h: Likewise.
11215 * include/wordexp.h: Likewise.
11216
11217 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11218
7a270350
UD
11219 * time/time.h: TIME_UTC must be a macro.
11220 Make timespec_get available for ISO C11 only as well.
11221
7724defc
UD
112222012-02-24 Ulrich Drepper <drepper@gmail.com>
11223
11224 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11225 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11226
6b1d1d46
JM
112272012-02-24 Joseph Myers <joseph@codesourcery.com>
11228
11229 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11230
0f8bbd69
JM
112312012-02-24 Joseph Myers <joseph@codesourcery.com>
11232
11233 * manual/texinfo.tex: Update to version 2012-01-19.16.
11234
66ab80bc
JM
112352012-02-24 Joseph Myers <joseph@codesourcery.com>
11236
11237 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11238
74981cc5
RM
112392012-02-24 Roland McGrath <roland@hack.frob.com>
11240
ee968201
RM
11241 [BZ #13738]
11242 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11243 * manual/fdl-1.3.texi: New file.
11244 * manual/fdl-1.1.texi: File removed.
11245
74981cc5
RM
11246 [BZ #13738]
11247 * manual/libc.texinfo (FDL_VERSION): New @set.
11248 Use it for mention of FDL in cover text.
11249 (Documentation License): Use it in @include file name.
11250
7bb764bc
JM
112512012-02-22 Joseph Myers <joseph@codesourcery.com>
11252 Roland McGrath <roland@hack.frob.com>
11253
11254 [BZ #5461]
11255 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11256 not LONG_LONG_MAX and LONG_LONG_MIN.
11257 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11258 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11259 name.
11260 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11261
6cbeae47
JM
112622012-02-22 Joseph Myers <joseph@codesourcery.com>
11263
11264 [BZ #2547]
11265 [BZ #11365]
11266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11267 manipulate bits before adding and subtracting TWO23[sx].
11268 * math/libm-test.inc (nearbyint_test): Add more tests.
11269
fe45ce09
JM
112702012-02-22 Joseph Myers <joseph@codesourcery.com>
11271
11272 [BZ #2548]
11273 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11274 bits before adding and subtracting TWO23[sx].
11275 * math/libm-test.inc (rint_test): Add more tests.
11276 (rint_test_tonearest): Likewise.
11277 (rint_test_towardzero): Likewise.
11278 (rint_test_downward): Likewise.
11279 (rint_test_upward: Likewise.
11280
ff3b3d82
JM
112812012-02-22 Joseph Myers <joseph@codesourcery.com>
11282
11283 [BZ #10110]
11284 * include/stdc-predef.h: New file. Extracted from features.h.
11285 * include/features.h: Include stdc-predef.h.
11286 * Makefile (headers): Add stdc-predef.h.
11287 * CONFORMANCE (Compiler limitations): Update.
11288
ef0aab35
JM
112892012-02-22 Joseph Myers <joseph@codesourcery.com>
11290
11291 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11292
58639409
DM
112932012-02-21 David S. Miller <davem@davemloft.net>
11294
11295 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11296 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11297
c0e70b25
DM
112982012-02-20 David S. Miller <davem@davemloft.net>
11299
11300 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11301 using a normal save/restore sequence, rather than allocating a
11302 dummy stack frame just to store a frame pointer and restore.
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11304
fb06851d
JM
113052012-02-21 Joseph Myers <joseph@codesourcery.com>
11306
11307 * manual/install.texi: Fix stray word in line-wrapped comment.
11308
7a8b71c3
DM
113092012-02-20 David S. Miller <davem@davemloft.net>
11310
d510c123
DM
11311 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11312 both binutils and gcc support GOTDATA.
11313
0722d7c2
DM
11314 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11315 "rd %pc" in the PIC register setup sequences.
11316
3d2b3019
DM
11317 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11318 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11319 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11320 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11321 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11326 (SYSCALL_ERROR_HANDLER): Likewise.
11327 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11330 (SYSCALL_ERROR_HANDLER): Likewise.
11331
c80098a9
DM
11332 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11333 (HAVE_GCC_GOTDATA): New.
11334 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11335 relocation support in both binutils and gcc.
11336 * sysdeps/sparc/elf/configure: Regenerate.
11337
3a2545a0
DM
11338 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11339 * sysdeps/sparc/sparc32/elf/configure: Delete.
11340 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11341 * sysdeps/sparc/sparc64/elf/configure: Delete.
11342 * sysdeps/sparc/elf/configure.in: New file.
11343 * sysdeps/sparc/elf/configure: Generate.
11344
7a8b71c3
DM
11345 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11346 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11347 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11348 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11349 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11350
f1e86fca
JM
113512012-02-21 Joseph Myers <joseph@codesourcery.com>
11352
11353 * manual/install.texi: Do not mention specific glibc version
11354 numbers.
11355 * manual/libc.texinfo (VERSION, UPDATED): Update.
11356 (@copying): Use @copyright{} and range of years.
11357
0e7dfaef
JM
113582012-02-21 Joseph Myers <joseph@codesourcery.com>
11359
11360 [BZ #13695]
11361 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11362 [crti.S not in sysdirs] (generated): Do not append.
11363 [crti.S not in sysdirs] (omit-deps): Likewise.
11364 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11365 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11366 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11367 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11368 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11369 Likewise.
11370 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11371 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11372 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11373 * csu/defs.awk: Remove file.
11374 * sysdeps/generic/initfini.c: Likewise.
11375 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11376 variable.
11377 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11378 Likewise.
11379
599af3ca
JM
113802012-02-20 Joseph Myers <joseph@codesourcery.com>
11381
11382 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11383 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11385 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11387 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11388 <bits/epoll.h>.
11389 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11390 (__EPOLL_PACKED): Define to empty if not defined by
11391 <bits/epoll.h>.
11392 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11394 bits/epoll.h.
11395
0e499750
JM
113962012-02-20 Joseph Myers <joseph@codesourcery.com>
11397
11398 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11399 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11401 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11402 <bits/timerfd.h>.
11403 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11405 bits/timerfd.h.
11406
5ad91f6e
JM
114072012-02-20 Joseph Myers <joseph@codesourcery.com>
11408
11409 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11410 in C locale.
11411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11415
06b99b02
AJ
114162012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11417
11418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11420
7638c0fd
AS
114212012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11424 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11425 defined.
11426 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11427 Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11429 entry for 2.16.
11430
92221550
AJ
114312012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11432
11433 * math/w_acos.c: Use non-signaling floating-point comparisons.
11434 * math/w_acosf.c: Likewise.
11435 * math/w_acosh.c: Likewise.
11436 * math/w_acoshf.c: Likewise.
11437 * math/w_acoshl.c: Likewise.
11438 * math/w_acosl.c: Likewise.
11439 * math/w_asin.c: Likewise.
11440 * math/w_asinf.c: Likewise.
11441 * math/w_asinl.c: Likewise.
11442 * math/w_atanh.c: Likewise.
11443 * math/w_atanhf.c: Likewise.
11444 * math/w_atanhl.c: Likewise.
11445 * math/w_exp2.c: Likewise.
11446 * math/w_exp2f.c: Likewise.
11447 * math/w_exp2l.c: Likewise.
11448 * math/w_j0.c: Likewise.
11449 * math/w_j0f.c: Likewise.
11450 * math/w_j0l.c: Likewise.
11451 * math/w_j1.c: Likewise.
11452 * math/w_j1f.c: Likewise.
11453 * math/w_j1l.c: Likewise.
11454 * math/w_jn.c: Likewise.
11455 * math/w_jnf.c: Likewise.
11456 * math/w_log.c: Likewise.
11457 * math/w_log10.c: Likewise.
11458 * math/w_log10f.c: Likewise.
11459 * math/w_log10l.c: Likewise.
11460 * math/w_log2.c: Likewise.
11461 * math/w_log2f.c: Likewise.
11462 * math/w_log2l.c: Likewise.
11463 * math/w_logf.c: Likewise.
11464 * math/w_logl.c: Likewise.
11465 * math/w_sqrt.c: Likewise.
11466 * math/w_sqrtf.c: Likewise.
11467 * math/w_sqrtl.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11473
ebaf36eb
JM
114742012-02-19 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #9739]
11477 * manual/string.texi (strnlen): Use correct parameter name in
11478 equivalent expression.
11479
71c254a6
JM
114802012-02-19 Joseph Myers <joseph@codesourcery.com>
11481
11482 [BZ #11174]
11483 * manual/users.texi (seteuid): Consistently use neweuid for
11484 argument name.
11485
16d2c631
JM
114862012-02-19 Joseph Myers <joseph@codesourcery.com>
11487
11488 [BZ #13704]
11489 * manual/nss.texi (Services in the NSS configuration): Correct
11490 list of services in example configuration file.
11491
cd837b09
NB
114922012-02-19 Nick Bowler <nbowler@draconx.ca>
11493
11494 [BZ #11322]
11495 * manual/arith.texi: Remove statements about negative zero
11496 behaving identically to zero.
11497
02c4bbad
JM
114982012-02-18 Joseph Myers <joseph@codesourcery.com>
11499
11500 [BZ #5993]
11501 * manual/install.texi: Do not document upgrading from libc5.
11502
366842e7
JM
115032012-02-18 Joseph Myers <joseph@codesourcery.com>
11504
11505 [BZ #4596]
11506 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11507
dd54084d
DM
115082012-02-18 David S. Miller <davem@davemloft.net>
11509
11510 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11511 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11512 %o7 across the call.
11513 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11514 instead.
11515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11516 SETUP_PIC_REG_LEAF.
11517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11518 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11519 * sysdeps/sparc/crtn.S: Likewise.
11520
2bcc53a3
UD
115212012-02-17 Ulrich Drepper <drepper@gmail.com>
11522
11523 * aout/Makefile: Remove.
11524
09c093b5
RK
115252012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11526
11527 [BZ #13058]
11528 * manual/examples/argp-ex1.c (main): Format definition in GNU
11529 style.
11530 * manual/examples/argp-ex2.c (main): Likewise.
11531 * manual/examples/argp-ex3.c (main): Likewise.
11532 * manual/examples/argp-ex4.c (main): Likewise.
11533 * manual/examples/longopt.c (main): Use new-style prototype
11534 definition.
11535 * manual/examples/strncat.c (main): Specify return type and use
11536 (void) for arguments.
11537 * manual/examples/subopt.c (main): Use char **argv argument.
11538
2ee633a2
JM
115392012-02-17 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #5077]
11542 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11543 rounding modes.
11544
0520adde
FB
115452012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11546
11547 [BZ #6907]
11548 * manual/string.texi (strchr): Change when strchrnul is
11549 recommended.
11550
3f4081cd
DGM
115512012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11552
11553 [BZ #174]
11554 * manual/locale.texi (setlocale): Document LOCPATH.
11555
d1b10e78
JM
115562012-02-17 Joseph Myers <joseph@codesourcery.com>
11557
11558 [BZ #10210]
11559 * manual/process.texi (execle): Move @dots{} before last argument.
11560
79c6869c
PB
115612012-02-17 Paul Bolle <pebolle@tiscali.nl>
11562
11563 [BZ #12047]
11564 * manual/charset.texi (Generic Charset Conversion): Fix typo
11565 (LC_TYPE -> LC_CTYPE).
11566
cc6e48bc
NB
115672012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11568
11569 [BZ #5805]
11570 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11571 (scalbnf): Likewise.
11572 (scalbnl): Likewise.
11573 (scalbln): Likewise.
11574 (scalblnf): Likewise.
11575 (scalblnl): Likewise.
11576 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11577 (vwarnx): Likewise.
11578 (verr): Likewise.
11579 (verrx): Likewise.
11580 * manual/filesys.texi (telldir): Use braces around return type.
11581 * manual/llio.texi (mmap): Add space after comma.
11582 (mmap64): Likewise.
11583 * manual/math.texi (jn): Use @var{} on parameter names.
11584 (jnf): Likewise.
11585 (jnl): Likewise.
11586 (yn): Likewise.
11587 (ynf): Likewise.
11588 (ynl): Likewise.
11589 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11590 line.
11591 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11592 "...".
11593 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11594 (sched_get_priority_max): Likewise.
11595 * manual/signal.texi (sigvec): Add space after comma.
11596 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11597 names.
11598 (if_indextoname): Likewise.
11599 (if_freenameindex): Likewise.
11600 (sendto): Use ',' instead of '.' in prototype.
11601 * manual/startup.texi (syscall): Use @dots{} instead of literal
11602 "...".
11603 * manual/stdio.texi (__fpending): Separate initial words of
11604 paragraph from @deftypefun line.
11605 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11606 "...".
11607 (vsyslog): Use @var{} on parameter names.
11608 * manual/terminal.texi (stty): Use @var{} on parameter names.
11609 * manual/users.texi (getutmp): Use @var{} on parameter names.
11610 (getutmpx): Likewise.
11611
5b23062f
JM
116122012-02-17 Joseph Myers <joseph@codesourcery.com>
11613
11614 [BZ #6884]
11615 * manual/stdio.texi (fopen): Fix typos in description of
11616 ",ccs=STRING".
11617
8dee4833
AJ
116182012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11619
11620 [BZ #4026]
11621 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11622 get clock_id definition.
11623
9078ce93
TS
116242012-02-17 Thomas Schwinge <thomas@schwinge.name>
11625
11626 [BZ #4822]
11627 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11628 (madvise): Cast every argument to void on its own.
11629
3835c55f
JM
116302012-02-17 Joseph Myers <joseph@codesourcery.com>
11631
11632 [BZ #9902]
11633 * manual/startup.texi (Exit Status): Fix typo.
11634
35c47e37
JM
116352012-02-17 Joseph Myers <joseph@codesourcery.com>
11636
11637 [BZ #10140]
11638 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11639 * manual/examples/argp-ex2.c: Likewise.
11640 * manual/examples/argp-ex3.c: Likewise.
11641
e3b69ca7
RH
116422012-02-16 Richard Henderson <rth@redhat.com>
11643
11644 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11645 * sysdeps/s390/s390-32/initfini.c: Remove.
11646 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11647 * sysdeps/s390/s390-64/initfini.c: Remove.
11648
df83af67
KK
116492012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11650
11651 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11652 compiler output for sysdeps/generic/initfini.c.
11653 * sysdeps/sh/elf/initfini.c: Remove file.
11654
f63f3380
DM
116552012-02-16 David S. Miller <davem@davemloft.net>
11656
fb59b3a4
DM
11657 [BZ #11494]
11658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11659
f63f3380
DM
11660 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11661 * sysdeps/sparc/crti.S: New file.
11662 * sysdeps/sparc/crtn.S: New file.
11663 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11664 * sysdeps/sparc/sparc64/Makefile: Likewise.
11665
df6a4a4a
MF
116662012-02-15 Mike Frysinger <vapier@gentoo.org>
11667
6dd8f3dc 11668 [BZ #3335]
df6a4a4a
MF
11669 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11670
1cac7236
RM
116712012-02-15 Roland McGrath <roland@hack.frob.com>
11672
d2c736f8
RM
11673 [BZ #4822]
11674 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11675
1cac7236
RM
11676 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11677 (write, read, close): Likewise.
11678 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11679
8e475601
JM
116802012-02-15 Joseph Myers <joseph@codesourcery.com>
11681
11682 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11683 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11684 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11685 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11686 <bits/signalfd.h>.
11687 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11689 bits/signalfd.h.
11690
ed656b40
MP
116912012-02-14 Marek Polacek <polacek@redhat.com>
11692
11693 * sysdeps/x86_64/crti.S: New file.
11694 * sysdeps/x86_64/crtn.S: New file.
11695 * sysdeps/x86_64/elf/initfini.c: Remove file.
11696
2a979d3a
JM
116972012-02-13 Joseph Myers <joseph@codesourcery.com>
11698
11699 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11700 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11701 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11702 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11703 <bits/inotify.h>.
11704 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11706 bits/inotify.h.
11707
2a418ac3
JM
117082012-02-13 Joseph Myers <joseph@codesourcery.com>
11709
11710 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11711 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11713 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11714 <bits/eventfd.h>.
11715 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11717 bits/eventfd.h.
11718
fb779be7
TS
117192012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11720
e19e83c5
RM
11721 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11722 __feraiseexcept instead of feraiseexcept.
7c35ffed 11723
fb779be7
TS
11724 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11725 nanosleep invocations.
11726 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11727 strings, and add error checking for a nanosleep invocations.
11728
59ba27a6
PE
117292012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11730
11731 Replace FSF snail mail address with URLs, as per GNU coding standards.
11732 Most of the snail mail addresses were wrong anyway, and omitting
11733 them makes the source code easier to maintain. Almost all of the
11734 changes are to license notices and to locale LC_IDENTIFICATION
11735 addresses, except for this one:
11736 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11737 not its snail mail address.
11738
57b957eb
RH
117392012-02-09 Richard Henderson <rth@twiddle.net>
11740
af850b1c
RH
11741 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11742 of kernel-features.h.
11743
57b957eb
RH
11744 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11745
6b73181a
MP
117462012-02-08 Marek Polacek <polacek@redhat.com>
11747
11748 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11749 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11750 * sysdeps/gnu/_G_config.h: Likewise.
11751 * sysdeps/generic/_G_config.h: Likewise.
11752
26ecc33a
AS
117532012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11754
6c6dbc63
AS
11755 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11756 tests.
11757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758
e216c012
AS
11759 * sysdeps/powerpc/powerpc32/crti.S: New file.
11760 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11761 * sysdeps/powerpc/powerpc64/crti.S: New file.
11762 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11763
26ecc33a
AS
11764 * Makeconfig (have-initfini): Don't set.
11765 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11766 * configure.in (nopic_initfini): Don't substitute.
11767 * config.h.in (HAVE_INITFINI): Don't #undef.
11768 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11769 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11770
3add8e13
JM
117712012-02-08 Joseph Myers <joseph@codesourcery.com>
11772
11773 Support crti.S and crtn.S provided directly by architectures.
11774 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11775 [crti.S in sysdirs] (omit-deps): Likewise.
11776 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11777 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11778 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11779 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11780 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11781 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11782 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11783 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11784 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11785 compiler output for sysdeps/generic/initfini.c.
11786 * sysdeps/i386/elf/Makefile: Remove file.
11787 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11788
a22f12b4
MP
117892012-02-07 Marek Polacek <polacek@redhat.com>
11790
11791 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11792 * sysdeps/gnu/_G_config.h: Likewise.
11793 * sysdeps/mach/hurd/_G_config.h: Likewise.
11794
148cf100
MP
117952012-02-07 Marek Polacek <polacek@redhat.com>
11796
11797 * math/Makefile (tests): Add tst-CMPLX2.
11798 * math/tst-CMPLX2.c: New file.
11799
cfdc0dd7
AS
118002012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11801
84ba42c4
AS
11802 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11803
cfdc0dd7
AS
11804 * math/libm-test.inc (jn_test): Add missing L suffix.
11805
622c86f4
MP
118062012-02-06 Marek Polacek <polacek@redhat.com>
11807
11808 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11809 * sysdeps/i386/fpu/e_powf.S: Likewise.
11810 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11811 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11813 * sysdeps/i386/fpu/e_pow.S: Likewise.
11814 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11815 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11816 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11817 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11818 * sysdeps/i386/fpu/e_log2.S: Likewise.
11819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11820 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11821 * sysdeps/i386/fpu/e_powl.S: Likewise.
11822 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11823 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11824 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11825 * sysdeps/i386/fpu/e_logl.S: Likewise.
11826 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11827 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11828 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11829 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11832 * sysdeps/i386/fpu/e_log.S: Likewise.
11833 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11835 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11836 * sysdeps/i386/fpu/e_logf.S: Likewise.
11837 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11838 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11839 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11840 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11841 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11842 * sysdeps/i386/fpu/e_log10.S: Likewise.
11843 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11844 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11845 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11846 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11848 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11849 * sysdeps/i386/asm-syntax.h: Likewise.
11850 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11853 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11854 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11855 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11856 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11857 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11859 * sysdeps/powerpc/sysdep.h: Likewise.
11860 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11862
d4a54ac6
JM
118632012-02-06 Joseph Myers <joseph@codesourcery.com>
11864
11865 [BZ #411]
11866 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11867
314054ea
JM
118682012-02-06 Joseph Myers <joseph@codesourcery.com>
11869
11870 * sysdeps/i386/sysdep.h: Include <features.h>.
11871 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11872 version.
11873
d8e0ca50
JM
118742012-02-05 Joseph Myers <joseph@codesourcery.com>
11875
11876 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11877 Define.
11878 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11879 LOAD_PIC_REG_STR.
11880
b1da7dd9
JM
118812012-02-03 Joseph Myers <joseph@codesourcery.com>
11882
11883 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11884 (SETUP_PIC_REG): Use GET_PC_THUNK.
11885 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11886 macro.
11887
9a1d9254
JM
118882012-02-03 Joseph Myers <joseph@codesourcery.com>
11889
11890 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11891 for non-PIC compilation.
11892 (SETUP_PIC_REG): Add .p2align directive.
11893 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11894 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11895 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11896 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11898 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11899 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11901 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11902 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11903 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11904 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11905 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11906 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11907 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11908 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11909 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11910 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11911 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11912 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11915 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11916 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11928 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11929 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11930 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11931 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11932 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11934
65dc3b75
JM
119352012-02-03 Joseph Myers <joseph@codesourcery.com>
11936
11937 * math/tst-CMPLX.c: Include <stdio.h>.
11938
d55bf177
JM
119392012-01-31 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11942 float.
11943 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11944 * sysdeps/sparc/bits/mathdef.h: Likewise.
11945
69db4f8f
MP
119462012-01-31 Marek Polacek <polacek@redhat.com>
11947
11948 * libio/libio.h: Don't define _PARAMS.
11949 * locale/programs/config.h: Don't define PARAMS.
11950 * stdlib/strtol_l.c: Likewise.
11951 (__strtol_l): Remove PARAMS from the prototype.
11952
41b81892
UD
119532012-01-31 Ulrich Drepper <drepper@gmail.com>
11954
3b49edc0
UD
11955 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11956 names. Just use the correct names. Remove unnecessary wrapper
11957 functions.
11958 * malloc/arena.c: Likewise.
11959 * malloc/hooks.c: Likewise.
11960
41b81892
UD
11961 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11962 ARENA_TEST says not to. Simplify test for creation of a new arena.
11963 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11964
27a25b6e
UD
119652012-01-30 Ulrich Drepper <drepper@gmail.com>
11966
11967 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11968 into tail calls.
11969 (update_get_addr): New function.
11970 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11971 GET_ADDR_MODULE parameter.
11972
c8a89e7d
JM
119732012-01-30 Joseph Myers <joseph@codesourcery.com>
11974
11975 * crypt/cert.c: Remove __STDC__ conditionals.
11976 * crypt/crypt-entry.c: Likewise.
11977 * crypt/crypt_util.c: Likewise.
11978 * libio/filedoalloc.c: Likewise.
11979 * libio/fileops.c: Likewise.
11980 * libio/genops.c: Likewise.
11981 * libio/iofclose.c: Likewise.
11982 * libio/iofdopen.c: Likewise.
11983 * libio/iofopen.c: Likewise.
11984 * libio/iofopen64.c: Likewise.
11985 * libio/iogetdelim.c: Likewise.
11986 * libio/iopopen.c: Likewise.
11987 * libio/obprintf.c: Likewise.
11988 * libio/oldfileops.c: Likewise.
11989 * libio/oldiofclose.c: Likewise.
11990 * libio/oldiofdopen.c: Likewise.
11991 * libio/oldiofopen.c: Likewise.
11992 * libio/oldiopopen.c: Likewise.
11993 * libio/wfiledoalloc.c: Likewise.
11994 * libio/wgenops.c: Likewise.
11995 * locale/programs/xmalloc.c: Likewise.
11996 * misc/syslog.c: Likewise.
11997 * stdio-common/xbug.c: Likewise.
11998 * string/memchr.c: Likewise.
11999 * string/memcmp.c: Likewise.
12000 * string/memrchr.c: Likewise.
12001 * string/rawmemchr.c: Likewise.
12002 * sysdeps/posix/getcwd.c: Likewise.
12003 * time/strftime_l.c: Likewise.
12004
3b100462
JM
120052012-01-30 Joseph Myers <joseph@codesourcery.com>
12006
12007 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12008 * config.make.in (config-cflags-sse2avx): Define.
12009 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12010 Fix typo.
12011
607998af
CM
120122012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12013
12014 * scripts/config.guess: Update from upstream config git repository.
12015 * scripts/config.sub: Likewise.
12016
3601428f
CM
120172012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12018
3ac8b282
CM
12019 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12020 (EM_NUM): Update.
12021 (R_TILEPRO_*, R_TILEGX_*): New macros.
12022
e034841e
CM
12023 * scripts/firstversions.awk: Fix bug in version range handling.
12024
540d7568
CM
12025 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12026
3601428f
CM
12027 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12028
463de862
CM
12029 * include/sys/epoll.h: New file.
12030 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12031 libc_hidden_def.
12032
73139a76
UD
120332012-01-28 Ulrich Drepper <drepper@gmail.com>
12034
96bc5b45
UD
12035 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12036 Avoid unnecessary __WORDSIZE == 64 test.
12037 (fmaxf): Use VEX format if possible.
12038 (fmax): Likewise.
12039 (fminf): Likewise.
12040 (fmin): Likewise.
12041
56f6f6a2
UD
12042 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12043 * math/math_private.h: Remove libc_fegetround* and
12044 libc_fesetround*.
12045 * sysdeps/i386/configure.in: Check for -msse2avx.
12046 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12047 also if SSE2AVX is defined.
12048 Remove libc_fegetround* and libc_fesetround*.
12049 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12050 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12051 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12052 of HAS_YMM_USABLE.
12053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12054 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12056 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12057 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12058
73139a76
UD
12059 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12060
d73f93a4
AZ
120612012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12062
12063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12064 size is not set.
12065 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12066
6ee65ed6
UD
120672012-01-27 Ulrich Drepper <drepper@gmail.com>
12068
12069 [BZ #13618]
12070 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12071 relocation.
12072 * Makeconfig (libm): Define.
12073 * elf/Makefile: Add rules to build and run tst-relsort1.
12074 * elf/tst-relsort1.c: New file.
12075 * elf/tst-relsort1mod1.c: New file.
12076 * elf/tst-relsort1mod2.c: New file.
12077
8db21882
JM
120782012-01-27 Joseph Myers <joseph@codesourcery.com>
12079
12080 * math/s_ldexp.c: Remove __STDC__ conditionals.
12081 * math/s_ldexpf.c: Likewise.
12082 * math/s_ldexpl.c: Likewise.
12083 * math/s_nextafter.c: Likewise.
12084 * math/s_nexttowardf.c: Likewise.
12085 * math/s_significand.c: Likewise.
12086 * math/s_significandf.c: Likewise.
12087 * math/s_significandl.c: Likewise.
12088 * math/w_jnl.c: Likewise.
12089 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12090 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12091 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12092 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12093 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12110 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12115 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12117 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12118 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12121 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12122 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12123 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12124 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12125 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12126 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12127 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12128 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12129 * sysdeps/ieee754/k_standard.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12144 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12179 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12191 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12196 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12200 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12202 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12203 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12204 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12206 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12207 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12209 * sysdeps/ieee754/s_matherr.c: Likewise.
12210 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12214
965a54a4
JM
122152012-01-26 Joseph Myers <joseph@codesourcery.com>
12216
12217 * crypt/md5.h: Remove __STDC__ conditionals.
12218 * libio/libioP.h: Likewise.
12219 * locale/programs/config.h: Likewise.
12220 * sysdeps/generic/sysdep.h: Likewise.
12221 * sysdeps/i386/asm-syntax.h: Likewise.
12222 * sysdeps/s390/asm-syntax.h: Likewise.
12223 * sysdeps/unix/sysdep.h: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12226
7071ad79
JM
122272012-01-26 Joseph Myers <joseph@codesourcery.com>
12228
12229 * libio/libio.h: Remove __STDC__ conditionals.
12230 * malloc/obstack.h: Likewise.
12231 * math/complex.h: Likewise.
12232 * math/math.h: Likewise.
12233 * sysdeps/generic/_G_config.h: Likewise.
12234 * sysdeps/gnu/_G_config.h: Likewise.
12235 * sysdeps/mach/hurd/_G_config.h: Likewise.
12236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12237 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12238 * sysdeps/sparc/bits/mathdef.h: Likewise.
12239
afc5ed09
UD
122402012-01-26 Ulrich Drepper <drepper@gmail.com>
12241
12242 [BZ #13583]
12243 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12244 Clean up HAS_* macros.
afc5ed09 12245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12246 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12247 possible.
12248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12249 HAS_AVX.
12250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12255
bdb6de1d
JM
122562012-01-25 Joseph Myers <joseph@codesourcery.com>
12257
12258 * elf/tst-unique3.cc (gets): Remove declaration.
12259 * elf/tst-unique3lib.cc (gets): Likewise.
12260 * elf/tst-unique3lib2.cc (gets): Likewise.
12261 * elf/tst-unique4.cc (gets): Likewise.
12262
b15549e6
UD
122632012-01-24 Ulrich Drepper <drepper@gmail.com>
12264
12265 * include/stdio.h: Add C++ protection. Add gets declarations and
12266 definitions.
12267 * debug/tst-chk1.c: Don't declare gets here.
12268 * stdio-common/tst-gets.c: Likewise.
12269
a037381f
JM
122702012-01-24 Joseph Myers <joseph@codesourcery.com>
12271
12272 * posix/glob: Remove directory.
12273
f1d4aa75
JM
122742012-01-24 Joseph Myers <joseph@codesourcery.com>
12275
12276 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12277
81c0c964
PT
122782012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12279
12280 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12281 of the non-standard EPFNOSUPPORT.
12282
0ea698ae
ST
122832011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12284
12285 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12286 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12287 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12288
d220b117
UD
122892012-01-21 Ulrich Drepper <drepper@gmail.com>
12290
12291 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12292
3e1aa84e
UD
122932012-01-20 Ulrich Drepper <drepper@gmail.com>
12294
12295 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12296 transient errors.
12297 * nscd/grpcache.c (cache_addgr): Likewise.
12298 * nscd/hstcache.c (cache_addhst): Likewise.
12299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12300 * nscd/pwdcache.c (cache_addpw): Likewise.
12301 * nscd/servicescache.c (cache_addserv): Likewise.
12302
400aa020
UD
123032012-01-16 Ulrich Drepper <drepper@gmail.com>
12304
d77e7869
UD
12305 * malloc/malloc.c: Various cleanups.
12306 * malloc/hooks.c: Likewise.
12307
400aa020
UD
12308 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12309 * stdlib/bug-fmtmsg1.c: New file.
12310
12311 * stdlib/fmtmsg.c (init): Add missing unlock.
12312 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12313
e0a309cf
MP
123142012-01-12 Marek Polacek <polacek@redhat.com>
12315
12316 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12317 and _GNU_SOURCE.
12318
929d11c7
WS
123192012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12320
12321 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12322 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12323 macro to ensure uniqueness of label name.
12324 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12325 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12326
41d0e869
UD
123272012-01-11 Ulrich Drepper <drepper@gmail.com>
12328
0cc5ed3b
UD
12329 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12330
41d0e869
UD
12331 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12332 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12335
a47a831a
UD
123362012-01-10 Ulrich Drepper <drepper@gmail.com>
12337
daa891c0
UD
12338 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12339
12340 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12341 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12343
e58ef0f2
UD
12344 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12345
a47a831a 12346 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12347 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12350
12351 * math/bits/math-finite.h: Add ldexp support.
12352
a0bfc9c7
MP
123532012-01-10 Marek Polacek <polacek@redhat.com>
12354
12355 * locale/programs/localedef.h (show_archive_content): Add noreturn
12356 attribute.
12357
d6e97a1d
UD
123582012-01-09 Ulrich Drepper <drepper@gmail.com>
12359
12360 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12361
d5835c26
UD
123622012-01-08 Ulrich Drepper <drepper@gmail.com>
12363
e5f484c6
UD
12364 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12365
d5835c26
UD
12366 * io/Makefile (headers): Add bits/poll2.h.
12367
d1f741e9
WS
123682011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12369
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12371 typo #include statement.
12372
ec09c1c4
UD
123732012-01-08 Ulrich Drepper <drepper@gmail.com>
12374
12375 * include/sys/cdefs.h: Define __attribute_alloc_size.
12376 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12377 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12378 * elf/pldd.c: Likewise.
12379 * iconv/iconv_charmap.c: Likewise.
12380 * iconv/iconvconfig.c: Likewise.
12381 * iconv/strtab.c: Likewise.
12382 * locale/programs/locale.c: Likewise.
12383 * locale/programs/localedef.h: Likewise.
12384 * locale/programs/simple-hash.c: Likewise.
12385 * nscd/nscd.h: Likewise.
12386 * nss/makedb.c: Likewise.
12387 * sysdeps/generic/ldconfig.h: Likewise.
12388 * locale/programs/localedef.c: Remove xmalloc prototype.
12389 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12390
20b38e03
PP
123912012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12392
12393 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12394 appropriate.
12395
a0da5fe1
UD
123962012-01-08 Ulrich Drepper <drepper@gmail.com>
12397
1d5a644a 12398 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12399 * math/tst-CMPLX.c: New file.
1d5a644a 12400
8784a6db
UD
12401 * math/complex.h (CMPLXL): Fix typo.
12402
d9a216c0
UD
12403 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12404 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12405 GLIBC_2.16.
12406 * debug/tst-chk1.c: Add poll and ppoll tests.
12407 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12408 * include/sys/poll.h: Add hidden proto for ppoll.
12409 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12410 * sysdeps/mach/hurd/ppoll.c: Likewise.
12411 * io/ppoll.c: Likewise.
12412 * debug/poll_chk.c: New file.
12413 * debug/ppoll_chk.c: New file.
12414 * include/bits/poll2.h: New file.
12415 * io/bits/poll2.h: New file.
12416
ac097f5c
UD
12417 [BZ #1350]
12418 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12419
2119dcfa
UD
12420 * configure.in: static is always set to yes. Remove.
12421 * config.make.in: Don't set build-static.
12422 * Makeconfig: Remove use of build-static.
12423 * dlfcn/Makefile: Likewise.
12424 * elf/Makefile: Likewise.
12425 * math/Makefile: Likewise.
12426 * misc/Makefile: Likewise.
12427 * nptl/Makefile: Likewise.
12428 * sysdeps/mach/hurd/Makefile: Likewise.
12429
121766a9
UD
12430 * configure.in: PWD_P is not used anymore.
12431 * config.make.in: Remove PWD_P entry.
12432
51a1d39c 12433 * configure.in: Remove last remnants of RANLIB.
8720d066 12434 No need to check for signed size_t anymore.
215f4bdc
UD
12435 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12436 and IA-64.
3857022a 12437 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12438 * aclocal.m4: Likewise.
12439
d3ed7225
UD
12440 * wcsmbs/mbrtoc16.c: Implement using towc function.
12441 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12442 * wcsmbs/wcsmbsload.c: Likewise.
12443 * iconv/gconv_simple.c: Likewise.
12444 * iconv/gconv_int.h: Likewise.
12445 * iconv/gconv_builtin.h: Likewise.
12446 * iconv/iconv_prog.c: Remove CHAR16 handling.
12447
12448 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12449
12450 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12451
a0da5fe1
UD
12452 * configure.in: Remove --with-elf and --enable-bounded options.
12453 Dont set base_machine for ia64. More non-ELF conditions removed.
12454 Remove testing and setting of leading underscore information.
12455 * config.make.in (build-bounded): Set to no.
12456 * config.h.in: Remove NO_UNDERSCORES entry.
12457 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12458 them.
12459 * csu/start.c: Remove !NO_UNDERSCORE code.
12460 * locale/localeinfo.h: Likewise.
12461 * sysdeps/generic/machine-gmon.h: Likewise.
12462 * sysdeps/generic/sysdep.h: Likewise.
12463 * sysdeps/i386/sysdep.h: Likewise.
12464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12465 * sysdeps/mach/sysdep.h: Likewise.
12466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12468 * sysdeps/sh/sysdep.h: Likewise.
12469 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12470 * sysdeps/unix/i386/sysdep.S: Likewise.
12471 * sysdeps/unix/sparc/start.c: Likewise.
12472 * sysdeps/unix/sparc/sysdep.S: Likewise.
12473 * sysdeps/unix/sparc/sysdep.h: Likewise.
12474 * sysdeps/unix/start.c: Likewise.
12475 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12476 * sysdeps/x86_64/sysdep.h: Likewise.
12477
df78418a
UD
124782012-01-07 Ulrich Drepper <drepper@gmail.com>
12479
a784e502
UD
12480 [BZ #13553]
12481 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12482 for non-gcc.
12483 * argp/argp-fmtstream.h: Use const instead __const.
12484 * argp/argp.h: Likewise.
12485 * assert/assert.h: Likewise.
12486 * bits/fenv.h: Likewise.
12487 * bits/sched.h: Likewise.
12488 * bits/sigset.h: Likewise.
12489 * bits/sigthread.h: Likewise.
12490 * catgets/nl_types.h: Likewise.
12491 * conform/data/pthread.h-data: Likewise.
12492 * crypt/crypt-private.h: Likewise.
12493 * crypt/crypt.h: Likewise.
12494 * crypt/crypt_util.c: Likewise.
12495 * ctype/ctype.h: Likewise.
12496 * debug/execinfo.h: Likewise.
12497 * debug/mbsnrtowcs_chk.c: Likewise.
12498 * debug/mbsrtowcs_chk.c: Likewise.
12499 * debug/wcsnrtombs_chk.c: Likewise.
12500 * debug/wcsrtombs_chk.c: Likewise.
12501 * debug/wcstombs_chk.c: Likewise.
12502 * dirent/dirent.h: Likewise.
12503 * dlfcn/dlfcn.h: Likewise.
12504 * elf/neededtest4.c: Likewise.
12505 * grp/grp.h: Likewise.
12506 * gshadow/gshadow.h: Likewise.
12507 * iconv/gconv.h: Likewise.
12508 * iconv/gconv_int.h: Likewise.
12509 * iconv/gconv_simple.c: Likewise.
12510 * iconv/iconv.h: Likewise.
12511 * iconv/loop.c: Likewise.
12512 * iconv/skeleton.c: Likewise.
12513 * include/aio.h: Likewise.
12514 * include/aliases.h: Likewise.
12515 * include/argz.h: Likewise.
12516 * include/arpa/inet.h: Likewise.
12517 * include/assert.h: Likewise.
12518 * include/dirent.h: Likewise.
12519 * include/dlfcn.h: Likewise.
12520 * include/execinfo.h: Likewise.
12521 * include/fcntl.h: Likewise.
12522 * include/fenv.h: Likewise.
12523 * include/glob.h: Likewise.
12524 * include/grp.h: Likewise.
12525 * include/libintl.h: Likewise.
12526 * include/mntent.h: Likewise.
12527 * include/netdb.h: Likewise.
12528 * include/pwd.h: Likewise.
12529 * include/rpc/netdb.h: Likewise.
12530 * include/sched.h: Likewise.
12531 * include/search.h: Likewise.
12532 * include/shadow.h: Likewise.
12533 * include/signal.h: Likewise.
12534 * include/stdio.h: Likewise.
12535 * include/stdlib.h: Likewise.
12536 * include/string.h: Likewise.
12537 * include/sys/socket.h: Likewise.
12538 * include/sys/stat.h: Likewise.
12539 * include/sys/statfs.h: Likewise.
12540 * include/sys/statvfs.h: Likewise.
12541 * include/sys/syslog.h: Likewise.
12542 * include/sys/time.h: Likewise.
12543 * include/sys/uio.h: Likewise.
12544 * include/time.h: Likewise.
12545 * include/unistd.h: Likewise.
12546 * include/utmp.h: Likewise.
12547 * include/wchar.h: Likewise.
12548 * include/wctype.h: Likewise.
12549 * inet/aliases.h: Likewise.
12550 * inet/arpa/inet.h: Likewise.
12551 * inet/netinet/ether.h: Likewise.
12552 * inet/netinet/in.h: Likewise.
12553 * intl/libintl.h: Likewise.
12554 * io/bits/fcntl2.h: Likewise.
12555 * io/fcntl.h: Likewise.
12556 * io/ftw.h: Likewise.
12557 * io/sys/poll.h: Likewise.
12558 * io/sys/stat.h: Likewise.
12559 * io/sys/statfs.h: Likewise.
12560 * io/sys/statvfs.h: Likewise.
12561 * io/utime.h: Likewise.
12562 * libio/bits/stdio.h: Likewise.
12563 * libio/bits/stdio2.h: Likewise.
12564 * libio/libio.h: Likewise.
12565 * libio/libioP.h: Likewise.
12566 * libio/stdio.h: Likewise.
12567 * locale/lc-ctype.c: Likewise.
12568 * locale/locale.h: Likewise.
12569 * login/utmp.h: Likewise.
12570 * malloc/arena.c: Likewise.
12571 * malloc/malloc.c: Likewise.
12572 * malloc/malloc.h: Likewise.
12573 * malloc/mcheck.c: Likewise.
12574 * malloc/mtrace.c: Likewise.
12575 * math/bits/mathcalls.h: Likewise.
12576 * math/fenv.h: Likewise.
12577 * math/math_private.h: Likewise.
12578 * misc/bits/error.h: Likewise.
12579 * misc/bits/syslog.h: Likewise.
12580 * misc/err.h: Likewise.
12581 * misc/error.h: Likewise.
12582 * misc/fstab.h: Likewise.
12583 * misc/mntent.h: Likewise.
12584 * misc/regexp.h: Likewise.
12585 * misc/search.h: Likewise.
12586 * misc/sgtty.h: Likewise.
12587 * misc/sys/mman.h: Likewise.
12588 * misc/sys/syslog.h: Likewise.
12589 * misc/sys/uio.h: Likewise.
12590 * misc/sys/xattr.h: Likewise.
12591 * misc/ttyent.h: Likewise.
12592 * nis/rpcsvc/ypclnt.h: Likewise.
12593 * nss/nss.h: Likewise.
12594 * posix/bits/unistd.h: Likewise.
12595 * posix/fnmatch.h: Likewise.
12596 * posix/glob.h: Likewise.
12597 * posix/sched.h: Likewise.
12598 * posix/spawn.h: Likewise.
12599 * posix/sys/wait.h: Likewise.
12600 * posix/unistd.h: Likewise.
12601 * posix/wordexp.h: Likewise.
12602 * pwd/pwd.h: Likewise.
12603 * resolv/netdb.h: Likewise.
12604 * resource/sys/resource.h: Likewise.
12605 * rt/aio.h: Likewise.
12606 * rt/bits/mqueue2.h: Likewise.
12607 * rt/mqueue.h: Likewise.
12608 * shadow/shadow.h: Likewise.
12609 * signal/signal.h: Likewise.
12610 * socket/send.c: Likewise.
12611 * socket/sendto.c: Likewise.
12612 * socket/sys/socket.h: Likewise.
12613 * stdio-common/printf.h: Likewise.
12614 * stdlib/bits/stdlib.h: Likewise.
12615 * stdlib/fmtmsg.h: Likewise.
12616 * stdlib/monetary.h: Likewise.
12617 * stdlib/stdlib.h: Likewise.
12618 * stdlib/ucontext.h: Likewise.
12619 * streams/stropts.h: Likewise.
12620 * string/argz.h: Likewise.
12621 * string/bits/string2.h: Likewise.
12622 * string/string.h: Likewise.
12623 * string/strings.h: Likewise.
12624 * sunrpc/rpc/auth.h: Likewise.
12625 * sunrpc/rpc/auth_des.h: Likewise.
12626 * sunrpc/rpc/clnt.h: Likewise.
12627 * sunrpc/rpc/netdb.h: Likewise.
12628 * sunrpc/rpc/pmap_clnt.h: Likewise.
12629 * sunrpc/rpc/xdr.h: Likewise.
12630 * sysdeps/generic/inttypes.h: Likewise.
12631 * sysdeps/generic/net/if.h: Likewise.
12632 * sysdeps/generic/sys/swap.h: Likewise.
12633 * sysdeps/gnu/net/if.h: Likewise.
12634 * sysdeps/gnu/utmpx.h: Likewise.
12635 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12636 * sysdeps/i386/i486/bits/string.h: Likewise.
12637 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12638 * sysdeps/s390/bits/string.h: Likewise.
12639 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12640 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12641 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12642 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12643 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12644 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12645 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12646 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12647 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12648 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12649 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12650 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12651 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12652 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12653 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12654 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12661 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12662 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12667 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12668 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12669 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12670 * sysvipc/sys/ipc.h: Likewise.
12671 * sysvipc/sys/msg.h: Likewise.
12672 * sysvipc/sys/sem.h: Likewise.
12673 * sysvipc/sys/shm.h: Likewise.
12674 * termios/termios.h: Likewise.
12675 * time/sys/time.h: Likewise.
12676 * time/time.h: Likewise.
12677 * wcsmbs/bits/wchar2.h: Likewise.
12678 * wcsmbs/uchar.h: Likewise.
12679 * wcsmbs/wchar.h: Likewise.
12680 * wctype/wctype.h: Likewise.
12681
0269750c
UD
12682 [BZ #13551]
12683 * Makeconfig: Remove all but ELF support including AIX support.
12684 * Makerules: Likewise.
12685 * config.h.in: Likewise.
12686 * config.make.in: Likewise.
12687 * configure: Likewise.
12688 * configure.in: Likewise.
12689 * csu/Makefile: Likewise.
12690 * csu/version.c: Likewise.
12691 * debug/Makefile: Likewise.
12692 * dlfcn/Makefile: Likewise.
12693 * elf/Makefile: Likewise.
12694 * extra-lib.mk: Likewise.
12695 * iconv/Makefile: Likewise.
12696 * include/libc-symbols.h: Likewise.
12697 * include/shlib-compat.h: Likewise.
12698 * resolv/Makefile: Likewise.
12699 * resolv/res_libc.c: Likewise.
12700 * rt/Makefile: Likewise.
12701 * sysdeps/i386/asm-syntax.h: Likewise.
12702 * sysdeps/i386/sysdep.h: Likewise.
12703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12704 * sysdeps/mach/sysdep.h: Likewise.
12705 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12706 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12707 * sysdeps/s390/asm-syntax.h: Likewise.
12708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12710 * sysdeps/sh/sysdep.h: Likewise.
12711 * sysdeps/unix/sparc/sysdep.h: Likewise.
12712 * sysdeps/wordsize-32/divdi3.c: Likewise.
12713 * sysdeps/x86_64/sysdep.h: Likewise.
12714
00bbd29b
UD
12715 * argp/Versions: Remove _argp_unlock_xxx.
12716
12717 [BZ #13559]
12718 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12719 * abilist/libBrokenLocale.abilist: Likewise.
12720 * abilist/libanl.abilist: Likewise.
12721 * abilist/libc.abilist: Likewise.
12722 * abilist/libcrypt.abilist: Likewise.
12723 * abilist/libdl.abilist: Likewise.
12724 * abilist/libm.abilist: Likewise.
12725 * abilist/libnsl.abilist: Likewise.
12726 * abilist/libpthread.abilist: Likewise.
12727 * abilist/libresolv.abilist: Likewise.
12728 * abilist/librt.abilist: Likewise.
12729 * abilist/libthread_db.abilist: Likewise.
12730 * abilist/libutil.abilist: Likewise.
12731 * abilist/libnss_db.abilist: New file.
12732
12733 * scripts/abilist.awk: Add support for indirect functions.
12734
a2693a0e
UD
12735 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12736
3f05895f
UD
12737 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12738
ecb6fb48
UD
12739 * shlib-versions: Remove entries for ports architectures.
12740
664f8cb9
UD
12741 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12742 files in ports.
12743 * elf/stackguard-macros.h: Remove support for IA-64.
12744 * elf/tst-auditmod1.c: Likewise.
12745 * sysdeps/generic/ldsodefs.h: Likewise.
12746
7ae81d88
UD
12747 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12748 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12749 configure files.
12750
bdeba135
UD
12751 [BZ #13552]
12752 * configure.in: Remove --enable-omitfp support.
12753 * FAQ.in: Adjust.
12754 * config.make.in: Likewise.
12755 * Makeconfig: Likewise.
12756 * manual/install.texi: Likewise.
12757
d75a0a62
UD
12758 In case anyone cares, the IA-64 architecture could move to ports.
12759 * sysdeps/ia64/*: Removed.
12760 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12761 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12762
dcc9756b
UD
12763 [BZ #13555]
12764 * configure.in: Remove entries for unsupported architectures.
12765
d3761ebc 12766 [BZ #13533]
9954432e
UD
12767 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12768 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12769 routines.
12770 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12771 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12772 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12773 fall back to using wcrtomb.
12774 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12775 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12776 renaming.
12777 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12778 * wcsmbs/tst-c16c32-1.c: New file.
12779
12780 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12781 local variable.
12782
c3a87236
UD
12783 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12784
28926a1b
UD
12785 * elf/tst-unique3.cc: Add explicit declaration of gets.
12786 * elf/tst-unique3lib.cc: Likewise.
12787 * elf/tst-unique3lib2.cc: Likewise.
12788 * elf/tst-unique4.cc: Likewise.
12789
df78418a
UD
12790 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12791
8ecd6b2a
JM
127922012-01-06 Joseph Myers <joseph@codesourcery.com>
12793
12794 [BZ #13566]
12795 * assert/assert.h (static_assert): Don't define for C++.
12796 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12797 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12798
9f115170
UD
127992012-01-03 Ulrich Drepper <drepper@gmail.com>
12800
5e0d0300
UD
12801 * iconv/loop.c (single loop): Fix assertion in storing of
12802 remaining bytes.
12803
9f115170
UD
12804 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12805
81fb02b0
UD
128062012-01-01 Ulrich Drepper <drepper@gmail.com>
12807
12808 * posix/getconf.c: Update copyright year.
12809 * nss/getent.c: Likewise.
a316c1f6 12810 * nss/makedb.c: Likewise.
81fb02b0
UD
12811 * iconv/iconvconfig.c: Likewise.
12812 * iconv/iconv_prog.c: Likewise.
12813 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12814 * elf/pldd.c: Likewise.
12815 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12816 * catgets/gencat.c: Likewise.
12817 * csu/version.c: Likewise.
12818 * elf/ldd.bash.in: Likewise.
12819 * elf/sprof.c (print_version): Likewise.
12820 * locale/programs/locale.c: Likewise.
12821 * locale/programs/localedef.c: Likewise.
a316c1f6 12822 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12823 * nscd/nscd.c (print_version): Likewise.
12824 * debug/xtrace.sh: Likewise.
12825 * malloc/memusage.sh: Likewise.
12826 * malloc/mtrace.pl: Likewise.
12827 * debug/catchsegv.sh: Likewise.
12828
2ba92745
JJ
128292011-12-30 Jakub Jelinek <jakub@redhat.com>
12830
12831 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12832 pure attribute.
12833
dadebdae
UD
128342011-12-24 Ulrich Drepper <drepper@gmail.com>
12835
d3761ebc 12836 [BZ #13533]
db6af3eb
UD
12837 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12838 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12839 transformations.
12840 * iconv/gconv_int.h: Likewise.
12841 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12842 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12843 from libc for GLIBC_2.16.
12844 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12845 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12846 * wcsmbs/uchar.h: Really define mbstate_t.
12847 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12848 * wcsmbs/c16rtomb.c: New file.
12849 * wcsmbs/mbrtoc16.c: New file.
12850 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12851 for C/POSIX locale.
12852 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12853 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12854
dadebdae
UD
12855 * wcsmbs/wchar.h: Add missing __restrict.
12856
67371b56
UD
128572011-12-23 Ulrich Drepper <drepper@gmail.com>
12858
74033a25
UD
12859 [BZ #13532]
12860 * time/Makefile (routines): Add timespec_get.
12861 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12862 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12863 timespec for ISO C11.
12864 * time/timespec_get.c: New file.
12865 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12866 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12867
380d7e87
UD
12868 [BZ #13531]
12869 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12870 * stdlib/stdlib.h: Declare aligned_alloc.
12871 * Versions.def: Add GLIBC_2.16 for libc.
12872 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12873
4e9e7a35
UD
12874 [BZ 13527]
12875 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12876 ISO C11.
12877
380d7e87 12878 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12879 code.
12880
03a71829
UD
12881 [BZ #13528]
12882 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12883
839e283e
UD
12884 [BZ #13529]
12885 * assert/assert.h (static_assert): Define.
12886
ce5294e2 12887 * version.h: Update for 2.16 development version.
90fa7312 12888
8d44e150 12889 [BZ #13526]
d7809905
UD
12890 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12891 _ISOC11_SOURCE.
12892
c0da14cd
UD
12893 * version.h (RELEASE): Bump for 2.15 release.
12894 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12895
530a3249
MP
12896 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12897 Patch by Marek Polacek <mpolacek@redhat.com>.
12898
67371b56
UD
12899 * bits/byteswap.h: Protect long long constants with __extension__.
12900 * sysdeps/i386/bits/byteswap.h: Likewise.
12901 * sysdeps/ia64/bits/byteswap.h: Likewise.
12902 * sysdeps/s390/bits/byteswap.h: Likewise.
12903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12904
15db4de1
LD
129052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12906
12907 [BZ #13540]
bbe315ea
LD
12908 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12909 destination buffer.
15db4de1
LD
12910 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12911
2b2596b1
MP
129122011-12-23 Marek Polacek <polacek@redhat.com>
12913
12914 * elf/dl-addr.c (determine_info): Add inline keyword.
12915 * elf/tst-auditmod4b.c (check_avx): Likewise.
12916 * elf/tst-auditmod6b.c (check_avx): Likewise.
12917 * elf/tst-auditmod6c.c (check_avx): Likewise.
12918 * elf/tst-auditmod7b.c (check_avx): Likewise.
12919
70c6c246
UD
129202011-12-23 Ulrich Drepper <drepper@gmail.com>
12921
12922 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12923 !__SSE_MATH__.
12924
c044cf14
LD
129252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12926
15db4de1 12927 [BZ #13540]
c044cf14
LD
12928 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12929 processing for last bytes.
12930
6b13d9d9
BH
129312011-08-06 Bruno Haible <bruno@clisp.org>
12932
d455f537
BH
12933 [BZ #13061]
12934 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12935 U+0385, not to U+1FEE.
12936
6b13d9d9
BH
12937 [BZ #13062]
12938 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12939 entry for U+00A5 U+0301.
12940
db910efd
UD
129412011-12-22 Ulrich Drepper <drepper@gmail.com>
12942
27deeafc
UD
12943 [BZ #13166]
12944 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12945 buffer for the output is too small.
12946
aed9d171
UD
12947 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12948 optimization.
12949
db910efd
UD
12950 [BZ #13185]
12951 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12952 SSE flags if possible.
12953
2bd779ae
LD
129542011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12955
e7f9dac3 12956 [BZ #13540]
2bd779ae
LD
12957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12958 processing for last bytes.
12959
154bfc16
JM
129602011-12-22 Joseph Myers <joseph@codesourcery.com>
12961
12962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12963 (syscall-list-default-options, syscall-list-default-condition)
12964 (syscall-list-includes): Define.
12965 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12966 list of ABIs and options and #if conditions for each ABI. Do not
12967 handle common syscalls between ABIs specially.
12968 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12969 Remove.
12970 (syscall-list-variants, syscall-list-32bit-options)
12971 (syscall-list-32bit-condition, syscall-list-64bit-options)
12972 (syscall-list-64bit-condition): Define.
12973 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12974 (syscall-list-variants, syscall-list-32bit-options)
12975 (syscall-list-32bit-condition, syscall-list-64bit-options)
12976 (syscall-list-64bit-condition): Define.
12977 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12978 Remove.
12979 (syscall-list-variants, syscall-list-32bit-options)
12980 (syscall-list-32bit-condition, syscall-list-64bit-options)
12981 (syscall-list-64bit-condition): Define.
12982 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12983 Remove.
12984 (syscall-list-variants, syscall-list-32bit-options)
12985 (syscall-list-32bit-condition, syscall-list-64bit-options)
12986 (syscall-list-64bit-condition): Define.
12987
21eaf3a5
UD
129882011-12-22 Ulrich Drepper <drepper@gmail.com>
12989
16c6f992
UD
12990 * locale/iso-639.def: Add brx entry.
12991
41043168
UD
12992 [BZ #13328]
12993 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12994 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12995
21eaf3a5
UD
12996 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12997 __feraiseexcept_renamed.
12998
e3a851a2
UD
129992011-12-21 Ulrich Drepper <drepper@gmail.com>
13000
4920765e
UD
13001 [BZ #13538]
13002 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13003 EPOLLET with unsigned values.
13004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13006
e3a851a2
UD
13007 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13008 to large cancellation.
13009 * math/s_cacoshf.c: Likewise.
13010 * math/s_cacoshl.c: Likewise.
13011
b27e24b8
RK
130122011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13013
13014 [BZ #13305]
aebefeee 13015 [BZ #12786]
b27e24b8
RK
13016 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13017 * math/s_cacoshf.c: Likewise.
13018 * math/s_cacoshl.c: Likewise.
13019
ee190f67
UD
130202011-12-21 Ulrich Drepper <drepper@gmail.com>
13021
13022 [BZ #13439]
13023 * iconv/gconv.h: Define __GCONV_SWAP.
13024 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13025 * iconvdata/utf-16.c: Likewise.
13026 * iconvdata/utf-32.c: Likewise.
13027
707f25df
AS
130282011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13029
13030 [BZ #13524]
13031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13032 numerator after shifting it by one limb.
13033
d2daaa1e
RÁE
130342011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13035
13036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13037 under [__USE_EXTERN_INLINES].
13038
a4647e72
UD
130392011-12-17 Ulrich Drepper <drepper@gmail.com>
13040
13041 [BZ #13446]
13042 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13043
f0b264f1
AZ
130442011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13045
13046 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13047 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13048 optimized code.
13049 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13050 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13051 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13052 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13053 for strncasecmp/strncasecmp_l compilation.
13054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13055 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13056
8ef4f244
MP
130572011-12-08 Marek Polacek <mpolacek@redhat.com>
13058
13059 [BZ #13484]
13060 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13061 of __asm__.
13062
97ac2654
UD
130632011-12-17 Ulrich Drepper <drepper@gmail.com>
13064
13065 [BZ #13506]
13066 * time/tzfile.c (__tzfile_read): Check values from file header.
13067
91d2a845
WS
130682011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13069
13070 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13071 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13072 * powerpc/powerpc32/dl-start.S: Likewise.
13073 * powerpc/powerpc32/elf/start.S: Likewise.
13074 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13075 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13076 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13077 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13078 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13079 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13080 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13081 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13082 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13083 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13084 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13085 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13086 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13087 * powerpc/powerpc32/memset.S: Likewise.
13088 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13089 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13090 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13091 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13092 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13093 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13094 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13095 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13096 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13097 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13098 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13099 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13100 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13101
a1267ba1
AZ
131022011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13103
13104 * math/libm-test.inc: Added more nearbyint tests.
13105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13109
ad8ac1bd
RL
131102011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13111
13112 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13113 FD_CLOEXEC.
13114
1d3e4b61
UD
131152011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13116
13117 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13118 Add wcscpy-ssse3 wcscpy-c.
13119 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13120 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13121 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13122 * sysdeps/x86_64/wcschr.S: New file.
13123 * sysdeps/x86_64/wcsrchr.S: New file.
13124 * string/test-strcmp.c: Remove checking of wcscmp function for
13125 wrong alignments.
13126 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13127 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13128 wcsrchr-sse2 wcsrchr-c.
13129 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13130 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13131 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13132 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13133 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13134 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13135 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13136 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13137 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13138 * wcsmbc/wcschr.c (WCSCHR): New macro.
13139
5b330a2d
UD
131402011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13141
13142 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13143 * wcsmbs/test-wcsrchr.c: New file.
13144 * string/test-strrchr.c: Add wcsrchr support.
13145 (WIDE): New macro.
13146 * wcsmbs/test-wcscpy.c: New file.
13147 * string/test-strcpy.c: Add wcscpy support.
13148 (WIDE): New macro.
26428b7c 13149
f039c043
UD
131502011-12-10 Ulrich Drepper <drepper@gmail.com>
13151
13152 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13153 the inner loop.
13154
850fb039
AS
131552011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13156
13157 [BZ #13472]
13158 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13159
4efbd5cb
UD
131602011-12-04 Ulrich Drepper <drepper@gmail.com>
13161
52ff5dd0 13162 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13163 Minor optimizations.
52ff5dd0 13164
4efbd5cb
UD
13165 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13166 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13167 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13168
8a426e12
UD
131692011-12-03 Ulrich Drepper <drepper@gmail.com>
13170
aff2453d
UD
13171 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13172 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13173 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13174 for gcc to avoid warnings.
13175 * inet/Makefile (tests): Add tst-checks.
13176 * inet/tst-checks.c: New file.
13177
13178 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13179 warning.
13180
13181 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13182 __wmemcmp_sse2.
13183
13184 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13185 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13186
8a426e12
UD
13187 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13188
9bea3473
UD
131892011-12-02 Ulrich Drepper <drepper@gmail.com>
13190
3a965496
UD
13191 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13192 problem.
13193
9bea3473
UD
13194 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13195
f101631b
UD
131962011-11-29 Joseph Myers <joseph@codesourcery.com>
13197
13198 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13199 conditional on GCC version.
13200 (__arch_compare_and_exchange_val_8_acq)
13201 (__arch_compare_and_exchange_val_16_acq)
13202 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13203 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13204 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13205
a98275aa
UD
132062011-12-02 Joseph Myers <joseph@codesourcery.com>
13207
13208 * sysdeps/sh/backtrace.c: New file.
13209
d4cc29a2
AS
132102011-12-02 Andreas Schwab <schwab@redhat.com>
13211
13212 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13213 parenthesis.
13214
6257af2d
AS
132152011-12-01 Andreas Schwab <schwab@redhat.com>
13216
13217 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13218 falling back to utime.
13219
b5f44c1a
AS
132202011-11-30 Andreas Schwab <schwab@redhat.com>
13221
13222 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13223 expectations for float.
13224
f3a6cc0a
AS
132252011-11-29 Andreas Schwab <schwab@redhat.com>
13226
13227 * locale/weight.h (findidx): Add parameter len.
13228 * locale/weightwc.h (findidx): Likewise.
13229 * posix/fnmatch_loop.c (FCT): Adjust caller.
13230 * posix/regcomp.c (build_equiv_class): Likewise.
13231 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13232 * posix/regexec.c (check_node_accept_bytes): Likewise.
13233 * string/strcoll_l.c (STRCOLL): Likewise.
13234 * string/strxfrm_l.c (STRXFRM): Likewise.
13235
9d65ea3a
UD
132362011-11-17 Ulrich Drepper <drepper@gmail.com>
13237
13238 * Makefile.in: Remove CVSOPT handling.
13239 * configure.in: Remove use of AC_REVISION.
13240 * iconvdata/Makefile (distribute): No need to filter out CVS.
13241 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13242 handling.
13243
5583a086
AS
132442011-11-16 Andreas Schwab <schwab@redhat.com>
13245
13246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13247 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13248 [USE_AS_STRNCASECMP_L]: Likewise.
13249 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13250 NO_TLS_DIRECT_SEG_REFS.
13251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13252 Fix argument offsets for non-PIC.
13253 [USE_AS_STRNCASECMP_L]: Likewise.
13254 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13255 NO_TLS_DIRECT_SEG_REFS.
13256
d62a8200
UD
132572011-11-15 Ulrich Drepper <drepper@gmail.com>
13258
9d65ea3a 13259 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13260 O_CLOEXEC.
13261 * locale/loadlocale.c (_nl_load_locale): Likewise.
13262
09f93bd3
AS
132632011-11-15 Andreas Schwab <schwab@redhat.com>
13264
446514f9
AS
13265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13266 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13267 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13268 (SYSCALL_GETTIME): Set errno on error.
13269
09f93bd3
AS
13270 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13271 count references to noai6ai_cached.
13272
312be3f9
UD
132732011-11-15 Ulrich Drepper <drepper@gmail.com>
13274
13275 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13276
13277 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13278 FD_CLOEXEC for /proc/self/maps.
13279
13280 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13281 FD_CLOEXEC for /proc/meminfo.
13282
13283 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13284 gai.conf.
13285
13286 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13287 FD_CLOEXEC for given file.
13288
13289 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13290
13291 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13292 FD_CLOEXEC for /etc/hosts.
13293 (_gethtent): Likewise.
13294
13295 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13296
13297 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13298 cancellation and set FD_CLOEXEC for /etc/netgroup.
13299
13300 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13301 reading /etc/publickey.
13302
13303 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13304 allow cancellation when reading /etc/group.
13305
13306 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13307 cancellation.
13308 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13309
13310 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13311 when using data file.
13312
13313 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13314
13315 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13316 (write_nis_obj): Use "c" and "e" in fopen.
13317
13318 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13319
13320 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13321
13322 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13323
13324 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13325
13326 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13327 locale.alias.
13328
13329 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13330
13331 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13332
13333 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13334
13335 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13336 file parsing and set FD_CLOEXEC.
13337
82af0fa8
UD
133382011-11-14 Ulrich Drepper <drepper@gmail.com>
13339
13340 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13341
a5fb313c
AS
133422011-11-14 Andreas Schwab <schwab@redhat.com>
13343
13344 * malloc/arena.c (arena_get2): Don't call reused_arena when
13345 _int_new_arena failed.
13346
6abf3465
UD
133472011-11-14 Ulrich Drepper <drepper@gmail.com>
13348
13349 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13350 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13355 to compile strcasecmp and strncasecmp.
13356 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13357 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13358
13359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13360
76e3966e
UD
133612011-11-13 Ulrich Drepper <drepper@gmail.com>
13362
13363 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13364 locale-defines.sym to gen-as-const-headers.
13365 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13366 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13368 to compile strcasecmp and strncasecmp.
13369 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13370 strcasecmp_l and strncasecmp_l.
13371 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13372 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13373 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13375 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13376 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13377 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13378 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13379 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13380 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13381 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13382
ab26144e
UD
133832011-11-12 Ulrich Drepper <drepper@gmail.com>
13384
7edb22ef
UD
13385 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13386 result of SYSDEP_GETTIME_CPU to retval.
13387 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13388 parameter list to macro. Remove trailing semicolon. Adjust users.
13389
9694fc44
UD
13390 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13391 variable.
13392
8ad89ef8
UD
13393 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13394 mantissa words.
13395 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13396
0c822ef9
UD
13397 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13398 from unused variable.
13399
874e0564
UD
13400 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13401 DWARF definitions.
13402 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13403 for assembling.
13404
3a2edc79
UD
13405 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13406 over namespaces.
13407
f3c2577f
UD
13408 * sunrpc/rpc_prot.c (rejected): Fix case value.
13409
294ce126
UD
13410 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13411 unsigned long long int to avoid warnings in shift.
13412
5e2b63c6
UD
13413 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13414 of use of trans.
13415 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13416 variable tmp.
13417
e7f4b08e
UD
13418 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13419 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13420 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13421
ab26144e
UD
13422 * nis/nis_table.c (nis_list): Use variable of correct type for
13423 result of __follow_path call.
13424
8a6d5255
AZ
134252011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13428 of math functions ceil, trunc, floor, round, and sqrt, when
13429 avaliable on the platform.
13430 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13431 name clash.
13432 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13433 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13434 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13435
aaddc98c
MP
134362011-10-30 Marek Polacek <mpolacek@redhat.com>
13437
13438 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13440
95b7042b
RM
134412011-11-11 Roland McGrath <roland@hack.frob.com>
13442
13443 * include/unistd.h: Fix __readlink return type.
13444 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13445
57769839
UD
134462011-11-11 Ulrich Drepper <drepper@gmail.com>
13447
13448 * stdlib/ucontext.h: Undo last change for makecontext.
13449
edc5984d
AS
134502011-11-11 Andreas Schwab <schwab@redhat.com>
13451
98591e58
AS
13452 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13453
edc5984d
AS
13454 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13455 * setjmp/setjmp.h: Mark functions as non-leaf.
13456 * setjmp/bits/setjmp2.h: Likewise.
13457 * stdlib/ucontext.h: Likewise.
13458
77cdc054
AS
134592011-11-10 Andreas Schwab <schwab@redhat.com>
13460
13461 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13462 (reused_arena): Don't check arena limit.
13463 (arena_get2): Atomically check arena limit.
13464
fe72eebd
UD
134652011-11-08 Ulrich Drepper <drepper@gmail.com>
13466
5f078c32
UD
13467 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13468 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13469
fe72eebd
UD
13470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13471 instructions.
13472
ae1bc2fa
AS
134732011-11-07 Andreas Schwab <schwab@redhat.com>
13474
7583a88d
AS
13475 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13476 handler when locking.
13477
ae1bc2fa
AS
13478 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13479 Fix size of allocated buffer.
13480
10fb0bfa
AS
134812011-11-04 Andreas Schwab <schwab@redhat.com>
13482
998832a4
AS
13483 [BZ #10103]
13484 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13485 declarations for long double functions.
13486 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13487
10fb0bfa
AS
13488 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13489
3d7ba52b
AS
134902011-11-03 Andreas Schwab <schwab@redhat.com>
13491
a9ae54a1
AS
13492 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13493 installed.
13494
3d7ba52b
AS
13495 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13496 is disabled.
13497
bc8db248
ST
134982011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13499
13500 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13501
45b96dd6
AS
135022011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13503
647776f6
AS
13504 * include/alloca.h (stackinfo_alloca_round): Define.
13505 (extend_alloca): Use it.
13506 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13507 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13508 here.
13509
d91a8b93
AS
13510 * scripts/check-local-headers.sh: Ignore libaudit.h.
13511
45b96dd6
AS
13512 * nscd/Makefile (extra-objs): Make recursively expanded.
13513
432d41ce
UD
135142011-11-01 Ulrich Drepper <drepper@gmail.com>
13515
34372fc6
UD
13516 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13518
fadb59f8
UD
13519 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13520 * posix/tst-rfc3484-2.c: Likewise.
13521 * posix/tst-rfc3484-3.c: Likewise.
13522
78239589
UD
13523 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13524 process_vm_writev.
13525 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13526 process_vm_writev.
13527 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13528 process_vm_writev from libc using GLIBC_2.15 version.
13529
432d41ce
UD
13530 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13531
02f9c6cf
PP
135322011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13533
13534 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13535 stack usage.
13536
3a2c0242
UD
135372011-10-31 Ulrich Drepper <drepper@gmail.com>
13538
f4ec4833
UD
13539 [BZ #13367]
13540 * nss/getent.c (initgroups_keys): Show error message in case no group
13541 names are given.
13542
3a2c0242
UD
13543 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13544 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13545 __bump_nl_timestamp.
13546 * nscd/connections (nscd_init): When host database is served open
13547 netlink socket and request notification about configuration changes.
13548 (main_loop_poll): Track netlink file descriptor and bump timestamp
13549 in case data becomes available.
13550 (main_loop_epoll): Likewise.
13551 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13552 (database_pers_head): Add extra_data fileds.
13553 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13554 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13555 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13556 Adjust caller.
13557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13558 in6ai data, call __free_in6ai.
13559 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13560 Add -DHAVE_NETLINK.
13561 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13562 interface information. Reuse previous data if netlink timestamp
13563 is not changed.
13564 (__bump_nl_timestamp): New function.
13565 (__free_in6ai): New function.
13566
636064eb
UD
135672011-10-30 Ulrich Drepper <drepper@gmail.com>
13568
13569 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13570 close_not_cancel_no_status here.
13571 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13572
9beb2334
UD
135732011-10-29 Ulrich Drepper <drepper@gmail.com>
13574
6ef76f3b
UD
13575 [BZ #13276]
13576 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13577 return value.
13578
0ffc4f3e 13579 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13580 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13581 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13582
cb95113e
UD
135832011-07-03 Andreas Jaeger <aj@suse.de>
13584
13585 [BZ #10709]
13586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13587 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13588 * math/libm-test.inc (sin_test): Add test case.
13589
a1b560ff
UD
135902011-10-29 Ulrich Drepper <drepper@gmail.com>
13591
c9aaface
UD
13592 [BZ #13337]
13593 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13594 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13595
d272e7f1
UD
13596 * elf/chroot_canon.c (chroot_canon): Cleanups.
13597
1bc33071
UD
13598 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13599
1760874d
TJ
13600 [BZ #13335]
13601 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13602 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13603
51d91b18
UD
13604 * string/test-strchr.c: Make usable for strchrnul testing.
13605 * string/test-strchrnul.c: New file.
13606 * string/Makefile (strop-tests): Add strchrnul.
13607
a1b560ff 13608 * po/it.po: Update from translation team.
b611fb81 13609 * po/es.po: Likewise.
a1b560ff 13610
a5b81e1f
UD
136112011-10-28 Ulrich Drepper <drepper@gmail.com>
13612
fd52bc6d
UD
13613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13614 the three constants needed as parameters. Drop the others.
13615 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13616 __m128i_strloadu_tolower.
52e4b9eb
UD
13617 Create and initialize variable zero and use it in all the places
13618 where _mm_setzero_si128 was used.
fd52bc6d 13619
a5b81e1f
UD
13620 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13621 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13622 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13623 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13624 anymore.
13625 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13626 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13627 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13628 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13629 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13630 __mpranred, __mptan.
13631 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13632 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13633 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13634 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13635 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13636 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13638 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13639 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13640
b4343346
AS
136412011-10-28 Andreas Schwab <schwab@redhat.com>
13642
0c92d8a8
AS
13643 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13644 redefine if SHARED.
13645 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13646
b4343346
AS
13647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13648 wide char related routines to wcsmbs subdir.
13649
3871f58f
AS
136502011-10-27 Andreas Schwab <schwab@redhat.com>
13651
13652 [BZ #13344]
13653 * misc/sys/cdefs.h (__THROWNL): Define.
13654 * posix/unistd.h: Use __THREADNL instead of __THREAD
13655 for memory synchronization functions.
13656
94d44d9f
RM
136572011-10-26 Roland McGrath <roland@hack.frob.com>
13658
21b64b15 13659 [BZ #13349]
94d44d9f
RM
13660 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13661 doesn't exist.
13662 * manual/stdio.texi (Obstack Streams): Node removed.
13663
f6ce9294
AS
136642011-10-26 Andreas Schwab <schwab@redhat.com>
13665
80479147
AS
13666 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13667 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13668 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13669
f6ce9294
AS
13670 * math/math_private.h (math_force_eval): Allow non-addressable
13671 arguments.
13672 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13673
618280a1
UD
136742011-10-25 Ulrich Drepper <drepper@gmail.com>
13675
e0016b11
UD
13676 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13677 file is not needed.
13678
13679 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13681 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13682 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13683 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13684 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13685 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13686 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13687 Add AVX variants.
13688 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13689 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13690 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13691 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13693 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13694 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13695 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13696 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13697 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13698 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13699 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13701 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13704 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13705 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13706 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13707
13708 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13709 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13710
618280a1
UD
13711 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13712 place. Use VEX encoding when compiling for AVX.
13713
37822576
AS
137142011-10-25 Andreas Schwab <schwab@redhat.com>
13715
1f1e1947
AS
13716 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13717 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13718
37822576
AS
13719 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13720
31ea014d
UD
137212011-10-25 Ulrich Drepper <drepper@gmail.com>
13722
d7826aa1 13723 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13724 useless if() expression.
d7826aa1
UD
13725 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13738 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13743 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13744
31ea014d
UD
13745 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13746
16437fec
AS
137472011-10-25 Andreas Schwab <schwab@redhat.com>
13748
13749 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13750 condition.
13751 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13752
31d3cc00
UD
137532011-10-25 Ulrich Drepper <drepper@gmail.com>
13754
13755 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13756 .text section. Avoid duplicate constants.
13757 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13767 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13769 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13772 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13781 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13782 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13783 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13784 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13785 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13786 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13787 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13788 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13789 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13793 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13795 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13796 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13797 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13799 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13801 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13802
58985aa9
UD
138032011-10-24 Ulrich Drepper <drepper@gmail.com>
13804
202c9deb
UD
13805 * sysdeps/x86_64/dla.h: Move to ...
13806 * sysdeps/x86_64/fpu/dla.h: ...here.
13807 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13808 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13809
af968f62
UD
13810 * config.make.in: Add have-mfma4 entry.
13811 * configure.in: Substitute libc_cv_cc_fma4.
13812 * math/Makefile (dbl-only-routines): Add sincostab.
13813 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13814 Use __sincostab not sincos.
13815 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13816 name is a macro.
13817 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13821 using __copysign.
13822 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13823 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13824 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13825 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13826 and __inv.
13827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13828 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13829 __copysign.
13830 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13831 define aliases when function name is a macro.
13832 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13833 sysdeps/ieee754/dbl-64/sincos.tbl.
13834 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13835 fma4-enabled routines.
13836 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13837 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13838 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13839 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13840 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13841 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13845 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13846 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13848 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13851 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13852 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13853 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13854 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13856 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13857 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13858 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13859 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13863 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13864 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13865 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13866
58985aa9
UD
13867 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13868 rename.
13869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13877
a201fbcf
AS
138782011-10-24 Andreas Schwab <schwab@redhat.com>
13879
13880 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13881
fc2ee42a
LD
138822011-10-23 Ulrich Drepper <drepper@gmail.com>
13883
bb3129bd
UD
13884 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13885
0275fff8
UD
13886 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13887 prediction.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13889
2fa2ae85
UD
13890 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13891 Remove unused variable magic_bits.
13892 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13893
fc2ee42a
LD
13894 * string/strnlen.c: Define and use STRNLEN macro.
13895 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13896 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13898 * wcsmbs/wcslen.c: Define and use WCSLEN.
13899 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13900 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13901 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13902 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13903 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13904 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13905 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13906
ce7dd29f
LD
139072011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13908
13909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13910 strnlen-sse2-no-bsf.
13911 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13913 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13914 Add strnlen support.
13915 (USE_AS_STRNLEN): New macro.
13916 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13917 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13918 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13919 * sysdeps/x86_64/wcslen.S: New file.
13920
979c70a3
MZ
139212011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13922
13923 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13924 XMM-moves are used for copying on small sizes.
13925
2d09f82f
LD
139262011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13927
13928 * wcsmbs/Makefile (strop-tests): Add wcschr.
13929 * wcsmbs/test-wcschr.c: New file.
13930 * string/test-strchr.c: Update.
13931 Add wcschr support.
13932 (WIDE): New macro.
13933
619fccca
LD
139342011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13935
2d09f82f 13936 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13937 * wcsmbs/test-wcslen.c: New file.
13938 * string/test-strlen.c: Update.
13939 Add wcslen support.
13940 (WIDE): New macro.
13941
09f699ea
UD
139422011-10-23 Ulrich Drepper <drepper@gmail.com>
13943
13944 * po/it.po: Update from translation team.
13945
95584d3b
LD
139462011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13947
13948 * sysdeps/x86_64/wcscmp.S: Update.
13949 Fix wrong comparison semantics.
13950 wcscmp shall use signed comparison not unsigned.
13951 Don't use substraction to avoid overflow bug.
13952 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13953 * wcsmbc/wcscmp.c: Likewise.
13954 * string/test-strcmp.c: Likewise.
13955 Add new tests to check cases with negative values.
13956
c8b3296b
UD
139572011-10-23 Ulrich Drepper <drepper@gmail.com>
13958
13959 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13960 * sysdeps/x86_64/dla.h: ...here. New file.
13961 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13970
246ad57a
AS
139712011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13972
13973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13974 __ynl_finite aliases.
13975
a1a87169
UD
139762011-10-22 Ulrich Drepper <drepper@gmail.com>
13977
0d355eb7
UD
13978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13979
a1a87169
UD
13980 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13981 define DLA_FMA.
13982 [DLA_FMA] (EMULV): Use DLA_FMA.
13983 [DLA_FMA] (MUL12): Use EMULV.
13984 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13985 that are not needed.
13986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13993
ee2aafe0
AS
139942011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13995
13996 * math/s_nan.c: Undef __nan.
13997 * math/s_nanf.c: Undef __nanf.
13998 * math/s_nanl.c: Undef __nanl.
13999 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14000 "math_private.h".
14001
bc62c2fb
UD
140022011-10-22 Ulrich Drepper <drepper@gmail.com>
14003
77425c63
UD
14004 * math/s_catan.c: Add branch predictions.
14005 * math/s_catanf.c: Likewise.
14006 * math/s_catanh.c: Likewise.
14007 * math/s_catanhf.c: Likewise.
14008 * math/s_catanhl.c: Likewise.
14009 * math/s_catanl.c: Likewise.
14010 * math/s_cexp.c: Likewise.
14011 * math/s_cexpf.c: Likewise.
14012 * math/s_cexpl.c: Likewise.
14013 * math/s_clog.c: Likewise.
14014 * math/s_clog10.c: Likewise.
14015 * math/s_clog10f.c: Likewise.
14016 * math/s_clog10l.c: Likewise.
14017 * math/s_clogf.c: Likewise.
14018 * math/s_clogl.c: Likewise.
14019 * math/s_csqrt.c: Likewise.
14020 * math/s_csqrtf.c: Likewise.
14021 * math/s_csqrtl.c: Likewise.
14022 * math/s_ctanf.c: Likewise.
14023 * math/s_ctanh.c: Likewise.
14024 * math/s_ctanhf.c: Likewise.
14025 * math/s_ctanhl.c: Likewise.
14026 * math/s_ctanl.c: Likewise.
14027
bc62c2fb
UD
14028 * math/math_private.h: Define __nan, __nanf, __nanl.
14029 * math/s_cacosh.c: Include <math_private.h>.
14030 * math/s_cacoshl.c: Likewise.
14031 * math/s_casinh.c: Likewise.
14032 * math/s_casinhf.c: Likewise.
14033 * math/s_casinhl.c: Likewise.
14034 * math/s_ccos.c: Rely entire on ccosh.
14035 * math/s_ccosf.c: Rely entire on ccoshf.
14036 * math/s_ccosl.c: Rely entirely on ccoshl.
14037 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14038 Remove tests for FE_INVALID.
14039 * math/s_ccoshf.c: Likewise.
14040 * math/s_ccoshl.c: Likewise.
14041 * math/s_csin.c: Likewise.
14042 * math/s_csinf.c: Likewise.
14043 * math/s_csinh.c Likewise.
14044 * math/s_csinhf.c: Likewise.
14045 * math/s_csinhl.c: Likewise.
14046 * math/s_csinl.c: Likewise.
14047 * math/s_ctan.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14049 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14051
8ec250a4
UD
140522011-10-21 Ulrich Drepper <drepper@gmail.com>
14053
c196fed8
UD
14054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14055 compilation problems.
14056
8ec250a4
UD
14057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14058 __builtin_expect.
14059
8d4f46c6
UD
140602011-10-20 Ulrich Drepper <drepper@gmail.com>
14061
ed72b654
UD
14062 * sysdeps/i386/configure.in: Test for -mfma4 option.
14063 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14064 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14065 COMMON_CPUID_INDEX_80000001.
14066 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14067 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14068 use it if FMA3 is not supported.
14069 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14070
8d4f46c6
UD
14071 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14072 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14073
d45c60c2
AS
140742011-10-20 Andreas Schwab <schwab@redhat.com>
14075
14076 [BZ #12892]
14077 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14078 it would create a cycle with a link time dependency.
14079
d9a4d2ab
UD
140802011-10-19 Ulrich Drepper <drepper@gmail.com>
14081
855d1560
UD
14082 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14083 instruction.
14084 * string/Makefile (strop-tests): Add rawmemchr.
14085 * string/test-rawmemchr.c: New file.
14086
d9a4d2ab
UD
14087 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14089 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14090 when compiling str{,n}casecmp and when AVX is available. Hook up
14091 new optimized code in initializers.
14092
8f3b1ffe
AS
140932011-10-19 Andreas Schwab <schwab@redhat.com>
14094
14095 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14096 __feraiseexcept instead of feraiseexcept.
14097
d38f1dba
UD
140982011-10-18 Ulrich Drepper <drepper@gmail.com>
14099
d9a8d0ab
UD
14100 * math/math_private.h: Define defaults for libc_fetestexcept and
14101 libc_feupdateenv.
14102 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14103 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14104 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14105 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14107 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14108 libc_fetestexcept and libc_feupdateenv.
14109
4855e3dd
UD
14110 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14111 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14112 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14113 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14114 libc_feholdexcept_setround.
14115
581d30e3
UD
14116 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14117 Add s_nearbyint-c and s_nearbyintf-c.
14118 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14119 nearbyintf inlines.
14120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14121 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14123 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14124
d38f1dba
UD
14125 * math/math_private.h: Define defaults for libc_fegetround,
14126 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14127 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14128 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14130 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14131 standard functions.
14132 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14133 Remove comments and hacks for old compiler versions.
14134 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14135 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14136 libc_feholdexceptl.
14137
caa6c9d8
AS
141382011-10-18 Andreas Schwab <schwab@redhat.com>
14139
14140 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14141 (__feraiseexcept_renamed): Add __NTH.
14142 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14143 namespace violations.
14144
97c066e6
UD
141452011-10-17 Ulrich Drepper <drepper@gmail.com>
14146
99ce7b04
UD
14147 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14148
1004d182
UD
14149 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14150
228a984d
UD
14151 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14152 recently added interfaces.
14153 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14154
c8553a6a
UD
14155 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14156 about macro parameter expansion.
14157
ed22dcf6
UD
14158 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14159 __NO_MATH_INLINES is defined. Cleanups.
14160
14161 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14162 and __floorf is target has SSE4.1.
14163 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14164 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14165 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14166 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14167
b171c137
UD
14168 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14169 name.
14170 (floorf): Likewise.
14171
97c066e6
UD
14172 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14173
629f62ef
AS
141742011-10-17 Andreas Schwab <schwab@redhat.com>
14175
49a43d80
AS
14176 * misc/sys/cdefs.h: Fix last change.
14177
629f62ef
AS
14178 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14179 database lookup.
14180
e453f6cd
UD
141812011-10-16 Ulrich Drepper <drepper@gmail.com>
14182
aa78043a
UD
14183 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14184
ad0f5cad
UD
14185 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14192 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14193 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14194 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14195 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14196 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14197 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14198 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14199 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14200 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14201 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14202 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14203 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14204 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14205 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14206 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14207
14208 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14209 ceil, ceilf, floor, floorf.
14210
14211 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14212 Perform IRELATIVE relocations last.
14213
e453f6cd
UD
14214 * elf/do-rel.h: Add another parameter nrelative, replacing the
14215 local variable with the same name. Change name of the function
14216 to end in Rel or Rela (uppercase).
14217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14218 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14219 elf_dynamic_do_##reloc function.
14220
fd5bdc09
UD
142212011-10-15 Ulrich Drepper <drepper@gmail.com>
14222
79b195b5
UD
14223 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14224 is sufficient, at least on modern CPUs.
14225
d4a28569
UD
14226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14227
b61099b5
UD
14228 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14230
bcf01e6d
UD
14231 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14232 __expl_finite.
14233 * math/bits/math-finite.h: Add entries for exp.
14234 * math/e_expl.c: Add __*_finite alias.
14235 * sysdeps/i386/fpu/e_exp.S: Likewise.
14236 * sysdeps/i386/fpu/e_expf.S: Likewise.
14237 * sysdeps/i386/fpu/e_expl.c: Likewise.
14238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14239 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14243 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14244 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14245
ba1a0d59
UD
14246 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14247 is sufficient, at least on modern CPUs.
14248
fd5bdc09
UD
14249 * ctype/ctype-info.c (__ctype_init): Define.
14250 * include/ctype.h (__ctype_init): Declare.
14251 (__ctype_b_loc): The variable is always initialized.
14252 (__ctype_toupper_loc): Likewise.
14253 (__ctype_tolower_loc): Likewise.
14254 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14255 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14256
7872cfb0
AS
142572011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14258
b468825a
AS
14259 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14260
7872cfb0
AS
14261 * configure.in: Also look in $cxxmachine/include for C++ system
14262 headers.
14263
be13f7bf
LD
142642011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14265
14266 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14267 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14268 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14269 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14271 (USE_AS_WMEMCMP): New macro.
14272 Fixing indents.
14273 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14274 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14275 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14276 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14278 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14279 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14280 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14281 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14282 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14284 (USE_AS_WMEMCMP): New macro.
14285 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14286 * sysdeps/string/test-memcmp.c: Update.
14287 Fix simple_wmemcmp.
14288 Add new tests.
14289 * wcsmbs/wmemcmp.c: Update.
14290 (WMEMCMP): New macro.
14291 Fix overflow bug.
14292
556a2007
AJ
142932011-10-12 Andreas Jaeger <aj@suse.de>
14294
14295 [BZ #13268]
14296 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14297
538faaa7
UD
142982011-10-15 Ulrich Drepper <drepper@gmail.com>
14299
ab6737ff
UD
14300 * libio/iofwide.c (do_length): Avoid warning.
14301
538faaa7
UD
14302 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14303
396a21b1
UD
143042011-10-14 Ulrich Drepper <drepper@gmail.com>
14305
cdf2901f
UD
14306 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14307
38ad40ce
UD
14308 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14309 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14310 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14311 * sysdeps/i386/i686/fpu/e_log.S: New file.
14312 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14313 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14314
396a21b1
UD
14315 * ctype/ctype.h: Add support for inlined isXXX functions when
14316 compiling C++ code.
14317
6b1f68c9
AS
143182011-10-14 Andreas Schwab <schwab@redhat.com>
14319
349290c0
AS
14320 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14321
6b1f68c9
AS
14322 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14323
f2282d42
RM
143242011-10-13 Roland McGrath <roland@hack.frob.com>
14325
14326 [BZ #13291]
14327 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14328
5298ffa8
AS
143292011-10-13 Andreas Schwab <schwab@redhat.com>
14330
714fad23
AS
14331 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14332 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14333 feraiseexcept.
14334
81dcc7fb
AS
14335 * sysdeps/x86_64/memrchr.S: Check for zero size.
14336
5298ffa8
AS
14337 * string/stratcliff.c: Add memrchr tests.
14338
951fbcec
LD
143392011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14340
14341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14342 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14343 rawmemchr-sse2 rawmemchr-sse2-bsf.
14344 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14345 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14346 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14347 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14348 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14349 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14350 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14351 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14353 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14354 * string/memrchr.c (MEMRCHR): New macro.
14355
0ac5ae23
UD
143562011-10-12 Ulrich Drepper <drepper@gmail.com>
14357
14358 Add integration with gcc's -ffinite-math-only and optimize wrapper
14359 functions in libm.
14360 * Versions.def: Define GLIBC_2.15 version for libm.
14361 * math/Makefile (headers): Add bits/math-finite.h.
14362 * math/bits/math-finite.h: New file.
14363 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14364 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14365 * math/e_acoshl.c: Add __*_finite alias.
14366 * math/e_acosl.c: Likewise.
14367 * math/e_asinl.c: Likewise.
14368 * math/e_atan2l.c: Likewise.
14369 * math/e_atanhl.c: Likewise.
14370 * math/e_coshl.c: Likewise.
14371 * math/e_exp10.c: Likewise.
14372 * math/e_exp10f.c: Likewise.
14373 * math/e_exp10l.c: Likewise.
14374 * math/e_exp2l.c: Likewise.
14375 * math/e_fmodl.c: Likewise.
14376 * math/e_gammal_r.c: Likewise.
14377 * math/e_hypotl.c: Likewise.
14378 * math/e_j0l.c: Likewise.
14379 * math/e_j1l.c: Likewise.
14380 * math/e_jnl.c: Likewise.
14381 * math/e_lgammal_r.c: Likewise.
14382 * math/e_log10l.c: Likewise.
14383 * math/e_log2l.c: Likewise.
14384 * math/e_logl.c: Likewise.
14385 * math/e_powl.c: Likewise.
14386 * math/e_sinhl.c: Likewise.
14387 * math/e_sqrtl.c: Likewise.
14388 * math/e_scalb.c: Completely rewritten and optimized.
14389 * math/e_scalbf.c: Likewise.
14390 * math/e_scalbl.c: Likewise.
14391 * math/w_acos.c: Likewise.
14392 * math/w_acosf.c: Likewise.
14393 * math/w_acosl.c: Likewise.
14394 * math/w_acosh.c: Likewise.
14395 * math/w_acoshf.c: Likewise.
14396 * math/w_acoshl.c: Likewise.
14397 * math/w_asin.c: Likewise.
14398 * math/w_asinf.c: Likewise.
14399 * math/w_asinl.c: Likewise.
14400 * math/w_atan2.c: Likewise.
14401 * math/w_atan2f.c: Likewise.
14402 * math/w_atan2l.c: Likewise.
14403 * math/w_atanh.c: Likewise.
14404 * math/w_atanhf.c: Likewise.
14405 * math/w_atanhl.c: Likewise.
14406 * math/w_exp10.c: Likewise.
14407 * math/w_exp10f.c: Likewise.
14408 * math/w_exp10l.c: Likewise.
14409 * math/w_fmod.c: Likewise.
14410 * math/w_fmodf.c: Likewise.
14411 * math/w_fmodl.c: Likewise.
14412 * math/w_j0.c: Likewise.
14413 * math/w_j0f.c: Likewise.
14414 * math/w_j0l.c: Likewise.
14415 * math/w_j1.c: Likewise.
14416 * math/w_j1f.c: Likewise.
14417 * math/w_j1l.c: Likewise.
14418 * math/w_jn.c: Likewise.
14419 * math/w_jnf.c: Likewise.
14420 * math/w_log.c: Likewise.
14421 * math/w_logf.c: Likewise.
14422 * math/w_logl.c: Likewise.
14423 * math/w_log10.c: Likewise.
14424 * math/w_log10f.c: Likewise.
14425 * math/w_log10l.c: Likewise.
14426 * math/w_log2.c: Likewise.
14427 * math/w_log2f.c: Likewise.
14428 * math/w_log2l.c: Likewise.
14429 * math/w_pow.c: Likewise.
14430 * math/w_powf.c: Likewise.
14431 * math/w_powl.c: Likewise.
14432 * math/w_remainder.c: Likewise.
14433 * math/w_remainderf.c: Likewise.
14434 * math/w_remainderl.c: Likewise.
14435 * math/w_scalb.c: Likewise.
14436 * math/w_scalbf.c: Likewise.
14437 * math/w_scalbl.c: Likewise.
14438 * math/w_sqrt.c: Likewise.
14439 * math/w_sqrtf.c: Likewise.
14440 * math/w_sqrtl.c: Likewise.
14441 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14442 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14443 used.
14444 * math/math_private.h: Declare __kernel_standard_f.
14445 * math/w_cosh.c: Remove cruft and optimize a bit.
14446 * math/w_coshf.c: Likewise.
14447 * math/w_coshl.c: Likewise.
14448 * math/w_exp2.c: Likewise.
14449 * math/w_exp2f.c: Likewise.
14450 * math/w_exp2l.c: Likewise.
14451 * math/w_hypot.c: Likewise.
14452 * math/w_hypotf.c: Likewise.
14453 * math/w_hypotl.c: Likewise.
14454 * math/w_lgamma.c: Likewise.
14455 * math/w_lgamma_r.c: Likewise.
14456 * math/w_lgammaf.c: Likewise.
14457 * math/w_lgammaf_r.c: Likewise.
14458 * math/w_lgammal.c: Likewise.
14459 * math/w_lgammal_r.c: Likewise.
14460 * math/w_sinh.c: Likewise.
14461 * math/w_sinhf.c: Likewise.
14462 * math/w_sinhl.c: Likewise.
14463 * math/w_tgamma.c: Likewise.
14464 * math/w_tgammaf.c: Likewise.
14465 * math/w_tgammal.c: Likewise.
14466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14467 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14468 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14469 Minor optimizations. Pretty printing. Remove cruft.
14470 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14473 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14474 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14475 * sysdeps/i386/fpu/e_asin.S: Likewise.
14476 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14477 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14478 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14479 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14481 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14482 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14483 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14484 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14485 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14486 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14487 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14488 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14489 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14490 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14491 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14492 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14493 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14494 * sysdeps/i386/fpu/e_log.S: Likewise.
14495 * sysdeps/i386/fpu/e_log10.S: Likewise.
14496 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14497 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14498 * sysdeps/i386/fpu/e_log2.S: Likewise.
14499 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14500 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14501 * sysdeps/i386/fpu/e_logf.S: Likewise.
14502 * sysdeps/i386/fpu/e_logl.S: Likewise.
14503 * sysdeps/i386/fpu/e_pow.S: Likewise.
14504 * sysdeps/i386/fpu/e_powf.S: Likewise.
14505 * sysdeps/i386/fpu/e_powl.S: Likewise.
14506 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14507 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14508 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14509 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14511 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14512 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14513 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14514 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14536 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14539 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14540 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14541 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14542 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14543 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14544 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14545 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14546 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14547 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14548 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14549 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14550 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14551 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14552 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14553 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14554 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14555 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14556 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14565 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14606 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14607 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14608 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14612 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14613 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14614 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14615 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14616 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14617 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14618 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14619 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14620 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14621 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14622 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14623 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14624 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14625 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14626 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14627 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14628 (__isnanf): Likewise.
14629 (__isinf_ns): Likewise.
14630 (__isinf_nsf): Likewise.
14631 (__finite): Likewise.
14632 (__finitef): Likewise.
14633 (__ieee754_sqrt): Define as macro.
14634 (__ieee754_sqrtf): Define as macro.
14635 (__ieee754_sqrtl): Define as macro.
14636 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14637 inlined copy.
14638 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14639 __FINITE_MATH_ONLY__ consistent.
14640 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14641
12cc2fcd
AS
146422011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14643
a843a204
AS
14644 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14645 of rawmemchr.
14646
12cc2fcd
AS
14647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14648
c853acd5
UD
146492011-10-09 Ulrich Drepper <drepper@gmail.com>
14650
14651 * po/ja.po: Update from translation team.
14652
c658d255
RM
146532011-10-08 Roland McGrath <roland@hack.frob.com>
14654
110946e4
RM
14655 * locale/programs/locarchive.c (prepare_address_space): New function.
14656 (create_archive, enlarge_archive, open_archive): Use it.
14657
50604220
RM
14658 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14659 inside [SHARED], where it is used.
14660
c658d255
RM
14661 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14662
14663 * nss/getent.c (netgroup_keys): Remove unused variable.
14664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14665
6a621eb7
UD
146662011-10-08 Ulrich Drepper <drepper@gmail.com>
14667
7edb55ce
UD
14668 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14669 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14671 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14672 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14673 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14674 * math/Makefile (libm-calls): Add s_isinf_ns.
14675 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14676 * math/multc3.c: Likewise.
14677 * math/s_casin.c: Likewise.
14678 * math/s_casinf.c: Likewise.
14679 * math/s_casinl.c: Likewise.
14680 * math/s_ccos.c: Likewise.
14681 * math/s_ccosf.c: Likewise.
14682 * math/s_ccosl.c: Likewise.
14683 * math/s_ctan.c: Likewise.
14684 * math/s_ctanf.c: Likewise.
14685 * math/s_ctanh.c: Likewise.
14686 * math/s_ctanhf.c: Likewise.
14687 * math/s_ctanhl.c: Likewise.
14688 * math/s_ctanl.c: Likewise.
14689 * math/w_fmod.c: Likewise.
14690 * math/w_fmodf.c: Likewise.
14691 * math/w_fmodl.c: Likewise.
14692 * math/w_remainder.c: Likewise.
14693 * math/w_remainderf.c: Likewise.
14694 * math/w_remainderl.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14696 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14699 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14700 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14701 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14702 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14703
187da0ae
UD
14704 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14705 of the number.
14706 * stdio-common/printf_fphex.c: Likewise.
14707 * stdio-common/printf_size.c: Likewise.
14708
9277c064
UD
14709 * math/e_exp10.c: Include math_private.h using <...> not "...".
14710 * math/e_exp10f.c: Likewise.
14711 * math/e_exp10l.c: Likewise.
14712 * math/e_exp2l.c: Likewise.
14713 * math/e_j0l.c: Likewise.
14714 * math/e_j1l.c: Likewise.
14715 * math/e_jnl.c: Likewise.
14716 * math/e_lgammal_r.c: Likewise.
14717 * math/e_rem_pio2l.c: Likewise.
14718 * math/e_scalb.c: Likewise.
14719 * math/e_scalbf.c: Likewise.
14720 * math/e_scalbl.c: Likewise.
14721 * math/k_cosl.c: Likewise.
14722 * math/k_sinl.c: Likewise.
14723 * math/k_tanl.c: Likewise.
14724 * math/s_cacoshf.c: Likewise.
14725 * math/s_catan.c: Likewise.
14726 * math/s_catanf.c: Likewise.
14727 * math/s_catanh.c: Likewise.
14728 * math/s_catanhf.c: Likewise.
14729 * math/s_catanhl.c: Likewise.
14730 * math/s_catanl.c: Likewise.
14731 * math/s_ccosh.c: Likewise.
14732 * math/s_ccoshf.c: Likewise.
14733 * math/s_ccoshl.c: Likewise.
14734 * math/s_cexp.c: Likewise.
14735 * math/s_cexpf.c: Likewise.
14736 * math/s_cexpl.c: Likewise.
14737 * math/s_clog.c: Likewise.
14738 * math/s_clog10.c: Likewise.
14739 * math/s_clog10f.c: Likewise.
14740 * math/s_clog10l.c: Likewise.
14741 * math/s_clogf.c: Likewise.
14742 * math/s_clogl.c: Likewise.
14743 * math/s_csin.c: Likewise.
14744 * math/s_csinf.c: Likewise.
14745 * math/s_csinh.c: Likewise.
14746 * math/s_csinhf.c: Likewise.
14747 * math/s_csinhl.c: Likewise.
14748 * math/s_csinl.c: Likewise.
14749 * math/s_csqrt.c: Likewise.
14750 * math/s_csqrtf.c: Likewise.
14751 * math/s_csqrtl.c: Likewise.
14752 * math/s_ctan.c: Likewise.
14753 * math/s_ctanf.c: Likewise.
14754 * math/s_ctanh.c: Likewise.
14755 * math/s_ctanhf.c: Likewise.
14756 * math/s_ctanhl.c: Likewise.
14757 * math/s_ctanl.c: Likewise.
14758 * math/s_ldexp.c: Likewise.
14759 * math/s_ldexpf.c: Likewise.
14760 * math/s_ldexpl.c: Likewise.
14761 * math/s_significand.c: Likewise.
14762 * math/s_significandf.c: Likewise.
14763 * math/s_significandl.c: Likewise.
14764 * math/w_acos.c: Likewise.
14765 * math/w_acosf.c: Likewise.
14766 * math/w_acosh.c: Likewise.
14767 * math/w_acoshf.c: Likewise.
14768 * math/w_acoshl.c: Likewise.
14769 * math/w_acosl.c: Likewise.
14770 * math/w_asin.c: Likewise.
14771 * math/w_asinf.c: Likewise.
14772 * math/w_asinl.c: Likewise.
14773 * math/w_atan2.c: Likewise.
14774 * math/w_atan2f.c: Likewise.
14775 * math/w_atan2l.c: Likewise.
14776 * math/w_atanh.c: Likewise.
14777 * math/w_atanhf.c: Likewise.
14778 * math/w_atanhl.c: Likewise.
14779 * math/w_cosh.c: Likewise.
14780 * math/w_coshf.c: Likewise.
14781 * math/w_coshl.c: Likewise.
14782 * math/w_dremf.c: Likewise.
14783 * math/w_exp10.c: Likewise.
14784 * math/w_exp10f.c: Likewise.
14785 * math/w_exp10l.c: Likewise.
14786 * math/w_exp2.c: Likewise.
14787 * math/w_exp2f.c: Likewise.
14788 * math/w_fmod.c: Likewise.
14789 * math/w_fmodf.c: Likewise.
14790 * math/w_fmodl.c: Likewise.
14791 * math/w_hypot.c: Likewise.
14792 * math/w_hypotf.c: Likewise.
14793 * math/w_hypotl.c: Likewise.
14794 * math/w_j0.c: Likewise.
14795 * math/w_j0f.c: Likewise.
14796 * math/w_j0l.c: Likewise.
14797 * math/w_j1.c: Likewise.
14798 * math/w_j1f.c: Likewise.
14799 * math/w_j1l.c: Likewise.
14800 * math/w_jn.c: Likewise.
14801 * math/w_jnf.c: Likewise.
14802 * math/w_jnl.c: Likewise.
14803 * math/w_lgamma.c: Likewise.
14804 * math/w_lgamma_r.c: Likewise.
14805 * math/w_lgammaf.c: Likewise.
14806 * math/w_lgammaf_r.c: Likewise.
14807 * math/w_lgammal.c: Likewise.
14808 * math/w_lgammal_r.c: Likewise.
14809 * math/w_log.c: Likewise.
14810 * math/w_log10.c: Likewise.
14811 * math/w_log10f.c: Likewise.
14812 * math/w_log10l.c: Likewise.
14813 * math/w_log2.c: Likewise.
14814 * math/w_log2f.c: Likewise.
14815 * math/w_log2l.c: Likewise.
14816 * math/w_logf.c: Likewise.
14817 * math/w_logl.c: Likewise.
14818 * math/w_pow.c: Likewise.
14819 * math/w_powf.c: Likewise.
14820 * math/w_powl.c: Likewise.
14821 * math/w_remainder.c: Likewise.
14822 * math/w_remainderf.c: Likewise.
14823 * math/w_remainderl.c: Likewise.
14824 * math/w_scalb.c: Likewise.
14825 * math/w_scalbf.c: Likewise.
14826 * math/w_scalbl.c: Likewise.
14827 * math/w_sinh.c: Likewise.
14828 * math/w_sinhf.c: Likewise.
14829 * math/w_sinhl.c: Likewise.
14830 * math/w_sqrt.c: Likewise.
14831 * math/w_sqrtf.c: Likewise.
14832 * math/w_sqrtl.c: Likewise.
14833 * math/w_tgamma.c: Likewise.
14834 * math/w_tgammaf.c: Likewise.
14835 * math/w_tgammal.c: Likewise.
14836
6a621eb7
UD
14837 * po/ja.po: Update from translation team.
14838
bf582445
AJ
148392011-09-29 Andreas Jaeger <aj@suse.de>
14840
f9efbf3a
AJ
14841 [BZ #13179]
14842 * sunrpc/netname.c (netname2host): Fix logic.
14843
bf582445
AJ
14844 [BZ #6779]
14845 [BZ #6783]
14846 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14847 correctly.
14848 * math/w_remainder.c (__remainder): Likewise.
14849 * math/w_remainderf.c (__remainderf): Likewise.
14850 * math/libm-test.inc (remainder_test): Add test cases.
14851
48693bea
AK
148522011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14853
14854 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14855 sdiv_qrnnd.
14856
42622229
LD
148572011-10-07 Ulrich Drepper <drepper@gmail.com>
14858
14859 * string/test-memcmp.c: Avoid unncessary #defines.
14860 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14861
093ecf92
LD
148622011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14863
14864 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14865 Use new sse2 version for core i3 - i7 as it's faster
14866 than sse42 version.
14867 (bit_Prefer_PMINUB_for_stringop): New.
14868 * sysdeps/x86_64/rawmemchr.S: Update.
14869 Replace with faster SSE2 version.
14870 * sysdeps/x86_64/memrchr.S: New file.
14871 * sysdeps/x86_64/memchr.S: Update.
14872 Replace with faster SSE2 version.
14873
fde56e5c
MP
148742011-09-12 Marek Polacek <mpolacek@redhat.com>
14875
14876 * elf/dl-load.c (lose): Add cast to avoid warning.
14877
21fd49a9
UD
148782011-10-07 Ulrich Drepper <drepper@gmail.com>
14879
5a06e643
UD
14880 * po/ca.po: Update from translation team.
14881
684ae515
UD
14882 * inet/getnetgrent_r.c: Hook up nscd.
14883 * nscd/Makefile (routines): Add nscd_netgroup.
14884 (nscd-modules): Add netgroupcache.
14885 (CFLAGS-netgroupcache.c): Define.
14886 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14887 (cache_search): Add const to second parameter.
14888 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14889 INNETGR.
14890 (dbs): Add netgrdb entry.
14891 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14892 (verify_persistent_db): Handle netgrdb.
14893 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14894 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14895 GETFDNETGR.
14896 (netgroup_response_header): Define.
14897 (innetgroup_response_header): Define.
14898 (datahead): Add netgroup_response_header and innetgroup_response_header
14899 elements.
14900 * nscd/nscd.conf: Add entries for netgroup cache.
14901 * nscd/nscd.h (dbtype): Add netgrdb.
14902 (_PATH_NSCD_NETGROUP_DB): Define.
14903 (netgroup_iov_disabled): Declare.
14904 (xmalloc, xcalloc, xrealloc): Move declarations here.
14905 (cache_search): Adjust prototype.
14906 Add netgroup-related prototypes.
14907 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14908 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14909 (__nscd_innetgr): Declare.
14910 * nscd/selinux.c (perms): Use access_vector_t as element type and
14911 add netgroup-related initializers.
14912 * nscd/netgroupcache.c: New file.
14913 * nscd/nscd_netgroup.c: New file.
14914 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14915 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14916 For four parameters use innetgr.
14917 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14918 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14919 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14920 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14921
21fd49a9
UD
14922 * nscd/connections.c (register_traced_file): Don't register file
14923 for disabled databases.
14924
054c0457
UD
149252011-10-06 Ulrich Drepper <drepper@gmail.com>
14926
32b63198
UD
14927 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14928
054c0457
UD
14929 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14930 from tree and freeing node.
14931
64031225
JO
149322011-09-25 Jiri Olsa <jolsa@redhat.com>
14933
14934 * nss/nsswitch.c (__nss_database_lookup): Handle
14935 nss_parse_service_list out of memory case.
14936
0490345c
JO
149372011-09-15 Jiri Olsa <jolsa@redhat.com>
14938
14939 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14940 out of memory case.
14941
3a62d00d
AS
149422011-10-04 Andreas Schwab <schwab@redhat.com>
14943
14944 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14945 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14946 pass it down.
14947 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14948 elf_machine_rela, elf_machine_lazy_rel.
14949 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14950 (ELF_DYNAMIC_DO_REL): Likewise.
14951 (ELF_DYNAMIC_DO_RELA): Likewise.
14952 (ELF_DYNAMIC_RELOCATE): Likewise.
14953 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14954 to ELF_DYNAMIC_DO_REL.
14955 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14956 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14957 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14958 elf_machine_rela.
14959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14960 skip_ifunc, don't call ifunc function if non-zero.
14961 (elf_machine_rela): Likewise.
14962 (elf_machine_lazy_rel): Likewise.
14963 (elf_machine_lazy_rela): Likewise.
14964 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14965 (elf_machine_lazy_rel): Likewise.
14966 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14967 Likewise.
14968 (elf_machine_lazy_rel): Likewise.
14969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14970 Likewise.
14971 (elf_machine_lazy_rel): Likewise.
14972 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14973 (elf_machine_lazy_rel): Likewise.
14974 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14975 (elf_machine_lazy_rel): Likewise.
14976 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14977 (elf_machine_lazy_rel): Likewise.
14978 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14979 (elf_machine_lazy_rel): Likewise.
14980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14981 (elf_machine_lazy_rel): Likewise.
14982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14983 (elf_machine_lazy_rel): Likewise.
14984
68577918
UD
149852011-09-28 Ulrich Drepper <drepper@gmail.com>
14986
14987 * nss/nss_files/files-init.c (_nss_files_init): Use static
14988 initialization for all the *_traced_file variables.
14989
68822d74
AS
149902011-09-28 Andreas Schwab <schwab@redhat.com>
14991
14992 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14993
2056100b
RM
149942011-09-27 Roland McGrath <roland@hack.frob.com>
14995
14996 [BZ #13226]
14997 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14998
32c76b63
AS
149992011-09-27 Andreas Schwab <schwab@redhat.com>
15000
15001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15002 Reread the line before reparsing it.
15003
bf972c9d
AS
150042011-09-26 Andreas Schwab <schwab@redhat.com>
15005
15006 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15007
e057a1b5
JM
150082011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15009 Maxim Kuvyrkov <maxim@codesourcery.com>
15010 Joseph Myers <joseph@codesourcery.com>
15011
15012 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15013 if needed for __stack_chk_guard.
15014
bc7e1c36
RM
150152011-09-19 Roland McGrath <roland@hack.frob.com>
15016
ecb1482f
RM
15017 * sysdeps/posix/spawni.c (script_execute): Always define it.
15018 It will be optimized away if unused.
15019 (maybe_script_execute): New function.
15020 (__spawni): Call it.
15021
bc7e1c36
RM
15022 * Makerules: Don't include tls.make.
15023 (config-tls): Always set to thread.
15024 * tls.make.c: File removed.
15025
1c3b002b
MF
150262011-09-19 Mike Frysinger <vapier@gentoo.org>
15027
15028 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15029 * config.make.in (CPPFLAGS-config): New substituted variable.
15030
2840865d
UD
150312011-09-15 Ulrich Drepper <drepper@gmail.com>
15032
88738eb6
UD
15033 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15034
cbf645a6 15035 [BZ #13192]
2840865d
UD
15036 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15037 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15038
b402e91a
RM
150392011-09-15 Roland McGrath <roland@hack.frob.com>
15040
15041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15042 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15044 (CALL_FAIL): Likewise.
15045 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15046 (CALL_FAIL): Macro removed.
15047 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15048
4c1a1f71
UD
150492011-09-15 Ulrich Drepper <drepper@gmail.com>
15050
15051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15052 for __FINITE_MATH_ONLY__ == 1.
15053
edc121be
AS
150542011-09-15 Andreas Schwab <schwab@redhat.com>
15055
15056 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15057 __ieee754_sqrt instead of sqrt.
15058 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15059 __ieee754_sqrtf instead of sqrtf.
15060 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15061 __floorf instead of floorf.
15062 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15063 __floorf, __truncf instead of floorf, truncf.
15064
cd205654
UD
150652011-09-14 Ulrich Drepper <drepper@gmail.com>
15066
ee4d0315
UD
15067 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15068
cd205654
UD
15069 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15070 __extern_always_inline.
15071 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15072 32-bit.
15073
48b67d71
AS
150742011-09-14 Andreas Schwab <schwab@redhat.com>
15075
15076 * elf/rtld.c (dl_main): Also relocate in dependency order when
15077 doing symbol dependency testing.
15078
1ae12c75
AS
150792011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15080
15081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15082 Always define `refsym'.
15083
995a80df
AS
150842011-09-13 Andreas Schwab <schwab@redhat.com>
15085
e529793b
AS
15086 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15087 (__FD_ELT): Renamed from __FDELT.
15088 * misc/bits/select2.h (__FD_ELT): Likewise.
15089 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15090 __FD_MASK instead of __FDELT, __FDMASK.
15091 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15092 Likewise.
15093 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15094 Likewise.
15095
52d4fef8
AS
15096 * elf/Makefile (gen-ldd): Fix pattern.
15097
995a80df
AS
15098 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15099 (init_tls): Likewise.
15100
8682f8b0
UD
151012011-09-12 Ulrich Drepper <drepper@gmail.com>
15102
15103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15104
de82006d
AS
151052011-09-12 Andreas Schwab <schwab@redhat.com>
15106
a7c8e6a1
AS
15107 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15108 `struct cmsghdr *' instead of `void *'.
15109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15110 Likewise.
15111
0f31fe77
AS
151122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15115 if non-absolute.
15116 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15117 ldd_rewrite_script.
0f31fe77 15118
32b4c839
UD
151192011-09-11 Ulrich Drepper <drepper@gmail.com>
15120
83cd1420
UD
15121 * configure.in: Remove --with-tls option.
15122 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15123 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15124 out in case it is missing.
15125 * sysdeps/ia64/elf/configure.in: Likewise.
15126 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15127 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15128 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15129 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15130 * sysdeps/sh/elf/configure.in: Likewise.
15131 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15132 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15133 * sysdeps/x86_64/elf/configure.in: Likewise.
15134 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15135 * sysdeps/mach/hurd/tls.h: Likewise.
15136
633f745d
UD
15137 [BZ #13067]
15138 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15139
f318beb8
UD
15140 [BZ #13090]
15141 * configure.in: Fix use of AC_INIT.
15142
32b4c839
UD
15143 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15144
3ce1f295
UD
151452011-09-10 Ulrich Drepper <drepper@gmail.com>
15146
bb016596
UD
15147 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15148 __set_errno.
8e58439c
UD
15149 * malloc/hooks.c: Likewise.
15150
aebae053 15151 [BZ #11929]
02d46fc4
UD
15152 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15153 variables statically.
15154 (narenas): Initialize.
15155 (list_lock): Initialize.
bb016596
UD
15156 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15157 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15158 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15159 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15160 Add initializers to main_arena and mp_.
15161 (malloc_state): Remove pagesize member. Change all users to use
15162 GLRO(dl_pagesize).
15163
15164 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15165 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15166 is always initialized.
15167
22a89187
UD
15168 * malloc/malloc.c: Removed unused configurations and dead code.
15169 * malloc/arena.c: Likewise.
15170 * malloc/hooks.c: Likewise.
02d46fc4 15171 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15172
d063d164
UD
15173 * include/tls.h: Removed. USE___THREAD must always be defined.
15174 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15175 * elf/dl-libc.c: Likewise.
15176 * elf/dl-tsd.c: Likewise.
15177 * include/errno.h: Likewise.
15178 * include/netdb.h: Likewise.
15179 * include/resolv.h: Likewise.
15180 * inet/herrno-loc.c: Likewise.
15181 * inet/herrno.c: Likewise.
15182 * malloc/arena.c: Likewise.
15183 * malloc/hooks.c: Likewise.
15184 * malloc/malloc.c: Likewise.
15185 * resolv/res-state.c: Likewise.
15186 * resolv/res_libc.c: Likewise.
15187 * sysdeps/i386/dl-machine.h: Likewise.
15188 * sysdeps/ia64/dl-machine.h: Likewise.
15189 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15190 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15191 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15192 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15193 * sysdeps/sh/dl-machine.h: Likewise.
15194 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15195 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15196 * sysdeps/unix/i386/sysdep.S: Likewise.
15197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15198 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15203 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15207 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15208 * sysdeps/x86_64/dl-machine.h: Likewise.
15209 * tls.make.c: Likewise.
15210
3ce1f295
UD
15211 * configure.in: Remove --with-__thread option. Make tests for
15212 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15213 tls_model attribute fail if no support is available. Remove
15214 USE_IN_LIBIO.
15215 * Makeconfig: Adjust for dropped configure option. All features are
15216 now mandatory.
15217 * Makerules: Likewise.
15218 * Versions.def: Likewise.
15219 * argp/argp-fmtstream.c: Likewise.
15220 * argp/argp-fmtstream.h: Likewise.
15221 * argp/argp-help.c: Likewise.
15222 * assert/assert.c: Likewise.
15223 * config.h.in: Likewise.
15224 * config.make.in: Likewise.
15225 * configure: Likewise.
15226 * configure.in: Likewise.
15227 * csu/Versions: Likewise.
15228 * csu/init.c: Likewise.
15229 * elf/tst-audit2.c: Likewise.
15230 * elf/tst-tls10.c: Likewise.
15231 * elf/tst-tls10.h: Likewise.
15232 * elf/tst-tls11.c: Likewise.
15233 * elf/tst-tls12.c: Likewise.
15234 * elf/tst-tls14.c: Likewise.
15235 * elf/tst-tlsmod11.c: Likewise.
15236 * elf/tst-tlsmod12.c: Likewise.
15237 * elf/tst-tlsmod13.c: Likewise.
15238 * elf/tst-tlsmod13a.c: Likewise.
15239 * elf/tst-tlsmod14a.c: Likewise.
15240 * elf/tst-tlsmod15b.c: Likewise.
15241 * elf/tst-tlsmod16a.c: Likewise.
15242 * elf/tst-tlsmod16b.c: Likewise.
15243 * elf/tst-tlsmod7.c: Likewise.
15244 * elf/tst-tlsmod8.c: Likewise.
15245 * elf/tst-tlsmod9.c: Likewise.
15246 * gmon/gmon.c: Likewise.
15247 * grp/fgetgrent_r.c: Likewise.
15248 * grp/putgrent.c: Likewise.
15249 * hurd/fopenport.c: Likewise.
15250 * include/libc-symbols.h: Likewise.
15251 * include/tls.h: Likewise.
15252 * intl/gettextP.h: Likewise.
15253 * intl/loadinfo.h: Likewise.
15254 * locale/global-locale.c: Likewise.
15255 * locale/localeinfo.h: Likewise.
15256 * mach/devstream.c: Likewise.
15257 * malloc/arena.c: Likewise.
15258 * malloc/set-freeres.c: Likewise.
15259 * misc/err.c: Likewise.
15260 * misc/getttyent.c: Likewise.
15261 * misc/mntent_r.c: Likewise.
15262 * posix/getopt.c: Likewise.
15263 * posix/wordexp.c: Likewise.
15264 * pwd/fgetpwent_r.c: Likewise.
15265 * resolv/Versions: Likewise.
15266 * resolv/res_hconf.c: Likewise.
15267 * shadow/fgetspent_r.c: Likewise.
15268 * shadow/putspent.c: Likewise.
15269 * stdio-common/printf_fphex.c: Likewise.
15270 * stdio-common/tmpfile.c: Likewise.
15271 * stdlib/abort.c: Likewise.
15272 * stdlib/fmtmsg.c: Likewise.
15273 * sunrpc/auth_unix.c: Likewise.
15274 * sunrpc/clnt_perr.c: Likewise.
15275 * sunrpc/clnt_tcp.c: Likewise.
15276 * sunrpc/clnt_udp.c: Likewise.
15277 * sunrpc/clnt_unix.c: Likewise.
15278 * sunrpc/openchild.c: Likewise.
15279 * sunrpc/svc_simple.c: Likewise.
15280 * sunrpc/svc_tcp.c: Likewise.
15281 * sunrpc/svc_udp.c: Likewise.
15282 * sunrpc/svc_unix.c: Likewise.
15283 * sunrpc/xdr.c: Likewise.
15284 * sunrpc/xdr_array.c: Likewise.
15285 * sunrpc/xdr_rec.c: Likewise.
15286 * sunrpc/xdr_ref.c: Likewise.
15287 * sunrpc/xdr_stdio.c: Likewise.
15288
1248c1c4
PB
152892011-09-09 Ulrich Drepper <drepper@gmail.com>
15290
15291 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15292
152932011-07-03 Andreas Jaeger <aj@suse.de>
15294
15295 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15296 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15297 regenerate with gen-libm-tests.pl.
15298
152992010-05-12 Petr Baudis <pasky@suse.cz>
15300
15301 [BZ #11589]
15302 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15303 around j0() zero points by switching to j1().
15304 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15308
f22e1074
UD
153092011-09-09 Ulrich Drepper <drepper@gmail.com>
15310
f19009c1
UD
15311 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15312 instead of 0.
15313 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15314 instead of 0. .
15315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15316 Patch in part by Pavel Roskin <proski@gnu.org>.
15317
3f8cc204
UD
15318 [BZ #13138]
15319 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15320 realloc.
15321 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15322 Free memory block if necessary.
15323
f22e1074
UD
15324 [BZ #12847]
15325 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15326 be NULL. Don't lock in this case.
15327
0a2349f9
RM
153282011-09-09 Roland McGrath <roland@hack.frob.com>
15329
15330 * elf/elf.h (ELFOSABI_GNU): New macro.
15331 (ELFOSABI_LINUX): Define to that.
15332
f3cdd467
DZ
153332011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15334
15335 * string/strncat.c (strncat): Undef the symbol in case it has been
15336 defined in bits/string.h.
15337
74718d13
UD
153382011-09-09 Ulrich Drepper <drepper@gmail.com>
15339
633e9e0f
UD
15340 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15341
0a2349f9 15342 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15343 link map.
15344
f9924780
AJ
153452011-08-17 Andreas Jaeger <aj@suse.de>
15346
15347 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15348
7f5517aa
PP
153492011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15350 Ian Lance Taylor <iant@google.com>
15351
15352 * math/libm-test.inc (lround_test): New testcase.
15353 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15354
762011fe
UD
153552011-09-08 Ulrich Drepper <drepper@gmail.com>
15356
92963737
UD
15357 * Makefile: Remove support for automatic cvs check-ins.
15358 * Makerules: Likewise.
15359 * config.make.in: Likewise.
15360 * configure.in: Likewise.
15361 * intl/Makefile: Likewise.
15362 * locale/Makefile: Likewise.
15363 * po/Makefile: Likewise.
15364 * posix/Makefile: Likewise.
15365 * sysdeps/gnu/Makefile: Likewise.
15366 * sysdeps/mach/hurd/Makefile: Likewise.
15367 * sysdeps/sparc/sparc32/Makefile: Likewise.
15368
b0727fd8
JS
15369 [BZ #13118]
15370 * posix/Makefile (bug-regex32-ENV): Define.
15371 Patch by John Stanley <jpsinthemix@verizon.net>.
15372
a0f33f99
UD
15373 * misc/Makefile (headers): Add bits/select2.h.
15374 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15375 * misc/bits/select2.h: New file.
15376 * include/bits/select2.h: New file.
15377 * debug/Makefile (routines): Add fdelt_chk.
15378 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15379 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15380 FD_ISSET.
15381 * debug/fdelt_chk.c: New file.
15382
762011fe
UD
15383 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15384 * wcsmbs/test-wmemcmp.c: Likewise.
15385 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15386 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15387
153882011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15389
15390 * string/Makefile (strop-tests): Add memcmp.
15391 * string/test-wmemcmp.c: New file.
15392 * string/test-memcmp.c: Add wmemcmp support.
15393
7f513ec8
RM
153942011-09-08 Roland McGrath <roland@hack.frob.com>
15395
0442afb4
RM
15396 [BZ #13153]
15397 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15398 2011-07-19 change.
15399
7f513ec8
RM
15400 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15401 garbage value in a __mach_port_mod_refs call in the cases of the
15402 task-self and thread-self ports.
15403
a12b2239
ST
154042011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15405
15406 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15407
610f9ab4
AS
154082011-09-08 Andreas Schwab <schwab@redhat.com>
15409
7f513ec8 15410 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15411
48882a1a
LD
154122011-09-07 Ulrich Drepper <drepper@gmail.com>
15413
b49865be
UD
15414 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15415
fdc86bc9
UD
15416 * elf/dl-libc.c (dlerror_run): Pass back error code from
15417 dl_catch_error.
15418
c966526a
UD
15419 [BZ #13123]
15420 * elf/dl-load.c (lose): Free l_origin if it is valid.
15421
48882a1a
LD
15422 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15423 names.
15424 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15427 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15428 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15429 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15430
77a2a8b4
AZ
154312011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15432
15433 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15434 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15435 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15436 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15437 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15438 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15439 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15440 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15441 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15442 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15443
24f579d8
AM
154442011-08-15 Alan Modra <amodra@gmail.com>
15445
15446 [BZ #13092]
15447 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15448 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15449 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15450 ppc_mcount to static-only-routines.
15451 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15452 __mcount_internal.
15453 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15454 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15455
3d4837df
UD
154562011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15457
15458 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15459 for finite and infinity parameters.
15460
22700377
WS
154612011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15462
15463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15464 and add nop instructions for throughput optimization.
15465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15466
5025581e
WS
154672011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15468
15469 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15470 aligned copy for power7 with vector-scalar instructions.
15471 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15472
08a300c9
L
154732011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15474
15475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15476 AVX check.
15477
59178ef9
AS
154782011-09-07 Andreas Schwab <schwab@redhat.com>
15479
15480 [BZ #13144]
15481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15482 last change.
15483
e38ba7ab
UD
154842011-09-07 Ulrich Drepper <drepper@gmail.com>
15485
15486 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15487 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15488 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15489 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15490 clock_gettime.
15491
d53a73ac
UD
154922011-09-06 Ulrich Drepper <drepper@gmail.com>
15493
fc8bffcc
UD
15494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15495 Forgot to demangle the pointer.
15496
ceaa0c5d
UD
15497 * sysdeps/i386/sysdep.h: Define atom_text_section.
15498 * sysdeps/x86_64/sysdep.h: Likewise.
15499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15500 section with atom_text_section.
15501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15502 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15503 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15505 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15506
a77d3c17
UD
15507 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15508 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15509 already be defined. Change to take two parameters and don't assign
15510 result to variable. Adjust all users.
15511 Define INTERNAL_GETTIME if not already defined.
15512 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15513 call.
15514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15515 HAVE_CLOCK_GETTIME_VSYSCALL.
15516 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15517
d53a73ac
UD
15518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15519 gettimeofday vsyscall, just use time.
15520
a8f84144
AS
155212011-09-06 Andreas Schwab <schwab@redhat.com>
15522
15523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15524 <errno.h>.
15525
ef606249
UD
155262011-09-06 Ulrich Drepper <drepper@gmail.com>
15527
15528 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15529 syscall on x86-64.
15530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15531 syscall.
15532 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15534 syscall if possible.
15535
6585cb60
UD
155362011-09-05 Ulrich Drepper <drepper@gmail.com>
15537
15538 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15539 e_ident. Don't pass to find_mapsXX.
15540 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15541
a5f524e4
LD
155422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15543
15544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15545 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15546 * sysdeps/x86_64/multiarch/strchr.S: Update.
15547 Check bit_slow_BSF bit.
15548 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15549 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15550 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15551
554881ef
UD
155522011-09-05 Ulrich Drepper <drepper@gmail.com>
15553
d96de963
UD
15554 [BZ #13134]
15555 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15556 before glibc 2.15.
15557 (tryshell): Define.
15558 (__spawni): Change last parameter to be flag. Test
15559 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15560 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15561 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15562 * posix/spawni.c: Likewise.
15563 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15564 * posix/spawnp.c: Likewise. Change normal version to use
15565 SPAWN_XFLAGS_USE_PATH.
15566 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15567 SPAWN_XFLAGS_TRY_SHELL.
15568
d48e5868
UD
15569 [BZ #13150]
15570 * posix/glob.h: Remove gcc 1.x support.
15571
554881ef
UD
15572 [BZ #13068]
15573 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15574
693fb948
LD
155752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15576
15577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15578 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15579 strrchr-sse2-bsf
15580 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15581 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15582 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15583 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15584 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15585 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15586
1b48c537
UD
155872011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15588
49d42c37
UD
15589 * sysdeps/x86_64/wcscmp.S: New file.
15590
1b48c537
UD
15591 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15592 wcscmp-c wcscmp-sse2
15593 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15594 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15595 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15596 * wcsmbs/wcscmp.c: Allow renaming.
15597
15c95c5d
DM
155982011-09-05 David S. Miller <davem@davemloft.net>
15599
15600 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15601 stack slot, rather than the struct return pointer slot.
15602 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15603 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15605 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15606
2f0ad8f3
UD
156072011-09-05 Ulrich Drepper <drepper@gmail.com>
15608
d88ae418
UD
15609 * po/ja.po: Update from translation team.
15610
2f0ad8f3
UD
15611 [BZ #13144]
15612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15613 kernel in 64-bit binaries.
15614
5f4318d1
DM
156152011-09-01 David S. Miller <davem@davemloft.net>
15616
15617 * elf/elf.h (HWCAP_SPARC_*): Move to..
15618 * sysdeps/sparc/sysdep.h: this new file and add new values.
15619 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15620 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15621 _DL_HWCAP_COUNT to 24.
15622 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15623 entries.
15624 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15625 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15626 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15628 instead of magic constants.
15629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15630
3ba57516
DM
156312011-08-31 David S. Miller <davem@davemloft.net>
15632
15633 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15635 Reimplement to do errno handling inline.
15636 (SYSCALL_ERROR_HANDLER): New macro.
15637 (__SYSCALL_STRING): Do not do errno handling in asm.
15638 (__CLONE_SYSCALL_STRING): Delete.
15639 (__INTERNAL_SYSCALL_STRING): Delete.
15640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15641 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15642 (PSEUDO): Reimplement to do errno handling inline.
15643 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15644 (SYSCALL_ERROR_HANDLER): New macro.
15645 (__SYSCALL_STRING): Do not do errno handling in asm.
15646 (__CLONE_SYSCALL_STRING): Delete.
15647 (__INTERNAL_SYSCALL_STRING): Delete.
15648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15649 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15650 i386.
15651 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15652 (inline_syscall*): Add 'err' argument.
15653 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15654 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15655 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15656 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15657
15658 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15659 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15660
2bc17433
AS
156612011-08-30 Andreas Schwab <schwab@redhat.com>
15662
15663 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15664
fbeb5f4d
JO
156652011-08-29 Jiri Olsa <jolsa@redhat.com>
15666
15667 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15668 directive.
15669
ad69cc26
DM
156702011-08-24 David S. Miller <davem@davemloft.net>
15671
15672 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15673
39dd69df
AS
156742011-08-24 Andreas Schwab <schwab@redhat.com>
15675
15676 * elf/Makefile: Add rules to build and run unload8 test.
15677 * elf/unload8.c: New file.
15678 * elf/unload8mod1.c: New file.
15679 * elf/unload8mod1x.c: New file.
15680 * elf/unload8mod2.c: New file.
15681 * elf/unload8mod3.c: New file.
15682
15683 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15684 it wasn't used.
15685
2c0b250a
DM
156862011-08-23 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15689 subtract stack bias.
15690 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15691 %sp not %fp in calculations.
15692 (_JMPBUF_UNWINDS_ADJ): Likewise.
15693
22044b48
DM
15694 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15695 (aio_suspend): Call it to force an exception region around the
15696 AIO_MISC_WAIT() invocation.
15697
2cae4995
AS
156982011-08-23 Andreas Schwab <schwab@redhat.com>
15699
15700 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15701 backslash.
15702
873a772e
AJ
157032011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15704
15705 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15706 protection macro.
15707 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15708 and <dl-machine.h>.
15709 (Elf64_FuncDesc): Remove.
15710
25ad0df1
DM
157112011-08-22 David S. Miller <davem@davemloft.net>
15712
15713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15714 sigaltstack check, add missing cfi directives.
15715 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15716 missing cfi directives, and sigaltstack handling.
15717
e888bcbe
AS
157182011-08-16 Andreas Schwab <schwab@redhat.com>
15719
15720 [BZ #11724]
15721 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15722 object is seen twice.
15723 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15724
15725 * elf/Makefile (distribute): Add tst-initorder2.c.
15726 (tests): Add tst-initorder2.
15727 (modules-names): Add tst-initorder2a tst-initorder2b
15728 tst-initorder2c tst-initorder2d. Add rules to build them.
15729 ($(objpfx)tst-initorder2.out): New rule.
15730 * elf/tst-initorder2.c: New file.
15731 * elf/tst-initorder2.exp: New file.
15732
87162f46
AS
157332011-08-22 Andreas Schwab <schwab@redhat.com>
15734
70538b7f
AS
15735 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15736
f55ffe58
AS
15737 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15738 dependencies back to end of function.
15739
87162f46
AS
15740 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15741 $(elfobjdir)/ld.so.
15742
91b392a4
UD
157432011-08-21 Ulrich Drepper <drepper@gmail.com>
15744
15745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15746 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15748 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15749 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15750 of __vdso_gettimeofday.
15751 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15752 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15753 attribute_hidden.
15754 (_libc_vdso_platform_setup): Remove initialization of
15755 __vdso_gettimeofday and __vdso_time.
15756
5c43483f
UD
157572011-08-20 Ulrich Drepper <drepper@gmail.com>
15758
775a77e7
UD
15759 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15760 and fgetc_unlocked.
15761 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15762 getc_unlocked.
89f447ed 15763
49c74ba9
UD
15764 * elf/dl-open.c (add_to_global): Report additions to the global scope
15765 for LD_DEBUG=scopes.
15766 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15767 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15768
5c43483f
UD
15769 [BZ #13114]
15770 * stdio-common/Makefile (tests): Add bug24.
15771 * stdio-common/bug24.c: New file.
15772
a101b025
AJ
157732011-08-19 Andreas Jaeger <aj@suse.de>
15774
15775 [BZ #13114]
15776 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15777 non-existant file when using close-on-exec mode.
15778
c88f1766
UD
157792011-08-20 Ulrich Drepper <drepper@gmail.com>
15780
0276a718
UD
15781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15782 the very first instruction.
15783
c88f1766
UD
15784 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15785 the CFI state in the end.
15786 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15787 inclusion of dl-trampoline.h.
15788 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15789
51ccffa0
AS
157902011-08-19 Andreas Schwab <schwab@redhat.com>
15791
94d7165f
AS
15792 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15793 expectations for long double.
15794
51ccffa0
AS
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15796 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15797
fd708658 157982011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15799
15800 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15801 artificual limit depends upon the system page size.
15802
44f0a71e
UD
158032011-08-17 Ulrich Drepper <drepper@gmail.com>
15804
15805 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15806 * resolv/Makefile: Define CFLAGS-libresolv.
15807
8de79a24
AS
158082011-08-17 Andreas Schwab <schwab@redhat.com>
15809
15810 * nss/makedb.c (compute_tables): Make variables used in nested
15811 function static.
15812
27724598
UD
158132011-08-17 Ulrich Drepper <drepper@gmail.com>
15814
c5305d88
UD
15815 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15816 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15817 if buffer was too small.
15818
27724598
UD
15819 * elf/pldd.c (main): Attach to all threads in the process.
15820 Rewrite /proc handling to use *at functions.
15821
076fe015
UD
158222011-08-16 Ulrich Drepper <drepper@gmail.com>
15823
174baab3
UD
15824 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15825 specifies first scope to show.
15826 (dl_open_worker): Update callers. Move printing scope of new
15827 object to before the relocation.
44f0a71e 15828 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15829 * sysdeps/generic/ldsodefs.h: Update declaration.
15830
076fe015
UD
15831 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15832 string for the scope number.
15833
a60df2c3
UD
158342011-08-14 Ulrich Drepper <drepper@gmail.com>
15835
15836 * nscd/servicescache.c (cache_addserv): Make sure written is always
15837 initialized.
15838
5e4287d1
RM
158392011-08-14 Roland McGrath <roland@hack.frob.com>
15840
85ae0589
RM
15841 * sysdeps/i386/i486/bits/atomic.h
15842 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15843 statement expression, so as to suppress "set but not used" warning.
15844 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15845
69f63097
RM
15846 * string/strncat.c (STRNCAT): Use prototype definition.
15847
675456ef
RM
15848 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15849 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15850 -Iprograms here.
15851 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15852 (localedef-modules): Add localedef.
15853 (locale-modules): Add locale.
15854
5e4287d1
RM
15855 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15856 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15857 to avoid a warning.
15858
9c96ff23
DM
158592011-08-14 David S. Miller <davem@davemloft.net>
15860
15861 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15862 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15863
f9ddf089
UD
158642011-08-13 Ulrich Drepper <drepper@gmail.com>
15865
44f0a71e 15866 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15867 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15868 * elf/rtld.c (dl_main): Set l_name of vDSO.
15869 Call _dl_show_scope when DL_DEBUG_SCOPES.
15870 (process_dl_debug): Recognize scopes flag and also set it for all.
15871 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15872 Declare _dl_show_scope.
15873
1dc27704
UD
15874 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15875 (do_dlopen): Pass caller_dlopen to dl_open.
15876 (__libc_dlopen_mode): Initialize caller_dlopen.
15877
f9ddf089
UD
15878 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15879 of libc. Make tolower call locale-independent. Optimize a bit by
15880 using isdigit instead of isalnum.
15881 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15882
9ac533d3
UD
158832011-08-12 Ulrich Drepper <drepper@gmail.com>
15884
15885 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15886 was a dependency or dynamically loaded.
15887
89edf2e9
UD
158882011-08-11 Ulrich Drepper <drepper@gmail.com>
15889
8e999d29
UD
15890 * intl/l10nflist.c: Allow architecture-specific pop function.
15891 * sysdeps/x86_64/l10nflist.c: New file.
15892
89edf2e9
UD
15893 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15894 classification.
15895
14d96785
AS
158962011-08-10 Andreas Schwab <schwab@redhat.com>
15897
15898 * include/dirent.h: Add libc_hidden_proto for scandirat and
15899 scandirat64. Don't declare __scandirat64.
15900 * dirent/scandirat.c: Add libc_hidden_def.
15901 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15902 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15903
6761ac04
DM
159042011-08-10 David S. Miller <davem@davemloft.net>
15905
15906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15907 enum.
15908 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15911
c55fbd1e
UD
159122011-08-09 Ulrich Drepper <drepper@gmail.com>
15913
15914 * Versions.def [libc]: Add GLIBC_2.15.
15915 * dirent/Makefile (routines): Add scandirat and scandirat64.
15916 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15917 GLIBC_2.15.
15918 * dirent/dirent.h: Declare scandirat and scandirat64.
15919 * dirent/scandirat.c: New file.
15920 * dirent/scandirat64.c: New file.
15921 * sysdeps/wordsize-64/scandirat.c: New file.
15922 * sysdeps/wordsize-64/scandirat64.c: New file.
15923 * dirent/opendir.c: Define opendirat.
15924 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15925 using scandirat.
15926 * dirent/scandir64.c: Adjust for scandir.c change.
15927 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15928 __scandirat64, and __scandir_cancel_handler.
15929 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15930 additional parameter and use openat instead of open (outside of ld.so).
15931 Add new __opendir as wrapper around __opendirat.
15932 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15933 here without requiring old scandirat implementation.
15934
879165f2
UD
159352011-08-08 Ulrich Drepper <drepper@gmail.com>
15936
15937 * dirent/scandir.c (cancel_handler): Renamed to
15938 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15939 defined. Adjust users.
15940 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15941 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15942
cb7e923b
UD
159432011-08-04 Ulrich Drepper <drepper@gmail.com>
15944
16292edd
UD
15945 * string/test-string.h (IMPL): Use __STRING to expand name and then
15946 stringify it.
15947
cb7e923b
UD
15948 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15949 of cleanups.
15950
cff82933
LD
159512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15952
15953 * string/Makefile: Update.
15954 (strop-tests): Append strncat.
15955 * string/test-wcscmp.c: New file.
15956 New comprehensive test for wcscmp.
15957 * string/test-strcmp.c: Update.
15958 (WIDE): New define.
15959
9be9bfcc
AS
159602011-07-22 Andreas Schwab <schwab@redhat.com>
15961
15962 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15963 line.
15964
2e96f1c7
AS
159652011-07-26 Andreas Schwab <schwab@redhat.com>
15966
15967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15968 encoding to ACE if AI_IDN.
15969
85188888
JJ
159702011-08-01 Jakub Jelinek <jakub@redhat.com>
15971
15972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15973 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15974
5fa16e9b
LD
159752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15976
15977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15978 Fix overflow bug in strncat.
15979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15980
15981 * string/test-strncat.c: Update.
15982 Add new tests for checking overflow bugs.
15983
159842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15985
15986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15987 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15988 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15989 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15991 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15992 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15993 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15994 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15995
15996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15997 (USE_AS_STRCAT): Define.
15998 Add strcat and strncat support.
15999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16000
8c1a459f
AS
160012011-07-25 Andreas Schwab <schwab@redhat.com>
16002
16003 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16004 __n bigger than INT_MAX+1.
16005 (__strncmp_g): Likewise.
16006
bba33c28
UD
160072011-07-23 Ulrich Drepper <drepper@gmail.com>
16008
798be72d
UD
16009 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16010 * libio/stido.h: Likewise.
16011
8accd4dc
UD
16012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16013 (AF_NFC): Define.
16014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16015 (AF_NFC): Define.
16016
cbff0d96
UD
16017 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16022
9191c04a
UD
16023 [BZ #13021]
16024 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16025 installed.
16026
bba33c28
UD
16027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16028 typo.
16029 (_dl_x86_64_save_sse): Likewise.
16030
90f139dd
UD
160312011-07-22 Ulrich Drepper <drepper@gmail.com>
16032
1aae088a
UD
16033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16034 OSXSAVE.
16035 (_dl_x86_64_save_sse): Likewise.
16036
8e2045f5
UD
16037 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16038
90f139dd
UD
16039 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16040
1d002f25
AS
160412011-07-21 Andreas Schwab <schwab@redhat.com>
16042
16043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16044 change.
16045 (_dl_x86_64_save_sse): Use correct AVX check.
16046
21137f89
UD
160472011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16048
16049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16050 bug in strncpy/strncat.
16051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16052
a65c0b7a
UD
160532011-07-21 Ulrich Drepper <drepper@gmail.com>
16054
16055 * string/tester.c (test_strcat): Add tests for different alignments
16056 of source and destination.
16057 (test_strncat): Likewise.
16058
6986b98a
UD
160592011-07-20 Ulrich Drepper <drepper@gmail.com>
16060
90bb2039
UD
16061 [BZ #12852]
16062 * posix/glob.c (glob): Check passed in values before using them in
16063 expressions to avoid some overflows.
16064 (glob_in_dir): Likewise.
16065
5644ef54
UD
16066 [BZ #13007]
16067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16068 check for AVX enablement so that we don't crash with old kernels and
16069 new hardware.
16070 * elf/tst-audit4.c: Add same checks here.
16071 * elf/tst-audit6.c: Likewise.
16072
16073 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16074
bfc9dc9b
AS
160752011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16076
16077 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16078
702e64bb
UD
160792011-07-20 Ulrich Drepper <drepper@gmail.com>
16080
16081 * po/cs.po: Update from translation team.
16082 * po/bg.po: Likewise.
16083
295e904f
MP
160842011-07-12 Marek Polacek <mpolacek@redhat.com>
16085
16086 * misc/sys/cdefs.h: Add support for const attribute.
16087 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16088 to gnu_dev_{major,minor,makedev} functions.
16089
3ff94596
MP
160902011-07-20 Marek Polacek <mpolacek@redhat.com>
16091
16092 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16093
28b59fca
AS
160942011-07-20 Andreas Schwab <schwab@redhat.com>
16095
16096 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16097 strlen results.
16098
19df733e
AK
160992011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16100
16101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16102 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16103 register in order to avoid conflicts with the soft frame pointer
16104 being held in r11 when necessary.
16105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16106 (INTERNAL_VSYSCALL_NCS): Likewise.
16107
c8835729
MP
161082011-07-14 Marek Polacek <mpolacek@redhat.com>
16109
16110 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16111 * elf/dl-fini.c (_dl_fini): Adjust caller.
16112 * elf/dl-close.c (_dl_close_worker): Likewise.
16113 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16114
b902330c
MP
161152011-07-15 Marek Polacek <mpolacek@redhat.com>
16116
8991e135
MP
16117 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16118 "aux_cache->nlibs < 0".
16119
b902330c
MP
16120 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16121 in the reload-count case.
16122
99710781
LD
161232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16124
16125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16126 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16127 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16128 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16129 * sysdeps/x86_64/multiarch/strcat.S: New file.
16130 * sysdeps/x86_64/multiarch/strncat.S: New file.
16131 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16132 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16133 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16134 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16136 (USE_AS_STRCAT): Define.
16137 Add strcat and strncat support.
16138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16140 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16141 * string/strncat.c: Update.
16142 (USE_AS_STRNCAT): Define.
16143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16144 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16145 and i7.
16146 * sysdeps/x86_64/multiarch/init-arch.h
16147 (bit_Prefer_PMINUB_for_stringop): New.
16148 (index_Prefer_PMINUB_for_stringop): Likewise.
16149 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16150 bit_Prefer_PMINUB_for_stringop.
16151
7dc6bd90
UD
161522011-07-19 Ulrich Drepper <drepper@gmail.com>
16153
16154 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16155 buffer64.
16156 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16157 of casting of buffer.
16158 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16159 buffer32 and buffer64.
16160 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16161 writes instead of casting of buffer.
16162 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16163 buffer32.
16164 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16165 casting of buffer.
16166
e0e72284
AS
161672011-07-19 Andreas Schwab <schwab@redhat.com>
16168
16169 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16170
feb1eb0b
UD
161712011-07-19 Ulrich Drepper <drepper@gmail.com>
16172
16173 * nscd/nscd.c (termination_handler): Don't do anything for a database
16174 if it has not yet been initialized.
16175
298711ff
UD
161762011-07-18 Ulrich Drepper <drepper@gmail.com>
16177
16178 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16179
161802011-07-15 Marek Polacek <mpolacek@redhat.com>
16181
16182 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16183
f9d68389
UD
161842011-07-18 Ulrich Drepper <drepper@gmail.com>
16185
16186 * po/nl.po: Update from translation team.
16187 * po/sv.po: Likewise.
16188
db290cf5
RM
161892011-07-16 Roland McGrath <roland@hack.frob.com>
16190
16191 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16192 now disallowed by GCC.
5c550700 16193
fd5e21c7
RM
16194 * configure.in (use-default-link): Default to yes if a test -shared
16195 link meets our qualifications.
16196 * configure: Regenerated.
16197
5c550700
RM
16198 * config.make.in (output-format): New variable.
16199 * configure.in: Check for ld --print-output-format support.
16200 * configure: Regenerated.
16201 * Makerules ($(common-objpfx)format.lds)
16202 [$(output-format) != unknown]: Just use $(output-format),
16203 instead of the linker-script munging.
16204
9fa2c032
RM
162052011-07-14 Roland McGrath <roland@hack.frob.com>
16206
a6928d51
RM
16207 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16208 of $(common-objpfx)shlib.lds.
16209 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16210
661607b3
RM
16211 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16212 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16213
9fa2c032
RM
16214 * configure.in (-z relro check): Adjust test code to add a large
16215 writable data section after it.
16216 * configure: Regenerated.
16217
defe9061
RM
162182011-07-11 Roland McGrath <roland@hack.frob.com>
16219
16220 * configure.in (-z relro check): Fix test code to make the variable
16221 truly const.
16222 * configure: Regenerated.
16223
319b9ad4
UD
162242011-07-11 Ulrich Drepper <drepper@gmail.com>
16225
16226 * nscd/nscd.h (struct traced_file): Define.
16227 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16228 elements. Add traced_files.
16229 (inotify_fd): Declare.
16230 (register_traced_file): Declare.
16231 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16232 (inotify_fd): Export.
16233 (resolv_conf_descr): Remove.
16234 (nscd_init): Move inotify descriptor creation to main.
16235 Don't register files for notification here.
16236 (register_traced_file): New function.
16237 (invalidate_cache): Don't use reset_res to determine whether to call
16238 res_init, go through the list of registered files.
16239 (main_loop_poll): The inotify descriptors are now stored in the
16240 structures for the traced files.
16241 (main_loop_epoll): Likewise
16242 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16243 to __nss_disable_nscd.
16244 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16245 for a database anymore. Check the records for all the registered
16246 files instead.
16247 * nss/Makefile (libnss_files-routines): Add files-init.
16248 (libnss_db-routines): Add db-init.
16249 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16250 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16251 * nss/nss_db/db-init.c: New file.
16252 * nss/nss_files/files-init.c: New file.
16253 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16254 __nss_lookup_function.
16255 (__nss_lookup_function): Call nss_load_library.
16256 (nss_load_all_libraries): New function.
16257 (__nss_disable_nscd): Take parameter with callback function for files
16258 to register. Set is_nscd. Load all the DSOs for the NSS modules
16259 used for the cached services.
16260 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16261 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16262 options for features to all the files in nscd.
16263
16264 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16265
23bee3e8
RM
162662011-07-10 Roland McGrath <roland@hack.frob.com>
16267
16268 * csu/elf-init.c (__libc_csu_init): Comment typo.
16269
46a5b7f0
UD
162702011-07-09 Ulrich Drepper <drepper@gmail.com>
16271
16272 * po/pl.po: Update from translation team.
16273 * po/ja.po: Likewise.
16274 * po/ru.po: Likewise.
16275 * po/ko.po: Likewise.
16276 * po/fr.po: Likewise.
16277
d30cf5bb
RM
162782011-07-09 Roland McGrath <roland@hack.frob.com>
16279
113ddea4
RM
16280 * configure.in (.ctors/.dtors header and trailer check):
16281 Use an empirical test on a built program.
16282 * configure: Regenerated.
16283
574920b4
RM
16284 * configure.in (-z relro check): Use an empirical test on a built DSO.
16285 Detect, but do not require, on ia64.
16286 * configure: Regenerated.
16287
d30cf5bb
RM
16288 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16289 Update tests that use readelf to use $READELF instead.
16290 * configure: Regenerated.
16291
8538fdb3
UD
162922011-07-08 Ulrich Drepper <drepper@gmail.com>
16293
16294 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16295 if the result is not used.
16296
04d08991
AJ
162972011-07-05 Andreas Jaeger <aj@suse.de>
16298
16299 [BZ#9696]
16300 * stdlib/tst-strtod.c: Add testcase.
16301
de283087
AD
163022011-07-07 Ulrich Drepper <drepper@gmail.com>
16303
4e5f31c8 16304 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16305 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16306 The latter has a higher limit. Take additional parameter to pass to
16307 the new function.
16308 (__pathconf): Pass file to __statfs_link_max.
16309 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16310 __statfs_link_max.
16311 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16312 __statfs_link_max.
16313
de283087
AD
16314 [BZ #12868]
16315 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16317 Handle Lustre.
16318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16319 (__statfs_filesize_max): Likewise.
16320 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16321
c75fa153
AJ
163222011-07-05 Andreas Jaeger <aj@suse.de>
16323
16324 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16325
1a544854
UD
163262011-07-06 Marek Polacek <mpolacek@redhat.com>
16327
16328 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16329 `status' variable.
16330 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16331 Likewise.
16332
6f0eec67
UD
163332011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16334
16335 * Makefile (strop-tests): Add strncat.
16336 * string/test-strncat.c: New file.
16337
aae30307
UD
163382011-06-30 Marek Polacek <mpolacek@redhat.com>
16339
16340 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16341
c0cfb5eb
UD
163422011-06-21 Andreas Jaeger <aj@suse.de>
16343
16344 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16345 Copy rule from iconvdata/Makefile.
16346
01636b21
UD
163472011-07-06 Ulrich Drepper <drepper@gmail.com>
16348
16349 [BZ #12922]
16350 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16351 but no long options are defined, just return 'W'.
16352
9895c8bc
UD
163532011-06-22 Marek Polacek <mpolacek@redhat.com>
16354
16355 [BZ #9696]
16356 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16357
5d4cf042
UD
163582011-07-06 Ulrich Drepper <drepper@gmail.com>
16359
16360 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16361 netgroups to read.
960e5535 16362 (innetgr): Likewise.
5d4cf042 16363
751eb97e
RM
163642011-07-05 Roland McGrath <roland@hack.frob.com>
16365
16366 * config.make.in (install_root): Default to $(DESTDIR).
16367
f15f1e45
UD
163682011-07-05 Ulrich Drepper <drepper@gmail.com>
16369
16370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16371
4e34ac6a
RM
163722011-07-02 Roland McGrath <roland@hack.frob.com>
16373
5e9b6af4
RM
16374 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16375
84f9ea0f
RM
16376 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16377 containing directory rather than embedding absolute directory names.
16378
ea5ee9f7
RM
16379 * scripts/check-local-headers.sh: Rewritten using awk.
16380 Match by word, not by line. Print error messages for matches.
16381 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16382
1b74661a
RM
16383 * Makerules [shlib-lds-flags empty]:
16384 ($(common-objpfx)libc_pic.opts): New target.
16385 ($(common-objpfx)libc_pic.os.clean): New target.
16386 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16387
16388 * config.make.in (OBJCOPY): New variable.
16389 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16390 * configure: Regenerated.
16391
f781ef40
RM
16392 * config.make.in (use-default-link): New variable.
16393 * configure.in (use_default_link): Grok --with-default-link to set it.
16394 * configure: Regenerated.
16395 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16396 (shlib-lds, shlib-lds-flags): Define to empty.
16397
2d4fa81e
RM
16398 * Makerules (shlib-lds): New variable.
16399 (shlib-lds-flags): New variable.
16400 (build-shlib, build-moduile, build-module-asneeded): Use it.
16401 ($(common-objpfx)libc.so): Use $(shlib-lds).
16402 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16403 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16404
31fffa6b
RM
16405 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16406 DT_FLAGS/DT_FLAGS_1 with zero flags.
16407
4e34ac6a
RM
16408 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16409 linker script munging.
16410
fcfc776b
UD
164112011-07-02 Ulrich Drepper <drepper@gmail.com>
16412
16413 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16414 as 128-bit value.
16415 * crypt/sha512.c (sha512_process_block): Perform total addition using
16416 128-bit if possible.
16417 (__sha512_finish_ctx): Likewise.
16418 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16419 as 64-bit value.
16420 * crypt/sha256.c (SWAP64): Define.
16421 (sha256_process_block): Perform total addition using 64-bit if
16422 possible.
16423 (__sha256_finish_ctx): Likewise.
16424
99231d9a
UD
164252011-07-01 Ulrich Drepper <drepper@gmail.com>
16426
16427 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16429 * nscd/hstcache.c (cache_addhst): Likewise.
16430 * nscd/grpcache.c (cache_addgr): Likewise.
16431 * nscd/aicache.c (addhstaiX): Likewise
16432 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16433
445b4a53
TK
164342011-07-01 Thorsten Kukuk <kukuk@suse.de>
16435
16436 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16438 * nscd/hstcache.c (cache_addhst): Likewise.
16439 * nscd/grpcache.c (cache_addgr): Likewise.
16440 * nscd/aicache.c (addhstaiX): Likewise
16441
6d4d8e8e
AS
164422011-07-01 Andreas Schwab <schwab@redhat.com>
16443
16444 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16445 domain only when needed.
16446
89f654c5
AS
164472011-06-30 Andreas Schwab <schwab@redhat.com>
16448
16449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16450 is always restored.
16451
cf3b23ff
UD
164522011-06-29 Ulrich Drepper <drepper@gmail.com>
16453
16454 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16455 are re-adding the entry.
16456 * nscd/servicescache.c (cache_addserv): Likewise.
16457
751626f9
AJ
164582011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16459
16460 * sysdeps/generic/dl-irel.h: fix protection against multiple
16461 inclusions.
16462 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16463
9113ea1f
UD
164642011-06-28 Ulrich Drepper <drepper@gmail.com>
16465
5c0b8d90
UD
16466 [BZ #12935]
16467 * malloc/memusage.sh: Fix quoting in message.
16468 * debug/xtrace.sh: Likewise.
16469
9113ea1f
UD
16470 * configure.in: Remove support for --experimental-malloc option, make
16471 it the default.
16472 * config.make.in: Likewise.
16473 * malloc/Makefile: Likewise.
16474
a4172181
AS
164752011-06-27 Andreas Schwab <schwab@redhat.com>
16476
16477 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16478 two-byte characters.
16479
78a7eee7
RM
164802011-06-27 Roland McGrath <roland@hack.frob.com>
16481
62bede13
RM
16482 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16483 AC_CACHE_CHECK invocation.
16484 * configure: Regenerated.
16485
78a7eee7
RM
16486 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16487
5ce33a62
UD
164882011-06-27 Ulrich Drepper <drepper@gmail.com>
16489
034807a9
UD
16490 [BZ #12350]
16491 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16492 bit from old_res_options.
16493
4902da17
UD
16494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16495
5ce33a62
UD
16496 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16497 value type for setfct.
16498
c2344f56
L
164992011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16500
16501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16502 __gettimeofday instead of gettimeofday.
16503
68468076
UD
165042011-06-26 Ulrich Drepper <drepper@gmail.com>
16505
16506 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16507
acb0d739
L
165082011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16509
16510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16511
16512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16513 info.
16514
8912479f
L
165152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16516
16517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16518 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16519 strcpy-sse2-unaligned strncpy-sse2-unaligned
16520 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16521 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16522 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16523 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16524 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16525 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16527 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16528 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16529 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16530 (STRCPY): Support SSE2 and SSSE3 versions.
16531
d5495a11
UD
165322011-06-24 Ulrich Drepper <drepper@gmail.com>
16533
16534 [BZ #12874]
16535 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16536 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16537 kernels which artificially limit size of requests.
16538
0b1cbaae
L
165392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16540
16541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16542 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16543 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16544 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16545 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16546 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16547 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16548 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16551 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16552 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16553 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16554 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16555 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16557 Enable unaligned load optimization for Intel Core i3, i5 and i7
16558 processors.
16559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16560 Define.
16561 (index_Fast_Unaligned_Load): Define.
16562 (HAS_FAST_UNALIGNED_LOAD): Define.
16563
07f494a0
MP
165642011-06-23 Marek Polacek <mpolacek@redhat.com>
16565
16566 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16567
fa3fc0fe
UD
165682011-06-22 Ulrich Drepper <drepper@gmail.com>
16569
16570 [BZ #12907]
16571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16572 until it is clear that the information is realy needed.
16573 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16574
e12df166
AS
165752011-06-22 Andreas Schwab <schwab@redhat.com>
16576
16577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16578
852eb34d
UD
165792011-06-22 Ulrich Drepper <drepper@gmail.com>
16580
84e2a551
UD
16581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16582 /sys/devices/system/cpu/online if it is usable.
16583
852eb34d
UD
16584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16585 reading the information from the /proc filesystem to once a second.
16586
6e502e19
UD
165872011-06-21 Andreas Jaeger <aj@suse.de>
16588
16589 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16590 NULL after inclusion of kernel headers.
16591
75d39ff2
UD
165922011-06-21 Ulrich Drepper <drepper@gmail.com>
16593
51f9aa6a
UD
16594 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16595 calls to internal_setent.
16596
c0244a9d
UD
16597 [BZ #12885]
16598 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16599 addresses using gethostbyname4_r ignore IPv4 addresses.
16600
c5e3c2ae
UD
16601 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16602 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16603
75d39ff2
UD
16604 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16605
42675c6f
DM
166062011-06-20 David S. Miller <davem@davemloft.net>
16607
16608 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16609 inclusions.
16610 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16611
16612 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16613 (elf_irel): Use it.
16614 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16615 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16616 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16617 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16618 * sysdeps/x86_64/dl-irel.h: Likewise.
16619
16620 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16621 * elf/dl-sym.c: Likewise.
16622
57912a71
UD
166232011-06-15 Ulrich Drepper <drepper@gmail.com>
16624
16625 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16626 need to dereference resplen2.
16627
ee22793d
AS
166282011-06-14 Andreas Schwab <schwab@redhat.com>
16629
16630 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16631
a9e836b0
UD
166322011-06-15 Ulrich Drepper <drepper@gmail.com>
16633
77fb9117
UD
16634 * Makeconfig: Define vardbdir and inst_vardbdir.
16635 * nss/Makefile: Add rules to install db-Makefile.
16636
40c1b22c
UD
16637 * nss/nss_db/db-XXX.c: Cleanup.
16638
9f2da732
UD
16639 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16640 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16641 GLIBC_PRIVATE.
16642 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16643 * nss/makedb.c: Implement -g option to specify that value strings
16644 are generated and should not be added to table iterated over for
16645 get*ent calls.
16646 * nss/nss_db/db-initgroups.c: New file.
16647
82e9a1f7
UD
16648 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16649 interface.
16650
c41af17e
UD
16651 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16652 (internal_getgrouplist): Adjust to name change.
16653 Update use_initgroups_entry if this is not the first call.
16654 * nss/databases.def: Add initgroups entry.
16655
a9e836b0
UD
16656 * nss/makedb.c (compute_tables): Check result of multiple hash table
16657 sizes to minimize maximum chain length.
16658
2666d441
UD
166592011-06-14 Ulrich Drepper <drepper@gmail.com>
16660
16661 * Versions.def: Add entry for libnss_db.
16662 * shlib-versions: Likewise.
16663 * nss/Makefile: Add rules to build libnss_db.
16664 * nss/Versions: Add libnss_db information. Organize libnss_files
16665 entries better.
16666 * nss/db-Makefile: Add gshadow support. Change rules for the new
16667 makedb progra. Some minor improvements to generate smaller files.
16668 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16669 here from...
16670 * nss/makedb.c: ...here.
16671 Improve database format to be smaller and require less memory at
16672 runtime.
16673 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16674 db anymore.
16675 * nss/nss_db/db-netgrp.c: Likewise.
16676 * nss/nss_db/db-open.c: Likewise.
16677 * nss/nss_files/flies-XXX.x: Adjust comments.
16678 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16679 * nss/nss_files/files-grp.c: Likewise.
16680 * nss/nss_files/files-hosts.c: Likewise.
16681 * nss/nss_files/files-network.c: Likewise.
16682 * nss/nss_files/files-proto.c: Likewise.
16683 * nss/nss_files/files-pwd.c: Likewise.
16684 * nss/nss_files/files-rpc.c: Likewise.
16685 * nss/nss_files/files-service.c: Likewise.
16686 * nss/nss_files/files-sgrp.c: Likewise.
16687 * nss/nss_files/files-spwd.c: Likewise.
16688 * nss/nss_db/db-alias.c: Removed.
16689 * nss/nss_db/dummy-db.h: Removed.
16690
9ee76b5a
UD
166912011-06-02 Ulrich Drepper <drepper@gmail.com>
16692
16693 * nss/makedb.c: Rewritten to not use database library.
16694 * nss/Makefile: Update to build new makedb program.
16695
c71ca1f8
AJ
166962011-06-14 Andreas Jaeger <aj@suse.de>
16697
16698 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16699 memset declaration.
16700
3154bfb8
UD
167012011-06-10 Andreas Schwab <schwab@redhat.com>
16702
16703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16704 tmpbuf.
16705
b350afab
RM
167062011-06-10 Roland McGrath <roland@hack.frob.com>
16707
decd4e50
RM
16708 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16709 * elf/Makefile ($(objpfx)ld.so): Likewise.
16710
5615eaf2
RM
16711 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16712 Don't list ld.so twice in dependencies.
16713
16714 * posix/bug-regex31.c: Include <stdlib.h>.
16715
16716 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16717
16718 * nis/nss_compat/compat-spwd.c
16719 (getspent_next_nss_netgr): Remove unused variable.
16720 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16721
16722 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16723 nonmembers" output to use the right array.
16724
16725 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16726
16727 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16728
16729 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16730 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16731 * catgets/gencat.c (read_input_file): Likewise.
16732 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16733
16734 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16735 variable definition inside #if's controlling its use.
16736
16737 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16738
16739 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16740
16741 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16742
16743 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16744 unreachable code.
16745
16746 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16747
b68e08db
RM
16748 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16749 * configure: Regenerated.
16750
b350afab
RM
16751 * Makerules: Revert last change.
16752 * elf/Makefile: Likewise.
16753
28368601
RM
167542011-06-09 Roland McGrath <roland@hack.frob.com>
16755
16756 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16757 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16758 (reloc-link): Likewise.
16759
11988f8f
UD
167602011-06-09 Ulrich Drepper <drepper@gmail.com>
16761
16762 * elf/Makefile: Add rules to build pldd.
16763 * elf/pldd.c: New file.
16764 * elf/pldd-xx.c: New file.
16765
e80fab37
UD
167662011-06-07 Ulrich Drepper <drepper@gmail.com>
16767
16768 * version.h: Update for 2.15 development version.
16769
9b849836
DM
167702011-06-07 David S. Miller <davem@davemloft.net>
16771
16772 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16773 ifuncs.
16774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16775 elf_machine_lazy_rel): Likewise.
16776 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16777 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16778 elf_machine_lazy_rel): Likewise.
16779 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16780 dl_hwcap via passed in argument.
16781 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16782 Likewise.
16783
5a31b283
AK
167842011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16785
16786 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16787
069e52f8
RM
167882011-06-06 Roland McGrath <roland@hack.frob.com>
16789
16790 [BZ #12849]
16791 * manual/fdl-1.1.texi: New file, verbatim from:
16792 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16793 * manual/lgpl-2.1.texi: New file, verbatim from:
16794 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16795 * manual/Makefile (licenses): New variable, list those new file names.
16796 (texis): Use it.
16797 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16798
16799 * manual/fdl.texi: File removed.
16800 * manual/lesser.texi: File removed.
16801 * manual/libc.texinfo (Copying, Documentation License):
16802 Use new @include file names, put @appendix directive before @include.
16803
f16846a5
JJ
168042011-06-04 Jakub Jelinek <jakub@redhat.com>
16805
16806 [BZ #12841]
16807 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16808 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16809 (mq_open): Add __NTH.
16810
3d29045b
L
168112011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16812
16813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16814 Assume Intel Core i3/i5/i7 processor if AVX is available.
16815
8c297311
UD
168162011-05-31 Ulrich Drepper <drepper@gmail.com>
16817
16818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16819 typo.
16820
c8fc0c91
UD
168212011-05-31 Andreas Schwab <schwab@redhat.com>
16822
16823 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16824 memory. Use alloca_account. Fix memory leak when retrying.
16825
5b27a807
UD
168262011-05-31 Ulrich Drepper <drepper@gmail.com>
16827
356f8bc6
UD
16828 * version.h (RELEASE): Bump for 2.14 release.
16829 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16830
5b27a807
UD
16831 * config.make.in (RANLIB): Remove entry.
16832
01f16ab0
UD
168332011-05-30 Ulrich Drepper <drepper@gmail.com>
16834
41fce8bd
UD
16835 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16836 (libc.pot): Work around missing support for .ksh extension in xgettext.
16837
4769ae77
UD
16838 [BZ #12684]
16839 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16840 if both request failed.
16841 (send_dg): In case of server errors clear resplen or *resplen2.
16842
6b1e7d19
UD
16843 [BZ #12454]
16844 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16845 when there are multiple maps.
16846 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16847 (_dl_fini): Remove test here.
16848
01f16ab0
UD
16849 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16850
b1ebd700
UD
168512011-05-29 Ulrich Drepper <drepper@gmail.com>
16852
7ae22829
UD
16853 [BZ #12350]
16854 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16855 bit from old_res_options.
16856 (gaih_inet): Likewise.
16857
553149f6 16858 [BZ #11099]
18a84741 16859 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16860 as signed.
16861
652ffab1
UD
16862 * resolv/res_init.c (res_setoptions): Make the code more compact.
16863
16985fd0
UD
16864 [BZ #11558]
16865 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16866 set RES_USEVC.
16867
0464f746
UD
16868 [BZ #11634]
16869 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16870
7d17596c
UD
16871 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16872
cf6bbbd7
UD
16873 [BZ #11781]
16874 * malloc/malloc.h: Declare malloc hook variables as volatile.
16875
13f1ab36
UD
16876 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16877 in last patch.
16878
b1ebd700
UD
16879 [BZ #11799]
16880 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16881 raise in the comment.
80e2212d
UD
16882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16883 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16884 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16885
ce67228d
UD
168862011-05-28 Ulrich Drepper <drepper@gmail.com>
16887
8887a920
UD
16888 [BZ #12811]
16889 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16890 grow the buffers more if it already has to be sufficient.
16891 (build_wcs_upper_buffer): Likewise.
16892 * posix/regexec.c (check_matching): Likewise.
16893 (clean_state_log_if_needed): Likewise.
16894 (extend_buffers): Don't enlarge buffers beyond size of the input
16895 buffer.
16896 Patches mostly by Emil Wojak <emil@wojak.eu>.
16897 * posix/bug-regex32.c: New file.
16898 * posix/Makefile (tests): Add bug-regex32.
16899
4f031072
UD
16900 * locale/findlocale.c (_nl_find_locale): Return right away if
16901 _nl_explode_name failed.
16902 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16903
d0478f0c
UD
16904 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16905
de81b246
UD
16906 * debug/xtrace.sh: Unify messages.
16907 * malloc/memusage.sh: Likewise.
16908
c738465a
UD
16909 [BZ #12813]
16910 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16911 time symbol from vDSO. Substitute with vsyscall if not available.
16912 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16913 __vdso_time.
16914
f1f929d7
UD
16915 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16916 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16917 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16918 Add sendmmsg and internal_sendmmsg.
16919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16920 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16921 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16922
ce67228d
UD
16923 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16924 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16925 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16926
e57420c6
UD
169272011-05-27 Ulrich Drepper <drepper@gmail.com>
16928
a8509ca5
UD
16929 [BZ #12813]
16930 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16931 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16932 available.
16933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16934 __vdso_getcpu.
16935
e57420c6
UD
16936 [BZ #12814]
16937 * iconvdata/Makefile (tests): Add bug-iconv9.
16938 * iconvdata/bug-iconv9.c: New file.
16939
4d07db15
AS
169402011-05-27 Andreas Schwab <schwab@redhat.com>
16941
16942 [BZ #12814]
16943 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16944
ea486f69
JJ
169452011-05-25 Jakub Jelinek <jakub@redhat.com>
16946
16947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16948 (struct user_regs_struct): Change intcs field back to cs.
16949
6f038433
UD
169502011-05-25 Ulrich Drepper <drepper@gmail.com>
16951
16952 * po/ja.po: Update from translation team.
16953
67f86a25
UD
169542011-05-23 Ulrich Drepper <drepper@gmail.com>
16955
16956 [BZ #12795]
16957 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16958 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16959
def7fbd6
AS
169602011-05-20 Andreas Schwab <schwab@redhat.com>
16961
16962 * stdlib/longlong.h: Update from GCC.
16963
f50ef8f1
AS
169642011-05-23 Andreas Schwab <schwab@redhat.com>
16965
16966 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16967 parameter name.
16968 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16969 Add parameter name.
16970 (__sysconf): Pass it down.
16971
de7ce8f1
UD
169722011-05-22 Ulrich Drepper <drepper@gmail.com>
16973
f2962a71
UD
16974 [BZ #12671]
16975 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16976 some situations.
16977 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16978 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16979 add in in __libc_use_alloca calls. Adjust callers.
16980 (glob): Use malloc in some situations.
16981
de7ce8f1
UD
16982 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16983 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16984 pltexit.
16985
aec84f53
UD
169862011-05-21 Ulrich Drepper <drepper@gmail.com>
16987
05bb4a68
UD
16988 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16989 and CLOCK_BOOTTIME_ALARM.
16990
7ea72f99
UD
16991 [BZ #12782]
16992 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16993 is returned.
16994
7e4afad5
UD
16995 * string/_strerror.c (__strerror_r): Print negative errors as signed
16996 numbers.
16997
8e211fec
UD
16998 [BZ #12777]
16999 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17000 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17001 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17002
f7d82dc9
UD
17003 * configure.in: Fix typo in redirection and correct removal of test
17004 files in two cases.
17005
cc9e536d
UD
17006 [BZ #12788]
17007 * locale/setlocale.c (new_composite_name): Fix test to check for
17008 identical name of all categories.
17009
aec84f53
UD
17010 [BZ #12792]
17011 * libio/filedoalloc.c (local_isatty): New function.
17012 (_IO_file_doallocate): Use local_isatty.
17013 * stdio-common/perror.c (perror): In case a new stream is used
17014 forward the stream error.
17015 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17016 error flag.
17017
78e64fdc
RT
170182011-05-20 Ulrich Drepper <drepper@gmail.com>
17019
34a9094f
UD
17020 [BZ #11869]
17021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17022 alloca.
17023 * include/alloca.h (extend_alloca_account): Define.
17024
78e64fdc
RT
17025 [BZ #11857]
17026 * posix/regex.h: Fix comments with documentation of user-accessible
17027 fields after compilation and describe correct free'ing of pattern
17028 after re_compile_pattern.
17029 Patch by Reuben Thomas <rrt@sc3d.org>.
17030
457bddfc
RA
170312011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17032
17033 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17034 and -mno-altivec to prevent the compiler from using Altivec and/or
17035 VSX instructions when the corresponding registers are not available.
17036
a4527b51
AS
170372011-05-19 Andreas Schwab <schwab@redhat.com>
17038
17039 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17040
ed690b2f
UD
170412011-05-19 Ulrich Drepper <drepper@gmail.com>
17042
17043 * libio/freopen.c (freopen): Use __dup2, not dup2.
17044 * libio/freopen64.c (freopen64): Likewise.
17045
8db73634
L
170462011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17047
17048 [BZ #12775]
17049 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17050 * math/Makefile (tests): Add test-powl.
17051 (CFLAGS-test-powl.c): Define.
17052 * math/test-powl.c: New file.
17053
0a197a9d
L
170542011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17055
17056 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17057
ee30c380
UD
170582011-05-17 Ulrich Drepper <drepper@gmail.com>
17059
17060 [BZ #11837]
17061 * iconvdata/gb18030.c: Update to GB18020-2005.
17062
6ce75379
UD
170632011-05-16 Ulrich Drepper <drepper@gmail.com>
17064
a4b89fd8
AR
17065 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17066 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17067 Patch by Aharon Robbins <arnold@skeeve.com>.
17068
ea389b12
UD
17069 [BZ #11892]
17070 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17071 on the stack.
17072
68a3f91f
UD
17073 [BZ #11895]
17074 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17075 through underflows.
17076
15cc7dd1
UD
17077 [BZ #12766]
17078 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17079 point to strings before performing equality test for error_one_per_line
17080 mode.
17081
f3799213
UD
17082 [BZ #11697]
17083 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17084
d79a9c94
UD
17085 [BZ #11820]
17086 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17087 (struct user_fpregs_struct): Avoid __uint*_t types.
17088
56e5eb46
UD
17089 [BZ #6420]
17090 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17091 symbol info. Use it instead of calling _dl_addr locally.
17092 (lock_and_info): New function.
17093 (tr_freehook): Call lock_and_info and pass symbol info as additional
17094 parameter to tr_where.
17095 (tr_mallochook): Likewise.
17096 (tr_reallochook): Likewise.
17097 (tr_memalignhook): Likewise.
17098
6ce75379
UD
17099 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17100 used and couldn't be at all thread-safe.
17101
f8a3b5bf
UD
171022011-05-15 Ulrich Drepper <drepper@gmail.com>
17103
94b7cc37
UD
17104 * libio/freopen.c (freopen): Don't close old file descriptor
17105 before the new one is opened. Instead dup the new file descriptor
17106 to the old one after the new stream is created.
17107 * libio/freopen64.c (freopen64): Likewise.
17108 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17109 * libio/fileops.c (_IO_new_file_close_it): Handle new
17110 _IO_FLAGS2_NOCLOSE flag.
17111 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17112 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17113 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17114 _IO_FLAGS2_NOCLOSE flag.
17115 * include/unistd.h: Add hidden_proto for dup3.
17116 Define __have_dup3.
17117 * io/dup3.c: Define hidden symbol.
17118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17119
bd25564e
UD
17120 [BZ #7101]
17121 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17122 when an incomplete long option is used.
17123 * posix/tst-getopt_long1.c: New file.
17124 * posix/Makefile (tests): Add tst-getopt_long1.
17125
c84cfef4
UD
17126 [BZ #10138]
17127 * scripts/config.guess: Update from autoconf-2.68.
17128 * scripts/config.sub: Likewise.
17129
3b85df27
UD
17130 [BZ #10157]
17131 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17132 tests into ...
17133 (has_cpuclock): ...this. New function.
17134 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17135 macro here based on has_cpuclock code.
17136
15a856b1
UD
17137 [BZ #10149]
17138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17139 First byte (not low byte) is now always NUL.
17140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17141
05f399e6
UD
17142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17143 Use non-cancelable interfaces.
17144
10a52685 17145 [BZ #9809]
94ecc67d
UD
17146 * locale/iso-639.def: Add entry for Sorani.
17147
f8a3b5bf
UD
17148 [BZ #11901]
17149 * include/stdlib.h: Move include protection to the right place.
17150 Define abort_msg_s. Declare __abort_msg with it.
17151 * stdlib/abort.c (__abort_msg): Adjust type.
17152 * assert/assert.c (__assert_fail_base): New function. Majority
17153 of code from __assert_fail. Allocate memory for __abort_msg with
17154 mmap.
17155 (__assert_fail): Now call __assert_fail_base.
17156 * assert/assert-perr.c: Remove bulk of implementation. Use
17157 __assert_fail_base.
17158 * include/assert.hL Declare __assert_fail_base.
17159 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17160 mmap.
17161 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17162
1af4e298
UD
171632011-05-14 Ulrich Drepper <drepper@gmail.com>
17164
f8a3b5bf 17165 [BZ #11952]
d26dfc60
MG
17166 [BZ #12453]
17167 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17168 until all modules are registered in the DTV.
17169 * elf/Makefile: Add rules to build and run tst-tls19.
17170 * elf/tst-tls19.c: New file.
17171 * elf/tst-tls19mod1.c: New file.
17172 * elf/tst-tls19mod2.c: New file.
17173 * elf/tst-tls19mod3.c: New file.
17174 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17175
2fc54d6f
UD
17176 [BZ #12083]
17177 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17178 correctly.
17179
98d76b46
UD
17180 [BZ #12601]
17181 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17182 two-byte sequence errors.
17183 * iconvdata/Makefile (tests): Add bug-iconv8.
17184 * iconvdata/bug-iconv8.c: New file.
17185
da3c19ef
UD
17186 [BZ #12626]
17187 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17188 buf2 definition.
17189
ca408c15
UD
17190 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17191
d6f67f7d
UD
17192 [BZ #12432]
17193 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17194 (dummy_getcfa): New function.
17195 (init): Get _Unwind_GetCFA address, use dummy if not found.
17196 (backtrace_helper): In recursion check, also check whether CFA changes.
17197 (__backtrace): Completely initialize arg.
17198
1af4e298 17199 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17200 storing incomplete byte sequence in state object. Avoid testing for
17201 guaranteed too small input if we know there is enough data available.
1af4e298 17202
da62f81b
AS
172032011-05-11 Andreas Schwab <schwab@redhat.com>
17204
17205 * Makeconfig (+link-pie): Indent.
17206 * Rules (binaries-pie): Define if $(have-fpie) and
17207 $(build-shared).
17208 (binaries-shared): Also filter out $(binaries-pie).
17209 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17210 * nscd/Makefile (others-pie): Add nscd.
17211 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17212 ($(objpfx)nscd): Remove command override.
17213 * login/Makefile (others-pie): Add pt_chown.
17214 ($(objpfx)pt_chown): Remove command override.
17215 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17216 remove command overrides.
17217
fcabc0f8
UD
172182011-05-13 Ulrich Drepper <drepper@gmail.com>
17219
20030ae6
UD
17220 * libio/tst_putwc.c: Fix error messages.
17221
fcabc0f8
UD
17222 [BZ #12724]
17223 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17224 currently writing and seek to current position when not.
17225 * libio/Makefile (tests): Add bug-fclose1.
17226 * libio/bug-fclose1.c: New file.
17227
320a5dc0
PB
172282011-05-12 Ulrich Drepper <drepper@gmail.com>
17229
17230 [BZ #12511]
17231 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17232 don't set DF_1_NODELETE here.
17233 (do_lookup_x): When entering new entry test for copy relocation
17234 and if necessary set DF_1_NODELETE flag.
17235 * elf/tst-unique4.cc: New file.
17236 * elf/tst-unique4.h: New file.
17237 * elf/tst-unique4lib.cc: New file.
17238 * elf/Makefile: Add rules to build and run tst-unique4.
17239 Patch by Piotr Bury <pbury@goahead.com>.
17240
22836f52
UD
172412011-05-11 Ulrich Drepper <drepper@gmail.com>
17242
f574184a
UD
17243 [BZ #12052]
17244 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17245
e1fb097f
UD
17246 [BZ #12625]
17247 * misc/mntent_r.c (addmntent): Flush the stream after the output
17248
22836f52
UD
17249 [BZ #12393]
17250 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17251 (is_trusted_path_normalize): Skip initial colon. Append slash
17252 to empty buffer. Duplicate is_trusted_path code but allow
17253 constructed patch to be prefix.
17254 (is_dst): Allow $ORIGIN followed by /.
17255 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17256 Correct testing of result of is_trusted_path_normalize
17257 (decompose_rpath): Fix warning.
17258
7b3b0b2a
UD
172592011-05-10 Ulrich Drepper <drepper@gmail.com>
17260
17261 [BZ #11257]
17262 * grp/initgroups.c (internal_getgrouplist): When we found the service
17263 list through the initgroups entry in nsswitch.conf do not always
17264 continue on a successful lookup. Don't always use the
eac80ce2 17265 __nss_group_database value if it is set.
7b3b0b2a
UD
17266 * nss/nsswitch.conf (initgroups): Change action for successful db
17267 lookup to continue for compatibility.
17268
2a81eaa5
UD
172692011-05-09 Ulrich Drepper <drepper@gmail.com>
17270
be97a69e
UD
17271 [BZ #11532]
17272 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17273 and CP774 modules.
17274 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17275 and CP774 modules.
17276 * iconvdata/tst-tables.sh: Likewise.
17277 * iconvdata/cp770.c: New file.
17278 * iconvdata/cp771.c: New file.
17279 * iconvdata/cp772.c: New file.
17280 * iconvdata/cp773.c: New file.
17281 * iconvdata/cp774.c: New file.
17282 * iconvdata/testdata/CP770: New file.
17283 * iconvdata/testdata/CP770..UTF8: New file.
17284 * iconvdata/testdata/CP771: New file.
17285 * iconvdata/testdata/CP771..UTF8: New file.
17286 * iconvdata/testdata/CP772: New file.
17287 * iconvdata/testdata/CP772..UTF8: New file.
17288 * iconvdata/testdata/CP773: New file.
17289 * iconvdata/testdata/CP773..UTF8: New file.
17290 * iconvdata/testdata/CP774: New file.
17291 * iconvdata/testdata/CP774..UTF8: New file.
17292
17293 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17294 END CHARMAP line.
17295 * iconvdata/gen-8bit-gap.sh: Likewise.
17296 * iconvdata/gen-8bit.sh: Likewise.
17297
c1e9e399
UD
17298 * locale/iso-639.def: Add ary entry.
17299
24c55fb3 17300 [BZ #11258]
96b4b1b0
UD
17301 * locale/C-translit.h.in: Add U20A1 transliteration.
17302
bdc2f971
KB
17303 [BZ #12178]
17304 * locale/iso-639.def: Add wae entry.
17305 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17306
2952b117
UD
17307 [BZ #12545]
17308 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17309 for n.
17310
2a81eaa5
UD
17311 [BZ #12711]
17312 * locale/C-translit.h.in: Add entry for U20B9.
17313 Patch by pravin.d.s@gmail.com.
17314
28377d1b
UD
173152011-05-08 Ulrich Drepper <drepper@gmail.com>
17316
7fb90fb8
UD
17317 [BZ #12713]
17318 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17319 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17320 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17321 in rtld. Use *stat64.
7fb90fb8 17322 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17323 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17324 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17325 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17326 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17327 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17328 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17329 __fstatat64 macros.
7fb90fb8
UD
17330 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17331 * dirent/rewinddir.c: Add libc_hidden_def.
17332 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17333 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17334
28377d1b
UD
17335 * include/dirent.h (__alloc_dir): Add flags parameter.
17336 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17337 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17338 __alloc_dir.
17339 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17340 from fdopendir if O_CLOEXEC is already set.
17341
66bdbaa4
AM
173422011-03-15 Alan Modra <amodra@gmail.com>
17343
17344 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17345 l_tls_firstbyte_offset non-zero. Save padding offset in
17346 l_tls_firstbyte_offset for later use.
17347 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17348 freeing static tls block.
17349
95721191
JN
173502011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17351
17352 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17353 where #ifdef was intended. The intent is to prevent ARG_MAX from
17354 being defined by the kernel headers.
17355
f87dfb1f
UD
173562011-05-07 Ulrich Drepper <drepper@gmail.com>
17357
17358 [BZ #12734]
17359 * resolv/resolv.h: Define RES_NOTLDQUERY.
17360 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17361 no-tld-query and set RES_NOTLDQUERY.
17362 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17363 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17364 modern BIND to search name as TLD unless forbidden.
17365
47c3cd7a
UD
173662011-05-07 Petr Baudis <pasky@suse.cz>
17367 Ulrich Drepper <drepper@gmail.com>
17368
17369 [BZ #12393]
17370 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17371 (is_trusted_path): ...to here.
c1e9ea35 17372 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17373 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17374 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17375
8a35c912
PP
173762011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17377
17378 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17379 __BEGIN/__END_DECLS.
17380
acd41f47
UD
173812011-05-06 Ulrich Drepper <drepper@gmail.com>
17382
17383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17384 NSS_STATUS_NOTFOUND if no record was found.
17385
597df647
AS
173862011-05-05 Andreas Schwab <schwab@redhat.com>
17387
17388 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17389 (headers-not-in-tirpc): Remove rpc/netdb.h
17390 * resolv/netdb.h: Revert last change.
17391
b9af1301
PP
173922011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17393
17394 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17395 circular dependency between libgcc.a and libc.a.
17396
4e34d5f5
AS
173972011-05-05 Andreas Schwab <schwab@redhat.com>
17398
17399 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17400 * nis/Makefile: Don't install rpcsvc/*.
17401 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17402 instead of <rpc/types.h>.
17403 (MAXHOSTNAMELEN): Define.
17404
00ee369c
AS
174052011-05-03 Andreas Schwab <schwab@redhat.com>
17406
17407 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17408
0b592a30
MB
174092011-04-28 Maciej Babinski <mbabinski@google.com>
17410
17411 [BZ #12714]
17412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17413 gethostbyname4_r when IPv6 results are possible.
17414
6e04cbbe
UD
174152011-05-02 Ulrich Drepper <drepper@gmail.com>
17416
17417 [BZ #12723]
17418 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17419 _PC_PIPE_BUF handling.
17420
e4ecafe0
BH
174212011-04-30 Bruno Haible <bruno@clisp.org>
17422
17423 [BZ #12717]
17424 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17425 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17426 to 'int'.
17427 * inet/getnameinfo.c (getnameinfo): Likewise.
17428
125ee683
UD
174292011-04-29 Ulrich Drepper <drepper@gmail.com>
17430
17431 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17432 to groups setting in database lookup.
17433 * nss/nsswitch.conf: Add initgroups entry.
17434
b722481a
EB
174352011-04-22 Ulrich Drepper <drepper@gmail.com>
17436
17437 [BZ #12685]
17438 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17439 mode string.
17440 Patch by Eric Blake <eblake@redhat.com>.
17441
4df46dbd
L
174422011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17443
17444 * sunrpc/Makefile (need-export-routines): Add svc_run.
17445 (routines): Remove svc_run.
17446 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17447 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17448 * sunrpc/svc_run.c (svc_run): Likewise.
17449 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17450
e84142d2
UD
174512011-04-21 Ulrich Drepper <drepper@gmail.com>
17452
17453 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17454 problem in reallocation in last patch.
17455
877175d8
UD
174562011-04-20 Ulrich Drepper <drepper@gmail.com>
17457
17458 * sunrpc/Makefile: Move inclusion of Rules.
17459
ab8eed78
UD
174602011-04-19 Ulrich Drepper <drepper@gmail.com>
17461
17462 * nss/nss_files/files-initgroups.c: New file.
17463 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17464 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17465 _nss_files_initgroups_dyn.
17466
e3d8f584
RS
174672011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17468
17469 * elf/elf.h (R_ARM_IRELATIVE): Define.
17470
af190f45
UD
174712011-04-19 Ulrich Drepper <drepper@gmail.com>
17472
17473 * po/ru.po: Update from translation team.
17474
53cf59ef
UD
174752011-04-17 Ulrich Drepper <drepper@gmail.com>
17476
17477 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17478 dependencies.
17479
4c559bcd
MF
174802011-02-06 Mike Frysinger <vapier@gentoo.org>
17481
17482 [BZ #12653]
17483 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17484 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17488
4420675c
AS
174892011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17490
17491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17492 differing bytes.
17493 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17494 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17496
75ea32ab
UD
174972011-04-17 Ulrich Drepper <drepper@gmail.com>
17498
17499 [BZ #12420]
17500 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17501 storing it.
17502 * stdlib/bug-getcontext.c: New file.
17503 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17504
27390476
AK
175052011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17506
17507 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17508 instructions into .machine "z9-109".
17509 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17510 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17511
10442705
AK
175122011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17513
17514 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17515 between environment variables and auxiliary vector.
17516
7b57bfe5
UD
175172011-04-16 Ulrich Drepper <drepper@gmail.com>
17518
17519 * Makefile: Add rules to build linkobj/libc.so.
17520 * include/libc-symbols.h: Define libc_hidden_nolink.
17521 * include/rpc/auth.h: Mark functions which are to be hidden.
17522 * include/rpc/auth_des.h: Likewise.
17523 * include/rpc/auth_unix.h: Likewise.
17524 * include/rpc/clnt.h: Likewise.
17525 * include/rpc/des_crypt.h: Likewise.
17526 * include/rpc/key_prot.h: Likewise.
17527 * include/rpc/pmap_clnt.h: Likewise.
17528 * include/rpc/pmap_prot.h: Likewise.
17529 * include/rpc/pmap_rmt.h: Likewise.
17530 * include/rpc/rpc_msg.h: Likewise.
17531 * include/rpc/svc.h: Likewise.
17532 * include/rpc/svc_auth.h: Likewise.
17533 * include/rpc/xdr.h: Likewise.
17534 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17535 * nss/Makefile: Likewise.
17536 * sunrpc/Makefile: Don't install headers. Build library with normal
17537 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17538 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17539 for the compat linking library. Remove use of INTDEF/INTUSE.
17540 * sunrpc/auth_none.c: Likewise.
17541 * sunrpc/auth_unix.c: Likewise.
17542 * sunrpc/authdes_prot.c: Likewise.
17543 * sunrpc/authuxprot.c: Likewise.
17544 * sunrpc/clnt_gen.c: Likewise.
17545 * sunrpc/clnt_perr.c: Likewise.
17546 * sunrpc/clnt_raw.c: Likewise.
17547 * sunrpc/clnt_simp.c: Likewise.
17548 * sunrpc/clnt_tcp.c: Likewise.
17549 * sunrpc/clnt_udp.c: Likewise.
17550 * sunrpc/clnt_unix.c: Likewise.
17551 * sunrpc/des_crypt.c: Likewise.
17552 * sunrpc/des_soft.c: Likewise.
17553 * sunrpc/get_myaddr.c: Likewise.
17554 * sunrpc/key_call.c: Likewise.
17555 * sunrpc/key_prot.c: Likewise.
17556 * sunrpc/netname.c: Likewise.
17557 * sunrpc/pm_getmaps.c: Likewise.
17558 * sunrpc/pm_getport.c: Likewise.
17559 * sunrpc/pmap_clnt.c: Likewise.
17560 * sunrpc/pmap_prot.c: Likewise.
17561 * sunrpc/pmap_prot2.c: Likewise.
17562 * sunrpc/pmap_rmt.c: Likewise.
17563 * sunrpc/publickey.c: Likewise.
17564 * sunrpc/rpc_cmsg.c: Likewise.
17565 * sunrpc/rpc_common.c: Likewise.
17566 * sunrpc/rpc_dtable.c: Likewise.
17567 * sunrpc/rpc_prot.c: Likewise.
17568 * sunrpc/rpc_thread.c: Likewise.
17569 * sunrpc/rtime.c: Likewise.
17570 * sunrpc/svc.c: Likewise.
17571 * sunrpc/svc_auth.c: Likewise.
17572 * sunrpc/svc_authux.c: Likewise.
17573 * sunrpc/svc_raw.c: Likewise.
17574 * sunrpc/svc_run.c: Likewise.
17575 * sunrpc/svc_simple.c: Likewise.
17576 * sunrpc/svc_tcp.c: Likewise.
17577 * sunrpc/svc_udp.c: Likewise.
17578 * sunrpc/svc_unix.c: Likewise.
17579 * sunrpc/svcauth_des.c: Likewise.
17580 * sunrpc/xcrypt.c: Likewise.
17581 * sunrpc/xdr.c: Likewise.
17582 * sunrpc/xdr_array.c: Likewise.
17583 * sunrpc/xdr_float.c: Likewise.
17584 * sunrpc/xdr_intXX_t.c: Likewise.
17585 * sunrpc/xdr_mem.c: Likewise.
17586 * sunrpc/xdr_rec.c: Likewise.
17587 * sunrpc/xdr_ref.c: Likewise.
17588 * sunrpc/xdr_sizeof.c: Likewise.
17589 * sunrpc/xdr_stdio.c: Likewise.
17590
e6c61494
UD
175912011-04-10 Ulrich Drepper <drepper@gmail.com>
17592
17593 [BZ #12650]
17594 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17595 * sysdeps/ia64/dl-tls.h: Likewise.
17596 * sysdeps/powerpc/dl-tls.h: Likewise.
17597 * sysdeps/s390/dl-tls.h: Likewise.
17598 * sysdeps/sh/dl-tls.h: Likewise.
17599 * sysdeps/sparc/dl-tls.h: Likewise.
17600 * sysdeps/x86_64/dl-tls.h: Likewise.
17601 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17602
34fe483e
AS
176032011-03-14 Andreas Schwab <schwab@redhat.com>
17604
17605 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17606 rpath element also skip the following colon.
17607 (expand_dynamic_string_token): Add is_path parameter and pass
17608 down to DL_DST_REQUIRED and _dl_dst_substitute.
17609 (decompose_rpath): Call expand_dynamic_string_token with
17610 non-zero is_path. Ignore empty rpaths.
17611 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17612 with zero is_path.
17613
f12a32e6
AS
176142011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17615
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17617 Make cancelable.
17618
38a7d692
UD
176192011-04-09 Ulrich Drepper <drepper@gmail.com>
17620
17621 [BZ #12655]
17622 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17623 Patch by Filipe David Manana <fdmanana@apache.org>.
17624
e451d22b
AS
176252011-04-07 Andreas Schwab <schwab@redhat.com>
17626
17627 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17628 Maintain aligned stack.
17629 (CHECK_RSP): Remove unused macro.
17630
dedc7c7b
UD
176312011-04-03 Ulrich Drepper <drepper@gmail.com>
17632
17633 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17635
94521213
UD
176362011-04-02 Ulrich Drepper <drepper@gmail.com>
17637
17638 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17639
8cb700c0 17640 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17641
0354e355
L
176422011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 [BZ #12518]
17645 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17646 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17647 * sysdeps/x86_64/memmove.c: New file.
17648 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17649 (memcpy): Renamed to ...
17650 (__new_memcpy): This.
17651 (memcpy): Provide GLIBC_2_14 memcpy.
17652 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17653 (memcpy): Provide GLIBC_2_2_5 memcpy.
17654
8593482f
UD
176552011-04-01 Ulrich Drepper <drepper@gmail.com>
17656
17657 [BZ #12631]
17658 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17659
81a5726b
AS
176602011-03-30 Andreas Schwab <schwab@redhat.com>
17661
17662 * misc/syncfs.c: New file.
17663 * misc/Makefile (routines): Add syncfs.
17664 * posix/unistd.h: Declare syncfs.
17665 * sysdeps/unix/syscalls.list: Add syncfs.
17666
00e5419f
AS
176672011-04-01 Andreas Schwab <schwab@redhat.com>
17668
17669 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17670 open_by_handle_at.
17671 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17676 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17678
748876bf
UD
176792011-04-01 Ulrich Drepper <drepper@gmail.com>
17680
658e451d
UD
17681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17688
748876bf
UD
17689 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17690 sync_file_range.c with -fexceptions.
17691 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17692 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17693 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17694 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17695 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17696 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17698 sync_file_range as cancellation point
17699 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17700 now a wrapper around __call_sync_file_range with cancellation handling.
17701 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17702 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17703 function name to __call_sync_file_range.
17704 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17705 Add call_sync_file_range.
748876bf 17706
6e63d5e1
AS
177072011-04-01 Andreas Schwab <schwab@redhat.com>
17708
17709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17710 bits/timex.h.
6e63d5e1 17711
46998f74
UD
177122011-04-01 Ulrich Drepper <drepper@gmail.com>
17713
4c1423ed
UD
17714 * iconv/iconv.h: Fix typo in comment.
17715 * io/fcntl.h: Likewise.
17716 * libio/stdio.h: Likewise.
17717 * posix/spawn.h: Likewise.
17718 * posix/unistd.h: Likewise.
17719 * stdlib/stdlib.h: Likewise.
17720 * time/time.h: Likewise.
17721 * wcsmbs/wchar.h: Likewise.
17722
158648c0
UD
17723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17724 open_by_handle): Add.
17725 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17726 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17727 Augment a few comments.
17728 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17733 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17734 open_by_handle.
17735
46998f74
UD
17736 * io/fcntl.h (AT_EMPTY_PATH): Define.
17737
83fe108b
UD
177382011-03-30 Ulrich Drepper <drepper@gmail.com>
17739
17740 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17741 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17742 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17743 to...
17744 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17745 * Versions.def: Add GLIBC_2.14.
17746 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17747 Export.
83fe108b 17748
bb242059
UD
177492011-03-22 Ulrich Drepper <drepper@gmail.com>
17750
17751 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17752 round counter.
17753 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17754
c97a1282
L
177552011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 [BZ #12597]
17758 * string/test-strncmp.c (do_page_test): New function.
17759 (check2): Likewise.
17760 (test_main): Call check2.
17761 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17762
2a115601
UD
177632011-03-20 Ulrich Drepper <drepper@gmail.com>
17764
17765 [BZ #12587]
17766 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17767 Handle cache information in CPU leaf 4.
17768 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17769
8126d904
UD
177702011-03-18 Ulrich Drepper <drepper@gmail.com>
17771
042c49c6 17772 [BZ #12583]
8126d904
UD
17773 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17774 character representation.
17775 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17776
ccfe366e
RA
177772011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17778
17779 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17780 END(__isnan) to END(__isnanf) to match function entry point/label
17781 EALIGN(__isnanf,...).
17782
c6e13027
JJ
177832011-03-10 Jakub Jelinek <jakub@redhat.com>
17784
17785 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17786
33f85a3f
UD
177872011-03-10 Ulrich Drepper <drepper@gmail.com>
17788
028478fa
UD
17789 [BZ #12510]
17790 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17791 copy from the symbol referenced in the relocation to initialize the
17792 used variable.
17793 Patch by Piotr Bury <pbury@goahead.com>.
17794 * elf/Makefile: Add rules to build and tst-unique3.
17795 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17796 * elf/tst-unique3.cc: New file.
17797 * elf/tst-unique3.h: New file.
17798 * elf/tst-unique3lib.cc: New file.
17799 * elf/tst-unique3lib2.cc: New file.
17800
33f85a3f
UD
17801 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17802
03592fc7
MF
178032011-03-10 Mike Frysinger <vapier@gentoo.org>
17804
17805 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17806 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17807 to _start.
03592fc7 17808
6a5ee102
UD
178092011-03-06 Ulrich Drepper <drepper@gmail.com>
17810
17811 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17812 to-be-loaded object along a path to loader is ld.so.
17813
7e4ba49c
HJ
178142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17815 Ulrich Drepper <drepper@gmail.com>
17816
17817 * sysdeps/x86_64/memset.S: After aligning destination, code
17818 branches to different locations depending on the value of
17819 misalignment, when multiarch is enabled. Fix this.
17820
178212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17822
17823 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17824 Set _x86_64_preferred_memory_instruction for AMD processsors.
17825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17826 Set bit_Prefer_SSE_for_memop for AMD processors.
17827
13a804de
UD
178282011-03-04 Ulrich Drepper <drepper@gmail.com>
17829
17830 * libio/fmemopen.c (fmemopen): Optimize a bit.
17831
9d25c392
AS
178322011-03-03 Andreas Schwab <schwab@redhat.com>
17833
17834 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17835
a5543c6a
RM
178362011-03-03 Roland McGrath <roland@redhat.com>
17837
17838 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17839
012d35f7
DM
178402011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17841
7e4ba49c 17842 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17843 __bzero_ultra1 instead of __memset_ultra1.
17844
4bff6e01
AS
178452011-02-23 Andreas Schwab <schwab@redhat.com>
17846 Ulrich Drepper <drepper@gmail.com>
17847
17848 [BZ #12509]
17849 * include/link.h (struct link_map): Add l_orig_initfini.
17850 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17851 returning unsuccessfully.
17852 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17853 close of a file loaded at startup, restore the original l_initfini
17854 list.
17855 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17856 list, store the pointer.
17857 * elf/Makefile ($(objpfx)noload-mem): New rule.
17858 (noload-ENV): Define.
17859 (tests): Add $(objpfx)noload-mem.
17860 * elf/noload.c: Include <memcheck.h>.
17861 (main): Call mtrace. Close all opened handles.
17862
f2092faf
AS
178632011-02-17 Andreas Schwab <schwab@redhat.com>
17864
17865 [BZ #12454]
17866 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17867 dependencies are missing.
17868
6c8a2e88
ST
178692011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17870
f2092faf 17871 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17872 Hurd needs munmap.
17873 * sysdeps/mach/hurd/ifreq.h: New file.
17874
84a42118
PB
178752011-01-27 Petr Baudis <pasky@suse.cz>
17876 Ulrich Drepper <drepper@gmail.com>
17877
071f805e 17878 [BZ 12445]#
84a42118
PB
17879 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17880 to extend_alloca().
17881 * stdio-common/bug23.c: New file.
17882 * stdio-common/Makefile (tests): Add bug23.
17883
e23fe25b
AS
178842010-09-28 Andreas Schwab <schwab@redhat.com>
17885 Ulrich Drepper <drepper@gmail.com>
17886
17887 [BZ #12489]
17888 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17889 before performing relro protection. At old place add assertion
17890 to make sure nothing changed.
17891
d3f02e10
NS
178922011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17893 Glauber de Oliveira Costa <glommer@gmail.com>
17894
17895 * elf/elf.h: Add new ARM TLS relocs.
17896
d55fd7a5
RA
178972011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17898
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17900 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17901 cast from r3.
17902 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17903 'tests' variable.
17904 * sysdeps/wordsize-64/tst-writev.c: New file.
17905
2206397e
RA
179062011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17907
17908 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17909 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17910 insns in _dl_start to prevent a TOC reference before relocs are
17911 resolved.
17912
e9433893
UD
179132011-02-15 Ulrich Drepper <drepper@gmail.com>
17914
17915 [BZ #12469]
17916 * Makeconfig: Remove RANLIB definition.
17917 * Makerules: Don't use RANLIB.
17918 * aclocal.m4: Remove ranlib test.
17919 * configure.in: No need to check for ranlib.
17920 * elf/rtld-Rules: Don't use RANLIB.
17921
f75286c6
ST
179222011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17923
8e31c82d
ST
17924 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17925 protection macro.
17926 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17927 inclusion protection macro.
17928
f75286c6
ST
17929 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17930 SIGRTMIN and SIGRTMAX and print information in that case only when
17931 SIGRTMIN is defined.
17932
c1d0e639
JJ
179332011-02-11 Jakub Jelinek <jakub@redhat.com>
17934
17935 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17936 arginfo fn returning -1.
17937
17938 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17939 and thousands string is zero terminated.
17940
edf9294e
AS
179412011-02-03 Andreas Schwab <schwab@redhat.com>
17942
17943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17944 sysdeps/unix/sysv/linux/bits/socket.h.
17945
2b7e92df
ST
179462011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17947
edf9294e
AS
17948 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17949 (__CPU_COUNT): Remove old macros.
17950 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17951 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17952 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17953 (__sched_cpualloc, __sched_cpufree): Add declarations.
17954
a4c7ea7b
UD
179552011-02-05 Ulrich Drepper <drepper@gmail.com>
17956
17957 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17958 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17959 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17960 (readdhstai): Return value of addhstaiX call.
17961 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17962 (addgrbyX): Return value returned by cache_addgr.
17963 (readdgrbyname): Return value returned by addgrbyX.
17964 (readdgrbygid): Likewise.
17965 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17966 (addpwbyX): Return value returned by cache_addpw.
17967 (readdpwbyname): Return value returned by addhstbyX.
17968 (readdpwbyuid): Likewise.
17969 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17970 (addservbyX): Return value returned by cache_addserv.
17971 (readdservbyname): Return value returned by addservbyX:
17972 (readdservbyport): Likewise.
17973 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17974 (addhstbyX): Return value returned by cache_addhst.
17975 (readdhstbyname): Return value returned by addhstbyX.
17976 (readdhstbyaddr): Likewise.
17977 (readdhstbynamev6): Likewise.
17978 (readdhstbyaddrv6): Likewise.
17979 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17980 (readdinitgroups): Return value returned by addinitgroupsX.
17981 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17982 (prune_cache): Keep track of timeout value of re-added entries.
17983 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17984 * nscd/nscd.h: Adjust prototypes of readd* functions.
17985
a0bf67cc
RM
179862011-02-04 Roland McGrath <roland@redhat.com>
17987
17988 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17989 (nis_stats): Likewise.
17990 * nis/nis_modify.c (nis_modify): Likewise.
17991 * nis/nis_remove.c (nis_remove): Likewise.
17992 * nis/nis_add.c (nis_add): Likewise.
17993
17994 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17995
17996 * posix/fnmatch_loop.c: Add some consts.
17997
17998 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17999
435b95eb
L
180002011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18001
18002 [BZ #12460]
18003 * config.make.in (config-cflags-novzeroupper): Define.
18004 * configure.in: Substitute libc_cv_cc_novzeroupper.
18005 * elf/Makefile (AVX-CFLAGS): Define.
18006 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18007 (CFLAGS-tst-auditmod4a.c): Likewise.
18008 (CFLAGS-tst-auditmod4b.c): Likewise.
18009 (CFLAGS-tst-auditmod6b.c): Likewise.
18010 (CFLAGS-tst-auditmod6c.c): Likewise.
18011 (CFLAGS-tst-auditmod7b.c): Likewise.
18012 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18013
8517b15e
UD
180142011-02-02 Ulrich Drepper <drepper@gmail.com>
18015
18016 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18017 function to the callback.
18018 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18019
10a656fe
AS
180202011-02-02 Andreas Schwab <schwab@redhat.com>
18021
18022 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18023 of errno.
18024
968dad0a
UD
180252011-01-19 Ulrich Drepper <drepper@gmail.com>
18026
9f94d2ea 18027 [BZ #11724]
968dad0a
UD
18028 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18029 of constructors.
18030 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18031 of destructors.
18032 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18033
18034 [BZ #11724]
18035 * elf/Makefile: Add rules to build and run new test.
18036 * elf/tst-initorder.c: New file.
18037 * elf/tst-initorder.exp: New file.
18038 * elf/tst-initordera1.c: New file.
18039 * elf/tst-initordera2.c: New file.
18040 * elf/tst-initordera3.c: New file.
18041 * elf/tst-initordera4.c: New file.
18042 * elf/tst-initorderb1.c: New file.
18043 * elf/tst-initorderb2.c: New file.
18044 * elf/tst-order-a1.c: New file.
18045 * elf/tst-order-a2.c: New file.
18046 * elf/tst-order-a3.c: New file.
18047 * elf/tst-order-a4.c: New file.
18048 * elf/tst-order-b1.c: New file.
18049 * elf/tst-order-b2.c: New file.
18050 * elf/tst-order-main.c: New file.
18051 New test case by George Gensure <werkt0@gmail.com>.
18052
86e92359
UD
180532010-10-01 Andreas Schwab <schwab@redhat.com>
18054
18055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18056 decoding ACE if AI_CANONIDN.
18057
5d5732b0
UD
180582011-01-18 Ulrich Drepper <drepper@gmail.com>
18059
18060 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18061
a77e8cbc
UD
180622011-01-17 Ulrich Drepper <drepper@gmail.com>
18063
6392473f
UD
18064 * version.h (RELEASE): Bump for 2.13 release.
18065 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18066
620a0529
UD
18067 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18068
18ba70a5
UD
18069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18070 MADV_NOHUGEPAGE.
32465c3e
UD
18071 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18073 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18074 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18075 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18077
c0dafcf1
UD
18078 * posix/getconf.c: Update copyright year.
18079 * catgets/gencat.c: Likewise.
18080 * csu/version.c: Likewise.
18081 * debug/catchsegv.sh: Likewise.
18082 * debug/xtrace.sh: Likewise.
18083 * elf/ldconfig.c: Likewise.
18084 * elf/ldd.bash.in: Likewise.
18085 * elf/sprof.c (print_version): Likewise.
18086 * iconv/iconv_prog.c: Likewise.
18087 * iconv/iconvconfig.c: Likewise.
18088 * locale/programs/locale.c: Likewise.
18089 * locale/programs/localedef.c: Likewise.
18090 * malloc/memusage.sh: Likewise.
18091 * malloc/mtrace.pl: Likewise.
18092 * nscd/nscd.c (print_version): Likewise.
18093 * nss/getent.c: Likewise.
18094
a77e8cbc
UD
18095 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18096 PF_CAIF, and PF_ALG.
18097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18098
77e8bddf
AS
180992011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18100
1f20b93a
AS
18101 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18102 (modules-names): Use them.
18103 (ifunc-test-modules, ifunc-pie-tests): Define.
18104 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18105 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18106 (test-extras): Likewise.
18107 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18108 $(compile-command.c).
18109 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18110 (all-built-dso): Define.
18111 (check-textrel.out, check-execstack.out): Depend on it.
18112
77e8bddf
AS
18113 * configure.in: Don't override --enable-multi-arch.
18114
bc425b33
UD
181152011-01-15 Ulrich Drepper <drepper@gmail.com>
18116
18117 [BZ #6812]
18118 * nscd/hstcache.c (tryagain): Define.
18119 (cache_addhst): Return tryagain not notfound for temporary errors.
18120 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18121 failed.
18122
794c3ad3
UD
181232011-01-14 Ulrich Drepper <drepper@gmail.com>
18124
70181fdd
UD
18125 [BZ #10563]
18126 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18127 to make the syscall.
18128 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18129
794c3ad3
UD
18130 [BZ #12378]
18131 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18132 and fall back to matching as normal character if the string ends before
18133 the matching ']' is found. This is what POSIX requires.
18134 * posix/testfnm.c: Adjust test result.
18135 * posix/globtest.sh: Adjust test result. Add new test.
18136 * posix/tst-fnmatch.input: Likewise.
18137 * posix/tst-fnmatch2.c: Add new test.
18138
68dc9497
AS
181392010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18140
18141 * elf/Makefile (check-execstack): Revert last change. Depend on
18142 check-execstack.h.
18143 (check-execstack.h): New target.
18144 (generated): Add check-execstack.h.
18145 * elf/check-execstack.c: Include "check-execstack.h".
18146 (main): Revert last change.
18147 (handle_file): Return zero if GNU_STACK is absent and
18148 DEFAULT_STACK_PERMS doesn't include PF_X.
18149
451f001b
UD
181502011-01-13 Ulrich Drepper <drepper@gmail.com>
18151
cfa28e56
UD
18152 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18153 in child fails because the descriptor is already closed.
8cf8ce17
UD
18154 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18155 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18156 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18157
1086d70d
UD
18158 [BZ #12397]
18159 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18160 syscall.
18161
451f001b
UD
18162 [BZ #10484]
18163 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18164 temporary buffer used to handle multi lookups locally.
a85b5cb4 18165 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18166
08769175
UD
181672011-01-12 Ulrich Drepper <drepper@gmail.com>
18168
18169 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18170 loader is ld.so.
18171
5e49c52e
UD
181722011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18173
18174 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18175 alignment for SSE2.
18176
60522a5f
UD
181772011-01-12 Ulrich Drepper <drepper@gmail.com>
18178
18179 [BZ #12394]
18180 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18181 characters. When rounding increased number of integer digits recompute
18182 number of groups.
18183 * stdio-common/tst-grouping.c: New file.
18184 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18185
f257bbd7
UD
181862011-01-09 Ulrich Drepper <drepper@gmail.com>
18187
18188 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18189 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18190
18191 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18192 void.
18193 * bits/select.h: Likewise.
18194
fa9c15cb
UD
181952011-01-08 Ulrich Drepper <drepper@gmail.com>
18196
18197 * po/ja.po: Update from translation team.
18198
16c2895f
DM
181992011-01-04 David S. Miller <davem@sunset.davemloft.net>
18200
18201 [BZ #11155]
18202 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18203 implementation just like for lxstat, fxstatat, et al.
18204
2543fef2
JM
182052010-12-27 Jim Meyering <meyering@redhat.com>
18206
18207 [BZ #12348]
18208 * posix/regexec.c (build_trtable): Return failure indication upon
18209 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18210
98727dbe
UD
182112010-12-25 Ulrich Drepper <drepper@gmail.com>
18212
5bd6dc5c
UD
18213 [BZ #12201]
18214 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18215 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18217 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18218
97983464
UD
18219 [BZ #12207]
18220 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18221
98727dbe
UD
18222 [BZ #12204]
18223 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18224 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18225
4a531bb0
L
182262010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18227
18228 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18229 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18230 script has SORT_BY_INIT_PRIORITY.
18231 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18232 NO_CTORS_DTORS_SECTIONS is defined.
18233 * elf/soinit.c: Likewise.
18234 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18235 NO_CTORS_DTORS_SECTIONS is defined.
18236 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18237 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18238 * sysdeps/sh/init-first.c: Likewise.
18239 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18240
07eb4b71
UD
182412010-12-24 Ulrich Drepper <drepper@gmail.com>
18242
18243 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18244 always use the slow path.
18245
30950a5f
RA
182462010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18247
18248 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18249 similar rule which adds the sysdep directories to the header search in
18250 order to pick up the correct platform stackinfo.h.
18251 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18252 perform test if it is, otherwise return successfully without testing.
18253 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18254 DEFAULT_STACK_PERMS define in stackinfo.h.
18255 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18256 defined in stackinfo.h.
18257 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18258 DEFAULT_STACK_PERMS defined in stackinfo.h.
18259 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18260 * sysdeps/ia64/stackinfo.h: Likewise.
18261 * sysdeps/s390/stackinfo.h: Likewise.
18262 * sysdeps/sh/stackinfo.h: Likewise.
18263 * sysdeps/sparc/stackinfo.h: Likewise.
18264 * sysdeps/x86_64/stackinfo.h: Likewise.
18265 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18266 PF_X for powerpc64. Retain PF_X for powerpc32.
18267
db753e2c
UD
182682010-12-19 Ulrich Drepper <drepper@gmail.com>
18269
14b697f7
UD
18270 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18271 accurately.
db753e2c
UD
18272 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18273 GETDENTS_64BIT_ALIGNED.
18274
28300719
UD
182752010-12-14 Ulrich Drepper <dreper@gmail.com>
18276
14b697f7 18277 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18278
4f197237
AS
182792010-12-10 Andreas Schwab <schwab@redhat.com>
18280
dbb0472f
AS
18281 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18282 _GNU_SOURCE.
18283
4f197237
AS
18284 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18285 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18286 Remove __restrict.
18287 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18288 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18289
fb88ac72
UD
182902010-12-09 Ulrich Drepper <drepper@gmail.com>
18291
18292 [BZ #11655]
18293 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18294 are initialized.
18295
42acbb92
JJ
182962010-12-09 Jakub Jelinek <jakub@redhat.com>
18297
18298 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18299
c038d98d
UD
183002010-12-03 Ulrich Drepper <drepper@gmail.com>
18301
18302 * po/it.po: Update from translation team.
18303
3a4a2499
L
183042010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18307 unused codes.
18308
1e24cf6e
UD
183092010-11-30 Ulrich Drepper <drepper@gmail.com>
18310
18311 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18312
a7690819
AS
183132010-11-24 Andreas Schwab <schwab@redhat.com>
18314
18315 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18316 specially.
18317 (gaih_getanswer_slice): Likewise.
18318
3bf8d1b1
JJ
183192010-10-20 Jakub Jelinek <jakub@redhat.com>
18320
18321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18322
6db52fbb
PB
183232010-05-31 Petr Baudis <pasky@suse.cz>
18324
18325 [BZ #11149]
18326 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18327 silently even in the chroot mode.
18328
eaca7569
UD
183292010-11-22 Ulrich Drepper <drepper@gmail.com>
18330
18331 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18332 last patch a bit. Pretty printing
18333
3056dcdb
UD
183342010-05-31 Petr Baudis <pasky@suse.cz>
18335
18336 [BZ #10085]
18337 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18338 initialization of skip_initgroups_dyn.
18339
cf7c9078
UD
183402010-11-19 Ulrich Drepper <drepper@gmail.com>
18341
18342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18344
a1fb5e3e
UD
183452010-11-16 Ulrich Drepper <drepper@gmail.com>
18346
18347 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18348
3540d66b
AS
183492010-11-11 Andreas Schwab <schwab@redhat.com>
18350
18351 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18352 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18353 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18354 ($(objpfx)tst-fnmatch-mem): New rule.
18355 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18356 * posix/tst-fnmatch.c (main): Call mtrace.
18357
13b69574
L
183582010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18359
18360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18361 Support Intel processor model 6 and model 0x2c.
18362
da93d214
LM
183632010-11-10 Luis Machado <luisgpm@br.ibm.com>
18364
18365 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18366 signed comparison.
18367
8ca52c6e
L
183682010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18369
18370 [BZ #12205]
18371 * string/test-strncasecmp.c (check_result): New function.
18372 (do_one_test): Use it.
18373 (check1): New function.
18374 (test_main): Use it.
18375 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18376 Support strcasecmp and strncasecmp.
18377
69da074d
UD
183782010-11-08 Ulrich Drepper <drepper@gmail.com>
18379
18380 [BZ #12194]
18381 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18382 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18383
ff02d528
L
183842010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18387 IFUNC support.
18388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18389 memset-x86-64.
18390 * sysdeps/x86_64/multiarch/bzero.S: New file.
18391 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18392 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18393 * sysdeps/x86_64/multiarch/memset.S: New file.
18394 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18396 Set bit_Prefer_SSE_for_memop for Intel processors.
18397 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18398 Define.
18399 (index_Prefer_SSE_for_memop): Define.
18400 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18401
344d0b54
LM
184022010-11-04 Luis Machado <luisgpm@br.ibm.com>
18403
18404 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18405 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18406
c0dde15b
UD
184072010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18408
18409 [BZ #12191]
18410 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18411 (__x86_64_raw_data_cache_size_half): Likewise.
18412 (__x86_64_raw_shared_cache_size): Likewise.
18413 (__x86_64_raw_shared_cache_size_half): Likewise.
18414
18415 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18416 (__x86_64_raw_data_cache_size_half): Likewise.
18417 (__x86_64_raw_shared_cache_size): Likewise.
18418 (__x86_64_raw_shared_cache_size_half): Likewise.
18419 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18420 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18421 and __x86_64_raw_shared_cache_size_half. Round
18422 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18423 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18424 to multiple of 256 bytes.
18425
0e516e0e
MS
184262010-11-03 Ulrich Drepper <drepper@gmail.com>
18427
18428 [BZ #12167]
18429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18430 of inacessible symlinks. Verify result of symlink before returning it.
18431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18432 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18433
0e012e87
ER
184342010-10-28 Erich Ritz <erichritz@gmail.com>
18435
18436 * math/math.h (isinf): Fix typo in comment.
18437
de0ff7bc
UD
184382010-11-01 Ulrich Drepper <drepper@gmail.com>
18439
18440 * po/da.po: Update from translation team.
18441
fa41c84d
UD
184422010-10-26 Ulrich Drepper <drepper@gmail.com>
18443
18444 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18445 is added to the list.
18446
f0967738
AK
184472010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18448 Ulrich Drepper <drepper@gmail.com>
18449
18450 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18451 the global list here. Move code to...
18452 (_dl_add_to_namespace_list): ...here. New function.
18453 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18454 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18455 * elf/dl-load.c (lose): Don't remove the element from the list.
18456 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18457 (_dl_map_object): Likewise.
18458
184592010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18460
18461 [BZ #12159]
18462 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18463 into all bytes of SSE register.
18464 Patch by Richard Li <richardpku@gmail.com>.
18465
f0967738 184662010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18467
18468 [BZ #12140]
18469 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18470 perturbing.
18471
d0b9e94f
MB
184722010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18473
18474 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18475 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18477 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18479 submachine.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18481
8e9f92e9
AS
184822010-10-22 Andreas Schwab <schwab@redhat.com>
18483
18484 * include/dlfcn.h (__RTLD_SECURE): Define.
18485 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18486 mode & __RTLD_SECURE instead.
18487 (open_path): Rename preloaded parameter to secure.
18488 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18489 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18490 * elf/dl-deps.c (openaux): Likewise.
18491 * elf/rtld.c (struct map_args): Remove is_preloaded.
18492 (map_doit): Don't use it.
18493 (dl_main): Likewise.
18494 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18495 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18496
bc96fbda
AS
184972010-09-09 Andreas Schwab <schwab@redhat.com>
18498
18499 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18500 (sysd-rules-targets): Remove duplicates.
18501 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18502 rtld-%.$o dependency.
18503
22cd1c9b
AS
185042010-10-18 Andreas Schwab <schwab@redhat.com>
18505
18506 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18507 _dl_map_object do it.
18508
18edac48
UD
185092010-10-19 Ulrich Drepper <drepper@gmail.com>
18510
18511 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18512 fast fma builtins, define the macros in the C99 standard.
18513 (FP_FAST_FMAF): Likewise.
18514 (FP_FAST_FMAL): Likewise.
18515 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18516
18517 * bits/mathdef.h: Update copyright year.
18518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18519
d2050124
MM
185202010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18521
18522 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18523 builtins, define the macros in the C99 standard.
18524 (FP_FAST_FMAF): Likewise.
18525 (FP_FAST_FMAL): Likewise.
18526 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18527 multiply/add.
18528 (FP_FAST_FMAF): Likewise.
18529
475facd1
JJ
185302010-10-15 Jakub Jelinek <jakub@redhat.com>
18531
18532 [BZ #3268]
18533 * math/libm-test.inc (fma_test): Some new testcases.
18534 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18536 y and infinite z. Do multiplication by C already in long double.
18537 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18539 y and infinite z. Do bitwise or of inexact bit into u.d.
18540 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18541 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18542 * sysdeps/i386/fpu/s_fma.S: Removed.
18543 * sysdeps/i386/fpu/s_fmal.S: Removed.
18544
7c08a05c
JJ
185452010-10-16 Jakub Jelinek <jakub@redhat.com>
18546
18547 [BZ #3268]
18548 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18550 computation is not scheduled after fetestexcept. Fix value
18551 of minimum denormal long double.
18552
f3f7372d
JJ
185532010-10-14 Jakub Jelinek <jakub@redhat.com>
18554
18555 [BZ #3268]
18556 * math/libm-test.inc (fma_test): Add some more tests.
18557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18558 correctly.
18559
14d43591
AS
185602010-10-15 Andreas Schwab <schwab@redhat.com>
18561
18562 * scripts/data/localplt-s390-linux-gnu.data: New file.
18563 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18564
5e908464
JJ
185652010-10-13 Jakub Jelinek <jakub@redhat.com>
18566
18567 [BZ #3268]
18568 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18569 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18570 instead of dbl-64.
18571 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18572 inlines.
18573 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18575 if one of x and y is very large and the other is subnormal.
18576 * sysdeps/s390/fpu/s_fmaf.c: New file.
18577 * sysdeps/s390/fpu/s_fma.c: New file.
18578 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18579 * sysdeps/powerpc/fpu/s_fma.S: New file.
18580 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18581 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18582 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18583
185842010-10-12 Jakub Jelinek <jakub@redhat.com>
18585
18586 [BZ #3268]
18587 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18588 fma tests.
18589 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18590 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18591 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18592 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18593 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18594 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18596
b833d51f
UD
185972010-10-12 Ulrich Drepper <drepper@redhat.com>
18598
18599 [BZ #12078]
18600 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18601 * posix/bug-regex31.input: Add test case.
18602
1751705d
UD
186032010-10-11 Ulrich Drepper <drepper@gmail.com>
18604
e9b9cbf5
UD
18605 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18606 * posix/bug-regex31.input: New file.
18607
18608 [BZ #12078]
18609 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18610 (parse_sub_exp): Fix last change, use postorder.
18611
ef06edbe
UD
18612 * posix/bug-regex31.c: New file.
18613 * posix/Makefile: Add rules to build and run bug-regex31.
18614
a129c80d
UD
18615 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18616
18617 [BZ #12078]
18618 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18619
b76b818e
UD
18620 [BZ #12108]
18621 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18622 to have entries in sys_siglist.
18623
1751705d
UD
18624 [BZ #12093]
18625 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18626 be NULL.
18627
9ff8d36f
JJ
186282010-10-07 Jakub Jelinek <jakub@redhat.com>
18629
18630 [BZ #3268]
18631 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18632 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18633 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18634 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18635 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18636 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18637 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18638 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18639 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18640 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18641 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18642 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18643 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18644 * math/ftestexcept.c (fetestexcept): Likewise.
18645 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18646 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18647 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18648 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18649 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18650 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18651 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18652
af325969
UD
186532010-10-11 Ulrich Drepper <drepper@gmail.com>
18654
c579b202 18655 [BZ #12107]
af325969
UD
18656 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18657 newline.
18658
67a67b95
UD
186592010-10-06 Ulrich Drepper <drepper@gmail.com>
18660
18661 * string/bug-strstr1.c: New file.
18662 * string/Makefile: Add rules to build and run bug-strstr1.
18663
5fb308bc
EB
186642010-10-05 Eric Blake <eblake@redhat.com>
18665
18666 [BZ #12092]
18667 * string/str-two-way.h (two_way_long_needle): Always clear memory
18668 when skipping input due to the shift table.
18669
45db99c7
UD
186702010-10-03 Ulrich Drepper <drepper@gmail.com>
18671
3b111893
UD
18672 [BZ #12005]
18673 * malloc/mcheck.c: Handle large requests.
18674
45db99c7
UD
18675 [BZ #12077]
18676 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18677 for strncmp and strncasecmp.
18678 * string/stratcliff.c: Add tests for strcmp and strncmp.
18679 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18680
cf7a1eb8
NI
186812010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18682
18683 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18684 __set_fpscr.
18685
6484ba5e
AJ
186862010-09-30 Andreas Jaeger <aj@suse.de>
18687
18688 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18689 (CGROUP_SUPER_MAGIC): Define.
18690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18691 Handle btrfs and cgroup file systems.
18692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18693 Likewise.
18694
91c42559
LM
186952010-09-27 Luis Machado <luisgpm@br.ibm.com>
18696
18697 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18698 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18699
87a97932
AK
187002010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18701
18702 [BZ #12067]
18703 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18704 trying to locate the ELF header.
18705
c21cc9bc
AS
187062010-09-27 Andreas Schwab <schwab@redhat.com>
18707
18708 [BZ #11611]
18709 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18710 Mask out sign-bit copies when constructing f_fsid.
18711
315970f6
PB
187122010-09-24 Petr Baudis <pasky@suse.cz>
18713
18714 * debug/stack_chk_fail_local.c: Add missing licence exception.
18715 * debug/warning-nop.c: Likewise.
18716
1ac7a2c7
JM
187172010-09-15 Joseph Myers <joseph@codesourcery.com>
18718
18719 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18720 implementing getdents64 using getdents syscall, set d_type if
18721 __ASSUME_GETDENTS32_D_TYPE.
18722
56801c50
AS
187232010-09-16 Andreas Schwab <schwab@redhat.com>
18724
18725 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18726 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18727
dda51327
UD
187282010-09-21 Ulrich Drepper <drepper@redhat.com>
18729
18730 [BZ #12037]
18731 * posix/unistd.h: Undo change of feature selection for ftruncate from
18732 2010-01-11.
18733
8ffcee4a
UD
187342010-09-20 Ulrich Drepper <drepper@redhat.com>
18735
a545ecd9 18736 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18737 detection.
18738
e24f0a8b
AS
187392010-09-20 Andreas Schwab <schwab@redhat.com>
18740
18741 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18742 fanotify_mark.
18743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18744
7291c56f
AS
187452010-09-14 Andreas Schwab <schwab@redhat.com>
18746
18747 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18748 variables after CHECK_SP call.
18749 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18750
bc5fb037
AS
187512010-09-13 Andreas Schwab <schwab@redhat.com>
18752 Ulrich Drepper <drepper@redhat.com>
18753
18754 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18755 re-relocationg ld.so.
18756 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18757 _dl_init_paths call.
18758 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18759 here anymore.
18760
e66e7419
UD
187612010-09-14 Ulrich Drepper <drepper@redhat.com>
18762
18763 * resolv/res_init.c (__res_vinit): Count the default server we added.
18764
c044aa75
CLT
187652010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18766 Ulrich Drepper <drepper@redhat.com>
18767
18768 [BZ #11968]
18769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18770 (____longjmp_chk): Use %ebx for saving value across system call.
18771 Add unwind info.
18772
32cf4069
AS
187732010-09-06 Andreas Schwab <schwab@redhat.com>
18774
18775 * manual/Makefile: Don't mix pattern rules with normal rules.
18776
817328ee
AS
187772010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18778
18779 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18780 operation.
18781 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18782 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18783 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18784 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18786 Likewise.
18787
29fddf61
UD
187882010-09-04 Ulrich Drepper <drepper@redhat.com>
18789
18790 [BZ #11979]
18791 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18792 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18793
0959ffc9
UD
187942010-09-02 Ulrich Drepper <drepper@redhat.com>
18795
18796 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18797 * sysdeps/x86_64/addmul_1.S: Likewise.
18798 * sysdeps/x86_64/lshift.S: Likewise.
18799 * sysdeps/x86_64/mul_1.S: Likewise.
18800 * sysdeps/x86_64/rshift.S: Likewise.
18801 * sysdeps/x86_64/sub_n.S: Likewise.
18802 * sysdeps/x86_64/submul_1.S: Likewise.
18803
ece29840
ST
188042010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18805
0959ffc9
UD
18806 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18807 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18808 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18809 * bits/sched.h [__need_schedparam]
ece29840 18810 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18811 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18812 (__defined_schedparam): Define to 1.
ece29840
ST
18813 (__sched_param): New structure, identical to sched_param.
18814 (__need_schedparam): Undefine.
18815
e53a31fe
MF
188162010-08-31 Mike Frysinger <vapier@gentoo.org>
18817
fdc0c10d
MF
18818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18819 (epoll_create1): Declare.
18820
e53a31fe
MF
18821 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18822
a726d796
AS
188232010-08-31 Andreas Schwab <schwab@redhat.com>
18824
18825 [BZ #7066]
18826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18827 shifting retval into place.
18828
2f3e3dc7
UD
188292010-09-01 Ulrich Drepper <drepper@redhat.com>
18830
f2933da9
UD
18831 * nis/rpcsvc/nis.h: Update copyright notice.
18832 * nis/rpcsvc/nis.x: Likewise.
18833 * nis/rpcsvc/nis_callback.h: Likewise.
18834 * nis/rpcsvc/nis_callback.x: Likewise.
18835 * nis/rpcsvc/nis_object.x: Likewise.
18836 * nis/rpcsvc/nis_tags.h: Likewise.
18837 * nis/rpcsvc/yp.h: Likewise.
18838 * nis/rpcsvc/yp.x: Likewise.
18839 * nis/rpcsvc/ypupd.h: Likewise.
18840 * nis/yp_xdr.c: Likewise.
18841 * nis/ypupdate_xdr.c: Likewise.
18842
2f3e3dc7
UD
18843 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18844 mainly the body of pmap_getport. Add parameters to specify timeouts.
18845 (pmap_getport): Use __libc_rpc_getport.
18846 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18847 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18848 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18849
f3dcc2f9
AS
188502010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18851
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18853 fanotify_mark.
18854
6d34eb5b
RM
188552010-08-27 Roland McGrath <roland@redhat.com>
18856
18857 * sysdeps/i386/i686/multiarch/Makefile
18858 (CFLAGS-varshift.c): New variable.
18859
9ea3de11
UD
188602010-08-27 Ulrich Drepper <drepper@redhat.com>
18861
c96d23fc
UD
18862 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18863 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18864
9ea3de11
UD
18865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18866
18867 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18868
623aac7f
L
188692010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/x86_64/strlen.S: Unroll the loop.
18872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18873 strlen-sse2 strlen-sse2-bsf.
18874 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18875 __strlen_no_bsf if bit_Slow_BSF is set.
18876 (__strlen_sse42): Removed.
18877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18878 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18879
8b2b7715
RM
188802010-08-25 Roland McGrath <roland@redhat.com>
18881
18882 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18883 * sysdeps/x86_64/multiarch/varshift.c: New file.
18884 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18885 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18886 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18887 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18888
e73015f2
L
188892010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18892 strlen-sse2 strlen-sse2-bsf.
18893 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18894 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18895 (__strlen_sse2): Removed.
18896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18899 bit_Slow_BSF for Atom.
18900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18901 (index_Slow_BSF): Define.
18902 (HAS_SLOW_BSF): Define.
18903
df24a73e
UD
189042010-08-25 Ulrich Drepper <drepper@redhat.com>
18905
18906 [BZ #10851]
18907 * resolv/res_init.c (__res_vinit): When no server address at all
18908 is given default to loopback.
18909
f2ac4868
RM
189102010-08-24 Roland McGrath <roland@redhat.com>
18911
09055553
RM
18912 * configure.in: Remove config-name.h generation.
18913 * configure: Regenerated.
18914 * config-name.in: File removed.
18915 * scripts/config-uname.sh: New file.
18916 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18917 ($(objdir)config-name.h): New target.
18918
f2ac4868
RM
18919 * sunrpc/rpc_parse.h: Avoid nested comment.
18920
73f27d5e
RH
189212010-08-24 Richard Henderson <rth@redhat.com>
18922 Ulrich Drepper <drepper@redhat.com>
18923 H.J. Lu <hongjiu.lu@intel.com>
18924
18925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18927 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18928 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18929 _mm_alignr_epi8 with _mm_loadu_si128.
18930 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18931 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18932 (__m128i_shift_right): Removed.
18933 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18934 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18935 * sysdeps/x86_64/multiarch/varshift.h: New file.
18936 * sysdeps/x86_64/multiarch/varshift.S: New file.
18937
84b9230c
MF
189382010-08-21 Mike Frysinger <vapier@gentoo.org>
18939
18940 * configure.in: Move assembler checks to before sysdep dir checking.
18941
9bbd0ddc
PB
189422010-08-20 Petr Baudis <pasky@suse.cz>
18943
18944 * LICENSES: Sync the sunrpc license.
18945
9da4bb31
UD
189462010-08-19 Ulrich Drepper <drepper@redhat.com>
18947
a7ab6ec8
UD
18948 * sunrpc/auth_des.c: Update copyright notice once again.
18949 * sunrpc/auth_none.c: Likewise.
18950 * sunrpc/auth_unix.c: Likewise.
18951 * sunrpc/authdes_prot.c: Likewise.
18952 * sunrpc/authuxprot.c: Likewise.
18953 * sunrpc/bindrsvprt.c: Likewise.
18954 * sunrpc/clnt_gen.c: Likewise.
18955 * sunrpc/clnt_perr.c: Likewise.
18956 * sunrpc/clnt_raw.c: Likewise.
18957 * sunrpc/clnt_simp.c: Likewise.
18958 * sunrpc/clnt_tcp.c: Likewise.
18959 * sunrpc/clnt_udp.c: Likewise.
18960 * sunrpc/clnt_unix.c: Likewise.
18961 * sunrpc/des_crypt.c: Likewise.
18962 * sunrpc/des_soft.c: Likewise.
18963 * sunrpc/get_myaddr.c: Likewise.
18964 * sunrpc/getrpcport.c: Likewise.
18965 * sunrpc/key_call.c: Likewise.
18966 * sunrpc/key_prot.c: Likewise.
18967 * sunrpc/openchild.c: Likewise.
18968 * sunrpc/pm_getmaps.c: Likewise.
18969 * sunrpc/pm_getport.c: Likewise.
18970 * sunrpc/pmap_clnt.c: Likewise.
18971 * sunrpc/pmap_prot.c: Likewise.
18972 * sunrpc/pmap_prot2.c: Likewise.
18973 * sunrpc/pmap_rmt.c: Likewise.
18974 * sunrpc/rpc/auth.h: Likewise.
18975 * sunrpc/rpc/auth_unix.h: Likewise.
18976 * sunrpc/rpc/clnt.h: Likewise.
18977 * sunrpc/rpc/des_crypt.h: Likewise.
18978 * sunrpc/rpc/key_prot.h: Likewise.
18979 * sunrpc/rpc/netdb.h: Likewise.
18980 * sunrpc/rpc/pmap_clnt.h: Likewise.
18981 * sunrpc/rpc/pmap_prot.h: Likewise.
18982 * sunrpc/rpc/pmap_rmt.h: Likewise.
18983 * sunrpc/rpc/rpc.h: Likewise.
18984 * sunrpc/rpc/rpc_des.h: Likewise.
18985 * sunrpc/rpc/rpc_msg.h: Likewise.
18986 * sunrpc/rpc/svc.h: Likewise.
18987 * sunrpc/rpc/svc_auth.h: Likewise.
18988 * sunrpc/rpc/types.h: Likewise.
18989 * sunrpc/rpc/xdr.h: Likewise.
18990 * sunrpc/rpc_clntout.c: Likewise.
18991 * sunrpc/rpc_cmsg.c: Likewise.
18992 * sunrpc/rpc_common.c: Likewise.
18993 * sunrpc/rpc_cout.c: Likewise.
18994 * sunrpc/rpc_dtable.c: Likewise.
18995 * sunrpc/rpc_hout.c: Likewise.
18996 * sunrpc/rpc_main.c: Likewise.
18997 * sunrpc/rpc_parse.c: Likewise.
18998 * sunrpc/rpc_parse.h: Likewise.
18999 * sunrpc/rpc_prot.c: Likewise.
19000 * sunrpc/rpc_sample.c: Likewise.
19001 * sunrpc/rpc_scan.c: Likewise.
19002 * sunrpc/rpc_scan.h: Likewise.
19003 * sunrpc/rpc_svcout.c: Likewise.
19004 * sunrpc/rpc_tblout.c: Likewise.
19005 * sunrpc/rpc_util.c: Likewise.
19006 * sunrpc/rpc_util.h: Likewise.
19007 * sunrpc/rpcinfo.c: Likewise.
19008 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19009 * sunrpc/rpcsvc/key_prot.x: Likewise.
19010 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19011 * sunrpc/rpcsvc/mount.x: Likewise.
19012 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19013 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19014 * sunrpc/rpcsvc/rex.x: Likewise.
19015 * sunrpc/rpcsvc/rstat.x: Likewise.
19016 * sunrpc/rpcsvc/rusers.x: Likewise.
19017 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19018 * sunrpc/rpcsvc/spray.x: Likewise.
19019 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19020 * sunrpc/rtime.c: Likewise.
19021 * sunrpc/svc.c: Likewise.
19022 * sunrpc/svc_auth.c: Likewise.
19023 * sunrpc/svc_authux.c: Likewise.
19024 * sunrpc/svc_raw.c: Likewise.
19025 * sunrpc/svc_run.c: Likewise.
19026 * sunrpc/svc_simple.c: Likewise.
19027 * sunrpc/svc_tcp.c: Likewise.
19028 * sunrpc/svc_udp.c: Likewise.
19029 * sunrpc/svc_unix.c: Likewise.
19030 * sunrpc/svcauth_des.c: Likewise.
19031 * sunrpc/xcrypt.c: Likewise.
19032 * sunrpc/xdr.c: Likewise.
19033 * sunrpc/xdr_array.c: Likewise.
19034 * sunrpc/xdr_float.c: Likewise.
19035 * sunrpc/xdr_mem.c: Likewise.
19036 * sunrpc/xdr_rec.c: Likewise.
19037 * sunrpc/xdr_ref.c: Likewise.
19038 * sunrpc/xdr_sizeof.c: Likewise.
19039 * sunrpc/xdr_stdio.c: Likewise.
19040
9da4bb31
UD
19041 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19042 handling.
19043
bdaa77bc
AS
190442010-08-19 Andreas Schwab <schwab@redhat.com>
19045
19046 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19047
fe2f79db
LM
190482010-08-19 Luis Machado <luisgpm@br.ibm.com>
19049
19050 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19052 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19053 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19054 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19055 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19056 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19057 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19058 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19059 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19060 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19062 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19063 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19064
b9b42ee0
AB
190652010-07-26 Anton Blanchard <anton@samba.org>
19066
19067 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19068 * malloc/arena.c (heap_trim): Likewise.
19069
1c06ba31
UD
190702010-08-16 Ulrich Drepper <drepper@redhat.com>
19071
19072 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19073 here. Not...
19074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19075 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19076
f8392f40
L
190772010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19078
19079 * sysdeps/i386/elf/Makefile: New file.
19080
3162f12e
AS
190812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19082
19083 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19084 from fanotify_init.
19085 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19087
28c90b2c
UD
190882010-08-15 Ulrich Drepper <drepper@redhat.com>
19089
19090 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19091 of strncasecmp_l.
1feccb6c 19092 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19093
ca6bb004
UD
190942010-08-14 Ulrich Drepper <drepper@redhat.com>
19095
e9f82e0d
UD
19096 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19097 strncase_l-nonascii.
19098 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19099 Add strncase_l-ssse3.
19100 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19101 * sysdeps/x86_64/strcmp.S: Likewise.
19102 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19103 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19104 * sysdeps/x86_64/strncase.S: New file.
19105 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19106 * sysdeps/x86_64/strncase_l.S: New file.
19107 * string/Makefile (strop-tests): Add strncasecmp.
19108 * string/test-strncasecmp.c: New file.
19109
19110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19111 warning.
19112
ca6bb004
UD
19113 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19115
052fa7b3
AS
191162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19117
19118 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19119
962dba78
UD
191202010-08-12 Ulrich Drepper <drepper@redhat.com>
19121
19122 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19123 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19125
bebff237
AM
191262010-05-01 Alan Modra <amodra@gmail.com>
19127
19128 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19129 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19130 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19131 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19132 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19133 tidying. Don't tail-call __sigjmp_save for static lib.
19134 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19135 save location.
19136 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19137 (CALL_MCOUNT): Add eh info, and nop after bl.
19138 (TAIL_CALL_SYSCALL_ERROR): New macro.
19139 (PSEUDO_RET): Use it.
19140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19141 Correct save location of integer regs and cr.
19142 (_dl_profile_resolve): Correct cr save location. Delete nops
19143 after bl when SHARED. Reduce cfi size a little by better
19144 placement of cfi directives.
19145 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19146 make a stack frame. Instead use parm save area as a temp.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19148 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19150 Don't make a stack frame for parent, use parm save area.
19151 Increase child stack frame to 112 bytes. Don't save unused reg,
19152 and adjust reg usage. Set up cfi on error recovery and
19153 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19155 (__makecontext): Add dummy nop after jump to exit.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19157 Use correct parm save area and cr save, reduce stack frame.
19158 Correct cfi for possible PSEUDO_RET frame setup.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19160 Branch to local label emitted by PSEUDO_RET rather than
19161 __syscall_error.
19162
02637374
AS
191632010-08-12 Andreas Schwab <schwab@redhat.com>
19164
19165 [BZ #11904]
19166 * locale/programs/locale.c (print_assignment): New function.
19167 (show_locale_vars): Use it.
19168
c3e2f19b
UD
191692010-08-11 Ulrich Drepper <drepper@redhat.com>
19170
3cdaa6ad
UD
19171 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19172 field.
19173 (struct statfs64): Likewise.
19174 (_STATFS_F_FLAGS): Define.
19175 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19177 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19178 (ST_VALID): Define locally.
19179 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19180 __statvfs_getflags, use the provided value.
19181 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19182 __ASSUME_STATFS_F_FLAGS.
19183
754f7da3
UD
19184 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19185
10b3bedc
UD
19186 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19187 Add sys/fanotify.h.
19188 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19189 fanotify_mask for GLIBC_2.13.
19190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19191 fanotify_init and fanotify_mark.
19192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19193 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19194
c08fb0d7
UD
19195 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19196 Add prlimit.
19197 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19198 prlimit64 for GLIBC_2.13.
19199 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19200 prlimit64.
19201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19202 syscall.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19204 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19205 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19206 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19207 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19208 add prlimit alias.
19209 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19210
15bac72b
UD
19211 [BZ #11903]
19212 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19213 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19214
c3e2f19b
UD
19215 * nss/Makefile: Add rules to build and run tst-nss-test1.
19216 * shlib-versions: Add entry for libnss_test1.
19217 * nss/nss_test1.c: New file.
19218 * nss/tst-nss-test1.c: New file.
19219
19220 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19221 (__nss_configure_lookup): Set appropriate entry in
19222 __nss_configure_lookup to true.
19223 * nss/nsswitch.h: Define enum with indeces of databases in
19224 databases and __nss_database_custom arrays. Declare
19225 __nss_database_custom.
19226 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19227 to avoid using nscd when custom rules are installed.
19228 * nss/getXXbyYY_r.c: Likewise.
19229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19230
19231 * nss/nss_files/files-parse.c: Whitespace fixes.
19232
f15ce4d8
UD
192332010-08-09 Ulrich Drepper <drepper@redhat.com>
19234
19235 [BZ #11883]
19236 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19237 * posix/fnmatch_loop.c: Likewise.
19238
d22e4cc9
AK
192392010-07-17 Andi Kleen <ak@linux.intel.com>
19240
19241 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19242 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19243 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19244 * Versions.def [GLIBC_2.13]: Add.
19245
805bc17d
UD
192462010-08-06 Ulrich Drepper <drepper@redhat.com>
19247
19248 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19249 Also fail if tpwd after pwuid call is NULL.
19250
5a42321d
ST
192512010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19252
19253 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19254 when converting to ms.
19255
fd3ebeda
ST
192562010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19257
19258 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19259 EOPNOTSUPP errors with ENOTTY.
19260 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19261 EOPNOTSUPP errors with ENOTTY.
19262
73507d3a
UD
192632010-07-31 Ulrich Drepper <drepper@redhat.com>
19264
19265 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19266 Add strcasecmp_l-ssse3.
19267 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19268 strcasecmp.
19269 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19270 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19271 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19272
fe36dd02
UD
192732010-07-30 Ulrich Drepper <drepper@redhat.com>
19274
66f6765a
UD
19275 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19276
42e08a54
UD
19277 * string/Makefile (strop-tests): Add strcasecmp.
19278 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19279 strcasecmp_l-nonascii.
19280 (gen-as-const-headers): Add locale-defines.sym.
19281 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19282 * sysdeps/x86_64/strcasecmp.S: New file.
19283 * sysdeps/x86_64/strcasecmp_l.S: New file.
19284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19285 * sysdeps/x86_64/locale-defines.sym: New file.
19286 * string/test-strcasecmp.c: New file.
19287
fe36dd02
UD
19288 * string/test-strcasestr.c: Test both ends of the range of characters.
19289 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19290
48cbc0d6
RM
192912010-07-29 Roland McGrath <roland@redhat.com>
19292
76e6d6bc 19293 [BZ #11856]
48cbc0d6
RM
19294 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19295
880113d9
UD
192962010-07-27 Ulrich Drepper <drepper@redhat.com>
19297
19298 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19299 for ld.so.
19300
deb9cabb
AS
193012010-07-27 Andreas Schwab <schwab@redhat.com>
19302
19303 * manual/memory.texi (Malloc Tunable Parameters): Document
19304 M_PERTURB.
19305
1c7570ff
RM
193062010-07-26 Roland McGrath <roland@redhat.com>
19307
19308 [BZ #11840]
19309 * configure.in (-fgnu89-inline check): Set and substitute
19310 gnu89_inline, not libc_cv_gnu89_inline.
19311 * configure: Regenerated.
19312 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19313
24fb0f88
UD
193142010-07-26 Ulrich Drepper <drepper@redhat.com>
19315
19316 * string/test-strnlen.c: New file.
19317 * string/Makefile (strop-tests): Add strnlen.
19318 * string/tester.c (test_strnlen): Add a few more test cases.
19319 * string/tst-strlen.c: Better error reporting.
19320
19321 * sysdeps/x86_64/strnlen.S: New file.
19322
8e96b93a
UD
193232010-07-24 Ulrich Drepper <drepper@redhat.com>
19324
19325 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19326 lower-latency instructions.
19327
dbc676d4
UD
193282010-07-23 Ulrich Drepper <drepper@redhat.com>
19329
19330 * string/test-strcasestr.c: New file.
19331 * string/test-strstr.c: New file.
19332 * string/Makefile (strop-tests): Add strstr and strcasestr.
19333 * string/str-two-way.h: Don't undefine MAX.
19334 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19335
f6a31e0e
AS
193362010-07-21 Andreas Schwab <schwab@redhat.com>
19337
19338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19339 strcasestr-nonascii.
19340 (CFLAGS-strcasestr-nonascii.c): Define.
19341 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19343 Remove unused attribute.
19344
5dbc3b6c
RM
193452010-07-20 Roland McGrath <roland@redhat.com>
19346
19347 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19348 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19349 ld.so.cache was broken. With it, there is no way to disable dsocaps
19350 like LD_HWCAP_MASK can disable hwcaps.
19351
23d101d8
EPM
193522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19353
19354 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19355
cc9f2e47
UD
193562010-07-16 Ulrich Drepper <drepper@redhat.com>
19357
19358 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19359 call in strcasestr.
19360 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19361 __strcasestr_sse42_nonascii.
19362 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19363 strcasestr-nonascii.c.
19364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19365
77c1b069
LM
193662010-06-15 Luis Machado <luisgpm@br.ibm.com>
19367
19368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19369 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19372
440566c3
UD
193732010-07-09 Ulrich Drepper <drepper@redhat.com>
19374
19375 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19376 fcntl.
19377
5be9d05d
AS
193782010-07-06 Andreas Schwab <schwab@redhat.com>
19379
c30b7ee2 19380 [BZ #11577]
5be9d05d
AS
19381 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19382 dl_signal_cerror.
19383
8a492a67
UD
193842010-07-06 Ulrich Drepper <drepper@redhat.com>
19385
19386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19387 _PC_PIPE_BUF using F_GETPIPE_SZ.
19388
713df3d5
RM
193892010-07-05 Roland McGrath <roland@redhat.com>
19390
19391 * manual/arith.texi (Rounding Functions): Fix rint description
19392 implicit in round description.
19393
702e8f14
UD
193942010-07-02 Ulrich Drepper <drepper@redhat.com>
19395
19396 * elf/Makefile: Fix linking for a few tests to make recent linker
19397 happy.
19398
52ed8be9
AS
193992010-06-30 Andreas Schwab <schwab@redhat.com>
19400
19401 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19402 $(common-objpfx)libc_nonshared.a.
19403
f47c9a11
LM
194042010-06-21 Luis Machado <luisgpm@br.ibm.com>
19405
19406 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19407 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19408 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19409 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19410 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19412 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19413 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19428 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19429 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19430 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19431 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19432 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19433 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19434 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19435 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19436 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19437 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19438 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19439 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19454
6fb8cbcb
L
194552010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19456
19457 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19458 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19459 * string/memmove.c (memmove): Renamed to ...
19460 (MEMMOVE): ...this. Default to memmove.
19461 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19462 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19463 (END_CHK): Define.
19464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19465 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19466 mempcpy-ssse3-back memmove-ssse3-back.
19467 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19470 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19471 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19472 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19473 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19474 * sysdeps/x86_64/multiarch/memmove.c: New file.
19475 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19476 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19477 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19478 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19481 Define.
19482 (index_Fast_Copy_Backward): Define.
19483 (HAS_ARCH_FEATURE): Define.
19484 (HAS_FAST_REP_STRING): Define.
19485 (HAS_FAST_COPY_BACKWARD): Define.
19486
4e733bac 194872010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19488
19489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19490 Restore proper fallback handling.
19491
63c4ed22
UD
194922010-06-19 Ulrich Drepper <drepper@redhat.com>
19493
ac2b484c
UD
19494 [BZ #11701]
19495 * posix/group_member.c (__group_member): Correct checking loop.
19496
63c4ed22
UD
19497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19498 OOM in getpwuid_r correctly. Return error number when the caller
19499 should return, otherwise -1.
19500 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19501 call returning > 0 value.
19502 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19503
765ade4b
AS
195042010-06-07 Andreas Schwab <schwab@redhat.com>
19505
19506 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19507 libc_nonshared.a from targets in modules-names.
19508
80da2e09
KS
195092010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19510
19511 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19512 requires it.
19513
158db122
LM
195142010-06-10 Luis Machado <luisgpm@br.ibm.com>
19515
19516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19517 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19520
caa78cf8
AS
195212010-06-02 Andreas Schwab <schwab@redhat.com>
19522
19523 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19524
b2ef2c01
UD
195252010-06-14 Ulrich Drepper <drepper@redhat.com>
19526
19527 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19528 and F_GETPIPE_SZ.
19529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19534 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19535
fbd643b6
RM
195362010-06-14 Roland McGrath <roland@redhat.com>
19537
19538 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19539
f32f2869
JJ
195402010-06-07 Jakub Jelinek <jakub@redhat.com>
19541
19542 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19543 __REDIRECT followed by __THROW.
19544 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19545 * posix/getopt.h (getopt): Likewise.
19546
2a50c078
EPM
195472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19548
19549 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19550 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19551 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19552 in AT_FLAGS.
19553 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19554 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19555
eb5ad2eb
LM
195562010-05-28 Luis Machado <luisgpm@br.ibm.com>
19557
19558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19559
3c88fe1e
L
195602010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19561
19562 [BZ #11640]
19563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19564 Properly check family and model.
19565
d2f73151
TY
195662010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19567
19568 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19569
ebd2e13d
LM
195702010-05-24 Luis Machado <luisgpm@br.ibm.com>
19571
19572 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19573
b32b8b45
UD
195742010-05-21 Ulrich Drepper <drepper@redhat.com>
19575
19576 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19577 symbol reference.
19578
9acbe24d
AS
195792010-05-19 Andreas Schwab <schwab@redhat.com>
19580
19581 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19582 symbol reference.
19583
f0ccf6ea
AS
195842010-05-21 Andreas Schwab <schwab@redhat.com>
19585
3d04ff3a
AS
19586 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19587 and internal_recvmmsg.
19588 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19589 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19590 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19591 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19592
f0ccf6ea
AS
19593 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19594 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19595 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19596
5b08ac57
AS
195972010-05-20 Andreas Schwab <schwab@redhat.com>
19598
19599 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19600
4828935d
LM
196012010-05-17 Luis Machado <luisgpm@br.ibm.com>
19602
19603 POWER7 optimizations.
19604 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19605 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19606
373d545e
UD
196072010-05-19 Ulrich Drepper <drepper@redhat.com>
19608
19609 * version.h: Update for 2.13 development version.
19610
21a2b1ae
AS
196112010-05-12 Andrew Stubbs <ams@codesourcery.com>
19612
19613 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19614 exceptions. Return 0.
19615
3f7dcb2b
RM
196162010-05-07 Roland McGrath <roland@redhat.com>
19617
19618 * elf/ldconfig.c (main): Add a const.
19619
5f24d53a 196202010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19621
a160f8d8
UD
19622 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19623 (args_options): Add no-idn option.
19624 (ahosts_keys_int): Add idn_flags to ai_flags.
19625 (parse_option): Handle 'i' option to clear idn_flags.
19626
5f24d53a
UD
19627 * malloc/malloc.c (_int_free): Possible race in the most recently
19628 added check. Only act on the data if no current modification
19629 happened.
265bb1ce
UD
19630
19631See ChangeLog.17 for earlier changes.