]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix order of bug list in NEWS and remove duplicate entry.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b87c4b24
JM
12012-09-25 Joseph Myers <joseph@codesourcery.com>
2
d032e0d2
JM
3 [BZ #13629]
4 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5 specially.
6 * math/s_clog10.c (__clog10): Likewise.
7 * math/s_clog10f.c (__clog10f): Likewise.
8 * math/s_clog10l.c (__clog10l): Likewise.
9 * math/s_clogf.c (__clogf): Likewise.
10 * math/s_clogl.c (__clogl): Likewise.
11 * math/Makefile (libm-calls): Add x2y2m1.
12 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13 (__x2y2m1): Likewise.
14 (__x2y2m1l): Likewise.
15 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24
b87c4b24
JM
25 [BZ #14621]
26 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27 int as type of variable DEPTH.
28 (glob): Use size_t instead of int as type of variables NEWCOUNT
29 and OLD_PATHC.
30
6d3bf199
LD
312012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32
22bf5c17
LD
33 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34 Add s_sincosf-sse2.
35 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38 macros for using routine as __sincosf_ia32.
39 Use macro for function declaration and weak_alias.
40 * sysdeps/i386/fpu/libm-test-ulps: Update.
41
42 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44
45 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
46 subnormal argument.
47 * math/s_cexpf.c (__cexpf): Likewise.
48 * math/s_csinf.c (__csinf): Likewise.
49 * math/s_csinhf.c (__csinhf): Likewise.
50 * math/s_ctanf.c (__ctanf): Likewise.
51 * math/s_ctanhf.c (__ctanhf): Likewise.
52 * math/s_ccosh.c (__ccoshf): Likewise.
53 * math/s_cexp.c (__cexpl): Likewise.
54 * math/s_csin.c (__csin): Likewise.
55 * math/s_csinh.c (__csinh): Likewise.
56 * math/s_ctan.c (__ctan): Likewise.
57 * math/s_ctanh.c (ctanh): Likewise.
58 * math/s_ccoshl.c (__ccoshl): Likewise.
59 * math/s_cexpl.c (__cexpl): Likewise.
60 * math/s_csinl.c (__csinl): Likewise.
61 * math/s_csinhl.c (__csinhl): Likewise.
62 * math/s_ctanl.c (__ctanl): Likewise.
63 * math/s_ctanhl.c (__ctanhl): Likewise.
64
203e5603
JM
652012-09-25 Joseph Myers <joseph@codesourcery.com>
66
67 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69 (_IO_off_t): Define to __off_t, not _G_off_t.
70 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72 (_IO_wint_t): Define to wint_t, not _G_wint_t.
73 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74 type of __dummy and __dummy2 fields.
75 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76 (_G_ssize_t): Likewise.
77 (_G_off_t): Likewise.
78 (_G_pid_t): Likewise.
79 (_G_uid_t): Likewise.
80 (_G_wchar_t): Likewise.
81 (_G_wint_t): Likewise.
82 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
83 (_G_ssize_t): Likewise.
84 (_G_off_t): Likewise.
85 (_G_pid_t): Likewise.
86 (_G_uid_t): Likewise.
87 (_G_wchar_t): Likewise.
88 (_G_wint_t): Likewise.
89 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
90 (_G_ssize_t): Likewise.
91 (_G_off_t): Likewise.
92 (_G_pid_t): Likewise.
93 (_G_uid_t): Likewise.
94 (_G_wchar_t): Likewise.
95 (_G_wint_t): Likewise.
96
9fab36eb
SP
972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
98
99 * malloc/arena.c: Include malloc-sysdep.h.
100 (shrink_heap): Use check_may_shrink_heap to decide if madvise
101 is sufficient to shrink the heap or an unmap is needed.
102 * sysdeps/generic/malloc-sysdep.h: New file. Define
103 new function check_may_shrink_heap.
104 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
105 new function check_may_shrink_heap.
106
2b4f00d1
SP
1072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
108
109 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
110 comments.
111
9a9028b1
DL
1122012-09-24 Dmitry V. Levin <ldv@altlinux.org>
113
57c69bef
DL
114 * catgets/test-gencat.sh: Add "set -e".
115 * elf/tst-pathopt.sh: Likewise.
116 * grp/tst_fgetgrent.sh: Likewise.
117 * iconvdata/run-iconv-test.sh: Likewise.
118 * intl/tst-gettext.sh: Likewise.
119 * intl/tst-gettext2.sh: Likewise.
120 * intl/tst-gettext4.sh: Likewise.
121 * intl/tst-gettext6.sh: Likewise.
122 * intl/tst-translit.sh: Likewise.
123 * io/ftwtest-sh: Likewise.
124 * libio/test-freopen.sh: Likewise.
125 * malloc/tst-mtrace.sh: Likewise.
126 * posix/globtest.sh: Likewise.
127 * posix/tst-getconf.sh: Likewise.
128 * posix/wordexp-tst.sh: Likewise.
129 * stdio-common/tst-printf.sh: Likewise.
130 * stdio-common/tst-unbputc.sh: Likewise.
131 * stdlib/tst-fmtmsg.sh: Likewise.
132 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
133 * catgets/Makefile: Do not specify -e option when running
134 testsuite shell scripts.
135 * elf/Makefile: Likewise.
136 * grp/Makefile: Likewise.
137 * iconvdata/Makefile: Likewise.
138 * intl/Makefile: Likewise.
139 * io/Makefile: Likewise.
140 * libio/Makefile: Likewise.
141 * malloc/Makefile: Likewise.
142 * posix/Makefile: Likewise.
143 * stdio-common/Makefile: Likewise.
144 * stdlib/Makefile: Likewise.
145 * sysdeps/x86_64/Makefile: Likewise.
146
9a9028b1
DL
147 * io/ftwtest-sh: Add copyright header.
148 * posix/globtest.sh: Likewise.
149 * posix/tst-getconf.sh: Likewise.
150 * posix/wordexp-tst.sh: Likewise.
151 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
152
ced6f16e
L
1532012-09-24 H.J. Lu <hongjiu.lu@intel.com>
154
94b32c39
L
155 [BZ #13679]
156 * Makeconfig (+link): Defined as $(+link-static) if
157 $(build-shared) isn't yes.
158 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
159 isn't yes.
160 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
161
189e935b
L
162 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
163
ced6f16e
L
164 [BZ #14562]
165 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
166 new chunk size with MALLOC_ALIGN_MASK.
167
a9f8e53a
JM
1682012-09-24 Joseph Myers <joseph@codesourcery.com>
169
170 [BZ #5044]
171 * stdio-common/printf_fphex.c: Include <stdbool.h> and
172 <rounding-mode.h>.
173 (__printf_fphex): Determine rounding using get_rounding_mode and
174 round_away.
175 * stdio-common/tst-printf-round.c (struct hex_test): New
176 structure.
177 (hex_tests): New variable.
178 (test_hex_in_one_mode): New function.
179 (do_test): Also run tests for hex float output.
180
43153109
JM
1812012-09-21 Joseph Myers <joseph@codesourcery.com>
182
183 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
184 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
185 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
186 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
187 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
188 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
189 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
190 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
191
8a26625d
JM
1922012-09-20 Joseph Myers <joseph@codesourcery.com>
193
194 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
195 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
196 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
197 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
198
f3fd569c
DL
1992012-09-19 Dmitry V. Levin <ldv@altlinux.org>
200
201 [BZ #14579]
202 * elf/rtld.c (dl_main): Limit the check for self loading to normal
203 mode only.
204 * elf/tst-rtld-load-self.sh: New test.
205 * elf/Makefile: Run it.
206
63bbedd4
JM
2072012-09-18 Joseph Myers <joseph@codesourcery.com>
208
209 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
210 (tst-writev-ENV): Remove.
211 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
212
626f8b6a
CM
2132012-09-17 Chris Metcalf <cmetcalf@tilera.com>
214
215 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
216
b7aaa4d6
JM
2172012-09-17 Joseph Myers <joseph@codesourcery.com>
218
219 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
220 unconditional.
221 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
222 Likewise.
223 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
224 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
225 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
226 Likewise.
227
65513990
L
2282012-09-14 H.J. Lu <hongjiu.lu@intel.com>
229
230 [BZ #14587]
231 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
232 * config.make.in (have-cpp-asm-debuginfo): Removed.
233 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
234 * configure: Regenerated.
235
784761be
JM
2362012-09-14 Joseph Myers <joseph@codesourcery.com>
237
238 [BZ #5044]
239 * stdio-common/printf_fp.c: Include <stdbool.h> and
240 <rounding-mode.h>.
241 (___printf_fp): Determine rounding using get_rounding_mode and
242 round_away.
243 * stdio-common/tst-printf-round.c: New file.
244 * stdio-common/Makefile (tests): Add tst-printf-round.
245 (link-libm): New variable.
246 ($(objpfx)tst-printf-round): Depend in $(link-libm).
247
9503345f
L
2482012-09-13 H.J. Lu <hongjiu.lu@intel.com>
249
250 [BZ #14576]
251 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
252 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
253 Likewise.
254 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
255 Likewise.
256
ad35fc00
JM
2572012-09-13 Joseph Myers <joseph@codesourcery.com>
258
259 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
260 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
261 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
262 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
263
6c9b0f68
JM
2642012-09-12 Joseph Myers <joseph@codesourcery.com>
265
266 [BZ #14518]
267 * include/rounding-mode.h: New file.
268 * sysdeps/generic/get-rounding-mode.h: Likewise.
269 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
270 * stdlib/strtod_l.c: Include <rounding-mode.h>.
271 (MAX_VALUE): New macro.
272 (MIN_VALUE): Likewise.
273 (overflow_value): New function.
274 (underflow_value): Likewise.
275 (round_and_return): Use overflow_value and underflow_value to
276 determine return values in overflow and underflow cases. Use
277 round_away to determine rounding depending on rounding mode.
278 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
279 determine return values in overflow and underflow cases.
280 * stdlib/tst-strtod-round.c: Include <fenv.h>.
281 (struct test_results): New structure.
282 (struct test): Use struct test_results to store expected results
283 for all rounding modes.
284 (TEST): Include expected results for all rounding modes.
285 (test_in_one_mode): New function.
286 (do_test): Use test_in_one_mode to compute and check results.
287 Check results for all rounding modes.
288 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
289 $(link-libm).
290
19fcedd5
AM
2912012-12-09 Allan McRae <allan@archlinux.org>
292
293 * sysdeps/i386/fpu/libm-test-ulps: Update
294
8bbfd2f1
JM
2952012-09-11 Joseph Myers <joseph@codesourcery.com>
296
297 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
298 (_G_int32_t): Likewise.
299 (_G_uint16_t): Likewise.
300 (_G_uint32_t): Likewise.
301 (_G_HAVE_BOOL): Likewise.
302 (_G_HAVE_ATEXIT): Likewise.
303 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
304 (_G_HAVE_IO_FILE_OPEN): Likewise.
305 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
306 (_G_int32_t): Likewise.
307 (_G_uint16_t): Likewise.
308 (_G_uint32_t): Likewise.
309 (_G_HAVE_BOOL): Likewise.
310 (_G_HAVE_ATEXIT): Likewise.
311 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
312 (_G_HAVE_IO_FILE_OPEN): Likewise.
313 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
314 (_G_int32_t): Likewise.
315 (_G_uint16_t): Likewise.
316 (_G_uint32_t): Likewise.
317 (_G_HAVE_BOOL): Likewise.
318 (_G_HAVE_ATEXIT): Likewise.
319 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
320 (_G_HAVE_IO_FILE_OPEN): Likewise.
321
b1dc5912
L
3222012-09-11 H.J. Lu <hongjiu.lu@intel.com>
323
324 * csu/libc-tls.c: Update copyright years.
325
0e886ef9
JM
3262012-09-10 Joseph Myers <joseph@codesourcery.com>
327
28361c5e
JM
328 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
329 [!_G_USING_THUNKS]: Remove conditional code.
330 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
331 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
332
0e886ef9
JM
333 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
334 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
335 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
336 (_G_VTABLE_LABEL_PREFIX): Likewise.
337 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
338 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
339 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
340 (_G_VTABLE_LABEL_PREFIX): Likewise.
341 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
342 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
343 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
344 (_G_VTABLE_LABEL_PREFIX): Likewise.
345 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
346
bcba7aa2
L
3472012-09-10 H.J. Lu <hongjiu.lu@intel.com>
348
349 * libio/Makefile: Include ../Makeconfig before tests.
350 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
351 only if $(build-shared) is yes.
352
06585ee8
L
353 * iconv/gconv_db.c: Update copyright years.
354
80ccd52c
LD
3552012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
356
357 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
358 unwind info if defined PIC. Fix special cases description.
359 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
360
361 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
362 DP_HI_MASK entry.
363 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
364
691bc9c1
L
3652012-09-07 H.J. Lu <hongjiu.lu@intel.com>
366
3d9b46b3
L
367 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
368
de2139a9
L
369 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
370 is NULL.
371
5ca78dd0
L
372 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
373 (LDLIBS-tst-chk4): This.
374 (LDFLAGS-tst-chk5): Renamed to ...
375 (LDLIBS-tst-chk5): This.
376 (LDFLAGS-tst-chk6): Renamed to ...
377 (LDLIBS-tst-chk6): This.
378 (LDFLAGS-tst-lfschk4): Renamed to ...
379 (LDLIBS-tst-lfschk4): This.
380 (LDFLAGS-tst-lfschk5): Renamed to ...
381 (LDLIBS-tst-lfschk5): This.
382 (LDFLAGS-tst-lfschk6): Renamed to ...
383 (LDLIBS-tst-lfschk6): This.
384
691bc9c1
L
385 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
386 on $(common-objpfx)soversions.mk.
387
65cafb1c
JM
3882012-09-07 Joseph Myers <joseph@codesourcery.com>
389
390 [BZ #10014]
391 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
392 example host name.
393
c78ab094
SP
3942012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * malloc/arena.c (arena_get_retry): New function that gets
397 another arena for the caller to try its request on.
398 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
399 current arena cannot fulfill the request.
400 (__libc_memalign): Likewise.
401 (__libc_memalign): Likewise.
402 (__libc_pvalloc): Likewise.
403 (__libc_calloc): Likewise.
404
01f49f59
JT
4052012-09-05 John Tobey <john.tobey@gmail.com>
406
407 [BZ #13542]
408 * manual/arith.texi (Operations on Complex): Fix description
409 of carg branch cut.
410
4c23fed5
JM
4112012-09-06 Joseph Myers <joseph@codesourcery.com>
412
1d3c8572
JM
413 [BZ #10014]
414 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
415 host name.
416
4c23fed5
JM
417 [BZ #10038]
418 * manual/memory.texi (Memory): Make order of menu items match
419 order of sections.
420
04570aaa
L
4212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
422
423 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
424 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
425 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
426
b80af2f4
L
4272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
428
429 * csu/libc-tls.c (static_dtv): Renamed to ...
430 (_dl_static_dtv): This. Make it global.
431 (_dl_initial_dtv): Removed.
432 (__libc_setup_tls): Updated.
433 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
434 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
435 DL_INITIAL_DTV.
436
2abe9f15
PM
4372012-09-06 Petr Machata <pmachata@redhat.com>
438
439 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
440 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
441 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
442 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
443
0948c3af
L
4442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
445
446 [BZ #14545]
447 * csu/libc-tls.c (_dl_initial_dtv): New variable.
448 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
449 freeing dtv[-1].
450
a5055ad1
L
4512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
452
453 [BZ #14544]
454 * Makeconfig (link-static-before-libc): Replace $(+prector)
455 with $(+prectorT).
456 (link-static-after-libc): Replace $(+postctor) with
457 $(+postctorT).
458 (link-bounded): Replace $(+prector)/$(+postctor) with
459 $(+prectorT)/$(+postctorT).
460 (+prectorT): New macro.
461 (+postctorT): Likewise.
462
ed8c2ecd
JM
4632012-09-06 Joseph Myers <joseph@codesourcery.com>
464
465 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
466 (round_str): Handle values above the maximum for IBM long double
467 as inexact.
468 * stdlib/tst-strtod-round.c (tests): Regenerated.
469
14c996c8
AK
4702012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
471
472 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
473 assembler flag.
474 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
475 zarch_nohighgprs around the zarch optimized routines.
476 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
477 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
478 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
479 for zarch.
480
430d6ce6
DM
4812012-09-05 David S. Miller <davem@davemloft.net>
482
483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
484
ff04dda4
DM
485 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
486 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
487 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
488 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
489 entries.
490
24d4e01b
AO
4912012-09-05 Alexandre Oliva <aoliva@redhat.com>
492
493 * malloc/arena.c: Fold copyright years.
494 * malloc/mcheck.c, malloc/memusage.c: Likewise.
495
61d58174
AO
4962012-09-05 Alexandre Oliva <aoliva@redhat.com>
497
498 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
499
20196a5e
AO
5002012-09-05 Alexandre Oliva <aoliva@redhat.com>
501
502 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
503
5c447383
AO
5042012-09-05 Alexandre Oliva <aoliva@redhat.com>
505
506 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
507 change internal state upon failure.
508
fad64255
AO
5092012-09-05 Alexandre Oliva <aoliva@redhat.com>
510
511 * malloc/mcheck.c (mcheck_check_all): Fix typo.
512 * malloc/memusage.c (mmap): Likewise.
513 (mmap64, mremap): Likewise. Adjust name in comment.
514
1ffb8c90
SP
5152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * libio/fileops.c: Fix typos in comments.
518 * libio/oldfileops.c: Likewise.
519 * libio/wfileops.c: Likewise.
520
6ef9cc37
SP
5212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
522
523 [BZ #1349]
524 * malloc/Makefile (tests): Add tst-malloc-usable test case.
525 (tst-malloc-usable-ENV): Set environment for test case.
526 * malloc/hooks.c (malloc_check_get_size): New function to get
527 requested size.
528 * malloc/malloc.c (musable): Use malloc_check_get_size.
529 * malloc/tst-malloc-usable.c: New test case.
530
4d038ae3
AS
5312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
532
533 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
534
c4e85184
AM
5352012-09-05 Allan McRae <allan@archlinux.org>
536
b9dafc56 537 [BZ #13966]
c4e85184
AM
538 * configure.in (CXX_SYSINCLUDES): Use compiler output to
539 determine header location.
540 * configure: Regenerated.
541
e1343020
AS
5422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
543
544 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
545 float format.
546 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
547 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
548 format.
e1343020
AS
549 (test): Regenerate.
550
0a9f1987
DM
5512012-09-04 David S. Miller <davem@davemloft.net>
552
553 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
554 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
555 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
556
29237804
FW
5572012-09-04 Florian Weimer <fweimer@redhat.com>
558
559 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
560 failures.
561
edb3cb88
FW
562 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
563
60160d83
JM
5642012-09-04 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #9914]
567 * libio/iogetdelim.c: Include <limits.h>.
568 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
569 + len + 1 would overflow.
570
bcd6c8dc
AJ
5712012-09-03 Andreas Jaeger <aj@suse.de>
572
573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
574 * sysdeps/i386/fpu/libm-test-ulps: Update.
575
4ffffbd2
LD
5762012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
577
578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
579 Add s_sinf-sse2, s_conf-sse2.
580
581 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
583 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
584 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
585
586 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
587 for using routine as __sinf_ia32.
588 Use macro for function declaration and weak_alias.
589 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
590 for using routine as __cosf_ia32.
591 Use macro for function declaration and weak_alias.
592
593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
594 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
595
596 * sysdeps/x86_64/fpu/s_sinf.S: New file.
597 * sysdeps/x86_64/fpu/s_cosf.S: New file.
598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
599
600 * math/libm-test.inc (cos_test): Add more test cases.
601 (sin_test): Likewise.
602 (sincos_test): Likewise.
603
511fa286
AK
6042012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
605
606 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
607 (IFUNC_RESOLVE): Make pointers to the specialized implementations
608 hidden.
609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
610
5f30cfec
L
6112012-09-02 H.J. Lu <hongjiu.lu@intel.com>
612
613 [BZ #14538]
614 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
615 first element of the GOT.
616 (elf_machine_load_address): Return the difference between
617 the runtime address of _DYNAMIC and elf_machine_dynamic ().
618
0786794f
AM
6192012-09-01 Allan McRae <allan@archlinux.org>
620
5f30cfec
L
621 [BZ #13412]
622 * configure.in (AWK): Require gawk version 3.0 or later.
623 * configure: Regenerated.
0786794f 624
26889eac
JM
6252012-09-01 Joseph Myers <joseph@codesourcery.com>
626
627 * sysdeps/unix/sysv/linux/kernel-features.h
628 (__ASSUME_POSIX_CPU_TIMERS): Remove.
629 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
630 [__NR_clock_getres]: Make code unconditional.
631 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
632 (clock_getcpuclockid): Remove code left unreachable by removal of
633 conditionals.
634 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
635 code unconditional.
636 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
638 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
639 Make code unconditional.
640 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
641 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
642 * sysdeps/unix/sysv/linux/clock_settime.c
643 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
644 conditional code.
645 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
647
d22e28b0
L
6482012-08-29 H.J. Lu <hongjiu.lu@intel.com>
649
650 [BZ #14476]
651 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
652 scripts/test-installation.pl.
653
654 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
655 and $ld_so_version if it is set.
656
050af9c4
SP
6572012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
658
659 [BZ #14516]
660 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
661 failure if reading from procfs failed.
662 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
663
ad845c0b
JM
6642012-08-27 Joseph Myers <joseph@codesourcery.com>
665
666 * sysdeps/unix/sysv/linux/kernel-features.h
667 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
668 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
669 Remove conditional code.
670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
671 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
672 Remove conditional code.
673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
674 * sysdeps/unix/sysv/linux/i386/fxstat.c
675 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
677 * sysdeps/unix/sysv/linux/i386/fxstatat.c
678 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
680 * sysdeps/unix/sysv/linux/i386/lxstat.c
681 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
683 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
684 Remove conditional code.
685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
686 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
687 Remove conditional code.
688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
689 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
690 <kernel-features.h>.
691 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
692 Remove.
693 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
694 Remove conditional code.
695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
696 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
697 Remove conditional.
698
5dbf56af
MF
6992012-08-27 Mike Frysinger <vapier@gentoo.org>
700
701 [BZ #5400]
702 * NEWS: Add fixed bug number.
703
d6e70f43
JM
7042012-08-27 Joseph Myers <joseph@codesourcery.com>
705
7efb4737
JM
706 [BZ #14519]
707 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
708 underflowing exponent in case of negative sign.
709 * stdlib/tst-strtod-round-data: Add more tests.
710 * stdlib/tst-strtod-round.c (tests): Regenerated.
711
af92131a
JM
712 [BZ #3479]
713 * stdlib/strtod_l.c (NDIG): Remove.
714 (HEXNDIG): Likewise.
715 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
716 smallest representable value.
717 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
718 lie within an exact representation of 1/2 ulp of the result.
719 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
720 unconditionally.
721 (TENS_P9_IDX): Define unconditionally.
722 (TENS_P9_SIZE): Likewise.
723 (TENS_P10_IDX): Likewise.
724 (TENS_P10_SIZE): Likewise.
725 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
726 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
727 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
728 entries for 10^2^13 and 10^2^14.
729 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
730 (TENS_P13_IDX): Define.
731 (TENS_P13_SIZE): Likewise.
732 (TENS_P14_IDX): Likewise.
733 (TENS_P14_SIZE): Likewise.
734 (_fpioconst_pow10): Change array size to
735 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
736 unconditional.
737 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
738 1024]: Add entries for 10^2^13 and 10^2^14.
739 [LAST_POW10 > _LAST_POW10]: Remove #error.
740 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
741 (_fpioconst_pow10): Change array size to
742 FPIOCONST_POW10_ARRAY_SIZE.
743 * stdlib/gen-fpioconst.c: New file.
744 * stdlib/gen-tst-strtod-round.c: Likewise.
745 * stdlib/tst-strtod-round-data: Likewise.
746 * stdlib/tst-strtod-round.c: Likewise.
747 * stdlib/Makefile (tests): Add tst-strtod-round.
748
d6e70f43
JM
749 [BZ #14459]
750 * stdlib/strtod_l.c: Include <stdint.h>.
751 (NDEBUG): Do not define.
752 (round_and_return): Change EXPONENT parameter to type intmax_t.
753 Rearrange calculations to avoid internal overflow possibilities.
754 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
755 Rearrange calculations to avoid internal overflow possibilities.
756 Assert that number fits inside MPNSIZE limbs.
757 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
758 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
759 calculations and add assertions to avoid internal overflow
760 possibilities. Add casts to avoid signed/unsigned operations.
761 * stdlib/tst-strtod-overflow.c: New file.
762 * stdlib/Makefile (tests): Add tst-strtod-overflow.
763
1f529f7d
MP
7642012-08-25 Marek Polacek <polacek@redhat.com>
765
766 * time/time.h: Fix some typos in comments.
767
59a629f1
RM
7682012-08-23 Roland McGrath <roland@hack.frob.com>
769
770 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
771 * posix/tst-rfc3484-2.c: Likewise.
772 * posix/tst-rfc3484-3.c: Likewise.
773
d3bafbc9
SM
7742012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
775
776 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
777 (EF_ARM_ABI_FLOAT_HARD): Likewise.
778
4efcc022
JM
7792012-08-23 Joseph Myers <joseph@codesourcery.com>
780
781 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
782 #include of fxstatat64.c.
783
3cc3ef96
RM
7842012-08-22 Roland McGrath <roland@hack.frob.com>
785
f04e2132
RM
786 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
787 * shadow/getspent_r.c: Likewise.
788 * shadow/getspnam.c: Likewise.
789 * shadow/getspnam_r.c: Likewise.
790 * gshadow/getsgent.c: Likewise.
791 * gshadow/getsgent_r.c: Likewise.
792 * gshadow/getsgnam.c: Likewise.
793 * gshadow/getsgnam_r.c: Likewise.
794 * inet/getnetbyad.c: Likewise.
795 * inet/getnetbyad_r.c: Likewise.
796 * inet/getnetbynm.c: Likewise.
797 * inet/getnetbynm_r.c: Likewise.
798 * inet/getnetent.c: Likewise.
799 * inet/getnetent_r.c: Likewise.
800 * inet/getproto.c: Likewise.
801 * inet/getproto_r.c: Likewise.
802 * inet/getprtent.c: Likewise.
803 * inet/getprtent_r.c: Likewise.
804 * inet/getprtname.c: Likewise.
805 * inet/getprtname_r.c: Likewise.
806 * inet/getrpcbyname.c: Likewise.
807 * inet/getrpcbyname_r.c: Likewise.
808 * inet/getrpcbynumber.c: Likewise.
809 * inet/getrpcbynumber_r.c: Likewise.
810 * inet/getrpcent.c: Likewise.
811 * inet/getrpcent_r.c: Likewise.
812 * inet/getaliasent.c: Likewise.
813 * inet/getaliasent_r.c: Likewise.
814 * inet/getaliasname.c: Likewise.
815 * inet/getaliasname_r.c: Likewise.
816 * nscd/getgrgid_r.c: Likewise.
817 * nscd/getgrnam_r.c: Likewise.
818 * nscd/gethstbyad_r.c: Likewise.
819 * nscd/gethstbynm3_r.c: Likewise.
820 * nscd/getpwnam_r.c: Likewise.
821 * nscd/getpwuid_r.c: Likewise.
822 * nscd/getsrvbynm_r.c: Likewise.
823 * nscd/getsrvbypt_r.c: Likewise.
824 * nscd/gai.c: Likewise.
825
c53d909c
RM
826 * configure.in (build_nscd): New substituted variable, set
827 by --disable-build-nscd and defaults to $use_nscd.
828 * configure: Regenerated.
829 * config.make.in (build-nscd): New substituted variable.
830 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
831 Change conditional to require [$(build-nscd) = yes] as well.
832 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
833
3cc3ef96
RM
834 [BZ# 13696]
835 * configure.in (use_nscd): New substituted variable, set by
836 --disable-nscd. If enabled, define USE_NSCD.
837 * configure: Regenerated.
838 * config.h.in: Add USE_NSCD.
839 * config.make.in (use-nscd): New substituted variable.
840 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
841 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
842 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
843 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
844 (CFLAGS-getgrnam_r.c): Likewise.
845 (CFLAGS-initgroups.c): Likewise.
846 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
847 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
848 Variables removed.
849 * inet/getnetgrent_r.c
850 (nscd_setnetgrent): New function, broken out of ...
851 (setnetgrent): ... here. Call it.
852 (innetgr): Conditionalize nscd bits on [USE_NSCD].
853 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
854 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
855 * nscd/Makefile (routines, aux): Move definitions after include of
856 Makeconfig. Conditionalize on [$(use-nscd) != no].
857 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
858 Conditionalize on [USE_NSCD].
859 (is_nscd, nscd_init_cb): Likewise.
860 (nss_load_library): Conditionalize init callback on [USE_NSCD].
861 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
862 * nss/nss_db/db-init.c: Likewise.
863 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
864 [USE_NSCD].
865 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
866 (make_request): Use it.
867 (cache_valid_p): New function.
868 (__check_pf): Use it.
869 * NEWS: Add item for --disable-nscd.
870
07e51550
DL
8712012-08-22 Dmitry V. Levin <ldv@altlinux.org>
872
873 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
874 to support sed >= 4.2.1-20-ga9bf076.
875 * configure: Regenerated.
876
35a5b08b
RM
8772012-08-22 Roland McGrath <roland@hack.frob.com>
878
879 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
880 Conditionalize whole body on [IREL].
881
8479f23a
JL
8822012-08-22 Jeff Law <law@redhat.com>
883
884 [BZ #14505]
885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
886 if the family is PF_UNSPEC.
887
48da0b21
MF
8882012-08-22 Mike Frysinger <vapier@gentoo.org>
889
890 * Makerules (lib-version): Rename from V.
891 (install-lib-nosubdir): Change V to lib-version.
892
15d0da8c
WS
8932012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
894
895 [BZ #14252]
896 * powerpc32/power6/wcschr.c: New file.
897 * powerpc32/power6/wcscpy.c: New file.
898 * powerpc32/power6/wcsrchr.c: New file.
899 * powerpc64/power6/wcschr.c: New file.
900 * powerpc64/power6/wcscpy.c: New file.
901 * powerpc64/power6/wcsrchr.c: New file.
902
bcca0895
MK
9032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
904
905 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
906 (two_way_short_needle): Use it.
5a4aaa33
RM
907 * string/strstr.c (AVAILABLE1_USES_J): Define.
908 * string/strcasestr.c: Likewise.
99677e57
MK
909
910 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
911 array references.
912 * string/strcasestr.c (TOLOWER): Make side-effect safe.
913
400726de
MK
914 [BZ #11607]
915 * NEWS: Add an entry.
916 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
917 define their defaults.
918 (two_way_short_needle): Detect end-of-string on-the-fly.
919 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
920 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
921 * string/bug-strcasestr1.c: New test.
922 * string/Makefile: Run it.
923
20a71f2c
MK
9242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
925
926 [BZ #11607]
927 * string/str-two-way.h (two_way_short_needle): Optimize matching of
928 the first character.
929
21ad0558
RM
9302012-08-21 Roland McGrath <roland@hack.frob.com>
931
932 * csu/elf-init.c (__libc_csu_irel): Function removed.
933 * csu/libc-start.c (apply_irel): New function.
934 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
935
0e1d9911
JM
9362012-08-21 Joseph Myers <joseph@codesourcery.com>
937
938 * sysdeps/unix/sysv/linux/kernel-features.h
939 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
940 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
941 <kernel-features.h>.
942 [__NR_fadvise64_64]: Make code unconditional.
943 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
944 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
945 !__NR_fadvise64_64)]: Likewise.
946 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
947 !__NR_fadvise64_64))]: Likewise.
948 [__NR_fadvise64]: Make code unconditional.
949 [!__NR_fadvise64]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
951 <kernel-features.h>.
952 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
953 unconditional.
954 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
955 conditional code.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
957 not include <kernel-features.h>.
958 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
959 unconditional.
960 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
961 conditional code.
962 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
963 include <kernel-features.h>.
964 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
965 unconditional.
966 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
967 conditional code.
968
14a50c9d
WS
9692012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
970
971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
972 slight instruction rearrangements per scrollpipe analysis.
973 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
974
c0f4faf0
RM
9752012-08-20 Roland McGrath <roland@hack.frob.com>
976
696da859
RM
977 * manual/syslog.texi (syslog; vsyslog, closelog):
978 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
979 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
980
c0f4faf0
RM
981 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
982 DSOCAPS to match condition on defining it.
983
348363b2
JM
9842012-08-20 Joseph Myers <joseph@codesourcery.com>
985
a35cbf28
JM
986 * sysdeps/unix/sysv/linux/kernel-features.h
987 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
989 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
990 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
992 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
993 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
995 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
996 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
997
445f7ecd
JM
998 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
999 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1000
348363b2
JM
1001 * sysdeps/unix/sysv/linux/kernel-features.h
1002 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1003 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1004 unconditional.
1005 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1006 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1007 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1008 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1009 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1010 Make code unconditional.
1011 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1012 (__mmap64) [!__NR_mmap2]: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1014 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1015 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1016 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1017 [__NR_mmap2]: Make code unconditional.
1018 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1019 (__mmap64) [!__NR_mmap2]: Likewise.
1020
bc5bc0e5
AK
10212012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1022
1023 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1024
88d506de
AJ
10252012-08-18 Andreas Jaeger <aj@suse.de>
1026
1027 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1028
493387d2
MF
10292012-08-18 Mike Frysinger <vapier@gentoo.org>
1030
1031 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1032 * include/unistd.h (__have_sock_cloexec): Likewise.
1033 (__have_pipe2): Likewise.
1034 (__have_dup3): Likewise.
1035
a277af22
MF
10362012-08-18 Mike Frysinger <vapier@gentoo.org>
1037
1038 [BZ #9685]
1039 * include/unistd.h (__have_pipe2): Change define into an extern int.
1040 (__have_dup3): Likewise.
1041 * socket/have_sock_cloexec.c: Include fcntl.h.
1042 (__have_pipe2): New variable.
1043 (__have_dup3): Likewise.
1044
fdab8fd3
MF
10452012-08-17 Mike Frysinger <vapier@gentoo.org>
1046
1047 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1048
31035e80
MP
10492012-08-17 Marek Polacek <polacek@redhat.com>
1050
1051 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1052 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1053
3bd9e993
RM
10542012-08-17 Roland McGrath <roland@hack.frob.com>
1055
c91c505f
RM
1056 * configure.in: Add AC_SUBST for sysheaders.
1057 * configure: Regenerated.
1058 * config.make.in (sysheaders): New substituted variable.
1059
7c6f9d53
RM
1060 * sysdeps/unix/mkfifo.c: Moved ...
1061 * sysdeps/posix/mkfifo.c: ... here.
1062 * sysdeps/unix/mkfifoat.c: Moved ...
1063 * sysdeps/posix/mkfifoat.c: ... here.
1064
1065 * sysdeps/unix/utime.c: Moved ...
1066 * sysdeps/posix/utime.c: ... here.
1067
1068 * sysdeps/unix/time.c: Moved ...
1069 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1070 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1072
1073 * sysdeps/unix/nice.c: Moved ...
1074 * sysdeps/posix/nice.c: ... here.
1075
1076 * sysdeps/unix/alarm.c: Moved ...
1077 * sysdeps/posix/alarm.c: ... here.
1078
3bd9e993
RM
1079 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1080
d1f09384
JL
10812012-08-17 Jeff Law <law@redhat.com>
1082
1083 * intl/Makefile (codeset_mo): New variable.
1084 ($(codeset_mo)): New target.
1085 (tst-codeset.out): Depend on that. Remove explicit rule.
1086 (tst-gettext3.out, tst-gettext5.out): Likewise.
1087 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1088 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1089 * intl/tst-codeset.sh: Remove.
1090 * intl/tst-gettext3.sh: Likewise.
1091 * intl/tst-gettext5.sh: Likewise.
1092
2ae1ae5c
RM
10932012-08-17 Roland McGrath <roland@hack.frob.com>
1094
c31fdb83
RM
1095 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1096 * sysdeps/unix/syscalls.list: ... here.
1097
a0844057
RM
1098 * sysdeps/posix/getaddrinfo.c
1099 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1100 (gaiconf_init, gaiconf_reload): Use them.
1101 [!_STATBUF_ST_NSEC]
1102 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1103 Define using time_t rather than struct timespec.
1104
750c1f2a
RM
1105 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1106 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1107 Macros removed.
1108 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1109 [!NO_THREADS].
1110 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1111 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1112 Likewise.
1113
2ae1ae5c
RM
1114 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1115 __libc_cleanup_push argument.
1116
e66a42f5
RM
1117 * bits/param.h: New file.
1118 * misc/sys/param.h: New file.
1119 * include/sys/param.h: New file.
1120 * misc/Makefile (headers): Add bits/param.h.
1121 * sysdeps/generic/sys/param.h: File removed.
1122 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1123 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1124 * sysdeps/mach/hurd/bits/param.h: New file.
1125 * sysdeps/mach/hurd/sys/param.h: New file.
1126
b7c08a66
RM
1127 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1128 last change.
1129
b2e1c562
RM
1130 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1131 [_IO_MTSAFE_IO].
1132 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1133 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1134 New macros.
1135
c75ccd4c
RM
1136 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1137 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1138 rather than -D_IO_MTSAFE_IO conditionally.
1139 * stdio-common/Makefile (CPPFLAGS): Likewise.
1140 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1141 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1142 Use $(libio-mtsafe).
1143 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1144 of -D_IO_MTSAFE_IO.
1145 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1146 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1147 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1148 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1149 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1150 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1151 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1152 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1153 (CFLAGS-fread_u_chk.c): Likewise.
1154 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1155 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1156 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1157 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1158 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1159 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1160 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1161 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1162 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1163
1164 * libio/Makefile: Test [$(libc-reentrant) = yes]
1165 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1166
1167 * Makeconfig
1168 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1169 * sysdeps/pthread/configure: File removed.
1170 * sysdeps/pthread/Makeconfig: New file.
1171 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1172 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1173
d9195db8
GB
11742012-08-16 Gary Benson <gbenson@redhat.com>
1175
1176 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1177 unmapping the first object in a namespace.
1178
86466cd9
RM
11792012-08-16 Roland McGrath <roland@hack.frob.com>
1180
1181 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1182 (__internal_setnetgrent): ... this. Add internal_function to
1183 definition. Add libc_hidden_def.
1184 (setnetgrent): Update caller.
1185 (internal_endnetgrent): Renamed to ...
1186 (__internal_endnetgrent): ... this. Add internal_function to
1187 definition. Add libc_hidden_def.
1188 (endnetgrent): Update caller.
1189 (internal_getnetgrent_r): Renamed to ...
1190 (__internal_getnetgrent_r): ... this. Add internal_function to
1191 definition. Add libc_hidden_def.
1192 (__getnetgrent_r): Update caller.
1193 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1194
c3c8283c
JM
11952012-08-16 Joseph Myers <joseph@codesourcery.com>
1196
1197 * stdlib/longlong.h: Update from GCC.
1198
db1ee0a8
RM
11992012-08-16 Roland McGrath <roland@hack.frob.com>
1200
1201 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1202 on _QL, which is set by umul_ppmm but never used.
1203 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1204 variables, which are set by GMP macros but never used.
1205 * stdio-common/_itowa.c (_itowa): Likewise.
1206 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1207 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1208
30f69637
CD
12092012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1210
1211 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1212 struct La_sh_regs is not constant.
1213 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1214 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1215 and struct La_sparc64_regs are not constant.
1216
93a78ac4
JM
12172012-08-16 Joseph Myers <joseph@codesourcery.com>
1218
1219 * sysdeps/unix/sysv/linux/kernel-features.h
1220 (__ASSUME_POSIX_TIMERS): Remove.
1221 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1223 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1224 Make code unconditional.
1225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1226 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1227 Make code unconditional.
1228 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1229 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1230 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1231 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1232 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1233 Make code unconditional.
1234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1235 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1236 (__libc_missing_posix_timers): Remove.
1237
dd924cd7
RM
12382012-08-15 Roland McGrath <roland@hack.frob.com>
1239
4b4f2771
RM
1240 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1241 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1242
601c888b
RM
1243 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1244
176790a7
RM
1245 * elf/dl-sym.c: Include <stdlib.h>.
1246
329bc018
RM
1247 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1248 constants, which avoids warnings in 32-bit builds.
1249
e04e272d
RM
1250 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1251 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1252
952bf94a
RM
1253 * misc/lseek.c: File moved to ...
1254 * io/lseek.c: ... here.
1255
7c99b50a
RM
1256 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1257
dd924cd7
RM
1258 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1259 shifting LEN more than 31 bits at once.
1260
b3f479a8
LD
12612012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1262
1263 [BZ #14195]
8c4ae0d4
RM
1264 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1265 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1266 * string/test-strncasecmp.c (check1): Renamed to...
1267 (bz12205): ...this.
1268 (bz14195): Add new testcase for two empty input strings and N > 0.
1269 (test_main): Call new testcase, adapt for renamed function.
1270
9c55864e
AJ
12712012-08-15 Andreas Jaeger <aj@suse.de>
1272
1273 [BZ #14090]
1274 * crypt/md5test2.c: New test, based on test supplied by Serge
1275 Belyshev <belyshev@depni.sinp.msu.ru>.
1276 * crypt/Makefile (xtests): Add md5test-giant..
1277 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1278
02dcb6c5
PE
12792012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1280
1281 [BZ #14090]
1282 * crypt/md5.c (md5_process_block): Don't assume the buffer
1283 length is less than 2**32.
1284 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1285 length is less than 2**64.
1286
a3f95dcc
RM
12872012-08-15 Roland McGrath <roland@hack.frob.com>
1288
be75d758
RM
1289 * string/str-two-way.h: Include <sys/param.h>.
1290 (MAX): Macro removed.
1291
7312ca90
RM
1292 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1293 Move #define and #undef of memmove to just before and after
1294 including <string.h>.
1295
9a0a5486
RM
1296 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1297 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1298 and after including <string.h>. Move declarations of
1299 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1300 to before #include "string/memmove.c".
1301
67cc348d
RM
1302 * include/dirent.h: Declare __getdirentries.
1303
a3f95dcc
RM
1304 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1305 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1306
ca98e171
MF
13072012-08-14 Mike Frysinger <vapier@gentoo.org>
1308
1309 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1310 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1311 * sysdeps/i386/configure: Regenerated.
1312 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1313 STABS_CURRENT_FILE, and STABS_FUN.
1314 (END): Remove call to STABS_FUN_END.
1315 (STABS_CURRENT_FILE1): Delete.
1316 (STABS_CURRENT_FILE): Likewise.
1317 (STABS_FUN): Likewise.
1318 (STABS_FUN_END): Likewise.
1319 (STABS_FUN2): Likewise.
1320 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1321 * sysdeps/x86_64/configure: Regenerated.
1322
5908bf46
RM
13232012-08-14 Roland McGrath <roland@hack.frob.com>
1324
1325 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1326 * elf/dl-lookup.c: Likewise.
5908bf46 1327
f2c05b9e
JM
13282012-08-14 Joseph Myers <joseph@codesourcery.com>
1329
1330 * sysdeps/unix/sysv/linux/kernel-features.h
1331 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1332 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1333 unconditionally.
1334 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1335 unconditionally.
1336 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1337 condition on __ASSUME_CLONE_THREAD_FLAGS.
1338
e11f5155
AJ
13392012-08-14 Andreas Jaeger <aj@suse.de>
1340
1341 * sysdeps/i386/fpu/libm-test-ulps: Update.
1342
51a9ba86
MK
13432012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1344
2fdd4f78
AJ
1345 * include/atomic.h (atomic_exchange_and_add): Split into ...
1346 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1347 New atomic macros.
51a9ba86 1348
ba6cba9e
MT
13492012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1350
1351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1352
42443a47
JL
13532012-08-13 Jeff Law <law@redhat.com>
1354
1355 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1356 null byte in the output string.
1357
121dce05
JM
13582012-08-10 Joseph Myers <joseph@codesourcery.com>
1359
1360 * sysdeps/unix/sysv/linux/kernel-features.h
1361 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1362 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1363 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1365 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1366 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1367 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1368
bf51f568
JL
13692012-08-09 Jeff Law <law@redhat.com>
1370
1371 [BZ #13939]
1372 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1373 When avoid_arena is set, don't retry in the that arena. Pick the
1374 next one, whatever it might be.
1375 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1376 (arena_lock): Pass in new parameter to arena_get2.
1377 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1378 arena_get2.
1379 (__libc_malloc): Unify retrying after main arena failure with
1380 __libc_memalign version.
1381 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1382
f85fa270
L
13832012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1384
1385 [BZ #14166]
1386 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1387 to __redirect_strstr.
1388 (__strstr_sse42): Use typeof __redirect_strstr.
1389 (__strstr_ia32): Likewise.
1390 (__libc_strstr): New prototype.
1391 (strstr): Renamed to ...
1392 (__libc_strstr): This.
1393 (strstr): New strong alias of __libc_strstr.
1394 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1396 __redirect_time.
1397 Include <time.h>.
1398 (__libc_time): New prototype.
1399 (time_ifunc): Replace time with __libc_time.
1400 (time): New strong alias and hidden definition of __libc_time.
1401 (__GI_time): Remove strong alias.
1402 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1403 Include <stddef.h>.
1404 (memmove): Redefined to __redirect_memmove.
1405 (__memmove_sse2): Use typeof __redirect_memmove.
1406 (__memmove_ssse3): Likewise.
1407 (__memmove_ssse3_back): Likewise.
1408 (__libc_memmove): New prototype.
1409 (memmove): Renamed to ...
1410 (__libc_memmove): This.
1411 (memmove): New strong alias of __libc_memmove.
1412
33b4a91e
MS
14132012-08-08 Mark Salter <msalter@redhat.com>
1414
1415 * elf/elf.h
1416 (R_MN10300_TLS_GD): Define.
1417 (R_MN10300_TLS_LD): Likewise.
1418 (R_MN10300_TLS_LDO): Likewise.
1419 (R_MN10300_TLS_GOTIE): Likewise.
1420 (R_MN10300_TLS_IE): Likewise.
1421 (R_MN10300_TLS_LE): Likewise.
1422 (R_MN10300_TLS_DTPMOD): Likewise.
1423 (R_MN10300_TLS_DTPOFF): Likewise.
1424 (R_MN10300_TLS_TPOFF): Likewise.
1425 (R_MN10300_SYM_DIFF): Likewise.
1426 (R_MN10300_ALIGN): Likewise.
1427 (R_MN10300_NUM): Update.
1428
b36137f1
JM
14292012-08-08 Joseph Myers <joseph@codesourcery.com>
1430
1431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1432 Remove.
1433
cdd915fd
RM
14342012-08-08 Roland McGrath <roland@hack.frob.com>
1435
a2433aac
RM
1436 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1437
cdd915fd
RM
1438 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1439 sysdeps/unix -> sysdeps/posix move.
1440 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1441
bf9b740a
AM
14422012-08-07 Allan McRae <allan@archlinux.org>
1443
1444 [BZ #14303]
1445 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1446 (SUNOS_CPP): Likewise.
1447 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1448 not found.
1449 (open_input): Call CPP using execvp.
1450
93df14ee
JM
14512012-08-07 Joseph Myers <joseph@codesourcery.com>
1452
1453 * sysdeps/unix/sysv/linux/kernel-features.h
1454 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1455 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1456 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1457 (__ASSUME_WAITID_SYSCALL): Likewise.
1458 * sysdeps/unix/sysv/linux/dl-execstack.c
1459 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1460 code unconditional.
1461 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1462 conditional code.
1463 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1464 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1465 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1466 code.
1467 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1468 unconditional.
1469 [__ASSUME_WAITID_SYSCALL]: Likewise.
1470 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1471
d34689de
RM
14722012-08-07 Roland McGrath <roland@hack.frob.com>
1473
a281decc
RM
1474 * sysdeps/unix/closedir.c: Renamed to ...
1475 * sysdeps/posix/closedir.c: ... here.
1476 * sysdeps/unix/dirfd.c: Renamed to ...
1477 * sysdeps/posix/dirfd.c: ... here.
1478 * sysdeps/unix/dirstream.h: Renamed to ...
1479 * sysdeps/posix/dirstream.h: ... here.
1480 * sysdeps/unix/fdopendir.c: Renamed to ...
1481 * sysdeps/posix/fdopendir.c: ... here.
1482 * sysdeps/unix/opendir.c: Renamed to ...
1483 * sysdeps/posix/opendir.c: ... here.
1484 * sysdeps/unix/readdir.c: Renamed to ...
1485 * sysdeps/posix/readdir.c: ... here.
1486 * sysdeps/unix/readdir_r.c: Renamed to ...
1487 * sysdeps/posix/readdir_r.c: ... here.
1488 * sysdeps/unix/rewinddir.c: Renamed to ...
1489 * sysdeps/posix/rewinddir.c: ... here.
1490 * sysdeps/unix/seekdir.c: Renamed to ...
1491 * sysdeps/posix/seekdir.c: ... here.
1492 * sysdeps/unix/telldir.c: Renamed to ...
1493 * sysdeps/posix/telldir.c: ... here.
1494 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1495 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1496 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1497 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1498
22895b47
RM
1499 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1500 * bits/fcntl.h: ... here.
1501
707a53b6
RM
1502 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1503 not 0.
1504 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1505 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1506 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1507 (struct flock): Move l_start, l_len to the beginning.
1508 Use __pid_t for l_pid.
1509 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1510 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1511 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1512 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1513 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1514 [__USE_LARGEFILE64] (struct flock64): New type.
1515 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1516
f0bd3e25
RM
1517 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1518 * bits/dirent.h: ... here.
1519
d34689de
RM
1520 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1521 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1522
6dad2c06
JM
15232012-08-07 Joseph Myers <joseph@codesourcery.com>
1524
1525 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1526 Change from 2.6.0 to 2.6.16.
1527 * sysdeps/unix/sysv/linux/configure: Regenerated.
1528 * sysdeps/unix/sysv/linux/kernel-features.h
1529 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1530 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1531 version.
1532 (__ASSUME_UTIMES): Likewise.
1533 (__ASSUME_CLONE_STOPPED): Remove.
1534 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1535 architectures, not kernel version.
1536 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1537 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1538 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1539 (__ASSUME_WAITID_SYSCALL): Likewise.
1540 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1541 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1542 * README: State 2.6.16 as minimum Linux kernel version. Do not
1543 refer to older versions.
1544
03af9520
RM
15452012-08-06 Roland McGrath <roland@hack.frob.com>
1546
8e49df1d
RM
1547 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1548 Define alphasort64 as an alias.
1549 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1550 Define versionsort64 as an alias.
1551 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1552 Define scandir64 as an alias.
1553 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1554 Define scandirat64 as an alias.
1555 * dirent/alphasort64.c (alphasort64):
1556 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1557 * dirent/versionsort64.c: Likewise.
1558 * dirent/scandir64.c: Likewise.
1559 * dirent/scandirat64.c: Likewise.
1560 * sysdeps/wordsize-64/alphasort.c: File removed.
1561 * sysdeps/wordsize-64/alphasort64.c: File removed.
1562 * sysdeps/wordsize-64/scandir.c: File removed.
1563 * sysdeps/wordsize-64/scandir64.c: File removed.
1564 * sysdeps/wordsize-64/scandirat.c: File removed.
1565 * sysdeps/wordsize-64/scandirat64.c: File removed.
1566 * sysdeps/wordsize-64/versionsort.c: File removed.
1567 * sysdeps/wordsize-64/versionsort64.c: File removed.
1568 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1570 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1571 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1572 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1573 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1574 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1576
1577 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1579 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1581 [defined __arch64__ || defined __sparcv9]
1582 (__INO_T_MATCHES_INO64_T): New macro.
1583 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1584 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1585 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1586 * sysdeps/unix/sysv/linux/bits/dirent.h
1587 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1588 (_DIRENT_MATCHES_DIRENT64): New macro.
1589
03af9520
RM
1590 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1591 Define lockf64 as an alias.
1592 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1593 Define fseeko64 as an alias.
1594 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1595 Define ftello64 as an alias.
1596 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1597 Define _IO_fgetpos64 and fgetpos64 as aliases.
1598 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1599 Define _IO_fsetpos64 and fsetpos64 as aliases.
1600 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1601 Conditionalize body on this.
1602 * libio/fseeko64.c: Likewise.
1603 * libio/ftello64.c: Likewise.
1604 * libio/iofgetpos64.c: Likewise.
1605 * libio/iofsetpos64.c: Likewise.
1606 * sysdeps/wordsize-64/lockf.c: File removed.
1607 * sysdeps/wordsize-64/lockf64.c: File removed.
1608 * sysdeps/wordsize-64/fseeko.c: File removed.
1609 * sysdeps/wordsize-64/fseeko64.c: File removed.
1610 * sysdeps/wordsize-64/ftello.c: File removed.
1611 * sysdeps/wordsize-64/ftello64.c: File removed.
1612 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1613 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1614 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1615 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1622 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1623 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1626
1627 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1629 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1631 [defined __arch64__ || defined __sparcv9]
1632 (__OFF_T_MATCHES_OFF64_T): New macro.
1633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1634 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1636 (__OFF_T_MATCHES_OFF64_T): New macro.
1637
c5757acd
L
16382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * stdlib/secure-getenv.c (__secure_getenv): Replace
1641 GLIBC_2_16 with GLIBC_2_17.
1642
3a31811e
L
16432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1646 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1647
faa2bccb
DM
16482012-08-03 David S. Miller <davem@davemloft.net>
1649
1650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1651
85fe1997
JM
16522012-08-03 Joseph Myers <joseph@codesourcery.com>
1653
1654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1655 Remove.
1656 (__ASSUME_CORRECT_SI_PID): Likewise.
1657 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1658 (__ASSUME_TMPFS_NAME): Likewise.
1659 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1660 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1661 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1662 (HAVE_AUX_SECURE): Make definition unconditional.
1663 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1664 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1665
4f75b7a0
RM
16662012-08-03 Roland McGrath <roland@hack.frob.com>
1667
1668 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1669 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1670 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1671 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1672 __eloop_threshold instead of SYMLOOP_MAX.
1673
1674 * sysdeps/generic/eloop-threshold.h: New file.
1675 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1676 of MAXSYMLINKS.
1677 * elf/chroot_canon.c (chroot_canon): Likewise.
1678
7aab07e4
JM
16792012-08-03 Joseph Myers <joseph@codesourcery.com>
1680
1681 [BZ #13717]
1682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1683 Change to 2.6.0 everywhere.
1684 * sysdeps/unix/sysv/linux/configure: Regenerated.
1685 * sysdeps/unix/sysv/linux/kernel-features.h
1686 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1687 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1688 kernel versions.
1689 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1690 (__ASSUME_FUTEX_REQUEUE): Remove.
1691 (__ASSUME_STATFS64): Define unconditionally.
1692 (__ASSUME_AT_SECURE): Likewise.
1693 (__ASSUME_CORRECT_SI_PID): Likewise.
1694 (__ASSUME_TGKILL): Define without depending on kernel version for
1695 i386.
1696 (__ASSUME_UTIMES): Likewise.
1697 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1698 kernel version.
1699 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1700 (__ASSUME_TMPFS_NAME): Likewise.
1701 * README: Update reference to Linux kernel versions.
1702
b67e9372
MP
17032012-08-02 Marek Polacek <polacek@redhat.com>
1704
1f529f7d 1705 [BZ# 14150]
b67e9372
MP
1706 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1707 libc_cv_asm_type_prefix with %.
1708 * configure: Regenerated.
d2441631
RM
1709 * include/libc-symbols.h: Remove comment about
1710 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1711 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1712 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1713 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1714 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1715 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1716 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1717 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1718 * elf/tst-unique2mod1.c: Likewise.
1719 * elf/tst-unique1mod2.c: Likewise.
1720 * elf/tst-unique1mod1.c: Likewise.
1721 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1722 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1723 Replace ASM_TYPE_DIRECTIVE with .type.
1724 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1725 * sysdeps/i386/sysdep.h: Likewise.
1726 * sysdeps/x86_64/sysdep.h: Likewise.
1727 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1729 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1730 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1731 * sysdeps/powerpc/powerpc32/sysdep.h:
1732 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1733 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1734 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1735 * sysdeps/i386/fpu/e_powf.S: Likewise.
1736 * sysdeps/i386/fpu/e_expl.S: Likewise.
1737 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1738 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1739 * sysdeps/i386/fpu/e_pow.S: Likewise.
1740 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1741 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1742 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1743 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1744 * sysdeps/i386/fpu/e_log2.S: Likewise.
1745 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1746 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1747 * sysdeps/i386/fpu/e_powl.S: Likewise.
1748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1749 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1750 * sysdeps/i386/fpu/e_logl.S: Likewise.
1751 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1752 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1753 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1754 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1755 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1756 * sysdeps/i386/fpu/e_log.S: Likewise.
1757 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1758 * sysdeps/i386/fpu/e_logf.S: Likewise.
1759 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1760 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1761 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1762 * sysdeps/i386/fpu/e_log10.S: Likewise.
1763 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1764 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1765 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1766 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1767 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1768 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1769 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1770 * sysdeps/i386/i686/strtok.S: Likewise.
1771 * sysdeps/i386/i386-mcount.S: Likewise.
1772 * sysdeps/i386/strtok.S: Likewise.
1773 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1776 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1777 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1778 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1779 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1780 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1781 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1782 * sysdeps/x86_64/_mcount.S: Likewise.
1783 * sysdeps/x86_64/strtok.S: Likewise.
1784 * sysdeps/sh/_mcount.S: Likewise.
1785
2747bf9a
RM
17862012-08-01 Roland McGrath <roland@hack.frob.com>
1787
1788 * libio/iofopen.c: Include <fcntl.h>.
1789 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1790 (_IO_fopen64, fopen64): Define as aliases.
1791 * libio/iofopen64.c: Include <fcntl.h>.
1792 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1793 Conditionalize body on this.
1794 * sysdeps/wordsize-64/iofopen.c: File removed.
1795 * sysdeps/wordsize-64/iofopen64.c: File removed.
1796
3fb791b8
MP
17972012-08-01 Marek Polacek <polacek@redhat.com>
1798
1799 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1800 Use dlfcn directly instead of a variable.
1801 (binfmt-subdir): Do not define.
1802 (dlfcn): Likewise.
1803
a9f1039f
JM
18042012-08-01 Joseph Myers <joseph@codesourcery.com>
1805
23bddc06
JM
1806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1807 Remove all definitions.
1808 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1809 <kernel-features.h>.
1810 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1811 (miss_F_GETOWN_EX): Remove all definitions.
1812 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1813 macro definition.
1814 [!__ASSUME_FCNTL64]: Remove conditional code.
1815 [__ASSUME_FCNTL64]: Make code unconditional.
1816 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1817 <kernel-features.h>.
1818 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1819 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1820 (lockf64) [__NR_fcntl64]: Make code unconditional.
1821 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1822
a9f1039f
JM
1823 * sysdeps/unix/sysv/linux/kernel-features.h
1824 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1825 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1826 Make code unconditional.
1827 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1828 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1830 [__NR_vfork]: Make code unconditional.
1831 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1832 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1834 [__NR_vfork]: Make code unconditional.
1835 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1836 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1837
09c0ee5f
RM
18382012-08-01 Roland McGrath <roland@hack.frob.com>
1839
48aec5b9
RM
1840 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1841 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1842
cd97c966
RM
1843 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1844 Define mkstemp64 as an alias.
3f55550c
RM
1845 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1846 Define mkstemps64 as an alias.
cd97c966
RM
1847 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1848 Define mkostemp64 as an alias.
b8625cfc
RM
1849 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1850 Define mkostemps64 as an alias.
cd97c966
RM
1851 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1852 Conditionalize body on this.
1853 * misc/mkostemp64.c: Likewise.
b8625cfc 1854 * misc/mkostemps64.c: Likewise.
3f55550c 1855 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1856 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1857 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1858 * sysdeps/wordsize-64/mkostemp.c: File removed.
1859 * sysdeps/wordsize-64/mkstemp.c: File removed.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1864
09c0ee5f
RM
1865 [BZ #14138]
1866 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1867 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1868 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1869 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1870
1871 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1872 compat_symbol macros from <shlib-compat.h> rather than the underlying
1873 default_symbol_version and symbol_version macros, so that DEFAULT
1874 lines in shlib-versions are respected.
1875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1876
7e66ee51
FW
18772012-08-01 Florian Weimer <fweimer@redhat.com>
1878
1879 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1880 Declare with warn_unused_result.
1881 (setgid, setregid, setegid, setresgid): Likewise.
1882 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1883 Likewise.
1884 * WUR-REPORT: Remove set*id functions.
1885
d2a54255
PT
18862012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1887
1888 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1889
7ecdb005
RM
18902012-07-31 Roland McGrath <roland@hack.frob.com>
1891
789bd351
RM
1892 * include/sys/socket.h (__libc_accept, __libc_accept4):
1893 Add attribute_hidden.
1894 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1895
40ce302d
RM
1896 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1897 use of PTR_MANGLE.
1898 * inet/getnetgrent_r.c (setup): Likewise.
1899
7ecdb005
RM
1900 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1901
e2eabb2c
DM
19022012-07-31 David S. Miller <davem@davemloft.net>
1903
1904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1905
d0419dbf
JM
19062012-07-31 Joseph Myers <joseph@codesourcery.com>
1907
1908 [BZ #13629]
1909 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1910 value between 1.0 and 2.0 and smaller part has absolute value less
1911 than 1.0.
1912 * math/s_clog10.c (__clog10): Likewise.
1913 * math/s_clog10f.c (__clog10f): Likewise.
1914 * math/s_clog10l.c (__clog10l): Likewise.
1915 * math/s_clogf.c (__clogf): Likewise.
1916 * math/s_clogl.c (__clogl): Likewise.
1917 * math/libm-test.inc (clog_test): Add more tests.
1918 (clog10_test): Likewise.
1919 * sysdeps/i386/fpu/libm-test-ulps: Update.
1920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1921
2bc13872
FW
19222012-07-31 Florian Weimer <fweimer@redhat.com>
1923
1924 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1925 Exit with zero in case no suitable GID is found, and write a
1926 message to standard error.
1927
bea9b193
RM
19282012-07-30 Roland McGrath <roland@hack.frob.com>
1929
1930 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1931 rather than to 1.
1932 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1933 (MAXPATHLEN): Removed.
1934 (NOGROUP, NODEV): New macros.
1935 (setbit, clrbit, isset, isclr): New macros.
1936 (howmany, roundup, powerof2): New macros.
1937 (DEV_BSIZE): New macro.
1938
1939 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1940 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1941
1942 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1943 definition on [!__NO_LONG_DOUBLE_MATH].
1944
1945 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1946 PTR_MANGLE and PTR_DEMANGLE.
1947
1948 * socket/accept4.c (accept4): Rename to __libc_accept4.
1949 Define accept4 as a weak alias.
1950
1951 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1952 on [_DIRENT_HAVE_D_TYPE].
1953 * io/ftw.c (ftw_dir): Likewise.
1954
1955 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1956
1957 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1958
1959 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1960 Use the BSD numbers rather than the arbitrary ones we had.
1961 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1962 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1963 (SIGXCPU, SIGXFSZ): New macros.
1964 (_NSIG): Now 32.
1965
1966 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1967 initializer on [_LIBC_REENTRANT].
1968
1969 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1970 definitions inside [_POSIX_MAPPED_FILES].
1971
1972 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1973
1974 * dirent/opendir.c: Include <fcntl.h>.
1975
1976 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1977 (__libc_getspecific): Likewise.
1978 (__libc_key_create): Likewise.
1979
1980 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1981 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1982 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1983 (tmpfile64): Define as alias.
1984 * sysdeps/wordsize-64/tmpfile.c: File removed.
1985 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1987 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1988
1989 * stdio-common/vfscanf.c: Include <stdbool.h>.
1990 * nss/makedb.c: Likewise.
1991 * stdio-common/_i18n_number.h: Likewise.
1992 * argp/argp-help.c: Likewise.
1993 * posix/wordexp.c: Likewise.
1994 * sysdeps/posix/spawni.c: Likewise.
1995 * nss/nss_files/files-initgroups.c: Likewise.
1996 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1997 * nss/nss_files/files-initgroups.c: Likewise.
1998 * nss/nss_db/db-netgrp.c: Likewise.
1999 * nss/nss_db/db-initgroups.c: Likewise.
2000 * io/fchmodat.c: Include <sys/stat.h>.
2001
2002 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2003 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2004
2005 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2006 [HAVE_MMAP].
2007
2008 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2009 Add multiple inclusion protection.
2010
e5abc686
DM
20112012-07-27 David S. Miller <davem@davemloft.net>
2012
2013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2014
815e6fa3
GB
20152012-07-27 Gary Benson <gbenson@redhat.com>
2016
2017 [BZ #14298]
2018 * elf/rtld.c: Include <stap-probe.h>.
2019 (dl_main): Added static probes "init_start" and "init_complete".
2020 * elf/dl-load.c: Include <stap-probe.h>.
2021 (lose): Take new parameter "nsid".
2022 Added static probe "map_failed".
2023 (_dl_map_object_from_fd): Pass namespace id to lose.
2024 Added static probe "map_start".
2025 (open_verify): Pass namespace id to lose.
2026 * elf/dl-open.c: Include <stap-probe.h>.
2027 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2028 and "reloc_complete".
2029 * elf/dl-close.c: Include <stap-probe.h>.
2030 (_dl_close_worker): Added static probes "unmap_start" and
2031 "unmap_complete".
2032 * elf/rtld-debugger-interface.txt: New file documenting the above.
2033
9f98c16c
RM
20342012-07-26 Roland McGrath <roland@hack.frob.com>
2035
2036 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2037 rather than a string variable.
2038 * sunrpc/rpc_main.c (h_output): Likewise.
2039 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2040
f3c22df3
PT
20412012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2042
2043 * inet/check_native.c: New file.
2044
3129cfc6
JM
20452012-07-26 Joseph Myers <joseph@codesourcery.com>
2046
da865e95
JM
2047 [BZ #13629]
2048 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2049 if larger part has absolute value 1.0.
2050 * math/s_clog10.c (__clog10): Likewise.
2051 * math/s_clog10f.c (__clog10f): Likewise.
2052 * math/s_clog10l.c (__clog10l): Likewise.
2053 * math/s_clogf.c (__clogf): Likewise.
2054 * math/s_clogl.c (__clogl): Likewise.
2055 * math/libm-test.inc (clog_test): Add more tests.
2056 (clog10_test): Likewise.
2057 * sysdeps/i386/fpu/libm-test-ulps: Update.
2058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2059
3129cfc6
JM
2060 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2061 (pltexit): Likewise.
2062 (La_regs): Likewise.
2063 (La_retval): Likewise.
2064 (int_retval): Likewise.
2065 Update #error for removed macros to refer only to definitions in
2066 tst-audit.h.
2067 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2068 macro.
2069 (pltexit): Likewise.
2070 (La_regs): Likewise.
2071 (La_retval): Likewise.
2072 (int_retval): Likewise.
2073 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2074 macro.
2075 (pltexit): Likewise.
2076 (La_regs): Likewise.
2077 (La_retval): Likewise.
2078 (int_retval): Likewise.
2079 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2080 macro.
2081 (pltexit): Likewise.
2082 (La_regs): Likewise.
2083 (La_retval): Likewise.
2084 (int_retval): Likewise.
2085 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2086 macro.
2087 (pltexit): Likewise.
2088 (La_regs): Likewise.
2089 (La_retval): Likewise.
2090 (int_retval): Likewise.
2091 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2092 macro.
2093 (pltexit): Likewise.
2094 (La_regs): Likewise.
2095 (La_retval): Likewise.
2096 (int_retval): Likewise.
2097 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2098 macro.
2099 (pltexit): Likewise.
2100 (La_regs): Likewise.
2101 (La_retval): Likewise.
2102 (int_retval): Likewise.
2103 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2104 macro definitions in tst-audit.h.
2105 * sysdeps/i386/tst-audit.h: New file.
2106 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2107 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2108 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2109 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2110 * sysdeps/sh/tst-audit.h: Likewise.
2111 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2112 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2113 * sysdeps/x86_64/tst-audit.h: Likewise.
2114
bfc07087
AJ
21152012-07-26 Andreas Jaeger <aj@suse.de>
2116
b1b2aaf8
AJ
2117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2118 ptrace.
2119
2120 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2121 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2122 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2123 PTRACE_O_MASK.
2124 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2126 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2127
bfc07087
AJ
2128 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2129 value.
2130
2131 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2132 _sigsys.
2133 (si_call_addr, si_syscall, si_arch): Define new macro.
2134 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2135 _sigsys.
2136 (si_call_addr, si_syscall, si_arch): Define new marcro.
2137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2138 _sigsys.
2139 (si_call_addr, si_syscall, si_arch): Define new macro.
2140 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2141 _sigsys.
2142 (si_call_addr, si_syscall, si_arch): Define new macro.
2143
89b4b02f
JM
21442012-07-25 Joseph Myers <joseph@codesourcery.com>
2145
2146 [BZ #13717]
2147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2148 Change to 2.4.21 where previously 2.4.1.
2149 * sysdeps/unix/sysv/linux/configure: Regenerated.
2150 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2151 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2152 Linux kernel version.
2153 (__ASSUME_STD_AUXV): Remove.
2154 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2155 kernel version.
2156 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2157 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2158 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2159 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2160 (__ASSUME_NETLINK_SUPPORT): Likewise.
2161 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2162 (__no_netlink_support): Remove conditional definition.
2163 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2164 Remove.
2165 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2166 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2167 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2168 (if_nameindex_ioctl): Remove.
2169 (if_nameindex_netlink): Do not handle __no_netlink_support.
2170 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2171 code.
2172 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2173 Remove conditional code.
2174 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2175 code.
2176 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2177 unconditional.
2178 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2179 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2180 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2181 Remove.
2182 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2183 [!__ASSUME_STD_AUXV]: Remove conditional code.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2185 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2186 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2188 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2189 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2190 code.
2191 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2193 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2194 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2195 conditional code.
2196 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2198 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2199 code.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2201 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2202 conditional code.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2204 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2205 code unconditional.
2206 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2207 conditional code.
2208 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2209 unconditional.
2210 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2211 conditional code.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2213 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2214 unconditional.
2215 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2216 conditional code.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2218 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2219 code unconditional.
2220 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2221 conditional code.
2222 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2223 unconditional.
2224 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2225 conditional code.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2227 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2228 code unconditional.
2229 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2230 conditional code.
2231 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2232 unconditional.
2233 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2234 conditional code.
2235
842a39cd
AS
22362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2237
2238 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2239 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2240 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2241 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2242 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2243 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2244 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2245 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2246 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2247 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2248 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2249 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2250 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2251 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2253 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2261
84b3fd84
FW
22622012-07-25 Florian Weimer <fweimer@redhat.com>
2263
2264 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2265 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2266 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2267 Introduce __libc_secure_getenv.
0c7936d5
FW
2268 * stdlib/Versions (2.17): Add secure_getenv
2269 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2270 * stdlib/secure-getenv.c: Rename __secure_getenv to
2271 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2272 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2273 * stdlib/tst-secure-getenv.c: New.
2274 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2275 * manual/startup.texi (Environment Access): Document
2276 secure_getenv.
84b3fd84
FW
2277 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2278 __libc_secure_getenv.
2279 * inet/ruserpass.c (ruserpass): Likewise.
2280 * malloc/mtrace.c (mtrace): Likewise.
2281 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2282 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2283 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2284 * sysdeps/posix/tempname.c: Likewise. Evaluate
2285 HAVE_SECURE_GETENV.
2286 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2287 __secure_getenv to __libc_secure_getenv.
84b3fd84 2288 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2292 Likewise.
2293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2300
56e49b71
JM
23012012-07-25 Joseph Myers <joseph@codesourcery.com>
2302
2303 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2304 (struct La_i86_retval): Likewise.
2305 (struct La_x86_64_regs): Likewise.
2306 (struct La_x86_64_retval): Likewise.
2307 (struct La_x32_regs): Likewise.
2308 (struct La_x32_retval): Likewise.
2309 (struct La_ppc32_regs): Likewise.
2310 (struct La_ppc32_retval): Likewise.
2311 (struct La_ppc64_regs): Likewise.
2312 (struct La_ppc64_retval): Likewise.
2313 (struct La_sh_regs): Likewise.
2314 (struct La_sh_retval): Likewise.
2315 (struct La_s390_32_regs): Likewise.
2316 (struct La_s390_32_retval): Likewise.
2317 (struct La_s390_64_regs): Likewise.
2318 (struct La_s390_64_retval): Likewise.
2319 (struct La_sparc32_regs): Likewise.
2320 (struct La_sparc32_retval): Likewise.
2321 (struct La_sparc64_regs): Likewise.
2322 (struct La_sparc64_retval): Likewise.
2323 (struct audit_ifaces): Remove architecture-specific pltenter and
2324 pltexit members.
2325 * sysdeps/i386/ldsodefs.h: New file.
2326 * sysdeps/powerpc/ldsodefs.h: Likewise.
2327 * sysdeps/s390/ldsodefs.h: Likewise.
2328 * sysdeps/sh/ldsodefs.h: Likewise.
2329 * sysdeps/sparc/ldsodefs.h: Likewise.
2330 * sysdeps/x86_64/ldsodefs.h: Likewise.
2331
354691b7
MP
23322012-07-25 Marek Polacek <polacek@redhat.com>
2333
2334 [BZ #6808]
2335 * math/libm-test.inc (yn_test): Add another test.
2336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2337 to ERANGE when the result is +-Inf.
2338 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2339 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2340 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2341 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2342
bf9e2071
JM
23432012-07-24 Joseph Myers <joseph@codesourcery.com>
2344
2345 * conform/data/time.h-data (NULL): Use macro-constant. Require
2346 equal to 0.
2347 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2348 clock_t.
2349 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2350
57633811
TS
23512012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2352
2353 * configure.in <sysdeps resolving>: Correct printing
2354 Implies_before.
2355 * configure: Regenerate.
2356
c23c33b0
TS
23572012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2358
2359 * math/w_ilogb.c: Include <limits.h>.
2360 * math/w_ilogbl.c: Likewise.
2361
b5982523
JM
23622012-07-20 Joseph Myers <joseph@codesourcery.com>
2363
2364 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2365 va_copy. Document allowing for unavailable va_copy only as
2366 pre-C99 compatibility.
2367 * manual/string.texi (Copying and Concatenation): Use va_copy
2368 instead of __va_copy in concat example.
2369
ac4ea442
PT
23702012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2371
2372 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2373 (__sendto): Use create_address_port. Initialize APORT and deallocate
2374 it if not null.
2375
f98eafbd
PT
2376 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2377 with O_NOLINK passed to __file_name_lookup.
2378
898c7aab
PT
2379 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2380 with O_NOLINK passed to __file_name_lookup.
2381
0ced335a
PT
2382 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2383 negative N or less than NGIDS.
2384
b3404dbd
PT
2385 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2386 type to string_t. Set ERANGE as errno and return it if NAME is not big
2387 enough. Use memcpy instead of strncpy.
2388
0f48659e
JM
23892012-07-20 Joseph Myers <joseph@codesourcery.com>
2390
2391 * elf/Makefile (check-data): Remove.
2392 (localplt.data): New vpath directive.
2393 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2394 instead of $(check-data).
2395 * scripts/data/localplt-generic.data: Move to ...
2396 * sysdeps/generic/localplt.data: ... here.
2397 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2398 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2399 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2401 ... here.
2402 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2404 ... here.
2405 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2407 ... here.
2408 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2410 ... here.
2411 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2413 ... here.
2414 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2416 ... here.
2417
d37cbdaa
AZ
24182012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2419
2420 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2421 PPC32 and PPC64 files.
2422 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2423 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2424
46f85fc2
AK
24252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2426
2427 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2428 __makecontext_ret to ...
2429 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2430 ... here and call exit if uc_link is NULL. New file.
2431 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2432 __makecontext_ret.S.
2433 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2434 __makecontext_ret to ...
2435 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2436 ... here and call exit if uc_link is NULL. New file.
2437 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2438 __makecontext_ret.S.
2439
08f43f9b
AK
24402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2441
2442 * elf/elf.h (R_390_IRELATIVE): New definition.
2443 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2444 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2445 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2446 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2447 (elf_machine_lazy_rel): Likewise.
2448 * sysdeps/s390/dl-irel.h: New file.
2449 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2450 * sysdeps/s390/s390-64/memset.S: New asm code.
2451 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2452 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2454 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2455 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2456 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2458 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2459 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2460 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2461 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2462 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2463 * sysdeps/s390/s390-32/memset.S: New asm code.
2464 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2465
3b05db33
MP
24662012-07-17 Marek Polacek <polacek@redhat.com>
2467
2468 [BZ #14349]
2469 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2470 * sysdeps/s390/s390-64/configure.in: Likewise.
2471 * sysdeps/sparc/configure.in: Likewise.
2472 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2473 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2474 * sysdeps/i386/configure.in: Likewise.
2475 * sysdeps/x86_64/configure.in: Likewise.
2476 * sysdeps/sh/configure.in: Likewise.
2477 * sysdeps/s390/s390-32/configure: Regenerated.
2478 * sysdeps/s390/s390-64/configure: Likewise.
2479 * sysdeps/x86_64/configure: Likewise.
2480 * sysdeps/sh/configure: Likewise.
2481 * sysdeps/powerpc/powerpc64/configure: Likewise.
2482 * sysdeps/powerpc/powerpc32/configure: Likewise.
2483 * sysdeps/sparc/configure: Likwise.
2484 * sysdeps/i386/configure: Likewise.
2485
a66877c6
MP
2486 * elf/dl-open.c: Comment fixes.
2487
cfc82fd8
JM
24882012-07-17 Joseph Myers <joseph@codesourcery.com>
2489
bd29910a
JM
2490 * Makefile [CXX] (check-data): Remove.
2491 [CXX] (c++-types.data): New vpath directive.
2492 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2493 vpath. Do not allow for C++ type data being missing.
2494 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2495 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2496 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2497 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2498 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2499 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2500 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2502 ... here.
2503 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2505 ... here.
2506 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2508 ... here.
2509 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2511 ... here.
2512 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2514 ... here.
2515 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2517 ... here.
2518 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2520 ... here.
2521 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2523
cfc82fd8
JM
2524 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2525 definitions to architecture-specific files.
2526 (TLS_IE): Likewise.
2527 (TLS_LD): Likewise.
2528 (TLS_GD): Likewise.
2529 * sysdeps/i386/tls-macros.h: New file.
2530 * sysdeps/powerpc/tls-macros.h: Likewise.
2531 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2532 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2533 * sysdeps/sh/tls-macros.h: Likewise.
2534 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2535 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2536 * sysdeps/x86_64/tls-macros.h: Likewise.
2537
f7db3170
TS
25382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2539
07cbfc23
TS
2540 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2541 zero value for regular exit case.
2542
f7db3170
TS
2543 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2544 (__start_context): Preserve zero value for regular exit case.
2545
dc97c227
TS
25462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2547 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2548
2549 * manual/setjmp.texi (setcontext): Clarify normal process
2550 termination when uc_link is the null pointer.
2551 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2552 exit call.
2553
d0cd7d02
AS
25542012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2555
2556 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2557 preprocessor. Test for each exception mask separately.
2558
dd318934
AJ
25592012-07-16 Andreas Jaeger <aj@suse.de>
2560
2561 * po/ru.po: Update from translation team.
2562
8048311a
JM
25632012-07-15 Joseph Myers <joseph@codesourcery.com>
2564
2565 * conform/data/string.h-data (NULL): Use macro-constant. Require
2566 equal to 0.
2567 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2568 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2569 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2570 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2572
b637d46e
AJ
25732012-07-13 Andreas Jaeger <aj@suse.de>
2574
2575 * po/fr.po: Update from translation team.
2576
541428fe
MP
25772012-07-12 Marek Polacek <polacek@redhat.com>
2578
2579 [BZ #14173]
2580 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2582 loop condition.
2583
ec332e94
JM
25842012-07-12 Joseph Myers <joseph@codesourcery.com>
2585
2586 [BZ #13717]
2587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2588 Change to 2.4.1 where previously 2.4.0.
2589 * sysdeps/unix/sysv/linux/configure: Regenerated.
2590 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2591 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2592 version.
2593 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2594 (__ASSUME_AT_CLKTCK): Remove.
2595 (__ASSUME_AT_PAGESIZE): Likewise.
2596 (__ASSUME_AT_XID): Likewise.
2597 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2598 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2599 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2600 unconditionally.
2601 (HAVE_AUX_PAGESIZE): Likewise.
2602 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2603 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2604 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2605
7b6e99be
JB
26062012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2607
2608 [BZ #14307]
2609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2610 the temporary buffer used to invoke __gethostbyname2_r,
2611 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2612 host_data / struct gaih_addrtuple.
2613 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2614 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2615 header file nss/nsswitch.h.
2616 * nss/nsswitch.h (global scope): Add definition of implementation
2617 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2618 resolv/nss_dns/dns-host.c).
2619
608404eb
AJ
26202012-07-11 Andreas Jaeger <aj@suse.de>
2621
2622 * po/fr.po: Update from translation team.
2623
71220aca
AJ
2624 * po/sv.po: Update from translation team
2625 * po/fr.po: Another update from translation team.
2626
28cfe843
AZ
26272012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628
2629 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2630 for subnormals or multiply small sinh result by itself.
2631 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2633
6b90f981
DM
26342012-07-11 David S. Miller <davem@davemloft.net>
2635
2636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637
c6825772
AS
26382012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2639
2640 [BZ #14347]
2641 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2642 (INTERNAL_MARK): Shift it here.
2643
7b8e0d49
MP
26442012-07-10 Marek Polacek <polacek@redhat.com>
2645
2646 [BZ #14151]
2647 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2648 libc_cv_asm_global_directive with .globl.
2649 * configure: Regenerated.
2650 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2651 with .globl.
2652 * sysdeps/i386/configure: Regenerated.
2653 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2654 with .globl.
2655 * sysdeps/x86_64/configure: Regenerated.
2656 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2657 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2658 * elf/tst-unique2mod2.c: Likewise.
2659 * elf/tst-unique2mod1.c: Likewise.
2660 * elf/tst-unique1mod2.c: Likewise.
2661 * elf/tst-unique1mod1.c: Likewise.
2662 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2663 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2665 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2666 * sysdeps/mach/sysdep.h: Likewise.
2667 * sysdeps/i386/sysdep.h: Likewise.
2668 * sysdeps/i386/i386-mcount.S: Likewise.
2669 * sysdeps/x86_64/_mcount.S: Likewise.
2670 * sysdeps/x86_64/sysdep.h: Likewise.
2671 * sysdeps/sh/_mcount.S: Likewise.
2672 * sysdeps/sh/sysdep.h: Likewise.
2673 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2674 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2675 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2676 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2677 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2678 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2679 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2680 * locale/localeinfo.h: Likewise.
2681 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2682 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2683
6c55cda3
RM
26842012-07-09 Roland McGrath <roland@hack.frob.com>
2685
2686 [BZ #14336]
2687 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2688 system".
2689 * manual/message.texi (The Uniforum approach): Likewise.
2690 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2691 (glibc iconv Implementation): Likewise.
2692
638a572e
JM
26932012-07-09 Joseph Myers <joseph@codesourcery.com>
2694
2695 [BZ #14337]
2696 * math/s_clog.c (__clog): Avoid scaling a value down where that
2697 could result in underflow.
2698 * math/s_clog10.c (__clog10): Likewise.
2699 * math/s_clog10f.c (__clog10f): Likewise.
2700 * math/s_clog10l.c (__clog10l): Likewise.
2701 * math/s_clogf.c (__clogf): Likewise.
2702 * math/s_clogl.c (__clogl): Likewise.
2703 * math/libm-test.inc (clog_test): Add more tests.
2704 (clog10_test): Likewise.
2705 * sysdeps/i386/fpu/libm-test-ulps: Update.
2706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2707
261f4859
AS
27082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2709
0abaf3e4
AS
2710 [BZ #14283]
2711 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2712 by 7 not 8 to examine high bit of fractional part.
2713
261f4859
AS
2714 [BZ #14042]
2715 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2716 for call to __mcount_internal.
2717 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2718 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2719 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2720
f17ac40d
JM
27212012-07-06 Joseph Myers <joseph@codesourcery.com>
2722
9ad63c23
JM
2723 [BZ #14154]
2724 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2725 approximation for values within 0x1p-13f of an odd multiple of
2726 pi/4.
2727 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2728 exception. Add more tests.
2729 * sysdeps/i386/fpu/libm-test-ulps: Update.
2730
f17ac40d
JM
2731 [BZ #6778]
2732 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2733 inputs and return -1 for them. Do not check for +Inf in case not
2734 reachable for +Inf.
2735 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2736 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2738 and return -1 for them. Do not check for +Inf in case not
2739 reachable for +Inf.
2740 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2741 define.
2742 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2743 and return -1 for them. Do not check for +Inf in case not
2744 reachable for +Inf.
2745 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2746 spurious underflow.
2747 * sysdeps/i386/fpu/libm-test-ulps: Update.
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749
fb21f89b
MF
27502012-07-06 Mike Frysinger <vapier@gentoo.org>
2751
2752 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2753
cdfe2c5e
JM
27542012-07-05 Joseph Myers <joseph@codesourcery.com>
2755
2756 [BZ #14157]
2757 [BZ #14331]
2758 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2759 could result in spurious underflow. Scale down values above
2760 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2761 * math/s_csqrtf.c (__csqrtf): Likewise.
2762 * math/s_csqrtl.c (__csqrtl): Likewise.
2763 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2764 spurious underflow.
2765 * sysdeps/i386/fpu/libm-test-ulps: Update.
2766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2767
70d35b67
AS
27682012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2769
704bc459
AS
2770 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2771 xopen-msg.sed.
2772 * catgets/xopen-msg.awk: New file.
2773 * catgets/xopen-msg.sed: Removed.
2774
70d35b67
AS
2775 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2776 po2text.sed.
2777 * intl/po2test.awk: New file.
2778 * intl/po2test.sed: Removed.
2779
ca61cf32
JM
27802012-07-04 Joseph Myers <joseph@codesourcery.com>
2781
2782 [BZ #14328]
2783 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2784 or multiply small sinh result by itself.
2785 * math/s_ctanf.c (__ctanf): Likewise.
2786 * math/s_ctanh.c (__ctanh): Likewise.
2787 * math/s_ctanhf.c (__ctanhf): Likewise.
2788 * math/s_ctanhl.c (__ctanhl): Likewise.
2789 * math/s_ctanl.c (__ctanl): Likewise.
2790 * math/libm-test.inc (ctan_test_tonearest): New function.
2791 (ctan_test_towardzero): Likewise.
2792 (ctan_test_downward): Likewise.
2793 (ctan_test_upward): Likewise.
2794 (ctanh_test_tonearest): Likewise.
2795 (ctanh_test_towardzero): Likewise.
2796 (ctanh_test_downward): Likewise.
2797 (ctanh_test_upward): Likewise.
2798 (main): Call these new functions.
2799 * sysdeps/i386/fpu/libm-test-ulps: Update.
2800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801
ca48a46a
MF
28022012-07-03 Mike Frysinger <vapier@gentoo.org>
2803
2804 * .gitignore: Delete /ports entry.
2805
9d63d37d
AJ
28062012-07-03 Andreas Jaeger <aj@suse.de>
2807
2808 * po/bg.po: Update from translation team.
2809 * po/cs.po: Likewise.
2810 * po/de.po: Likewise.
2811 * po/hr.po: Likewise.
2812 * po/nl.pl: Likewise.
2813 * po/pl.po: Likewise.
2814 * po/vi.po: Likewise.
2815
370ca3d2
JM
28162012-07-03 Joseph Myers <joseph@codesourcery.com>
2817
95f5a9a8
JM
2818 * Makeconfig [!+link] (+link-before-libc): New variable.
2819 [!+link] (+link-after-libc): Likewise.
2820 [!+link] (+link-tests): Likewise.
2821 [!+link] (+link): Define in terms of $(+link-before-libc) and
2822 $(+link-after-libc).
2823 [!+link-static] (+link-static-before-libc): New variable.
2824 [!+link-static] (+link-static-after-libc): Likewise.
2825 [!+link-static] (+link-static-tests): Likewise.
2826 [!+link-static] (+link-static): Define in terms of
2827 $(+link-static-before-libc) and $(+link-static-after-libc).
2828 [build-shared] (link-libc-before-gnulib): New variable.
2829 [build-shared] (link-libc-tests): Likewise.
2830 [build-shared] (link-libc): Define in terms of
2831 $(link-libc-before-gnulib).
2832 [!build-shared] (link-libc-tests): New variable.
2833 (link-libc-static-tests): New variable.
2834 [!gnulib] (gnulib-arch): New variable.
2835 [!gnulib] (gnulib-tests): Likewise.
2836 [!gnulib] (static-gnulib-arch): Likewise.
2837 [!gnulib] (static-gnulib-tests): Likewise.
2838 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2839 Define with "=" instead of ":=".
2840 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2841 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2842 * Rules (binaries-all-notests): New variable.
2843 (binaries-all-tests): Likewise.
2844 (binaries-static-notests): Likewise.
2845 (binaries-static-tests): Likewise.
2846 (binaries-all): Define using $(binaries-all-notests) and
2847 $(binaries-all-tests).
2848 (binaries-static): Define using $(binaries-static-notests) and
2849 $(binaries-static-tests).
2850 (binaries-shared-tests): New variable.
2851 (binaries-shared-notests): Likewise.
2852 (binaries-shared): Remove variable.
2853 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2854 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2855 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2856 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2857 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2858 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2859 * elf/Makefile (sln-modules): New variable.
2860 (extra-objs): Add $(sln-modules:=.o).
2861 (ldconfig-modules): Add static-stubs.
2862 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2863 * elf/static-stubs.c: New file.
2864
7a845b2c
JM
2865 [BZ #14283]
2866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2867 by 7 not 8 to examine high bit of fractional part. Use volatile
2868 variables when splitting into final array of floats if
2869 __FLT_EVAL_METHOD__ != 0.
2870 * math/libm-test.inc (cos_test): Add another test.
2871 (sin_test): Likewise.
2872 * sysdeps/i386/fpu/libm-test-ulps: Update.
2873
e2283f38
JM
2874 [BZ #14273]
2875 * math/libm-test.inc (cosh_test): Add more tests.
2876
370ca3d2
JM
2877 * version.h (RELEASE): Set to "development".
2878 (VERSION): Set to "2.16.90".
2879
ee9247c3
CD
28802012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2881
2882 * NEWS: Update copyright. Remove last-updated date.
2883 Mention math library bug fixes and timezone data changes.
2884 * README: Mention GNU/Hurd, x32, and HPPA support status.
2885
4648c381
TS
28862012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2887
2888 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2889
aac78a43
AJ
28902012-06-27 Andreas Jaeger <aj@suse.de>
2891
2892 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2893
ed3dbfad
AJ
28942012-06-25 Andreas Jaeger <aj@suse.de>
2895
2896 * sysdeps/s390/fpu/libm-test-ulps: Update.
2897
4d0ee855
AS
28982012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2899 Thomas Schwinge <thomas@codesourcery.com>
2900
2901 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2902 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2904 fanotify_mark.
2905
af1bce34
TS
29062012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2907
a9fa33ba
TS
2908 * sysdeps/mach/start.c: Remove file.
2909 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2910 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2911 * sysdeps/sh/init-first.c: Likewise.
2912
58f902b8
TS
2913 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2914 registers for frame unwinding purposes, add CFI directives.
2915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2916 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2917 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2918 Likewise.
2919
1518f58b
TS
2920 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2921 __fortify_fail returning.
2922 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2923
db9b5059
TS
2924 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2925 sysdeps/sh/____longjmp_chk.S.
2926 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2927 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2928 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2929 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2930
967705fe
TS
2931 * sysdeps/sh/abort-instr.h: New file.
2932 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2933 process in case exit returns.
2934
a9def8c4
TS
2935 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2936 initialize the GOT register before use.
2937
2a649725
TS
2938 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2939 calculation of ARGC > 4.
2940
af1bce34
TS
2941 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2942 meaningful names to some local labels.
2943
d230f50a
KK
29442012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2945 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2946
2947 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2948 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2949 (__arch_compare_and_exchange_val_16_acq): Likewise.
2950 (__arch_compare_and_exchange_val_32_acq): Likewise.
2951 (atomic_exchange_and_add): Fix gUSA sequence.
2952 (atomic_add): Likewise.
2953 (atomic_add_negative): Likewise.
2954 (atomic_add_zero): Likewise.
2955 (atomic_bit_test_set): Likewise.
2956
0479b305
AS
29572012-06-22 Andreas Schwab <schwab@redhat.com>
2958
2959 [BZ #13579]
2960 * include/link.h (struct link_map): Add l_free_initfini.
2961 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2962 l_initfini.
2963 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2964 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2965 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2966 set.
2967
0e3933b9
CD
29682012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2969
2970 * configure.in: Use AC_LANG_SOURCE.
2971 * configure: Regenerate.
2972
4248b1b1
RM
29732012-06-22 Roland McGrath <roland@hack.frob.com>
2974
2975 * configure.in (libc_cv_localstatedir): New substituted variable.
2976 * configure: Regenerated.
2977 * config.make.in (localstatedir): New variable, substituted from
2978 libc_cv_localstatedir.
2979 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2980 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2981 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2982 * sysdeps/gnu/configure: Regenerated.
2983
006dd861
JL
29842012-06-21 Jeff Law <law@redhat.com>
2985
2986 [BZ #14277]
2987 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2988 free. Simplify list management for _LIBC case.
2989
79662d42
JM
29902012-06-21 Joseph Myers <joseph@codesourcery.com>
2991
b7abb4bf
JM
2992 [BZ #14273]
2993 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2994 Clear sign bit of 64-bit integer value before comparing against
2995 overflow value.
2996
79662d42
JM
2997 * sysdeps/mach/configure: Regenerated.
2998
1f150908
L
29992012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 [BZ #14278]
3002 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3003
28363bbf
JL
30042012-06-21 Jeff Law <law@redhat.com>
3005
3006 [BZ #13882]
3007 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3008 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3009 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3010 * elf/dl-open.c (dl_open_worker): Likewise.
3011
09615db4
CD
30122012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3013
3014 * scripts/list-sources.sh: Scan PORTS for translations.
3015 * po/libc.pot: Regenerated.
3016
2174c6dd
AJ
30172012-06-21 Andreas Jaeger <aj@suse.de>
3018
3019 [BZ #12194]
3020 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3021 warning.
3022 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3023 * bits/byteswap-16.h (__bswap_16): Likewise.
3024 * bits/byteswap.h (__bswap_constant_16): Likewise.
3025
3ee947b1
L
30262012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 [BZ #14117]
a2f34833
L
3029 * sysdeps/i386/fpu_control.h: Removed.
3030 * sysdeps/x86_64/fpu_control.h: Moved to ...
3031 * sysdeps/x86/fpu_control.h: Here.
3032
3ee947b1
L
3033 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3034 (_FPU_SETCW): Likewise.
3035
ed1825f8
L
30362012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3037
25f1282a
L
3038 [BZ #14117]
3039 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3040 * sysdeps/x86/fpu/bits/mathinline.h: This.
3041 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3042
ed1825f8
L
3043 [BZ #14050]
3044 [BZ #14117]
3045 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3046 functions if __x86_64__ is defined.
3047
36d54b74
CLT
30482012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3049
3050 * string/endian.h: Add !__ASSEMBLER__ condition for including
3051 conversion interfaces.
3052
10285c21
JM
30532012-06-15 Joseph Myers <joseph@codesourcery.com>
3054
3055 [BZ #14241]
3056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3057 of ABS(x) in calculating zero to negative powers other than odd
3058 integers.
3059 * math/libm-test.inc (pow_test): Add more tests.
3060
06c5abbd
AJ
30612012-06-15 Andreas Jaeger <aj@suse.de>
3062
3063 * manual/contrib.texi (Contributors): Update entry of Liubov
3064 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3065 Machado Filho.
3066
a3aeac40
CH
30672012-06-15 Cyril Hrubis <metan@ucw.cz>
3068
3069 * string/string.h: Add __wur to GNU version of strerror_r.
3070
49bdf4c1
L
30712012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 [BZ #14229]
3074 * string/Makefile (tests): Add tst-strtok_r.
3075 * string/tst-strtok_r.c: New file.
3076 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3077 RAX_LP/RDX_LP on SAVE_PTR.
3078
834f9b8d
RM
30792012-06-14 Roland McGrath <roland@hack.frob.com>
3080
3081 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3082
75fa1921
JM
30832012-06-14 Joseph Myers <joseph@codesourcery.com>
3084
3085 * libm_test.inc (csqrt_test): Allow more spurious underflow
3086 exceptions.
3087 (j0_test): Likewise.
3088 (j1_test): Likewise.
3089 (y0_test): Likewise.
3090 (y1_test): Likewise.
3091
771766df
CD
30922012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3093
3094 * po/Makefile (libc.pot): Use UTF-8 charset.
3095
ceb9e56b
PP
30962012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3097
3098 [BZ #14210]
3099 Suppress sign-conversion warning from FD_SET.
3100 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3101 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3102 not unsigned long int.
3103 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3104
ddb28975
L
31052012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 [BZ #14050]
3108 [BZ #14117]
3109 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3110 __extern_always_inline instead of __extern_inline.
3111 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3112 (__signbit): Likewise.
3113 (__signbitl): Support C++ namespace.
3114 (lrintf): New inline function.
3115 (lrint): Likewise.
3116 (llrintf): Likewise.
3117 (llrint): Likewise.
3118 (fmaxf): Likewise.
3119 (fmax): Likewise.
3120 (fminf): Likewise.
3121 (fmin): Likewise.
3122 (rint): Likewise.
3123 (rintf): Likewise.
3124 (ceil): Likewise.
3125 (ceilf): Likewise.
3126 (floor): Likewise.
3127 (floorf): Likewise.
3128 (nearbyint): Likewise.
3129 (nearbyintf): Likewise.
3130
d7b4fb26
TS
31312012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3132
3133 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3134 non-default versions.
3135
eb55f5c2
RM
31362012-06-11 Roland McGrath <roland@hack.frob.com>
3137
3138 [BZ #14218]
3139 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3140
366af02c
TS
31412012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3142
99ff6e5c
TS
3143 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3144 (FE_UPWARD, FE_DOWNWARD): Don't define.
3145 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3146 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3147
366af02c
TS
3148 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3149 reading it.
3150 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3151 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3152
793ea851
KK
31532012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3154
3155 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3157 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3158 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3159
a728a38f
L
31602012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 [BZ #14117]
c08010c7
L
3163 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3164 * sysdeps/i386/fpu/Implies: New file.
3165 * sysdeps/x86_64/fpu/Implies: Likewise.
3166 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3167 * sysdeps/x86/fpu/bits/fenv.h: This.
3168
a728a38f
L
3169 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3170 __SSE_MATH__.
3171
6e230d11
SP
31722012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3173
3174 [BZ #14134]
3175 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3176 character 0xffff that matches the last element of the
3177 conversion table.
3178
1b671feb
AZ
31792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180
3181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3182 fmodl commit.
3183
6043738b
AZ
31842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185
3186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3187 values higher than 25.6283.
3188
34ae0b32
AZ
31892012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190
3191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3192 subnormal exponent extraction and add some __builtin_expect.
3193 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3194 Fix for subnormal mantissa calculation.
3195
1214ec8f
MF
31962012-06-04 Mike Frysinger <vapier@gentoo.org>
3197
3198 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3199 cpu2 is -1 and errno is not ENOSYS.
3200
f3d1f93c
L
32012012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 [BZ #14117]
0e4a3cd7
L
3204 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3205 * sysdeps/x86/bits/string.h: This.
3206 * sysdeps/x86_64/bits/string.h: Removed.
3207
6704c645
L
3208 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3209 if not compiling for x86-64, but compiling for >= i486.
3210
48495318
L
3211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3212 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3213
14adcbfc
L
3214 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3215 New macro from Linux kernel 3.4.0.
3216 (FP_XSTATE_MAGIC2): Likewise.
3217 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3218 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3219 (struct _fpx_sw_bytes): New struct.
3220 (struct _xsave_hdr): Likewise.
3221 (struct _ymmh_state): Likewise.
3222 (struct _xstate): Likewise.
3223
68e408ab
L
3224 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3225 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3227 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3228 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3229 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3230
f3d1f93c
L
3231 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3233 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3234 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3235 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3236 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3237
d9dc34cd
TMQMF
32382012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3239
3240 [BZ #13743]
3241 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3242 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3243 (sysdep_headers): Include sys/platform/ppc.h.
3244 * sysdeps/powerpc/test-gettimebase.c: Test for
3245 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3246 * manual/Makefile (appendices): Include platform.texi.
3247 * manual/contrib.texi (Contributors): Update @node pointers.
3248 * manual/maint.texi (Maintenance): Likewise.
3249 (Platform): New node.
3250 * manual/platform.texi: New file. Document the new features.
3251
4af3879c
SP
32522012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3253 Jakub Jelinek <jakub@redhat.com>
3254
3255 [BZ #14188]
3256 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3257 where __builtin_expect is unavailable.
3258
2fd6ff13
DM
32592012-06-03 David S. Miller <davem@davemloft.net>
3260
3261 * stdlib/longlong.h: Updated from GCC.
3262
173f7220
AS
32632012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3264
3265 [BZ #14042]
3266 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3267 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3268 __mcount_internal.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3270 (GLIBC_2.16): Likewise.
3271
f34a1c6f
L
32722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3273
3274 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3275
88a4576f
JM
32762012-06-01 Joseph Myers <joseph@codesourcery.com>
3277
ea32bcdd
JM
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3279 (default-abi): New variable.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3281 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3282 variable.
3283 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3284 Likewise.
3285 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3288 Likewise.
3289
88a4576f
JM
3290 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3291 definition. Document in comment.
3292
402fe938
DM
32932012-06-01 David S. Miller <davem@davemloft.net>
3294
3295 * stdlib/longlong.h: Updated from GCC.
3296
3553723f
L
32972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3298
3299 [BZ #14117]
3bd872c4
L
3300 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3301 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3302 sys/debugreg.h sys/io.h here.
3303 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3304 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3305 sys/io.h.
3306 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3307 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3308 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3309 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3310 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3311 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3312
3553723f
L
3313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3314 Define only if __x86_64__ is defined.
3315
4842e4fe
JM
33162012-06-01 Joseph Myers <joseph@codesourcery.com>
3317
c5bfe3d5
JM
3318 [BZ #14048]
3319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3320 Use int64_t for variable i.
3321 * math/libm-test.inc (fmod_test): Add more tests.
3322
4842e4fe
JM
3323 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3324 z computation is not scheduled after fetestexcept.
3325 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3326 Use math_force_eval instead of asm to ensure calculation scheduled
3327 before exception test.
3328 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3329 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3330
efb73488
AJ
33312012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3332
3333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3334 computation is not scheduled after fetestexcept.
3335
29bcce7c
L
33362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 [BZ #14117]
3339 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3340 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3341
73a68f94
AZ
33422012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343
3344 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3345 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3346
67b6df78
L
33472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3348
edf2933a 3349 [BZ #14117]
ebc64a18
L
3350 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3351 <bits/wordsize.h>.
3352 (__WCHAR_MIN): Support __WORDSIZE == 64.
3353 (__WCHAR_MAX): Likewise.
3354
edf2933a
L
3355 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3356 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3357
57c6cf40
L
3358 [BZ #14183]
3359 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3360 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3361
67b6df78 3362 [BZ #14117]
8eb6281e
L
3363 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3365
aac639f4
L
3366 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3367 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3368
67b6df78
L
3369 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3370 Defined to 1 if __x86_64__ isn't defined.
3371 (_STAT_VER_LINUX_OLD): New.
3372 (st_atime): Remove duplicate.
3373 (st_mtime): Likewise.
3374 (st_ctime): Likewise.
3375
1c2cfe81
DM
33762012-05-31 David S. Miller <davem@davemloft.net>
3377
3378 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3379 entries.
3380
5be8418c
AS
33812012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3382
e7725326
AS
3383 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3384 gen-libm-test.pl.
3385
5be8418c
AS
3386 [BZ #14132]
3387 * elf/dl-reloc.c: Include <_itoa.h>.
3388 (_dl_reloc_bad_type): Remove use of INTUSE.
3389 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3390 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3391 * stdio-common/psiginfo.c (psiginfo): Likewise.
3392 * stdio-common/psignal.c (psignal): Likewise.
3393 * string/strsignal.c (strsignal): Likewise.
3394 * include/signal.h (_sys_siglist): Declare hidden proto.
3395 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3396 INTVARDEF with libc_hidden_data_def.
3397 * stdio-common/itoa-udigits.c: Likewise.
3398 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3399 (_itoa_lower_digits_internal): Remove declaration.
3400 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3401 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3402 (_sys_sigabbrev_internal): Remove aliases.
3403 (_sys_siglist): Define hidden alias.
3404
507352f1
MT
34052012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3406
3407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3408 bits/sysctl.h.
3409
42bbb1c3
L
34102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3411
3412 [BZ #14117]
6bd784b6
L
3413 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3414 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3415
8bca20f0
L
3416 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3417 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3418 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3419 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3420 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3421 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3422
f9e890a9
L
3423 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3424 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3425 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3426
471101a1
L
3427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3428 with __addr.
3429 (insw): Likewise.
3430 (insl): Likewise.
3431 (outsb): Likewise.
3432 (outsw): Likewise.
3433 (outsl): Likewise.
3434
6451c862
L
3435 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3436 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3437 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3438
a254b8c9
L
3439 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3440 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3441 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3442 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3443 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3444 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3445
b8dfdd92
L
3446 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3447 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3448
578cd270
L
3449 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3450 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3451
de662f5f
L
3452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3454 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3455
25653439
L
3456 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3457 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3458 to ...
3459 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3460
6bad24a0
L
3461 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3462 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3463 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3464
42bbb1c3
L
3465 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3466 for x86-64.
3467 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3468
2d10d547
JM
34692012-05-31 Joseph Myers <joseph@codesourcery.com>
3470
3471 * math/math.h (M_El): Use two more decimal places.
3472 (M_LOG2El): Likewise.
3473 (M_LOG10El): Likewise.
3474 (M_LN2l): Likewise.
3475 (M_LN10l): Likewise.
3476 (M_PIl): Likewise.
3477 (M_PI_2l): Likewise.
3478 (M_PI_4l): Likewise.
3479 (M_1_PIl): Likewise.
3480 (M_2_PIl): Likewise.
3481 (M_2_SQRTPIl): Likewise.
3482 (M_SQRT2l): Likewise.
3483 (M_SQRT1_2l): Likewise.
3484
f230c29b
DM
34852012-05-31 David S. Miller <davem@davemloft.net>
3486
3487 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3488 values between float registers.
3489 * sysdeps/sparc/sparc64/memset.S: Likewise.
3490 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3491
fed806c3
MF
34922012-05-31 Mike Frysinger <vapier@gentoo.org>
3493
3494 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3495 -D_FORTIFY_SOURCE=1.
3496 (CPPFLAGS-tst-longjmp_chk.c): Define.
3497 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3498 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3499 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3500 CFLAGS-tst-wchar-h.c.
3501
30917259
MP
35022012-05-31 Marek Polacek <polacek@redhat.com>
3503
3504 [BZ #14132]
3505 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3506 __endmntent_internal): Remove declaration.
3507 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3508 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3509 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3510
1c58d5dc
DM
35112012-05-30 David S. Miller <davem@davemloft.net>
3512
3513 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3514 (___Q_simulate_exceptions): Use real FP ops rather than writing
3515 into the %fsr.
3516 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3517 Likewise.
3518
7dc00e0d
L
35192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 [BZ #14117]
0bd53985
L
3522 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3523 * sysdeps/x86/bits/xtitypes.h: This.
3524
3a257e66
L
3525 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3526 * sysdeps/x86/bits/wordsize.h: This.
3527
62f62904
L
3528 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3529 * sysdeps/x86/bits/huge_vall.h: This.
3530
404fe9d9
L
3531 * sysdeps/i386/bits/select.h: Removed.
3532 * sysdeps/x86_64/bits/select.h: Renamed to ...
3533 * sysdeps/x86/bits/select.h: This.
3534
d48d0446
L
3535 * sysdeps/i386/bits/setjmp.h: Removed.
3536 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3537 * sysdeps/x86/bits/setjmp.h: This.
3538
7dc00e0d
L
3539 * sysdeps/i386/bits/mathdef.h: Removed.
3540 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3541 * sysdeps/x86/bits/mathdef.h: This.
3542
03277f8f
AS
35432012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3544
3545 [BZ #14132]
3546 * include/sys/socket.h (__connect_internal)
3547 (__libc_sa_len_internal): Remove declaration.
3548 (__connect, __libc_sa_len): Declare hidden_proto.
3549 (SA_LEN): Remove use of INTUSE.
3550 * socket/connect.c: Add libc_hidden_def.
3551 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3552 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3553 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3554 alias.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3557 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3558 of adding _internal alias.
3559
13764867
L
35602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 [BZ #14117]
6bd97696
L
3563 * sysdeps/i386/bits/link.h: Removed.
3564 * sysdeps/i386/bits/linkmap.h: Likewise.
3565 * sysdeps/x86_64/bits/link.h: Renamed to ...
3566 * sysdeps/x86/bits/link.h: This.
3567 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3568 * sysdeps/x86/bits/linkmap.h: This.
3569
f726f0bb
L
3570 * sysdeps/i386/bits/endian.h: Removed.
3571 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3572 * sysdeps/x86/bits/endian.h: This.
3573
13764867
L
3574 * sysdeps/i386/bits/byteswap.h: Removed.
3575 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3576 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3577 * sysdeps/x86/bits/byteswap.h: This.
3578 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3579 * sysdeps/x86/bits/byteswap-16.h: This.
3580 * sysdeps/i386/Implies: Add x86.
3581 * sysdeps/x86_64/Implies: Likewise.
3582
ae251b0b
DM
35832012-05-30 David S. Miller <davem@davemloft.net>
3584
3585 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3586 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3587 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3588 (FP_TRAPPING_EXCEPTIONS): Define.
3589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3590 (FP_TRAPPING_EXCEPTIONS): Define.
3591 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3592 subnormals only when inexact has been signalled or underflow
3593 exceptions are enabled.
3594 (_FP_PACK_CANONICAL): Likewise.
3595
d5c90867
L
35962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 [BZ #14183]
3599 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3600 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3601
63f1549e
RH
36022012-05-30 Richard Henderson <rth@twiddle.net>
3603
8d8f2279
RH
3604 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3605 with #ifndef NOT_IN_libc.
3606
63f1549e
RH
3607 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3608 marked to avoid plt entry.
3609
0ab0291b
L
36102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 [BZ #14112]
3613 * Makeconfig (default-abi): New macro.
3614 (abi-includes): Likewise.
3615 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3616 $(abi-$(default-abi)-lib-soname) for soname if defined.
3617 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3618 abi-variants.
3619 * Makefile (installed-stubs): Likewise.
3620 * include/stubs-biarch.h: Removed.
3621 * scripts/lib-names.awk: Only handle one library at a time.
3622 * scripts/soversions.awk: Remove WORDSIZE support.
3623 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3624 entries.
3625 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3626 Removed.
3627 (syscall-list-default-condition): Likewise.
3628 (syscall-list-default-condition): Likewise.
3629 (syscall-list-includes): Likewise.
3630 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3631 syscall-list-* with abi-*. Handle undefined abi-variants.
3632 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3633 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3634 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3637 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3638 Removed.
3639 (syscall-list-32-options): Likewise.
3640 (syscall-list-32-condition): Likewise.
3641 (syscall-list-64-options): Likewise.
3642 (syscall-list-64-condition): Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3644 macro.
3645 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3646 Renamed to ...
3647 (abi-*): This.
3648 (abi-64-ld-soname): New macro.
3649 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3651 Renamed to ...
3652 (abi-*): This.
3653 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3654 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3655
4da0431d
JM
36562012-05-30 Joseph Myers <joseph@codesourcery.com>
3657
3a85279c
JM
3658 * sysdeps/unix/sysv/linux/kernel-features.h
3659 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3660 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3661 include <kernel-features.h>.
3662 [!__NR_ftruncate64]: Remove conditional code.
3663 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3664 [__NR_ftruncate64]: Make code unconditional.
3665 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3666 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3667 include <kernel-features.h>.
3668 [!__NR_ftruncate64]: Remove conditional code.
3669 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3670 [__NR_ftruncate64]: Make code unconditional.
3671 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3673 include <kernel-features.h>.
3674 [!__NR_ftruncate64]: Remove conditional code.
3675 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3676 [__NR_ftruncate64]: Make code unconditional.
3677 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3679 include <kernel-features.h>.
3680 [!__NR_ftruncate64]: Remove conditional code.
3681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3682 [__NR_ftruncate64]: Make code unconditional.
3683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3684
4da0431d
JM
3685 * configure.in (libc_cv_fpie): Weaken to a compile test using
3686 LIBC_TRY_CC_OPTION.
3687 * configure: Regenerated.
3688
11ef492c
AK
36892012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3690
3691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3695 Refreshed.
3696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3702 Refreshed.
3703
d66ef399
DM
37042012-05-27 David S. Miller <davem@davemloft.net>
3705
3706 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3707 (___Q_zero): New.
3708 (__Q_simulate_exceptions): Return void. Change to simulate
3709 exceptions by writing into the %fsr.
3710 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3711 (__Qp_handle_exceptions): Likewise.
3712 (numbers): Delete.
3713 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3714 __Qp_handle_exceptions.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3716 __Qp_handle_exceptions.
3717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3718 as unused and give dummy FP_RND_NEAREST initializer.
3719 (FP_INHIBIT_RESULTS): Define.
3720 (___Q_simulate_exceptions): Update declaration.
3721 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3722 formatting.
3723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3724 as unused and give dummy FP_RND_NEAREST initializer.
3725 (__Qp_handle_exceptions): Update declaration.
3726 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3727 formatting.
3728
04fb54b5
TS
37292012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3730
3731 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3732 the temporary FPU control word.
3733 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3734 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3735 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3736 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3737 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3738 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3739 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3740 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3741 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3742 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3744
3f99608f
KK
37452012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3746
3747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3748 fields.
3749
65a4de4e
CLT
37502012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3751
3752 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3753 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3754 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3755 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3756 Likewise.
3757 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3758 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3759 Likewise.
3760
15749d40
UD
37612012-05-27 Ulrich Drepper <drepper@gmail.com>
3762
3763 * po/h.po: Update from translation team.
3764
25dbcb27
AS
37652012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3766
3d3f8e55
AS
3767 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3768
25dbcb27
AS
3769 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3770 handling of denormals.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3772 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3773 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3774 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3776 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3778 Likewise.
3779
7ad47a80 37802012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3781
3782 [BZ #14152]
3783 * math/libm-test.inc (fma_test): Don't always expect underflow
3784 exception.
3785
9c6ea9fa
SP
37862012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3787
3788 [BZ #12416]
3789 * elf/tst-execstack.c: Include stackinfo.h.
3790 (do_test): Adjust test case to ensure that pthread_getattr_np
3791 behaviour remains the same after marking stack executable.
3792
a8239222
JM
37932012-05-25 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/unix/sysv/linux/kernel-features.h
3796 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3797 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3798 kernel-features.h.
3799 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3800 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3801 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3802 kernel-features.h.
3803 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3804 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3805
918b5606
L
38062012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 * configure.in: Define the default includes to being none.
3809 * configure: Regenerated.
3810
3a097cc7
RM
38112012-05-25 Roland McGrath <roland@hack.frob.com>
3812
8422c9a5
RM
3813 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3814 * sysdeps/x86_64/setjmp.S: Likewise.
3815 * sysdeps/i386/bsd-setjmp.S: Likewise.
3816 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3817 * sysdeps/i386/setjmp.S: Likewise.
3818 * sysdeps/i386/__longjmp.S: Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3820 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3821
3a097cc7
RM
3822 * include/stap-probe.h: New file.
3823 * configure.in: Handle --enable-systemtap.
3824 * configure: Regenerated.
3825 * config.h.in (USE_STAP_PROBE): New #undef.
3826 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3827 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3828 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3829
21708942
JM
38302012-05-25 Joseph Myers <joseph@codesourcery.com>
3831
3832 [BZ #13717]
3833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3834 to 2.4.0 where earlier.
3835 * sysdeps/unix/sysv/linux/configure: Regenerated.
3836 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3837 <kernel-features.h>.
3838 [__ASSUME_32BITUIDS]: Make code unconditional.
3839 [!__ASSUME_32BITUIDS]: Remove conditional code.
3840 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3841 <kernel-features.h>.
3842 [__ASSUME_32BITUIDS]: Make code unconditional.
3843 [!__ASSUME_32BITUIDS]: Remove conditional code.
3844 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3845 [__ASSUME_32BITUIDS]: Make code unconditional.
3846 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3847 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3848 <kernel-features.h>.
3849 [__ASSUME_32BITUIDS]: Make code unconditional.
3850 [!__ASSUME_32BITUIDS]: Remove conditional code.
3851 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3852 <kernel-features.h>.
3853 [__ASSUME_32BITUIDS]: Make code unconditional.
3854 [!__ASSUME_32BITUIDS]: Remove conditional code.
3855 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3856 <kernel-features.h>.
3857 [__ASSUME_32BITUIDS]: Make code unconditional.
3858 [!__ASSUME_32BITUIDS]: Remove conditional code.
3859 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3860 <kernel-features.h>.
3861 [__ASSUME_32BITUIDS]: Make code unconditional.
3862 [!__ASSUME_32BITUIDS]: Remove conditional code.
3863 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3864 <kernel-features.h>.
3865 [__ASSUME_32BITUIDS]: Make code unconditional.
3866 [!__ASSUME_32BITUIDS]: Remove conditional code.
3867 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3868 <kernel-features.h>.
3869 [__ASSUME_32BITUIDS]: Make code unconditional.
3870 [!__ASSUME_32BITUIDS]: Remove conditional code.
3871 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3872 <kernel-features.h>.
3873 [__ASSUME_32BITUIDS]: Make code unconditional.
3874 [!__ASSUME_32BITUIDS]: Remove conditional code.
3875 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3876 <kernel-features.h>.
3877 [__ASSUME_32BITUIDS]: Make code unconditional.
3878 [!__ASSUME_32BITUIDS]: Remove conditional code.
3879 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3880 <kernel-features.h>.
3881 [__ASSUME_32BITUIDS]: Make code unconditional.
3882 [!__ASSUME_32BITUIDS]: Remove conditional code.
3883 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3884 <kernel-features.h>.
3885 [__ASSUME_32BITUIDS]: Make code unconditional.
3886 [!__ASSUME_32BITUIDS]: Remove conditional code.
3887 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3888 <kernel-features.h>.
3889 [__NR_setresgid] (__setresgid): Do not declare.
3890 [__ASSUME_32BITUIDS]: Make code unconditional.
3891 [!__ASSUME_32BITUIDS]: Remove conditional code.
3892 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3893 <kernel-features.h>.
3894 [__NR_setresuid] (__setresuid): Do not declare.
3895 [__ASSUME_32BITUIDS]: Make code unconditional.
3896 [!__ASSUME_32BITUIDS]: Remove conditional code.
3897 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3898 <kernel-features.h>.
3899 [__ASSUME_32BITUIDS]: Make code unconditional.
3900 [!__ASSUME_32BITUIDS]: Remove conditional code.
3901 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3902 <kernel-features.h>.
3903 [__ASSUME_32BITUIDS]: Make code unconditional.
3904 [!__ASSUME_32BITUIDS]: Remove conditional code.
3905 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3906 <kernel-features.h>.
3907 [__ASSUME_32BITUIDS]: Make code unconditional.
3908 [!__ASSUME_32BITUIDS]: Remove conditional code.
3909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3910 <kernel-features.h>.
3911 [__ASSUME_32BITUIDS]: Make code unconditional.
3912 [!__ASSUME_32BITUIDS]: Remove conditional code.
3913 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3914 <kernel-features.h>.
3915 [__ASSUME_32BITUIDS]: Make code unconditional.
3916 [!__ASSUME_32BITUIDS]: Remove conditional code.
3917 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3918 <kernel-features.h>.
3919 [__ASSUME_32BITUIDS]: Make code unconditional.
3920 [!__ASSUME_32BITUIDS]: Remove conditional code.
3921 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3922 <kernel-features.h>.
3923 [__ASSUME_32BITUIDS]: Make code unconditional.
3924 [!__ASSUME_32BITUIDS]: Remove conditional code.
3925 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3926 <kernel-features.h>.
3927 [__ASSUME_32BITUIDS]: Make code unconditional.
3928 [!__ASSUME_32BITUIDS]: Remove conditional code.
3929 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3930 <kernel-features.h>.
3931 [__ASSUME_32BITUIDS]: Make code unconditional.
3932 [!__ASSUME_32BITUIDS]: Remove conditional code.
3933 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3934 <kernel-features.h>.
3935 [__ASSUME_32BITUIDS]: Make code unconditional.
3936 [!__ASSUME_32BITUIDS]: Remove conditional code.
3937 * sysdeps/unix/sysv/linux/kernel-features.h
3938 (__ASSUME_SETRESUID_SYSCALL): Remove.
3939 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3940 (__ASSUME_32BITUIDS): Likewise.
3941 (__ASSUME_LDT_WORKS): Likewise.
3942 (__ASSUME_O_DIRECTORY): Likewise.
3943 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3944 architecture but not kernel version.
3945 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3946 (__ASSUME_MMAP2_SYSCALL): Likewise.
3947 (__ASSUME_STAT64_SYSCALL): Likewise.
3948 (__ASSUME_IPC64): Likewise.
3949 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3950 <kernel-features.h>.
3951 [__ASSUME_32BITUIDS]: Make code unconditional.
3952 [!__ASSUME_32BITUIDS]: Remove conditional code.
3953 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3954 <kernel-features.h>.
3955 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3956 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3957 132096]: Remove conditional code.
3958 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3960 <kernel-features.h>.
3961 [__ASSUME_32BITUIDS]: Make code unconditional.
3962 [!__ASSUME_32BITUIDS]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3964 <kernel-features.h>.
3965 [__ASSUME_32BITUIDS]: Make code unconditional.
3966 [!__ASSUME_32BITUIDS]: Remove conditional code.
3967 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3968 <kernel-features.h>.
3969 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3970 unconditional.
3971 (__setresgid): Do not declare.
3972 [__ASSUME_32BITUIDS]: Make code unconditional.
3973 [!__ASSUME_32BITUIDS]: Remove conditional code.
3974 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3975 <kernel-features.h>.
3976 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3977 unconditional.
3978 (__setresuid): Do not declare.
3979 [__ASSUME_32BITUIDS]: Make code unconditional.
3980 [!__ASSUME_32BITUIDS]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3982 <kernel-features.h>.
3983 [__ASSUME_32BITUIDS]: Make code unconditional.
3984 [!__ASSUME_32BITUIDS]: Remove conditional code.
3985 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3986 <kernel-features.h>.
3987 [__ASSUME_32BITUIDS]: Make code unconditional.
3988 [!__ASSUME_32BITUIDS]: Remove conditional code.
3989
a386f1cc
RH
39902012-05-25 Richard Henderson <rth@twiddle.net>
3991
3992 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3993 dl_hwcap to ifunc resolver.
3994 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3995 elf_ifunc_invoke.
3996 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3997 dl_hwcap to ifunc resolver.
3998 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3999
b6550497
JM
40002012-05-24 Joseph Myers <joseph@codesourcery.com>
4001
4002 [BZ #14153]
4003 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4004 for |x| <= 2**-26, not 2**-57.
4005 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4006 exception.
4007
b0bc23a1
JL
40082012-05-24 Jeff Law <law@redhat.com>
4009
4010 * stdio-common/Makefile (tests): Add bug25.
4011 * stdio-common/bug25.c: New test.
4012
347c92e9
L
40132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 [BZ #13576]
4016 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4017 multiple of MALLOC_ALIGNMENT in size.
4018 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4019
6bcc8b3f
JM
40202012-05-24 Joseph Myers <joseph@codesourcery.com>
4021
4022 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4023 Require >= 256.
4024 (FILENAME_MAX): Use macro-int-constant.
4025 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4026 (_IOFBF): Use macro-int-constant.
4027 (_IOLBF): Likewise.
4028 (_IONBF): Likewise.
4029 (SEEK_CUR): Likewise.
4030 (SEEK_END): Likewise.
4031 (SEEK_SET): Likewise.
4032 (TMP_MAX): Likewise.
4033 (EOF): Use macro-int-constant. Require < 0.
4034 (NULL): Use macro-constant. Require == 0.
4035 (stdin): Require type to be FILE *.
4036 (stdout): Likewise.
4037 (stderr): Likewise.
4038 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4039 macro-int-constant.
4040 (EXIT_SUCCESS): Likewise.
4041 (NULL): Use macro-constant. Require == 0.
4042 (RAND_MAX): Use macro-int-constant.
4043 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4044 [C99-based standards] (strtof): Require function.
4045 [C99-based standards] (strtold): Likewise.
4046 [C99-based standards] (strtoll): Likewise.
4047 [C99-based standards] (strtoull): Likewise.
4048 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4049 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4050 [ISO || ISO99 || ISO11] (math.h): Likewise.
4051 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4052 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4054
d18ea0c5
AS
40552012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4056
4057 [BZ #14132]
56d25bb8
AS
4058 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4059 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4060 * intl/dgettext.c (DCGETTEXT): Likewise.
4061 * intl/gettext.c (DCGETTEXT): Likewise.
4062 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4063 * posix/regex_internal.h (gettext): Likewise.
4064 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4065 Remove declaration.
4066 * include/argz.h (__argz_count_internal)
4067 (__argz_stringify_internal): Remove declaration.
4068 (__argz_count, __argz_stringify): Declare hidden proto.
4069 * intl/dcgettext.c: Remove use of INTDEF.
4070 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4071 * string/argz-stringify.c: Likewise.
4072 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4073 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4074 Declare hidden proto.
d18ea0c5
AS
4075 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4076 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4077 Declare hidden proto.
4078 * include/stdio.h (__asprintf_internal): Don't declare.
4079 (__asprintf): Don't define as macro. Declare hidden proto.
4080 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4081 (__fsetlocking): Declare hidden proto.
4082 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4083 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4084 hidden proto.
4085 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4086 (_IO_setlinebuf): Remove use of INTUSE.
4087 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4088 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4089 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4090 Remove declaration.
4091 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4092 (_IO_do_flush): Remove use of INTUSE.
4093 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4094 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4095 (_IO_adjust_column, _IO_least_wmarker)
4096 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4097 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4098 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4099 (_IO_default_doallocate, _IO_wdefault_doallocate)
4100 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4101 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4102 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4103 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4104 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4105 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4106 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4107 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4108 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4109 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4110 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4111 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4112 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4113 proto.
4114 (_IO_flush_all_internal, _IO_adjust_column_internal)
4115 (_IO_default_uflow_internal, _IO_default_finish_internal)
4116 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4117 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4118 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4119 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4120 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4121 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4122 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4123 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4124 (_IO_file_close_internal, _IO_file_close_it_internal)
4125 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4126 (_IO_file_init_internal, _IO_file_attach_internal)
4127 (_IO_file_fopen_internal, _IO_file_read_internal)
4128 (_IO_file_sync_internal, _IO_file_seek_internal)
4129 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4130 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4131 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4132 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4133 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4134 (_IO_list_all_internal, _IO_link_in_internal)
4135 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4136 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4137 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4138 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4139 (_IO_do_write_internal, _IO_padn_internal)
4140 (_IO_getline_info_internal, _IO_getline_internal)
4141 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4142 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4143 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4144 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4145 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4146 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4147 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4148 with libc_hidden_ver, remove use of INTUSE.
4149 * libio/genops.c: Likewise.
4150 * libio/freopen.c: Likewise.
4151 * libio/freopen64.c: Likewise.
4152 * libio/iofclose.c: Likewise.
4153 * libio/iofdopen.c: Likewise.
4154 * libio/iofflush.c: Likewise.
4155 * libio/iofflush_u.c: Likewise.
4156 * libio/iofgets.c: Likewise.
4157 * libio/iofgets_u.c: Likewise.
4158 * libio/iofopen.c: Likewise.
4159 * libio/iofopncook.c: Likewise.
4160 * libio/iofread.c: Likewise.
4161 * libio/iofread_u.c: Likewise.
4162 * libio/ioftell.c: Likewise.
4163 * libio/iofwrite.c: Likewise.
4164 * libio/iogetline.c: Likewise.
4165 * libio/iogets.c: Likewise.
4166 * libio/iogetwline.c: Likewise.
4167 * libio/iopadn.c: Likewise.
4168 * libio/iopopen.c: Likewise.
4169 * libio/ioseekoff.c: Likewise.
4170 * libio/ioseekpos.c: Likewise.
4171 * libio/iosetbuffer.c: Likewise.
4172 * libio/iosetvbuf.c: Likewise.
4173 * libio/ioungetc.c: Likewise.
4174 * libio/ioungetwc.c: Likewise.
4175 * libio/iovdprintf.c: Likewise.
4176 * libio/iovsprintf.c: Likewise.
4177 * libio/iovsscanf.c: Likewise.
4178 * libio/memstream.c: Likewise.
4179 * libio/obprintf.c: Likewise.
4180 * libio/oldfileops.c: Likewise.
4181 * libio/oldiofclose.c: Likewise.
4182 * libio/oldiofdopen.c: Likewise.
4183 * libio/oldiofopen.c: Likewise.
4184 * libio/oldiopopen.c: Likewise.
4185 * libio/oldstdfiles.c: Likewise.
4186 * libio/putc.c: Likewise.
4187 * libio/setbuf.c: Likewise.
4188 * libio/setlinebuf.c: Likewise.
4189 * libio/stdfiles.c: Likewise.
4190 * libio/strops.c: Likewise.
4191 * libio/vasprintf.c: Likewise.
4192 * libio/vscanf.c: Likewise.
4193 * libio/vsnprintf.c: Likewise.
4194 * libio/vswprintf.c: Likewise.
4195 * libio/wfiledoalloc.c: Likewise.
4196 * libio/wfileops.c: Likewise.
4197 * libio/wgenops.c: Likewise.
4198 * libio/wmemstream.c: Likewise.
4199 * libio/wstrops.c: Likewise.
4200 * libio/__fpurge.c: Likewise.
4201 * libio/__fsetlocking.c: Likewise.
4202 * assert/assert.c: Likewise.
4203 * debug/fgets_chk.c: Likewise.
4204 * debug/fgets_u_chk.c: Likewise.
4205 * debug/fread_chk.c: Likewise.
4206 * debug/fread_u_chk.c: Likewise.
4207 * debug/gets_chk.c: Likewise.
4208 * debug/obprintf_chk.c: Likewise.
4209 * debug/vasprintf_chk.c: Likewise.
4210 * debug/vdprintf_chk.c: Likewise.
4211 * debug/vsnprintf_chk.c: Likewise.
4212 * debug/vsprintf_chk.c: Likewise.
4213 * malloc/mtrace.c: Likewise.
4214 * misc/error.c: Likewise.
4215 * misc/syslog.c: Likewise.
4216 * stdio-common/asprintf.c: Likewise.
4217 * stdio-common/fxprintf.c: Likewise.
4218 * stdio-common/getw.c: Likewise.
4219 * stdio-common/isoc99_fscanf.c: Likewise.
4220 * stdio-common/isoc99_scanf.c: Likewise.
4221 * stdio-common/isoc99_vfscanf.c: Likewise.
4222 * stdio-common/isoc99_vscanf.c: Likewise.
4223 * stdio-common/isoc99_vsscanf.c: Likewise.
4224 * stdio-common/printf-prs.c: Likewise.
4225 * stdio-common/printf_fp.c: Likewise.
4226 * stdio-common/printf_fphex.c: Likewise.
4227 * stdio-common/printf_size.c: Likewise.
4228 * stdio-common/putw.c: Likewise.
4229 * stdio-common/scanf.c: Likewise.
4230 * stdio-common/sprintf.c: Likewise.
4231 * stdio-common/tmpfile.c: Likewise.
4232 * stdio-common/vfprintf.c: Likewise.
4233 * stdio-common/vfscanf.c: Likewise.
4234 * stdlib/strfmon_l.c: Likewise.
4235 * sunrpc/openchild.c: Likewise.
4236 * sunrpc/xdr_stdio.c: Likewise.
4237 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4238 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4239
d6c33fda
RM
42402012-05-24 Roland McGrath <roland@hack.frob.com>
4241
c1487492
RM
4242 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4243
4244 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4245 in the third column, to generate for the shared library an IFUNC
4246 that uses _dl_vdso_vsym.
4247 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4248 * Makeconfig (object-suffixes-noshared): New variable.
4249
4250 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4251 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4252 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4253 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4254
d6c33fda
RM
4255 [BZ #14132]
4256 * include/sys/time.h (__gettimeofday): Remove macro.
4257 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4258 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4259 Remove INTDEF.
4260 (__gettimeofday): Add libc_hidden_def.
4261 (gettimeofday): Add libc_hidden_weak.
4262 * sysdeps/mach/gettimeofday.c: Likewise.
4263 * sysdeps/posix/gettimeofday.c: Likewise.
4264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4265 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4266 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4267 (__gettimeofday_internal): Remove strong_alias.
4268 (__gettimeofday): Add libc_hidden_def.
4269 (gettimeofday): Add libc_hidden_weak.
4270 * sysdeps/unix/syscalls.list (gettimeofday):
4271 Remove __gettimeofday_internal alias.
4272
b5a2bbe6
L
42732012-05-24 Daniel Jacobowitz <drow@false.org>
4274 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 [BZ #12495]
4277 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4278 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4279 (largebin_index_32_big): New.
4280 (largebin_index): Use it for 16-byte alignment.
4281 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4282 correction with front_misalign.
4283
cfba4fda
L
42842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4285
7f907421
L
4286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4288 Likewise.
4289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4290 Likewise.
4291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4292 Likewise.
4293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4294 Likewise.
4295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4296 Likewise.
4297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4298 Likewise.
4299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4300 Likewise.
4301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4302 Likewise.
4303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4304 Likewise.
4305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4306 Likewise.
4307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4308 Likewise.
4309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4310 Likewise.
4311
cfba4fda
L
4312 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4313 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4314
80bad0cc
JM
43152012-05-24 Joseph Myers <joseph@codesourcery.com>
4316
7a25eb06
JM
4317 [BZ #10846]
4318 [BZ #14036]
4319 * math/libm-test.inc (exp_test): Add test from bug 14036.
4320 (pow_test): Add test from bug 10846.
4321
795405f9
JM
4322 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4323 and other flags.
4324 (special_function): Do not include flags in test name.
4325 (parse_args): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4328 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4329 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4331
80bad0cc
JM
4332 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4333 exceptions.
4334 * math/libm-test.inc ("Philosophy"): Update comment about
4335 exception testing.
4336 (UNDERFLOW_EXCEPTION): New macro.
4337 (UNDERFLOW_EXCEPTION_OK): Likewise.
4338 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4339 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4340 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4341 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4342 (INVALID_EXCEPTION_OK): Update value.
4343 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4344 (OVERFLOW_EXCEPTION_OK): Likewise.
4345 (IGNORE_ZERO_INF_SIGN): Likewise.
4346 (test_exceptions): Handle underflow exceptions.
4347 (acos_test): Update for underflow exception expectations.
4348 (cexp_test): Likewise.
4349 (clog_test): Likewise.
4350 (clog10_test): Likewise.
4351 (csqrt_test): Likewise.
4352 (ctan_test): Likewise.
4353 (ctanh_test): Likewise.
4354 (exp_test): Likewise.
4355 (exp10_test): Likewise.
4356 (exp2_test): Likewise.
4357 (expm1_test): Likewise.
4358 (fma_test): Likewise.
4359 (j0_test): Likewise.
4360 (jn_test): Likewise.
4361 (nexttoward_test): Likewise.
4362 (pow_test): Likewise.
4363 (scalbn_test): Likewise.
4364 (scalbln_test): Likewise.
4365 (tan_test): Likewise.
4366 (y1_test): Likewise.
4367 * sysdeps/i386/fpu/libm-test-ulps: Update.
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4369
9e0e3d0b
DM
43702012-05-23 David S. Miller <davem@davemloft.net>
4371
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4373 (__libc_sigaction): Remove unused local variables.
4374
ccd0a08f
L
43752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4378
62bdf9a6
PE
43792012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4380
f8591f80
PE
4381 mktime: avoid signed integer overflow
4382 * time/mktime.c (__mktime_internal): Do not mishandle the case
4383 where diff == INT_MIN.
4384
94c7d826
PE
4385 mktime: simplify computation of average
4386 * time/mktime.c (ranged_convert): Use new time_t_avg function
4387 instead of rolling our own (probably-slower) code.
4388
ce73d683
PE
4389 mktime: do not assume signed right shift propagates sign bit
4390 * time/mktime.c (isdst_differ): New static function.
4391 (__mktime_internal): No need to normalize tm_isdst now.
4392 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4393 tm_isdst values.
4394
72a22e59
PE
4395 mktime: merge another wrapv change from gnulib
4396 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4397 from some compilers.
4398
68605433
PE
4399 mktime: remove incorrect attempt at unusual arithmetics
4400 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4401 The code didn't really work on such machines anyway.
4402 (TYPE_MINIMUM): Assume two's complement.
4403 (twos_complement_arithmetic): Verify that long_int and time_t
4404 are two's complement (or unsigned, in the latter case).
4405
03cf7fe3
PE
4406 mktime: check signed shifts on long_int and time_t, too
4407 * time/mktime.c (SHR): Check that shifts work as desired
4408 on the types long_int and time_t too, as SHR is used on
4409 such types.
4410
f04dfbc2
PE
4411 mktime: do not assume 'long' is wide enough
4412 * time/mktime.c (verify): Move decl up.
4413 (long_int): New type.
4414 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4415 to remove assumption in the code that 'long' is wide enough to
4416 store year values. This assumption is not true on x32 and on
4417 some non-glibc platforms.
4418
62bdf9a6
PE
4419 mktime: merge wrapv change from gnulib
4420 * time/mktime.c (WRAPV): New macro.
4421 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4422 (guess_time_tm, __mktime_internal): Do not assume that signed
4423 integer overflow wraps around; modern compilers generate code
4424 where this assumption is no longer valid.
4425
5e292e4f
L
44262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4427
4428 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4429 Replace "jmp L(pseudo_end)" with "ret".
4430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4431 Likewise.
4432
8caf8c87
AJ
44332012-05-23 Andreas Jaeger <aj@suse.de>
4434
4435 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4436 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4437
1a09dc56
AJ
44382012-05-23 Andreas Jaeger <aj@suse.de>
4439 Maximilian Attems <max@stro.at>
4440
4441 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4442 New macros.
4443
1c87aba0
L
44442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4447 code so that pseudo_end is just ret and the stack pointer is
4448 correct also for static library in error case.
4449
40e45bd5
JM
44502012-05-23 Joseph Myers <joseph@codesourcery.com>
4451
c2670533
JM
4452 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4453 move to syscalls.list.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4458
40e45bd5
JM
4459 * manual/install.texi (Running make install): Do not mention Linux
4460 kernel version for which pt_chown is not needed.
4461 (Linux): Do not mention problems with nscd with 2.0 kernels.
4462 * INSTALL: Regenerated.
4463
be08eda5
AJ
44642012-05-23 Andreas Jaeger <aj@suse.de>
4465
4466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4467 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4468 macro.
4469 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4471 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4473 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4475 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4477 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4479 * sysdeps/unix/sysv/linux/bits/in.h
4480 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4481
a6a056bb
RM
44822012-05-22 Roland McGrath <roland@hack.frob.com>
4483
4484 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4485 (PREPARE_VERSION): Just use assert instead, it will be elided
4486 under [NDEBUG] anyway.
4487
c9009328
L
44882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/unix/sysv/linux/Makefile: Include
4491 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4492 (sysdep_routines): Remove sysctl.
c9009328
L
4493 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4494 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4495 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4496 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4497 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4498
73338355
AJ
44992012-05-22 Andreas Jaeger <aj@suse.de>
4500
4501 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4502 that pseudo_end is just ret and the stack pointer is correct also
4503 for static library in error case.
4504
d44638b0
PP
45052012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4506
4507 [BZ #14122]
4508 * nss/nsswitch.c (defconfig_entries): New variable.
4509 (__nss_database_lookup): Don't leak defconfig entries.
4510 (nss_parse_service_list): Don't leak on error paths.
4511 (free_database_entries): New function.
4512 (free_defconfig): New function.
4513 (free_mem): Move common code to free_database_entries.
4514
31a39bd8
L
45152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4516
da0331a8
L
4517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4518 Add arch_prctl.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4520
31a39bd8
L
4521 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4522 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4524 New macro.
4525 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4526 (INTERNAL_SYSCALL_TYPES): Likewise.
4527 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4528 (LOAD_REGS_TYPES_[1-6]): Likewise.
4529 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4530 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4531
45470df3
AZ
45322012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4533
4534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4535 copysignl for GLIBC_2_0.
4536 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4537 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4539 logbl for GLIBC_2_0.
4540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4542
98a61bcb
L
45432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4544
a4f6e481
L
4545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4546 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4547
f63d5db6
L
4548 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4549 Use "neg %eax".
4550
98a61bcb
L
4551 * time/mktime.c: Update copyright years.
4552
95770f14
PE
45532012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4554
6226efbd
PE
4555 mktime: merge comment-quoting-style change from gnulib
4556 * time/mktime.c: Quote 'like this' in comments.
4557 The GNU coding standards suggest that we no longer quote `like this',
4558 as "`" and "'" are typically rendered asymmetrically nowadays.
4559 The typical gnulib style is to quote 'like this' when quoting
4560 code, and "like this" when quoting English.
4561
b99e4f78
PE
4562 * time/mktime.c (compile-command): Add "-I.".
4563
643e01e6
PE
4564 mktime: merge mktime-internal.h change from gnulib
4565 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4566
2554247d
PE
4567 mktime: merge time_r change from gnulib
4568 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4569
826dd0ab
PE
4570 mktime: merge DEBUG change from gnulib
4571 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4572 case system <time.h> has a #define.
4573
bd83aabe
PE
4574 mktime: merge <sys/types.h> change from gnulib
4575 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4576 since <time.t> is now guaranteed to define time_t.
4577
95770f14
PE
4578 mktime: merge HAVE_CONFIG_H change from gnulib
4579 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4580
5e1a27a9
L
45812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4582
0e44a77e
L
4583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4584 Use "neg %eax".
4585
5e1a27a9
L
4586 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4587 __rlim_t cast.
4588 (struct rusage): Use anonymous union to pad each field to
4589 __syscall_slong_t.
4590
46259bec
DM
45912012-05-21 David S. Miller <davem@davemloft.net>
4592
4593 * Makefules (o-iterator): Remove .s cases.
4594 (compile-command.s): Delete.
4595 (COMPILE.s): Delete.
4596 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4597
59f0c22e
JM
45982012-05-21 Joseph Myers <joseph@codesourcery.com>
4599
4600 * configure.in (libc_cv_predef_stack_protector): Only consider
4601 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4602 * configure: Regenerated.
4603
20c07380
L
46042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4605
bbb3154b
L
4606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4607 New macro. Use R*LP on int and pointer.
4608 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4609 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4610 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4611 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4612
20c07380
L
4613 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4614 [__WORDSIZE_TIME64_COMPAT32] instead of
4615 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4616 (struct utmp): Likewise.
4617 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4618 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4619 Renamed to ...
4620 (__WORDSIZE_TIME64_COMPAT32): This.
4621 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4622 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4623 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4624 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4625 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4626 (__WORDSIZE_TIME64_COMPAT32): New macro.
4627
d8d1017e
AJ
46282012-05-21 Andreas Jaeger <aj@suse.de>
4629
4630 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4631 only if [SHARED]. Add prototype for __wcschr_ia32.
4632
6c7fb145
RM
46332012-05-21 Roland McGrath <roland@hack.frob.com>
4634
4635 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4636 of %rbp unmolested in the jmp_buf while mangling the low bits.
4637 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4638 unmolested high bits of %rbp while demangling the low bits.
4639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4640
66274218
AJ
46412012-05-21 Andreas Jaeger <aj@suse.de>
4642
07c58f8f
AJ
4643 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4644 * sunrpc/svc_simple.c: Use it for registerrpc.
4645 * sunrpc/xcrypt.c: Use it for passwd2des.
4646
66274218
AJ
4647 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4648
61f65140
L
46492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4650
4651 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4652 Don't define if [__SYSCALL_WORDSIZE != 32].
4653 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4654 New macro.
4655
5fefb436
AJ
46562012-05-21 Bruno Haible <bruno@clisp.org>
4657 Andreas Jaeger <aj@suse.de>
4658
4659 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4660 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4661 inptr and inend for must_buffer_ch.
4662 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4663 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4664 * stdio-common/Makefile (tests): Remove bug15.
4665 (bug15-ENV): Remove macro.
4666 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4667 anymore.
4668
d8e272ab
AJ
46692012-05-19 Andreas Jaeger <aj@suse.de>
4670 Roland McGrath <roland@hack.frob.com>
4671
4672 * manual/contrib.texi: Completely rewritten. It contains now an
4673 alphabetical list of contributors and their contributions.
4674
4a56a162
RH
46752012-05-21 Richard Henderson <rth@twiddle.net>
4676
4677 * misc/getauxval.c (__getauxval): Use unsigned long int.
4678 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4679 (getauxval): Use unsigned long int.
4680
d024d23c
L
46812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4684
cbc00a03
RM
46852012-05-21 Roland McGrath <roland@hack.frob.com>
4686
4687 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4688 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4689 __alignof__ (long double).
4690
478143fa
AZ
46912012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692
4693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4694
c7683a6d
RH
46952012-05-20 Richard Henderson <rth@twiddle.net>
4696
4697 * misc/getauxval.c: New file.
4698 * misc/sys/auxv.h: New file.
4699 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4700 (routines): Add getauxval.
4701 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4702 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4703 * elf/dl-sysdep.c (_dl_auxv): Remove.
4704 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4705 * elf/dl-support.c (_dl_auxv): New variable.
4706 (_dl_aux_init): Initialize it.
4707 * manual/startup.texi (Auxiliary Vector): New node.
4708 * sysdeps/generic/bits/hwcap.h: New file.
4709 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4710 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4711 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4712 * sysdeps/sparc/sysdep.h: ... here. Include it.
4713 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4716 Update.
c7683a6d
RH
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4720 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4725
a6f1845d
AZ
47262012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727
4728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4729
cbcbe830
DM
47302012-05-19 David S. Miller <davem@davemloft.net>
4731
4732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4733
e0b16cc2
JM
47342012-05-19 Joseph Myers <joseph@codesourcery.com>
4735
4736 [BZ #14123]
4737 * math/s_ccosh.c: Include <float.h>
4738 (__ccosh): Avoid internal overflow calculating sinh and cosh
4739 values before multiplying by sin and cos values.
4740 * math/s_ccoshf.c: Likewise.
4741 * math/s_ccoshl.c: Likewise.
4742 * math/s_csin.c: Likewise.
4743 * math/s_csinf.c: Likewise.
4744 * math/s_csinl.c: Likewise.
4745 * math/s_csinh.c: Likewise.
4746 * math/s_csinhf.c: Likewise.
4747 * math/s_csinhl.c: Likewise.
4748 * math/libm-test.inc (ccos_test): Add more tests.
4749 (ccosh_test): Likewise.
4750 (csin_test): Likewise.
4751 (csinh_test): Likewise.
4752 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754
6ad13e08
L
47552012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4756
f66f0ce8
L
4757 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4758 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4759
6ad13e08
L
4760 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4761
b1d072a7
JM
47622012-05-19 Joseph Myers <joseph@codesourcery.com>
4763
4764 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4765 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4766 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4767 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4768 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4769 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4770 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4771 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4772 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4773 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4774 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4775 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4776 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4777 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4778 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4779 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4780 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4781 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4782 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4783 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4784 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4785 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4786 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4787 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4788 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4789 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4790 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4791 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4792 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4793 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4794 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4795
9eae47cb
AJ
47962012-05-18 Andreas Jaeger <aj@suse.de>
4797
4798 * csu/.gitignore: Delete.
4799
bb07f69f
L
48002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4801
4802 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4803 (timex): Use __syscall_slong_t.
4804
e6bdb741
AJ
48052012-05-18 Andreas Jaeger <aj@suse.de>
4806 Carlos O'Donell <carlos_odonell@mentor.com>
4807
4808 * manual/install.texi (Configuring and compiling): Update
4809 description about files modified in the source directory.
d6c33fda 4810 * INSTALL: Regenerated.
e6bdb741 4811
1b74487e
L
48122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4813
4814 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4815 value. Use "or" to set return value to -1.
4816 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4817 negate return value.
4818
a88b64b9
TMQMF
48192012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4820
4821 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4822 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4823 failure if the compiler has Graphite support disabled.
4824 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4825 Likewise.
4826 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4827 CFLAGS-memmove.c): Likewise.
4828 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4829 Likewise.
4830
3707636e
L
48312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4832
610b8622
L
4833 * sysdeps/x86_64/x32/_itoa.h: New file.
4834
7cd195df
L
4835 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4836 getdents system call only if kernel and user dirents have the
4837 same d_ino and d_off.
4838
94b07d20
L
4839 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4840 LLONG_MAX != LONG_MAX.
4841 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4842 (_fitoa_word): Likewise.
4843
18298070
L
4844 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4845 years.
4846 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4848 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4849
553c7ea4
L
4850 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4851 include <bits/wordsize.h>. Check __x86_64__ instead of
4852 __WORDSIZE.
4853 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4854 if __x86_64__ is defined. Use anonymous union on fpstate.
4855
3707636e
L
4856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4857 anonymous union.
4858
b53ef01a
AS
48592012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4860
37fb1dc0
AS
4861 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4862 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4863 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4864 Refer to _rtld_local_ro instead of _rtld_global_ro.
4865 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4866 Likewise.
4867 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4868 Likewise.
4869 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4870 Likewise.
4871 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4872 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4873 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4874
b53ef01a
AS
4875 * sysdeps/powerpc/powerpc32/dl-machine.c
4876 (__elf_machine_runtime_setup) [PROF]: Don't reference
4877 _dl_prof_resolve.
4878
7a185db2
AJ
48792012-05-18 Andreas Jaeger <aj@suse.de>
4880
4881 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4882 function only available for GCCs before 3.4 since GCC 3.4
4883 introduced a builtin.
4884 (lrint): Likewise.
4885 (llrintf): Likewise.
4886 (llrint): Likewise.
4887 (fmaxf): Likewise.
4888 (fmax): Likewise.
4889 (fminf): Likewise.
4890 (fmin): Likewise.
4891 (rint): Likewise.
4892 (rintf): Likewise.
4893 (nearbyint): Likewise.
4894 (nearbyintf): Likewise.
4895 (ceil): Likewise.
4896 (ceilf): Likewise.
4897 (floor): Likewise.
4898 (floorf): Likewise.
4899
3e5aef87
L
49002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4901
428bd707
L
4902 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4903 on both fields and cast pointer to __syscall_ulong_t.
4904
3e5aef87
L
4905 * bits/types.h (__fsword_t): New type.
4906 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4907 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4909 (__FSWORD_T_TYPE): Likewise.
4910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4911 (__FSWORD_T_TYPE): Likewise.
4912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4913 (__FSWORD_T_TYPE): Likewise.
4914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4915 (__FSWORD_T_TYPE): Likewise.
4916 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4917 __SWORD_TYPE with __fsword_t.
4918 (statfs64): Likewise.
4919
1ba7c3dc
DM
49202012-05-17 David S. Miller <davem@davemloft.net>
4921
4922 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4923
59910343
AJ
49242012-05-17 Andreas Jaeger <aj@suse.de>
4925
4926 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4927 warning.
4928
2e4c1e9e
L
49292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4932
de7f5ce7
AJ
49332012-05-17 Andreas Jaeger <aj@suse.de>
4934
4935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4936 when it is used.
4937
286abc3d
CM
49382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4939
4940 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4941
477cc68e
L
49422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4943
4944 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4945 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4946
1a0994f5
CD
49472012-05-17 Andreas Jaeger <aj@suse.de>
4948 Carlos O'Donell <carlos_odonell@mentor.com>
4949
4950 [BZ #14059]
4951 * sysdeps/x86_64/multiarch/init-arch.h
4952 (bit_YMM_Usable): Rename to...
4953 (bit_AVX_Usable): ... this.
4954 (bit_FMA4_Usable): New macro.
4955 (bit_XMM_state): New macro.
4956 (bit_YMM_state): New macro.
4957 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4958 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4959 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4960 (CPUID_OSXSAVE): New macro.
4961 (CPUID_AVX): New macro.
4962 (CPUID_FMA4): New macro.
4963 (index_YMM_Usable): Rename to...
4964 (index_AVX_Usable): ... this.
4965 (HAS_AVX): Use HAS_ARCH_FEATURE.
4966 (HAS_FMA4): Likewise.
4967 (HAS_YMM_USABLE): Remove.
4968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4969 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4970 are present.
4971 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4972 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4973 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4974 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4975 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4976
0af797de
CM
49772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4978
4979 * math/libm-test.c: Support platforms without multiple rounding modes.
4980 * math/bug-nextafter.c: Support platforms without FP exceptions.
4981 * math/bug-nexttoward.c: Likewise.
4982 * math/test-fenv.c: Likewise.
4983 * math/test-misc.c: Likewise.
4984 * stdlib/bug-getcontext.c: Likewise.
4985
e39745ff
AJ
49862012-05-17 Andreas Jaeger <aj@suse.de>
4987
4988 * manual/examples/search.c (critter_cmp): Change signature to
4989 avoid warnings.
4990 * manual/string.texi (Collation Functions): Likewise.
4991
48970aba
L
49922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4993
4994 * bits/types.h: Fold copyright years.
4995 * bits/typesizes.h: Likewise.
4996 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5000 * time/time.h: Likewise.
5001
bedee953
PP
50022012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5003
5004 [BZ #208]
5005 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5006 in instead of returning them. Return void.
5007 (__libc_mallinfo): Accumulate over all arenas.
5008 (__malloc_stats): Adjust for change in int_mallinfo interface.
5009
61653dfb
RM
50102012-05-16 Roland McGrath <roland@hack.frob.com>
5011
30b99d79
RM
5012 [BZ #10375]
5013 * configure.in (NM): Add AC_CHECK_TOOL for it.
5014 (libc_extra_cflags): New substituted variable.
5015 Check for -fstack-protector being used implicitly.
5016 * configure: Regenerated.
5017 * config.make.in (config-extra-cflags): New variable,
5018 gets @libc_extra_cflags@.
5019 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5020
61653dfb
RM
5021 [BZ #10375]
5022 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5023 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5024 * configure: Regenerated.
5025 * config.make.in (CPPUNDEFS): New substituted variable.
5026 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5027 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5028 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5029
661768bb
L
50302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5033 (mq_attr): Use __syscall_slong_t.
5034
d4261567
L
50352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5036
5037 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5038 Check __x86_64__ instead of __WORDSIZE.
5039 (_STAT_VER_LINUX): Likewise.
5040 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5041 __syscall_ulong_t and __syscall_slong_t.
5042 (stat64): Likewise.
5043
cf3ff365
L
50442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5045
5046 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5047
76cf3e4d
L
50482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5051
a637753a
L
50522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5053
5054 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5055 __syscall_ulong_t.
5056
d5e05119
L
5057 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5058 include <bits/wordsize.h>. Check __x86_64__ instead of
5059 __WORDSIZE.
5060 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5061 defined.
5062 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5063
f62ee380
L
5064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5065 include <bits/wordsize.h>. Check __x86_64__ instead of
5066 __WORDSIZE.
5067 (user_regs_struct): Use "__extension__ unsigned long long"
5068 instead of "unsigned long" if __x86_64__ is defined.
5069 (user): Likewise. Pad after pointer field if __ILP32__ is
5070 defined.
5071
4e124ced
JM
50722012-05-16 Joseph Myers <joseph@codesourcery.com>
5073
6a3951a0
JM
5074 * configure.in (makeinfo): Require version 4.5 or later. Allow
5075 versions 5 to 9.
5076 * configure: Regenerated.
5077 * manual/install.texi (texinfo): Increase version requirement to
5078 4.5 or later.
5079 * INSTALL: Regenerated.
5080
4e124ced
JM
5081 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5082
953ca31a
L
50832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5084
5085 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5086
617aca05
L
5087 * sysdeps/x86_64/x32/ffs.c: New file.
5088
5762f7ae
L
5089 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5090 __syscall_ulong_t.
5091 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5092 defined. Use __syscall_ulong_t.
5093 (shminfo): Use __syscall_ulong_t.
5094 (shm_info): Likewise.
5095
a26b6856
L
5096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5097 __syscall_ulong_t.
5098
cb2b9ef7
L
5099 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5100 <bits/wordsize.h>.
5101 (msgqnum_t): Use __syscall_ulong_t.
5102 (msglen_t): Likewise.
5103 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5104 __syscall_ulong_t.
5105
34683bb0
L
5106 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5107 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5108
84a68786
L
5109 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5110
48baa5f1
L
5111 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5112 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5113
180be88b
L
5114 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5115 __syscall_slong_t.
5116
5e90c8ad
L
5117 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5118 include <bits/wordsize.h>. Check __x86_64__ instead of
5119 __WORDSIZE.
5120
23dfb58b
L
5121 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5122 "unsigned long long int" if __x86_64__ is defined.
5123 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5124
ce5d54b0
L
5125 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5126 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5127 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5128
13dc9eac
L
5129 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5130 <stdint.h>.
5131 (GET_PC): Cast to uintptr_t first.
5132 (GET_FRAME): Likewise.
5133 (GET_STACK): Likewise.
5134
a7895d15
L
5135 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5137 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5141 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5142 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5143 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5145 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5146 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5148 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5152 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5157 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5159 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5160 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5162 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5163 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5164
656416c9
AS
51652012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5166
5bd66283
AS
5167 * Makerules (+depfiles): Also collect depfiles from .oS in
5168 $(extra-objs).
5169 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5170 .oS, $(libnldbl-routines)).
5171
656416c9
AS
5172 * Makerules (native-compile-mkdep-flags): Define.
5173 * sunrpc/Makefile (extra-objs): Add $(addprefix
5174 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5175 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5176 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5177 calling $(make-target-directory).
5178
a46f2169
L
51792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5180
5181 * bits/types.h (__snseconds_t): Removed.
5182 * time/time.h (struct timespec): Replace __snseconds_t with
5183 __syscall_slong_t.
5184 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5185 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5186 Likewise.
5187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5188 (__SNSECONDS_T_TYPE): Likewise.
5189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5190 (__SNSECONDS_T_TYPE): Likewise.
5191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5192 (__SNSECONDS_T_TYPE): Likewise.
5193
6af6528b
L
51942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5195
5196 * sysdeps/mach/hurd/bits/typesizes.h
5197 (__SYSCALL_SLONG_TYPE): New macro.
5198 (__SYSCALL_ULONG_TYPE): Likewise.
5199
de986b56
L
52002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5201
5202 * bits/types.h (__syscall_slong_t): New type.
5203 (__syscall_ulong_t): Likewise.
5204
5205 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5206 (__SYSCALL_ULONG_TYPE): Likewise.
5207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5208 (__SYSCALL_SLONG_TYPE): Likewise.
5209 (__SYSCALL_ULONG_TYPE): Likewise.
5210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5211 (__SYSCALL_SLONG_TYPE): Likewise.
5212 (__SYSCALL_ULONG_TYPE): Likewise.
5213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5214 (__SYSCALL_SLONG_TYPE): Likewise.
5215 (__SYSCALL_ULONG_TYPE): Likewise.
5216
85736dc7
L
52172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5220 Add sigaltstack-offsets.sym.
5221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5222 <sigaltstack-offsets.h>.
5223 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5224 longjmp_msg pointer.
5225 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5226 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5227 signal stack.
5228 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5229
cc03b296
JM
52302012-05-15 Joseph Myers <joseph@codesourcery.com>
5231
a9538892
JM
5232 * elf/stackguard-macros.h: Remove file.
5233 * sysdeps/generic/stackguard-macros.h: New file.
5234 * sysdeps/i386/stackguard-macros.h: Likewise.
5235 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5236 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5237 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5238 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5239 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5240 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5241 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5242 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5243 <elf/stackguard-macros.h>.
5244
cc03b296
JM
5245 [BZ #14109]
5246 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5247 __aligned__ in attribute.
5248 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5249 (gregset_t): Likewise.
5250
93171016
L
52512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5254 * sysdeps/x86_64/64/Implies-after: Here. New file.
5255 * sysdeps/x86_64/x32/Implies-after: New file.
5256
d86813a0
L
52572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5258
5259 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5260 and access return value for _dl_profile_fixup. Use R10_LP to
5261 load frame size.
5262
2953ec75
L
52632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5266
3b550e9e
L
52672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5270 * sysdeps/x86_64/x32/sysdep.h: New file.
5271
eda41706
L
52722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5273
5274 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5275 * sysdeps/x86_64/setjmp.S: Likewise.
5276
9ea01d93
AZ
52772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278
5279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5280 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5281 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5282 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5283 remove unused global constant.
5284
02a91938
CM
52852012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5286
5287 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5288 include of <not-cancel.h>.
5289
6540185f
RM
52902012-05-15 Roland McGrath <roland@hack.frob.com>
5291
5292 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5293
509072a0
AJ
52942012-05-15 Jeff Law <law@redhat.com>
5295 Andreas Jaeger <aj@suse.de>
5296
5297 [BZ #13594]
5298 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5299 out from...
5300 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5301 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5302 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5303 code changing __hst_map_handle.map.
5304
ba75122d
RM
53052012-05-15 Roland McGrath <roland@hack.frob.com>
5306
5307 * configure.in (sysnames): Look for Implies-before and Implies-after
5308 files.
5309 * configure: Regenerated.
5310
890d8bd8
L
53112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5314 8-byte data alignment with LP_SIZE alignment.
5315
f6ee6623
L
53162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5319 into R10_LP.
5320
ea2626f6
L
53212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5322
5323 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5324
085f715e
L
53252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5326
5327 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5328 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5330 Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5332
be8498fc
L
53332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5336 (stackinfo_sub_sp): Likewise.
5337
70bc83b9
L
53382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5341 RAX_LP.
5342
9bc0b730
L
53432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5344
5345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5346 into R*_LP.
5347
6d2850e7
L
53482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5349
5350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5351 sizes into R*_LP.
5352
3cb84561
L
53532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5354
5355 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5356
54e2ed81
L
53572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5360 into R11_LP and load __x86_64_shared_cache_size_half into
5361 R8_LP.
5362
8a17f349
L
53632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5364
5365 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5366 R8_LP.
5367
777b1eea
AZ
53682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5369
5370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5371 logb for POWER7.
5372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5373 logbf for POWER7.
5374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5375 logbl for POWER7.
5376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5377 powerpc32/power7/fpu/s_logb.c via #include.
5378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5379 powerpc32/power7/fpu/s_logbf.c via #include.
5380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5381 powerpc32/power7/fpu/s_logbl.c via #include.
5382
d20d4ac2
JM
53832012-05-15 Joseph Myers <joseph@codesourcery.com>
5384
5385 * README.libm: Remove file.
5386
6cdef1ab
L
53872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5388
5389 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5390 count for x32. Use R*_LP and omit operand-size suffix.
5391
0b254d8f
L
53922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5393
5394 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5395 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5396 * sysdeps/x86_64/x32/shlib-versions: New file.
5397
ceb809dc
RM
53982012-05-14 Roland McGrath <roland@hack.frob.com>
5399
5400 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5401 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5402 Use _dl_fatal_printf instead.
5403
37f1abd4
JM
54042012-05-14 Joseph Myers <joseph@codesourcery.com>
5405
5406 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5407 set if not set by the user. Do not allow for being unset.
5408 * sysdeps/unix/sysv/linux/configure: Regenerated.
5409
11de3a33
L
54102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5411
5412 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5413 the `q' suffix from lea and replace .quad with ASM_ADDR.
5414
e02f153a
L
54152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5416
5417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5418 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5419 instead of $17.
5420 (PTR_DEMANGLE): Likewise.
5421
520ae0fd
L
54222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5423
5424 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5425 (LP_OP): Likewise.
5426 (ASM_ADDR): Likewise.
5427 (RAX_LP): Likewise.
5428 (RBP_LP): Likewise.
5429 (RBX_LP): Likewise.
5430 (RCX_LP): Likewise.
5431 (RDI_LP): Likewise.
5432 (RSI_LP): Likewise.
5433 (RSP_LP): Likewise.
5434 (R8_LP): Likewise.
5435 (R9_LP): Likewise.
5436 (R10_LP): Likewise.
5437 (R10_LP): Likewise.
5438 (R11_LP): Likewise.
5439 (R12_LP): Likewise.
5440 (R13_LP): Likewise.
5441 (R14_LP): Likewise.
5442 (R15_LP): Likewise.
5443
b985be81
L
54442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5445
5446 * sysdeps/x86_64/x32/dl-machine.h: New file.
5447
6a4888ff
AJ
54482012-05-14 Andreas Jaeger <aj@suse.de>
5449
5450 * manual/Makefile (subdir): Remove export of subdir.
5451 (all): Remove target.
5452 (.PHONY): Remove all from list.
5453 (mkinstalldirs): Remove.
5454 (.PHONY): Remove installdirs from list.
5455 ($(inst_infodir)/libc.info): Use make-target-directory.
5456 (installdirs): Remove.
5457 (subdir_%): Remove.
5458 (glibc-targets): Remove.
5459 (lib): Remove.
5460 (stubs): Remove.
5461 ($(objpfx)stubs ../po/manual.pot): Remove.
5462 ($(objpfx)stamp%): Remove.
5463 (make-target-directory): Remove.
5464 (subdir_install): Remove.
5465 (routines): Remove.
5466 (aux): Remove.
5467 (sources): Remove.
5468 (objects): Remove.
5469 (headers): Remove.
5470
5471 [BZ #13750]
5472 * manual/.gitignore: Remove, it's not needed anymore.
5473 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5474 all files in it.
5475 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5476 directory.
5477 (texis): Renamed to $(objpfx)texis.
5478 (texis-path): New, contains path to generated files.
5479 (chapters.%): Use texis-path for complete path, add extra argument
5480 libc-texinfo.sh.
5481 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5482 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5483 (summary,texi, stamp-summary): Use complete path of
5484 files. Generate files in build dir.
5485 (dir-add.texi): Build in build dir.
5486 (libm-err.texi,stamp-libm-err): Likewise.
5487 (version.texi, stamp-version): Likewise.
5488 (.%c.texi): Likewise.
5489 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5490 (mostlyclean): Remove target.
5491 (realclean): Remove target.
5492 (generated): Add new variable with contents from mostlyclean and
5493 realclean, remove entries duplicated in common-mostlyclean, add
5494 stamp-libm-err and stamp-version.
5495 (generated-dirs): Add libc directory.
5496 ($(inst_infodir)/libc.info): Install files from build dir.
5497
5498 * manual/install.texi (Configuring and compiling): Adjust since
5499 the info files are not part of the tar ball anymore.
5500
7ac77294
AJ
55012012-05-14 Andreas Jaeger <aj@suse.de>
5502
5503 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5504 variable.
5505
ffb7875d
JM
55062012-05-14 Joseph Myers <joseph@codesourcery.com>
5507
5508 [BZ #13717]
5509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5510 to 2.2.0 where earlier.
5511 * sysdeps/unix/sysv/linux/configure: Regenerated.
5512 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5513 Remove conditional code.
5514 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5515 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5516 Remove conditional code.
5517 [!__NR_lchown]: Likewise.
5518 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5519 [__NR_lchown]: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5521 comment referencing __ASSUME_LCHOWN_SYSCALL.
5522 * sysdeps/unix/sysv/linux/i386/sigaction.c
5523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5525 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5526 Remove conditional code.
5527 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5528 (__protocol_available): Remove #if 0 code.
5529 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5530 conditional code.
5531 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5532 * sysdeps/unix/sysv/linux/kernel-features.h
5533 (__ASSUME_GETCWD_SYSCALL): Don't define.
5534 (__ASSUME_REALTIME_SIGNALS): Likewise.
5535 (__ASSUME_PREAD_SYSCALL): Likewise.
5536 (__ASSUME_PWRITE_SYSCALL): Likewise.
5537 (__ASSUME_POLL_SYSCALL): Likewise.
5538 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5539 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5540 non-SPARC.
5541 (__ASSUME_SIOCGIFNAME): Don't define.
5542 (__ASSUME_MSG_NOSIGNAL): Likewise.
5543 (__ASSUME_SENDFILE): Define unconditionally.
5544 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5545 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5546 conditional code.
5547 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5548 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5549 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5550 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5551 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5552 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5553 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5555 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5561 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5570 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5576 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5578 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5579 Remove conditional code.
5580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5581 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5582 Remove conditional code.
5583 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5584 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5585 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5586 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5587 Remove conditional code.
5588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5589 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5590 Remove conditional code.
5591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5592 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5593 Remove conditional code.
5594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5595 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5596 Remove conditional code.
5597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5598 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5599 Remove conditional code.
5600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5601 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5604 * sysdeps/unix/sysv/linux/sigaction.c
5605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5607 * sysdeps/unix/sysv/linux/sigpending.c
5608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5610 * sysdeps/unix/sysv/linux/sigprocmask.c
5611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5613 * sysdeps/unix/sysv/linux/sigsuspend.c
5614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5616 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5617 (__libc_missing_rt_sigs): Remove.
5618 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5619 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5620 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5621 Remove conditional code.
5622 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5623 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5624 return 1.
5625 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5626 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5627 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5628 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5629
1bfb7291
AJ
56302012-05-14 Andreas Jaeger <aj@suse.de>
5631
caae5a81
AJ
5632 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5633 it's not used in glibc.
5634 (__coshm1): Likewise.
5635 (__acosh1p): Likewise.
5636 (__sgn): Likewise.
5637
1bfb7291
AJ
5638 * manual/string.texi (Copying and Concatenation): Add missing
5639 variable in concat example.
5640 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5641
c044d724
L
56422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5643
144c5467 5644 [BZ #14103]
c044d724
L
5645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5646 __builtin_clzl with __builtin_clzll.
5647
2523c62b
L
56482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 [BZ #14104]
5651 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5652 libc_freeres_ptr.
5653
d7bb4c42
LD
56542012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5655
5656 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5657 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5658 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5660
9dc4e1fb
MF
56612012-05-14 Mike Frysinger <vapier@gentoo.org>
5662
5663 * NEWS: Update ia64 info.
5664
c7df0112
AS
56652012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5666
5667 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5668 used as bcopy.
5669
dc70356c
TS
56702012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5671
5672 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5673 * sysdeps/unix/syscalls.list (dup3): Likewise.
5674 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5675 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5676
9fb1a21f
L
56772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5678
5679 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5680 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5681
4822a2a5
L
56822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5685 thread pointer.
5686 (TLS_IE): Use mov/add instead of movq/addq to load thread
5687 pointer.
5688 (TLS_GD_PREFIX): New.
5689 (TLS_GD): Use it.
5690
842b81d6
DM
56912012-05-11 David S. Miller <davem@davemloft.net>
5692
5693 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5694 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5695 (_FPU_SETCW): Likewise.
5696
1cf463cd
L
56972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5700 is 32-byte aligned.
5701
60cc4a18
AS
57022012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5703
5704 [BZ #11837]
5705 * iconvdata/gb18030.c: Update tables.
5706 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5707 characters specially.
5708 (BODY for TO_LOOP): Add encoding of missing ranges.
5709
febb44a4
TS
57102012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5711
5712 [BZ #13673]
5713 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5714 * sysdeps/mach/hurd/dup3.c: Likewise.
5715 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5716 * sysdeps/powerpc/memmove.c:: Likewise.
5717
0a10fb9e
L
57182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5719
5720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5721 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5722
df8a552f
L
57232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 * elf/elf.h (R_X86_64_RELATIVE64): New.
5726 (R_X86_64_NUM): Updated.
5727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5728 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5729 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5730 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5731 tst-quad1pie tst-quad2pie
5732 (modules-names): Add tst-quadmod1 tst-quadmod2.
5733 ($(objpfx)tst-quad1): New dependency.
5734 ($(objpfx)tst-quad2): Likewise.
5735 ($(objpfx)tst-quad1pie): Likewise.
5736 ($(objpfx)tst-quad2pie): Likewise.
5737 * sysdeps/x86_64/tst-quad1.c: New file.
5738 * sysdeps/x86_64/tst-quad1pie.c: New file.
5739 * sysdeps/x86_64/tst-quad2.c: Likewise.
5740 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5741 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5742 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5743 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5744 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5745
f34d6f84
ST
57462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5747
f42d41d1
ST
5748 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5749 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5750 * streams/stropts.h (t_scalar_t): Define type.
5751
3c3571fc
ST
5752 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5753 (_PATH_PRESERVE): Set to "/var/lib".
5754 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5755
61f06bd3
ST
5756 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5757 instead of int.
5758
918d4d71
ST
5759 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5760 if __dir_mkfile succeeded.
5761
f34d6f84
ST
5762 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5763 checking for _hurd_dtablesize. Unlock it right after having
5764 finished _hurd_dtable allocation.
5765
10589b4a
TS
57662012-05-10 Thomas Schwinge <thomas@schwinge.name>
5767
674cdbc7
TS
5768 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5769 * sysdeps/mach/hurd/configure: Regenerated.
5770 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5771 special-casing to...
5772 * sysdeps/gnu/configure.in: ... this new file.
5773 * sysdeps/unix/sysv/linux/configure: Regenerated.
5774 * sysdeps/gnu/configure: New generated file.
5775
8e41b99f
TS
5776 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5777 for Linux: use nsec instead of usec, as well as:
5778 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5779 members of type struct timespec.
5780 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5781 New macros.
5782 (struct stat64): Likewise.
5783 (_STATBUF_ST_NSEC): New macro.
5784 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5785
10589b4a
TS
5786 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5787 __strtoul_internal rather than strtoul.
5788
63643c85
PT
57892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5790
5791 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5792 and reject them.
5793
3faebe6a
ST
57942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5795
5796 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5797 which preserves existing values.
5798 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5799
c6474b07
PT
58002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5801
5802 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5803 TIMEOUT values. Return EINVAL for NFDS values either negative or
5804 greater than FD_SETSIZE.
5805
1043890b
ST
58062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5807
5808 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5809 allocated, call __vm_protect to finish enabling the existing space, and
5810 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5811 allocate the remainder.
5812
37ed8b9b
PT
58132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5814
5815 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5816 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5817
db653660
ST
58182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5819
37ed8b9b
PT
5820 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5821 sysdeps/mach/hurd/readlink.c.
b29d4053 5822
db653660
ST
5823 * posix/tst-sysconf.c (posix_options): Only use
5824 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5825 _POSIX_SYNCHRONIZED_IO when they are defined
5826 * sysdeps/mach/hurd/bits/posix_opt.h:
5827 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5828 (_XOPEN_REALTIME): Undefine macro.
5829 (_XOPEN_REALTIME_THREADS): Undefine macro.
5830 (_XOPEN_SHM): Undefine macro.
5831 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5832 macro to -1.
5833 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5834 macro to -1.
5835 (_POSIX_ASYNC_IO): Undefine macro.
5836 (_POSIX_PRIORITIZED_IO): Undefine macro.
5837 (_POSIX_SPIN_LOCKS): Define macro to -1.
5838
ee16e894
ST
5839 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5840 SA_NODEFER, SA_RESETHAND.
5841 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5842 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5843 F_DUPFD_CLOEXEC.
5844
6103ae3b
TS
58452012-05-10 Thomas Schwinge <thomas@schwinge.name>
5846
5847 * elf/Makefile (pldd-modules): Define unconditionally.
5848
80b4e5f3
TS
58492012-05-10 Thomas Schwinge <thomas@schwinge.name>
5850
5851 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5852
edadcbd6
ST
58532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5854
5855 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5856 Return ENOENT when name is empty.
5857 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5858
80694780
TS
58592012-05-10 Thomas Schwinge <thomas@schwinge.name>
5860
1792c087
TS
5861 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5862
80694780
TS
5863 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5864
6b645f0d
ST
58652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5866
80694780
TS
5867 Fix mlock in all cases except non-readable pages.
5868 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5869 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5870
6b645f0d
ST
5871 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5872 (__mkdir): When path is `/', just fail with EEXIST.
5873 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5874
e468f8a3
TS
58752012-05-10 Thomas Schwinge <thomas@schwinge.name>
5876
5877 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5878 <sys/uio.h> (for writev).
5879 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5880 and <sys/param.h> (for MIN).
5881
a4186cff
PT
58822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5883
5884 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5885 REQUESTED_TIME. Properly set the remaining time and return EINTR
5886 if interrupted.
5887
510bbf14
TS
58882012-05-10 Thomas Schwinge <thomas@schwinge.name>
5889
5890 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5891 Depend on against $(link-rpcuserlibs).
5892
5d5722e8
ST
58932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5894
a4186cff
PT
5895 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5896 (__libc_stack_end): Do not use attribute_relro.
5897 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5898 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5899 to libthread-provided value.
a4186cff
PT
5900 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5901 attribute_relro.
5d5722e8 5902
37233df9
TS
59032012-05-10 Thomas Schwinge <thomas@schwinge.name>
5904
be971a2b
TS
5905 [BZ #3748]
5906 * bits/libc-lock.h (__libc_once_get): New macro.
5907 * sysdeps/mach/bits/libc-lock.h: Likewise.
5908 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5910 instead of using implementation details.
5911
37233df9
TS
5912 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5913 * libio/freopen.c: Likewise.
5914 * libio/freopen64.c: Likewise.
5915 * misc/syslog.c: Likewise.
5916 * nscd/connections.c: Likewise.
5917 * nscd/netgroupcache.c: Likewise.
5918 * sysdeps/posix/getcwd.c: Likewise.
5919
38de94a5
RM
59202012-05-10 Roland McGrath <roland@hack.frob.com>
5921
5922 * math/w_ilogbf.c: Add #include <limits.h>.
5923
67530489
ST
59242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5925
a4186cff 5926 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5927 path instead of returning without unlocking.
5928
67530489
ST
5929 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5930 immediate-write ioctls.
5931 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5932
5aa3a74a
TS
59332012-05-10 Thomas Schwinge <thomas@schwinge.name>
5934
18bad2ae
TS
5935 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5936 __builtin_frame_address instead of making assumptions about the
5937 location of the return address relative to DATA. Force early load of
5938 the return address.
5939 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5940 __builtin_frame_address.
5941
5aa3a74a
TS
5942 dup3 for GNU Hurd.
5943 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5944 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5945 implement dup3 and do some further code clean-ups.
5946 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5947 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5948
ecd0de9a
ST
59492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5950
cd9fa985
ST
5951 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5952
a4186cff
PT
5953 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5954 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5955 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5956 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5957 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5958 d->port.lock.
802ca5a5 5959
a4186cff
PT
5960 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5961 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5962 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5963
bcf55240
TS
59642012-05-10 Thomas Schwinge <thomas@schwinge.name>
5965
6960eb42
TS
5966 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5967 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5968 definitions.
5969
eb43375f
TS
5970 accept4 for GNU Hurd.
5971 * include/sys/socket.h (__libc_accept4): New prototype.
5972 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5973 to implement __libc_accept4.
5974 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5975 __libc_accept4.
5976 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5977
bcf55240
TS
5978 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5979 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5980 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5981 signal-defines.sym.
5982
6178c55b
ST
59832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5984
a4186cff 5985 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5986
6f080c2f
TS
59872012-05-10 Thomas Schwinge <thomas@schwinge.name>
5988
5989 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5990 assertion on O_CLOEXEC flag.
5991 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5992 * hurd/intern-fd.c: Likewise.
5993 * hurd/port2fd.c: Likewise.
5994
bcfe3a54
ST
59952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5996
5997 [BZ #3906]
5998 * bits/in.h (IPV6_PKTINFO): Define new macro.
5999 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6000
89c9aa49
AZ
60012012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 [BZ #13954]
6004 [BZ #13955]
6005 [BZ #13956]
6006 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6008 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6011 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6012 * math/libm-test.inc (logb_test) : Additional logb tests.
6013
021db4be
AJ
60142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6015 Andreas Jaeger <aj@suse.de>
6016
6017 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6018 * configure: Regenerated.
6019 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6020 * config.make.in (link-obsolete-rpc): New substituted variable.
6021 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6022 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6023 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6024 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6025 so that libc.a contains the symbols.
6026 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6027 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6028 * sunrpc/auth_none.c: Likewise.
6029 * sunrpc/auth_unix.c: Likewise.
6030 * sunrpc/authdes_prot.c: Likewise.
6031 * sunrpc/authuxprot.c: Likewise.
6032 * sunrpc/clnt_gen.c: Likewise.
6033 * sunrpc/clnt_perr.c: Likewise.
6034 * sunrpc/clnt_raw.c: Likewise.
6035 * sunrpc/clnt_simp.c: Likewise.
6036 * sunrpc/clnt_tcp.c: Likewise.
6037 * sunrpc/clnt_udp.c: Likewise.
6038 * sunrpc/clnt_unix.c: Likewise.
6039 * sunrpc/des_crypt.c: Likewise.
6040 * sunrpc/des_soft.c: Likewise.
6041 * sunrpc/get_myaddr.c: Likewise.
6042 * sunrpc/key_call.c: Likewise.
6043 * sunrpc/key_prot.c: Likewise.
6044 * sunrpc/netname.c: Likewise.
6045 * sunrpc/pm_getmaps.c: Likewise.
6046 * sunrpc/pm_getport.c: Likewise.
6047 * sunrpc/pmap_clnt.c: Likewise.
6048 * sunrpc/pmap_prot.c: Likewise.
6049 * sunrpc/pmap_prot2.c: Likewise.
6050 * sunrpc/pmap_rmt.c: Likewise.
6051 * sunrpc/publickey.c: Likewise.
6052 * sunrpc/rpc_cmsg.c: Likewise.
6053 * sunrpc/rpc_common.c: Likewise.
6054 * sunrpc/rpc_dtable.c: Likewise.
6055 * sunrpc/rpc_prot.c: Likewise.
6056 * sunrpc/rpc_thread.c: Likewise.
6057 * sunrpc/rtime.c: Likewise.
6058 * sunrpc/svc.c: Likewise.
6059 * sunrpc/svc_auth.c: Likewise.
6060 * sunrpc/svc_raw.c: Likewise.
6061 * sunrpc/svc_run.c: Likewise.
6062 * sunrpc/svc_tcp.c: Likewise.
6063 * sunrpc/svc_udp.c: Likewise.
6064 * sunrpc/svc_unix.c: Likewise.
6065 * sunrpc/svcauth_des.c: Likewise.
6066 * sunrpc/xcrypt.c: Likewise.
6067 * sunrpc/xdr.c: Likewise.
6068 * sunrpc/xdr_array.c: Likewise.
6069 * sunrpc/xdr_float.c: Likewise.
6070 * sunrpc/xdr_intXX_t.c: Likewise.
6071 * sunrpc/xdr_mem.c: Likewise.
6072 * sunrpc/xdr_rec.c: Likewise.
6073 * sunrpc/xdr_ref.c: Likewise.
6074 * sunrpc/xdr_sizeof.c: Likewise.
6075 * sunrpc/xdr_stdio.c: Likewise.
6076
b5c086a2
RM
60772012-05-10 Roland McGrath <roland@hack.frob.com>
6078
6079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6080 change. Update copyright years.
6081
6d74dd09
JM
60822012-05-10 Joseph Myers <joseph@codesourcery.com>
6083
6084 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6085
28e72501
MK
60862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6087 Joseph Myers <joseph@codesourcery.com>
6088 Paul Pluzhnikov <ppluzhnikov@google.com>
6089
6090 [BZ #14012]
6091 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6092 requiring rpcgen.
6093 [cross-compiling] (extra-libs): Likewise.
6094 [cross-compiling] (extra-libs-others): Likewise.
6095 [cross-compiling] (librpcsvc-routines): Likewise.
6096 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6097 [cross-compiling] (omit-deps): Likewise.
6098 (sunrpc-CPPFLAGS): New variable.
6099 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6100 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6101 (cross-rpcgen-objs): New variable.
6102 (extra-objs): Append $(cross-rpcgen-objs).
6103 ($(cross-rpcgen-objs)): New rule.
6104 ($(objpfx)cross-rpcgen): Likewise.
6105 (rpcgen-cmd): Define to use $(built-program-file). Expand
6106 comment.
6107 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6108 ($(objpfx)x%.stmp): Likewise.
6109 * sunrpc/proto.h [IS_IN_build] (_): Define.
6110 [IS_IN_build] (_libc_intl_domainname): Likewise.
6111
c8c59454
L
61122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6113
6114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6115 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6116 and R_X86_64_TPOFF64.
6117
6f27cd16
JM
61182012-05-10 Joseph Myers <joseph@codesourcery.com>
6119
6120 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6121 sysdeps/unix/sysv/syscalls.list.
6122 (stime): Likewise.
6123 (utime): Likewise.
6124 * sysdeps/unix/sysv/syscalls.list: Remove file.
6125
02467e1c
PE
61262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6127
6128 [BZ #3440]
6129 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6130 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6131 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6132 (__LC_IDENTIFICATION): Make these macros useful in #if
6133 expressions, as required by C99.
6134
da392631
AS
61352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6138 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6139 after this.
6140
8115f29b
L
61412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6142
6143 * stdlib/longlong.h: Updated from GCC.
6144
bdd74070
AJ
61452012-05-09 Andreas Jaeger <aj@suse.de>
6146
edfe0dbe
AJ
6147 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6148 default is first entry.
6149 (run_mode): Set type.
6150 (main): Remove informal message about syslog.
6151 (options): Fix typo.
6152
bcfe3a54
ST
6153 [BZ #14053]
6154 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6155 to asm.
bcfe3a54
ST
6156 (lrint): Likewise.
6157 (llrintf): Likewise.
6158 (llrint): Likewise.
6159 (rint): Likewise.
6160 (rintf): Likewise.
6161 (nearbyint): Likewise.
6162 (nearbyintf): Likewise.
bdd74070 6163
91d8d69e
AJ
61642012-05-09 Andreas Jaeger <aj@suse.de>
6165 Pedro Alves <palves@redhat.com>
6166
6167 * nscd/nscd.c (run_mode): Use enum.
6168 (main): Cleanup coding style issue.
6169
bb90b80b
AJ
61702012-05-09 Alexandre Oliva <aoliva@redhat.com>
6171 Andreas Jaeger <aj@suse.de>
6172
bcfe3a54
ST
6173 * nscd/nscd.c (go_background): Replaced with...
6174 (run_mode): ... this.
bb90b80b 6175 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6176 (options): Add -F --foreground.
6177 (main): Implement it.
6178 (parse_opt): Parse it.
bb90b80b 6179
1a4b75a1
AJ
61802012-05-09 Andreas Jaeger <aj@suse.de>
6181
6182 [BZ #14083]
6183 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6184 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6185 -Wconversion warning.
6186 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6187 Likewise.
6188
b1cc2472
JM
61892012-05-09 Joseph Myers <joseph@codesourcery.com>
6190
6191 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6192 == 0.
6193 (LC_ALL): Use macro-int-constant.
6194 (LC_COLLATE): Likewise.
6195 (LC_CTYPE): Likewise.
6196 (LC_MESSAGES): Likewise.
6197 (LC_MONETARY): Likewise.
6198 (LC_NUMERIC): Likewise.
6199 (LC_TIME): Likewise.
6200 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6201 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6203 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6204 Specify type.
6205 [C99-based standards] (float_t): Expect type.
6206 [C99-based standards] (double_t): Expect type.
6207 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6208 type.
6209 [C99-based standards] (HUGE_VALL): Likewise.
6210 [C99-based standards] (INFINITY): Likewise.
6211 [C99-based standards] (NAN): Likewise.
6212 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6213 [C99-based standards] (FP_NAN): Likewise.
6214 [C99-based standards] (FP_NORMAL): Likewise.
6215 [C99-based standards] (FP_SUBNORMAL): Likewise.
6216 [C99-based standards] (FP_ZERO): Likewise.
6217 [C99-based standards] (FP_FAST_FMA): Use
6218 optional-macro-int-constant. Specify type. Require == 1.
6219 [C99-based standards] (FP_FAST_FMAF): Likewise.
6220 [C99-based standards] (FP_FAST_FMAL): Likewise.
6221 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6222 [C99-based standards] (FP_ILOGBNAN): Likewise.
6223 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6224 Specify type.
6225 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6226 [C99-based standards] (math_errhandling): Specify type.
6227 [ISO99 || ISO11] (signgam): Do not allow.
6228 [non-C99-based standards] (copysignf): Do not allow.
6229 [non-C99-based standards] (exp2f): Likewise.
6230 [non-C99-based standards] (log2f): Likewise.
6231 [non-C99-based standards] (modff): Allow.
6232 [non-C99-based standards] (erff): Do not allow.
6233 [non-C99-based standards] (erfcf): Likewise.
6234 [non-C99-based standards] (gammaf): Likewise.
6235 [non-C99-based standards] (hypotf): Likewise.
6236 [non-C99-based standards] (j0f): Likewise.
6237 [non-C99-based standards] (j1f): Likewise.
6238 [non-C99-based standards] (jnf): Likewise.
6239 [non-C99-based standards] (lgammaf): Likewise.
6240 [non-C99-based standards] (tgammaf): Likewise.
6241 [non-C99-based standards] (y0f): Likewise.
6242 [non-C99-based standards] (y1f): Likewise.
6243 [non-C99-based standards] (ynf): Likewise.
6244 [non-C99-based standards] (isnanf): Likewise.
6245 [non-C99-based standards] (acoshf): Likewise.
6246 [non-C99-based standards] (asinhf): Likewise.
6247 [non-C99-based standards] (atanhf): Likewise.
6248 [non-C99-based standards] (cbrtf): Likewise.
6249 [non-C99-based standards] (expm1f): Likewise.
6250 [non-C99-based standards] (ilogbf): Likewise.
6251 [non-C99-based standards] (log1pf): Likewise.
6252 [non-C99-based standards] (logbf): Likewise.
6253 [non-C99-based standards] (nextafterf): Likewise.
6254 [non-C99-based standards] (remainderf): Likewise.
6255 [non-C99-based standards] (rintf): Likewise.
6256 [non-C99-based standards] (scalbf): Likewise.
6257 [non-C99-based standards] (copysignl): Likewise.
6258 [non-C99-based standards] (exp2l): Likewise.
6259 [non-C99-based standards] (log2l): Likewise.
6260 [non-C99-based standards] (modfl): Allow.
6261 [non-C99-based standards] (erfl): Do not allow.
6262 [non-C99-based standards] (erfcl): Likewise.
6263 [non-C99-based standards] (gammal): Likewise.
6264 [non-C99-based standards] (hypotl): Likewise.
6265 [non-C99-based standards] (j0l): Likewise.
6266 [non-C99-based standards] (j1l): Likewise.
6267 [non-C99-based standards] (jnl): Likewise.
6268 [non-C99-based standards] (lgammal): Likewise.
6269 [non-C99-based standards] (tgammal): Likewise.
6270 [non-C99-based standards] (y0l): Likewise.
6271 [non-C99-based standards] (y1l): Likewise.
6272 [non-C99-based standards] (ynl): Likewise.
6273 [non-C99-based standards] (isnanl): Likewise.
6274 [non-C99-based standards] (acoshl): Likewise.
6275 [non-C99-based standards] (asinhl): Likewise.
6276 [non-C99-based standards] (atanhl): Likewise.
6277 [non-C99-based standards] (cbrtl): Likewise.
6278 [non-C99-based standards] (expm1l): Likewise.
6279 [non-C99-based standards] (ilogbl): Likewise.
6280 [non-C99-based standards] (log1pl): Likewise.
6281 [non-C99-based standards] (logbl): Likewise.
6282 [non-C99-based standards] (nextafterl): Likewise.
6283 [non-C99-based standards] (remainderl): Likewise.
6284 [non-C99-based standards] (rintl): Likewise.
6285 [non-C99-based standards] (scalbl): Likewise.
6286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6287 [non-C99-based standards] (FP_*): Do not allow.
6288 [C99-based standards] (FP_*): Change to
6289 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6290 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6291 allow.
6292 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6293 (SIG_ERR): Likewise.
6294 [X/Open-based standards] (SIG_HOLD): Likewise.
6295 (SIG_IGN): Likewise.
6296 (SIGABRT): Use macro-int-constant. Specify type. Require
6297 positive value.
6298 (SIGFPE): Likewise.
6299 (SIGILL): Likewise.
6300 (SIGINT): Likewise.
6301 (SIGSEGV): Likewise.
6302 (SIGTER): Likewise.
6303 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6304 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6305 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6306 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6307 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6308 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6309 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6310 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6311 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6312 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6313 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6314 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6315 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6316 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6317 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6318 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6319 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6320 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6321 [X/Open-based standards] (SIGTRAP): Likewise.
6322 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6324 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6325 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6326 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6327 allow.
6328
b9f1922d
IW
63292012-05-08 Ian Wienand <ianw@vmware.com>
6330
6331 [BZ #14080]
6332 * time/tzset.c (__tzset_parse_tz): Update default rules for
6333 daylight time changes in the Energy Policy Act of 2005.
6334
1db86e88
AJ
63352012-05-09 Andreas Jaeger <aj@suse.de>
6336
6337 [BZ #13983]
6338 * elf/ldconfig.c (parse_conf): Change string to make clear that
6339 ldconfig only issued a warning if ld.so.conf does not exist.
6340
dee4a4e3
DM
63412012-05-08 David S. Miller <davem@davemloft.net>
6342
ee0db190
DM
6343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6344 movxtod instead of popping the value on the stack.
6345
dee4a4e3
DM
6346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6347
6a43ec98
CD
63482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6349
6350 * config.h.in: Add HAVE_ARM_PCS_VFP.
6351
05c2c961
RMG
63522012-05-08 Roland Mc Grath <roland@hack.frob.com>
6353
bcfe3a54
ST
6354 [BZ #13979]
6355 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6356 checking but the checks are disabled for any reason.
05c2c961 6357
4b30f61a
L
63582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6359
6360 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6361 and ELF64_R_TYPE with ELFW(R_TYPE).
6362
eee2bc67
JM
63632012-05-08 Joseph Myers <joseph@codesourcery.com>
6364
7ea5391a
JM
6365 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6366 (ulimit): Likewise.
6367
eee2bc67
JM
6368 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6369 (settimeofday): Likewise.
6370
abb66a67
MF
63712012-05-08 Mike Frysinger <vapier@gentoo.org>
6372
6373 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6374 a struct th_u2 inside the union, and move tu_block/tu_code into
6375 a new th_u3 union of tu_block/tu_code inside of that. Move
6376 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6377 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6378 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6379 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6380 (th_stuff): Change to th_u1.tu_stuff.
6381 (th_data): Define.
6382 (th_msg): Change to th_u1.th_u2.tu_data.
6383
7f18b530
DM
63842012-05-07 David S. Miller <davem@davemloft.net>
6385
05760585
DM
6386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6387
7f18b530
DM
6388 [BZ #14074]
6389 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6390 (SETUP_PIC_REG): Use it.
6391 (SETUP_PIC_REG_LEAF): Use it.
6392
495fd99f
JM
63932012-05-07 Joseph Myers <joseph@codesourcery.com>
6394
6395 [BZ #13885]
6396 [BZ #13923]
6397 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6398 USE_AS_EXPM1L.
6399 (EXPL_FINITE): Likewise.
6400 (FLDLOG): Likewise.
6401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6402 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6403 e_expl.S.
6404 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6405 USE_AS_EXPM1L.
6406 (EXPL_FINITE): Likewise.
6407 (FLDLOG): Likewise.
6408 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6409 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6410 e_expl.S.
6411 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6412 test of -max_value argument for long double.
6413 * sysdeps/i386/fpu/libm-test-ulps: Update.
6414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6415
6693d694
DM
64162012-05-06 David S. Miller <davem@davemloft.net>
6417
6418 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6419 quad soft-float symbols whose references which are compiler
6420 generated.
6421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6422
6c23e11c
JM
64232012-05-06 Joseph Myers <joseph@codesourcery.com>
6424
d8b82cad
JM
6425 [BZ #13884]
6426 [BZ #13914]
6427 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6428 USE_AS_EXP10L.
6429 (EXPL_FINITE): Likewise.
6430 (FLDLOG): Likewise.
6431 (c0): Likewise.
6432 (c1): Likewise.
6433 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6434 Adjust comments for base varying.
6435 (__expl_finite): Change alias to EXPL_FINITE.
6436 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6437 e_expl.S.
6438 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6439 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6441 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6442 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6443 USE_AS_EXP10L.
6444 (EXPL_FINITE): Likewise.
6445 (FLDLOG): Likewise.
6446 (c0): Likewise.
6447 (c1): Likewise.
6448 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6449 Adjust comments for base varying.
6450 (__expl_finite): Change alias to EXPL_FINITE.
6451 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6452 tests for bugs.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6454
6c23e11c
JM
6455 [BZ #14064]
6456 * math/libm-test.inc (check_float_internal): Correct ulp
6457 calculation for subnormal expected results.
6458
29ba805c
AJ
64592012-05-06 Andreas Jaeger <aj@suse.de>
6460
6461 * Makeconfig (+math-flags): New, set to -frounding-math.
6462 (+cflags): Add +math-flags so that all of glibc gets compiled with
6463 it.
6464
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6466
7b17aeda
JM
64672012-05-05 Joseph Myers <joseph@codesourcery.com>
6468
5779f134
JM
6469 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6470 Disable one test.
6471
41498f4d
JM
6472 [BZ #13787]
6473 [BZ #13922]
6474 [BZ #14036]
6475 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6476 (__ieee754_expl): Allow for and saturate large arguments.
6477 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6478 (u_threshold): Likewise.
6479 (__exp): Call __ieee754_exp before checking for overflow and
6480 underflow.
6481 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6482 (u_threshold): Likewise.
6483 (__expf): Call __ieee754_expf before checking for overflow and
6484 underflow.
6485 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6486 (u_threshold): Likewise.
6487 (__expl): Call __ieee754_expl before checking for overflow and
6488 underflow.
6489 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6490 (__ieee754_expl): Allow for and saturate large arguments.
6491 * math/libm-test.inc (exp_test): Add another test. Do not allow
6492 missing overflow exception on overflow.
6493 (expm1_test): Do not allow missing overflow exception on overflow.
6494
6698b8bf
JM
6495 * sysdeps/i386/fpu/e_expl.c: Move to ...
6496 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6497 rather than using inline asm.
6498 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6499 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6500 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6501
7b17aeda
JM
6502 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6503 (nice): Likewise.
6504 (poll): Likewise.
6505 (signal): Likewise.
6506 (time): Likewise.
6507 (times): Likewise.
6508
f7c85819
JM
65092012-05-04 Joseph Myers <joseph@codesourcery.com>
6510
6511 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6512 sysdeps/unix/common/syscalls.list.
6513 (fchmod): Likewise.
6514 (fchown): Likewise.
6515 (ftruncate): Likewise.
6516 (getrusage): Likewise.
6517 (gettimeofday): Likewise.
6518 (setpgid): Likewise.
6519 (setregid): Likewise.
6520 (setreuid): Likewise.
6521 (sigaction): Likewise.
6522 (truncate): Likewise.
6523 (vhangup): Likewise.
6524 * sysdeps/unix/common/syscalls.list: Remove file.
6525 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6526 * sysdeps/unix/sysv/linux/Implies: Likewise.
6527
336270d0
L
65282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6529
6530 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6532 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6533 Moved to ...
6534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6535 Here.
6536 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6537 to ...
6538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6539 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6540 to ...
6541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6542 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6543 to ...
6544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6545 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6546 to ...
6547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6548 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6549 to ...
6550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6551 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6552 to ...
6553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6555 to ...
6556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6557 Here.
6558 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6559 to ...
6560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6561 Here.
6562 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6563 to ...
6564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6565 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6566 Moved to ...
6567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6568 Here.
6569 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6570 to ...
6571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6572
d128e450
JM
65732012-05-04 Joseph Myers <joseph@codesourcery.com>
6574
fa8ee516
JM
6575 * sysdeps/unix/common/bits/dirent.h: Remove file.
6576 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6577
d128e450
JM
6578 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6579 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6580 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6581 * sysdeps/unix/bsd/isatty.c: Likewise.
6582 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6583 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6584 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6585
ff8faaf0 65862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6587
62881be4 6588 [BZ #13563]
31dc8730
AZ
6589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6590 long double comparison inaccuracies.
6591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6593
6fef930c
AS
65942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6595
6596 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6598
8f203e6c
JM
65992012-05-04 Joseph Myers <joseph@codesourcery.com>
6600
6601 [BZ #14049]
6602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6603 nonzero digits before rounding a hex value.
6604 * stdlib/tst-strtod.c (tests): Add another test.
6605
5197d9c2
AK
66062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6607
6608 * sysdeps/s390/fpu/libm-test-ulps: Update.
6609
f0c1dedf
AJ
66102012-05-03 Andreas Jaeger <aj@suse.de>
6611
6612 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6613 does not get optimized out.
6614 (malloc_opt_barrier): New.
6615
a65ef2ae 66162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6617 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6618
2b942cb7 6619 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6620 intermediate file deletion.
2b942cb7 6621 (generated): Add .symlist files.
a65ef2ae 6622
54b71e02
JM
66232012-05-03 Joseph Myers <joseph@codesourcery.com>
6624
6625 [BZ #13775]
6626 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6627 Redirect under this condition.
6628 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6629 [__USE_GNU] (__dprintf_chk): Not under this condition.
6630 [__USE_GNU] (__vdprintf_chk): Likewise.
6631 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6632 under this condition.
6633 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6634 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6635 [__USE_XOPEN2K8] (vdprintf): Likewise.
6636 [__USE_GNU] (__dprintf_chk): Not under this condition.
6637 [__USE_GNU] (__vdprintf_chk): Likewise.
6638 [__USE_GNU] (dprintf): Likewise.
6639 [__USE_GNU] (vdprintf): Likewise.
6640
d3dfcc41
RM
66412012-05-03 Roland McGrath <roland@hack.frob.com>
6642
6643 * elf/Makefile (common-generated): Set this instead of generated for
6644 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6645 $(all-built-dso)-derived lists.
6646
7ac30cc5
AJ
66472012-05-03 Andreas Jaeger <aj@suse.de>
6648
0c51e550
AJ
6649 * sysdeps/i386/fpu/libm-test-ulps: Update.
6650
7ac30cc5
AJ
6651 * FAQ: Removed.
6652 * FAQ.in: Likewise.
6653 * scripts/gen-FAQ.pl: Likewise.
6654 * manual/install.texi (Installation): Point to online location of
6655 FAQ.
6656 * Makefile (files-for-dist): Remove FAQ.
6657 (FAQ): Remove.
6658
d4c2917f
AM
66592012-05-02 Allan McRae <allan@archlinux.org>
6660
6661 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6662 (LDFLAGS-reldepmod5.so): Likewise.
6663 (LDFLAGS-reldep6mod1.so): Likewise.
6664 (LDFLAGS-reldep6mod4.so): Likewise.
6665 (LDFLAGS-reldep8mod3.so): Likewise.
6666 (LDFLAGS-unload4mod1.so): Likewise.
6667 (LDFLAGS-unload4mod2.so): Likewise.
6668 (LDFLAGS-tst-initorder): Likewise.
6669 (LDFLAGS-tst-initordera2.so): Likewise.
6670 (LDFLAGS-tst-initordera3.so): Likewise.
6671 (LDFLAGS-tst-initordera4.so): Likewise.
6672 (LDFLAGS-tst-initorderb2.so): Likewise.
6673 (LDFLAGS-noload): Likewise.
6674 (LDFLAGS-next): Likewise.
6675 (LDFLAGS-order2mod1.so): Likewise.
6676 (LDFLAGS-order2mod2.so): Likewise.
6677 (LDFLAGS-tst-initorder2): Likewise.
6678 (LDFLAGS-tst-initorder2a.so): Likewise.
6679 (LDFLAGS-tst-initorder2b.so): Likewise.
6680 (LDFLAGS-tst-initorder2c.so): Likewise.
6681 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6682
d77f993f
DM
66832012-05-02 David S. Miller <davem@davemloft.net>
6684
6685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6686
171a70b4
PP
66872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6688
6689 [BZ #14055]
6690 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6691
0be196ad
AJ
66922012-05-02 Andreas Jaeger <aj@suse.de>
6693
6694 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6695 since we manipulate rounding mode.
6696 (CPPFLAGS-test-idouble.c): Likewise.
6697 (CPPFLAGS-test-ifloat.c): Likewise.
6698 (CFLAGS-test-ldouble.c): Likewise.
6699 (CFLAGS-test-double.c): Likewise.
6700 (CFLAGS-test-float.c): Likewise.
6701 (CFLAGS-test-misc.c): Likewise.
6702 (CFLAGS-test-test-fenv.c): Likewise.
6703
4f9d04aa
AZ
67042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6705
2b942cb7
RM
6706 [BZ #2550]
6707 [BZ #2570]
6708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6709 comparisons to determine direction to adjust input.
4f9d04aa 6710
82a79e7d
RM
67112012-05-01 Roland McGrath <roland@hack.frob.com>
6712
f5a01ca9
RM
6713 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6714 output to the target.
6715
90fe4186
RM
6716 * scripts/localplt.awk: New file.
6717 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6718 (check-localplt-CFLAGS): Variable removed.
6719 ($(all-built-dso:=.jmprel)): New static pattern rule.
6720 (generated): Add those targets.
6721 (localplt-built-dso): New variable.
6722 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6723
6724 * elf/check-localplt.c: File removed.
6725
82397ed6
RM
6726 * scripts/check-execstack.awk: New file.
6727 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6728 (check-execstack-CFLAGS): Variable removed.
6729 ($(objpfx)check-execstack.h): Target removed.
6730 ($(objpfx)execstack-default): New target.
6731 (generated): Add that instead of check-execstack.h.
6732 ($(all-built-dso:=.phdr)): New static pattern rule.
6733 (generated): Add those targets.
6734 * elf/check-execstack.c: File removed.
6735
82a79e7d
RM
6736 * scripts/check-textrel.awk: New file.
6737 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6738 (check-textrel-CFLAGS): Variable removed.
6739 (all-built-dso): Use := to define.o
6740 ($(all-built-dso:=.dyn)): New static pattern rule.
6741 (generated): Add those targets.
6742 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6743 * config.make.in (READELF): New substituted variable.
6744 * elf/check-textrel.c: File removed.
6745
62fde54f 67462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6747
615605c9
JM
6748 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6749 allow.
6750 * conform/data/ctype.h-data [C99-based standards] (isblank):
6751 Expect function.
6752 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6753 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6755 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6756 Specify type. Require positive value.
6757 (EILSEQ): Likewise.
6758 (ERANGE): Likewise.
6759 [ISO || POSIX] (EILSEQ): Do not expect.
6760 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6761 Specify type. Require positive value.
6762 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6763 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6764 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6765 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6766 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6767 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6768 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6769 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6770 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6771 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6772 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6773 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6774 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6775 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6776 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6777 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6778 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6779 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6780 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6781 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6782 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6783 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6784 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6785 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6786 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6787 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6788 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6789 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6790 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6791 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6792 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6793 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6794 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6795 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6796 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6797 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6798 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6799 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6800 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6801 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6802 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6803 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6804 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6805 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6806 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6807 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6808 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6809 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6810 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6811 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6812 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6813 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6814 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6815 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6816 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6817 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6818 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6819 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6820 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6821 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6822 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6823 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6824 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6825 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6826 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6827 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6828 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6829 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6830 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6831 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6832 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6833 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6834 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6835 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6836 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6837 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6838 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6839 Require >= 2.
6840 (FLT_ROUNDS): Expect as macro, not constant.
6841 (FLT_MANT_DIG): Use macro-int-constant.
6842 (DBL_MANT_DIG): Likewise.
6843 (LDBL_MANT_DIG): Likewise.
6844 (FLT_DIG): Likewise.
6845 (DBL_DIG): Likewise.
6846 (LDBL_DIG): Likewise.
6847 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6848 (DBL_MIN_EXP): Likewise.
6849 (LDBL_MIN_EXP): Likewise.
6850 (FLT_MAX_EXP): Use macro-int-constant.
6851 (DBL_MAX_EXP): Likewise.
6852 (LDBL_MAX_EXP): Likewise.
6853 (FLT_MAX_10_EXP): Likewise.
6854 (DBL_MAX_10_EXP): Likewise.
6855 (LDBL_MAX_10_EXP): Likewise.
6856 (FLT_MAX): Use macro-constant.
6857 (DBL_MAX): Likewise.
6858 (LDBL_MAX): Likewise.
6859 (FLT_EPSILON): Use macro-constant. Give upper bound.
6860 (DBL_EPSILON): Likewise.
6861 (LDBL_EPSILON): Likewise.
6862 (FLT_MIN): Likewise.
6863 (DBL_MIN): Likewise.
6864 (LDBL_MIN): Likewise.
6865 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6866 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6867 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6868 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6869 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6870 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6871 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6872 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6873 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6874 [ISO11] (FLT_TRUE_MIN): Likewise.
6875 [ISO11] (LDBL_TRUE_MIN): Likewise.
6876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6877 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6878 (SCHAR_MIN): Use macro-int-constant. Specify type.
6879 (SCHAR_MAX): Likewise.
6880 (UCHAR_MAX): Likewise.
6881 (CHAR_MIN): Likewise.
6882 (CHAR_MAX): Likewise.
6883 (MB_LEN_MAX): Use macro-int-constant.
6884 (SHRT_MIN): Use macro-int-constant. Specify type.
6885 (SHRT_MAX): Likewise.
6886 (USHRT_MAX): Likewise.
6887 (INT_MAX): Likewise.
6888 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6889 bound negative.
6890 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6891 bound with "U".
6892 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6893 bound with "L".
6894 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6895 bound negative. Suffix upper bound with "L".
6896 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6897 bound with "UL".
6898 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6899 Specify type.
6900 [C99-based standards] (LLONG_MAX): Likewise.
6901 [C99-based standards] (ULLONG_MAX): Likewise.
6902 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6903 == 0.
6904 [ISO11] (max_align_t): Require type.
6905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6906
c9140a62
JM
6907 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6908 from $CFLAGS, without defining away __attribute__ calls.
6909 (checknamespace): Use $CFLAGS_namespace.
6910
9af0bf29
JM
6911 * conform/conformtest.pl (@keywords): Only include C99 keywords
6912 for standards based on C99 or C11.
6913
343222a2
JM
6914 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6915 Disable tests.
6916 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6917 UNIX98]: Likewise.
6918
661f8cf0
JM
6919 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6920 usability of symbols in #if.
6921
ee74b9cb
JM
6922 * conform/conformtest.pl: If macro or constant types start
6923 "promoted:", expect the symbol to be of the following type
6924 promoted by the integer promotions.
62fde54f 6925
aafc49b3
JM
6926 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6927 in one place. Also handle "macro-constant".
6928
fefdf574
JM
6929 * conform/conformtest.pl: Only accept expected macro values with
6930 "==". Parse all "macro" lines in one place.
6931 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6932
f2d922fe
JM
6933 * conform/conformtest.pl: Handle braced types on "constant" lines
6934 instead of handling "typed-constant".
6935 * conform/data/signal.h-data: Use "constant" instead of
6936 "typed-constant".
6937
d22956c9
JM
6938 * conform/conformtest.pl: Handle "optional-" at start of lines in
6939 one place rather than duplicating several cases. Handle each
6940 format of "macro" line with initial "optional-".
6941
028e2e38
JM
6942 * conform/conformtest.pl: Only accept expected constant or
6943 optional-constant values with "==". Parse all "constant" lines in
6944 one place. Parse all "optional-constant" lines in one place.
6945 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6946 * conform/data/fmtmsg.h-data: Likewise.
6947 * conform/data/netinet/in.h-data: Likewise.
6948 * conform/data/tar.h-data: Likewise.
6949 * conform/data/limits.h-data: Use "==" form on "constant" and
6950 "optional-constant" lines.
6951
1b8f2850
JM
6952 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6953 Use -std=c99 for XOPEN2K.
6954 (@knownproblems): Remove.
6955 (newtoken): Don't check %isknown.
6956
a05a144b
JM
6957 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6958 Do not expect macro.
6959 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6971 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6972 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6989 [XPG3] (acosh): Likewise.
6990 [XPG3] (asinh): Likewise.
6991 [XPG3] (atanh): Likewise.
6992 [XPG3] (cbrt): Likewise.
6993 [XPG3] (expm1): Likewise.
6994 [XPG3] (ilogb): Likewise.
6995 [XPG3] (log1p): Likewise.
6996 [XPG3] (logb): Likewise.
6997 [XPG3] (nextafter): Likewise.
6998 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6999 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7000 [XPG3] (remainder): Likewise.
7001 [XPG3] (rint): Likewise.
7002 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7003 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7004 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7005 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7006 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7007 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7008 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7009 [UNIX98 || XOPEN2K] (scalb): Expect.
7010 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7011 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7012 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7013 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7014 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7015 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7016 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7018 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7019 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7020 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7021 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7022 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7023 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7024 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7025 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7027 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7028 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7029 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7030 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7031 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7032 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7033 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7034 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7035 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7036 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7037 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7038 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7039 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7040 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7041 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7042 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7043 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7044 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7045 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7046 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7047 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7048 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7049 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7050 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7051 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7052 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7053 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7054 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7055 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7056 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7057 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7058 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7059 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7060 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7061 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7062 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7063 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7064 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7065 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7066 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7067 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7068 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7069 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7070 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7071 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7072 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7073 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7074 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7075 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7076 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7077 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7078 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7079 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7080 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7081 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7082 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7083 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7084 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7085 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7086 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7087 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7088 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7089 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7090 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7091 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7092 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7093 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7094 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7095 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7096 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7097 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7098 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7099 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7100 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7101 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7102 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7103 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7104 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7105 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7106 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7107 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7119 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7120 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7122 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7123 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7140 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7141 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7143 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7144 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7147
73c5ebe3
JM
7148 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7149 _XOPEN_SOURCE_EXTENDED for XPG4.
7150
39c33b6c
JM
7151 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7152
62fde54f
JM
7153 * Makeconfig (localtime): Remove variable.
7154 (inst_localtime-file): Likewise.
7155
0741d64c
AS
71562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7157
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7159 Update.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7161 Update.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7163 Update.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7165 Update.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7167 Update.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7169 Update.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7171 Update.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7173 Update.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7175 Update.
7176
7cb029ee
JM
71772012-05-01 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #2550]
7180 [BZ #2570]
7181 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7182 comparisons to determine direction to adjust input.
7183 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7184 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7186 Likewise.
7187 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7188 Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7190 Likewise.
7191 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7192 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7193 Likewise.
7194 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7195 Likewise.
7196 * math/libm-test.inc (nexttoward_test): Add more tests.
7197
412bd966
AS
71982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7199
7200 [BZ #14040]
7201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7202 in version GLIBC_2.1, not GLIBC_2.0.
7203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7204 Likewise.
7205
9568c0c2
JM
72062012-04-30 Joseph Myers <joseph@codesourcery.com>
7207
adfbc8ac
JM
7208 [BZ #13942]
7209 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7210 (1 - x) * (1 + x).
7211 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7212 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7213 * math/libm-test.inc (acos_test): Add more tests.
7214 (asin_test): Likewise.
7215 * sysdeps/i386/fpu/libm-test-ulps: Update.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217
5ba3cc69
JM
7218 [BZ #14034]
7219 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7220 of square root.
7221 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7222 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7223 * math/libm-test.inc (acos_test_tonearest): New function.
7224 (acos_test_towardzero): Likewise.
7225 (acos_test_downward): Likewise.
7226 (acos_test_upward): Likewise.
7227 (asin_test_tonearest): Likewise.
7228 (asin_test_towardzero): Likewise.
7229 (asin_test_downward): Likewise.
7230 (asin_test_upward): Likewise.
7231 (main): Call the new functions.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7234
9568c0c2
JM
7235 [BZ #13884]
7236 [BZ #13924]
7237 * math/e_exp10.c: Include <float.h>.
7238 (__ieee754_exp10): Handle underflow here rather than multiplying
7239 large negative argument by M_LN10.
7240 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7241 of __ieee754_expf.
7242 * math/e_exp10l.c: Include <float.h>.
7243 (__ieee754_exp10l): Handle underflow here rather than multiplying
7244 large negative argument by M_LN10l.
7245 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7246 spurious overflow exception on underflow.
7247
5ac3ea17
MP
72482012-04-29 Marek Polacek <polacek@redhat.com>
7249
7250 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7251 (__fortify_function): New macro.
7252 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7253 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7254 __extern_always_inline.
7255 * libio/bits/stdio2.h: Likewise.
7256 * libio/bits/stdio.h: Likewise.
7257 * string/string.h: Likewise.
7258 * string/bits/string3.h: Likewise.
7259 * include/stdio.h: Likewise.
7260 * stdlib/bits/stdlib.h: Likewise.
7261 * stdlib/stdlib.h: Likewise.
7262 * rt/bits/mqueue2.h: Likewise.
7263 * rt/mqueue.h: Likewise.
7264 * posix/bits/unistd.h: Likewise.
7265 * posix/unistd.h: Likewise.
7266 * io/bits/poll2.h: Likewise.
7267 * io/bits/fcntl2.h: Likewise.
7268 * io/fcntl.h: Likewise.
7269 * io/sys/poll.h: Likewise.
7270 * misc/bits/syslog.h: Likewise.
7271 * misc/bits/syslog-ldbl.h: Likewise.
7272 * misc/sys/syslog.h: Likewise.
7273 * socket/bits/socket2.h: Likewise.
7274 * socket/sys/socket.h: Likewise.
7275 * debug/tst-chk1.c: Likewise.
7276 * wcsmbs/bits/wchar2.h: Likewise.
7277 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7278 * wcsmbs/wchar.h: Likewise.
7279
ecf0ebfb
AJ
72802012-04-29 Andreas Jaeger <aj@suse.de>
7281
7282 * Makerules (tests): Remove enable-check-abi protection.
7283 (check-abi-warn): Remove.
7284 (check-abi-%): Remove check-abi-warn usage.
7285
7286 * configure.in: Remove check-abi configure option.
7287 * configure: Regenerated.
7288 * config.make.in (enable-check-abi): Remove.
7289
6d5c57fa
AS
72902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7291
24c5d07e 7292 [BZ #14033]
ded5180a
AS
7293 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7294 double functions to double *_finite functions.
7295
7e0d315d
AS
7296 [BZ #13941]
7297 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7298 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7299 LDBL_MIN_EXP.
7300 * stdio-common/Makefile (tests): Add tst-sprintf3.
7301 * stdio-common/tst-sprintf3.c: New file.
7302
6d5c57fa
AS
7303 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7304 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7305
0749ff8b
JM
73062012-04-28 Joseph Myers <joseph@codesourcery.com>
7307
7308 * conform/conformtest.pl: Remove duplicate typed-constant
7309 handling.
7310
8dbd5d7b
DM
73112012-04-28 David S. Miller <davem@davemloft.net>
7312
7313 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7314 (check-abi-%): Remove AWK script prerequisite and explicit
7315 abilist directory.
7316 (check-abi): Rewrite to just diff the symlist with the abilist.
7317 (config-tls, config-abi-config): Delete, no longer used.
7318 (update-abi-%): Remove AWK script and explicit abilist directory.
7319 (update-abi): Rewrite to simply compare and conditionally copy the
7320 symlist and the sysdep abilist file. Remove update-abi-config
7321 checks.
7322 * abilist/ld.abilist: Remove.
7323 * abilist/libBrokenLocale.abilist: Remove.
7324 * abilist/libanl.abilist: Remove.
7325 * abilist/libcrypt.abilist: Remove.
7326 * abilist/libdl.abilist: Remove.
7327 * abilist/librt.abilist: Remove.
7328 * abilist/libthread_db.abilist: Remove.
7329 * abilist/libutil.abilist: Remove.
7330 * scripts/extract-abilist.awk: Remove.
7331 * scripts/merge-abilist.awk: Remove.
7332 * sysdeps/generic/libcidn.abilist: New file.
7333 * sysdeps/generic/libnss_compat.abilist: New file.
7334 * sysdeps/generic/libnss_db.abilist: New file.
7335 * sysdeps/generic/libnss_dns.abilist: New file.
7336 * sysdeps/generic/libnss_files.abilist: New file.
7337 * sysdeps/generic/libnss_hesiod.abilist: New file.
7338 * sysdeps/generic/libnss_nis.abilist: New file.
7339 * sysdeps/generic/libnss_nisplus.abilist: New file.
7340 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7341 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7342 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7343 file.
7344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7345 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7346 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7347 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7348 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7349 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7350 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7351 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7352 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7353 file.
7354 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7355 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7356 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7357 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7358 file.
7359 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7360 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7361 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7362 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7363 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7364 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7365 file.
7366 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7367 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7368 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7369 file.
7370 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7372 New file.
7373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7374 New file.
7375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7376 New file.
7377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7378 New file.
7379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7380 New file.
7381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7382 New file.
7383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7384 New file.
7385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7386 New file.
7387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7388 New file.
7389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7390 New file.
7391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7392 New file.
7393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7394 New file.
7395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7396 New file.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7398 file.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7400 New file.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7402 New file.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7404 file.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7406 New file.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7408 New file.
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7410 file.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7412 New file.
7413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7414 New file.
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7416 New file.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7418 New file.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7420 New file.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7422 New file.
7423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7425 file.
7426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7427 New file.
7428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7429 file.
7430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7431 file.
7432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7433 file.
7434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7435 file.
7436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7437 file.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7439 New file.
7440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7441 file.
7442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7443 file.
7444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7445 New file.
7446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7447 file.
7448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7450 file.
7451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7452 New file.
7453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7454 file.
7455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7456 file.
7457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7458 file.
7459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7460 file.
7461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7462 file.
7463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7464 New file.
7465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7466 file.
7467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7468 file.
7469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7470 New file.
7471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7472 file.
7473 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7474 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7475 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7476 file.
7477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7478 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7479 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7480 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7481 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7482 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7483 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7484 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7485 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7486 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7489 file.
7490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7491 New file.
7492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7493 file.
7494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7495 file.
7496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7497 file.
7498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7499 file.
7500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7501 file.
7502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7503 New file.
7504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7505 New file.
7506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7507 file.
7508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7509 New file.
7510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7511 file.
7512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7514 file.
7515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7516 New file.
7517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7518 file.
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7520 file.
7521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7522 file.
7523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7524 file.
7525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7526 file.
7527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7528 New file.
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7530 New file.
7531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7532 file.
7533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7534 New file.
7535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7536 file.
7537
41d73a1b
JM
75382012-04-28 Joseph Myers <joseph@codesourcery.com>
7539
7540 * conform/conformtest.pl: Fix typo in handling typed-constant from
7541 allow-header.
7542
28aeeda4
JM
75432012-04-27 Joseph Myers <joseph@codesourcery.com>
7544
adae8f5e
JM
7545 * README: Cut down references to pre-2.6 Linux kernels and
7546 Linuxthreads. Update lists of configurations in libc and ports
7547 and sort alphabetically. Say "or newer" with Linux kernel version
7548 requirements.
7549
28aeeda4
JM
7550 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7551
a462cb63
RA
75522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7553
7554 [BZ #887]
7555 * math/libm-test.inc (logb_test_downward): New test to expose
7556 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7557 rounding mode.
7558
6ad3493e
JM
75592012-04-27 Joseph Myers <joseph@codesourcery.com>
7560
7561 [BZ #14027]
7562 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7563 to be done.
7564 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7565 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7566
2ce4f015
JM
75672012-04-26 Joseph Myers <joseph@codesourcery.com>
7568
5aeb141a
JM
7569 * sysdeps/unix/i386/brk.S: Remove file.
7570 * sysdeps/unix/i386/dl-brk.S: Likewise.
7571 * sysdeps/unix/i386/pipe.S: Likewise.
7572 * sysdeps/unix/i386/sigreturn.S: Likewise.
7573 * sysdeps/unix/i386/syscall.S: Likewise.
7574 * sysdeps/unix/i386/vfork.S: Likewise.
7575 * sysdeps/unix/i386/wait.S: Likewise.
7576
7143acae
JM
7577 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7578 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7579
2ce4f015
JM
7580 * configure.in (arm*-none*): Do not allow without
7581 --enable-hacker-mode.
7582 (netbsd*): Remove case setting base_os.
7583 (386bsd*): Likewise.
7584 (freebsd*): Likewise.
7585 (bsdi*): Likewise.
7586 (osf*): Likewise.
7587 (sunos*): Likewise.
7588 (ultrix*): Likewise.
7589 (newsos*): Likewise.
7590 (dynix*): Likewise.
7591 (*bsd*): Likewise.
7592 (sysv*): Likewise.
7593 (isc*): Likewise.
7594 (esix*): Likewise.
7595 (sco*): Likewise.
7596 (minix*): Likewise.
7597 (irix4*): Likewise.
7598 (irix6*): Likewise.
7599 (solaris[2-9]*): Likewise.
7600 (none): Likewise.
7601 * configure: Regenerated.
7602
0ac229c8
AZ
76032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7604
7605 [BZ #11521]
7606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7607 overflow or cancellation in calculating denominator.
7608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7610 down expression to avoid unexpected rounding in newer GCCs.
7611 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7612
33f244f4
DM
76132012-04-26 David S. Miller <davem@davemloft.net>
7614
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7616 long-double compat symbols.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7630
cfa1f3e8
DM
76312012-04-25 David S. Miller <davem@davemloft.net>
7632
7633 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7634 HWCAP_* values only after the memory barriers have been defined.
7635 (atomic_full_barrier): Define.
7636 (atomic_read_barrier): Define.
7637 (atomic_write_barrier): Define.
7638
6e236b92
SP
76392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7640
7641 * shlib-versions: Add libgcc_s version information.
7642 * sysdeps/generic/libgcc_s.h: Remove.
7643 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7644 libgcc_s.h.
7645 * sysdeps/gnu/unwind-resume.c: Likewise.
7646 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7647
aab39a09
DM
76482012-04-25 David S. Miller <davem@davemloft.net>
7649
7650 * sysdeps/unix/sparc/brk.S: Delete.
7651 * sysdeps/unix/sparc/dl-brk.S: Delete.
7652 * sysdeps/unix/sparc/pipe.S: Delete.
7653 * sysdeps/unix/sparc/sysdep.S: Delete.
7654 * sysdeps/unix/sparc/sysdep.h: Delete.
7655 * sysdeps/unix/sparc/vfork.S: Delete.
7656 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7657 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7659 ret_ERRVAL, r0, r1, MOVE): Define.
7660 (JUMPTARGET): Remove.
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7662 sysdeps/unix/sparc/sysdep.h
7663 (ENTRY, END): Remove.
7664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7665
a3cc4f48
JM
76662012-04-25 Joseph Myers <joseph@codesourcery.com>
7667
2ed8cda2
JM
7668 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7669 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7670 -DIS_IN_build.
7671
35d76d59
JM
7672 * timezone/README: Update upstream location and email address for
7673 tzcode and tzdata.
7674 * timezone/zdump.c: Update from tzcode 2012b.
7675 * timezone/zic.c: Likewise.
7676
a3cc4f48
JM
7677 * configure.in (libc_cv_as_needed): Remove test.
7678 * configure: Regenerated.
7679 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7680 conditional definition.
7681 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7682 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7683 * config.make.in (have-as-needed): Remove variable.
7684
ceab42c3
SP
76852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7686 Paul Pluzhnikov <ppluzhnikov@google.com>
7687
7688 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7689 strings correctly.
7690
3ce2865f
CLT
76912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7692
7693 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7694 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7695 * sysdeps/sh/strlen.S: Likewise.
7696
f37e0d68
JM
76972012-04-24 Joseph Myers <joseph@codesourcery.com>
7698
ae186e9a
JM
7699 * sysdeps/unix/fork.S: Remove file.
7700 * sysdeps/unix/i386/fork.S: Likewise.
7701 * sysdeps/unix/sparc/fork.S: Likewise.
7702
b96914af
JM
7703 * sysdeps/unix/system.c: Remove file.
7704 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7705
f37e0d68
JM
7706 * sysdeps/unix/getegid.S: Remove file.
7707 * sysdeps/unix/geteuid.S: Likewise.
7708
87ef29ca
RM
77092012-04-24 Roland McGrath <roland@hack.frob.com>
7710
83bcd236
RM
7711 * scripts/check-localplt.awk: New file.
7712 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7713 of diff.
7714 * scripts/data/localplt-generic.data: Add a comment.
7715
87ef29ca
RM
7716 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7717 NODE when __dir_mkfile failed.
7718 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7719 Reported by Ludovic Courtès <ludo@gnu.org>.
7720
e5a6e567
AJ
77212012-04-24 Andreas Jaeger <aj@suse.de>
7722
7723 * Makerules (common-clean): Also remove gen-as-const-headers
7724 files.
7725
c1820385
JM
77262012-04-24 Joseph Myers <joseph@codesourcery.com>
7727
7728 * Makerules (native-compile): Do not change working directory for
7729 build. Use $(OUTPUT_OPTION) in command.
7730 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7731
94e02fc4
AZ
77322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7733
7734 [BZ #13886]
7735 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7736 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7737 * math/libm-test.inc (floor_test): Add more tests.
7738 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7739
3a533ca3
JM
77402012-04-24 Joseph Myers <joseph@codesourcery.com>
7741
940ab4b3
JM
7742 * sysdeps/unix/getdents.c: Remove file.
7743 * sysdeps/unix/sysv/getdents.c: Likewise.
7744 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7745
90e037bd
JM
7746 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7747 sysdeps/unix/mman/syscalls.list.
7748 (mmap): Likewise.
7749 (mprotect): Likewise.
7750 (msync): Likewise.
7751 (munmap): Likewise.
7752 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7753 * sysdeps/unix/mman/syscalls.list: Remove.
7754 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7755
3a533ca3
JM
7756 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7757 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7758 * configure: Regenerated.
7759 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7760 $(libgcc_s_suffix).
7761 * config.make.in (libgcc_s_suffix): Remove variable.
7762
1ad743de
JM
77632012-04-23 Joseph Myers <joseph@codesourcery.com>
7764
4ad451e2
JM
7765 * sysdeps/unix/sysv/gethostname.c: Move to ...
7766 * sysdeps/posix/gethostname.c: ... here.
7767
5e37ce39
JM
7768 * sysdeps/unix/execve.S: Remove file.
7769
1ad743de
JM
7770 * sysdeps/unix/_exit.S: Remove file.
7771
4e681b5b
AJ
77722012-04-23 Andreas Jaeger <aj@suse.de>
7773
7774 [BZ #13739]
7775 * manual/Makefile: Remove make dist support, there's no
7776 need for a stand-alone documentation tar ball.
7777 (TEXI2DVI): Define always, it's not in Makeconfig.
7778 (dist): Removed.
7779 (tar-it): Removed.
7780 (edition): Removed.
7781 (glibc-doc-$(edition).tar): Removed
7782 (%.Z): Removed.
7783 (%.gz): Removed.
7784 (%.uu): Removed.
7785 (ETAGS): Remove, it's in Makeconfig.
7786 (move-if-change): Remove, it's in Makeconfig.
7787
c0baea34
PE
77882013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7789
7790 [BZ #13970]
7791 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7792 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7793 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7794 (strtod_l, strtof_l, strtold_l): Remove __wur.
7795 It is not necessarily an error to ignore strtol's return value.
7796 One can reliably look at the stored endptr to decide whether
7797 the number had valid syntax.
7798
7c0616fa
AJ
77992012-04-21 Andreas Jaeger <aj@suse.de>
7800
803cb6b7 7801 [BZ #13739]
7c0616fa
AJ
7802 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7803
b0fe253f
JM
78042012-04-21 Joseph Myers <joseph@codesourcery.com>
7805
7806 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7807 * sysdeps/unix/sysv/Versions: Remove file.
7808
8280f22d
MT
78092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7810
7811 [BZ #13927]
7812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7813
75ce411f 78142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7815
7816 [BZ #7064]
7817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7818 version from __vm86.
7819
097d59fa
JM
78202012-04-20 Joseph Myers <joseph@codesourcery.com>
7821
a90f3bcb
JM
7822 * sysdeps/unix/common/lxstat.c: Remove file.
7823 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7824
edc7ea78
JM
7825 * sysdeps/unix/sysv/Makefile: Remove file.
7826
cb78c221
JM
7827 * sysdeps/unix/sysv/direct.h: Remove file.
7828
efa6a45f
JM
7829 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7830 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7831 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7832 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7833 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7834 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7835 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7836
9c9f2d0c
JM
7837 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7838
4541c83b
JM
7839 * sysdeps/unix/xmknod.c: Remove file.
7840 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7841
f5d153a0
JM
7842 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7843
aa746595
JM
7844 * sysdeps/unix/sysv/i386/time.S: Remove file.
7845
cce5905e
JM
7846 * sysdeps/unix/fxstat.c: Remove file.
7847 * sysdeps/unix/xstat.c: Likewise.
7848 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7849
37fa3841
JM
7850 * sysdeps/unix/sysv/sigaction.c: Remove file.
7851
ff1962a3
JM
7852 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7853 (sysdep_headers): Remove variable.
7854 [termio.h not in sysdep_headers] (generated): Likewise.
7855 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7856 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7857 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7858 * sysdeps/unix/sysv/tcflow.c: Likewise.
7859 * sysdeps/unix/sysv/tcflush.c: Likewise.
7860 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7861 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7862 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7863 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7864 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7865
e7740d31
JM
7866 * sysdeps/unix/siglist.c: Remove file.
7867
ee06f18b
JM
7868 * sysdeps/unix/getppid.S: Remove file.
7869
097d59fa
JM
7870 * sysdeps/unix/mkdir.c: Remove file.
7871 * sysdeps/unix/rmdir.c: Likewise.
7872
ff3d51ec
AS
78732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7874
7875 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7876 ERR_MAX value.
7877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7878 errlist-compat value.
7879
50f81fd7
DM
78802012-04-18 David S. Miller <davem@davemloft.net>
7881
7882 * sysdeps/generic/memcopy.h (reg_char): Delete.
7883 * debug/strcat_chk.c: Use char, not reg_char.
7884 * debug/strcpy_chk.c: Likewise.
7885 * debug/strncat_chk.c: Likewise.
7886 * debug/strncpy_chk.c: Likewise.
7887 * string/memchr.c: Likewise.
7888 * string/memrchr.c: Likewise.
7889 * string/rawmemchr.c: Likewise.
7890 * string/strcat.c: Likewise.
7891 * string/strchr.c: Likewise.
7892 * string/strchrnul.c: Likewise.
7893 * string/strcmp.c: Likewise.
7894 * string/strcpy.c: Likewise.
7895 * string/strncat.c: Likewise.
7896 * string/strncmp.c: Likewise.
7897 * string/strncpy.c: Likewise.
7898
8ff41c46
WS
78992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7900
7901 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7902 __builtin_memcopy is called when src and dest ranges are known to not
7903 overlap.
7904
6b652f46
WS
79052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7906
7907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7908 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7909 fwd_align_merge macro call.
7910 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7911 bwd_align_merge macro call.
7912 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7913
b282631e
WS
79142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7915
7916 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7917 bwd_align_merge macros.
7918 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7919 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7920 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7921
95aa737c
DM
79222012-04-18 David S. Miller <davem@davemloft.net>
7923
7924 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7925
7a99a614
AJ
79262012-04-18 Andreas Jaeger <aj@suse.de>
7927
7928 [BZ# 6794]
7929 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7930 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7932
7933 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7934 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7935 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7936
7937 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7938 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7939 Adjust for changed ldbl-128 files.
7940
7941 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7942 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7943 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7944
e5270c23
DM
79452012-04-17 David S. Miller <davem@davemloft.net>
7946
7947 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7948
fb5e92c9
AS
79492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7950
7951 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7952 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7953 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7954 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7955 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7956 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7957
76da7265
AZ
79582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 [BZ #6794]
7961 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7962 * math/libm-test.inc: Add ilogb errno and exception tests.
7963 * math/w_ilogb.c: New file: ilogb wrapper.
7964 * math/w_ilogbf.c: New file: ilogbf wrapper.
7965 * math/w_ilogbl.c: New file: ilogbl wrapper.
7966 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7967 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7968 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7969 exception being thrown with 0.0 as argument.
7970 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7971 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7972 exception being thrown with 0.0 as argument.
7973 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7974 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7975 exception being thrown with 0.0 as argument.
7976 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7977 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7978 exception being thrown with 0.0 as argument.
7979 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7980 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7981 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7982 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7983 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7984 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7985 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7986 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7987 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7988
0396e69d
PB
79892012-04-17 Petr Baudis <pasky@ucw.cz>
7990
7991 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7992 with altivec.
7993
750b5926
MP
79942012-04-16 Marek Polacek <polacek@redhat.com>
7995
7996 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7997
751728a1
MP
79982012-04-16 Marek Polacek <polacek@redhat.com>
7999
8000 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8001 operands of fdivp instruction.
8002
34a27407
L
80032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8006 * elf/tst-auditmod3b.c: Likewise.
8007 * elf/tst-auditmod4b.c: Likewise.
8008 * elf/tst-auditmod5b.c: Likewise.
8009 * elf/tst-auditmod6b.c: Likewise.
8010 * elf/tst-auditmod6c.c: Likewise.
8011 * elf/tst-auditmod7b.c: Likewise.
8012 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8013 * sysdeps/x86_64/preconfigure.in: Likewise.
8014 * sysdeps/x86_64/preconfigure: Regenerated.
8015
7e73e17d
L
80162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8017
8018 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8019 __ILP32__.
8020
c7a6ab72
AB
80212012-04-13 Antoine Balestrat <merkil33@gmail.com>
8022
8023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8024 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8025
a9e8e0e0
CL
80262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8027
8028 [BZ #13973]
8029 * locale/iso-639.def: Fix gl language name. Spotted by
8030 Yaron Shahrabani.
8031
ec98af7d
RM
80322012-04-12 Roland McGrath <roland@hack.frob.com>
8033
8034 [BZ #2074]
8035 * libio/libio.h (__io_write_fn): Update comment.
8036
247c3ede
PB
80372012-04-12 Petr Baudis <pasky@ucw.cz>
8038
8039 [BZ #2074]
8040 * stdio.texi (Hook Functions): The user provided writer function
8041 is not allowed to return -1.
8042
55939d6d
DM
80432012-04-11 David S. Miller <davem@davemloft.net>
8044
8045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8046
90020f5a
MF
80472012-04-11 Mike Frysinger <vapier@gentoo.org>
8048
8049 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8050 Add a leading slash to rtkaio.
8051
288f9098
JM
80522012-04-11 Jim Meyering <meyering@redhat.com>
8053
90020f5a
MF
8054 [BZ #11959]
8055 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8056 It is not necessarily an error to ignore fwrite's return
8057 value. One can reliably use ferror to test for errors after
8058 the fact.
288f9098 8059
4be2b570
L
80602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * bits/types.h (__snseconds_t): New type.
8063 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8064
8065 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8067 (__SNSECONDS_T_TYPE): Likewise.
8068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8069 (__SNSECONDS_T_TYPE): Likewise.
8070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8071 (__SNSECONDS_T_TYPE): Likewise.
8072
288f9098 80732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8074
8075 [BZ #2636]
8076 * manual/time.texi (Processor Time): Return type of times is
8077 elapsed real time since an arbitrary point in the past.
8078 (CPU Time): Move CLK_TCK from here...
8079 (Processor Time): ...to here. Correct description.
8080 * manual/conf.texi (Constants for Sysconf): Correct description of
8081 _SC_CLK_TCK.
8082
d7dd4413
DM
80832012-04-10 David S. Miller <davem@davemloft.net>
8084
8085 [BZ #13967]
8086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8087 where the is a gap between DT_REL(A) and DT_JMPREL.
8088
b46068fc
L
80892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8092 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8093 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8094
73d65cc3
SP
80952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8096
8097 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8098 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8099 (dl_main): Handle --inhibit-cache.
8100 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8101 _dl_inhibit_cache.
8102 * elf/dl-load.c (_dl_map_object): Use it.
8103 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8104
bcc8d661
JM
81052012-04-09 Joseph Myers <joseph@codesourcery.com>
8106
8f9a2fae
JM
8107 [BZ #13872]
8108 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8109 (__ieee754_powl): Saturate large exponents rather than testing for
8110 overflow of y*log2(x).
8111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8112 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8113 exceptions.
8114
bcc8d661
JM
8115 [BZ #11521]
8116 * math/s_ctan.c: Include <float.h>.
8117 (__ctan): Avoid internal overflow or cancellation in calculating
8118 denominator.
8119 * math/s_ctanf.c: Likewise.
8120 * math/s_ctanl.c: Likewise.
8121 * math/s_ctanh.c: Likewise.
8122 * math/s_ctanhf.c: Likewise.
8123 * math/s_ctanhl.c: Likewise.
8124 * math/libm-test.inc (ctan_test): Add more tests.
8125 (ctanh_test): Likewise.
8126 * sysdeps/i386/fpu/libm-test-ulps: Update.
8127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8128
823fbbb4
AJ
81292012-04-09 Andreas Jaeger <aj@suse.de>
8130
03879793
AJ
8131 [BZ #6894]
8132 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8133 is an optional BSD extension.
8134
823fbbb4
AJ
8135 [BZ #10254]
8136 * manual/stdio.texi (Opening Streams): Document additional fopen
8137 parameters.
8138
8de131cb
RM
81392012-04-09 Roland McGrath <roland@hack.frob.com>
8140
8141 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8142 %eax without telling the compiler.
8143
c0ed9d7d
CD
81442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8145
8146 [BZ # 13963]
8147 * manual/install.texi: Use sourceware.org.
8148
c483f6b4
JM
81492012-04-09 Joseph Myers <joseph@codesourcery.com>
8150
d7dd9453
JM
8151 [BZ #13873]
8152 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8153 (__ieee754_pow): Generate overflow and underflow using huge*huge
8154 and tiny*tiny rather than just returning constant infinity or zero
8155 for large exponents.
8156 * math/libm-test.inc (pow_test): Require overflow exceptions for
8157 applicable cases of large exponents.
8158
c483f6b4
JM
8159 [BZ #706]
8160 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8161 (__ieee754_pow): Use iterative multiplication algorithm only for
8162 integer exponents with absolute value below 1024. Check for odd
8163 integer exponents when using algorithm for real exponents.
8164 * math/libm-test.inc (pow_test): Add more tests.
8165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8166
d2de7579
JM
81672012-04-08 Joseph Myers <joseph@codesourcery.com>
8168
8169 [BZ #13705]
8170 * math/libm-test.inc (exp_test): Do not allow overflow exception
8171 on underflow test.
8172
f77f1232
AJ
81732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8174
8175 [BZ #13705]
8176 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8177 instead of __kernel_standard_f.
8178
3884932b
MF
81792012-04-08 Mike Frysinger <vapier@gentoo.org>
8180
8181 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8182 * sysdeps/x86_64/memset_chk.S: Likewise.
8183
54472e9c
AJ
81842012-04-08 Andreas Jaeger <aj@suse.de>
8185
6ab0fbfc
AJ
8186 [BZ #10153]
8187 * manual/startup.texi (Environment Access): Describe return value
8188 for putenv and setenv.
8189
61efba8c
AJ
8190 [BZ #6895]
8191 * manual/filesys.texi (Directory Entries): Add description for
8192 DT_LNK.
8193
95c3f29a
AJ
8194 [BZ #6890]
8195 * manual/filesys.texi (Directory Entries): Clarify that it's file
8196 system not operating system in the description of DT_UNKNOWN.
8197
54472e9c
AJ
8198 [BZ #6578]
8199 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8200
624254b1
SC
82012012-04-08 Stephen Compall <s11@member.fsf.org>
8202
8203 [BZ #6649]
8204 * manual/llio.texi (Opening and Closing Files): Add cross
8205 reference to explain mode argument.
8206
1e4920e0
MF
82072012-04-07 Mike Frysinger <vapier@gentoo.org>
8208
8209 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8210 * sysdeps/x86_64/memset_chk.S: Likewise.
8211
5ed848f3
DM
82122012-04-07 David S. Miller <davem@davemloft.net>
8213
8214 * elf/elf.h (R_SPARC_WDISP10): Define.
8215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8216 R_SPARC_SIZE32.
8217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8218 R_SPARC_SIZE64 and R_SPARC_H34.
8219
96154cd8
CD
82202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8221
8222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8223 conditions and remove no longer applicable assertion.
8224
9904dc47
L
82252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8226
8227 * bits/byteswap.h: Include <features.h>.
8228 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8229 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8230
f8887d0a
L
82312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 * bits/byteswap.h (__bswap_16): Removed.
8234 Include <bits/byteswap-16.h> to get __bswap_16.
8235 * sysdeps/i386/bits/byteswap.h: Likewise.
8236 * sysdeps/s390/bits/byteswap.h: Likewise.
8237 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8238 * bits/byteswap-16.h: New file.
8239 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8240 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8241 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8242 * string/Makefile (headers): Add bits/byteswap-16.h.
8243
62470f60
PP
82442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8245
8246 [BZ #13895]
8247 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8248 extra indirection.
8249 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8250 * nss/tst-nss-static.c: New.
8251
4dad7bab
RM
82522012-04-06 Robert Millan <rmh@gnu.org>
8253
8254 [BZ #6486]
8255 * manual/llio.texi (File Position Primitive): lseek
8256 refers to WHENCE when it really means OFFSET.
8257
e9142a17
AJ
82582012-04-06 Andreas Jaeger <aj@suse.de>
8259
2c040eff
AJ
8260 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8261 strncmp declarations.
8262
e9142a17
AJ
8263 * abilist/libc.abilist: Add __poll and __ppoll.
8264
ff9f1c5f
DM
82652012-04-05 David S. Miller <davem@davemloft.net>
8266
dcd2ae90
DM
8267 * scripts/check-local-headers.sh: Accept a host triplet in the
8268 path matched by the exclude regexp.
8269
993eb054
DM
8270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8271 definition.
8272 * sysdeps/powerpc/powerpc32/dl-machine.h
8273 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8274 * sysdeps/s390/s390-32/dl-machine.h
8275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8276 * sysdeps/sparc/sparc32/dl-machine.h
8277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8278 * sysdeps/sparc/sparc64/dl-machine.h
8279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8280
ff9f1c5f
DM
8281 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8282 lazy binding.
48e2e132 8283 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8284 undefined symbol errors.
8285
48e2e132 8286 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8287 DT_NEEDED entries.
8288
e80d6f94
MM
82892012-04-05 Michael Matz <matz@suse.de>
8290
8291 [BZ #13592]
8292 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8293
349fa79f
AJ
82942012-04-05 Andreas Jaeger <aj@suse.de>
8295
8296 [BZ #13908]
8297 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8298 comment.
8299
f402708f
KK
83002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8301
8302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8303 which ROUND is no valid rounding mode.
8304
2ecccfc9
KK
83052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8306
8307 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8308 read again.
8309 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8310
8a53f50f
KK
83112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8312
8313 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8314 an exception using FPU order intentionally.
8315
83162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8317
8318 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8319 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8320 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8321 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8322
d653abb7
SJ
83232012-04-05 Simon Josefsson <simon@josefsson.org>
8324
8325 [BZ #12340]
8326 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8327 EINVAL when BUFLEN is too smal.
8328
c3b1bf7d
TS
83292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8330
8331 [BZ #13553]
8332 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8333 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8334
b1aa60f3
AJ
83352012-04-03 Andreas Jaeger <aj@suse.de>
8336
c3b1bf7d 8337 [BZ #13938]
67f60a26
AJ
8338 * manual/setjmp.texi (System V contexts): Fix sentence.
8339
b1aa60f3
AJ
8340 [BZ #13926]
8341 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8342 New macro for this case.
8343 [!__GNUC__] (__bswap_64): New inline function for this case.
8344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8345 * bits/byteswap.h: Likewise.
8346 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8347 ull, guard with __GLIBC_HAVE_LONG_LONG.
8348
8349 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8350 __GLIBC_HAVE_LONG_LONG.
8351
8352 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8353 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8354
39c59c35
TMQMF
83552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8356
8357 [BZ #13691]
8358 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8359 inptr and inend, rather than using last_ch.
8360
135ffda8
DM
83612012-04-02 David S. Miller <davem@davemloft.net>
8362
8363 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8364 * stdio-common/printf-parse.h (read_int): Change return type to
8365 'int', return -1 on INT_MAX overflow.
8366 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8367 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8368 overflows INT_MAX. Check for overflow of in-format-string precision
8369 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8370 SIZE_MAX not INT_MAX for integer overflow test.
8371 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8372 skip the construct in the format string but do not record anything.
8373 * stdio-common/bug22.c: Adjust to test both width/prevision
8374 INT_MAX overflow as well as total length INT_MAX overflow. Check
8375 explicitly for proper errno values.
8376
228c019e
TS
83772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8378
302cadd3
TS
8379 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8380 CHAR_MAX.
8381 * string/test-strcmp.c [! WIDE]: Likewise.
8382 * time/tst-mktime2.c: Likewise for INT_MAX.
8383 * string/test-string.h: #include <sys/param.h> for MIN.
8384
228c019e
TS
8385 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8386 * sysdeps/i386/init-first.c (init): Likewise.
8387 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8388 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8389 * sysdeps/sh/init-first.c (init): Likewise.
8390
cfa633f5
UD
83912012-04-01 Ulrich Drepper <drepper@gmail.com>
8392
8393 * po/ru.po: Update from translation team.
d1635ef8 8394 * po/vi.po: Likewise.
cfa633f5 8395
6cd0a5ea
SP
83962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
8398 * resolv/nss_dns/dns-host.c: Merge copyright years.
8399
4b43400f
LD
84002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8401
8402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8403 Optimize memcpy with prefetch if
8404 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8405 src, dst pointers have unequal 16 byte alignments.
8406
48c41d04
SP
84072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8408
8409 [BZ #13928]
8410 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8411 from a CNAME entry and return the minimum ttl for the query.
8412 (gaih_getanswer_slice): Likewise.
8413
b8dc394d
JL
84142012-03-30 Jeff Law <law@redhat.com>
8415
8416 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8417 due to long keys.
8418 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8419 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8420
2f5a5ed0
JL
8421 * resolv/nss_dns/dns-host.c: Update copyright year.
8422
1d39e359
UD
84232012-03-30 Ulrich Drepper <drepper@gmail.com>
8424
c030f70c 8425 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8426 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8427
1d39e359
UD
8428 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8429 comments for sendmmsg.
8430
84312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8432
8433 [BZ #13691]
8434 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8435 with only 1 character between 0x0041 and 0x01b0.
8436 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8437 * wcsmbs/tst-mbsnrtowcs.c: New file.
8438
20fde227
DM
84392012-03-29 David S. Miller <davem@davemloft.net>
8440
8441 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8442 small copies by hand.
8443
984a4237
JL
84442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8445
8446 [BZ #13761]
8447 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8448 _nss_compat_initgroups_dyn): Fall back to malloc/free
8449 for large group memberships.
8450
18c9d62b
DM
84512012-03-28 David S. Miller <davem@davemloft.net>
8452
88d85d4f
DM
8453 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8454 that branches into memcpy.
8455 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8458 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8460 bits.
8461 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8462 implementation too.
8463 * sysdeps/sparc/mempcpy.S: New file.
8464
e5aa83e1
DM
8465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8466 the IFUNC routine in the libc case.
8467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8468
88570753
DM
8469 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8470 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8471 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8472 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8473 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8474 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8475 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8476 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8477
249d7567
DM
8478 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8479 loop to 256 bytes instead of 64 bytes and fix test signedness.
8480
18c9d62b
DM
8481 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8482 * sysdeps/sparc/sparc32/Makefile: rather than here...
8483 * sysdeps/sparc/sparc64/Makefile: and here.
8484
05f3d1f6
UD
84852012-03-28 Ulrich Drepper <drepper@gmail.com>
8486
8487 * malloc/mallocbug.c: Avoid warnings about unused variables.
8488
86ae07a8
JL
84892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8490
8491 [BZ #13760]
8492 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8493 in the right place. Discard and retry query if response is
8494 larger than input buffer size.
8495
41bf21a1
JM
84962012-03-28 Joseph Myers <joseph@codesourcery.com>
8497
d6270972
JM
8498 [BZ #369]
8499 [BZ #2678]
8500 [BZ #3866]
8501 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8502 x for large integer exponent.
8503 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8504 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8505 sign of result as needed afterwards.
8506 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8508 result for underflowing pow the same as for overflow.
8509 (__kernel_standard_l): Handle powl overflow and underflow here
8510 rather than calling __kernel_standard.
8511 * math/libm-test.inc (pow_test): Add more tests.
8512
414fca03 8513 [BZ #3868]
41bf21a1
JM
8514 [BZ #13879]
8515 [BZ #13910]
8516 [BZ #13911]
8517 [BZ #13912]
8518 [BZ #13913]
8519 [BZ #13915]
8520 [BZ #13916]
8521 [BZ #13917]
8522 [BZ #13918]
8523 [BZ #13919]
8524 [BZ #13920]
8525 [BZ #13921]
8526 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8527 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8528 (__kernel_standard_l): New function.
8529 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8530 __kernel_standard.
8531 * math/w_acosl.c (__acosl): Likewise.
8532 * math/w_asinl.c (__asinl): Likewise.
8533 * math/w_atan2l.c (__atan2l): Likewise.
8534 * math/w_atanhl.c (__atanhl): Likewise.
8535 * math/w_coshl.c (__coshl): Likewise.
8536 * math/w_exp10l.c (__exp10l): Likewise.
8537 * math/w_exp2l.c (__exp2l): Likewise.
8538 * math/w_fmodl.c (__fmodl): Likewise.
8539 * math/w_hypotl.c (__hypotl): Likewise.
8540 * math/w_j0l.c (__j0l, __y0l): Likewise.
8541 * math/w_j1l.c (__j1l, __y1l): Likewise.
8542 * math/w_jnl.c (__jnl, __ynl): Likewise.
8543 * math/w_lgammal.c (__lgammal): Likewise.
8544 * math/w_log10l.c (__log10l): Likewise.
8545 * math/w_log2l.c (__log2l): Likewise.
8546 * math/w_logl.c (__logl): Likewise.
8547 * math/w_powl.c (__powl): Likewise.
8548 * math/w_remainderl.c (__remainderl): Likewise.
8549 * math/w_scalbl.c (sysv_scalbl): Likewise.
8550 * math/w_sinhl.c (__sinhl): Likewise.
8551 * math/w_sqrtl.c (__sqrtl): Likewise.
8552 * math/w_tgammal.c (__tgammal): Likewise.
8553 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8554 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8555 * math/libm-test.inc (acos_test): Add more tests.
8556 (acosh_test): Likewise.
8557 (asin_test): Likewise.
8558 (atanh_test): Likewise.
8559 (exp_test): Likewise.
8560 (exp10_test): Likewise.
8561 (exp2_test): Likewise.
8562 (expm1_test): Likewise.
8563 (lgamma_test): Likewise.
8564 (log_test): Likewise.
8565 (log10_test): Likewise.
8566 (log1p_test): Likewise.
8567 (log2_test): Likewise.
8568 (pow_test): Do not allow some spurious overflow exceptions.
8569 (sqrt_test): Add more tests.
8570 (tgamma_test): Likewise.
8571 (y0_test): Likewise.
8572 (y1_test): Likewise.
8573 (yn_test): Likewise.
8574
dd62fda6
AB
85752012-03-27 Anton Blanchard <anton@samba.org>
8576
8577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8578 MAP_HUGETLB.
8579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8580 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8581 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8582
1e3cdfda
AJ
85832012-03-27 David S. Miller <davem@davemloft.net>
8584
b855ab85
DM
8585 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8586
1e3cdfda
AJ
8587 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8588 have-as-vis3 check.
8589
85902012-03-27 Andreas Jaeger <aj@suse.de>
8591
8592 * sysdeps/x86_64/elf/configure.in: Moved to ...
8593 * sysdeps/x86_64/configure.in: ... here.
8594 * sysdeps/x86_64/elf/start.S: Moved to ...
8595 * sysdeps/x86_64/start.S: ... here.
8596 * sysdeps/x86_64/elf/configure: Delete.
8597
8598 * sysdeps/x86_64/configure.in: Merge contents from
8599 sysdeps/i386/configure.in (without i686 check).
8600
8601 * sysdeps/i386/elf/Versions: Merge into ...
8602 * sysdeps/i386/Versions: ... this.
8603 * sysdeps/i386/elf/Versions: Delete file.
8604 * sysdeps/i386/elf/start.S: Moved to ...
8605 * sysdeps/i386/start.S: ...here.
8606 * sysdeps/i386/elf/configure.in: Merge into...
8607 * sysdeps/i386/configure.in: ...here.
8608 * sysdeps/i386/elf/configure.in: Delete file.
8609 * sysdeps/i386/elf/configure: Delete file.
8610
8611 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8612 * debug/backtracesyms.c: ... here.
8613 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8614 * debug/backtracesymsfd.c: ... here.
8615 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8616 * sysdeps/generic/ifunc-sel.h: ... here.
8617
8618 * sysdeps/unix/i386/start.c: Delete file.
8619 * sysdeps/unix/sparc/start.c: Delete file.
8620 * sysdeps/unix/start.c: Delete file.
8621
8622 * sysdeps/sh/elf/configure.in: Moved to ...
8623 * sysdeps/sh/configure.in: ... here.
8624 * sysdeps/sh/elf/start.S: Moved to ...
8625 * sysdeps/sh/start.S: ... here.
8626 * sysdeps/sh/elf/configure: Delete file.
8627
8628 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8629 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8630 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8631 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8632 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8633 * sysdeps/powerpc/powerpc64/start.S: here.
8634 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8635 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8636 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8637 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8638 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8639
8640 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8641 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8642 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8643 * sysdeps/powerpc/powerpc32/start.S: ... here.
8644 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8645 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8646 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8647
8648 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8649 * sysdeps/powerpc/ifunc-sel.h: ... here.
8650 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8651 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8652
8653 * sysdeps/sparc/elf/configure.in: Moved to ...
8654 * sysdeps/sparc/configure.in: ... here.
8655 * sysdeps/sparc/elf/configure: Delete file.
8656 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8657 * sysdeps/sparc/sparc32/start.S: ... here.
8658 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8659 * sysdeps/sparc/sparc64/start.S: ... here.
8660 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8661 * sysdeps/sparc/sparc32/Makefile: ... this.
8662 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8663 * sysdeps/sparc/sparc64/Makefile: ... this.
8664
8665 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8666 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8667 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8668 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8669 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8670 * sysdeps/s390/s390-32/setjmp.S: ... here.
8671 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8672 * sysdeps/s390/s390-32/configure.in: ... here.
8673 * sysdeps/s390/s390-32/elf/configure: Delete file.
8674 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8675 * sysdeps/s390/s390-32/start.S: ... here.
8676
8677 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8678 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8679 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8680 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8681 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8682 * sysdeps/s390/s390-64/setjmp.S: ... here.
8683 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8684 * sysdeps/s390/s390-64/configure.in: ... here
8685 * sysdeps/s390/s390-64/elf/configure: Delete file.
8686 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8687 * sysdeps/s390/s390-64/start.S: ... here.
8688 * sysdeps/s390/s390-64/elf/configure: Delete.
8689
8690 * configure.in: Remove support for elf directories in sysdeps.
8691
8692 * configure: Regenerated.
8693 * sysdeps/i386/configure: Regenerated.
8694 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8695 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8696 * sysdeps/s390/s390-32/configure: Regenerated.
8697 * sysdeps/s390/s390-64/configure: Regenerated.
8698 * sysdeps/sh/configure: Regenerated.
8699 * sysdeps/sparc/configure: Regenerated.
8700 * sysdeps/x86_64/configure: Regenerated.
8701
a3f61311
AS
87022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8703
c876e002
AS
8704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8705
a3f61311
AS
8706 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8707 denormal result into account.
8708
ac4c54f0
RM
87092012-03-25 Roland McGrath <roland@hack.frob.com>
8710
8711 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8712 Reported by Allan McRae <allan@archlinux.org>.
8713
6a9b9c02
JL
87142012-03-23 Jeff Law <law@redhat.com>
8715
8716 * nss/getnssent.c (__nss_getent): Fix typo.
8717
4c42a0c1
DM
87182012-03-23 David S. Miller <davem@davemloft.net>
8719
8720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8721
1532c7ac
L
87222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8725 to pad to uint64_t for each field.
8726 (dl_tls_index): Replace unsigned long with uint64_t.
8727
3ff42526
PP
87282012-03-23 Daniel Jacobowitz <dmj@google.com>
8729 Paul Pluzhnikov <ppluzhnikov@google.com>
8730
8731 [BZ #6528]
8732 * grp/Makefile (otherlibs): Don't set it.
8733 * inet/Makefile (otherlibs): Likewise.
8734 * login/Makefile (otherlibs): Likewise.
8735 * nscd/Makefile (otherlibs): Likewise.
8736 * posix/Makefile (otherlibs): Likewise.
8737 * pwd/Makefile (otherlibs): Likewise.
8738 * rt/Makefile (otherlibs): Likewise.
8739 * sunrpc/Makefile (otherlibs): Likewise.
8740 * nss/Makefile (otherlibs): Likewise.
8741 Add libnss_files to routines and static-only-routines.
8742 ($(objpfx)getent): Remove rule.
8743 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8744 static-only-routines.
8745
7c69cd14
JM
87462012-03-22 Joseph Myers <joseph@codesourcery.com>
8747
8748 [BZ #13892]
8749 * math/s_cexp.c: Include <float.h>.
8750 (__cexp): Handle exp result overflowing not necessarily
8751 overflowing both real and imaginary parts of result.
8752 * math/s_cexpf.c: Likewise.
8753 * math/s_cexpl.c: Likewise.
8754 * math/libm-test.inc (cexp_test): Add more tests.
8755 * sysdeps/i386/fpu/libm-test-ulps: Update.
8756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757
81b035fe
L
87582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 * include/link.h (ELFW): New macro.
8761 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8762 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8763
1da7940c
L
87642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8767 with uint64_t.
8768
b749dbb9
L
87692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8772 declaration.
8773 (struct La_x32_retval): Likewise.
8774
2ff87f3f
L
87752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8776
8777 * sysdeps/x86_64/preconfigure.in: New file.
8778 * sysdeps/x86_64/preconfigure: New generated file.
8779
c0df8e69
JM
87802012-03-22 Joseph Myers <joseph@codesourcery.com>
8781
48e44791
JM
8782 [BZ #13824]
8783 * math/e_exp2l.c: Include <float.h>.
8784 (__ieee754_exp2l): Handle overflow and underflow cases
8785 separately. Only pass fractional part of argument to
8786 __ieee754_expl.
8787 * math/libm-test.inc (exp2_test): Add more tests.
8788
c0df8e69
JM
8789 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8790 negating x to take absolute value.
8791 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8792 Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8795 Likewise.
8796 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8797 computing low part if x was negated.
8798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8799
c8e43ba7
L
88002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8803 la_x32_gnu_pltexit.
8804 (pltexit): Cast int_retval to ptrdiff_t.
8805 * elf/tst-auditmod3b.c: Likewise.
8806 * elf/tst-auditmod4b.c: Likewise.
8807 * elf/tst-auditmod5b.c: Likewise.
8808 * elf/tst-auditmod6b.c: Likewise.
8809 * elf/tst-auditmod6c.c: Likewise.
8810 * elf/tst-auditmod7b.c: Likewise.
8811
8812 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8813 and x32_gnu_pltexit.
8814
8815 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8816 __ELF_NATIVE_CLASS.
8817 (La_x32_regs): New macro.
8818 (La_x32_retval): Likewise.
8819 (la_x32_gnu_pltenter): New function prototype.
8820 (la_x32_gnu_pltexit): Likewise.
8821
7998fa78
AS
88222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8823
dcb33988
AS
8824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8825 exponent.
8826
233fc563
AS
8827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8828
7998fa78
AS
8829 * configure.in (libc_cv_cc_nofma): Check for option to disable
8830 generation of FMA instructions.
8831 * configure: Regenerate.
8832 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8833 * sysdeps/ieee754/dbl-64/Makefile: New file.
8834 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8835 Remove brandred-fma4.
8836 (CFLAGS-brandred-fma4.c): Remove.
8837 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8838 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8839 define.
8840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8841 define.
8842
8e95c99a
L
88432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8846 LLONG_MAX != LONG_MAX.
8847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8848 (_fitoa_word): Likewise.
8849 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8850 LLONG_MAX != LONG_MAX.
8851 * stdio-common/_itowa.h: Include <_itoa.h>.
8852 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8853 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8854 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8855 only if not defined.
8856 (_ITOA_WORD_TYPE): Likewise.
8857 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8858 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8859
6f4db457
DM
88602012-03-21 David S. Miller <davem@davemloft.net>
8861
8862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8863
7785fe5a
L
88642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8867 of x86_64 when setting libc_cv_slibdir, libdir and
8868 libc_cv_localedir.
8869 * sysdeps/unix/sysv/linux/configure: Regenerated.
8870
4535cd55
JM
88712012-03-21 Joseph Myers <joseph@codesourcery.com>
8872
8873 * manual/lang.texi (Old Varargs): Remove section.
8874 (How Variadic): Update menu.
8875 (va_start): Do not mention varargs.h.
8876
17228132
TS
88772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8878 Joseph Myers <joseph@codesourcery.com>
8879
8880 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8881 link test.
8882 * configure: Regenerated.
8883
8149f976
TS
88842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8885
05f3d1f6
UD
8886 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8887 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8888 conformtest.pl
8149f976 8889
1a4ac776
JM
88902012-03-21 Joseph Myers <joseph@codesourcery.com>
8891
be22ce65
JM
8892 * NOTES: Remove.
8893 * Makefile (files-for-dist): Remove NOTES.
8894 (NOTES): Remove rule.
8895 * README: Don't refer to NOTES.
8896 * manual/creature.texi: Don't include macros.texi.
8897 * manual/intro.texi (creature.texi): Remove comment referring to
8898 NOTES.
8899
40b601fb
JM
8900 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8901 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8902 * configure: Regenerated.
8903 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8904 LIBC_TRY_CC_OPTION.
8905 (libc_cv_as_i686): Likewise.
8906 (libc_cv_cc_avx): Likewise.
8907 (libc_cv_cc_sse2avx): Likewise.
8908 (libc_cv_cc_fma4): Likewise.
8909 (libc_cv_cc_novzeroupper): Likewise.
8910 * sysdeps/i386/configure: Regenerated.
8911
1a4ac776
JM
8912 [BZ #13883]
8913 * sysdeps/i386/fpu/s_cexp.S: Remove.
8914 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8915 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8916 * math/libm-test.inc (cexp_test): Add more tests.
8917 * sysdeps/i386/fpu/libm-test-ulps: Update.
8918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8919
a458e7fe
AM
89202012-03-21 Allan McRae <allan@archlinux.org>
8921
8922 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8923
0cb7efc5
JM
89242012-03-21 Joseph Myers <joseph@codesourcery.com>
8925
8926 [BZ #13871]
8927 * math/w_exp2.c: Do not include <float.h>.
8928 (o_threshold, u_threshold): Remove.
8929 (__exp2): Calculate result before checking finiteness and calling
8930 __kernel_standard.
8931 * math/w_exp2f.c: Likewise.
8932 * math/w_exp2l.c: Likewise.
8933 * math/libm-test.inc (exp2_test): Require overflow exception for
8934 1e6 input.
2460d3aa
JM
8935
8936 [BZ #3866]
8937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8938 range of signed 64-bit integers before using fistpll. Remove
8939 checks for whether integers fit in mantissa bits.
8940 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8941 the range of signed 32-bit integers before using fistpl. Remove
8942 checks for whether integers fit in mantissa bits.
8943 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8944 (__ieee754_powl): Test for y outside the range of signed 64-bit
8945 integers before using fistpll. Reduce 64-bit values to 63-bit
8946 ones as needed.
8947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8948 divide-by-zero is raised for zero to large negative powers.
8949 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8950 (__ieee754_powl): Test for y outside the range of signed 64-bit
8951 integers before using fistpll. Reduce 64-bit values to 63-bit
8952 ones as needed.
8953 * math/libm-test.inc (pow_test): Add more tests.
8954
eb96ffb0
L
89552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8956
8957 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8958 <stdio-common/_itoa.h>.
8959 * debug/segfault.c: Likewise.
8960 * elf/dl-cache.c: Likewise.
8961 * elf/dl-minimal.c: Likewise.
8962 * elf/dl-misc.c: Likewise.
8963 * elf/dl-sysdep.c: Likewise.
8964 * elf/dl-version.c: Likewise.
8965 * elf/rtld.c: Likewise.
8966 * hurd/hurdsock.c: Likewise.
8967 * hurd/lookup-retry.c: Likewise.
8968 * malloc/malloc.c: Likewise.
8969 * malloc/mtrace.c: Likewise.
8970 * nscd/nscd_getgr_r.c: Likewise.
8971 * nscd/nscd_getpw_r.c: Likewise.
8972 * nscd/nscd_getserv_r.c: Likewise.
8973 * posix/getopt_init.c: Likewise.
8974 * posix/wordexp.c: Likewise.
8975 * stdio-common/_itoa.c: Likewise.
8976 * stdio-common/printf_fphex.c: Likewise.
8977 * stdio-common/vfprintf.c: Likewise.
8978 * string/_strerror.c: Likewise.
8979 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8980 * sysdeps/i386/i686/hp-timing.h: Likewise.
8981 * sysdeps/mach/_strerror.c: Likewise.
8982 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8983 * sysdeps/mach/hurd/sethostid.c: Likewise.
8984 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8985 * sysdeps/mach/xpg-strerror.c: Likewise.
8986 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8988 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8989 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8990 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8991 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8992 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8993 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8994 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8995 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8996 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8997 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8998 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8999 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9000 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9001 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9004 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9005 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9006 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9007
9008 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9009
9010 * stdio-common/_itoa.h: Moved to ...
9011 * sysdeps/generic/_itoa.h: Here.
9012
9013 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9014
9015 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9016 instead of "_itoa.h" and "_itowa.h".
9017 * stdio-common/vfprintf.: Likewise.
9018
d1af992d
L
90192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9022 <bits/wordsize.h>.
9023 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9024 (__signbit): Likwise.
9025 (llrintf): Likwise.
9026 (llrint): Likwise.
9027
114883e0
L
90282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9031 __WORDSIZE != 64.
9032
c135cc1b
JM
90332012-03-20 Joseph Myers <joseph@codesourcery.com>
9034
9035 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9036 OVERFLOW_EXCEPTION_OK.
9037 * math/libm-test.inc ("Philosophy"): Update comment about
9038 exception testing.
9039 (OVERFLOW_EXCEPTION): Define.
9040 (OVERFLOW_EXCEPTION_OK): Likewise.
9041 (INVALID_EXCEPTION_OK): Renumber.
9042 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9043 (IGNORE_ZERO_INF_SIGN): Likewise.
9044 (test_exceptions): Handle FE_OVERFLOW.
9045 (exp10_test): Expect overflow exceptions.
9046 (exp2_test): Likewise.
9047 (expm1_test): Likewise.
9048 (nextafter_test): Likewise.
9049 (pow_test): Likewise.
9050 (scalbn_test): Likewise.
9051 (scalbln_test): Likewise.
9052
95443d88
L
90532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/x86_64/bits/atomic.h
9056 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9057 64bit integer.
9058 (atomic_exchange_acq): Likewise.
9059 (__arch_exchange_and_add_body): Likewise.
9060 (__arch_add_body): Likewise.
9061 (atomic_add_negative): Likewise.
9062 (atomic_add_zero): Likewise.
9063
490df6c4
L
90642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9065
c2722551 9066 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9067 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9068
5e52b189
L
90692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9072 Check __x86_64__ instead of __WORDSIZE.
9073
a9879d4c
L
90742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9077
5df98260
DM
90782012-03-19 David S. Miller <davem@davemloft.net>
9079
e1497744
DM
9080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9081
5df98260
DM
9082 * sysdeps/sparc/fpu/fenv_private.h: New file.
9083 * sysdeps/sparc/fpu/math_private.h: Use it.
9084 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9085 Remove.
9086 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9087 (libc_feholdexcept_setroundl): Remove.
9088 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9089 Remove.
9090 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9091 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9092
b4c35121
L
90932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9094
9095 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9096 int64_t instead of long int.
9097 (INSERT_WORDS64): Likwise.
9098
56965fd7
L
90992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9102 _Unwind_GetCFA return to _Unwind_Ptr first.
9103
83d1aec8
JM
91042012-03-19 Joseph Myers <joseph@codesourcery.com>
9105
1897ad44
JM
9106 [BZ #13629]
9107 * math/s_clog.c: Include <float.h>.
9108 (__clog): Scale large or subnormal inputs.
9109 * math/s_clogf.c: Likewise.
9110 * math/s_clogl.c: Likewise.
9111 * math/s_clog10.c: Include <float.h>.
9112 (M_LOG10_2): Define.
9113 (__clog10): Scale large or subnormal inputs.
9114 * math/s_clog10f.c: Likewise.
9115 * math/s_clog10l.c: Likewise.
9116 * math/libm-test.inc (clog_test): Add more tests.
9117 (clog10_test): Likewise.
9118 * sysdeps/i386/fpu/libm-test-ulps: Update.
9119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9120
7726d6a9
JM
9121 [BZ #11451]
9122 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9123 x and y.
9124 * math/libm-test.inc (atan2_test): Add another test.
9125
83d1aec8
JM
9126 * Makerules (common-objdir-compile): Remove.
9127 * sysdeps/unix/Makefile (config-generated): Do not add
9128 $(unix-generated) to variable.
9129 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9130 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9131 Remove rule.
9132 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9133 Likewise.
9134 [generic bits/local_lim.h] (before-compile): Do not append to
9135 variable.
9136 [generic bits/local_lim.h] (common-generated): Likewise.
9137 [generic sys/param.h] (before-compile): Do not append to variable.
9138 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9139 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9140 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9141 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9142 include.
9143 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9144 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9145 [generic sys/param.h] ($(addprefix
9146 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9147 [generic sys/param.h] (common-generated): Do not append to
9148 variable.
9149 [generic sys/param.h] (sysdep_headers): Likewise.
9150 [generic bits/errno.h] (before-compile): Do not append to
9151 variable.
9152 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9153 rule.
9154 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9155 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9156 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9157 [generic bits/errno.h] (common-generated): Do not append to
9158 variable.
9159 [generic bits/ioctls.h] (before-compile): Do not append to
9160 variable.
9161 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9162 rule.
9163 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9164 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9166 rule.
9167 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9168 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9169 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9170 [generic bits/ioctls.h] (common-generated): Do not append to
9171 variable.
9172 [generic sys/syscall.h] (syscall.h): Remove variable.
9173 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9174 rule.
9175 [generic sys/syscall.h] (before-compile): Do not append to
9176 variable.
9177 [generic sys/syscall.h] (common-generated): Likewise.
9178 * sysdeps/unix/errnos-tmpl.c: Remove file.
9179 * sysdeps/unix/errnos.awk: Likewise.
9180 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9181 * sysdeps/unix/ioctls.awk: Likewise.
9182 * sysdeps/unix/mk-local_lim.c: Likewise.
9183 * sysdeps/unix/snarf-ioctls: Likewise.
9184
4851a949
RH
91852012-03-19 Richard Henderson <rth@twiddle.net>
9186
bd37f2ee
RH
9187 * sysdeps/i386/fpu/fenv_private.h: New file.
9188 * sysdeps/i386/fpu/math_private.h: Use it.
9189 (math_opt_barrier, math_force_eval): Remove.
9190 (libc_feholdexcept_setround_53bit): Remove.
9191 (libc_feupdateenv_53bit): Remove.
9192 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9193 (math_opt_barrier, math_force_eval): Remove.
9194 (libc_feholdexcept): Remove.
9195 (libc_feholdexcept_setround): Remove.
9196 (libc_fetestexcept, libc_fesetenv): Remove.
9197 (libc_feupdateenv_test): Remove.
9198 (libc_feupdateenv, libc_feholdsetround): Remove.
9199 (libc_feresetround): Remove.
9200
d0adc922
RH
9201 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9202 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9203
0fe0f1f8
RH
9204 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9205 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9206 (libc_feupdateenv_testl): New.
9207 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9208 (libc_feupdateenv_testf): New.
9209 (libc_feupdateenv): Use libc_feupdateenv_test.
9210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9211 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9212
eb92c487
RH
9213 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9214 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9215 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9216 (libc_feresetround_noex): New.
9217 (libc_feresetround_noexf): New.
9218 (libc_feresetround_noexl): New.
9219 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9220 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9221 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9222 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9223 SET_RESTORE_ROUND.
9224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9226 (__cos): Likewise.
9227 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9228 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9229 SET_RESTORE_ROUND_NOEX.
9230 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9231 SET_RESTORE_ROUND_NOEXF.
9232 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9233 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9234 (libc_feholdsetroundf): New.
9235 (libc_feresetround, libc_feresetroundf): New.
9236
7d2e8012
RH
9237 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9238 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9239 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9240
b4dabbb4
RH
9241 * sysdeps/generic/math_private.h: Include <fenv.h>.
9242 (default_libc_feholdexcept): New.
9243 (default_libc_feholdexcept_setround): New.
9244 (default_libc_fesetenv, default_libc_feupdateenv): New.
9245 (libc_feholdexcept): Only define if undefined.
9246 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9247 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9248 (libc_feholdexcept_setroundl): Likewise.
9249 (libc_feholdexcept_setround_53bit): Likewise.
9250 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9251 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9252 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9253 (libc_feupdateenv_53bit): Likewise.
9254 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9255 (libc_feholdexcept): Convert from macro to inline function.
9256 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9257 (libc_fesetenv, libc_feupdateenv): Likewise.
9258
4851a949
RH
9259 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9260 not previously defined.
9261 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9262 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9263 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9264 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9265 * sysdeps/ieee754/flt-32/math_private.h: New file.
9266 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9267 math_private.h below SET_FLOAT_WORD.
9268 (__isnan, __isinf_ns, __finite): Remove.
9269 (__isnanf, __isinf_nsf, __finitef): Remove.
9270
e79d442e
AS
92712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9272
9273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274
90b80344
DM
92752012-03-17 David S. Miller <davem@davemloft.net>
9276
9277 [BZ #6471]
9278 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9279 for 2.16.
9280
edc21804
DM
92812012-03-16 David S. Miller <davem@davemloft.net>
9282
77e927af
DM
9283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9284 warnings.
9285
374976dd
DM
9286 [BZ #6471]
9287 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9288 properly.
9289 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9290 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9291 sysdep_routines when subdir is sysvipc.
9292 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9293 __getshmlba helper.
9294
edc21804
DM
9295 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9296
473c3ef3
L
92972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9298
9299 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9300 [__LP64__].
9301
eb0f39b6
L
93022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9305 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9306 (__lround): Renamed to ...
9307 (__llround): This. Replace long int with long long int.
9308 Define lround functions as aliases of llround functions.
9309 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9310
6b6cd74b
L
93112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9314 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9315 adresses to uintptr_t. Replace "long int" and "unsigned long
9316 int" with "greg_t" on va_arg.
9317
f1a77b01
L
93182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9321 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9322
9323 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9324 Move e_machine check before EI_CLASS check. Handle x32
9325 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9326 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9327 SKIP_EM_IA_64 and include
9328 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9329
9330 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9331 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9332 (add_system_dir): New macro.
9333
9334 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9335 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9336
11b90b9f
JM
93372012-03-16 Joseph Myers <joseph@codesourcery.com>
9338
c36e1d23
JM
9339 [BZ #2551]
9340 [BZ #2552]
9341 [BZ #2553]
9342 [BZ #2554]
9343 [BZ #2562]
9344 [BZ #2563]
9345 [BZ #2565]
9346 [BZ #2566]
9347 [BZ #2576]
9348 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9349 (y0): Likewise.
9350 * math/w_j0f.c (j0f): Likewise.
9351 (y0f): Likewise.
9352 * math/w_j0l.c (__j0l): Likewise.
9353 (__y0l): Likewise.
9354 * math/w_j1.c (j1): Likewise.
9355 (y1): Likewise.
9356 * math/w_j1f.c (j1f): Likewise.
9357 (y1f): Likewise.
9358 * math/w_j1l.c (__j1l): Likewise.
9359 (__y1l): Likewise.
9360 * math/w_jn.c (jn): Likewise.
9361 (yn): Likewise.
9362 * math/w_jnf.c (jnf): Likewise.
9363 (ynf): Likewise.
9364 * math/w_jnl.c (__jnl): Likewise.
9365 (__ynl): Likewise.
9366 * math/libm-test.inc (j0_test): Add more tests.
9367 (j1_test): Likewise.
9368 (jn_test): Likewise. Add trailing semicolon to existing test.
9369 (y0_test): Likewise.
9370 (y1_test): Likewise.
9371 * sysdeps/i386/fpu/libm-test-ulps: Update.
9372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9373
11b90b9f
JM
9374 [BZ #13851]
9375 [BZ #13854]
9376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9377 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9378 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9380 (__tanl): Set errno for infinite argument.
9381 * sysdeps/i386/fpu/mptan.c: Remove.
9382 * sysdeps/i386/fpu/s_tan.S: Likewise.
9383 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9384 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9385 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9386 * math/libm-test.inc (tan_test): Add more tests and enable more
9387 tests for double and long double.
9388 * sysdeps/i386/fpu/libm-test-ulps: Update.
9389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9390
6a1bd2a1
JK
93912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9394 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9395
10a803e0
RM
93962012-03-16 Roland McGrath <roland@hack.frob.com>
9397
9398 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9399 * configure.in: Use it for both main tree and add-ons.
9400 * configure: Regenerated.
9401
f196c7f7
L
94022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9405
8848d99d
JM
94062012-03-16 Joseph Myers <joseph@codesourcery.com>
9407
96cbe7f4
JM
9408 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9409 in comment.
9410
8848d99d
JM
9411 [BZ #13851]
9412 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9413 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9417 infinite argument.
9418 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9420 != 0 for prec == 2.
9421 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9422 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9423 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9424 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9425 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9426 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9427 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9428 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9429 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9430 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9431 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9432 * math/libm-test.inc (cos_test): Add more tests and enable more
9433 tests for long double.
9434 (sin_test): Likewise.
9435 (sincos_test): Likewise.
9436 * sysdeps/i386/fpu/libm-test-ulps: Update.
9437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9438
dd7f4703
DM
94392012-03-16 David S. Miller <davem@davemloft.net>
9440
9441 * sysdeps/sparc/fpu/math_private.h: New file.
9442
006f1daa
DM
94432012-03-15 David S. Miller <davem@davemloft.net>
9444
c0c83bc8
DM
9445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9446 file.
e6a62e18 9447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9449 file.
e6a62e18
DM
9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9456 sysdep routines.
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9458
88cb87d9
DM
9459 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9460 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9461
006f1daa 9462 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9464 sparc-ifunc.h
006f1daa 9465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9467 Likewise.
9468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9469 Likewise.
006f1daa
DM
9470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9474 Likewise.
006f1daa
DM
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9480 Likewise.
9481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9482 Likewise.
006f1daa
DM
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9503 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9507
11e0098e
AS
95082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9509
9510 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9511 scaling.
9512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9513
e85b09d0
AJ
95142012-03-15 Andreas Jaeger <aj@suse.de>
9515
9516 [BZ #13852]
9517 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9518 ieee754/flt-32 implementation for sin, cos and sincos.
9519 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9520 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9521 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9522 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9523 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9524 ieee754/flt-32 implementation for tan.
9525
9526 * math/libm-test.inc (cos_test): Enable some large input tests for
9527 float as well
9528 (sin_test): Likewise.
9529 (sincos_test): Likewise.
9530 (tan_test): Add tests for large input.
9531
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533
81c64153
AJ
95342012-03-15 Andreas Jaeger <aj@suse.de>
9535
9536 [BZ #13658]
9537 * math/libm-test.inc (cos_test): Add more test cases.
9538 (sin_test): Likewise.
9539 (sincos_test): Likewise.
9540
7bbfa5c6
AJ
95412012-03-15 Andreas Jaeger <aj@suse.de>
9542
9543 [BZ #13837]
9544 * math/libm-test.inc (cos_test): Add a test case for large input
9545 value.
9546 (sin_test): Likewise.
9547 (sincos_test): Likewise.
9548
95492012-03-15 Andreas Jaeger <aj@suse.de>,
9550 Joseph Myers <joseph@codesourcery.com>
9551
9552 [BZ #13658]
0671f479 9553 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9554 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9555 * sysdeps/i386/fpu/branred.c: Likewise.
9556 * sysdeps/i386/fpu/dosincos.c: Likewise.
9557 * sysdeps/i386/fpu/mpa.c: Likewise.
9558 * sysdeps/i386/fpu/s_cos.S: Likewise.
9559 * sysdeps/i386/fpu/s_sin.S: Likewise.
9560 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9561 * sysdeps/i386/fpu/sincos32.c: Likewise.
9562
9563 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9564 Define.
9565 (libc_feupdateenv_53bit): Define.
9566 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9567 Define.
9568 (libc_feupdateenv_53bit): Define.
9569
9570 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9571 53 bit (without extend i386 double precision).
9572
9573 * math/libm-test.inc (sincos_test): Add tests for large input.
9574 (sin): Likewise.
9575 (cos): Likewise.
9576
9577 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9578
9cad04ea
AS
95792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9580
9581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9582
f7062b9a
DM
95832012-03-15 David S. Miller <davem@davemloft.net>
9584
9585 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9586 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9587 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9588 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9601 file.
f7062b9a 9602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9604 file.
f7062b9a 9605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9607 file.
f7062b9a 9608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9610 file.
f7062b9a
DM
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9613 fmin/fmax sysdep routines.
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9615
7bd951ff
DM
96162012-03-14 David S. Miller <davem@davemloft.net>
9617
559398ab
DM
9618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9646 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9647 routines.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9649 file.
559398ab 9650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9652 file.
559398ab 9653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9655 file.
559398ab 9656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9658 file.
559398ab 9659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9661 file.
559398ab 9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9664 file.
9665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9666 file.
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9668 file.
9669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9670 file.
9671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9672 New file.
9673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9674 file.
9675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9676 file.
559398ab 9677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9679 file.
559398ab 9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9682 file.
559398ab 9683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9685 file.
559398ab 9686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9688 VIS3 routines.
559398ab
DM
9689
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9691 New file.
9692
5a1c1e32
DM
9693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9694
eae47a36
DM
9695 * sysdeps/sparc/configure.in: New file.
9696 * sysdeps/sparc/configure: Generate.
9697 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9698 * configure: Regenerate.
9699 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9700 * config.make.in (have-as-vis3): New.
9701 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9702 available use -Av9d instead of -Av9a.
9703 * sysdeps/sparc/sparc64/Makefile: Likewise.
9704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9706 New file.
9707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9708 file.
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9710 New file.
9711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9712 file.
eae47a36
DM
9713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9718
c0c83bc8
DM
9719 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9720 fzeros/fnegs to load 0x80000000 into a float register instead of
9721 using the stack.
7bd951ff
DM
9722 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9723
bd951ccb
JM
97242012-03-14 Joseph Myers <joseph@codesourcery.com>
9725
9726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9727 bits/syscall.h.
9728 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9729 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9730 ($(inst_includedir)/bits/syscall.h): Remove rule.
9731 ($(objpfx)bits/syscall.d): Include instead of
9732 $(objpfx)syscall-list.d.
9733 (generated): Change syscall-list.h and syscall-list.d to
9734 bits/syscall.h and bits/syscall.d.
9735
bb4e6db2
RM
97362012-03-14 Roland McGrath <roland@hack.frob.com>
9737
9738 [BZ #13846]
9739 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9740
aa4a2ae1
JM
97412012-03-14 Joseph Myers <joseph@codesourcery.com>
9742
e456826d
JM
9743 [BZ #13841]
9744 * math/s_csqrt.c: Include <float.h>.
9745 (__csqrt): Scale large or subnormal inputs.
9746 * math/s_csqrtf.c: Likewise.
9747 * math/s_csqrtl.c: Likewise.
9748 * math/libm-test.inc (csqrt_test): Add more tests.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9751
aa4a2ae1
JM
9752 [BZ #13840]
9753 * math/libm-test.inc (hypot_test): Add more tests.
9754
7c10fd35
DM
97552012-03-13 David S. Miller <davem@davemloft.net>
9756
9757 [BZ #13840]
9758 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9759 double-precision for the calculation instead of scaling.
9760
f453b98b
JM
97612012-03-13 Joseph Myers <joseph@codesourcery.com>
9762
9763 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9764 manipulate bits before adding and subtracting TWO52[sx].
9765 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9767 Likewise.
9768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9769
09a3453f
DM
97702012-03-13 David S. Miller <davem@davemloft.net>
9771
8e59da90
DM
9772 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9773 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9775 rtld-global-offsets.h
9776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9777
2a8ab7f2
DM
9778 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9779 large parameters.
9780
10f62770
DM
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9782
5f0bdb18
DM
9783 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9784 'err' in the ifdef scope in which it is actually used.
9785
09a3453f
DM
9786 * nss/nss_db/db-init.c: Include string.h
9787
b4b2eb5e
DM
97882012-03-12 David S. Miller <davem@davemloft.net>
9789
98bb2f1c
DM
9790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9791 masking out of the most significant byte of random value used.
9792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9793 Fix coding style in previous change.
9794
b4b2eb5e
DM
9795 * sysdeps/unix/sysv/linux/kernel-features.h
9796 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9797 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9798 expression.
9799 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9800 later.
9801
6e226b09
DM
98022012-03-11 David S. Miller <davem@davemloft.net>
9803
a1bcbd40
DM
9804 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9805 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9807 for 'resultvar' otherwise things get truncated on 64-bit.
9808
cb9d6174
DM
9809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9810 Fix masking out of the most significant byte of random value used.
9811
6e226b09
DM
9812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9813
058c132d
AS
98142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9815
9816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9817
2d2cd515
DM
98182012-03-09 David S. Miller <davem@davemloft.net>
9819
9820 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9821 variables with appropriate CPP guards.
9822 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9823 frame pointer, not the stack pointer. Correct layout comments. Fix test
9824 on resulting framesize and the management of the outregs buffer for pltexit.
9825 Preserve floating point return values across _dl_call_pltexit call.
9826 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9827 framesize and the management of the outregs buffer for pltexit.
9828 Preserve floating point return values across _dl_call_pltexit
9829 call.
9830 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9831 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9832 (print_exit): Fix format string for return register value.
9833
9a07f9d0
JM
98342012-03-10 Joseph Myers <joseph@codesourcery.com>
9835
9836 * sunrpc/Makefile (others): Add rpcgen.
9837 ($(objpfx)rpcgen): Remove special build rule and dependency on
9838 libc.
9839 * sunrpc/rpcgen.c: New file.
9840
547b5e30
PE
98412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9842
c524201a
PE
9843 [BZ #13673]
9844 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9845 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9846 * sysdeps/i386/crti.S: Likewise.
9847 * sysdeps/i386/crtn.S: Likewise.
9848 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9849 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9850 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9851 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9852 * sysdeps/sh/crti.S: Likewise.
9853 * sysdeps/sh/crtn.S: Likewise.
9854 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9855
7b6235f2
PE
9856 [BZ #13673]
9857 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9858 with URL.
9859 * locale/programs/locfile-kw.gperf: Likewise.
9860 * locale/programs/charmap-kw.h: Regenerated.
9861 * locale/programs/locfile-kw.h: Likewise.
9862
547b5e30
PE
9863 [BZ #13673]
9864 * intl/plural.y: Replace FSF snail mail address with URL.
9865 * intl/plural.c: Regenerated.
9866
5f0a5dae
RH
98672012-03-09 Richard Henderson <rth@twiddle.net>
9868
9869 * include/math_private.h: Remove file.
9870 * math/math_private.h: Move file ...
9871 * sysdeps/generic/math_private.h: ... here.
9872
b8c03620
RH
9873 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9874 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9875 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9876
4e234f5d 9877 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9878 and <math_private.h>.
9879 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9880 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9881 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9882 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9883 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9944 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9948 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9962 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9967 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9970 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9972 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9973 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9974 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9975 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9976 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9979 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9980 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9981 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9982 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9984 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9985 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9986 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9991 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9992 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9993 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9994 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9996 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9997 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9998 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9999 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10000 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10001 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10002 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10003 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10004 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10005 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10006 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10007 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10008 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10009 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10010 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10011 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10012 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10013 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10014 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10015 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10016 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10017 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10018 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10020 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10021 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10022 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10024 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10025 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10026 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10028 * sysdeps/ieee754/k_standard.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10070 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10080 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10081 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10090 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10106 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10141 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10144 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10146 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10148 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10149 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10151 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10156 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10161 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10177 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10178 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10179 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10189 * sysdeps/ieee754/s_lib_version.c: Likewise.
10190 * sysdeps/ieee754/s_matherr.c: Likewise.
10191 * sysdeps/ieee754/s_signgam.c: Likewise.
10192 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10193 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10194 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10195 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10196 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10197 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10198 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10199 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10200 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10201 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10202 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10203 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10204 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10205 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10206 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10207 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10209 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10210 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10213
1991fa03
JM
102142012-03-09 Joseph Myers <joseph@codesourcery.com>
10215
10216 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10217 * sunrpc/rpc_main.c: Likewise.
10218 * sunrpc/rpc_svcout.c: Likewise.
10219
60d6f5a6
DM
102202012-03-09 David S. Miller <davem@davemloft.net>
10221
10222 * include/math_private.h: New file.
10223
4962050e
JM
102242012-03-09 Joseph Myers <joseph@codesourcery.com>
10225
02a6f887
JM
10226 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10227 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10228 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10229 from <bits/socket_type.h>.
10230 (enum __socket_type): Don't define here.
10231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10233 bits/socket_type.h.
10234
c6e013c1
JM
10235 [BZ #13566]
10236 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10237 checking __USE_GNU.
10238
4962050e
JM
10239 * Makerules ($(inst_includedir)/%.h): New rule.
10240 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10241 (install-others): Remove variable setting.
10242 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10243
38842f45
RH
102442012-03-08 Richard Henderson <rth@twiddle.net>
10245
67bb6da6
RH
10246 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10247 from macro to inline function; merge with the
10248 !__LIBC_INTERNAL_MATH_INLINES version.
10249 (__ieee754_sqrtf): Likewise.
10250
15194b4b
RH
10251 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10252 to inline function.
10253 (__rintf, __floor, __floorf): Likewise.
10254
64e21ede
RH
10255 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10256 macro to inline function.
10257 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10258
38842f45
RH
10259 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10260 not <math/math_private.h>.
10261
c64bf5fe
DM
102622012-03-08 David S. Miller <davem@davemloft.net>
10263
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10265 copyright year.
10266 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10267
82d86f28
TS
102682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10269
10270 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10271 normalization.
10272 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10273 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10274
aea5d727
UD
102752012-03-08 Ulrich Drepper <drepper@gmail.com>
10276
10277 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10278 be defined individually, they must be defined as a block. Define
10279 S for printing a string instead of hidint the different by using a
10280 macro for adding the 'l'.
10281 * stdio-common/tst-fphex-wide.c: Adjust.
10282
70bca0a3
MP
102832012-03-07 Marek Polacek <polacek@redhat.com>
10284
10285 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10286
65b81130
MP
102872012-03-08 Marek Polacek <polacek@redhat.com>
10288
10289 [BZ #13806]
10290 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10291 * stdio-common/tst-fphex.c: Define a few macros to make the
10292 test reusable. Use them.
10293 * stdio-common/tst-fphex-wide.c: New file.
10294
07037eeb
JM
102952012-03-08 Joseph Myers <joseph@codesourcery.com>
10296
a7a93d50
JM
10297 [BZ #6911]
10298 * manual/macros.texi (gnusystems): New macro.
10299 (nongnusystems): Likewise.
10300 (gnulinuxhurdsystems): Likewise.
10301 (gnuhurdsystems): Likewise..
10302 (gnulinuxsystems): Likewise.
10303 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10304 variants of the GNU system, not "GNU system".
10305 * manual/conf.texi: Likewise.
10306 * manual/errno.texi: Likewise. Update example of errno macro
10307 expansion.
10308 * manual/filesys.texi: Likewise.
10309 (getumask): Document as specific to GNU/Hurd.
10310 * manual/install.texi: Likewise. Reword some references to
10311 GNU/Linux.
10312 * manual/intro.texi: Likewise.
10313 * manual/io.texi: Likewise.
10314 (File Name Portability): Detail which constraints are inapplicable
10315 to all GNU systems and which are only inapplicable to GNU/Hurd.
10316 * manual/job.texi: Likewise.
10317 * manual/llio.texi: Likewise.
10318 (O_NOCTTY): Document as present on GNU/Linux.
10319 * manual/maint.texi: Likewise.
10320 * manual/memory.texi: Likewise.
10321 * manual/pattern.texi: Likewise.
10322 * manual/pipe.texi: Likewise.
10323 * manual/process.texi: Likewise.
10324 * manual/resource.texi: Likewise.
10325 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10326 child on GNU/Hurd.
10327 * manual/setjmp.texi: Likewise.
10328 * manual/signal.texi: Likewise.
10329 * manual/startup.texi: Likewise.
10330 * manual/stdio.texi: Likewise.
10331 * manual/terminal.texi: Likewise.
10332 (ONLCR): Document as POSIX.
10333 (OXTABS): Document availability on GNU/Linux as XTABS.
10334 (ONOEOT): Document availability separately from other bits.
10335 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10336 * manual/time.texi: Likewise.
10337 * manual/users.texi: Likewise.
10338 * INSTALL: Regenerated.
10339 * sysdeps/gnu/errlist.c: Regenerated.
10340
07037eeb
JM
10341 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10342 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10343 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10344 puts.
10345 * configure: Regenerated.
10346
d1d3431a
JM
103472012-03-07 Joseph Myers <joseph@codesourcery.com>
10348
af6a1e37
JM
10349 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10350 default includes instead of AC_HEADER_CHECK.
10351 * sysdeps/i386/configure: Regenerated.
10352
d1d3431a
JM
10353 [BZ #10716]
10354 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10355 * math/s_cacoshf.c (__cacoshf): Likewise.
10356 * math/s_cacoshl.c (__cacoshl): Likewise.
10357 * math/s_casinh.c (__casinh): Set signs of result from argument.
10358 * math/s_casinhf.c (__casinhf): Likewise.
10359 * math/s_casinhl.c (__casinhl): Likewise.
10360 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10361 (casinh_test): Add more tests.
10362 * sysdeps/i386/fpu/libm-test-ulps: Update.
10363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364
482ff4da
UD
103652012-03-07 Ulrich Drepper <drepper@gmail.com>
10366
872fda05
UD
10367 * po/zh_TW.po: Update from translation team.
10368
a4300c7a
UD
10369 * login/Makefile (distribute): Remove variable.
10370 * catgets/Makefile: Likewise.
10371 * mach/Makefile: Likewise.
10372 * malloc/Makefile: Likewise.
10373 * misc/Makefile: Likewise.
10374 * iconv/Makefile: Likewise.
10375 * nscd/Makefile: Likewise.
10376 * hurd/Makefile: Likewise.
10377 * manual/Makefile: Likewise.
10378 * locale/Makefile: Likewise.
10379 * intl/Makefile: Likewise.
10380 * conform/Makefile: Likewise.
10381 * nss/Makefile: Likewise.
10382 * time/Makefile: Likewise.
10383 * soft-fp/Makefile: Likewise.
10384 * dirent/Makefile: Likewise.
10385 * gmon/Makefile: Likewise.
10386 * po/Makefile: Likewise.
10387 * rt/Makefile: Likewise.
10388 * socket/Makefile: Likewise.
10389 * math/Makefile: Likewise.
10390 * signal/Makefile: Likewise.
10391 * debug/Makefile: Likewise.
10392 * elf/Makefile: Likewise.
10393 * timezone/Makefile: Likewise.
10394 * stdlib/Makefile: Likewise.
10395 * iconvdata/Makefile: Likewise.
10396 * sunrpc/Makefile: Likewise.
10397 * io/Makefile: Likewise.
10398 * argp/Makefile: Likewise.
10399 * inet/Makefile: Likewise.
10400 * hesiod/Makefile: Likewise.
10401 * grp/Makefile: Likewise.
10402 * csu/Makefile: Likewise.
10403 * wctype/Makefile: Likewise.
10404 * crypt/Makefile: Likewise.
10405 * libio/Makefile: Likewise.
10406 * string/Makefile: Likewise.
10407 * nis/Makefile: Likewise.
10408 * resolv/Makefile: Likewise.
10409 * stdio-common/Makefile: Likewise.
10410 * wcsmbs/Makefile: Likewise.
10411 * dlfcn/Makefile: Likewise.
10412 * posix/Makefile: Likewise.
10413
3b7c4e74 10414 [BZ #6959]
482ff4da
UD
10415 * timezone/Makefile: Don't install timezone files, just the programs
10416 and scripts.
10417
f72ed77d
UD
104182012-03-06 Ulrich Drepper <drepper@gmail.com>
10419
a000466f
UD
10420 * nss/databases.def: Add missing gshadow entry.
10421
f72ed77d
UD
10422 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10423
a53b7a4e
MP
104242012-03-06 Marek Polacek <polacek@redhat.com>
10425
10426 [BZ #13726]
10427 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10428 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10429 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10430 * stdio-common/tst-long-dbl-fphex.c: New file.
10431
e9258400
DM
104322012-03-06 David S. Miller <davem@davemloft.net>
10433
10434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10435 (set_obp_int): New function.
10436 (get_obp_int): New function.
10437 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10439 Avoid unused variable warnings on 'val' and use builtin_expect.
10440 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10441 __builtin_expect.
e9258400
DM
10442 (INLINE_CLONE_SYSCALL): Likewise.
10443
3bd2c723
DM
104442012-03-05 David S. Miller <davem@davemloft.net>
10445
10446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10447
bbb78d03
AS
104482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10449
884c5db4
AS
10450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10451
bbb78d03
AS
10452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10453 only for |x| >= 40.
10454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10455
1c9f702a 104562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10457
10458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10459 Replace gettimeofday with __vdso_gettimeofday.
10460
7be16f82
RM
10461 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10462 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10463 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10464
10465 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10466 time with __vdso_time.
10467
ed58a00f
JM
104682012-03-05 Joseph Myers <joseph@codesourcery.com>
10469
10470 * manual/lang.texi (size_t): Note types to which size_t may be
10471 equivalent with the GNU C Library, but do not describe when
10472 differences between them are significant.
10473
30ee4ced
AJ
104742012-03-05 Andreas Jaeger <aj@suse.de>
10475
10476 * sysdeps/i386/fpu/libm-test-ulps: Update.
10477
b7cd39e8
JM
104782012-03-05 Joseph Myers <joseph@codesourcery.com>
10479
10480 [BZ #3976]
10481 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10482 (__ieee754_pow): Save and restore rounding mode and use
10483 round-to-nearest for main computations.
10484 * math/libm-test.inc (pow_test_tonearest): New function.
10485 (pow_test_towardzero): Likewise.
10486 (pow_test_downward): Likewise.
10487 (pow_test_upward): Likewise.
10488 (main): Call the new functions.
10489 * sysdeps/i386/fpu/libm-test-ulps: Update.
10490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10491
10492 [BZ #3976]
10493 * math/libm-test.inc (cosh_test_tonearest): New function.
10494 (cosh_test_towardzero): Likewise.
10495 (cosh_test_downward): Likewise.
10496 (cosh_test_upward): Likewise.
10497 (sinh_test_tonearest): Likewise.
10498 (sinh_test_towardzero): Likewise.
10499 (sinh_test_downward): Likewise.
10500 (sinh_test_upward): Likewise.
10501 (main): Call the new functions.
10502 * sysdeps/i386/fpu/libm-test-ulps: Update.
10503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10504
6c6a98c9
TV
105052012-03-05 Tom de Vries <tom@codesourcery.com>
10506
10507 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10508 default stack guard is set in last bytes.
10509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10510
21bb2d2e 105112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10512
21bb2d2e 10513 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10514
21bb2d2e
AJ
10515 [BZ #13656]
10516 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10517 possibly allocate from heap instead of stack.
10518 * stdio-common/bug-vfprintf-nargs.c: New file.
10519 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10520
c6922934
AS
105212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10522
10523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10524
bc957d53
MP
105252012-03-03 Marek Polacek <polacek@redhat.com>
10526
10527 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10528 * math/math_private.h: Likewise.
10529 * stdlib/tst-strtod.c: Likewise.
10530 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10531 * sysdeps/x86_64/bits/atomic.h: Likewise.
10532
6358490d
DM
105332012-03-02 David S. Miller <davem@davemloft.net>
10534
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10540 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10541 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10542 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10543
01ae168d
RM
105442012-03-02 Roland McGrath <roland@hack.frob.com>
10545
d9a17c07
RM
10546 [BZ #13792]
10547 * manual/examples/README: New file, says the example source files
10548 can be used under GPL>=2.
10549 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10550 line containing just "*/".
10551 * manual/examples/add.c: Add copyright header (GPL>=2).
10552 * manual/examples/argp-ex1.c: Likewise.
10553 * manual/examples/argp-ex2.c: Likewise.
10554 * manual/examples/argp-ex3.c: Likewise.
10555 * manual/examples/argp-ex4.c: Likewise.
10556 * manual/examples/atexit.c: Likewise.
10557 * manual/examples/db.c: Likewise.
10558 * manual/examples/dir.c: Likewise.
10559 * manual/examples/dir2.c: Likewise.
10560 * manual/examples/execinfo.c: Likewise.
10561 * manual/examples/filecli.c: Likewise.
10562 * manual/examples/filesrv.c: Likewise.
10563 * manual/examples/fmtmsgexpl.c: Likewise.
10564 * manual/examples/genpass.c: Likewise.
10565 * manual/examples/inetcli.c: Likewise.
10566 * manual/examples/inetsrv.c: Likewise.
10567 * manual/examples/isockad.c: Likewise.
10568 * manual/examples/longopt.c: Likewise.
10569 * manual/examples/memopen.c: Likewise.
10570 * manual/examples/memstrm.c: Likewise.
10571 * manual/examples/mkfsock.c: Likewise.
10572 * manual/examples/mkisock.c: Likewise.
10573 * manual/examples/mygetpass.c: Likewise.
10574 * manual/examples/pipe.c: Likewise.
10575 * manual/examples/popen.c: Likewise.
10576 * manual/examples/rprintf.c: Likewise.
10577 * manual/examples/search.c: Likewise.
10578 * manual/examples/select.c: Likewise.
10579 * manual/examples/setjmp.c: Likewise.
10580 * manual/examples/sigh1.c: Likewise.
10581 * manual/examples/sigusr.c: Likewise.
10582 * manual/examples/stpcpy.c: Likewise.
10583 * manual/examples/strdupa.c: Likewise.
10584 * manual/examples/strftim.c: Likewise.
10585 * manual/examples/strncat.c: Likewise.
10586 * manual/examples/subopt.c: Likewise.
10587 * manual/examples/swapcontext.c: Likewise.
10588 * manual/examples/termios.c: Likewise.
10589 * manual/examples/testopt.c: Likewise.
10590 * manual/examples/testpass.c: Likewise.
10591 * manual/examples/timeval_subtract.c: Likewise.
10592
01ae168d
RM
10593 [BZ #13792]
10594 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10595 function to ...
10596 * manual/timeval_subtract.c.texi: ... here, new file.
10597
49efa33d
DM
105982012-03-02 David S. Miller <davem@davemloft.net>
10599
10600 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10601
28afd92d
JM
106022012-03-02 Joseph Myers <joseph@codesourcery.com>
10603
804360ed
JM
10604 [BZ #3976]
10605 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10606 (__sin): Save and restore rounding mode and use round-to-nearest
10607 for all computations.
10608 (__cos): Save and restore rounding mode and use round-to-nearest
10609 for all computations.
10610 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10611 <fenv.h>.
10612 (tan): Save and restore rounding mode and use round-to-nearest for
10613 all computations.
10614 * math/libm-test.inc (cos_test_tonearest): New function.
10615 (cos_test_towardzero): Likewise.
10616 (cos_test_downward): Likewise.
10617 (cos_test_upward): Likewise.
10618 (sin_test_tonearest): Likewise.
10619 (sin_test_towardzero): Likewise.
10620 (sin_test_downward): Likewise.
10621 (sin_test_upward): Likewise.
10622 (tan_test_tonearest): Likewise.
10623 (tan_test_towardzero): Likewise.
10624 (tan_test_downward): Likewise.
10625 (tan_test_upward): Likewise.
10626 (main): Call the new functions.
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
a6d06d7b
JM
10630 [BZ #10135]
10631 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10632 small n, then large n, before computing and testing k+n.
10633 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10635 Likewise.
10636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10637 Likewise.
10638 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10639 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10646 * math/libm-test.inc (scalbn_test): Add more tests.
10647 (scalbln_test): Likewise.
10648
07e12bb3
JM
10649 * manual/filesys.texi (mode_t): Describe constraints on size and
10650 signedness, not exact equivalence to a particular type.
10651 (ino_t): Likewise.
10652 (ino64_t): Likewise.
10653 (dev_t): Likewise.
10654 (nlink_t): Likewise.
10655 (blkcnt_t): Likewise.
10656 (blkcnt64_t): Likewise.
10657 * manual/llio.texi (off_t): Likewise.
10658
28afd92d
JM
10659 [BZ #3976]
10660 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10661 (__ieee754_exp): Save and restore rounding mode and use
10662 round-to-nearest for all computations.
10663 * math/libm-test.inc (exp_test_tonearest): New function.
10664 (exp_test_towardzero): Likewise.
10665 (exp_test_downward): Likewise.
10666 (exp_test_upward): Likewise.
10667 (main): Call the new functions.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
b1eeb65d
CD
106712012-03-01 Chris Demetriou <cgd@google.com>
10672
10673 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10674 have predictable order.
10675
53362a4b
DM
106762012-03-01 David S. Miller <davem@davemloft.net>
10677
3c969083
DM
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10679
759707de
DM
10680 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10681 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10682 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10683 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10684
dfdb8ff2
DM
10685 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10686 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10687 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10689 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10694
ead89f96
DM
10695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10696
7f66bd07
DM
10697 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10698 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10699 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10700
53362a4b
DM
10701 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10703 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10704 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10705 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10708 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10709 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10710 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10711 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10715 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10717 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10718 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10719 * sysdeps/sparc/elf/configure: Regenerated.
10720
7b1902cb
JM
107212012-03-01 Joseph Myers <joseph@codesourcery.com>
10722
bec039bc
JM
10723 * configure.in (AS, LD): Require binutils 2.20 or later.
10724 * configure: Regenerated.
10725 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10726 as required minimum version.
10727 * INSTALL: Regenerated.
10728
7b1902cb
JM
10729 [BZ #2541]
10730 [BZ #4108]
10731 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10732 before squaring exponent.
10733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10734 bottom long double and 27 bits of top long double before squaring
10735 exponent.
10736 * math/libm-test.inc (erfc_test): Add more tests.
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10740
f775c276
KT
107412012-03-01 Kai Tietz <ktietz@redhat.com>
10742
10743 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10744 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10745 containing bit-fields.
10746 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10747 * soft-fp/single.h (_FP_UNION_S): Likewise.
10748 * soft-fp/double.h (_FP_UNION_D): Likewise.
10749
5b8a4d4a
JM
107502012-02-29 Joseph Myers <joseph@codesourcery.com>
10751
0bab47b6
JM
10752 [BZ #13786]
10753 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10754 not include ../strcmp.S.
10755 [USE_AS_STRNCASECMP_L]: Likewise.
10756 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10757 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10758 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10759 (__strncasecmp_l_ia32): Define as alias to
10760 __strncasecmp_l_nonascii.
10761
0fcad3e2
JM
10762 [BZ #5794]
10763 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10766
5b8a4d4a
JM
10767 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10769
8fdceb2e
JL
107702012-02-29 Jeff Law <law@redhat.com>
10771
10772 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10773 out of bounds read.
10774
1f393a11
MP
107752012-02-29 Marek Polacek <polacek@redhat.com>
10776
10777 [BZ #13706]
10778 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10779 * elf/Makefile: Add rules to run tst-unused-dep.out.
10780
8847f037
DM
107812012-02-28 David S. Miller <davem@davemloft.net>
10782
10783 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10784 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10789
169d7f11
JM
107902012-02-29 Joseph Myers <joseph@codesourcery.com>
10791
10792 * math/libm-test.inc (llround_test): Move one test from
10793 lround_test. Use TEST_f_L in moved test.
10794 (lround_test): Move misplaced test to llround_test. Add testcase
10795 from bug 2561.
10796
39adf059
UD
107972012-02-28 Ulrich Drepper <drepper@gmail.com>
10798
10799 * sysdeps/x86_64/fpu/e_expf.S: New file.
10800 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10801
71b5d1c5
SB
108022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10803
10804 [BZ #13637]
10805 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10806 of remain_len that may cause incomplete multi-byte character and
10807 false match.
10808 * posix/bug-regex33.c: New file.
10809 * posix/Makefile (tests): Add bug-regex33.
10810
1f77f049
JM
108112012-02-28 Joseph Myers <joseph@codesourcery.com>
10812
10813 * manual/macros.texi: New file.
10814 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10815 * manual/libc.texinfo: Include macros.texi.
10816 * manual/creatute.texi: Likewise.
10817 * manual/install.texi: Likewise.
10818 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10819 @glibcadj{} in references to the GNU C Library.
10820 * manual/charset.texi: Likewise.
10821 * manual/conf.texi: Likewise.
10822 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10823 when not using those macros.
10824 * manual/creature.texi: Likewise.
10825 * manual/crypt.texi: Likewise.
10826 * manual/errno.texi: Likewise.
10827 * manual/filesys.texi: Likewise.
10828 * manual/header.texi: Likewise.
10829 * manual/install.texi: Likewise.
10830 * manual/intro.texi: Likewise.
10831 * manual/io.texi: Likewise.
10832 * manual/job.texi: Likewise.
10833 * manual/lang.texi: Likewise.
10834 * manual/libc.texiinfo: Likewise.
10835 * manual/llio.texi: Likewise.
10836 * manual/locale.texi: Likewise.
10837 * manual/maint.texi: Likewise.
10838 * manual/math.texi: Likewise.
10839 * manual/memory.texi: Likewise.
10840 * manual/message.texi: Likewise.
10841 * manual/nss.texi: Likewise.
10842 * manual/pattern.texi: Likewise.
10843 * manual/process.texi: Likewise.
10844 * manual/resource.texi: Likewise.
10845 * manual/search.texi: Likewise.
10846 * manual/setjmp.texi: Likewise.
10847 * manual/signal.texi: Likewise.
10848 * manual/socket.texi: Likewise.
10849 * manual/startup.texi: Likewise.
10850 * manual/stdio.texi: Likewise.
10851 * manual/string.texi: Likewise.
10852 * manual/sysinfo.texi: Likewise.
10853 * manual/syslog.texi: Likewise.
10854 * manual/terminal.texi: Likewise.
10855 * manual/time.texi: Likewise.
10856 * manual/users.texi: Likewise.
10857 * INSTALL: Regenerated.
10858 * NOTES: Regenerated.
d40c5d54 10859 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10860
450bf206
AS
108612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10862
10863 * include/dirent.h: Include <dirstream.h> before
10864 <dirent/dirent.h>.
10865
741a235b
DM
108662012-02-28 David S. Miller <davem@davemloft.net>
10867
10868 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10869 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10870 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10871 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10872
d6b5aa58
DM
108732012-02-27 David S. Miller <davem@davemloft.net>
10874
1aff59a3
DM
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10877 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10878 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10879
d6b5aa58
DM
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10881 frame pointer instead of stack pointer relative arg slot.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10883 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10884 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10885
433f48bf
CD
108862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10887
10888 [BZ #3992]
10889 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10890
d674b76d
DM
108912012-02-27 David S. Miller <davem@davemloft.net>
10892
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10898 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10899 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10900 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10901
0e7727f7
JM
109022012-02-27 Joseph Myers <joseph@codesourcery.com>
10903
10904 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10905 later. Allow versions 5-9.
43be4ca2 10906 * configure: Regenerated.
0e7727f7
JM
10907 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10908 required minimum version and 4.6 as recommended version. Do not
10909 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10910 * INSTALL: Regenerated.
0e7727f7 10911
a78bc654
DM
109122012-02-27 David S. Miller <davem@davemloft.net>
10913
428d5830
DM
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10918 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10919 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10920 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10922
a78bc654
DM
10923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10924 manipulate bits before adding and subtracting TWO112[sx].
10925 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10926
4579f81c
RM
109272012-02-27 Roland McGrath <roland@hack.frob.com>
10928
36c8acb4
RM
10929 [BZ #13775]
10930 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10931 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10932 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10933 being in POSIX, because they are in 1003.1-2008.
10934
84ad622b
RM
10935 * rt/tst-aio.c: Include <fcntl.h>.
10936 * rt/tst-aio7.c: Likewise.
10937 * rt/tst-aio64.c: Likewise.
10938
4579f81c
RM
10939 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10940
abd923db
JM
109412012-02-27 Joseph Myers <joseph@codesourcery.com>
10942
10943 * manual/install.texi (--with-headers): Describe headers as
10944 interface headers, not private headers.
10945 (Specific advice for GNU/Linux systems): Describe use of headers
10946 from "make headers_install", not private headers from older
10947 kernels.
43be4ca2 10948 * INSTALL: Regenerated.
abd923db
JM
10949 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10950 Change to 2.6.19.
10951 * sysdeps/unix/sysv/linux/configure: Regenerated.
10952
6664049b
JM
10953 * manual/llio.texi (fclean): Remove documentation.
10954
bb8b6697
JM
10955 * manual/Makefile (libc-texi-generated): New variable. Include
10956 version.texi.
10957 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10958 $(libc-texi-generated), not duplicated list of files.
10959 (version.texi, stamp-version): New rules.
10960 (realclean): Remove $(libc-texi-generated), not individual files
10961 from that list. Do not remove dir-add.texinfo.
10962 * manual/libc.texinfo: Comment out uses of edition numbers and
10963 references to printed manual. Remove last-updated dates.
10964 (EDITION): Comment out.
10965 (ISBN): Likewise.
10966 (VERSION, UPDATED): Remove.
10967 (version.texi): Include.
10968
12e5c3b9
AS
109692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10970
10971 * sysdeps/posix/spawni.c: Include <signal.h>.
10972 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10973 * sysdeps/pthread/aio_fsync.c: Likewise.
10974
4efeffc1 109752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10976
ba63ba08
UD
10977 * conform/Makefile (tests): Run only when not cross-compiling and
10978 when fast-check is not defined.
10979
d94a4670
UD
10980 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10981 * conform/data/limits.h-data: Fixes for POSIX2008.
10982 * conform/run-conformtest.sh: Run all tests.
10983 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10984 headers.
10985 * include/bits/dlfcn.h: Likewise.
10986 * include/langinfo.h: Likewise.
10987 * include/monetary.h: Likewise.
10988 * include/sys/poll.h: Likewise.
10989
10990 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10991 for __USE_GNU.
10992 * posix/spawn.h: Define __need_sigset_t.
10993 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10994 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10995 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10996 to get sigevent_t only.
10997 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10998 only for __USE_GNU.
10999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11000 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11001 process_vm_writev only for __USE_GNU.
11002 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11003
11004 * conform/Makefile: For now ignore errors from run-conformtest.
11005 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11006 POSIX to avoid namespace pollution. Don't prepend headers.
11007 * conform/data/aio.h-data: Fixes for POSIX testing.
11008 * conform/data/fcntl.h-data: Likewise.
11009 * conform/data/glob.h-data: Likewise.
11010 * conform/data/grp.h-data: Likewise.
11011 * conform/data/pthread.h-data: Likewise.
11012 * conform/data/pwd.h-data: Likewise.
11013 * conform/data/signal.h-data: Likewise.
11014 * conform/data/spawn.h-data: Likewise.
11015 * conform/data/stdio.h-data: Likewise.
11016 * conform/data/stdlib.h-data: Likewise.
11017 * conform/data/stropts.h-data: Likewise.
11018 * conform/data/sys/mman.h-data: Likewise.
11019 * conform/data/sys/stat.h-data: Likewise.
11020 * conform/data/sys/types.h-data: Likewise.
11021 * conform/data/sys/wait.h-data: Likewise.
11022 * conform/data/time.h-data: Likewise.
11023 * conform/data/unistd.h-data: Likewise.
11024 * conform/data/utime.h-data: Likewise.
11025
11026 * io/sys/stat.h: fchmod was always in POSIX.
11027 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11028 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11029 * rt/aio.h: Define __need_timespec before including <time.h>.
11030 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11031 struct. Add forward declaration of pthread_attr_t and use it in
11032 sigevent.
11033 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11035 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11036 always remove CLK_TCK definition.
11037
c20105c3
AS
110382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11039
11040 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11041
7a270350
UD
110422012-02-25 Ulrich Drepper <drepper@gmail.com>
11043
31341567
UD
11044 * conform/run-conformtest.sh: New file.
11045 * conform/Makefile: Run run-conformtest for tests.
11046 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11047 support.
11048
11049 * conform/data/uchar.h-data: New file.
11050 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11051 * conform/data/arpa/inet.h-data: Likewise.
11052 * conform/data/assert.h-data: Likewise.
11053 * conform/data/complex.h-data: Likewise.
11054 * conform/data/cpio.h-data: Likewise.
11055 * conform/data/ctype.h-data: Likewise.
11056 * conform/data/dirent.h-data: Likewise.
11057 * conform/data/dlfcn.h-data: Likewise.
11058 * conform/data/errno.h-data: Likewise.
11059 * conform/data/fcntl.h-data: Likewise.
11060 * conform/data/float.h-data: Likewise.
11061 * conform/data/fmtmsg.h-data: Likewise.
11062 * conform/data/fnmatch.h-data: Likewise.
11063 * conform/data/ftw.h-data: Likewise.
11064 * conform/data/glob.h-data: Likewise.
11065 * conform/data/grp.h-data: Likewise.
11066 * conform/data/iconv.h-data: Likewise.
11067 * conform/data/inttypes.h-data: Likewise.
11068 * conform/data/langinfo.h-data: Likewise.
11069 * conform/data/libgen.h-data: Likewise.
11070 * conform/data/limits.h-data: Likewise.
11071 * conform/data/locale.h-data: Likewise.
11072 * conform/data/math.h-data: Likewise.
11073 * conform/data/monetary.h-data: Likewise.
11074 * conform/data/mqueue.h-data: Likewise.
11075 * conform/data/ndbm.h-data: Likewise.
11076 * conform/data/net/if.h-data: Likewise.
11077 * conform/data/netdb.h-data: Likewise.
11078 * conform/data/netinet/in.h-data: Likewise.
11079 * conform/data/nl_types.h-data: Likewise.
11080 * conform/data/poll.h-data: Likewise.
11081 * conform/data/pthread.h-data: Likewise.
11082 * conform/data/pwd.h-data: Likewise.
11083 * conform/data/regex.h-data: Likewise.
11084 * conform/data/sched.h-data: Likewise.
11085 * conform/data/search.h-data: Likewise.
11086 * conform/data/semaphore.h-data: Likewise.
11087 * conform/data/setjmp.h-data: Likewise.
11088 * conform/data/signal.h-data: Likewise.
11089 * conform/data/spawn.h-data: Likewise.
11090 * conform/data/stdarg.h-data: Likewise.
11091 * conform/data/stdio.h-data: Likewise.
11092 * conform/data/stdlib.h-data: Likewise.
11093 * conform/data/string.h-data: Likewise.
11094 * conform/data/strings.h-data: Likewise.
11095 * conform/data/stropts.h-data: Likewise.
11096 * conform/data/sys/ipc.h-data: Likewise.
11097 * conform/data/sys/mman.h-data: Likewise.
11098 * conform/data/sys/msg.h-data: Likewise.
11099 * conform/data/sys/resource.h-data: Likewise.
11100 * conform/data/sys/select.h-data: Likewise.
11101 * conform/data/sys/sem.h-data: Likewise.
11102 * conform/data/sys/shm.h-data: Likewise.
11103 * conform/data/sys/socket.h-data: Likewise.
11104 * conform/data/sys/stat.h-data: Likewise.
11105 * conform/data/sys/statvfs.h-data: Likewise.
11106 * conform/data/sys/time.h-data: Likewise.
11107 * conform/data/sys/timeb.h-data: Likewise.
11108 * conform/data/sys/times.h-data: Likewise.
11109 * conform/data/sys/types.h-data: Likewise.
11110 * conform/data/sys/uio.h-data: Likewise.
11111 * conform/data/sys/un.h-data: Likewise.
11112 * conform/data/sys/utsname.h-data: Likewise.
11113 * conform/data/sys/wait.h-data: Likewise.
11114 * conform/data/syslog.h-data: Likewise.
11115 * conform/data/tar.h-data: Likewise.
11116 * conform/data/termios.h-data: Likewise.
11117 * conform/data/utime.h-data: Likewise.
11118 * conform/data/utmpx.h-data: Likewise.
11119 * conform/data/varargs.h-data: Likewise.
11120 * conform/data/wchar.h-data: Likewise.
11121 * conform/data/wctype.h-data: Likewise.
11122 * conform/data/wordexp.h-data: Likewise.
11123
11124 * include/stropts.h: New file.
11125 * include/uchar.h: New file.
11126 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11127 * include/assert.h: Likewise.
11128 * include/ctype.h: Likewise.
11129 * include/dirent.h: Likewise.
11130 * include/dlfcn.h: Likewise.
11131 * include/fcntl.h: Likewise.
11132 * include/fnmatch.h: Likewise.
11133 * include/glob.h: Likewise.
11134 * include/grp.h: Likewise.
11135 * include/libio.h: Likewise.
11136 * include/locale.h: Likewise.
11137 * include/math.h: Likewise.
11138 * include/net/if.h: Likewise.
11139 * include/netdb.h: Likewise.
11140 * include/netinet/in.h: Likewise.
11141 * include/pthread.h: Likewise.
11142 * include/pwd.h: Likewise.
11143 * include/regex.h: Likewise.
11144 * include/sched.h: Likewise.
11145 * include/search.h: Likewise.
11146 * include/setjmp.h: Likewise.
11147 * include/signal.h: Likewise.
11148 * include/stdio.h: Likewise.
11149 * include/stdlib.h: Likewise.
11150 * include/string.h: Likewise.
11151 * include/sys/cdefs.h: Likewise.
11152 * include/sys/mman.h: Likewise.
11153 * include/sys/msg.h: Likewise.
11154 * include/sys/resource.h: Likewise.
11155 * include/sys/select.h: Likewise.
11156 * include/sys/socket.h: Likewise.
11157 * include/sys/stat.h: Likewise.
11158 * include/sys/statvfs.h: Likewise.
11159 * include/sys/time.h: Likewise.
11160 * include/sys/times.h: Likewise.
11161 * include/sys/uio.h: Likewise.
11162 * include/sys/utsname.h: Likewise.
11163 * include/sys/wait.h: Likewise.
11164 * include/termios.h: Likewise.
11165 * include/time.h: Likewise.
11166 * include/ulimit.h: Likewise.
11167 * include/unistd.h: Likewise.
11168 * include/utime.h: Likewise.
11169 * include/wchar.h: Likewise.
11170 * include/wctype.h: Likewise.
11171 * include/wordexp.h: Likewise.
11172
11173 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11174
7a270350
UD
11175 * time/time.h: TIME_UTC must be a macro.
11176 Make timespec_get available for ISO C11 only as well.
11177
7724defc
UD
111782012-02-24 Ulrich Drepper <drepper@gmail.com>
11179
11180 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11181 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11182
6b1d1d46
JM
111832012-02-24 Joseph Myers <joseph@codesourcery.com>
11184
11185 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11186
0f8bbd69
JM
111872012-02-24 Joseph Myers <joseph@codesourcery.com>
11188
11189 * manual/texinfo.tex: Update to version 2012-01-19.16.
11190
66ab80bc
JM
111912012-02-24 Joseph Myers <joseph@codesourcery.com>
11192
11193 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11194
74981cc5
RM
111952012-02-24 Roland McGrath <roland@hack.frob.com>
11196
ee968201
RM
11197 [BZ #13738]
11198 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11199 * manual/fdl-1.3.texi: New file.
11200 * manual/fdl-1.1.texi: File removed.
11201
74981cc5
RM
11202 [BZ #13738]
11203 * manual/libc.texinfo (FDL_VERSION): New @set.
11204 Use it for mention of FDL in cover text.
11205 (Documentation License): Use it in @include file name.
11206
7bb764bc
JM
112072012-02-22 Joseph Myers <joseph@codesourcery.com>
11208 Roland McGrath <roland@hack.frob.com>
11209
11210 [BZ #5461]
11211 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11212 not LONG_LONG_MAX and LONG_LONG_MIN.
11213 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11214 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11215 name.
11216 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11217
6cbeae47
JM
112182012-02-22 Joseph Myers <joseph@codesourcery.com>
11219
11220 [BZ #2547]
11221 [BZ #11365]
11222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11223 manipulate bits before adding and subtracting TWO23[sx].
11224 * math/libm-test.inc (nearbyint_test): Add more tests.
11225
fe45ce09
JM
112262012-02-22 Joseph Myers <joseph@codesourcery.com>
11227
11228 [BZ #2548]
11229 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11230 bits before adding and subtracting TWO23[sx].
11231 * math/libm-test.inc (rint_test): Add more tests.
11232 (rint_test_tonearest): Likewise.
11233 (rint_test_towardzero): Likewise.
11234 (rint_test_downward): Likewise.
11235 (rint_test_upward: Likewise.
11236
ff3b3d82
JM
112372012-02-22 Joseph Myers <joseph@codesourcery.com>
11238
11239 [BZ #10110]
11240 * include/stdc-predef.h: New file. Extracted from features.h.
11241 * include/features.h: Include stdc-predef.h.
11242 * Makefile (headers): Add stdc-predef.h.
11243 * CONFORMANCE (Compiler limitations): Update.
11244
ef0aab35
JM
112452012-02-22 Joseph Myers <joseph@codesourcery.com>
11246
11247 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11248
58639409
DM
112492012-02-21 David S. Miller <davem@davemloft.net>
11250
11251 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11253
c0e70b25
DM
112542012-02-20 David S. Miller <davem@davemloft.net>
11255
11256 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11257 using a normal save/restore sequence, rather than allocating a
11258 dummy stack frame just to store a frame pointer and restore.
11259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11260
fb06851d
JM
112612012-02-21 Joseph Myers <joseph@codesourcery.com>
11262
11263 * manual/install.texi: Fix stray word in line-wrapped comment.
11264
7a8b71c3
DM
112652012-02-20 David S. Miller <davem@davemloft.net>
11266
d510c123
DM
11267 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11268 both binutils and gcc support GOTDATA.
11269
0722d7c2
DM
11270 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11271 "rd %pc" in the PIC register setup sequences.
11272
3d2b3019
DM
11273 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11274 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11276 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11277 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11282 (SYSCALL_ERROR_HANDLER): Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11284 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11286 (SYSCALL_ERROR_HANDLER): Likewise.
11287
c80098a9
DM
11288 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11289 (HAVE_GCC_GOTDATA): New.
11290 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11291 relocation support in both binutils and gcc.
11292 * sysdeps/sparc/elf/configure: Regenerate.
11293
3a2545a0
DM
11294 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11295 * sysdeps/sparc/sparc32/elf/configure: Delete.
11296 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11297 * sysdeps/sparc/sparc64/elf/configure: Delete.
11298 * sysdeps/sparc/elf/configure.in: New file.
11299 * sysdeps/sparc/elf/configure: Generate.
11300
7a8b71c3
DM
11301 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11302 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11304 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11305 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11306
f1e86fca
JM
113072012-02-21 Joseph Myers <joseph@codesourcery.com>
11308
11309 * manual/install.texi: Do not mention specific glibc version
11310 numbers.
11311 * manual/libc.texinfo (VERSION, UPDATED): Update.
11312 (@copying): Use @copyright{} and range of years.
11313
0e7dfaef
JM
113142012-02-21 Joseph Myers <joseph@codesourcery.com>
11315
11316 [BZ #13695]
11317 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11318 [crti.S not in sysdirs] (generated): Do not append.
11319 [crti.S not in sysdirs] (omit-deps): Likewise.
11320 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11321 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11322 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11323 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11324 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11325 Likewise.
11326 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11327 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11328 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11329 * csu/defs.awk: Remove file.
11330 * sysdeps/generic/initfini.c: Likewise.
11331 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11332 variable.
11333 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11334 Likewise.
11335
599af3ca
JM
113362012-02-20 Joseph Myers <joseph@codesourcery.com>
11337
11338 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11339 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11343 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11344 <bits/epoll.h>.
11345 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11346 (__EPOLL_PACKED): Define to empty if not defined by
11347 <bits/epoll.h>.
11348 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11350 bits/epoll.h.
11351
0e499750
JM
113522012-02-20 Joseph Myers <joseph@codesourcery.com>
11353
11354 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11355 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11357 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11358 <bits/timerfd.h>.
11359 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11361 bits/timerfd.h.
11362
5ad91f6e
JM
113632012-02-20 Joseph Myers <joseph@codesourcery.com>
11364
11365 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11366 in C locale.
11367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11368 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11371
06b99b02
AJ
113722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11373
11374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11376
7638c0fd
AS
113772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11378
11379 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11380 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11381 defined.
11382 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11383 Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11385 entry for 2.16.
11386
92221550
AJ
113872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11388
11389 * math/w_acos.c: Use non-signaling floating-point comparisons.
11390 * math/w_acosf.c: Likewise.
11391 * math/w_acosh.c: Likewise.
11392 * math/w_acoshf.c: Likewise.
11393 * math/w_acoshl.c: Likewise.
11394 * math/w_acosl.c: Likewise.
11395 * math/w_asin.c: Likewise.
11396 * math/w_asinf.c: Likewise.
11397 * math/w_asinl.c: Likewise.
11398 * math/w_atanh.c: Likewise.
11399 * math/w_atanhf.c: Likewise.
11400 * math/w_atanhl.c: Likewise.
11401 * math/w_exp2.c: Likewise.
11402 * math/w_exp2f.c: Likewise.
11403 * math/w_exp2l.c: Likewise.
11404 * math/w_j0.c: Likewise.
11405 * math/w_j0f.c: Likewise.
11406 * math/w_j0l.c: Likewise.
11407 * math/w_j1.c: Likewise.
11408 * math/w_j1f.c: Likewise.
11409 * math/w_j1l.c: Likewise.
11410 * math/w_jn.c: Likewise.
11411 * math/w_jnf.c: Likewise.
11412 * math/w_log.c: Likewise.
11413 * math/w_log10.c: Likewise.
11414 * math/w_log10f.c: Likewise.
11415 * math/w_log10l.c: Likewise.
11416 * math/w_log2.c: Likewise.
11417 * math/w_log2f.c: Likewise.
11418 * math/w_log2l.c: Likewise.
11419 * math/w_logf.c: Likewise.
11420 * math/w_logl.c: Likewise.
11421 * math/w_sqrt.c: Likewise.
11422 * math/w_sqrtf.c: Likewise.
11423 * math/w_sqrtl.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11429
ebaf36eb
JM
114302012-02-19 Joseph Myers <joseph@codesourcery.com>
11431
11432 [BZ #9739]
11433 * manual/string.texi (strnlen): Use correct parameter name in
11434 equivalent expression.
11435
71c254a6
JM
114362012-02-19 Joseph Myers <joseph@codesourcery.com>
11437
11438 [BZ #11174]
11439 * manual/users.texi (seteuid): Consistently use neweuid for
11440 argument name.
11441
16d2c631
JM
114422012-02-19 Joseph Myers <joseph@codesourcery.com>
11443
11444 [BZ #13704]
11445 * manual/nss.texi (Services in the NSS configuration): Correct
11446 list of services in example configuration file.
11447
cd837b09
NB
114482012-02-19 Nick Bowler <nbowler@draconx.ca>
11449
11450 [BZ #11322]
11451 * manual/arith.texi: Remove statements about negative zero
11452 behaving identically to zero.
11453
02c4bbad
JM
114542012-02-18 Joseph Myers <joseph@codesourcery.com>
11455
11456 [BZ #5993]
11457 * manual/install.texi: Do not document upgrading from libc5.
11458
366842e7
JM
114592012-02-18 Joseph Myers <joseph@codesourcery.com>
11460
11461 [BZ #4596]
11462 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11463
dd54084d
DM
114642012-02-18 David S. Miller <davem@davemloft.net>
11465
11466 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11467 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11468 %o7 across the call.
11469 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11470 instead.
11471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11472 SETUP_PIC_REG_LEAF.
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11474 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11475 * sysdeps/sparc/crtn.S: Likewise.
11476
2bcc53a3
UD
114772012-02-17 Ulrich Drepper <drepper@gmail.com>
11478
11479 * aout/Makefile: Remove.
11480
09c093b5
RK
114812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11482
11483 [BZ #13058]
11484 * manual/examples/argp-ex1.c (main): Format definition in GNU
11485 style.
11486 * manual/examples/argp-ex2.c (main): Likewise.
11487 * manual/examples/argp-ex3.c (main): Likewise.
11488 * manual/examples/argp-ex4.c (main): Likewise.
11489 * manual/examples/longopt.c (main): Use new-style prototype
11490 definition.
11491 * manual/examples/strncat.c (main): Specify return type and use
11492 (void) for arguments.
11493 * manual/examples/subopt.c (main): Use char **argv argument.
11494
2ee633a2
JM
114952012-02-17 Joseph Myers <joseph@codesourcery.com>
11496
11497 [BZ #5077]
11498 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11499 rounding modes.
11500
0520adde
FB
115012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11502
11503 [BZ #6907]
11504 * manual/string.texi (strchr): Change when strchrnul is
11505 recommended.
11506
3f4081cd
DGM
115072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11508
11509 [BZ #174]
11510 * manual/locale.texi (setlocale): Document LOCPATH.
11511
d1b10e78
JM
115122012-02-17 Joseph Myers <joseph@codesourcery.com>
11513
11514 [BZ #10210]
11515 * manual/process.texi (execle): Move @dots{} before last argument.
11516
79c6869c
PB
115172012-02-17 Paul Bolle <pebolle@tiscali.nl>
11518
11519 [BZ #12047]
11520 * manual/charset.texi (Generic Charset Conversion): Fix typo
11521 (LC_TYPE -> LC_CTYPE).
11522
cc6e48bc
NB
115232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11524
11525 [BZ #5805]
11526 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11527 (scalbnf): Likewise.
11528 (scalbnl): Likewise.
11529 (scalbln): Likewise.
11530 (scalblnf): Likewise.
11531 (scalblnl): Likewise.
11532 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11533 (vwarnx): Likewise.
11534 (verr): Likewise.
11535 (verrx): Likewise.
11536 * manual/filesys.texi (telldir): Use braces around return type.
11537 * manual/llio.texi (mmap): Add space after comma.
11538 (mmap64): Likewise.
11539 * manual/math.texi (jn): Use @var{} on parameter names.
11540 (jnf): Likewise.
11541 (jnl): Likewise.
11542 (yn): Likewise.
11543 (ynf): Likewise.
11544 (ynl): Likewise.
11545 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11546 line.
11547 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11548 "...".
11549 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11550 (sched_get_priority_max): Likewise.
11551 * manual/signal.texi (sigvec): Add space after comma.
11552 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11553 names.
11554 (if_indextoname): Likewise.
11555 (if_freenameindex): Likewise.
11556 (sendto): Use ',' instead of '.' in prototype.
11557 * manual/startup.texi (syscall): Use @dots{} instead of literal
11558 "...".
11559 * manual/stdio.texi (__fpending): Separate initial words of
11560 paragraph from @deftypefun line.
11561 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11562 "...".
11563 (vsyslog): Use @var{} on parameter names.
11564 * manual/terminal.texi (stty): Use @var{} on parameter names.
11565 * manual/users.texi (getutmp): Use @var{} on parameter names.
11566 (getutmpx): Likewise.
11567
5b23062f
JM
115682012-02-17 Joseph Myers <joseph@codesourcery.com>
11569
11570 [BZ #6884]
11571 * manual/stdio.texi (fopen): Fix typos in description of
11572 ",ccs=STRING".
11573
8dee4833
AJ
115742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11575
11576 [BZ #4026]
11577 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11578 get clock_id definition.
11579
9078ce93
TS
115802012-02-17 Thomas Schwinge <thomas@schwinge.name>
11581
11582 [BZ #4822]
11583 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11584 (madvise): Cast every argument to void on its own.
11585
3835c55f
JM
115862012-02-17 Joseph Myers <joseph@codesourcery.com>
11587
11588 [BZ #9902]
11589 * manual/startup.texi (Exit Status): Fix typo.
11590
35c47e37
JM
115912012-02-17 Joseph Myers <joseph@codesourcery.com>
11592
11593 [BZ #10140]
11594 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11595 * manual/examples/argp-ex2.c: Likewise.
11596 * manual/examples/argp-ex3.c: Likewise.
11597
e3b69ca7
RH
115982012-02-16 Richard Henderson <rth@redhat.com>
11599
11600 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11601 * sysdeps/s390/s390-32/initfini.c: Remove.
11602 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11603 * sysdeps/s390/s390-64/initfini.c: Remove.
11604
df83af67
KK
116052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11606
11607 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11608 compiler output for sysdeps/generic/initfini.c.
11609 * sysdeps/sh/elf/initfini.c: Remove file.
11610
f63f3380
DM
116112012-02-16 David S. Miller <davem@davemloft.net>
11612
fb59b3a4
DM
11613 [BZ #11494]
11614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11615
f63f3380
DM
11616 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11617 * sysdeps/sparc/crti.S: New file.
11618 * sysdeps/sparc/crtn.S: New file.
11619 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11620 * sysdeps/sparc/sparc64/Makefile: Likewise.
11621
df6a4a4a
MF
116222012-02-15 Mike Frysinger <vapier@gentoo.org>
11623
6dd8f3dc 11624 [BZ #3335]
df6a4a4a
MF
11625 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11626
1cac7236
RM
116272012-02-15 Roland McGrath <roland@hack.frob.com>
11628
d2c736f8
RM
11629 [BZ #4822]
11630 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11631
1cac7236
RM
11632 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11633 (write, read, close): Likewise.
11634 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11635
8e475601
JM
116362012-02-15 Joseph Myers <joseph@codesourcery.com>
11637
11638 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11639 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11641 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11642 <bits/signalfd.h>.
11643 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11645 bits/signalfd.h.
11646
ed656b40
MP
116472012-02-14 Marek Polacek <polacek@redhat.com>
11648
11649 * sysdeps/x86_64/crti.S: New file.
11650 * sysdeps/x86_64/crtn.S: New file.
11651 * sysdeps/x86_64/elf/initfini.c: Remove file.
11652
2a979d3a
JM
116532012-02-13 Joseph Myers <joseph@codesourcery.com>
11654
11655 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11656 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11657 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11658 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11659 <bits/inotify.h>.
11660 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11662 bits/inotify.h.
11663
2a418ac3
JM
116642012-02-13 Joseph Myers <joseph@codesourcery.com>
11665
11666 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11667 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11668 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11669 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11670 <bits/eventfd.h>.
11671 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11673 bits/eventfd.h.
11674
fb779be7
TS
116752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11676
e19e83c5
RM
11677 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11678 __feraiseexcept instead of feraiseexcept.
7c35ffed 11679
fb779be7
TS
11680 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11681 nanosleep invocations.
11682 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11683 strings, and add error checking for a nanosleep invocations.
11684
59ba27a6
PE
116852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11686
11687 Replace FSF snail mail address with URLs, as per GNU coding standards.
11688 Most of the snail mail addresses were wrong anyway, and omitting
11689 them makes the source code easier to maintain. Almost all of the
11690 changes are to license notices and to locale LC_IDENTIFICATION
11691 addresses, except for this one:
11692 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11693 not its snail mail address.
11694
57b957eb
RH
116952012-02-09 Richard Henderson <rth@twiddle.net>
11696
af850b1c
RH
11697 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11698 of kernel-features.h.
11699
57b957eb
RH
11700 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11701
6b73181a
MP
117022012-02-08 Marek Polacek <polacek@redhat.com>
11703
11704 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11705 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11706 * sysdeps/gnu/_G_config.h: Likewise.
11707 * sysdeps/generic/_G_config.h: Likewise.
11708
26ecc33a
AS
117092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11710
6c6dbc63
AS
11711 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11712 tests.
11713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11714
e216c012
AS
11715 * sysdeps/powerpc/powerpc32/crti.S: New file.
11716 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11717 * sysdeps/powerpc/powerpc64/crti.S: New file.
11718 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11719
26ecc33a
AS
11720 * Makeconfig (have-initfini): Don't set.
11721 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11722 * configure.in (nopic_initfini): Don't substitute.
11723 * config.h.in (HAVE_INITFINI): Don't #undef.
11724 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11725 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11726
3add8e13
JM
117272012-02-08 Joseph Myers <joseph@codesourcery.com>
11728
11729 Support crti.S and crtn.S provided directly by architectures.
11730 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11731 [crti.S in sysdirs] (omit-deps): Likewise.
11732 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11733 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11734 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11735 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11736 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11737 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11738 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11739 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11740 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11741 compiler output for sysdeps/generic/initfini.c.
11742 * sysdeps/i386/elf/Makefile: Remove file.
11743 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11744
a22f12b4
MP
117452012-02-07 Marek Polacek <polacek@redhat.com>
11746
11747 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11748 * sysdeps/gnu/_G_config.h: Likewise.
11749 * sysdeps/mach/hurd/_G_config.h: Likewise.
11750
148cf100
MP
117512012-02-07 Marek Polacek <polacek@redhat.com>
11752
11753 * math/Makefile (tests): Add tst-CMPLX2.
11754 * math/tst-CMPLX2.c: New file.
11755
cfdc0dd7
AS
117562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11757
84ba42c4
AS
11758 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11759
cfdc0dd7
AS
11760 * math/libm-test.inc (jn_test): Add missing L suffix.
11761
622c86f4
MP
117622012-02-06 Marek Polacek <polacek@redhat.com>
11763
11764 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11765 * sysdeps/i386/fpu/e_powf.S: Likewise.
11766 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11767 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11769 * sysdeps/i386/fpu/e_pow.S: Likewise.
11770 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11771 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11772 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11773 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11774 * sysdeps/i386/fpu/e_log2.S: Likewise.
11775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11776 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11777 * sysdeps/i386/fpu/e_powl.S: Likewise.
11778 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11779 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11780 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11781 * sysdeps/i386/fpu/e_logl.S: Likewise.
11782 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11783 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11784 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11785 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11787 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11788 * sysdeps/i386/fpu/e_log.S: Likewise.
11789 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11790 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11791 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11792 * sysdeps/i386/fpu/e_logf.S: Likewise.
11793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11795 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11796 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11797 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11798 * sysdeps/i386/fpu/e_log10.S: Likewise.
11799 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11800 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11801 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11802 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11804 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11805 * sysdeps/i386/asm-syntax.h: Likewise.
11806 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11809 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11810 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11812 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11813 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11814 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11815 * sysdeps/powerpc/sysdep.h: Likewise.
11816 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11817 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11818
d4a54ac6
JM
118192012-02-06 Joseph Myers <joseph@codesourcery.com>
11820
11821 [BZ #411]
11822 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11823
314054ea
JM
118242012-02-06 Joseph Myers <joseph@codesourcery.com>
11825
11826 * sysdeps/i386/sysdep.h: Include <features.h>.
11827 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11828 version.
11829
d8e0ca50
JM
118302012-02-05 Joseph Myers <joseph@codesourcery.com>
11831
11832 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11833 Define.
11834 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11835 LOAD_PIC_REG_STR.
11836
b1da7dd9
JM
118372012-02-03 Joseph Myers <joseph@codesourcery.com>
11838
11839 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11840 (SETUP_PIC_REG): Use GET_PC_THUNK.
11841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11842 macro.
11843
9a1d9254
JM
118442012-02-03 Joseph Myers <joseph@codesourcery.com>
11845
11846 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11847 for non-PIC compilation.
11848 (SETUP_PIC_REG): Add .p2align directive.
11849 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11850 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11851 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11852 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11854 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11857 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11858 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11859 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11860 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11861 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11862 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11863 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11864 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11865 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11869 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11871 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11872 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11873 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11881 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11884 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11885 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11886 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11887 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11888 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11889 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11890
65dc3b75
JM
118912012-02-03 Joseph Myers <joseph@codesourcery.com>
11892
11893 * math/tst-CMPLX.c: Include <stdio.h>.
11894
d55bf177
JM
118952012-01-31 Joseph Myers <joseph@codesourcery.com>
11896
11897 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11898 float.
11899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11900 * sysdeps/sparc/bits/mathdef.h: Likewise.
11901
69db4f8f
MP
119022012-01-31 Marek Polacek <polacek@redhat.com>
11903
11904 * libio/libio.h: Don't define _PARAMS.
11905 * locale/programs/config.h: Don't define PARAMS.
11906 * stdlib/strtol_l.c: Likewise.
11907 (__strtol_l): Remove PARAMS from the prototype.
11908
41b81892
UD
119092012-01-31 Ulrich Drepper <drepper@gmail.com>
11910
3b49edc0
UD
11911 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11912 names. Just use the correct names. Remove unnecessary wrapper
11913 functions.
11914 * malloc/arena.c: Likewise.
11915 * malloc/hooks.c: Likewise.
11916
41b81892
UD
11917 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11918 ARENA_TEST says not to. Simplify test for creation of a new arena.
11919 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11920
27a25b6e
UD
119212012-01-30 Ulrich Drepper <drepper@gmail.com>
11922
11923 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11924 into tail calls.
11925 (update_get_addr): New function.
11926 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11927 GET_ADDR_MODULE parameter.
11928
c8a89e7d
JM
119292012-01-30 Joseph Myers <joseph@codesourcery.com>
11930
11931 * crypt/cert.c: Remove __STDC__ conditionals.
11932 * crypt/crypt-entry.c: Likewise.
11933 * crypt/crypt_util.c: Likewise.
11934 * libio/filedoalloc.c: Likewise.
11935 * libio/fileops.c: Likewise.
11936 * libio/genops.c: Likewise.
11937 * libio/iofclose.c: Likewise.
11938 * libio/iofdopen.c: Likewise.
11939 * libio/iofopen.c: Likewise.
11940 * libio/iofopen64.c: Likewise.
11941 * libio/iogetdelim.c: Likewise.
11942 * libio/iopopen.c: Likewise.
11943 * libio/obprintf.c: Likewise.
11944 * libio/oldfileops.c: Likewise.
11945 * libio/oldiofclose.c: Likewise.
11946 * libio/oldiofdopen.c: Likewise.
11947 * libio/oldiofopen.c: Likewise.
11948 * libio/oldiopopen.c: Likewise.
11949 * libio/wfiledoalloc.c: Likewise.
11950 * libio/wgenops.c: Likewise.
11951 * locale/programs/xmalloc.c: Likewise.
11952 * misc/syslog.c: Likewise.
11953 * stdio-common/xbug.c: Likewise.
11954 * string/memchr.c: Likewise.
11955 * string/memcmp.c: Likewise.
11956 * string/memrchr.c: Likewise.
11957 * string/rawmemchr.c: Likewise.
11958 * sysdeps/posix/getcwd.c: Likewise.
11959 * time/strftime_l.c: Likewise.
11960
3b100462
JM
119612012-01-30 Joseph Myers <joseph@codesourcery.com>
11962
11963 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11964 * config.make.in (config-cflags-sse2avx): Define.
11965 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11966 Fix typo.
11967
607998af
CM
119682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11969
11970 * scripts/config.guess: Update from upstream config git repository.
11971 * scripts/config.sub: Likewise.
11972
3601428f
CM
119732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11974
3ac8b282
CM
11975 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11976 (EM_NUM): Update.
11977 (R_TILEPRO_*, R_TILEGX_*): New macros.
11978
e034841e
CM
11979 * scripts/firstversions.awk: Fix bug in version range handling.
11980
540d7568
CM
11981 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11982
3601428f
CM
11983 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11984
463de862
CM
11985 * include/sys/epoll.h: New file.
11986 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11987 libc_hidden_def.
11988
73139a76
UD
119892012-01-28 Ulrich Drepper <drepper@gmail.com>
11990
96bc5b45
UD
11991 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11992 Avoid unnecessary __WORDSIZE == 64 test.
11993 (fmaxf): Use VEX format if possible.
11994 (fmax): Likewise.
11995 (fminf): Likewise.
11996 (fmin): Likewise.
11997
56f6f6a2
UD
11998 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11999 * math/math_private.h: Remove libc_fegetround* and
12000 libc_fesetround*.
12001 * sysdeps/i386/configure.in: Check for -msse2avx.
12002 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12003 also if SSE2AVX is defined.
12004 Remove libc_fegetround* and libc_fesetround*.
12005 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12006 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12007 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12008 of HAS_YMM_USABLE.
12009 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12010 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12012 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12013 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12014
73139a76
UD
12015 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12016
d73f93a4
AZ
120172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12018
12019 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12020 size is not set.
12021 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12022
6ee65ed6
UD
120232012-01-27 Ulrich Drepper <drepper@gmail.com>
12024
12025 [BZ #13618]
12026 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12027 relocation.
12028 * Makeconfig (libm): Define.
12029 * elf/Makefile: Add rules to build and run tst-relsort1.
12030 * elf/tst-relsort1.c: New file.
12031 * elf/tst-relsort1mod1.c: New file.
12032 * elf/tst-relsort1mod2.c: New file.
12033
8db21882
JM
120342012-01-27 Joseph Myers <joseph@codesourcery.com>
12035
12036 * math/s_ldexp.c: Remove __STDC__ conditionals.
12037 * math/s_ldexpf.c: Likewise.
12038 * math/s_ldexpl.c: Likewise.
12039 * math/s_nextafter.c: Likewise.
12040 * math/s_nexttowardf.c: Likewise.
12041 * math/s_significand.c: Likewise.
12042 * math/s_significandf.c: Likewise.
12043 * math/s_significandl.c: Likewise.
12044 * math/w_jnl.c: Likewise.
12045 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12046 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12047 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12048 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12049 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12066 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12067 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12068 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12069 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12070 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12071 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12075 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12076 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12077 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12078 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12079 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12080 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12082 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12083 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12084 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12085 * sysdeps/ieee754/k_standard.c: Likewise.
12086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12088 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12122 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12147 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12160 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12165 * sysdeps/ieee754/s_matherr.c: Likewise.
12166 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12170
965a54a4
JM
121712012-01-26 Joseph Myers <joseph@codesourcery.com>
12172
12173 * crypt/md5.h: Remove __STDC__ conditionals.
12174 * libio/libioP.h: Likewise.
12175 * locale/programs/config.h: Likewise.
12176 * sysdeps/generic/sysdep.h: Likewise.
12177 * sysdeps/i386/asm-syntax.h: Likewise.
12178 * sysdeps/s390/asm-syntax.h: Likewise.
12179 * sysdeps/unix/sysdep.h: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12182
7071ad79
JM
121832012-01-26 Joseph Myers <joseph@codesourcery.com>
12184
12185 * libio/libio.h: Remove __STDC__ conditionals.
12186 * malloc/obstack.h: Likewise.
12187 * math/complex.h: Likewise.
12188 * math/math.h: Likewise.
12189 * sysdeps/generic/_G_config.h: Likewise.
12190 * sysdeps/gnu/_G_config.h: Likewise.
12191 * sysdeps/mach/hurd/_G_config.h: Likewise.
12192 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12194 * sysdeps/sparc/bits/mathdef.h: Likewise.
12195
afc5ed09
UD
121962012-01-26 Ulrich Drepper <drepper@gmail.com>
12197
12198 [BZ #13583]
12199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12200 Clean up HAS_* macros.
afc5ed09 12201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12202 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12203 possible.
12204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12205 HAS_AVX.
12206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12211
bdb6de1d
JM
122122012-01-25 Joseph Myers <joseph@codesourcery.com>
12213
12214 * elf/tst-unique3.cc (gets): Remove declaration.
12215 * elf/tst-unique3lib.cc (gets): Likewise.
12216 * elf/tst-unique3lib2.cc (gets): Likewise.
12217 * elf/tst-unique4.cc (gets): Likewise.
12218
b15549e6
UD
122192012-01-24 Ulrich Drepper <drepper@gmail.com>
12220
12221 * include/stdio.h: Add C++ protection. Add gets declarations and
12222 definitions.
12223 * debug/tst-chk1.c: Don't declare gets here.
12224 * stdio-common/tst-gets.c: Likewise.
12225
a037381f
JM
122262012-01-24 Joseph Myers <joseph@codesourcery.com>
12227
12228 * posix/glob: Remove directory.
12229
f1d4aa75
JM
122302012-01-24 Joseph Myers <joseph@codesourcery.com>
12231
12232 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12233
81c0c964
PT
122342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12235
12236 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12237 of the non-standard EPFNOSUPPORT.
12238
0ea698ae
ST
122392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12240
12241 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12242 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12243 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12244
d220b117
UD
122452012-01-21 Ulrich Drepper <drepper@gmail.com>
12246
12247 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12248
3e1aa84e
UD
122492012-01-20 Ulrich Drepper <drepper@gmail.com>
12250
12251 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12252 transient errors.
12253 * nscd/grpcache.c (cache_addgr): Likewise.
12254 * nscd/hstcache.c (cache_addhst): Likewise.
12255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12256 * nscd/pwdcache.c (cache_addpw): Likewise.
12257 * nscd/servicescache.c (cache_addserv): Likewise.
12258
400aa020
UD
122592012-01-16 Ulrich Drepper <drepper@gmail.com>
12260
d77e7869
UD
12261 * malloc/malloc.c: Various cleanups.
12262 * malloc/hooks.c: Likewise.
12263
400aa020
UD
12264 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12265 * stdlib/bug-fmtmsg1.c: New file.
12266
12267 * stdlib/fmtmsg.c (init): Add missing unlock.
12268 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12269
e0a309cf
MP
122702012-01-12 Marek Polacek <polacek@redhat.com>
12271
12272 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12273 and _GNU_SOURCE.
12274
929d11c7
WS
122752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12276
12277 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12278 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12279 macro to ensure uniqueness of label name.
12280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12282
41d0e869
UD
122832012-01-11 Ulrich Drepper <drepper@gmail.com>
12284
0cc5ed3b
UD
12285 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12286
41d0e869
UD
12287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12288 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12291
a47a831a
UD
122922012-01-10 Ulrich Drepper <drepper@gmail.com>
12293
daa891c0
UD
12294 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12295
12296 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12299
e58ef0f2
UD
12300 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12301
a47a831a 12302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12303 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12306
12307 * math/bits/math-finite.h: Add ldexp support.
12308
a0bfc9c7
MP
123092012-01-10 Marek Polacek <polacek@redhat.com>
12310
12311 * locale/programs/localedef.h (show_archive_content): Add noreturn
12312 attribute.
12313
d6e97a1d
UD
123142012-01-09 Ulrich Drepper <drepper@gmail.com>
12315
12316 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12317
d5835c26
UD
123182012-01-08 Ulrich Drepper <drepper@gmail.com>
12319
e5f484c6
UD
12320 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12321
d5835c26
UD
12322 * io/Makefile (headers): Add bits/poll2.h.
12323
d1f741e9
WS
123242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12325
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12327 typo #include statement.
12328
ec09c1c4
UD
123292012-01-08 Ulrich Drepper <drepper@gmail.com>
12330
12331 * include/sys/cdefs.h: Define __attribute_alloc_size.
12332 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12333 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12334 * elf/pldd.c: Likewise.
12335 * iconv/iconv_charmap.c: Likewise.
12336 * iconv/iconvconfig.c: Likewise.
12337 * iconv/strtab.c: Likewise.
12338 * locale/programs/locale.c: Likewise.
12339 * locale/programs/localedef.h: Likewise.
12340 * locale/programs/simple-hash.c: Likewise.
12341 * nscd/nscd.h: Likewise.
12342 * nss/makedb.c: Likewise.
12343 * sysdeps/generic/ldconfig.h: Likewise.
12344 * locale/programs/localedef.c: Remove xmalloc prototype.
12345 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12346
20b38e03
PP
123472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12348
12349 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12350 appropriate.
12351
a0da5fe1
UD
123522012-01-08 Ulrich Drepper <drepper@gmail.com>
12353
1d5a644a 12354 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12355 * math/tst-CMPLX.c: New file.
1d5a644a 12356
8784a6db
UD
12357 * math/complex.h (CMPLXL): Fix typo.
12358
d9a216c0
UD
12359 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12360 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12361 GLIBC_2.16.
12362 * debug/tst-chk1.c: Add poll and ppoll tests.
12363 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12364 * include/sys/poll.h: Add hidden proto for ppoll.
12365 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12366 * sysdeps/mach/hurd/ppoll.c: Likewise.
12367 * io/ppoll.c: Likewise.
12368 * debug/poll_chk.c: New file.
12369 * debug/ppoll_chk.c: New file.
12370 * include/bits/poll2.h: New file.
12371 * io/bits/poll2.h: New file.
12372
ac097f5c
UD
12373 [BZ #1350]
12374 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12375
2119dcfa
UD
12376 * configure.in: static is always set to yes. Remove.
12377 * config.make.in: Don't set build-static.
12378 * Makeconfig: Remove use of build-static.
12379 * dlfcn/Makefile: Likewise.
12380 * elf/Makefile: Likewise.
12381 * math/Makefile: Likewise.
12382 * misc/Makefile: Likewise.
12383 * nptl/Makefile: Likewise.
12384 * sysdeps/mach/hurd/Makefile: Likewise.
12385
121766a9
UD
12386 * configure.in: PWD_P is not used anymore.
12387 * config.make.in: Remove PWD_P entry.
12388
51a1d39c 12389 * configure.in: Remove last remnants of RANLIB.
8720d066 12390 No need to check for signed size_t anymore.
215f4bdc
UD
12391 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12392 and IA-64.
3857022a 12393 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12394 * aclocal.m4: Likewise.
12395
d3ed7225
UD
12396 * wcsmbs/mbrtoc16.c: Implement using towc function.
12397 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12398 * wcsmbs/wcsmbsload.c: Likewise.
12399 * iconv/gconv_simple.c: Likewise.
12400 * iconv/gconv_int.h: Likewise.
12401 * iconv/gconv_builtin.h: Likewise.
12402 * iconv/iconv_prog.c: Remove CHAR16 handling.
12403
12404 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12405
12406 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12407
a0da5fe1
UD
12408 * configure.in: Remove --with-elf and --enable-bounded options.
12409 Dont set base_machine for ia64. More non-ELF conditions removed.
12410 Remove testing and setting of leading underscore information.
12411 * config.make.in (build-bounded): Set to no.
12412 * config.h.in: Remove NO_UNDERSCORES entry.
12413 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12414 them.
12415 * csu/start.c: Remove !NO_UNDERSCORE code.
12416 * locale/localeinfo.h: Likewise.
12417 * sysdeps/generic/machine-gmon.h: Likewise.
12418 * sysdeps/generic/sysdep.h: Likewise.
12419 * sysdeps/i386/sysdep.h: Likewise.
12420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12421 * sysdeps/mach/sysdep.h: Likewise.
12422 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12424 * sysdeps/sh/sysdep.h: Likewise.
12425 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12426 * sysdeps/unix/i386/sysdep.S: Likewise.
12427 * sysdeps/unix/sparc/start.c: Likewise.
12428 * sysdeps/unix/sparc/sysdep.S: Likewise.
12429 * sysdeps/unix/sparc/sysdep.h: Likewise.
12430 * sysdeps/unix/start.c: Likewise.
12431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12432 * sysdeps/x86_64/sysdep.h: Likewise.
12433
df78418a
UD
124342012-01-07 Ulrich Drepper <drepper@gmail.com>
12435
a784e502
UD
12436 [BZ #13553]
12437 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12438 for non-gcc.
12439 * argp/argp-fmtstream.h: Use const instead __const.
12440 * argp/argp.h: Likewise.
12441 * assert/assert.h: Likewise.
12442 * bits/fenv.h: Likewise.
12443 * bits/sched.h: Likewise.
12444 * bits/sigset.h: Likewise.
12445 * bits/sigthread.h: Likewise.
12446 * catgets/nl_types.h: Likewise.
12447 * conform/data/pthread.h-data: Likewise.
12448 * crypt/crypt-private.h: Likewise.
12449 * crypt/crypt.h: Likewise.
12450 * crypt/crypt_util.c: Likewise.
12451 * ctype/ctype.h: Likewise.
12452 * debug/execinfo.h: Likewise.
12453 * debug/mbsnrtowcs_chk.c: Likewise.
12454 * debug/mbsrtowcs_chk.c: Likewise.
12455 * debug/wcsnrtombs_chk.c: Likewise.
12456 * debug/wcsrtombs_chk.c: Likewise.
12457 * debug/wcstombs_chk.c: Likewise.
12458 * dirent/dirent.h: Likewise.
12459 * dlfcn/dlfcn.h: Likewise.
12460 * elf/neededtest4.c: Likewise.
12461 * grp/grp.h: Likewise.
12462 * gshadow/gshadow.h: Likewise.
12463 * iconv/gconv.h: Likewise.
12464 * iconv/gconv_int.h: Likewise.
12465 * iconv/gconv_simple.c: Likewise.
12466 * iconv/iconv.h: Likewise.
12467 * iconv/loop.c: Likewise.
12468 * iconv/skeleton.c: Likewise.
12469 * include/aio.h: Likewise.
12470 * include/aliases.h: Likewise.
12471 * include/argz.h: Likewise.
12472 * include/arpa/inet.h: Likewise.
12473 * include/assert.h: Likewise.
12474 * include/dirent.h: Likewise.
12475 * include/dlfcn.h: Likewise.
12476 * include/execinfo.h: Likewise.
12477 * include/fcntl.h: Likewise.
12478 * include/fenv.h: Likewise.
12479 * include/glob.h: Likewise.
12480 * include/grp.h: Likewise.
12481 * include/libintl.h: Likewise.
12482 * include/mntent.h: Likewise.
12483 * include/netdb.h: Likewise.
12484 * include/pwd.h: Likewise.
12485 * include/rpc/netdb.h: Likewise.
12486 * include/sched.h: Likewise.
12487 * include/search.h: Likewise.
12488 * include/shadow.h: Likewise.
12489 * include/signal.h: Likewise.
12490 * include/stdio.h: Likewise.
12491 * include/stdlib.h: Likewise.
12492 * include/string.h: Likewise.
12493 * include/sys/socket.h: Likewise.
12494 * include/sys/stat.h: Likewise.
12495 * include/sys/statfs.h: Likewise.
12496 * include/sys/statvfs.h: Likewise.
12497 * include/sys/syslog.h: Likewise.
12498 * include/sys/time.h: Likewise.
12499 * include/sys/uio.h: Likewise.
12500 * include/time.h: Likewise.
12501 * include/unistd.h: Likewise.
12502 * include/utmp.h: Likewise.
12503 * include/wchar.h: Likewise.
12504 * include/wctype.h: Likewise.
12505 * inet/aliases.h: Likewise.
12506 * inet/arpa/inet.h: Likewise.
12507 * inet/netinet/ether.h: Likewise.
12508 * inet/netinet/in.h: Likewise.
12509 * intl/libintl.h: Likewise.
12510 * io/bits/fcntl2.h: Likewise.
12511 * io/fcntl.h: Likewise.
12512 * io/ftw.h: Likewise.
12513 * io/sys/poll.h: Likewise.
12514 * io/sys/stat.h: Likewise.
12515 * io/sys/statfs.h: Likewise.
12516 * io/sys/statvfs.h: Likewise.
12517 * io/utime.h: Likewise.
12518 * libio/bits/stdio.h: Likewise.
12519 * libio/bits/stdio2.h: Likewise.
12520 * libio/libio.h: Likewise.
12521 * libio/libioP.h: Likewise.
12522 * libio/stdio.h: Likewise.
12523 * locale/lc-ctype.c: Likewise.
12524 * locale/locale.h: Likewise.
12525 * login/utmp.h: Likewise.
12526 * malloc/arena.c: Likewise.
12527 * malloc/malloc.c: Likewise.
12528 * malloc/malloc.h: Likewise.
12529 * malloc/mcheck.c: Likewise.
12530 * malloc/mtrace.c: Likewise.
12531 * math/bits/mathcalls.h: Likewise.
12532 * math/fenv.h: Likewise.
12533 * math/math_private.h: Likewise.
12534 * misc/bits/error.h: Likewise.
12535 * misc/bits/syslog.h: Likewise.
12536 * misc/err.h: Likewise.
12537 * misc/error.h: Likewise.
12538 * misc/fstab.h: Likewise.
12539 * misc/mntent.h: Likewise.
12540 * misc/regexp.h: Likewise.
12541 * misc/search.h: Likewise.
12542 * misc/sgtty.h: Likewise.
12543 * misc/sys/mman.h: Likewise.
12544 * misc/sys/syslog.h: Likewise.
12545 * misc/sys/uio.h: Likewise.
12546 * misc/sys/xattr.h: Likewise.
12547 * misc/ttyent.h: Likewise.
12548 * nis/rpcsvc/ypclnt.h: Likewise.
12549 * nss/nss.h: Likewise.
12550 * posix/bits/unistd.h: Likewise.
12551 * posix/fnmatch.h: Likewise.
12552 * posix/glob.h: Likewise.
12553 * posix/sched.h: Likewise.
12554 * posix/spawn.h: Likewise.
12555 * posix/sys/wait.h: Likewise.
12556 * posix/unistd.h: Likewise.
12557 * posix/wordexp.h: Likewise.
12558 * pwd/pwd.h: Likewise.
12559 * resolv/netdb.h: Likewise.
12560 * resource/sys/resource.h: Likewise.
12561 * rt/aio.h: Likewise.
12562 * rt/bits/mqueue2.h: Likewise.
12563 * rt/mqueue.h: Likewise.
12564 * shadow/shadow.h: Likewise.
12565 * signal/signal.h: Likewise.
12566 * socket/send.c: Likewise.
12567 * socket/sendto.c: Likewise.
12568 * socket/sys/socket.h: Likewise.
12569 * stdio-common/printf.h: Likewise.
12570 * stdlib/bits/stdlib.h: Likewise.
12571 * stdlib/fmtmsg.h: Likewise.
12572 * stdlib/monetary.h: Likewise.
12573 * stdlib/stdlib.h: Likewise.
12574 * stdlib/ucontext.h: Likewise.
12575 * streams/stropts.h: Likewise.
12576 * string/argz.h: Likewise.
12577 * string/bits/string2.h: Likewise.
12578 * string/string.h: Likewise.
12579 * string/strings.h: Likewise.
12580 * sunrpc/rpc/auth.h: Likewise.
12581 * sunrpc/rpc/auth_des.h: Likewise.
12582 * sunrpc/rpc/clnt.h: Likewise.
12583 * sunrpc/rpc/netdb.h: Likewise.
12584 * sunrpc/rpc/pmap_clnt.h: Likewise.
12585 * sunrpc/rpc/xdr.h: Likewise.
12586 * sysdeps/generic/inttypes.h: Likewise.
12587 * sysdeps/generic/net/if.h: Likewise.
12588 * sysdeps/generic/sys/swap.h: Likewise.
12589 * sysdeps/gnu/net/if.h: Likewise.
12590 * sysdeps/gnu/utmpx.h: Likewise.
12591 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12592 * sysdeps/i386/i486/bits/string.h: Likewise.
12593 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12594 * sysdeps/s390/bits/string.h: Likewise.
12595 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12596 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12597 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12598 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12599 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12600 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12601 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12602 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12603 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12604 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12605 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12606 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12607 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12608 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12609 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12618 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12619 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12620 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12621 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12623 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12624 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12625 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12626 * sysvipc/sys/ipc.h: Likewise.
12627 * sysvipc/sys/msg.h: Likewise.
12628 * sysvipc/sys/sem.h: Likewise.
12629 * sysvipc/sys/shm.h: Likewise.
12630 * termios/termios.h: Likewise.
12631 * time/sys/time.h: Likewise.
12632 * time/time.h: Likewise.
12633 * wcsmbs/bits/wchar2.h: Likewise.
12634 * wcsmbs/uchar.h: Likewise.
12635 * wcsmbs/wchar.h: Likewise.
12636 * wctype/wctype.h: Likewise.
12637
0269750c
UD
12638 [BZ #13551]
12639 * Makeconfig: Remove all but ELF support including AIX support.
12640 * Makerules: Likewise.
12641 * config.h.in: Likewise.
12642 * config.make.in: Likewise.
12643 * configure: Likewise.
12644 * configure.in: Likewise.
12645 * csu/Makefile: Likewise.
12646 * csu/version.c: Likewise.
12647 * debug/Makefile: Likewise.
12648 * dlfcn/Makefile: Likewise.
12649 * elf/Makefile: Likewise.
12650 * extra-lib.mk: Likewise.
12651 * iconv/Makefile: Likewise.
12652 * include/libc-symbols.h: Likewise.
12653 * include/shlib-compat.h: Likewise.
12654 * resolv/Makefile: Likewise.
12655 * resolv/res_libc.c: Likewise.
12656 * rt/Makefile: Likewise.
12657 * sysdeps/i386/asm-syntax.h: Likewise.
12658 * sysdeps/i386/sysdep.h: Likewise.
12659 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12660 * sysdeps/mach/sysdep.h: Likewise.
12661 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12662 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12663 * sysdeps/s390/asm-syntax.h: Likewise.
12664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12666 * sysdeps/sh/sysdep.h: Likewise.
12667 * sysdeps/unix/sparc/sysdep.h: Likewise.
12668 * sysdeps/wordsize-32/divdi3.c: Likewise.
12669 * sysdeps/x86_64/sysdep.h: Likewise.
12670
00bbd29b
UD
12671 * argp/Versions: Remove _argp_unlock_xxx.
12672
12673 [BZ #13559]
12674 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12675 * abilist/libBrokenLocale.abilist: Likewise.
12676 * abilist/libanl.abilist: Likewise.
12677 * abilist/libc.abilist: Likewise.
12678 * abilist/libcrypt.abilist: Likewise.
12679 * abilist/libdl.abilist: Likewise.
12680 * abilist/libm.abilist: Likewise.
12681 * abilist/libnsl.abilist: Likewise.
12682 * abilist/libpthread.abilist: Likewise.
12683 * abilist/libresolv.abilist: Likewise.
12684 * abilist/librt.abilist: Likewise.
12685 * abilist/libthread_db.abilist: Likewise.
12686 * abilist/libutil.abilist: Likewise.
12687 * abilist/libnss_db.abilist: New file.
12688
12689 * scripts/abilist.awk: Add support for indirect functions.
12690
a2693a0e
UD
12691 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12692
3f05895f
UD
12693 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12694
ecb6fb48
UD
12695 * shlib-versions: Remove entries for ports architectures.
12696
664f8cb9
UD
12697 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12698 files in ports.
12699 * elf/stackguard-macros.h: Remove support for IA-64.
12700 * elf/tst-auditmod1.c: Likewise.
12701 * sysdeps/generic/ldsodefs.h: Likewise.
12702
7ae81d88
UD
12703 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12704 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12705 configure files.
12706
bdeba135
UD
12707 [BZ #13552]
12708 * configure.in: Remove --enable-omitfp support.
12709 * FAQ.in: Adjust.
12710 * config.make.in: Likewise.
12711 * Makeconfig: Likewise.
12712 * manual/install.texi: Likewise.
12713
d75a0a62
UD
12714 In case anyone cares, the IA-64 architecture could move to ports.
12715 * sysdeps/ia64/*: Removed.
12716 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12717 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12718
dcc9756b
UD
12719 [BZ #13555]
12720 * configure.in: Remove entries for unsupported architectures.
12721
d3761ebc 12722 [BZ #13533]
9954432e
UD
12723 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12724 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12725 routines.
12726 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12727 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12728 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12729 fall back to using wcrtomb.
12730 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12731 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12732 renaming.
12733 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12734 * wcsmbs/tst-c16c32-1.c: New file.
12735
12736 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12737 local variable.
12738
c3a87236
UD
12739 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12740
28926a1b
UD
12741 * elf/tst-unique3.cc: Add explicit declaration of gets.
12742 * elf/tst-unique3lib.cc: Likewise.
12743 * elf/tst-unique3lib2.cc: Likewise.
12744 * elf/tst-unique4.cc: Likewise.
12745
df78418a
UD
12746 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12747
8ecd6b2a
JM
127482012-01-06 Joseph Myers <joseph@codesourcery.com>
12749
12750 [BZ #13566]
12751 * assert/assert.h (static_assert): Don't define for C++.
12752 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12753 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12754
9f115170
UD
127552012-01-03 Ulrich Drepper <drepper@gmail.com>
12756
5e0d0300
UD
12757 * iconv/loop.c (single loop): Fix assertion in storing of
12758 remaining bytes.
12759
9f115170
UD
12760 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12761
81fb02b0
UD
127622012-01-01 Ulrich Drepper <drepper@gmail.com>
12763
12764 * posix/getconf.c: Update copyright year.
12765 * nss/getent.c: Likewise.
a316c1f6 12766 * nss/makedb.c: Likewise.
81fb02b0
UD
12767 * iconv/iconvconfig.c: Likewise.
12768 * iconv/iconv_prog.c: Likewise.
12769 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12770 * elf/pldd.c: Likewise.
12771 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12772 * catgets/gencat.c: Likewise.
12773 * csu/version.c: Likewise.
12774 * elf/ldd.bash.in: Likewise.
12775 * elf/sprof.c (print_version): Likewise.
12776 * locale/programs/locale.c: Likewise.
12777 * locale/programs/localedef.c: Likewise.
a316c1f6 12778 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12779 * nscd/nscd.c (print_version): Likewise.
12780 * debug/xtrace.sh: Likewise.
12781 * malloc/memusage.sh: Likewise.
12782 * malloc/mtrace.pl: Likewise.
12783 * debug/catchsegv.sh: Likewise.
12784
2ba92745
JJ
127852011-12-30 Jakub Jelinek <jakub@redhat.com>
12786
12787 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12788 pure attribute.
12789
dadebdae
UD
127902011-12-24 Ulrich Drepper <drepper@gmail.com>
12791
d3761ebc 12792 [BZ #13533]
db6af3eb
UD
12793 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12794 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12795 transformations.
12796 * iconv/gconv_int.h: Likewise.
12797 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12798 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12799 from libc for GLIBC_2.16.
12800 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12801 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12802 * wcsmbs/uchar.h: Really define mbstate_t.
12803 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12804 * wcsmbs/c16rtomb.c: New file.
12805 * wcsmbs/mbrtoc16.c: New file.
12806 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12807 for C/POSIX locale.
12808 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12809 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12810
dadebdae
UD
12811 * wcsmbs/wchar.h: Add missing __restrict.
12812
67371b56
UD
128132011-12-23 Ulrich Drepper <drepper@gmail.com>
12814
74033a25
UD
12815 [BZ #13532]
12816 * time/Makefile (routines): Add timespec_get.
12817 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12818 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12819 timespec for ISO C11.
12820 * time/timespec_get.c: New file.
12821 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12822 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12823
380d7e87
UD
12824 [BZ #13531]
12825 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12826 * stdlib/stdlib.h: Declare aligned_alloc.
12827 * Versions.def: Add GLIBC_2.16 for libc.
12828 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12829
4e9e7a35
UD
12830 [BZ 13527]
12831 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12832 ISO C11.
12833
380d7e87 12834 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12835 code.
12836
03a71829
UD
12837 [BZ #13528]
12838 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12839
839e283e
UD
12840 [BZ #13529]
12841 * assert/assert.h (static_assert): Define.
12842
ce5294e2 12843 * version.h: Update for 2.16 development version.
90fa7312 12844
8d44e150 12845 [BZ #13526]
d7809905
UD
12846 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12847 _ISOC11_SOURCE.
12848
c0da14cd
UD
12849 * version.h (RELEASE): Bump for 2.15 release.
12850 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12851
530a3249
MP
12852 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12853 Patch by Marek Polacek <mpolacek@redhat.com>.
12854
67371b56
UD
12855 * bits/byteswap.h: Protect long long constants with __extension__.
12856 * sysdeps/i386/bits/byteswap.h: Likewise.
12857 * sysdeps/ia64/bits/byteswap.h: Likewise.
12858 * sysdeps/s390/bits/byteswap.h: Likewise.
12859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12860
15db4de1
LD
128612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12862
12863 [BZ #13540]
bbe315ea
LD
12864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12865 destination buffer.
15db4de1
LD
12866 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12867
2b2596b1
MP
128682011-12-23 Marek Polacek <polacek@redhat.com>
12869
12870 * elf/dl-addr.c (determine_info): Add inline keyword.
12871 * elf/tst-auditmod4b.c (check_avx): Likewise.
12872 * elf/tst-auditmod6b.c (check_avx): Likewise.
12873 * elf/tst-auditmod6c.c (check_avx): Likewise.
12874 * elf/tst-auditmod7b.c (check_avx): Likewise.
12875
70c6c246
UD
128762011-12-23 Ulrich Drepper <drepper@gmail.com>
12877
12878 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12879 !__SSE_MATH__.
12880
c044cf14
LD
128812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12882
15db4de1 12883 [BZ #13540]
c044cf14
LD
12884 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12885 processing for last bytes.
12886
6b13d9d9
BH
128872011-08-06 Bruno Haible <bruno@clisp.org>
12888
d455f537
BH
12889 [BZ #13061]
12890 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12891 U+0385, not to U+1FEE.
12892
6b13d9d9
BH
12893 [BZ #13062]
12894 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12895 entry for U+00A5 U+0301.
12896
db910efd
UD
128972011-12-22 Ulrich Drepper <drepper@gmail.com>
12898
27deeafc
UD
12899 [BZ #13166]
12900 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12901 buffer for the output is too small.
12902
aed9d171
UD
12903 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12904 optimization.
12905
db910efd
UD
12906 [BZ #13185]
12907 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12908 SSE flags if possible.
12909
2bd779ae
LD
129102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12911
e7f9dac3 12912 [BZ #13540]
2bd779ae
LD
12913 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12914 processing for last bytes.
12915
154bfc16
JM
129162011-12-22 Joseph Myers <joseph@codesourcery.com>
12917
12918 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12919 (syscall-list-default-options, syscall-list-default-condition)
12920 (syscall-list-includes): Define.
12921 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12922 list of ABIs and options and #if conditions for each ABI. Do not
12923 handle common syscalls between ABIs specially.
12924 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12925 Remove.
12926 (syscall-list-variants, syscall-list-32bit-options)
12927 (syscall-list-32bit-condition, syscall-list-64bit-options)
12928 (syscall-list-64bit-condition): Define.
12929 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12930 (syscall-list-variants, syscall-list-32bit-options)
12931 (syscall-list-32bit-condition, syscall-list-64bit-options)
12932 (syscall-list-64bit-condition): Define.
12933 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12934 Remove.
12935 (syscall-list-variants, syscall-list-32bit-options)
12936 (syscall-list-32bit-condition, syscall-list-64bit-options)
12937 (syscall-list-64bit-condition): Define.
12938 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12939 Remove.
12940 (syscall-list-variants, syscall-list-32bit-options)
12941 (syscall-list-32bit-condition, syscall-list-64bit-options)
12942 (syscall-list-64bit-condition): Define.
12943
21eaf3a5
UD
129442011-12-22 Ulrich Drepper <drepper@gmail.com>
12945
16c6f992
UD
12946 * locale/iso-639.def: Add brx entry.
12947
41043168
UD
12948 [BZ #13328]
12949 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12950 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12951
21eaf3a5
UD
12952 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12953 __feraiseexcept_renamed.
12954
e3a851a2
UD
129552011-12-21 Ulrich Drepper <drepper@gmail.com>
12956
4920765e
UD
12957 [BZ #13538]
12958 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12959 EPOLLET with unsigned values.
12960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12962
e3a851a2
UD
12963 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12964 to large cancellation.
12965 * math/s_cacoshf.c: Likewise.
12966 * math/s_cacoshl.c: Likewise.
12967
b27e24b8
RK
129682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12969
12970 [BZ #13305]
aebefeee 12971 [BZ #12786]
b27e24b8
RK
12972 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12973 * math/s_cacoshf.c: Likewise.
12974 * math/s_cacoshl.c: Likewise.
12975
ee190f67
UD
129762011-12-21 Ulrich Drepper <drepper@gmail.com>
12977
12978 [BZ #13439]
12979 * iconv/gconv.h: Define __GCONV_SWAP.
12980 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12981 * iconvdata/utf-16.c: Likewise.
12982 * iconvdata/utf-32.c: Likewise.
12983
707f25df
AS
129842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12985
12986 [BZ #13524]
12987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12988 numerator after shifting it by one limb.
12989
d2daaa1e
RÁE
129902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12991
12992 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12993 under [__USE_EXTERN_INLINES].
12994
a4647e72
UD
129952011-12-17 Ulrich Drepper <drepper@gmail.com>
12996
12997 [BZ #13446]
12998 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12999
f0b264f1
AZ
130002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13001
13002 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13003 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13004 optimized code.
13005 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13007 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13008 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13009 for strncasecmp/strncasecmp_l compilation.
13010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13011 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13012
8ef4f244
MP
130132011-12-08 Marek Polacek <mpolacek@redhat.com>
13014
13015 [BZ #13484]
13016 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13017 of __asm__.
13018
97ac2654
UD
130192011-12-17 Ulrich Drepper <drepper@gmail.com>
13020
13021 [BZ #13506]
13022 * time/tzfile.c (__tzfile_read): Check values from file header.
13023
91d2a845
WS
130242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13025
13026 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13027 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13028 * powerpc/powerpc32/dl-start.S: Likewise.
13029 * powerpc/powerpc32/elf/start.S: Likewise.
13030 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13031 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13032 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13033 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13034 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13035 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13036 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13037 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13038 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13039 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13040 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13041 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13042 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13043 * powerpc/powerpc32/memset.S: Likewise.
13044 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13045 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13046 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13047 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13048 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13049 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13050 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13051 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13052 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13053 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13054 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13055 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13056 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13057
a1267ba1
AZ
130582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13059
13060 * math/libm-test.inc: Added more nearbyint tests.
13061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13062 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13065
ad8ac1bd
RL
130662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13067
13068 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13069 FD_CLOEXEC.
13070
1d3e4b61
UD
130712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13072
13073 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13074 Add wcscpy-ssse3 wcscpy-c.
13075 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13076 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13077 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13078 * sysdeps/x86_64/wcschr.S: New file.
13079 * sysdeps/x86_64/wcsrchr.S: New file.
13080 * string/test-strcmp.c: Remove checking of wcscmp function for
13081 wrong alignments.
13082 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13083 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13084 wcsrchr-sse2 wcsrchr-c.
13085 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13086 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13087 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13088 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13089 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13090 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13091 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13092 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13093 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13094 * wcsmbc/wcschr.c (WCSCHR): New macro.
13095
5b330a2d
UD
130962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13097
13098 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13099 * wcsmbs/test-wcsrchr.c: New file.
13100 * string/test-strrchr.c: Add wcsrchr support.
13101 (WIDE): New macro.
13102 * wcsmbs/test-wcscpy.c: New file.
13103 * string/test-strcpy.c: Add wcscpy support.
13104 (WIDE): New macro.
26428b7c 13105
f039c043
UD
131062011-12-10 Ulrich Drepper <drepper@gmail.com>
13107
13108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13109 the inner loop.
13110
850fb039
AS
131112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13112
13113 [BZ #13472]
13114 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13115
4efbd5cb
UD
131162011-12-04 Ulrich Drepper <drepper@gmail.com>
13117
52ff5dd0 13118 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13119 Minor optimizations.
52ff5dd0 13120
4efbd5cb
UD
13121 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13122 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13123 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13124
8a426e12
UD
131252011-12-03 Ulrich Drepper <drepper@gmail.com>
13126
aff2453d
UD
13127 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13128 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13129 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13130 for gcc to avoid warnings.
13131 * inet/Makefile (tests): Add tst-checks.
13132 * inet/tst-checks.c: New file.
13133
13134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13135 warning.
13136
13137 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13138 __wmemcmp_sse2.
13139
13140 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13141 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13142
8a426e12
UD
13143 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13144
9bea3473
UD
131452011-12-02 Ulrich Drepper <drepper@gmail.com>
13146
3a965496
UD
13147 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13148 problem.
13149
9bea3473
UD
13150 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13151
f101631b
UD
131522011-11-29 Joseph Myers <joseph@codesourcery.com>
13153
13154 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13155 conditional on GCC version.
13156 (__arch_compare_and_exchange_val_8_acq)
13157 (__arch_compare_and_exchange_val_16_acq)
13158 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13159 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13160 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13161
a98275aa
UD
131622011-12-02 Joseph Myers <joseph@codesourcery.com>
13163
13164 * sysdeps/sh/backtrace.c: New file.
13165
d4cc29a2
AS
131662011-12-02 Andreas Schwab <schwab@redhat.com>
13167
13168 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13169 parenthesis.
13170
6257af2d
AS
131712011-12-01 Andreas Schwab <schwab@redhat.com>
13172
13173 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13174 falling back to utime.
13175
b5f44c1a
AS
131762011-11-30 Andreas Schwab <schwab@redhat.com>
13177
13178 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13179 expectations for float.
13180
f3a6cc0a
AS
131812011-11-29 Andreas Schwab <schwab@redhat.com>
13182
13183 * locale/weight.h (findidx): Add parameter len.
13184 * locale/weightwc.h (findidx): Likewise.
13185 * posix/fnmatch_loop.c (FCT): Adjust caller.
13186 * posix/regcomp.c (build_equiv_class): Likewise.
13187 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13188 * posix/regexec.c (check_node_accept_bytes): Likewise.
13189 * string/strcoll_l.c (STRCOLL): Likewise.
13190 * string/strxfrm_l.c (STRXFRM): Likewise.
13191
9d65ea3a
UD
131922011-11-17 Ulrich Drepper <drepper@gmail.com>
13193
13194 * Makefile.in: Remove CVSOPT handling.
13195 * configure.in: Remove use of AC_REVISION.
13196 * iconvdata/Makefile (distribute): No need to filter out CVS.
13197 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13198 handling.
13199
5583a086
AS
132002011-11-16 Andreas Schwab <schwab@redhat.com>
13201
13202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13203 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13204 [USE_AS_STRNCASECMP_L]: Likewise.
13205 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13206 NO_TLS_DIRECT_SEG_REFS.
13207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13208 Fix argument offsets for non-PIC.
13209 [USE_AS_STRNCASECMP_L]: Likewise.
13210 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13211 NO_TLS_DIRECT_SEG_REFS.
13212
d62a8200
UD
132132011-11-15 Ulrich Drepper <drepper@gmail.com>
13214
9d65ea3a 13215 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13216 O_CLOEXEC.
13217 * locale/loadlocale.c (_nl_load_locale): Likewise.
13218
09f93bd3
AS
132192011-11-15 Andreas Schwab <schwab@redhat.com>
13220
446514f9
AS
13221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13222 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13224 (SYSCALL_GETTIME): Set errno on error.
13225
09f93bd3
AS
13226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13227 count references to noai6ai_cached.
13228
312be3f9
UD
132292011-11-15 Ulrich Drepper <drepper@gmail.com>
13230
13231 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13232
13233 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13234 FD_CLOEXEC for /proc/self/maps.
13235
13236 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13237 FD_CLOEXEC for /proc/meminfo.
13238
13239 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13240 gai.conf.
13241
13242 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13243 FD_CLOEXEC for given file.
13244
13245 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13246
13247 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13248 FD_CLOEXEC for /etc/hosts.
13249 (_gethtent): Likewise.
13250
13251 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13252
13253 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13254 cancellation and set FD_CLOEXEC for /etc/netgroup.
13255
13256 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13257 reading /etc/publickey.
13258
13259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13260 allow cancellation when reading /etc/group.
13261
13262 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13263 cancellation.
13264 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13265
13266 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13267 when using data file.
13268
13269 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13270
13271 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13272 (write_nis_obj): Use "c" and "e" in fopen.
13273
13274 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13275
13276 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13277
13278 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13279
13280 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13281
13282 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13283 locale.alias.
13284
13285 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13286
13287 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13288
13289 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13290
13291 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13292 file parsing and set FD_CLOEXEC.
13293
82af0fa8
UD
132942011-11-14 Ulrich Drepper <drepper@gmail.com>
13295
13296 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13297
a5fb313c
AS
132982011-11-14 Andreas Schwab <schwab@redhat.com>
13299
13300 * malloc/arena.c (arena_get2): Don't call reused_arena when
13301 _int_new_arena failed.
13302
6abf3465
UD
133032011-11-14 Ulrich Drepper <drepper@gmail.com>
13304
13305 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13306 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13311 to compile strcasecmp and strncasecmp.
13312 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13313 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13314
13315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13316
76e3966e
UD
133172011-11-13 Ulrich Drepper <drepper@gmail.com>
13318
13319 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13320 locale-defines.sym to gen-as-const-headers.
13321 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13322 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13324 to compile strcasecmp and strncasecmp.
13325 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13326 strcasecmp_l and strncasecmp_l.
13327 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13328 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13329 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13330 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13331 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13333 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13334 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13335 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13336 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13337 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13338
ab26144e
UD
133392011-11-12 Ulrich Drepper <drepper@gmail.com>
13340
7edb22ef
UD
13341 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13342 result of SYSDEP_GETTIME_CPU to retval.
13343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13344 parameter list to macro. Remove trailing semicolon. Adjust users.
13345
9694fc44
UD
13346 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13347 variable.
13348
8ad89ef8
UD
13349 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13350 mantissa words.
13351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13352
0c822ef9
UD
13353 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13354 from unused variable.
13355
874e0564
UD
13356 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13357 DWARF definitions.
13358 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13359 for assembling.
13360
3a2edc79
UD
13361 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13362 over namespaces.
13363
f3c2577f
UD
13364 * sunrpc/rpc_prot.c (rejected): Fix case value.
13365
294ce126
UD
13366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13367 unsigned long long int to avoid warnings in shift.
13368
5e2b63c6
UD
13369 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13370 of use of trans.
13371 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13372 variable tmp.
13373
e7f4b08e
UD
13374 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13375 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13377
ab26144e
UD
13378 * nis/nis_table.c (nis_list): Use variable of correct type for
13379 result of __follow_path call.
13380
8a6d5255
AZ
133812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13382
13383 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13384 of math functions ceil, trunc, floor, round, and sqrt, when
13385 avaliable on the platform.
13386 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13387 name clash.
13388 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13389 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13390 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13391
aaddc98c
MP
133922011-10-30 Marek Polacek <mpolacek@redhat.com>
13393
13394 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13396
95b7042b
RM
133972011-11-11 Roland McGrath <roland@hack.frob.com>
13398
13399 * include/unistd.h: Fix __readlink return type.
13400 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13401
57769839
UD
134022011-11-11 Ulrich Drepper <drepper@gmail.com>
13403
13404 * stdlib/ucontext.h: Undo last change for makecontext.
13405
edc5984d
AS
134062011-11-11 Andreas Schwab <schwab@redhat.com>
13407
98591e58
AS
13408 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13409
edc5984d
AS
13410 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13411 * setjmp/setjmp.h: Mark functions as non-leaf.
13412 * setjmp/bits/setjmp2.h: Likewise.
13413 * stdlib/ucontext.h: Likewise.
13414
77cdc054
AS
134152011-11-10 Andreas Schwab <schwab@redhat.com>
13416
13417 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13418 (reused_arena): Don't check arena limit.
13419 (arena_get2): Atomically check arena limit.
13420
fe72eebd
UD
134212011-11-08 Ulrich Drepper <drepper@gmail.com>
13422
5f078c32
UD
13423 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13424 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13425
fe72eebd
UD
13426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13427 instructions.
13428
ae1bc2fa
AS
134292011-11-07 Andreas Schwab <schwab@redhat.com>
13430
7583a88d
AS
13431 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13432 handler when locking.
13433
ae1bc2fa
AS
13434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13435 Fix size of allocated buffer.
13436
10fb0bfa
AS
134372011-11-04 Andreas Schwab <schwab@redhat.com>
13438
998832a4
AS
13439 [BZ #10103]
13440 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13441 declarations for long double functions.
13442 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13443
10fb0bfa
AS
13444 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13445
3d7ba52b
AS
134462011-11-03 Andreas Schwab <schwab@redhat.com>
13447
a9ae54a1
AS
13448 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13449 installed.
13450
3d7ba52b
AS
13451 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13452 is disabled.
13453
bc8db248
ST
134542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13455
13456 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13457
45b96dd6
AS
134582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13459
647776f6
AS
13460 * include/alloca.h (stackinfo_alloca_round): Define.
13461 (extend_alloca): Use it.
13462 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13463 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13464 here.
13465
d91a8b93
AS
13466 * scripts/check-local-headers.sh: Ignore libaudit.h.
13467
45b96dd6
AS
13468 * nscd/Makefile (extra-objs): Make recursively expanded.
13469
432d41ce
UD
134702011-11-01 Ulrich Drepper <drepper@gmail.com>
13471
34372fc6
UD
13472 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13474
fadb59f8
UD
13475 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13476 * posix/tst-rfc3484-2.c: Likewise.
13477 * posix/tst-rfc3484-3.c: Likewise.
13478
78239589
UD
13479 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13480 process_vm_writev.
13481 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13482 process_vm_writev.
13483 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13484 process_vm_writev from libc using GLIBC_2.15 version.
13485
432d41ce
UD
13486 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13487
02f9c6cf
PP
134882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13489
13490 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13491 stack usage.
13492
3a2c0242
UD
134932011-10-31 Ulrich Drepper <drepper@gmail.com>
13494
f4ec4833
UD
13495 [BZ #13367]
13496 * nss/getent.c (initgroups_keys): Show error message in case no group
13497 names are given.
13498
3a2c0242
UD
13499 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13500 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13501 __bump_nl_timestamp.
13502 * nscd/connections (nscd_init): When host database is served open
13503 netlink socket and request notification about configuration changes.
13504 (main_loop_poll): Track netlink file descriptor and bump timestamp
13505 in case data becomes available.
13506 (main_loop_epoll): Likewise.
13507 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13508 (database_pers_head): Add extra_data fileds.
13509 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13511 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13512 Adjust caller.
13513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13514 in6ai data, call __free_in6ai.
13515 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13516 Add -DHAVE_NETLINK.
13517 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13518 interface information. Reuse previous data if netlink timestamp
13519 is not changed.
13520 (__bump_nl_timestamp): New function.
13521 (__free_in6ai): New function.
13522
636064eb
UD
135232011-10-30 Ulrich Drepper <drepper@gmail.com>
13524
13525 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13526 close_not_cancel_no_status here.
13527 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13528
9beb2334
UD
135292011-10-29 Ulrich Drepper <drepper@gmail.com>
13530
6ef76f3b
UD
13531 [BZ #13276]
13532 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13533 return value.
13534
0ffc4f3e 13535 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13536 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13537 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13538
cb95113e
UD
135392011-07-03 Andreas Jaeger <aj@suse.de>
13540
13541 [BZ #10709]
13542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13543 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13544 * math/libm-test.inc (sin_test): Add test case.
13545
a1b560ff
UD
135462011-10-29 Ulrich Drepper <drepper@gmail.com>
13547
c9aaface
UD
13548 [BZ #13337]
13549 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13550 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13551
d272e7f1
UD
13552 * elf/chroot_canon.c (chroot_canon): Cleanups.
13553
1bc33071
UD
13554 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13555
1760874d
TJ
13556 [BZ #13335]
13557 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13558 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13559
51d91b18
UD
13560 * string/test-strchr.c: Make usable for strchrnul testing.
13561 * string/test-strchrnul.c: New file.
13562 * string/Makefile (strop-tests): Add strchrnul.
13563
a1b560ff 13564 * po/it.po: Update from translation team.
b611fb81 13565 * po/es.po: Likewise.
a1b560ff 13566
a5b81e1f
UD
135672011-10-28 Ulrich Drepper <drepper@gmail.com>
13568
fd52bc6d
UD
13569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13570 the three constants needed as parameters. Drop the others.
13571 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13572 __m128i_strloadu_tolower.
52e4b9eb
UD
13573 Create and initialize variable zero and use it in all the places
13574 where _mm_setzero_si128 was used.
fd52bc6d 13575
a5b81e1f
UD
13576 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13577 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13578 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13580 anymore.
13581 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13582 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13583 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13584 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13585 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13586 __mpranred, __mptan.
13587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13591 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13592 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13594 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13595 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13596
b4343346
AS
135972011-10-28 Andreas Schwab <schwab@redhat.com>
13598
0c92d8a8
AS
13599 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13600 redefine if SHARED.
13601 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13602
b4343346
AS
13603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13604 wide char related routines to wcsmbs subdir.
13605
3871f58f
AS
136062011-10-27 Andreas Schwab <schwab@redhat.com>
13607
13608 [BZ #13344]
13609 * misc/sys/cdefs.h (__THROWNL): Define.
13610 * posix/unistd.h: Use __THREADNL instead of __THREAD
13611 for memory synchronization functions.
13612
94d44d9f
RM
136132011-10-26 Roland McGrath <roland@hack.frob.com>
13614
21b64b15 13615 [BZ #13349]
94d44d9f
RM
13616 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13617 doesn't exist.
13618 * manual/stdio.texi (Obstack Streams): Node removed.
13619
f6ce9294
AS
136202011-10-26 Andreas Schwab <schwab@redhat.com>
13621
80479147
AS
13622 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13624 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13625
f6ce9294
AS
13626 * math/math_private.h (math_force_eval): Allow non-addressable
13627 arguments.
13628 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13629
618280a1
UD
136302011-10-25 Ulrich Drepper <drepper@gmail.com>
13631
e0016b11
UD
13632 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13633 file is not needed.
13634
13635 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13636 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13638 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13642 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13643 Add AVX variants.
13644 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13645 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13646 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13647 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13648 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13649 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13650 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13651 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13654 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13655 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13657 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13658 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13659 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13660 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13661 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13662 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13663
13664 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13665 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13666
618280a1
UD
13667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13668 place. Use VEX encoding when compiling for AVX.
13669
37822576
AS
136702011-10-25 Andreas Schwab <schwab@redhat.com>
13671
1f1e1947
AS
13672 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13673 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13674
37822576
AS
13675 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13676
31ea014d
UD
136772011-10-25 Ulrich Drepper <drepper@gmail.com>
13678
d7826aa1 13679 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13680 useless if() expression.
d7826aa1
UD
13681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13699 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13700
31ea014d
UD
13701 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13702
16437fec
AS
137032011-10-25 Andreas Schwab <schwab@redhat.com>
13704
13705 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13706 condition.
13707 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13708
31d3cc00
UD
137092011-10-25 Ulrich Drepper <drepper@gmail.com>
13710
13711 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13712 .text section. Avoid duplicate constants.
13713 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13725 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13728 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13730 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13737 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13738 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13739 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13741 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13744 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13746 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13747 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13748 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13749 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13751 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13752 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13758
58985aa9
UD
137592011-10-24 Ulrich Drepper <drepper@gmail.com>
13760
202c9deb
UD
13761 * sysdeps/x86_64/dla.h: Move to ...
13762 * sysdeps/x86_64/fpu/dla.h: ...here.
13763 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13764 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13765
af968f62
UD
13766 * config.make.in: Add have-mfma4 entry.
13767 * configure.in: Substitute libc_cv_cc_fma4.
13768 * math/Makefile (dbl-only-routines): Add sincostab.
13769 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13770 Use __sincostab not sincos.
13771 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13772 name is a macro.
13773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13777 using __copysign.
13778 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13779 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13780 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13781 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13782 and __inv.
13783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13784 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13785 __copysign.
13786 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13787 define aliases when function name is a macro.
13788 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13789 sysdeps/ieee754/dbl-64/sincos.tbl.
13790 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13791 fma4-enabled routines.
13792 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13793 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13794 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13795 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13797 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13801 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13802 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13803 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13804 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13819 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13820 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13821 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13822
58985aa9
UD
13823 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13824 rename.
13825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13833
a201fbcf
AS
138342011-10-24 Andreas Schwab <schwab@redhat.com>
13835
13836 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13837
fc2ee42a
LD
138382011-10-23 Ulrich Drepper <drepper@gmail.com>
13839
bb3129bd
UD
13840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13841
0275fff8
UD
13842 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13843 prediction.
13844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13845
2fa2ae85
UD
13846 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13847 Remove unused variable magic_bits.
13848 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13849
fc2ee42a
LD
13850 * string/strnlen.c: Define and use STRNLEN macro.
13851 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13852 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13854 * wcsmbs/wcslen.c: Define and use WCSLEN.
13855 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13856 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13857 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13858 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13859 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13860 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13861 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13862
ce7dd29f
LD
138632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13864
13865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13866 strnlen-sse2-no-bsf.
13867 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13869 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13870 Add strnlen support.
13871 (USE_AS_STRNLEN): New macro.
13872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13873 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13874 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13875 * sysdeps/x86_64/wcslen.S: New file.
13876
979c70a3
MZ
138772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13878
13879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13880 XMM-moves are used for copying on small sizes.
13881
2d09f82f
LD
138822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13883
13884 * wcsmbs/Makefile (strop-tests): Add wcschr.
13885 * wcsmbs/test-wcschr.c: New file.
13886 * string/test-strchr.c: Update.
13887 Add wcschr support.
13888 (WIDE): New macro.
13889
619fccca
LD
138902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13891
2d09f82f 13892 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13893 * wcsmbs/test-wcslen.c: New file.
13894 * string/test-strlen.c: Update.
13895 Add wcslen support.
13896 (WIDE): New macro.
13897
09f699ea
UD
138982011-10-23 Ulrich Drepper <drepper@gmail.com>
13899
13900 * po/it.po: Update from translation team.
13901
95584d3b
LD
139022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13903
13904 * sysdeps/x86_64/wcscmp.S: Update.
13905 Fix wrong comparison semantics.
13906 wcscmp shall use signed comparison not unsigned.
13907 Don't use substraction to avoid overflow bug.
13908 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13909 * wcsmbc/wcscmp.c: Likewise.
13910 * string/test-strcmp.c: Likewise.
13911 Add new tests to check cases with negative values.
13912
c8b3296b
UD
139132011-10-23 Ulrich Drepper <drepper@gmail.com>
13914
13915 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13916 * sysdeps/x86_64/dla.h: ...here. New file.
13917 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13926
246ad57a
AS
139272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13928
13929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13930 __ynl_finite aliases.
13931
a1a87169
UD
139322011-10-22 Ulrich Drepper <drepper@gmail.com>
13933
0d355eb7
UD
13934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13935
a1a87169
UD
13936 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13937 define DLA_FMA.
13938 [DLA_FMA] (EMULV): Use DLA_FMA.
13939 [DLA_FMA] (MUL12): Use EMULV.
13940 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13941 that are not needed.
13942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13949
ee2aafe0
AS
139502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13951
13952 * math/s_nan.c: Undef __nan.
13953 * math/s_nanf.c: Undef __nanf.
13954 * math/s_nanl.c: Undef __nanl.
13955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13956 "math_private.h".
13957
bc62c2fb
UD
139582011-10-22 Ulrich Drepper <drepper@gmail.com>
13959
77425c63
UD
13960 * math/s_catan.c: Add branch predictions.
13961 * math/s_catanf.c: Likewise.
13962 * math/s_catanh.c: Likewise.
13963 * math/s_catanhf.c: Likewise.
13964 * math/s_catanhl.c: Likewise.
13965 * math/s_catanl.c: Likewise.
13966 * math/s_cexp.c: Likewise.
13967 * math/s_cexpf.c: Likewise.
13968 * math/s_cexpl.c: Likewise.
13969 * math/s_clog.c: Likewise.
13970 * math/s_clog10.c: Likewise.
13971 * math/s_clog10f.c: Likewise.
13972 * math/s_clog10l.c: Likewise.
13973 * math/s_clogf.c: Likewise.
13974 * math/s_clogl.c: Likewise.
13975 * math/s_csqrt.c: Likewise.
13976 * math/s_csqrtf.c: Likewise.
13977 * math/s_csqrtl.c: Likewise.
13978 * math/s_ctanf.c: Likewise.
13979 * math/s_ctanh.c: Likewise.
13980 * math/s_ctanhf.c: Likewise.
13981 * math/s_ctanhl.c: Likewise.
13982 * math/s_ctanl.c: Likewise.
13983
bc62c2fb
UD
13984 * math/math_private.h: Define __nan, __nanf, __nanl.
13985 * math/s_cacosh.c: Include <math_private.h>.
13986 * math/s_cacoshl.c: Likewise.
13987 * math/s_casinh.c: Likewise.
13988 * math/s_casinhf.c: Likewise.
13989 * math/s_casinhl.c: Likewise.
13990 * math/s_ccos.c: Rely entire on ccosh.
13991 * math/s_ccosf.c: Rely entire on ccoshf.
13992 * math/s_ccosl.c: Rely entirely on ccoshl.
13993 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13994 Remove tests for FE_INVALID.
13995 * math/s_ccoshf.c: Likewise.
13996 * math/s_ccoshl.c: Likewise.
13997 * math/s_csin.c: Likewise.
13998 * math/s_csinf.c: Likewise.
13999 * math/s_csinh.c Likewise.
14000 * math/s_csinhf.c: Likewise.
14001 * math/s_csinhl.c: Likewise.
14002 * math/s_csinl.c: Likewise.
14003 * math/s_ctan.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14005 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14007
8ec250a4
UD
140082011-10-21 Ulrich Drepper <drepper@gmail.com>
14009
c196fed8
UD
14010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14011 compilation problems.
14012
8ec250a4
UD
14013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14014 __builtin_expect.
14015
8d4f46c6
UD
140162011-10-20 Ulrich Drepper <drepper@gmail.com>
14017
ed72b654
UD
14018 * sysdeps/i386/configure.in: Test for -mfma4 option.
14019 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14020 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14021 COMMON_CPUID_INDEX_80000001.
14022 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14023 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14024 use it if FMA3 is not supported.
14025 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14026
8d4f46c6
UD
14027 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14028 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14029
d45c60c2
AS
140302011-10-20 Andreas Schwab <schwab@redhat.com>
14031
14032 [BZ #12892]
14033 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14034 it would create a cycle with a link time dependency.
14035
d9a4d2ab
UD
140362011-10-19 Ulrich Drepper <drepper@gmail.com>
14037
855d1560
UD
14038 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14039 instruction.
14040 * string/Makefile (strop-tests): Add rawmemchr.
14041 * string/test-rawmemchr.c: New file.
14042
d9a4d2ab
UD
14043 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14044 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14045 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14046 when compiling str{,n}casecmp and when AVX is available. Hook up
14047 new optimized code in initializers.
14048
8f3b1ffe
AS
140492011-10-19 Andreas Schwab <schwab@redhat.com>
14050
14051 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14052 __feraiseexcept instead of feraiseexcept.
14053
d38f1dba
UD
140542011-10-18 Ulrich Drepper <drepper@gmail.com>
14055
d9a8d0ab
UD
14056 * math/math_private.h: Define defaults for libc_fetestexcept and
14057 libc_feupdateenv.
14058 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14059 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14060 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14064 libc_fetestexcept and libc_feupdateenv.
14065
4855e3dd
UD
14066 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14067 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14068 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14069 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14070 libc_feholdexcept_setround.
14071
581d30e3
UD
14072 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14073 Add s_nearbyint-c and s_nearbyintf-c.
14074 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14075 nearbyintf inlines.
14076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14077 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14078 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14079 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14080
d38f1dba
UD
14081 * math/math_private.h: Define defaults for libc_fegetround,
14082 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14083 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14084 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14086 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14087 standard functions.
14088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14089 Remove comments and hacks for old compiler versions.
14090 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14091 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14092 libc_feholdexceptl.
14093
caa6c9d8
AS
140942011-10-18 Andreas Schwab <schwab@redhat.com>
14095
14096 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14097 (__feraiseexcept_renamed): Add __NTH.
14098 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14099 namespace violations.
14100
97c066e6
UD
141012011-10-17 Ulrich Drepper <drepper@gmail.com>
14102
99ce7b04
UD
14103 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14104
1004d182
UD
14105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14106
228a984d
UD
14107 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14108 recently added interfaces.
14109 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14110
c8553a6a
UD
14111 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14112 about macro parameter expansion.
14113
ed22dcf6
UD
14114 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14115 __NO_MATH_INLINES is defined. Cleanups.
14116
14117 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14118 and __floorf is target has SSE4.1.
14119 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14120 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14121 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14122 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14123
b171c137
UD
14124 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14125 name.
14126 (floorf): Likewise.
14127
97c066e6
UD
14128 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14129
629f62ef
AS
141302011-10-17 Andreas Schwab <schwab@redhat.com>
14131
49a43d80
AS
14132 * misc/sys/cdefs.h: Fix last change.
14133
629f62ef
AS
14134 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14135 database lookup.
14136
e453f6cd
UD
141372011-10-16 Ulrich Drepper <drepper@gmail.com>
14138
aa78043a
UD
14139 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14140
ad0f5cad
UD
14141 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14147 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14149 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14150 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14151 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14152 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14153 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14154 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14155 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14156 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14158 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14159 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14160 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14161 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14162 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14163
14164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14165 ceil, ceilf, floor, floorf.
14166
14167 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14168 Perform IRELATIVE relocations last.
14169
e453f6cd
UD
14170 * elf/do-rel.h: Add another parameter nrelative, replacing the
14171 local variable with the same name. Change name of the function
14172 to end in Rel or Rela (uppercase).
14173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14174 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14175 elf_dynamic_do_##reloc function.
14176
fd5bdc09
UD
141772011-10-15 Ulrich Drepper <drepper@gmail.com>
14178
79b195b5
UD
14179 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14180 is sufficient, at least on modern CPUs.
14181
d4a28569
UD
14182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14183
b61099b5
UD
14184 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14186
bcf01e6d
UD
14187 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14188 __expl_finite.
14189 * math/bits/math-finite.h: Add entries for exp.
14190 * math/e_expl.c: Add __*_finite alias.
14191 * sysdeps/i386/fpu/e_exp.S: Likewise.
14192 * sysdeps/i386/fpu/e_expf.S: Likewise.
14193 * sysdeps/i386/fpu/e_expl.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14195 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14201
ba1a0d59
UD
14202 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14203 is sufficient, at least on modern CPUs.
14204
fd5bdc09
UD
14205 * ctype/ctype-info.c (__ctype_init): Define.
14206 * include/ctype.h (__ctype_init): Declare.
14207 (__ctype_b_loc): The variable is always initialized.
14208 (__ctype_toupper_loc): Likewise.
14209 (__ctype_tolower_loc): Likewise.
14210 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14211 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14212
7872cfb0
AS
142132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14214
b468825a
AS
14215 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14216
7872cfb0
AS
14217 * configure.in: Also look in $cxxmachine/include for C++ system
14218 headers.
14219
be13f7bf
LD
142202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14221
14222 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14223 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14224 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14225 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14226 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14227 (USE_AS_WMEMCMP): New macro.
14228 Fixing indents.
14229 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14230 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14231 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14232 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14234 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14235 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14236 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14237 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14238 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14239 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14240 (USE_AS_WMEMCMP): New macro.
14241 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14242 * sysdeps/string/test-memcmp.c: Update.
14243 Fix simple_wmemcmp.
14244 Add new tests.
14245 * wcsmbs/wmemcmp.c: Update.
14246 (WMEMCMP): New macro.
14247 Fix overflow bug.
14248
556a2007
AJ
142492011-10-12 Andreas Jaeger <aj@suse.de>
14250
14251 [BZ #13268]
14252 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14253
538faaa7
UD
142542011-10-15 Ulrich Drepper <drepper@gmail.com>
14255
ab6737ff
UD
14256 * libio/iofwide.c (do_length): Avoid warning.
14257
538faaa7
UD
14258 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14259
396a21b1
UD
142602011-10-14 Ulrich Drepper <drepper@gmail.com>
14261
cdf2901f
UD
14262 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14263
38ad40ce
UD
14264 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14265 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14266 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14267 * sysdeps/i386/i686/fpu/e_log.S: New file.
14268 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14269 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14270
396a21b1
UD
14271 * ctype/ctype.h: Add support for inlined isXXX functions when
14272 compiling C++ code.
14273
6b1f68c9
AS
142742011-10-14 Andreas Schwab <schwab@redhat.com>
14275
349290c0
AS
14276 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14277
6b1f68c9
AS
14278 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14279
f2282d42
RM
142802011-10-13 Roland McGrath <roland@hack.frob.com>
14281
14282 [BZ #13291]
14283 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14284
5298ffa8
AS
142852011-10-13 Andreas Schwab <schwab@redhat.com>
14286
714fad23
AS
14287 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14288 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14289 feraiseexcept.
14290
81dcc7fb
AS
14291 * sysdeps/x86_64/memrchr.S: Check for zero size.
14292
5298ffa8
AS
14293 * string/stratcliff.c: Add memrchr tests.
14294
951fbcec
LD
142952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14296
14297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14298 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14299 rawmemchr-sse2 rawmemchr-sse2-bsf.
14300 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14301 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14302 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14303 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14304 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14305 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14306 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14307 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14308 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14309 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14310 * string/memrchr.c (MEMRCHR): New macro.
14311
0ac5ae23
UD
143122011-10-12 Ulrich Drepper <drepper@gmail.com>
14313
14314 Add integration with gcc's -ffinite-math-only and optimize wrapper
14315 functions in libm.
14316 * Versions.def: Define GLIBC_2.15 version for libm.
14317 * math/Makefile (headers): Add bits/math-finite.h.
14318 * math/bits/math-finite.h: New file.
14319 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14320 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14321 * math/e_acoshl.c: Add __*_finite alias.
14322 * math/e_acosl.c: Likewise.
14323 * math/e_asinl.c: Likewise.
14324 * math/e_atan2l.c: Likewise.
14325 * math/e_atanhl.c: Likewise.
14326 * math/e_coshl.c: Likewise.
14327 * math/e_exp10.c: Likewise.
14328 * math/e_exp10f.c: Likewise.
14329 * math/e_exp10l.c: Likewise.
14330 * math/e_exp2l.c: Likewise.
14331 * math/e_fmodl.c: Likewise.
14332 * math/e_gammal_r.c: Likewise.
14333 * math/e_hypotl.c: Likewise.
14334 * math/e_j0l.c: Likewise.
14335 * math/e_j1l.c: Likewise.
14336 * math/e_jnl.c: Likewise.
14337 * math/e_lgammal_r.c: Likewise.
14338 * math/e_log10l.c: Likewise.
14339 * math/e_log2l.c: Likewise.
14340 * math/e_logl.c: Likewise.
14341 * math/e_powl.c: Likewise.
14342 * math/e_sinhl.c: Likewise.
14343 * math/e_sqrtl.c: Likewise.
14344 * math/e_scalb.c: Completely rewritten and optimized.
14345 * math/e_scalbf.c: Likewise.
14346 * math/e_scalbl.c: Likewise.
14347 * math/w_acos.c: Likewise.
14348 * math/w_acosf.c: Likewise.
14349 * math/w_acosl.c: Likewise.
14350 * math/w_acosh.c: Likewise.
14351 * math/w_acoshf.c: Likewise.
14352 * math/w_acoshl.c: Likewise.
14353 * math/w_asin.c: Likewise.
14354 * math/w_asinf.c: Likewise.
14355 * math/w_asinl.c: Likewise.
14356 * math/w_atan2.c: Likewise.
14357 * math/w_atan2f.c: Likewise.
14358 * math/w_atan2l.c: Likewise.
14359 * math/w_atanh.c: Likewise.
14360 * math/w_atanhf.c: Likewise.
14361 * math/w_atanhl.c: Likewise.
14362 * math/w_exp10.c: Likewise.
14363 * math/w_exp10f.c: Likewise.
14364 * math/w_exp10l.c: Likewise.
14365 * math/w_fmod.c: Likewise.
14366 * math/w_fmodf.c: Likewise.
14367 * math/w_fmodl.c: Likewise.
14368 * math/w_j0.c: Likewise.
14369 * math/w_j0f.c: Likewise.
14370 * math/w_j0l.c: Likewise.
14371 * math/w_j1.c: Likewise.
14372 * math/w_j1f.c: Likewise.
14373 * math/w_j1l.c: Likewise.
14374 * math/w_jn.c: Likewise.
14375 * math/w_jnf.c: Likewise.
14376 * math/w_log.c: Likewise.
14377 * math/w_logf.c: Likewise.
14378 * math/w_logl.c: Likewise.
14379 * math/w_log10.c: Likewise.
14380 * math/w_log10f.c: Likewise.
14381 * math/w_log10l.c: Likewise.
14382 * math/w_log2.c: Likewise.
14383 * math/w_log2f.c: Likewise.
14384 * math/w_log2l.c: Likewise.
14385 * math/w_pow.c: Likewise.
14386 * math/w_powf.c: Likewise.
14387 * math/w_powl.c: Likewise.
14388 * math/w_remainder.c: Likewise.
14389 * math/w_remainderf.c: Likewise.
14390 * math/w_remainderl.c: Likewise.
14391 * math/w_scalb.c: Likewise.
14392 * math/w_scalbf.c: Likewise.
14393 * math/w_scalbl.c: Likewise.
14394 * math/w_sqrt.c: Likewise.
14395 * math/w_sqrtf.c: Likewise.
14396 * math/w_sqrtl.c: Likewise.
14397 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14398 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14399 used.
14400 * math/math_private.h: Declare __kernel_standard_f.
14401 * math/w_cosh.c: Remove cruft and optimize a bit.
14402 * math/w_coshf.c: Likewise.
14403 * math/w_coshl.c: Likewise.
14404 * math/w_exp2.c: Likewise.
14405 * math/w_exp2f.c: Likewise.
14406 * math/w_exp2l.c: Likewise.
14407 * math/w_hypot.c: Likewise.
14408 * math/w_hypotf.c: Likewise.
14409 * math/w_hypotl.c: Likewise.
14410 * math/w_lgamma.c: Likewise.
14411 * math/w_lgamma_r.c: Likewise.
14412 * math/w_lgammaf.c: Likewise.
14413 * math/w_lgammaf_r.c: Likewise.
14414 * math/w_lgammal.c: Likewise.
14415 * math/w_lgammal_r.c: Likewise.
14416 * math/w_sinh.c: Likewise.
14417 * math/w_sinhf.c: Likewise.
14418 * math/w_sinhl.c: Likewise.
14419 * math/w_tgamma.c: Likewise.
14420 * math/w_tgammaf.c: Likewise.
14421 * math/w_tgammal.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14424 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14425 Minor optimizations. Pretty printing. Remove cruft.
14426 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14430 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14431 * sysdeps/i386/fpu/e_asin.S: Likewise.
14432 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14433 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14434 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14435 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14436 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14438 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14439 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14440 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14441 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14442 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14443 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14444 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14445 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14446 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14447 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14448 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14449 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14450 * sysdeps/i386/fpu/e_log.S: Likewise.
14451 * sysdeps/i386/fpu/e_log10.S: Likewise.
14452 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14454 * sysdeps/i386/fpu/e_log2.S: Likewise.
14455 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14457 * sysdeps/i386/fpu/e_logf.S: Likewise.
14458 * sysdeps/i386/fpu/e_logl.S: Likewise.
14459 * sysdeps/i386/fpu/e_pow.S: Likewise.
14460 * sysdeps/i386/fpu/e_powf.S: Likewise.
14461 * sysdeps/i386/fpu/e_powl.S: Likewise.
14462 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14463 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14464 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14465 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14468 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14469 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14470 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14492 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14495 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14496 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14497 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14498 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14499 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14500 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14501 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14504 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14505 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14506 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14507 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14508 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14509 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14510 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14511 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14512 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14513 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14514 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14516 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14517 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14519 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14521 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14527 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14528 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14529 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14530 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14531 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14554 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14556 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14559 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14564 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14565 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14566 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14567 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14568 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14569 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14570 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14571 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14572 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14573 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14574 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14575 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14576 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14578 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14579 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14581 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14582 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14583 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14584 (__isnanf): Likewise.
14585 (__isinf_ns): Likewise.
14586 (__isinf_nsf): Likewise.
14587 (__finite): Likewise.
14588 (__finitef): Likewise.
14589 (__ieee754_sqrt): Define as macro.
14590 (__ieee754_sqrtf): Define as macro.
14591 (__ieee754_sqrtl): Define as macro.
14592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14593 inlined copy.
14594 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14595 __FINITE_MATH_ONLY__ consistent.
14596 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14597
12cc2fcd
AS
145982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14599
a843a204
AS
14600 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14601 of rawmemchr.
14602
12cc2fcd
AS
14603 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14604
c853acd5
UD
146052011-10-09 Ulrich Drepper <drepper@gmail.com>
14606
14607 * po/ja.po: Update from translation team.
14608
c658d255
RM
146092011-10-08 Roland McGrath <roland@hack.frob.com>
14610
110946e4
RM
14611 * locale/programs/locarchive.c (prepare_address_space): New function.
14612 (create_archive, enlarge_archive, open_archive): Use it.
14613
50604220
RM
14614 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14615 inside [SHARED], where it is used.
14616
c658d255
RM
14617 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14618
14619 * nss/getent.c (netgroup_keys): Remove unused variable.
14620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14621
6a621eb7
UD
146222011-10-08 Ulrich Drepper <drepper@gmail.com>
14623
7edb55ce
UD
14624 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14628 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14629 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14630 * math/Makefile (libm-calls): Add s_isinf_ns.
14631 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14632 * math/multc3.c: Likewise.
14633 * math/s_casin.c: Likewise.
14634 * math/s_casinf.c: Likewise.
14635 * math/s_casinl.c: Likewise.
14636 * math/s_ccos.c: Likewise.
14637 * math/s_ccosf.c: Likewise.
14638 * math/s_ccosl.c: Likewise.
14639 * math/s_ctan.c: Likewise.
14640 * math/s_ctanf.c: Likewise.
14641 * math/s_ctanh.c: Likewise.
14642 * math/s_ctanhf.c: Likewise.
14643 * math/s_ctanhl.c: Likewise.
14644 * math/s_ctanl.c: Likewise.
14645 * math/w_fmod.c: Likewise.
14646 * math/w_fmodf.c: Likewise.
14647 * math/w_fmodl.c: Likewise.
14648 * math/w_remainder.c: Likewise.
14649 * math/w_remainderf.c: Likewise.
14650 * math/w_remainderl.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14652 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14655 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14656 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14657 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14658 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14659
187da0ae
UD
14660 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14661 of the number.
14662 * stdio-common/printf_fphex.c: Likewise.
14663 * stdio-common/printf_size.c: Likewise.
14664
9277c064
UD
14665 * math/e_exp10.c: Include math_private.h using <...> not "...".
14666 * math/e_exp10f.c: Likewise.
14667 * math/e_exp10l.c: Likewise.
14668 * math/e_exp2l.c: Likewise.
14669 * math/e_j0l.c: Likewise.
14670 * math/e_j1l.c: Likewise.
14671 * math/e_jnl.c: Likewise.
14672 * math/e_lgammal_r.c: Likewise.
14673 * math/e_rem_pio2l.c: Likewise.
14674 * math/e_scalb.c: Likewise.
14675 * math/e_scalbf.c: Likewise.
14676 * math/e_scalbl.c: Likewise.
14677 * math/k_cosl.c: Likewise.
14678 * math/k_sinl.c: Likewise.
14679 * math/k_tanl.c: Likewise.
14680 * math/s_cacoshf.c: Likewise.
14681 * math/s_catan.c: Likewise.
14682 * math/s_catanf.c: Likewise.
14683 * math/s_catanh.c: Likewise.
14684 * math/s_catanhf.c: Likewise.
14685 * math/s_catanhl.c: Likewise.
14686 * math/s_catanl.c: Likewise.
14687 * math/s_ccosh.c: Likewise.
14688 * math/s_ccoshf.c: Likewise.
14689 * math/s_ccoshl.c: Likewise.
14690 * math/s_cexp.c: Likewise.
14691 * math/s_cexpf.c: Likewise.
14692 * math/s_cexpl.c: Likewise.
14693 * math/s_clog.c: Likewise.
14694 * math/s_clog10.c: Likewise.
14695 * math/s_clog10f.c: Likewise.
14696 * math/s_clog10l.c: Likewise.
14697 * math/s_clogf.c: Likewise.
14698 * math/s_clogl.c: Likewise.
14699 * math/s_csin.c: Likewise.
14700 * math/s_csinf.c: Likewise.
14701 * math/s_csinh.c: Likewise.
14702 * math/s_csinhf.c: Likewise.
14703 * math/s_csinhl.c: Likewise.
14704 * math/s_csinl.c: Likewise.
14705 * math/s_csqrt.c: Likewise.
14706 * math/s_csqrtf.c: Likewise.
14707 * math/s_csqrtl.c: Likewise.
14708 * math/s_ctan.c: Likewise.
14709 * math/s_ctanf.c: Likewise.
14710 * math/s_ctanh.c: Likewise.
14711 * math/s_ctanhf.c: Likewise.
14712 * math/s_ctanhl.c: Likewise.
14713 * math/s_ctanl.c: Likewise.
14714 * math/s_ldexp.c: Likewise.
14715 * math/s_ldexpf.c: Likewise.
14716 * math/s_ldexpl.c: Likewise.
14717 * math/s_significand.c: Likewise.
14718 * math/s_significandf.c: Likewise.
14719 * math/s_significandl.c: Likewise.
14720 * math/w_acos.c: Likewise.
14721 * math/w_acosf.c: Likewise.
14722 * math/w_acosh.c: Likewise.
14723 * math/w_acoshf.c: Likewise.
14724 * math/w_acoshl.c: Likewise.
14725 * math/w_acosl.c: Likewise.
14726 * math/w_asin.c: Likewise.
14727 * math/w_asinf.c: Likewise.
14728 * math/w_asinl.c: Likewise.
14729 * math/w_atan2.c: Likewise.
14730 * math/w_atan2f.c: Likewise.
14731 * math/w_atan2l.c: Likewise.
14732 * math/w_atanh.c: Likewise.
14733 * math/w_atanhf.c: Likewise.
14734 * math/w_atanhl.c: Likewise.
14735 * math/w_cosh.c: Likewise.
14736 * math/w_coshf.c: Likewise.
14737 * math/w_coshl.c: Likewise.
14738 * math/w_dremf.c: Likewise.
14739 * math/w_exp10.c: Likewise.
14740 * math/w_exp10f.c: Likewise.
14741 * math/w_exp10l.c: Likewise.
14742 * math/w_exp2.c: Likewise.
14743 * math/w_exp2f.c: Likewise.
14744 * math/w_fmod.c: Likewise.
14745 * math/w_fmodf.c: Likewise.
14746 * math/w_fmodl.c: Likewise.
14747 * math/w_hypot.c: Likewise.
14748 * math/w_hypotf.c: Likewise.
14749 * math/w_hypotl.c: Likewise.
14750 * math/w_j0.c: Likewise.
14751 * math/w_j0f.c: Likewise.
14752 * math/w_j0l.c: Likewise.
14753 * math/w_j1.c: Likewise.
14754 * math/w_j1f.c: Likewise.
14755 * math/w_j1l.c: Likewise.
14756 * math/w_jn.c: Likewise.
14757 * math/w_jnf.c: Likewise.
14758 * math/w_jnl.c: Likewise.
14759 * math/w_lgamma.c: Likewise.
14760 * math/w_lgamma_r.c: Likewise.
14761 * math/w_lgammaf.c: Likewise.
14762 * math/w_lgammaf_r.c: Likewise.
14763 * math/w_lgammal.c: Likewise.
14764 * math/w_lgammal_r.c: Likewise.
14765 * math/w_log.c: Likewise.
14766 * math/w_log10.c: Likewise.
14767 * math/w_log10f.c: Likewise.
14768 * math/w_log10l.c: Likewise.
14769 * math/w_log2.c: Likewise.
14770 * math/w_log2f.c: Likewise.
14771 * math/w_log2l.c: Likewise.
14772 * math/w_logf.c: Likewise.
14773 * math/w_logl.c: Likewise.
14774 * math/w_pow.c: Likewise.
14775 * math/w_powf.c: Likewise.
14776 * math/w_powl.c: Likewise.
14777 * math/w_remainder.c: Likewise.
14778 * math/w_remainderf.c: Likewise.
14779 * math/w_remainderl.c: Likewise.
14780 * math/w_scalb.c: Likewise.
14781 * math/w_scalbf.c: Likewise.
14782 * math/w_scalbl.c: Likewise.
14783 * math/w_sinh.c: Likewise.
14784 * math/w_sinhf.c: Likewise.
14785 * math/w_sinhl.c: Likewise.
14786 * math/w_sqrt.c: Likewise.
14787 * math/w_sqrtf.c: Likewise.
14788 * math/w_sqrtl.c: Likewise.
14789 * math/w_tgamma.c: Likewise.
14790 * math/w_tgammaf.c: Likewise.
14791 * math/w_tgammal.c: Likewise.
14792
6a621eb7
UD
14793 * po/ja.po: Update from translation team.
14794
bf582445
AJ
147952011-09-29 Andreas Jaeger <aj@suse.de>
14796
f9efbf3a
AJ
14797 [BZ #13179]
14798 * sunrpc/netname.c (netname2host): Fix logic.
14799
bf582445
AJ
14800 [BZ #6779]
14801 [BZ #6783]
14802 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14803 correctly.
14804 * math/w_remainder.c (__remainder): Likewise.
14805 * math/w_remainderf.c (__remainderf): Likewise.
14806 * math/libm-test.inc (remainder_test): Add test cases.
14807
48693bea
AK
148082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14809
14810 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14811 sdiv_qrnnd.
14812
42622229
LD
148132011-10-07 Ulrich Drepper <drepper@gmail.com>
14814
14815 * string/test-memcmp.c: Avoid unncessary #defines.
14816 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14817
093ecf92
LD
148182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14819
14820 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14821 Use new sse2 version for core i3 - i7 as it's faster
14822 than sse42 version.
14823 (bit_Prefer_PMINUB_for_stringop): New.
14824 * sysdeps/x86_64/rawmemchr.S: Update.
14825 Replace with faster SSE2 version.
14826 * sysdeps/x86_64/memrchr.S: New file.
14827 * sysdeps/x86_64/memchr.S: Update.
14828 Replace with faster SSE2 version.
14829
fde56e5c
MP
148302011-09-12 Marek Polacek <mpolacek@redhat.com>
14831
14832 * elf/dl-load.c (lose): Add cast to avoid warning.
14833
21fd49a9
UD
148342011-10-07 Ulrich Drepper <drepper@gmail.com>
14835
5a06e643
UD
14836 * po/ca.po: Update from translation team.
14837
684ae515
UD
14838 * inet/getnetgrent_r.c: Hook up nscd.
14839 * nscd/Makefile (routines): Add nscd_netgroup.
14840 (nscd-modules): Add netgroupcache.
14841 (CFLAGS-netgroupcache.c): Define.
14842 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14843 (cache_search): Add const to second parameter.
14844 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14845 INNETGR.
14846 (dbs): Add netgrdb entry.
14847 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14848 (verify_persistent_db): Handle netgrdb.
14849 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14850 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14851 GETFDNETGR.
14852 (netgroup_response_header): Define.
14853 (innetgroup_response_header): Define.
14854 (datahead): Add netgroup_response_header and innetgroup_response_header
14855 elements.
14856 * nscd/nscd.conf: Add entries for netgroup cache.
14857 * nscd/nscd.h (dbtype): Add netgrdb.
14858 (_PATH_NSCD_NETGROUP_DB): Define.
14859 (netgroup_iov_disabled): Declare.
14860 (xmalloc, xcalloc, xrealloc): Move declarations here.
14861 (cache_search): Adjust prototype.
14862 Add netgroup-related prototypes.
14863 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14864 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14865 (__nscd_innetgr): Declare.
14866 * nscd/selinux.c (perms): Use access_vector_t as element type and
14867 add netgroup-related initializers.
14868 * nscd/netgroupcache.c: New file.
14869 * nscd/nscd_netgroup.c: New file.
14870 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14871 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14872 For four parameters use innetgr.
14873 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14874 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14875 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14876 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14877
21fd49a9
UD
14878 * nscd/connections.c (register_traced_file): Don't register file
14879 for disabled databases.
14880
054c0457
UD
148812011-10-06 Ulrich Drepper <drepper@gmail.com>
14882
32b63198
UD
14883 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14884
054c0457
UD
14885 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14886 from tree and freeing node.
14887
64031225
JO
148882011-09-25 Jiri Olsa <jolsa@redhat.com>
14889
14890 * nss/nsswitch.c (__nss_database_lookup): Handle
14891 nss_parse_service_list out of memory case.
14892
0490345c
JO
148932011-09-15 Jiri Olsa <jolsa@redhat.com>
14894
14895 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14896 out of memory case.
14897
3a62d00d
AS
148982011-10-04 Andreas Schwab <schwab@redhat.com>
14899
14900 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14901 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14902 pass it down.
14903 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14904 elf_machine_rela, elf_machine_lazy_rel.
14905 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14906 (ELF_DYNAMIC_DO_REL): Likewise.
14907 (ELF_DYNAMIC_DO_RELA): Likewise.
14908 (ELF_DYNAMIC_RELOCATE): Likewise.
14909 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14910 to ELF_DYNAMIC_DO_REL.
14911 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14912 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14913 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14914 elf_machine_rela.
14915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14916 skip_ifunc, don't call ifunc function if non-zero.
14917 (elf_machine_rela): Likewise.
14918 (elf_machine_lazy_rel): Likewise.
14919 (elf_machine_lazy_rela): Likewise.
14920 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14921 (elf_machine_lazy_rel): Likewise.
14922 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14923 Likewise.
14924 (elf_machine_lazy_rel): Likewise.
14925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14926 Likewise.
14927 (elf_machine_lazy_rel): Likewise.
14928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14929 (elf_machine_lazy_rel): Likewise.
14930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14931 (elf_machine_lazy_rel): Likewise.
14932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14933 (elf_machine_lazy_rel): Likewise.
14934 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14935 (elf_machine_lazy_rel): Likewise.
14936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14937 (elf_machine_lazy_rel): Likewise.
14938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14939 (elf_machine_lazy_rel): Likewise.
14940
68577918
UD
149412011-09-28 Ulrich Drepper <drepper@gmail.com>
14942
14943 * nss/nss_files/files-init.c (_nss_files_init): Use static
14944 initialization for all the *_traced_file variables.
14945
68822d74
AS
149462011-09-28 Andreas Schwab <schwab@redhat.com>
14947
14948 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14949
2056100b
RM
149502011-09-27 Roland McGrath <roland@hack.frob.com>
14951
14952 [BZ #13226]
14953 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14954
32c76b63
AS
149552011-09-27 Andreas Schwab <schwab@redhat.com>
14956
14957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14958 Reread the line before reparsing it.
14959
bf972c9d
AS
149602011-09-26 Andreas Schwab <schwab@redhat.com>
14961
14962 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14963
e057a1b5
JM
149642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14965 Maxim Kuvyrkov <maxim@codesourcery.com>
14966 Joseph Myers <joseph@codesourcery.com>
14967
14968 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14969 if needed for __stack_chk_guard.
14970
bc7e1c36
RM
149712011-09-19 Roland McGrath <roland@hack.frob.com>
14972
ecb1482f
RM
14973 * sysdeps/posix/spawni.c (script_execute): Always define it.
14974 It will be optimized away if unused.
14975 (maybe_script_execute): New function.
14976 (__spawni): Call it.
14977
bc7e1c36
RM
14978 * Makerules: Don't include tls.make.
14979 (config-tls): Always set to thread.
14980 * tls.make.c: File removed.
14981
1c3b002b
MF
149822011-09-19 Mike Frysinger <vapier@gentoo.org>
14983
14984 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14985 * config.make.in (CPPFLAGS-config): New substituted variable.
14986
2840865d
UD
149872011-09-15 Ulrich Drepper <drepper@gmail.com>
14988
88738eb6
UD
14989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14990
cbf645a6 14991 [BZ #13192]
2840865d
UD
14992 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14993 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14994
b402e91a
RM
149952011-09-15 Roland McGrath <roland@hack.frob.com>
14996
14997 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14998 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15000 (CALL_FAIL): Likewise.
15001 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15002 (CALL_FAIL): Macro removed.
15003 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15004
4c1a1f71
UD
150052011-09-15 Ulrich Drepper <drepper@gmail.com>
15006
15007 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15008 for __FINITE_MATH_ONLY__ == 1.
15009
edc121be
AS
150102011-09-15 Andreas Schwab <schwab@redhat.com>
15011
15012 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15013 __ieee754_sqrt instead of sqrt.
15014 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15015 __ieee754_sqrtf instead of sqrtf.
15016 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15017 __floorf instead of floorf.
15018 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15019 __floorf, __truncf instead of floorf, truncf.
15020
cd205654
UD
150212011-09-14 Ulrich Drepper <drepper@gmail.com>
15022
ee4d0315
UD
15023 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15024
cd205654
UD
15025 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15026 __extern_always_inline.
15027 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15028 32-bit.
15029
48b67d71
AS
150302011-09-14 Andreas Schwab <schwab@redhat.com>
15031
15032 * elf/rtld.c (dl_main): Also relocate in dependency order when
15033 doing symbol dependency testing.
15034
1ae12c75
AS
150352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15036
15037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15038 Always define `refsym'.
15039
995a80df
AS
150402011-09-13 Andreas Schwab <schwab@redhat.com>
15041
e529793b
AS
15042 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15043 (__FD_ELT): Renamed from __FDELT.
15044 * misc/bits/select2.h (__FD_ELT): Likewise.
15045 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15046 __FD_MASK instead of __FDELT, __FDMASK.
15047 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15048 Likewise.
15049 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15050 Likewise.
15051
52d4fef8
AS
15052 * elf/Makefile (gen-ldd): Fix pattern.
15053
995a80df
AS
15054 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15055 (init_tls): Likewise.
15056
8682f8b0
UD
150572011-09-12 Ulrich Drepper <drepper@gmail.com>
15058
15059 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15060
de82006d
AS
150612011-09-12 Andreas Schwab <schwab@redhat.com>
15062
a7c8e6a1
AS
15063 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15064 `struct cmsghdr *' instead of `void *'.
15065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15066 Likewise.
15067
0f31fe77
AS
150682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15069
15070 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15071 if non-absolute.
15072 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15073 ldd_rewrite_script.
0f31fe77 15074
32b4c839
UD
150752011-09-11 Ulrich Drepper <drepper@gmail.com>
15076
83cd1420
UD
15077 * configure.in: Remove --with-tls option.
15078 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15079 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15080 out in case it is missing.
15081 * sysdeps/ia64/elf/configure.in: Likewise.
15082 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15083 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15084 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15085 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15086 * sysdeps/sh/elf/configure.in: Likewise.
15087 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15088 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15089 * sysdeps/x86_64/elf/configure.in: Likewise.
15090 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15091 * sysdeps/mach/hurd/tls.h: Likewise.
15092
633f745d
UD
15093 [BZ #13067]
15094 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15095
f318beb8
UD
15096 [BZ #13090]
15097 * configure.in: Fix use of AC_INIT.
15098
32b4c839
UD
15099 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15100
3ce1f295
UD
151012011-09-10 Ulrich Drepper <drepper@gmail.com>
15102
bb016596
UD
15103 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15104 __set_errno.
8e58439c
UD
15105 * malloc/hooks.c: Likewise.
15106
aebae053 15107 [BZ #11929]
02d46fc4
UD
15108 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15109 variables statically.
15110 (narenas): Initialize.
15111 (list_lock): Initialize.
bb016596
UD
15112 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15113 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15114 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15115 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15116 Add initializers to main_arena and mp_.
15117 (malloc_state): Remove pagesize member. Change all users to use
15118 GLRO(dl_pagesize).
15119
15120 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15121 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15122 is always initialized.
15123
22a89187
UD
15124 * malloc/malloc.c: Removed unused configurations and dead code.
15125 * malloc/arena.c: Likewise.
15126 * malloc/hooks.c: Likewise.
02d46fc4 15127 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15128
d063d164
UD
15129 * include/tls.h: Removed. USE___THREAD must always be defined.
15130 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15131 * elf/dl-libc.c: Likewise.
15132 * elf/dl-tsd.c: Likewise.
15133 * include/errno.h: Likewise.
15134 * include/netdb.h: Likewise.
15135 * include/resolv.h: Likewise.
15136 * inet/herrno-loc.c: Likewise.
15137 * inet/herrno.c: Likewise.
15138 * malloc/arena.c: Likewise.
15139 * malloc/hooks.c: Likewise.
15140 * malloc/malloc.c: Likewise.
15141 * resolv/res-state.c: Likewise.
15142 * resolv/res_libc.c: Likewise.
15143 * sysdeps/i386/dl-machine.h: Likewise.
15144 * sysdeps/ia64/dl-machine.h: Likewise.
15145 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15146 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15147 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15148 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15149 * sysdeps/sh/dl-machine.h: Likewise.
15150 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15152 * sysdeps/unix/i386/sysdep.S: Likewise.
15153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15154 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15159 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15163 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15164 * sysdeps/x86_64/dl-machine.h: Likewise.
15165 * tls.make.c: Likewise.
15166
3ce1f295
UD
15167 * configure.in: Remove --with-__thread option. Make tests for
15168 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15169 tls_model attribute fail if no support is available. Remove
15170 USE_IN_LIBIO.
15171 * Makeconfig: Adjust for dropped configure option. All features are
15172 now mandatory.
15173 * Makerules: Likewise.
15174 * Versions.def: Likewise.
15175 * argp/argp-fmtstream.c: Likewise.
15176 * argp/argp-fmtstream.h: Likewise.
15177 * argp/argp-help.c: Likewise.
15178 * assert/assert.c: Likewise.
15179 * config.h.in: Likewise.
15180 * config.make.in: Likewise.
15181 * configure: Likewise.
15182 * configure.in: Likewise.
15183 * csu/Versions: Likewise.
15184 * csu/init.c: Likewise.
15185 * elf/tst-audit2.c: Likewise.
15186 * elf/tst-tls10.c: Likewise.
15187 * elf/tst-tls10.h: Likewise.
15188 * elf/tst-tls11.c: Likewise.
15189 * elf/tst-tls12.c: Likewise.
15190 * elf/tst-tls14.c: Likewise.
15191 * elf/tst-tlsmod11.c: Likewise.
15192 * elf/tst-tlsmod12.c: Likewise.
15193 * elf/tst-tlsmod13.c: Likewise.
15194 * elf/tst-tlsmod13a.c: Likewise.
15195 * elf/tst-tlsmod14a.c: Likewise.
15196 * elf/tst-tlsmod15b.c: Likewise.
15197 * elf/tst-tlsmod16a.c: Likewise.
15198 * elf/tst-tlsmod16b.c: Likewise.
15199 * elf/tst-tlsmod7.c: Likewise.
15200 * elf/tst-tlsmod8.c: Likewise.
15201 * elf/tst-tlsmod9.c: Likewise.
15202 * gmon/gmon.c: Likewise.
15203 * grp/fgetgrent_r.c: Likewise.
15204 * grp/putgrent.c: Likewise.
15205 * hurd/fopenport.c: Likewise.
15206 * include/libc-symbols.h: Likewise.
15207 * include/tls.h: Likewise.
15208 * intl/gettextP.h: Likewise.
15209 * intl/loadinfo.h: Likewise.
15210 * locale/global-locale.c: Likewise.
15211 * locale/localeinfo.h: Likewise.
15212 * mach/devstream.c: Likewise.
15213 * malloc/arena.c: Likewise.
15214 * malloc/set-freeres.c: Likewise.
15215 * misc/err.c: Likewise.
15216 * misc/getttyent.c: Likewise.
15217 * misc/mntent_r.c: Likewise.
15218 * posix/getopt.c: Likewise.
15219 * posix/wordexp.c: Likewise.
15220 * pwd/fgetpwent_r.c: Likewise.
15221 * resolv/Versions: Likewise.
15222 * resolv/res_hconf.c: Likewise.
15223 * shadow/fgetspent_r.c: Likewise.
15224 * shadow/putspent.c: Likewise.
15225 * stdio-common/printf_fphex.c: Likewise.
15226 * stdio-common/tmpfile.c: Likewise.
15227 * stdlib/abort.c: Likewise.
15228 * stdlib/fmtmsg.c: Likewise.
15229 * sunrpc/auth_unix.c: Likewise.
15230 * sunrpc/clnt_perr.c: Likewise.
15231 * sunrpc/clnt_tcp.c: Likewise.
15232 * sunrpc/clnt_udp.c: Likewise.
15233 * sunrpc/clnt_unix.c: Likewise.
15234 * sunrpc/openchild.c: Likewise.
15235 * sunrpc/svc_simple.c: Likewise.
15236 * sunrpc/svc_tcp.c: Likewise.
15237 * sunrpc/svc_udp.c: Likewise.
15238 * sunrpc/svc_unix.c: Likewise.
15239 * sunrpc/xdr.c: Likewise.
15240 * sunrpc/xdr_array.c: Likewise.
15241 * sunrpc/xdr_rec.c: Likewise.
15242 * sunrpc/xdr_ref.c: Likewise.
15243 * sunrpc/xdr_stdio.c: Likewise.
15244
1248c1c4
PB
152452011-09-09 Ulrich Drepper <drepper@gmail.com>
15246
15247 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15248
152492011-07-03 Andreas Jaeger <aj@suse.de>
15250
15251 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15253 regenerate with gen-libm-tests.pl.
15254
152552010-05-12 Petr Baudis <pasky@suse.cz>
15256
15257 [BZ #11589]
15258 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15259 around j0() zero points by switching to j1().
15260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15264
f22e1074
UD
152652011-09-09 Ulrich Drepper <drepper@gmail.com>
15266
f19009c1
UD
15267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15268 instead of 0.
15269 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15270 instead of 0. .
15271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15272 Patch in part by Pavel Roskin <proski@gnu.org>.
15273
3f8cc204
UD
15274 [BZ #13138]
15275 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15276 realloc.
15277 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15278 Free memory block if necessary.
15279
f22e1074
UD
15280 [BZ #12847]
15281 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15282 be NULL. Don't lock in this case.
15283
0a2349f9
RM
152842011-09-09 Roland McGrath <roland@hack.frob.com>
15285
15286 * elf/elf.h (ELFOSABI_GNU): New macro.
15287 (ELFOSABI_LINUX): Define to that.
15288
f3cdd467
DZ
152892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15290
15291 * string/strncat.c (strncat): Undef the symbol in case it has been
15292 defined in bits/string.h.
15293
74718d13
UD
152942011-09-09 Ulrich Drepper <drepper@gmail.com>
15295
633e9e0f
UD
15296 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15297
0a2349f9 15298 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15299 link map.
15300
f9924780
AJ
153012011-08-17 Andreas Jaeger <aj@suse.de>
15302
15303 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15304
7f5517aa
PP
153052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15306 Ian Lance Taylor <iant@google.com>
15307
15308 * math/libm-test.inc (lround_test): New testcase.
15309 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15310
762011fe
UD
153112011-09-08 Ulrich Drepper <drepper@gmail.com>
15312
92963737
UD
15313 * Makefile: Remove support for automatic cvs check-ins.
15314 * Makerules: Likewise.
15315 * config.make.in: Likewise.
15316 * configure.in: Likewise.
15317 * intl/Makefile: Likewise.
15318 * locale/Makefile: Likewise.
15319 * po/Makefile: Likewise.
15320 * posix/Makefile: Likewise.
15321 * sysdeps/gnu/Makefile: Likewise.
15322 * sysdeps/mach/hurd/Makefile: Likewise.
15323 * sysdeps/sparc/sparc32/Makefile: Likewise.
15324
b0727fd8
JS
15325 [BZ #13118]
15326 * posix/Makefile (bug-regex32-ENV): Define.
15327 Patch by John Stanley <jpsinthemix@verizon.net>.
15328
a0f33f99
UD
15329 * misc/Makefile (headers): Add bits/select2.h.
15330 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15331 * misc/bits/select2.h: New file.
15332 * include/bits/select2.h: New file.
15333 * debug/Makefile (routines): Add fdelt_chk.
15334 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15335 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15336 FD_ISSET.
15337 * debug/fdelt_chk.c: New file.
15338
762011fe
UD
15339 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15340 * wcsmbs/test-wmemcmp.c: Likewise.
15341 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15342 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15343
153442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15345
15346 * string/Makefile (strop-tests): Add memcmp.
15347 * string/test-wmemcmp.c: New file.
15348 * string/test-memcmp.c: Add wmemcmp support.
15349
7f513ec8
RM
153502011-09-08 Roland McGrath <roland@hack.frob.com>
15351
0442afb4
RM
15352 [BZ #13153]
15353 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15354 2011-07-19 change.
15355
7f513ec8
RM
15356 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15357 garbage value in a __mach_port_mod_refs call in the cases of the
15358 task-self and thread-self ports.
15359
a12b2239
ST
153602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15361
15362 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15363
610f9ab4
AS
153642011-09-08 Andreas Schwab <schwab@redhat.com>
15365
7f513ec8 15366 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15367
48882a1a
LD
153682011-09-07 Ulrich Drepper <drepper@gmail.com>
15369
b49865be
UD
15370 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15371
fdc86bc9
UD
15372 * elf/dl-libc.c (dlerror_run): Pass back error code from
15373 dl_catch_error.
15374
c966526a
UD
15375 [BZ #13123]
15376 * elf/dl-load.c (lose): Free l_origin if it is valid.
15377
48882a1a
LD
15378 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15379 names.
15380 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15383 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15384 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15385 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15386
77a2a8b4
AZ
153872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388
15389 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15390 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15392 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15393 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15394 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15395 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15396 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15397 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15398 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15399
24f579d8
AM
154002011-08-15 Alan Modra <amodra@gmail.com>
15401
15402 [BZ #13092]
15403 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15404 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15405 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15406 ppc_mcount to static-only-routines.
15407 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15408 __mcount_internal.
15409 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15410 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15411
3d4837df
UD
154122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15413
15414 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15415 for finite and infinity parameters.
15416
22700377
WS
154172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15418
15419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15420 and add nop instructions for throughput optimization.
15421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15422
5025581e
WS
154232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15424
15425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15426 aligned copy for power7 with vector-scalar instructions.
15427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15428
08a300c9
L
154292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15430
15431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15432 AVX check.
15433
59178ef9
AS
154342011-09-07 Andreas Schwab <schwab@redhat.com>
15435
15436 [BZ #13144]
15437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15438 last change.
15439
e38ba7ab
UD
154402011-09-07 Ulrich Drepper <drepper@gmail.com>
15441
15442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15443 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15444 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15445 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15446 clock_gettime.
15447
d53a73ac
UD
154482011-09-06 Ulrich Drepper <drepper@gmail.com>
15449
fc8bffcc
UD
15450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15451 Forgot to demangle the pointer.
15452
ceaa0c5d
UD
15453 * sysdeps/i386/sysdep.h: Define atom_text_section.
15454 * sysdeps/x86_64/sysdep.h: Likewise.
15455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15456 section with atom_text_section.
15457 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15459 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15461 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15462
a77d3c17
UD
15463 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15465 already be defined. Change to take two parameters and don't assign
15466 result to variable. Adjust all users.
15467 Define INTERNAL_GETTIME if not already defined.
15468 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15469 call.
15470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15471 HAVE_CLOCK_GETTIME_VSYSCALL.
15472 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15473
d53a73ac
UD
15474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15475 gettimeofday vsyscall, just use time.
15476
a8f84144
AS
154772011-09-06 Andreas Schwab <schwab@redhat.com>
15478
15479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15480 <errno.h>.
15481
ef606249
UD
154822011-09-06 Ulrich Drepper <drepper@gmail.com>
15483
15484 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15485 syscall on x86-64.
15486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15487 syscall.
15488 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15490 syscall if possible.
15491
6585cb60
UD
154922011-09-05 Ulrich Drepper <drepper@gmail.com>
15493
15494 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15495 e_ident. Don't pass to find_mapsXX.
15496 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15497
a5f524e4
LD
154982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15499
15500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15501 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15502 * sysdeps/x86_64/multiarch/strchr.S: Update.
15503 Check bit_slow_BSF bit.
15504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15505 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15506 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15507
554881ef
UD
155082011-09-05 Ulrich Drepper <drepper@gmail.com>
15509
d96de963
UD
15510 [BZ #13134]
15511 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15512 before glibc 2.15.
15513 (tryshell): Define.
15514 (__spawni): Change last parameter to be flag. Test
15515 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15516 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15517 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15518 * posix/spawni.c: Likewise.
15519 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15520 * posix/spawnp.c: Likewise. Change normal version to use
15521 SPAWN_XFLAGS_USE_PATH.
15522 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15523 SPAWN_XFLAGS_TRY_SHELL.
15524
d48e5868
UD
15525 [BZ #13150]
15526 * posix/glob.h: Remove gcc 1.x support.
15527
554881ef
UD
15528 [BZ #13068]
15529 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15530
693fb948
LD
155312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15532
15533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15534 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15535 strrchr-sse2-bsf
15536 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15537 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15542
1b48c537
UD
155432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15544
49d42c37
UD
15545 * sysdeps/x86_64/wcscmp.S: New file.
15546
1b48c537
UD
15547 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15548 wcscmp-c wcscmp-sse2
15549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15550 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15552 * wcsmbs/wcscmp.c: Allow renaming.
15553
15c95c5d
DM
155542011-09-05 David S. Miller <davem@davemloft.net>
15555
15556 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15557 stack slot, rather than the struct return pointer slot.
15558 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15559 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15562
2f0ad8f3
UD
155632011-09-05 Ulrich Drepper <drepper@gmail.com>
15564
d88ae418
UD
15565 * po/ja.po: Update from translation team.
15566
2f0ad8f3
UD
15567 [BZ #13144]
15568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15569 kernel in 64-bit binaries.
15570
5f4318d1
DM
155712011-09-01 David S. Miller <davem@davemloft.net>
15572
15573 * elf/elf.h (HWCAP_SPARC_*): Move to..
15574 * sysdeps/sparc/sysdep.h: this new file and add new values.
15575 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15576 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15577 _DL_HWCAP_COUNT to 24.
15578 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15579 entries.
15580 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15581 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15582 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15584 instead of magic constants.
15585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15586
3ba57516
DM
155872011-08-31 David S. Miller <davem@davemloft.net>
15588
15589 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15591 Reimplement to do errno handling inline.
15592 (SYSCALL_ERROR_HANDLER): New macro.
15593 (__SYSCALL_STRING): Do not do errno handling in asm.
15594 (__CLONE_SYSCALL_STRING): Delete.
15595 (__INTERNAL_SYSCALL_STRING): Delete.
15596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15597 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15598 (PSEUDO): Reimplement to do errno handling inline.
15599 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15600 (SYSCALL_ERROR_HANDLER): New macro.
15601 (__SYSCALL_STRING): Do not do errno handling in asm.
15602 (__CLONE_SYSCALL_STRING): Delete.
15603 (__INTERNAL_SYSCALL_STRING): Delete.
15604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15605 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15606 i386.
15607 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15608 (inline_syscall*): Add 'err' argument.
15609 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15610 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15611 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15612 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15613
15614 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15615 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15616
2bc17433
AS
156172011-08-30 Andreas Schwab <schwab@redhat.com>
15618
15619 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15620
fbeb5f4d
JO
156212011-08-29 Jiri Olsa <jolsa@redhat.com>
15622
15623 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15624 directive.
15625
ad69cc26
DM
156262011-08-24 David S. Miller <davem@davemloft.net>
15627
15628 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15629
39dd69df
AS
156302011-08-24 Andreas Schwab <schwab@redhat.com>
15631
15632 * elf/Makefile: Add rules to build and run unload8 test.
15633 * elf/unload8.c: New file.
15634 * elf/unload8mod1.c: New file.
15635 * elf/unload8mod1x.c: New file.
15636 * elf/unload8mod2.c: New file.
15637 * elf/unload8mod3.c: New file.
15638
15639 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15640 it wasn't used.
15641
2c0b250a
DM
156422011-08-23 David S. Miller <davem@davemloft.net>
15643
15644 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15645 subtract stack bias.
15646 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15647 %sp not %fp in calculations.
15648 (_JMPBUF_UNWINDS_ADJ): Likewise.
15649
22044b48
DM
15650 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15651 (aio_suspend): Call it to force an exception region around the
15652 AIO_MISC_WAIT() invocation.
15653
2cae4995
AS
156542011-08-23 Andreas Schwab <schwab@redhat.com>
15655
15656 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15657 backslash.
15658
873a772e
AJ
156592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15660
15661 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15662 protection macro.
15663 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15664 and <dl-machine.h>.
15665 (Elf64_FuncDesc): Remove.
15666
25ad0df1
DM
156672011-08-22 David S. Miller <davem@davemloft.net>
15668
15669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15670 sigaltstack check, add missing cfi directives.
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15672 missing cfi directives, and sigaltstack handling.
15673
e888bcbe
AS
156742011-08-16 Andreas Schwab <schwab@redhat.com>
15675
15676 [BZ #11724]
15677 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15678 object is seen twice.
15679 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15680
15681 * elf/Makefile (distribute): Add tst-initorder2.c.
15682 (tests): Add tst-initorder2.
15683 (modules-names): Add tst-initorder2a tst-initorder2b
15684 tst-initorder2c tst-initorder2d. Add rules to build them.
15685 ($(objpfx)tst-initorder2.out): New rule.
15686 * elf/tst-initorder2.c: New file.
15687 * elf/tst-initorder2.exp: New file.
15688
87162f46
AS
156892011-08-22 Andreas Schwab <schwab@redhat.com>
15690
70538b7f
AS
15691 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15692
f55ffe58
AS
15693 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15694 dependencies back to end of function.
15695
87162f46
AS
15696 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15697 $(elfobjdir)/ld.so.
15698
91b392a4
UD
156992011-08-21 Ulrich Drepper <drepper@gmail.com>
15700
15701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15702 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15704 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15705 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15706 of __vdso_gettimeofday.
15707 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15708 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15709 attribute_hidden.
15710 (_libc_vdso_platform_setup): Remove initialization of
15711 __vdso_gettimeofday and __vdso_time.
15712
5c43483f
UD
157132011-08-20 Ulrich Drepper <drepper@gmail.com>
15714
775a77e7
UD
15715 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15716 and fgetc_unlocked.
15717 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15718 getc_unlocked.
89f447ed 15719
49c74ba9
UD
15720 * elf/dl-open.c (add_to_global): Report additions to the global scope
15721 for LD_DEBUG=scopes.
15722 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15723 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15724
5c43483f
UD
15725 [BZ #13114]
15726 * stdio-common/Makefile (tests): Add bug24.
15727 * stdio-common/bug24.c: New file.
15728
a101b025
AJ
157292011-08-19 Andreas Jaeger <aj@suse.de>
15730
15731 [BZ #13114]
15732 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15733 non-existant file when using close-on-exec mode.
15734
c88f1766
UD
157352011-08-20 Ulrich Drepper <drepper@gmail.com>
15736
0276a718
UD
15737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15738 the very first instruction.
15739
c88f1766
UD
15740 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15741 the CFI state in the end.
15742 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15743 inclusion of dl-trampoline.h.
15744 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15745
51ccffa0
AS
157462011-08-19 Andreas Schwab <schwab@redhat.com>
15747
94d7165f
AS
15748 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15749 expectations for long double.
15750
51ccffa0
AS
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15752 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15753
fd708658 157542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15755
15756 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15757 artificual limit depends upon the system page size.
15758
44f0a71e
UD
157592011-08-17 Ulrich Drepper <drepper@gmail.com>
15760
15761 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15762 * resolv/Makefile: Define CFLAGS-libresolv.
15763
8de79a24
AS
157642011-08-17 Andreas Schwab <schwab@redhat.com>
15765
15766 * nss/makedb.c (compute_tables): Make variables used in nested
15767 function static.
15768
27724598
UD
157692011-08-17 Ulrich Drepper <drepper@gmail.com>
15770
c5305d88
UD
15771 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15772 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15773 if buffer was too small.
15774
27724598
UD
15775 * elf/pldd.c (main): Attach to all threads in the process.
15776 Rewrite /proc handling to use *at functions.
15777
076fe015
UD
157782011-08-16 Ulrich Drepper <drepper@gmail.com>
15779
174baab3
UD
15780 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15781 specifies first scope to show.
15782 (dl_open_worker): Update callers. Move printing scope of new
15783 object to before the relocation.
44f0a71e 15784 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15785 * sysdeps/generic/ldsodefs.h: Update declaration.
15786
076fe015
UD
15787 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15788 string for the scope number.
15789
a60df2c3
UD
157902011-08-14 Ulrich Drepper <drepper@gmail.com>
15791
15792 * nscd/servicescache.c (cache_addserv): Make sure written is always
15793 initialized.
15794
5e4287d1
RM
157952011-08-14 Roland McGrath <roland@hack.frob.com>
15796
85ae0589
RM
15797 * sysdeps/i386/i486/bits/atomic.h
15798 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15799 statement expression, so as to suppress "set but not used" warning.
15800 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15801
69f63097
RM
15802 * string/strncat.c (STRNCAT): Use prototype definition.
15803
675456ef
RM
15804 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15805 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15806 -Iprograms here.
15807 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15808 (localedef-modules): Add localedef.
15809 (locale-modules): Add locale.
15810
5e4287d1
RM
15811 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15812 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15813 to avoid a warning.
15814
9c96ff23
DM
158152011-08-14 David S. Miller <davem@davemloft.net>
15816
15817 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15818 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15819
f9ddf089
UD
158202011-08-13 Ulrich Drepper <drepper@gmail.com>
15821
44f0a71e 15822 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15823 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15824 * elf/rtld.c (dl_main): Set l_name of vDSO.
15825 Call _dl_show_scope when DL_DEBUG_SCOPES.
15826 (process_dl_debug): Recognize scopes flag and also set it for all.
15827 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15828 Declare _dl_show_scope.
15829
1dc27704
UD
15830 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15831 (do_dlopen): Pass caller_dlopen to dl_open.
15832 (__libc_dlopen_mode): Initialize caller_dlopen.
15833
f9ddf089
UD
15834 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15835 of libc. Make tolower call locale-independent. Optimize a bit by
15836 using isdigit instead of isalnum.
15837 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15838
9ac533d3
UD
158392011-08-12 Ulrich Drepper <drepper@gmail.com>
15840
15841 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15842 was a dependency or dynamically loaded.
15843
89edf2e9
UD
158442011-08-11 Ulrich Drepper <drepper@gmail.com>
15845
8e999d29
UD
15846 * intl/l10nflist.c: Allow architecture-specific pop function.
15847 * sysdeps/x86_64/l10nflist.c: New file.
15848
89edf2e9
UD
15849 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15850 classification.
15851
14d96785
AS
158522011-08-10 Andreas Schwab <schwab@redhat.com>
15853
15854 * include/dirent.h: Add libc_hidden_proto for scandirat and
15855 scandirat64. Don't declare __scandirat64.
15856 * dirent/scandirat.c: Add libc_hidden_def.
15857 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15858 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15859
6761ac04
DM
158602011-08-10 David S. Miller <davem@davemloft.net>
15861
15862 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15863 enum.
15864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15867
c55fbd1e
UD
158682011-08-09 Ulrich Drepper <drepper@gmail.com>
15869
15870 * Versions.def [libc]: Add GLIBC_2.15.
15871 * dirent/Makefile (routines): Add scandirat and scandirat64.
15872 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15873 GLIBC_2.15.
15874 * dirent/dirent.h: Declare scandirat and scandirat64.
15875 * dirent/scandirat.c: New file.
15876 * dirent/scandirat64.c: New file.
15877 * sysdeps/wordsize-64/scandirat.c: New file.
15878 * sysdeps/wordsize-64/scandirat64.c: New file.
15879 * dirent/opendir.c: Define opendirat.
15880 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15881 using scandirat.
15882 * dirent/scandir64.c: Adjust for scandir.c change.
15883 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15884 __scandirat64, and __scandir_cancel_handler.
15885 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15886 additional parameter and use openat instead of open (outside of ld.so).
15887 Add new __opendir as wrapper around __opendirat.
15888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15889 here without requiring old scandirat implementation.
15890
879165f2
UD
158912011-08-08 Ulrich Drepper <drepper@gmail.com>
15892
15893 * dirent/scandir.c (cancel_handler): Renamed to
15894 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15895 defined. Adjust users.
15896 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15898
cb7e923b
UD
158992011-08-04 Ulrich Drepper <drepper@gmail.com>
15900
16292edd
UD
15901 * string/test-string.h (IMPL): Use __STRING to expand name and then
15902 stringify it.
15903
cb7e923b
UD
15904 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15905 of cleanups.
15906
cff82933
LD
159072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15908
15909 * string/Makefile: Update.
15910 (strop-tests): Append strncat.
15911 * string/test-wcscmp.c: New file.
15912 New comprehensive test for wcscmp.
15913 * string/test-strcmp.c: Update.
15914 (WIDE): New define.
15915
9be9bfcc
AS
159162011-07-22 Andreas Schwab <schwab@redhat.com>
15917
15918 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15919 line.
15920
2e96f1c7
AS
159212011-07-26 Andreas Schwab <schwab@redhat.com>
15922
15923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15924 encoding to ACE if AI_IDN.
15925
85188888
JJ
159262011-08-01 Jakub Jelinek <jakub@redhat.com>
15927
15928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15929 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15930
5fa16e9b
LD
159312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15932
15933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15934 Fix overflow bug in strncat.
15935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15936
15937 * string/test-strncat.c: Update.
15938 Add new tests for checking overflow bugs.
15939
159402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15941
15942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15943 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15944 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15945 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15947 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15948 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15949 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15950 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15951
15952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15953 (USE_AS_STRCAT): Define.
15954 Add strcat and strncat support.
15955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15956
8c1a459f
AS
159572011-07-25 Andreas Schwab <schwab@redhat.com>
15958
15959 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15960 __n bigger than INT_MAX+1.
15961 (__strncmp_g): Likewise.
15962
bba33c28
UD
159632011-07-23 Ulrich Drepper <drepper@gmail.com>
15964
798be72d
UD
15965 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15966 * libio/stido.h: Likewise.
15967
8accd4dc
UD
15968 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15969 (AF_NFC): Define.
15970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15971 (AF_NFC): Define.
15972
cbff0d96
UD
15973 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15975 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15976 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15978
9191c04a
UD
15979 [BZ #13021]
15980 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15981 installed.
15982
bba33c28
UD
15983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15984 typo.
15985 (_dl_x86_64_save_sse): Likewise.
15986
90f139dd
UD
159872011-07-22 Ulrich Drepper <drepper@gmail.com>
15988
1aae088a
UD
15989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15990 OSXSAVE.
15991 (_dl_x86_64_save_sse): Likewise.
15992
8e2045f5
UD
15993 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15994
90f139dd
UD
15995 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15996
1d002f25
AS
159972011-07-21 Andreas Schwab <schwab@redhat.com>
15998
15999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16000 change.
16001 (_dl_x86_64_save_sse): Use correct AVX check.
16002
21137f89
UD
160032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16004
16005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16006 bug in strncpy/strncat.
16007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16008
a65c0b7a
UD
160092011-07-21 Ulrich Drepper <drepper@gmail.com>
16010
16011 * string/tester.c (test_strcat): Add tests for different alignments
16012 of source and destination.
16013 (test_strncat): Likewise.
16014
6986b98a
UD
160152011-07-20 Ulrich Drepper <drepper@gmail.com>
16016
90bb2039
UD
16017 [BZ #12852]
16018 * posix/glob.c (glob): Check passed in values before using them in
16019 expressions to avoid some overflows.
16020 (glob_in_dir): Likewise.
16021
5644ef54
UD
16022 [BZ #13007]
16023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16024 check for AVX enablement so that we don't crash with old kernels and
16025 new hardware.
16026 * elf/tst-audit4.c: Add same checks here.
16027 * elf/tst-audit6.c: Likewise.
16028
16029 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16030
bfc9dc9b
AS
160312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16032
16033 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16034
702e64bb
UD
160352011-07-20 Ulrich Drepper <drepper@gmail.com>
16036
16037 * po/cs.po: Update from translation team.
16038 * po/bg.po: Likewise.
16039
295e904f
MP
160402011-07-12 Marek Polacek <mpolacek@redhat.com>
16041
16042 * misc/sys/cdefs.h: Add support for const attribute.
16043 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16044 to gnu_dev_{major,minor,makedev} functions.
16045
3ff94596
MP
160462011-07-20 Marek Polacek <mpolacek@redhat.com>
16047
16048 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16049
28b59fca
AS
160502011-07-20 Andreas Schwab <schwab@redhat.com>
16051
16052 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16053 strlen results.
16054
19df733e
AK
160552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16056
16057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16058 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16059 register in order to avoid conflicts with the soft frame pointer
16060 being held in r11 when necessary.
16061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16062 (INTERNAL_VSYSCALL_NCS): Likewise.
16063
c8835729
MP
160642011-07-14 Marek Polacek <mpolacek@redhat.com>
16065
16066 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16067 * elf/dl-fini.c (_dl_fini): Adjust caller.
16068 * elf/dl-close.c (_dl_close_worker): Likewise.
16069 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16070
b902330c
MP
160712011-07-15 Marek Polacek <mpolacek@redhat.com>
16072
8991e135
MP
16073 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16074 "aux_cache->nlibs < 0".
16075
b902330c
MP
16076 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16077 in the reload-count case.
16078
99710781
LD
160792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16080
16081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16082 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16083 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16085 * sysdeps/x86_64/multiarch/strcat.S: New file.
16086 * sysdeps/x86_64/multiarch/strncat.S: New file.
16087 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16089 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16090 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16092 (USE_AS_STRCAT): Define.
16093 Add strcat and strncat support.
16094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16096 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16097 * string/strncat.c: Update.
16098 (USE_AS_STRNCAT): Define.
16099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16100 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16101 and i7.
16102 * sysdeps/x86_64/multiarch/init-arch.h
16103 (bit_Prefer_PMINUB_for_stringop): New.
16104 (index_Prefer_PMINUB_for_stringop): Likewise.
16105 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16106 bit_Prefer_PMINUB_for_stringop.
16107
7dc6bd90
UD
161082011-07-19 Ulrich Drepper <drepper@gmail.com>
16109
16110 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16111 buffer64.
16112 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16113 of casting of buffer.
16114 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16115 buffer32 and buffer64.
16116 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16117 writes instead of casting of buffer.
16118 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16119 buffer32.
16120 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16121 casting of buffer.
16122
e0e72284
AS
161232011-07-19 Andreas Schwab <schwab@redhat.com>
16124
16125 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16126
feb1eb0b
UD
161272011-07-19 Ulrich Drepper <drepper@gmail.com>
16128
16129 * nscd/nscd.c (termination_handler): Don't do anything for a database
16130 if it has not yet been initialized.
16131
298711ff
UD
161322011-07-18 Ulrich Drepper <drepper@gmail.com>
16133
16134 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16135
161362011-07-15 Marek Polacek <mpolacek@redhat.com>
16137
16138 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16139
f9d68389
UD
161402011-07-18 Ulrich Drepper <drepper@gmail.com>
16141
16142 * po/nl.po: Update from translation team.
16143 * po/sv.po: Likewise.
16144
db290cf5
RM
161452011-07-16 Roland McGrath <roland@hack.frob.com>
16146
16147 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16148 now disallowed by GCC.
5c550700 16149
fd5e21c7
RM
16150 * configure.in (use-default-link): Default to yes if a test -shared
16151 link meets our qualifications.
16152 * configure: Regenerated.
16153
5c550700
RM
16154 * config.make.in (output-format): New variable.
16155 * configure.in: Check for ld --print-output-format support.
16156 * configure: Regenerated.
16157 * Makerules ($(common-objpfx)format.lds)
16158 [$(output-format) != unknown]: Just use $(output-format),
16159 instead of the linker-script munging.
16160
9fa2c032
RM
161612011-07-14 Roland McGrath <roland@hack.frob.com>
16162
a6928d51
RM
16163 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16164 of $(common-objpfx)shlib.lds.
16165 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16166
661607b3
RM
16167 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16168 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16169
9fa2c032
RM
16170 * configure.in (-z relro check): Adjust test code to add a large
16171 writable data section after it.
16172 * configure: Regenerated.
16173
defe9061
RM
161742011-07-11 Roland McGrath <roland@hack.frob.com>
16175
16176 * configure.in (-z relro check): Fix test code to make the variable
16177 truly const.
16178 * configure: Regenerated.
16179
319b9ad4
UD
161802011-07-11 Ulrich Drepper <drepper@gmail.com>
16181
16182 * nscd/nscd.h (struct traced_file): Define.
16183 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16184 elements. Add traced_files.
16185 (inotify_fd): Declare.
16186 (register_traced_file): Declare.
16187 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16188 (inotify_fd): Export.
16189 (resolv_conf_descr): Remove.
16190 (nscd_init): Move inotify descriptor creation to main.
16191 Don't register files for notification here.
16192 (register_traced_file): New function.
16193 (invalidate_cache): Don't use reset_res to determine whether to call
16194 res_init, go through the list of registered files.
16195 (main_loop_poll): The inotify descriptors are now stored in the
16196 structures for the traced files.
16197 (main_loop_epoll): Likewise
16198 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16199 to __nss_disable_nscd.
16200 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16201 for a database anymore. Check the records for all the registered
16202 files instead.
16203 * nss/Makefile (libnss_files-routines): Add files-init.
16204 (libnss_db-routines): Add db-init.
16205 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16206 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16207 * nss/nss_db/db-init.c: New file.
16208 * nss/nss_files/files-init.c: New file.
16209 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16210 __nss_lookup_function.
16211 (__nss_lookup_function): Call nss_load_library.
16212 (nss_load_all_libraries): New function.
16213 (__nss_disable_nscd): Take parameter with callback function for files
16214 to register. Set is_nscd. Load all the DSOs for the NSS modules
16215 used for the cached services.
16216 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16217 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16218 options for features to all the files in nscd.
16219
16220 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16221
23bee3e8
RM
162222011-07-10 Roland McGrath <roland@hack.frob.com>
16223
16224 * csu/elf-init.c (__libc_csu_init): Comment typo.
16225
46a5b7f0
UD
162262011-07-09 Ulrich Drepper <drepper@gmail.com>
16227
16228 * po/pl.po: Update from translation team.
16229 * po/ja.po: Likewise.
16230 * po/ru.po: Likewise.
16231 * po/ko.po: Likewise.
16232 * po/fr.po: Likewise.
16233
d30cf5bb
RM
162342011-07-09 Roland McGrath <roland@hack.frob.com>
16235
113ddea4
RM
16236 * configure.in (.ctors/.dtors header and trailer check):
16237 Use an empirical test on a built program.
16238 * configure: Regenerated.
16239
574920b4
RM
16240 * configure.in (-z relro check): Use an empirical test on a built DSO.
16241 Detect, but do not require, on ia64.
16242 * configure: Regenerated.
16243
d30cf5bb
RM
16244 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16245 Update tests that use readelf to use $READELF instead.
16246 * configure: Regenerated.
16247
8538fdb3
UD
162482011-07-08 Ulrich Drepper <drepper@gmail.com>
16249
16250 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16251 if the result is not used.
16252
04d08991
AJ
162532011-07-05 Andreas Jaeger <aj@suse.de>
16254
16255 [BZ#9696]
16256 * stdlib/tst-strtod.c: Add testcase.
16257
de283087
AD
162582011-07-07 Ulrich Drepper <drepper@gmail.com>
16259
4e5f31c8 16260 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16261 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16262 The latter has a higher limit. Take additional parameter to pass to
16263 the new function.
16264 (__pathconf): Pass file to __statfs_link_max.
16265 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16266 __statfs_link_max.
16267 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16268 __statfs_link_max.
16269
de283087
AD
16270 [BZ #12868]
16271 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16273 Handle Lustre.
16274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16275 (__statfs_filesize_max): Likewise.
16276 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16277
c75fa153
AJ
162782011-07-05 Andreas Jaeger <aj@suse.de>
16279
16280 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16281
1a544854
UD
162822011-07-06 Marek Polacek <mpolacek@redhat.com>
16283
16284 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16285 `status' variable.
16286 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16287 Likewise.
16288
6f0eec67
UD
162892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 * Makefile (strop-tests): Add strncat.
16292 * string/test-strncat.c: New file.
16293
aae30307
UD
162942011-06-30 Marek Polacek <mpolacek@redhat.com>
16295
16296 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16297
c0cfb5eb
UD
162982011-06-21 Andreas Jaeger <aj@suse.de>
16299
16300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16301 Copy rule from iconvdata/Makefile.
16302
01636b21
UD
163032011-07-06 Ulrich Drepper <drepper@gmail.com>
16304
16305 [BZ #12922]
16306 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16307 but no long options are defined, just return 'W'.
16308
9895c8bc
UD
163092011-06-22 Marek Polacek <mpolacek@redhat.com>
16310
16311 [BZ #9696]
16312 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16313
5d4cf042
UD
163142011-07-06 Ulrich Drepper <drepper@gmail.com>
16315
16316 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16317 netgroups to read.
960e5535 16318 (innetgr): Likewise.
5d4cf042 16319
751eb97e
RM
163202011-07-05 Roland McGrath <roland@hack.frob.com>
16321
16322 * config.make.in (install_root): Default to $(DESTDIR).
16323
f15f1e45
UD
163242011-07-05 Ulrich Drepper <drepper@gmail.com>
16325
16326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16327
4e34ac6a
RM
163282011-07-02 Roland McGrath <roland@hack.frob.com>
16329
5e9b6af4
RM
16330 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16331
84f9ea0f
RM
16332 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16333 containing directory rather than embedding absolute directory names.
16334
ea5ee9f7
RM
16335 * scripts/check-local-headers.sh: Rewritten using awk.
16336 Match by word, not by line. Print error messages for matches.
16337 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16338
1b74661a
RM
16339 * Makerules [shlib-lds-flags empty]:
16340 ($(common-objpfx)libc_pic.opts): New target.
16341 ($(common-objpfx)libc_pic.os.clean): New target.
16342 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16343
16344 * config.make.in (OBJCOPY): New variable.
16345 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16346 * configure: Regenerated.
16347
f781ef40
RM
16348 * config.make.in (use-default-link): New variable.
16349 * configure.in (use_default_link): Grok --with-default-link to set it.
16350 * configure: Regenerated.
16351 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16352 (shlib-lds, shlib-lds-flags): Define to empty.
16353
2d4fa81e
RM
16354 * Makerules (shlib-lds): New variable.
16355 (shlib-lds-flags): New variable.
16356 (build-shlib, build-moduile, build-module-asneeded): Use it.
16357 ($(common-objpfx)libc.so): Use $(shlib-lds).
16358 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16359 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16360
31fffa6b
RM
16361 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16362 DT_FLAGS/DT_FLAGS_1 with zero flags.
16363
4e34ac6a
RM
16364 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16365 linker script munging.
16366
fcfc776b
UD
163672011-07-02 Ulrich Drepper <drepper@gmail.com>
16368
16369 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16370 as 128-bit value.
16371 * crypt/sha512.c (sha512_process_block): Perform total addition using
16372 128-bit if possible.
16373 (__sha512_finish_ctx): Likewise.
16374 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16375 as 64-bit value.
16376 * crypt/sha256.c (SWAP64): Define.
16377 (sha256_process_block): Perform total addition using 64-bit if
16378 possible.
16379 (__sha256_finish_ctx): Likewise.
16380
99231d9a
UD
163812011-07-01 Ulrich Drepper <drepper@gmail.com>
16382
16383 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16385 * nscd/hstcache.c (cache_addhst): Likewise.
16386 * nscd/grpcache.c (cache_addgr): Likewise.
16387 * nscd/aicache.c (addhstaiX): Likewise
16388 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16389
445b4a53
TK
163902011-07-01 Thorsten Kukuk <kukuk@suse.de>
16391
16392 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16394 * nscd/hstcache.c (cache_addhst): Likewise.
16395 * nscd/grpcache.c (cache_addgr): Likewise.
16396 * nscd/aicache.c (addhstaiX): Likewise
16397
6d4d8e8e
AS
163982011-07-01 Andreas Schwab <schwab@redhat.com>
16399
16400 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16401 domain only when needed.
16402
89f654c5
AS
164032011-06-30 Andreas Schwab <schwab@redhat.com>
16404
16405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16406 is always restored.
16407
cf3b23ff
UD
164082011-06-29 Ulrich Drepper <drepper@gmail.com>
16409
16410 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16411 are re-adding the entry.
16412 * nscd/servicescache.c (cache_addserv): Likewise.
16413
751626f9
AJ
164142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16415
16416 * sysdeps/generic/dl-irel.h: fix protection against multiple
16417 inclusions.
16418 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16419
9113ea1f
UD
164202011-06-28 Ulrich Drepper <drepper@gmail.com>
16421
5c0b8d90
UD
16422 [BZ #12935]
16423 * malloc/memusage.sh: Fix quoting in message.
16424 * debug/xtrace.sh: Likewise.
16425
9113ea1f
UD
16426 * configure.in: Remove support for --experimental-malloc option, make
16427 it the default.
16428 * config.make.in: Likewise.
16429 * malloc/Makefile: Likewise.
16430
a4172181
AS
164312011-06-27 Andreas Schwab <schwab@redhat.com>
16432
16433 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16434 two-byte characters.
16435
78a7eee7
RM
164362011-06-27 Roland McGrath <roland@hack.frob.com>
16437
62bede13
RM
16438 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16439 AC_CACHE_CHECK invocation.
16440 * configure: Regenerated.
16441
78a7eee7
RM
16442 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16443
5ce33a62
UD
164442011-06-27 Ulrich Drepper <drepper@gmail.com>
16445
034807a9
UD
16446 [BZ #12350]
16447 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16448 bit from old_res_options.
16449
4902da17
UD
16450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16451
5ce33a62
UD
16452 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16453 value type for setfct.
16454
c2344f56
L
164552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16456
16457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16458 __gettimeofday instead of gettimeofday.
16459
68468076
UD
164602011-06-26 Ulrich Drepper <drepper@gmail.com>
16461
16462 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16463
acb0d739
L
164642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16467
16468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16469 info.
16470
8912479f
L
164712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16474 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16475 strcpy-sse2-unaligned strncpy-sse2-unaligned
16476 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16477 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16478 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16479 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16480 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16483 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16484 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16485 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16486 (STRCPY): Support SSE2 and SSSE3 versions.
16487
d5495a11
UD
164882011-06-24 Ulrich Drepper <drepper@gmail.com>
16489
16490 [BZ #12874]
16491 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16492 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16493 kernels which artificially limit size of requests.
16494
0b1cbaae
L
164952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16498 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16499 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16500 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16501 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16502 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16503 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16504 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16505 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16507 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16508 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16509 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16510 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16511 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16513 Enable unaligned load optimization for Intel Core i3, i5 and i7
16514 processors.
16515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16516 Define.
16517 (index_Fast_Unaligned_Load): Define.
16518 (HAS_FAST_UNALIGNED_LOAD): Define.
16519
07f494a0
MP
165202011-06-23 Marek Polacek <mpolacek@redhat.com>
16521
16522 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16523
fa3fc0fe
UD
165242011-06-22 Ulrich Drepper <drepper@gmail.com>
16525
16526 [BZ #12907]
16527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16528 until it is clear that the information is realy needed.
16529 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16530
e12df166
AS
165312011-06-22 Andreas Schwab <schwab@redhat.com>
16532
16533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16534
852eb34d
UD
165352011-06-22 Ulrich Drepper <drepper@gmail.com>
16536
84e2a551
UD
16537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16538 /sys/devices/system/cpu/online if it is usable.
16539
852eb34d
UD
16540 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16541 reading the information from the /proc filesystem to once a second.
16542
6e502e19
UD
165432011-06-21 Andreas Jaeger <aj@suse.de>
16544
16545 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16546 NULL after inclusion of kernel headers.
16547
75d39ff2
UD
165482011-06-21 Ulrich Drepper <drepper@gmail.com>
16549
51f9aa6a
UD
16550 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16551 calls to internal_setent.
16552
c0244a9d
UD
16553 [BZ #12885]
16554 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16555 addresses using gethostbyname4_r ignore IPv4 addresses.
16556
c5e3c2ae
UD
16557 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16558 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16559
75d39ff2
UD
16560 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16561
42675c6f
DM
165622011-06-20 David S. Miller <davem@davemloft.net>
16563
16564 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16565 inclusions.
16566 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16567
16568 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16569 (elf_irel): Use it.
16570 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16571 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16572 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16573 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16574 * sysdeps/x86_64/dl-irel.h: Likewise.
16575
16576 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16577 * elf/dl-sym.c: Likewise.
16578
57912a71
UD
165792011-06-15 Ulrich Drepper <drepper@gmail.com>
16580
16581 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16582 need to dereference resplen2.
16583
ee22793d
AS
165842011-06-14 Andreas Schwab <schwab@redhat.com>
16585
16586 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16587
a9e836b0
UD
165882011-06-15 Ulrich Drepper <drepper@gmail.com>
16589
77fb9117
UD
16590 * Makeconfig: Define vardbdir and inst_vardbdir.
16591 * nss/Makefile: Add rules to install db-Makefile.
16592
40c1b22c
UD
16593 * nss/nss_db/db-XXX.c: Cleanup.
16594
9f2da732
UD
16595 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16596 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16597 GLIBC_PRIVATE.
16598 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16599 * nss/makedb.c: Implement -g option to specify that value strings
16600 are generated and should not be added to table iterated over for
16601 get*ent calls.
16602 * nss/nss_db/db-initgroups.c: New file.
16603
82e9a1f7
UD
16604 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16605 interface.
16606
c41af17e
UD
16607 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16608 (internal_getgrouplist): Adjust to name change.
16609 Update use_initgroups_entry if this is not the first call.
16610 * nss/databases.def: Add initgroups entry.
16611
a9e836b0
UD
16612 * nss/makedb.c (compute_tables): Check result of multiple hash table
16613 sizes to minimize maximum chain length.
16614
2666d441
UD
166152011-06-14 Ulrich Drepper <drepper@gmail.com>
16616
16617 * Versions.def: Add entry for libnss_db.
16618 * shlib-versions: Likewise.
16619 * nss/Makefile: Add rules to build libnss_db.
16620 * nss/Versions: Add libnss_db information. Organize libnss_files
16621 entries better.
16622 * nss/db-Makefile: Add gshadow support. Change rules for the new
16623 makedb progra. Some minor improvements to generate smaller files.
16624 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16625 here from...
16626 * nss/makedb.c: ...here.
16627 Improve database format to be smaller and require less memory at
16628 runtime.
16629 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16630 db anymore.
16631 * nss/nss_db/db-netgrp.c: Likewise.
16632 * nss/nss_db/db-open.c: Likewise.
16633 * nss/nss_files/flies-XXX.x: Adjust comments.
16634 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16635 * nss/nss_files/files-grp.c: Likewise.
16636 * nss/nss_files/files-hosts.c: Likewise.
16637 * nss/nss_files/files-network.c: Likewise.
16638 * nss/nss_files/files-proto.c: Likewise.
16639 * nss/nss_files/files-pwd.c: Likewise.
16640 * nss/nss_files/files-rpc.c: Likewise.
16641 * nss/nss_files/files-service.c: Likewise.
16642 * nss/nss_files/files-sgrp.c: Likewise.
16643 * nss/nss_files/files-spwd.c: Likewise.
16644 * nss/nss_db/db-alias.c: Removed.
16645 * nss/nss_db/dummy-db.h: Removed.
16646
9ee76b5a
UD
166472011-06-02 Ulrich Drepper <drepper@gmail.com>
16648
16649 * nss/makedb.c: Rewritten to not use database library.
16650 * nss/Makefile: Update to build new makedb program.
16651
c71ca1f8
AJ
166522011-06-14 Andreas Jaeger <aj@suse.de>
16653
16654 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16655 memset declaration.
16656
3154bfb8
UD
166572011-06-10 Andreas Schwab <schwab@redhat.com>
16658
16659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16660 tmpbuf.
16661
b350afab
RM
166622011-06-10 Roland McGrath <roland@hack.frob.com>
16663
decd4e50
RM
16664 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16665 * elf/Makefile ($(objpfx)ld.so): Likewise.
16666
5615eaf2
RM
16667 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16668 Don't list ld.so twice in dependencies.
16669
16670 * posix/bug-regex31.c: Include <stdlib.h>.
16671
16672 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16673
16674 * nis/nss_compat/compat-spwd.c
16675 (getspent_next_nss_netgr): Remove unused variable.
16676 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16677
16678 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16679 nonmembers" output to use the right array.
16680
16681 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16682
16683 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16684
16685 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16686 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16687 * catgets/gencat.c (read_input_file): Likewise.
16688 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16689
16690 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16691 variable definition inside #if's controlling its use.
16692
16693 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16694
16695 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16696
16697 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16698
16699 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16700 unreachable code.
16701
16702 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16703
b68e08db
RM
16704 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16705 * configure: Regenerated.
16706
b350afab
RM
16707 * Makerules: Revert last change.
16708 * elf/Makefile: Likewise.
16709
28368601
RM
167102011-06-09 Roland McGrath <roland@hack.frob.com>
16711
16712 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16713 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16714 (reloc-link): Likewise.
16715
11988f8f
UD
167162011-06-09 Ulrich Drepper <drepper@gmail.com>
16717
16718 * elf/Makefile: Add rules to build pldd.
16719 * elf/pldd.c: New file.
16720 * elf/pldd-xx.c: New file.
16721
e80fab37
UD
167222011-06-07 Ulrich Drepper <drepper@gmail.com>
16723
16724 * version.h: Update for 2.15 development version.
16725
9b849836
DM
167262011-06-07 David S. Miller <davem@davemloft.net>
16727
16728 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16729 ifuncs.
16730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16731 elf_machine_lazy_rel): Likewise.
16732 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16734 elf_machine_lazy_rel): Likewise.
16735 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16736 dl_hwcap via passed in argument.
16737 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16738 Likewise.
16739
5a31b283
AK
167402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16741
16742 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16743
069e52f8
RM
167442011-06-06 Roland McGrath <roland@hack.frob.com>
16745
16746 [BZ #12849]
16747 * manual/fdl-1.1.texi: New file, verbatim from:
16748 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16749 * manual/lgpl-2.1.texi: New file, verbatim from:
16750 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16751 * manual/Makefile (licenses): New variable, list those new file names.
16752 (texis): Use it.
16753 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16754
16755 * manual/fdl.texi: File removed.
16756 * manual/lesser.texi: File removed.
16757 * manual/libc.texinfo (Copying, Documentation License):
16758 Use new @include file names, put @appendix directive before @include.
16759
f16846a5
JJ
167602011-06-04 Jakub Jelinek <jakub@redhat.com>
16761
16762 [BZ #12841]
16763 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16764 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16765 (mq_open): Add __NTH.
16766
3d29045b
L
167672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16768
16769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16770 Assume Intel Core i3/i5/i7 processor if AVX is available.
16771
8c297311
UD
167722011-05-31 Ulrich Drepper <drepper@gmail.com>
16773
16774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16775 typo.
16776
c8fc0c91
UD
167772011-05-31 Andreas Schwab <schwab@redhat.com>
16778
16779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16780 memory. Use alloca_account. Fix memory leak when retrying.
16781
5b27a807
UD
167822011-05-31 Ulrich Drepper <drepper@gmail.com>
16783
356f8bc6
UD
16784 * version.h (RELEASE): Bump for 2.14 release.
16785 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16786
5b27a807
UD
16787 * config.make.in (RANLIB): Remove entry.
16788
01f16ab0
UD
167892011-05-30 Ulrich Drepper <drepper@gmail.com>
16790
41fce8bd
UD
16791 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16792 (libc.pot): Work around missing support for .ksh extension in xgettext.
16793
4769ae77
UD
16794 [BZ #12684]
16795 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16796 if both request failed.
16797 (send_dg): In case of server errors clear resplen or *resplen2.
16798
6b1e7d19
UD
16799 [BZ #12454]
16800 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16801 when there are multiple maps.
16802 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16803 (_dl_fini): Remove test here.
16804
01f16ab0
UD
16805 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16806
b1ebd700
UD
168072011-05-29 Ulrich Drepper <drepper@gmail.com>
16808
7ae22829
UD
16809 [BZ #12350]
16810 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16811 bit from old_res_options.
16812 (gaih_inet): Likewise.
16813
553149f6 16814 [BZ #11099]
18a84741 16815 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16816 as signed.
16817
652ffab1
UD
16818 * resolv/res_init.c (res_setoptions): Make the code more compact.
16819
16985fd0
UD
16820 [BZ #11558]
16821 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16822 set RES_USEVC.
16823
0464f746
UD
16824 [BZ #11634]
16825 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16826
7d17596c
UD
16827 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16828
cf6bbbd7
UD
16829 [BZ #11781]
16830 * malloc/malloc.h: Declare malloc hook variables as volatile.
16831
13f1ab36
UD
16832 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16833 in last patch.
16834
b1ebd700
UD
16835 [BZ #11799]
16836 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16837 raise in the comment.
80e2212d
UD
16838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16840 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16841
ce67228d
UD
168422011-05-28 Ulrich Drepper <drepper@gmail.com>
16843
8887a920
UD
16844 [BZ #12811]
16845 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16846 grow the buffers more if it already has to be sufficient.
16847 (build_wcs_upper_buffer): Likewise.
16848 * posix/regexec.c (check_matching): Likewise.
16849 (clean_state_log_if_needed): Likewise.
16850 (extend_buffers): Don't enlarge buffers beyond size of the input
16851 buffer.
16852 Patches mostly by Emil Wojak <emil@wojak.eu>.
16853 * posix/bug-regex32.c: New file.
16854 * posix/Makefile (tests): Add bug-regex32.
16855
4f031072
UD
16856 * locale/findlocale.c (_nl_find_locale): Return right away if
16857 _nl_explode_name failed.
16858 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16859
d0478f0c
UD
16860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16861
de81b246
UD
16862 * debug/xtrace.sh: Unify messages.
16863 * malloc/memusage.sh: Likewise.
16864
c738465a
UD
16865 [BZ #12813]
16866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16867 time symbol from vDSO. Substitute with vsyscall if not available.
16868 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16869 __vdso_time.
16870
f1f929d7
UD
16871 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16872 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16873 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16874 Add sendmmsg and internal_sendmmsg.
16875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16877 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16878
ce67228d
UD
16879 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16880 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16882
e57420c6
UD
168832011-05-27 Ulrich Drepper <drepper@gmail.com>
16884
a8509ca5
UD
16885 [BZ #12813]
16886 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16887 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16888 available.
16889 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16890 __vdso_getcpu.
16891
e57420c6
UD
16892 [BZ #12814]
16893 * iconvdata/Makefile (tests): Add bug-iconv9.
16894 * iconvdata/bug-iconv9.c: New file.
16895
4d07db15
AS
168962011-05-27 Andreas Schwab <schwab@redhat.com>
16897
16898 [BZ #12814]
16899 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16900
ea486f69
JJ
169012011-05-25 Jakub Jelinek <jakub@redhat.com>
16902
16903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16904 (struct user_regs_struct): Change intcs field back to cs.
16905
6f038433
UD
169062011-05-25 Ulrich Drepper <drepper@gmail.com>
16907
16908 * po/ja.po: Update from translation team.
16909
67f86a25
UD
169102011-05-23 Ulrich Drepper <drepper@gmail.com>
16911
16912 [BZ #12795]
16913 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16915
def7fbd6
AS
169162011-05-20 Andreas Schwab <schwab@redhat.com>
16917
16918 * stdlib/longlong.h: Update from GCC.
16919
f50ef8f1
AS
169202011-05-23 Andreas Schwab <schwab@redhat.com>
16921
16922 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16923 parameter name.
16924 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16925 Add parameter name.
16926 (__sysconf): Pass it down.
16927
de7ce8f1
UD
169282011-05-22 Ulrich Drepper <drepper@gmail.com>
16929
f2962a71
UD
16930 [BZ #12671]
16931 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16932 some situations.
16933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16934 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16935 add in in __libc_use_alloca calls. Adjust callers.
16936 (glob): Use malloc in some situations.
16937
de7ce8f1
UD
16938 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16939 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16940 pltexit.
16941
aec84f53
UD
169422011-05-21 Ulrich Drepper <drepper@gmail.com>
16943
05bb4a68
UD
16944 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16945 and CLOCK_BOOTTIME_ALARM.
16946
7ea72f99
UD
16947 [BZ #12782]
16948 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16949 is returned.
16950
7e4afad5
UD
16951 * string/_strerror.c (__strerror_r): Print negative errors as signed
16952 numbers.
16953
8e211fec
UD
16954 [BZ #12777]
16955 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16956 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16957 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16958
f7d82dc9
UD
16959 * configure.in: Fix typo in redirection and correct removal of test
16960 files in two cases.
16961
cc9e536d
UD
16962 [BZ #12788]
16963 * locale/setlocale.c (new_composite_name): Fix test to check for
16964 identical name of all categories.
16965
aec84f53
UD
16966 [BZ #12792]
16967 * libio/filedoalloc.c (local_isatty): New function.
16968 (_IO_file_doallocate): Use local_isatty.
16969 * stdio-common/perror.c (perror): In case a new stream is used
16970 forward the stream error.
16971 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16972 error flag.
16973
78e64fdc
RT
169742011-05-20 Ulrich Drepper <drepper@gmail.com>
16975
34a9094f
UD
16976 [BZ #11869]
16977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16978 alloca.
16979 * include/alloca.h (extend_alloca_account): Define.
16980
78e64fdc
RT
16981 [BZ #11857]
16982 * posix/regex.h: Fix comments with documentation of user-accessible
16983 fields after compilation and describe correct free'ing of pattern
16984 after re_compile_pattern.
16985 Patch by Reuben Thomas <rrt@sc3d.org>.
16986
457bddfc
RA
169872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16988
16989 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16990 and -mno-altivec to prevent the compiler from using Altivec and/or
16991 VSX instructions when the corresponding registers are not available.
16992
a4527b51
AS
169932011-05-19 Andreas Schwab <schwab@redhat.com>
16994
16995 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16996
ed690b2f
UD
169972011-05-19 Ulrich Drepper <drepper@gmail.com>
16998
16999 * libio/freopen.c (freopen): Use __dup2, not dup2.
17000 * libio/freopen64.c (freopen64): Likewise.
17001
8db73634
L
170022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 [BZ #12775]
17005 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17006 * math/Makefile (tests): Add test-powl.
17007 (CFLAGS-test-powl.c): Define.
17008 * math/test-powl.c: New file.
17009
0a197a9d
L
170102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17013
ee30c380
UD
170142011-05-17 Ulrich Drepper <drepper@gmail.com>
17015
17016 [BZ #11837]
17017 * iconvdata/gb18030.c: Update to GB18020-2005.
17018
6ce75379
UD
170192011-05-16 Ulrich Drepper <drepper@gmail.com>
17020
a4b89fd8
AR
17021 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17022 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17023 Patch by Aharon Robbins <arnold@skeeve.com>.
17024
ea389b12
UD
17025 [BZ #11892]
17026 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17027 on the stack.
17028
68a3f91f
UD
17029 [BZ #11895]
17030 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17031 through underflows.
17032
15cc7dd1
UD
17033 [BZ #12766]
17034 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17035 point to strings before performing equality test for error_one_per_line
17036 mode.
17037
f3799213
UD
17038 [BZ #11697]
17039 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17040
d79a9c94
UD
17041 [BZ #11820]
17042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17043 (struct user_fpregs_struct): Avoid __uint*_t types.
17044
56e5eb46
UD
17045 [BZ #6420]
17046 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17047 symbol info. Use it instead of calling _dl_addr locally.
17048 (lock_and_info): New function.
17049 (tr_freehook): Call lock_and_info and pass symbol info as additional
17050 parameter to tr_where.
17051 (tr_mallochook): Likewise.
17052 (tr_reallochook): Likewise.
17053 (tr_memalignhook): Likewise.
17054
6ce75379
UD
17055 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17056 used and couldn't be at all thread-safe.
17057
f8a3b5bf
UD
170582011-05-15 Ulrich Drepper <drepper@gmail.com>
17059
94b7cc37
UD
17060 * libio/freopen.c (freopen): Don't close old file descriptor
17061 before the new one is opened. Instead dup the new file descriptor
17062 to the old one after the new stream is created.
17063 * libio/freopen64.c (freopen64): Likewise.
17064 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17065 * libio/fileops.c (_IO_new_file_close_it): Handle new
17066 _IO_FLAGS2_NOCLOSE flag.
17067 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17068 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17069 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17070 _IO_FLAGS2_NOCLOSE flag.
17071 * include/unistd.h: Add hidden_proto for dup3.
17072 Define __have_dup3.
17073 * io/dup3.c: Define hidden symbol.
17074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17075
bd25564e
UD
17076 [BZ #7101]
17077 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17078 when an incomplete long option is used.
17079 * posix/tst-getopt_long1.c: New file.
17080 * posix/Makefile (tests): Add tst-getopt_long1.
17081
c84cfef4
UD
17082 [BZ #10138]
17083 * scripts/config.guess: Update from autoconf-2.68.
17084 * scripts/config.sub: Likewise.
17085
3b85df27
UD
17086 [BZ #10157]
17087 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17088 tests into ...
17089 (has_cpuclock): ...this. New function.
17090 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17091 macro here based on has_cpuclock code.
17092
15a856b1
UD
17093 [BZ #10149]
17094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17095 First byte (not low byte) is now always NUL.
17096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17097
05f399e6
UD
17098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17099 Use non-cancelable interfaces.
17100
10a52685 17101 [BZ #9809]
94ecc67d
UD
17102 * locale/iso-639.def: Add entry for Sorani.
17103
f8a3b5bf
UD
17104 [BZ #11901]
17105 * include/stdlib.h: Move include protection to the right place.
17106 Define abort_msg_s. Declare __abort_msg with it.
17107 * stdlib/abort.c (__abort_msg): Adjust type.
17108 * assert/assert.c (__assert_fail_base): New function. Majority
17109 of code from __assert_fail. Allocate memory for __abort_msg with
17110 mmap.
17111 (__assert_fail): Now call __assert_fail_base.
17112 * assert/assert-perr.c: Remove bulk of implementation. Use
17113 __assert_fail_base.
17114 * include/assert.hL Declare __assert_fail_base.
17115 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17116 mmap.
17117 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17118
1af4e298
UD
171192011-05-14 Ulrich Drepper <drepper@gmail.com>
17120
f8a3b5bf 17121 [BZ #11952]
d26dfc60
MG
17122 [BZ #12453]
17123 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17124 until all modules are registered in the DTV.
17125 * elf/Makefile: Add rules to build and run tst-tls19.
17126 * elf/tst-tls19.c: New file.
17127 * elf/tst-tls19mod1.c: New file.
17128 * elf/tst-tls19mod2.c: New file.
17129 * elf/tst-tls19mod3.c: New file.
17130 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17131
2fc54d6f
UD
17132 [BZ #12083]
17133 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17134 correctly.
17135
98d76b46
UD
17136 [BZ #12601]
17137 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17138 two-byte sequence errors.
17139 * iconvdata/Makefile (tests): Add bug-iconv8.
17140 * iconvdata/bug-iconv8.c: New file.
17141
da3c19ef
UD
17142 [BZ #12626]
17143 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17144 buf2 definition.
17145
ca408c15
UD
17146 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17147
d6f67f7d
UD
17148 [BZ #12432]
17149 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17150 (dummy_getcfa): New function.
17151 (init): Get _Unwind_GetCFA address, use dummy if not found.
17152 (backtrace_helper): In recursion check, also check whether CFA changes.
17153 (__backtrace): Completely initialize arg.
17154
1af4e298 17155 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17156 storing incomplete byte sequence in state object. Avoid testing for
17157 guaranteed too small input if we know there is enough data available.
1af4e298 17158
da62f81b
AS
171592011-05-11 Andreas Schwab <schwab@redhat.com>
17160
17161 * Makeconfig (+link-pie): Indent.
17162 * Rules (binaries-pie): Define if $(have-fpie) and
17163 $(build-shared).
17164 (binaries-shared): Also filter out $(binaries-pie).
17165 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17166 * nscd/Makefile (others-pie): Add nscd.
17167 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17168 ($(objpfx)nscd): Remove command override.
17169 * login/Makefile (others-pie): Add pt_chown.
17170 ($(objpfx)pt_chown): Remove command override.
17171 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17172 remove command overrides.
17173
fcabc0f8
UD
171742011-05-13 Ulrich Drepper <drepper@gmail.com>
17175
20030ae6
UD
17176 * libio/tst_putwc.c: Fix error messages.
17177
fcabc0f8
UD
17178 [BZ #12724]
17179 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17180 currently writing and seek to current position when not.
17181 * libio/Makefile (tests): Add bug-fclose1.
17182 * libio/bug-fclose1.c: New file.
17183
320a5dc0
PB
171842011-05-12 Ulrich Drepper <drepper@gmail.com>
17185
17186 [BZ #12511]
17187 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17188 don't set DF_1_NODELETE here.
17189 (do_lookup_x): When entering new entry test for copy relocation
17190 and if necessary set DF_1_NODELETE flag.
17191 * elf/tst-unique4.cc: New file.
17192 * elf/tst-unique4.h: New file.
17193 * elf/tst-unique4lib.cc: New file.
17194 * elf/Makefile: Add rules to build and run tst-unique4.
17195 Patch by Piotr Bury <pbury@goahead.com>.
17196
22836f52
UD
171972011-05-11 Ulrich Drepper <drepper@gmail.com>
17198
f574184a
UD
17199 [BZ #12052]
17200 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17201
e1fb097f
UD
17202 [BZ #12625]
17203 * misc/mntent_r.c (addmntent): Flush the stream after the output
17204
22836f52
UD
17205 [BZ #12393]
17206 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17207 (is_trusted_path_normalize): Skip initial colon. Append slash
17208 to empty buffer. Duplicate is_trusted_path code but allow
17209 constructed patch to be prefix.
17210 (is_dst): Allow $ORIGIN followed by /.
17211 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17212 Correct testing of result of is_trusted_path_normalize
17213 (decompose_rpath): Fix warning.
17214
7b3b0b2a
UD
172152011-05-10 Ulrich Drepper <drepper@gmail.com>
17216
17217 [BZ #11257]
17218 * grp/initgroups.c (internal_getgrouplist): When we found the service
17219 list through the initgroups entry in nsswitch.conf do not always
17220 continue on a successful lookup. Don't always use the
eac80ce2 17221 __nss_group_database value if it is set.
7b3b0b2a
UD
17222 * nss/nsswitch.conf (initgroups): Change action for successful db
17223 lookup to continue for compatibility.
17224
2a81eaa5
UD
172252011-05-09 Ulrich Drepper <drepper@gmail.com>
17226
be97a69e
UD
17227 [BZ #11532]
17228 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17229 and CP774 modules.
17230 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17231 and CP774 modules.
17232 * iconvdata/tst-tables.sh: Likewise.
17233 * iconvdata/cp770.c: New file.
17234 * iconvdata/cp771.c: New file.
17235 * iconvdata/cp772.c: New file.
17236 * iconvdata/cp773.c: New file.
17237 * iconvdata/cp774.c: New file.
17238 * iconvdata/testdata/CP770: New file.
17239 * iconvdata/testdata/CP770..UTF8: New file.
17240 * iconvdata/testdata/CP771: New file.
17241 * iconvdata/testdata/CP771..UTF8: New file.
17242 * iconvdata/testdata/CP772: New file.
17243 * iconvdata/testdata/CP772..UTF8: New file.
17244 * iconvdata/testdata/CP773: New file.
17245 * iconvdata/testdata/CP773..UTF8: New file.
17246 * iconvdata/testdata/CP774: New file.
17247 * iconvdata/testdata/CP774..UTF8: New file.
17248
17249 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17250 END CHARMAP line.
17251 * iconvdata/gen-8bit-gap.sh: Likewise.
17252 * iconvdata/gen-8bit.sh: Likewise.
17253
c1e9e399
UD
17254 * locale/iso-639.def: Add ary entry.
17255
24c55fb3 17256 [BZ #11258]
96b4b1b0
UD
17257 * locale/C-translit.h.in: Add U20A1 transliteration.
17258
bdc2f971
KB
17259 [BZ #12178]
17260 * locale/iso-639.def: Add wae entry.
17261 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17262
2952b117
UD
17263 [BZ #12545]
17264 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17265 for n.
17266
2a81eaa5
UD
17267 [BZ #12711]
17268 * locale/C-translit.h.in: Add entry for U20B9.
17269 Patch by pravin.d.s@gmail.com.
17270
28377d1b
UD
172712011-05-08 Ulrich Drepper <drepper@gmail.com>
17272
7fb90fb8
UD
17273 [BZ #12713]
17274 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17275 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17276 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17277 in rtld. Use *stat64.
7fb90fb8 17278 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17279 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17280 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17281 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17282 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17283 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17284 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17285 __fstatat64 macros.
7fb90fb8
UD
17286 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17287 * dirent/rewinddir.c: Add libc_hidden_def.
17288 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17289 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17290
28377d1b
UD
17291 * include/dirent.h (__alloc_dir): Add flags parameter.
17292 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17293 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17294 __alloc_dir.
17295 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17296 from fdopendir if O_CLOEXEC is already set.
17297
66bdbaa4
AM
172982011-03-15 Alan Modra <amodra@gmail.com>
17299
17300 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17301 l_tls_firstbyte_offset non-zero. Save padding offset in
17302 l_tls_firstbyte_offset for later use.
17303 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17304 freeing static tls block.
17305
95721191
JN
173062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17307
17308 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17309 where #ifdef was intended. The intent is to prevent ARG_MAX from
17310 being defined by the kernel headers.
17311
f87dfb1f
UD
173122011-05-07 Ulrich Drepper <drepper@gmail.com>
17313
17314 [BZ #12734]
17315 * resolv/resolv.h: Define RES_NOTLDQUERY.
17316 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17317 no-tld-query and set RES_NOTLDQUERY.
17318 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17319 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17320 modern BIND to search name as TLD unless forbidden.
17321
47c3cd7a
UD
173222011-05-07 Petr Baudis <pasky@suse.cz>
17323 Ulrich Drepper <drepper@gmail.com>
17324
17325 [BZ #12393]
17326 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17327 (is_trusted_path): ...to here.
c1e9ea35 17328 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17329 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17330 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17331
8a35c912
PP
173322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17333
17334 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17335 __BEGIN/__END_DECLS.
17336
acd41f47
UD
173372011-05-06 Ulrich Drepper <drepper@gmail.com>
17338
17339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17340 NSS_STATUS_NOTFOUND if no record was found.
17341
597df647
AS
173422011-05-05 Andreas Schwab <schwab@redhat.com>
17343
17344 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17345 (headers-not-in-tirpc): Remove rpc/netdb.h
17346 * resolv/netdb.h: Revert last change.
17347
b9af1301
PP
173482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17349
17350 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17351 circular dependency between libgcc.a and libc.a.
17352
4e34d5f5
AS
173532011-05-05 Andreas Schwab <schwab@redhat.com>
17354
17355 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17356 * nis/Makefile: Don't install rpcsvc/*.
17357 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17358 instead of <rpc/types.h>.
17359 (MAXHOSTNAMELEN): Define.
17360
00ee369c
AS
173612011-05-03 Andreas Schwab <schwab@redhat.com>
17362
17363 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17364
0b592a30
MB
173652011-04-28 Maciej Babinski <mbabinski@google.com>
17366
17367 [BZ #12714]
17368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17369 gethostbyname4_r when IPv6 results are possible.
17370
6e04cbbe
UD
173712011-05-02 Ulrich Drepper <drepper@gmail.com>
17372
17373 [BZ #12723]
17374 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17375 _PC_PIPE_BUF handling.
17376
e4ecafe0
BH
173772011-04-30 Bruno Haible <bruno@clisp.org>
17378
17379 [BZ #12717]
17380 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17381 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17382 to 'int'.
17383 * inet/getnameinfo.c (getnameinfo): Likewise.
17384
125ee683
UD
173852011-04-29 Ulrich Drepper <drepper@gmail.com>
17386
17387 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17388 to groups setting in database lookup.
17389 * nss/nsswitch.conf: Add initgroups entry.
17390
b722481a
EB
173912011-04-22 Ulrich Drepper <drepper@gmail.com>
17392
17393 [BZ #12685]
17394 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17395 mode string.
17396 Patch by Eric Blake <eblake@redhat.com>.
17397
4df46dbd
L
173982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 * sunrpc/Makefile (need-export-routines): Add svc_run.
17401 (routines): Remove svc_run.
17402 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17403 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17404 * sunrpc/svc_run.c (svc_run): Likewise.
17405 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17406
e84142d2
UD
174072011-04-21 Ulrich Drepper <drepper@gmail.com>
17408
17409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17410 problem in reallocation in last patch.
17411
877175d8
UD
174122011-04-20 Ulrich Drepper <drepper@gmail.com>
17413
17414 * sunrpc/Makefile: Move inclusion of Rules.
17415
ab8eed78
UD
174162011-04-19 Ulrich Drepper <drepper@gmail.com>
17417
17418 * nss/nss_files/files-initgroups.c: New file.
17419 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17420 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17421 _nss_files_initgroups_dyn.
17422
e3d8f584
RS
174232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17424
17425 * elf/elf.h (R_ARM_IRELATIVE): Define.
17426
af190f45
UD
174272011-04-19 Ulrich Drepper <drepper@gmail.com>
17428
17429 * po/ru.po: Update from translation team.
17430
53cf59ef
UD
174312011-04-17 Ulrich Drepper <drepper@gmail.com>
17432
17433 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17434 dependencies.
17435
4c559bcd
MF
174362011-02-06 Mike Frysinger <vapier@gentoo.org>
17437
17438 [BZ #12653]
17439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17440 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17444
4420675c
AS
174452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17446
17447 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17448 differing bytes.
17449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17452
75ea32ab
UD
174532011-04-17 Ulrich Drepper <drepper@gmail.com>
17454
17455 [BZ #12420]
17456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17457 storing it.
17458 * stdlib/bug-getcontext.c: New file.
17459 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17460
27390476
AK
174612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17462
17463 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17464 instructions into .machine "z9-109".
17465 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17466 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17467
10442705
AK
174682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17469
17470 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17471 between environment variables and auxiliary vector.
17472
7b57bfe5
UD
174732011-04-16 Ulrich Drepper <drepper@gmail.com>
17474
17475 * Makefile: Add rules to build linkobj/libc.so.
17476 * include/libc-symbols.h: Define libc_hidden_nolink.
17477 * include/rpc/auth.h: Mark functions which are to be hidden.
17478 * include/rpc/auth_des.h: Likewise.
17479 * include/rpc/auth_unix.h: Likewise.
17480 * include/rpc/clnt.h: Likewise.
17481 * include/rpc/des_crypt.h: Likewise.
17482 * include/rpc/key_prot.h: Likewise.
17483 * include/rpc/pmap_clnt.h: Likewise.
17484 * include/rpc/pmap_prot.h: Likewise.
17485 * include/rpc/pmap_rmt.h: Likewise.
17486 * include/rpc/rpc_msg.h: Likewise.
17487 * include/rpc/svc.h: Likewise.
17488 * include/rpc/svc_auth.h: Likewise.
17489 * include/rpc/xdr.h: Likewise.
17490 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17491 * nss/Makefile: Likewise.
17492 * sunrpc/Makefile: Don't install headers. Build library with normal
17493 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17494 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17495 for the compat linking library. Remove use of INTDEF/INTUSE.
17496 * sunrpc/auth_none.c: Likewise.
17497 * sunrpc/auth_unix.c: Likewise.
17498 * sunrpc/authdes_prot.c: Likewise.
17499 * sunrpc/authuxprot.c: Likewise.
17500 * sunrpc/clnt_gen.c: Likewise.
17501 * sunrpc/clnt_perr.c: Likewise.
17502 * sunrpc/clnt_raw.c: Likewise.
17503 * sunrpc/clnt_simp.c: Likewise.
17504 * sunrpc/clnt_tcp.c: Likewise.
17505 * sunrpc/clnt_udp.c: Likewise.
17506 * sunrpc/clnt_unix.c: Likewise.
17507 * sunrpc/des_crypt.c: Likewise.
17508 * sunrpc/des_soft.c: Likewise.
17509 * sunrpc/get_myaddr.c: Likewise.
17510 * sunrpc/key_call.c: Likewise.
17511 * sunrpc/key_prot.c: Likewise.
17512 * sunrpc/netname.c: Likewise.
17513 * sunrpc/pm_getmaps.c: Likewise.
17514 * sunrpc/pm_getport.c: Likewise.
17515 * sunrpc/pmap_clnt.c: Likewise.
17516 * sunrpc/pmap_prot.c: Likewise.
17517 * sunrpc/pmap_prot2.c: Likewise.
17518 * sunrpc/pmap_rmt.c: Likewise.
17519 * sunrpc/publickey.c: Likewise.
17520 * sunrpc/rpc_cmsg.c: Likewise.
17521 * sunrpc/rpc_common.c: Likewise.
17522 * sunrpc/rpc_dtable.c: Likewise.
17523 * sunrpc/rpc_prot.c: Likewise.
17524 * sunrpc/rpc_thread.c: Likewise.
17525 * sunrpc/rtime.c: Likewise.
17526 * sunrpc/svc.c: Likewise.
17527 * sunrpc/svc_auth.c: Likewise.
17528 * sunrpc/svc_authux.c: Likewise.
17529 * sunrpc/svc_raw.c: Likewise.
17530 * sunrpc/svc_run.c: Likewise.
17531 * sunrpc/svc_simple.c: Likewise.
17532 * sunrpc/svc_tcp.c: Likewise.
17533 * sunrpc/svc_udp.c: Likewise.
17534 * sunrpc/svc_unix.c: Likewise.
17535 * sunrpc/svcauth_des.c: Likewise.
17536 * sunrpc/xcrypt.c: Likewise.
17537 * sunrpc/xdr.c: Likewise.
17538 * sunrpc/xdr_array.c: Likewise.
17539 * sunrpc/xdr_float.c: Likewise.
17540 * sunrpc/xdr_intXX_t.c: Likewise.
17541 * sunrpc/xdr_mem.c: Likewise.
17542 * sunrpc/xdr_rec.c: Likewise.
17543 * sunrpc/xdr_ref.c: Likewise.
17544 * sunrpc/xdr_sizeof.c: Likewise.
17545 * sunrpc/xdr_stdio.c: Likewise.
17546
e6c61494
UD
175472011-04-10 Ulrich Drepper <drepper@gmail.com>
17548
17549 [BZ #12650]
17550 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17551 * sysdeps/ia64/dl-tls.h: Likewise.
17552 * sysdeps/powerpc/dl-tls.h: Likewise.
17553 * sysdeps/s390/dl-tls.h: Likewise.
17554 * sysdeps/sh/dl-tls.h: Likewise.
17555 * sysdeps/sparc/dl-tls.h: Likewise.
17556 * sysdeps/x86_64/dl-tls.h: Likewise.
17557 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17558
34fe483e
AS
175592011-03-14 Andreas Schwab <schwab@redhat.com>
17560
17561 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17562 rpath element also skip the following colon.
17563 (expand_dynamic_string_token): Add is_path parameter and pass
17564 down to DL_DST_REQUIRED and _dl_dst_substitute.
17565 (decompose_rpath): Call expand_dynamic_string_token with
17566 non-zero is_path. Ignore empty rpaths.
17567 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17568 with zero is_path.
17569
f12a32e6
AS
175702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17571
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17573 Make cancelable.
17574
38a7d692
UD
175752011-04-09 Ulrich Drepper <drepper@gmail.com>
17576
17577 [BZ #12655]
17578 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17579 Patch by Filipe David Manana <fdmanana@apache.org>.
17580
e451d22b
AS
175812011-04-07 Andreas Schwab <schwab@redhat.com>
17582
17583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17584 Maintain aligned stack.
17585 (CHECK_RSP): Remove unused macro.
17586
dedc7c7b
UD
175872011-04-03 Ulrich Drepper <drepper@gmail.com>
17588
17589 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17591
94521213
UD
175922011-04-02 Ulrich Drepper <drepper@gmail.com>
17593
17594 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17595
8cb700c0 17596 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17597
0354e355
L
175982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 [BZ #12518]
17601 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17602 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17603 * sysdeps/x86_64/memmove.c: New file.
17604 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17605 (memcpy): Renamed to ...
17606 (__new_memcpy): This.
17607 (memcpy): Provide GLIBC_2_14 memcpy.
17608 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17609 (memcpy): Provide GLIBC_2_2_5 memcpy.
17610
8593482f
UD
176112011-04-01 Ulrich Drepper <drepper@gmail.com>
17612
17613 [BZ #12631]
17614 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17615
81a5726b
AS
176162011-03-30 Andreas Schwab <schwab@redhat.com>
17617
17618 * misc/syncfs.c: New file.
17619 * misc/Makefile (routines): Add syncfs.
17620 * posix/unistd.h: Declare syncfs.
17621 * sysdeps/unix/syscalls.list: Add syncfs.
17622
00e5419f
AS
176232011-04-01 Andreas Schwab <schwab@redhat.com>
17624
17625 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17626 open_by_handle_at.
17627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17632 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17634
748876bf
UD
176352011-04-01 Ulrich Drepper <drepper@gmail.com>
17636
658e451d
UD
17637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17644
748876bf
UD
17645 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17646 sync_file_range.c with -fexceptions.
17647 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17648 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17649 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17650 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17651 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17652 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17654 sync_file_range as cancellation point
17655 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17656 now a wrapper around __call_sync_file_range with cancellation handling.
17657 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17658 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17659 function name to __call_sync_file_range.
17660 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17661 Add call_sync_file_range.
748876bf 17662
6e63d5e1
AS
176632011-04-01 Andreas Schwab <schwab@redhat.com>
17664
17665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17666 bits/timex.h.
6e63d5e1 17667
46998f74
UD
176682011-04-01 Ulrich Drepper <drepper@gmail.com>
17669
4c1423ed
UD
17670 * iconv/iconv.h: Fix typo in comment.
17671 * io/fcntl.h: Likewise.
17672 * libio/stdio.h: Likewise.
17673 * posix/spawn.h: Likewise.
17674 * posix/unistd.h: Likewise.
17675 * stdlib/stdlib.h: Likewise.
17676 * time/time.h: Likewise.
17677 * wcsmbs/wchar.h: Likewise.
17678
158648c0
UD
17679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17680 open_by_handle): Add.
17681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17682 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17683 Augment a few comments.
17684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17689 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17690 open_by_handle.
17691
46998f74
UD
17692 * io/fcntl.h (AT_EMPTY_PATH): Define.
17693
83fe108b
UD
176942011-03-30 Ulrich Drepper <drepper@gmail.com>
17695
17696 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17697 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17698 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17699 to...
17700 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17701 * Versions.def: Add GLIBC_2.14.
17702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17703 Export.
83fe108b 17704
bb242059
UD
177052011-03-22 Ulrich Drepper <drepper@gmail.com>
17706
17707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17708 round counter.
17709 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17710
c97a1282
L
177112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17712
17713 [BZ #12597]
17714 * string/test-strncmp.c (do_page_test): New function.
17715 (check2): Likewise.
17716 (test_main): Call check2.
17717 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17718
2a115601
UD
177192011-03-20 Ulrich Drepper <drepper@gmail.com>
17720
17721 [BZ #12587]
17722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17723 Handle cache information in CPU leaf 4.
17724 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17725
8126d904
UD
177262011-03-18 Ulrich Drepper <drepper@gmail.com>
17727
042c49c6 17728 [BZ #12583]
8126d904
UD
17729 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17730 character representation.
17731 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17732
ccfe366e
RA
177332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17734
17735 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17736 END(__isnan) to END(__isnanf) to match function entry point/label
17737 EALIGN(__isnanf,...).
17738
c6e13027
JJ
177392011-03-10 Jakub Jelinek <jakub@redhat.com>
17740
17741 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17742
33f85a3f
UD
177432011-03-10 Ulrich Drepper <drepper@gmail.com>
17744
028478fa
UD
17745 [BZ #12510]
17746 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17747 copy from the symbol referenced in the relocation to initialize the
17748 used variable.
17749 Patch by Piotr Bury <pbury@goahead.com>.
17750 * elf/Makefile: Add rules to build and tst-unique3.
17751 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17752 * elf/tst-unique3.cc: New file.
17753 * elf/tst-unique3.h: New file.
17754 * elf/tst-unique3lib.cc: New file.
17755 * elf/tst-unique3lib2.cc: New file.
17756
33f85a3f
UD
17757 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17758
03592fc7
MF
177592011-03-10 Mike Frysinger <vapier@gentoo.org>
17760
17761 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17762 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17763 to _start.
03592fc7 17764
6a5ee102
UD
177652011-03-06 Ulrich Drepper <drepper@gmail.com>
17766
17767 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17768 to-be-loaded object along a path to loader is ld.so.
17769
7e4ba49c
HJ
177702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17771 Ulrich Drepper <drepper@gmail.com>
17772
17773 * sysdeps/x86_64/memset.S: After aligning destination, code
17774 branches to different locations depending on the value of
17775 misalignment, when multiarch is enabled. Fix this.
17776
177772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17778
17779 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17780 Set _x86_64_preferred_memory_instruction for AMD processsors.
17781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17782 Set bit_Prefer_SSE_for_memop for AMD processors.
17783
13a804de
UD
177842011-03-04 Ulrich Drepper <drepper@gmail.com>
17785
17786 * libio/fmemopen.c (fmemopen): Optimize a bit.
17787
9d25c392
AS
177882011-03-03 Andreas Schwab <schwab@redhat.com>
17789
17790 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17791
a5543c6a
RM
177922011-03-03 Roland McGrath <roland@redhat.com>
17793
17794 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17795
012d35f7
DM
177962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17797
7e4ba49c 17798 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17799 __bzero_ultra1 instead of __memset_ultra1.
17800
4bff6e01
AS
178012011-02-23 Andreas Schwab <schwab@redhat.com>
17802 Ulrich Drepper <drepper@gmail.com>
17803
17804 [BZ #12509]
17805 * include/link.h (struct link_map): Add l_orig_initfini.
17806 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17807 returning unsuccessfully.
17808 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17809 close of a file loaded at startup, restore the original l_initfini
17810 list.
17811 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17812 list, store the pointer.
17813 * elf/Makefile ($(objpfx)noload-mem): New rule.
17814 (noload-ENV): Define.
17815 (tests): Add $(objpfx)noload-mem.
17816 * elf/noload.c: Include <memcheck.h>.
17817 (main): Call mtrace. Close all opened handles.
17818
f2092faf
AS
178192011-02-17 Andreas Schwab <schwab@redhat.com>
17820
17821 [BZ #12454]
17822 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17823 dependencies are missing.
17824
6c8a2e88
ST
178252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17826
f2092faf 17827 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17828 Hurd needs munmap.
17829 * sysdeps/mach/hurd/ifreq.h: New file.
17830
84a42118
PB
178312011-01-27 Petr Baudis <pasky@suse.cz>
17832 Ulrich Drepper <drepper@gmail.com>
17833
071f805e 17834 [BZ 12445]#
84a42118
PB
17835 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17836 to extend_alloca().
17837 * stdio-common/bug23.c: New file.
17838 * stdio-common/Makefile (tests): Add bug23.
17839
e23fe25b
AS
178402010-09-28 Andreas Schwab <schwab@redhat.com>
17841 Ulrich Drepper <drepper@gmail.com>
17842
17843 [BZ #12489]
17844 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17845 before performing relro protection. At old place add assertion
17846 to make sure nothing changed.
17847
d3f02e10
NS
178482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17849 Glauber de Oliveira Costa <glommer@gmail.com>
17850
17851 * elf/elf.h: Add new ARM TLS relocs.
17852
d55fd7a5
RA
178532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17854
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17856 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17857 cast from r3.
17858 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17859 'tests' variable.
17860 * sysdeps/wordsize-64/tst-writev.c: New file.
17861
2206397e
RA
178622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17863
17864 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17865 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17866 insns in _dl_start to prevent a TOC reference before relocs are
17867 resolved.
17868
e9433893
UD
178692011-02-15 Ulrich Drepper <drepper@gmail.com>
17870
17871 [BZ #12469]
17872 * Makeconfig: Remove RANLIB definition.
17873 * Makerules: Don't use RANLIB.
17874 * aclocal.m4: Remove ranlib test.
17875 * configure.in: No need to check for ranlib.
17876 * elf/rtld-Rules: Don't use RANLIB.
17877
f75286c6
ST
178782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17879
8e31c82d
ST
17880 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17881 protection macro.
17882 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17883 inclusion protection macro.
17884
f75286c6
ST
17885 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17886 SIGRTMIN and SIGRTMAX and print information in that case only when
17887 SIGRTMIN is defined.
17888
c1d0e639
JJ
178892011-02-11 Jakub Jelinek <jakub@redhat.com>
17890
17891 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17892 arginfo fn returning -1.
17893
17894 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17895 and thousands string is zero terminated.
17896
edf9294e
AS
178972011-02-03 Andreas Schwab <schwab@redhat.com>
17898
17899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17900 sysdeps/unix/sysv/linux/bits/socket.h.
17901
2b7e92df
ST
179022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17903
edf9294e
AS
17904 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17905 (__CPU_COUNT): Remove old macros.
17906 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17907 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17908 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17909 (__sched_cpualloc, __sched_cpufree): Add declarations.
17910
a4c7ea7b
UD
179112011-02-05 Ulrich Drepper <drepper@gmail.com>
17912
17913 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17914 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17915 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17916 (readdhstai): Return value of addhstaiX call.
17917 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17918 (addgrbyX): Return value returned by cache_addgr.
17919 (readdgrbyname): Return value returned by addgrbyX.
17920 (readdgrbygid): Likewise.
17921 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17922 (addpwbyX): Return value returned by cache_addpw.
17923 (readdpwbyname): Return value returned by addhstbyX.
17924 (readdpwbyuid): Likewise.
17925 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17926 (addservbyX): Return value returned by cache_addserv.
17927 (readdservbyname): Return value returned by addservbyX:
17928 (readdservbyport): Likewise.
17929 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17930 (addhstbyX): Return value returned by cache_addhst.
17931 (readdhstbyname): Return value returned by addhstbyX.
17932 (readdhstbyaddr): Likewise.
17933 (readdhstbynamev6): Likewise.
17934 (readdhstbyaddrv6): Likewise.
17935 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17936 (readdinitgroups): Return value returned by addinitgroupsX.
17937 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17938 (prune_cache): Keep track of timeout value of re-added entries.
17939 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17940 * nscd/nscd.h: Adjust prototypes of readd* functions.
17941
a0bf67cc
RM
179422011-02-04 Roland McGrath <roland@redhat.com>
17943
17944 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17945 (nis_stats): Likewise.
17946 * nis/nis_modify.c (nis_modify): Likewise.
17947 * nis/nis_remove.c (nis_remove): Likewise.
17948 * nis/nis_add.c (nis_add): Likewise.
17949
17950 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17951
17952 * posix/fnmatch_loop.c: Add some consts.
17953
17954 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17955
435b95eb
L
179562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17957
17958 [BZ #12460]
17959 * config.make.in (config-cflags-novzeroupper): Define.
17960 * configure.in: Substitute libc_cv_cc_novzeroupper.
17961 * elf/Makefile (AVX-CFLAGS): Define.
17962 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17963 (CFLAGS-tst-auditmod4a.c): Likewise.
17964 (CFLAGS-tst-auditmod4b.c): Likewise.
17965 (CFLAGS-tst-auditmod6b.c): Likewise.
17966 (CFLAGS-tst-auditmod6c.c): Likewise.
17967 (CFLAGS-tst-auditmod7b.c): Likewise.
17968 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17969
8517b15e
UD
179702011-02-02 Ulrich Drepper <drepper@gmail.com>
17971
17972 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17973 function to the callback.
17974 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17975
10a656fe
AS
179762011-02-02 Andreas Schwab <schwab@redhat.com>
17977
17978 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17979 of errno.
17980
968dad0a
UD
179812011-01-19 Ulrich Drepper <drepper@gmail.com>
17982
9f94d2ea 17983 [BZ #11724]
968dad0a
UD
17984 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17985 of constructors.
17986 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17987 of destructors.
17988 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17989
17990 [BZ #11724]
17991 * elf/Makefile: Add rules to build and run new test.
17992 * elf/tst-initorder.c: New file.
17993 * elf/tst-initorder.exp: New file.
17994 * elf/tst-initordera1.c: New file.
17995 * elf/tst-initordera2.c: New file.
17996 * elf/tst-initordera3.c: New file.
17997 * elf/tst-initordera4.c: New file.
17998 * elf/tst-initorderb1.c: New file.
17999 * elf/tst-initorderb2.c: New file.
18000 * elf/tst-order-a1.c: New file.
18001 * elf/tst-order-a2.c: New file.
18002 * elf/tst-order-a3.c: New file.
18003 * elf/tst-order-a4.c: New file.
18004 * elf/tst-order-b1.c: New file.
18005 * elf/tst-order-b2.c: New file.
18006 * elf/tst-order-main.c: New file.
18007 New test case by George Gensure <werkt0@gmail.com>.
18008
86e92359
UD
180092010-10-01 Andreas Schwab <schwab@redhat.com>
18010
18011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18012 decoding ACE if AI_CANONIDN.
18013
5d5732b0
UD
180142011-01-18 Ulrich Drepper <drepper@gmail.com>
18015
18016 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18017
a77e8cbc
UD
180182011-01-17 Ulrich Drepper <drepper@gmail.com>
18019
6392473f
UD
18020 * version.h (RELEASE): Bump for 2.13 release.
18021 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18022
620a0529
UD
18023 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18024
18ba70a5
UD
18025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18026 MADV_NOHUGEPAGE.
32465c3e
UD
18027 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18033
c0dafcf1
UD
18034 * posix/getconf.c: Update copyright year.
18035 * catgets/gencat.c: Likewise.
18036 * csu/version.c: Likewise.
18037 * debug/catchsegv.sh: Likewise.
18038 * debug/xtrace.sh: Likewise.
18039 * elf/ldconfig.c: Likewise.
18040 * elf/ldd.bash.in: Likewise.
18041 * elf/sprof.c (print_version): Likewise.
18042 * iconv/iconv_prog.c: Likewise.
18043 * iconv/iconvconfig.c: Likewise.
18044 * locale/programs/locale.c: Likewise.
18045 * locale/programs/localedef.c: Likewise.
18046 * malloc/memusage.sh: Likewise.
18047 * malloc/mtrace.pl: Likewise.
18048 * nscd/nscd.c (print_version): Likewise.
18049 * nss/getent.c: Likewise.
18050
a77e8cbc
UD
18051 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18052 PF_CAIF, and PF_ALG.
18053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18054
77e8bddf
AS
180552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18056
1f20b93a
AS
18057 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18058 (modules-names): Use them.
18059 (ifunc-test-modules, ifunc-pie-tests): Define.
18060 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18061 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18062 (test-extras): Likewise.
18063 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18064 $(compile-command.c).
18065 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18066 (all-built-dso): Define.
18067 (check-textrel.out, check-execstack.out): Depend on it.
18068
77e8bddf
AS
18069 * configure.in: Don't override --enable-multi-arch.
18070
bc425b33
UD
180712011-01-15 Ulrich Drepper <drepper@gmail.com>
18072
18073 [BZ #6812]
18074 * nscd/hstcache.c (tryagain): Define.
18075 (cache_addhst): Return tryagain not notfound for temporary errors.
18076 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18077 failed.
18078
794c3ad3
UD
180792011-01-14 Ulrich Drepper <drepper@gmail.com>
18080
70181fdd
UD
18081 [BZ #10563]
18082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18083 to make the syscall.
18084 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18085
794c3ad3
UD
18086 [BZ #12378]
18087 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18088 and fall back to matching as normal character if the string ends before
18089 the matching ']' is found. This is what POSIX requires.
18090 * posix/testfnm.c: Adjust test result.
18091 * posix/globtest.sh: Adjust test result. Add new test.
18092 * posix/tst-fnmatch.input: Likewise.
18093 * posix/tst-fnmatch2.c: Add new test.
18094
68dc9497
AS
180952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18096
18097 * elf/Makefile (check-execstack): Revert last change. Depend on
18098 check-execstack.h.
18099 (check-execstack.h): New target.
18100 (generated): Add check-execstack.h.
18101 * elf/check-execstack.c: Include "check-execstack.h".
18102 (main): Revert last change.
18103 (handle_file): Return zero if GNU_STACK is absent and
18104 DEFAULT_STACK_PERMS doesn't include PF_X.
18105
451f001b
UD
181062011-01-13 Ulrich Drepper <drepper@gmail.com>
18107
cfa28e56
UD
18108 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18109 in child fails because the descriptor is already closed.
8cf8ce17
UD
18110 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18111 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18113
1086d70d
UD
18114 [BZ #12397]
18115 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18116 syscall.
18117
451f001b
UD
18118 [BZ #10484]
18119 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18120 temporary buffer used to handle multi lookups locally.
a85b5cb4 18121 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18122
08769175
UD
181232011-01-12 Ulrich Drepper <drepper@gmail.com>
18124
18125 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18126 loader is ld.so.
18127
5e49c52e
UD
181282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18129
18130 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18131 alignment for SSE2.
18132
60522a5f
UD
181332011-01-12 Ulrich Drepper <drepper@gmail.com>
18134
18135 [BZ #12394]
18136 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18137 characters. When rounding increased number of integer digits recompute
18138 number of groups.
18139 * stdio-common/tst-grouping.c: New file.
18140 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18141
f257bbd7
UD
181422011-01-09 Ulrich Drepper <drepper@gmail.com>
18143
18144 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18145 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18146
18147 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18148 void.
18149 * bits/select.h: Likewise.
18150
fa9c15cb
UD
181512011-01-08 Ulrich Drepper <drepper@gmail.com>
18152
18153 * po/ja.po: Update from translation team.
18154
16c2895f
DM
181552011-01-04 David S. Miller <davem@sunset.davemloft.net>
18156
18157 [BZ #11155]
18158 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18159 implementation just like for lxstat, fxstatat, et al.
18160
2543fef2
JM
181612010-12-27 Jim Meyering <meyering@redhat.com>
18162
18163 [BZ #12348]
18164 * posix/regexec.c (build_trtable): Return failure indication upon
18165 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18166
98727dbe
UD
181672010-12-25 Ulrich Drepper <drepper@gmail.com>
18168
5bd6dc5c
UD
18169 [BZ #12201]
18170 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18171 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18172 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18174
97983464
UD
18175 [BZ #12207]
18176 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18177
98727dbe
UD
18178 [BZ #12204]
18179 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18180 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18181
4a531bb0
L
181822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18183
18184 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18185 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18186 script has SORT_BY_INIT_PRIORITY.
18187 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18188 NO_CTORS_DTORS_SECTIONS is defined.
18189 * elf/soinit.c: Likewise.
18190 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18191 NO_CTORS_DTORS_SECTIONS is defined.
18192 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18193 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18194 * sysdeps/sh/init-first.c: Likewise.
18195 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18196
07eb4b71
UD
181972010-12-24 Ulrich Drepper <drepper@gmail.com>
18198
18199 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18200 always use the slow path.
18201
30950a5f
RA
182022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18203
18204 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18205 similar rule which adds the sysdep directories to the header search in
18206 order to pick up the correct platform stackinfo.h.
18207 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18208 perform test if it is, otherwise return successfully without testing.
18209 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18210 DEFAULT_STACK_PERMS define in stackinfo.h.
18211 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18212 defined in stackinfo.h.
18213 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18214 DEFAULT_STACK_PERMS defined in stackinfo.h.
18215 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18216 * sysdeps/ia64/stackinfo.h: Likewise.
18217 * sysdeps/s390/stackinfo.h: Likewise.
18218 * sysdeps/sh/stackinfo.h: Likewise.
18219 * sysdeps/sparc/stackinfo.h: Likewise.
18220 * sysdeps/x86_64/stackinfo.h: Likewise.
18221 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18222 PF_X for powerpc64. Retain PF_X for powerpc32.
18223
db753e2c
UD
182242010-12-19 Ulrich Drepper <drepper@gmail.com>
18225
14b697f7
UD
18226 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18227 accurately.
db753e2c
UD
18228 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18229 GETDENTS_64BIT_ALIGNED.
18230
28300719
UD
182312010-12-14 Ulrich Drepper <dreper@gmail.com>
18232
14b697f7 18233 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18234
4f197237
AS
182352010-12-10 Andreas Schwab <schwab@redhat.com>
18236
dbb0472f
AS
18237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18238 _GNU_SOURCE.
18239
4f197237
AS
18240 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18241 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18242 Remove __restrict.
18243 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18244 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18245
fb88ac72
UD
182462010-12-09 Ulrich Drepper <drepper@gmail.com>
18247
18248 [BZ #11655]
18249 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18250 are initialized.
18251
42acbb92
JJ
182522010-12-09 Jakub Jelinek <jakub@redhat.com>
18253
18254 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18255
c038d98d
UD
182562010-12-03 Ulrich Drepper <drepper@gmail.com>
18257
18258 * po/it.po: Update from translation team.
18259
3a4a2499
L
182602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18261
18262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18263 unused codes.
18264
1e24cf6e
UD
182652010-11-30 Ulrich Drepper <drepper@gmail.com>
18266
18267 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18268
a7690819
AS
182692010-11-24 Andreas Schwab <schwab@redhat.com>
18270
18271 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18272 specially.
18273 (gaih_getanswer_slice): Likewise.
18274
3bf8d1b1
JJ
182752010-10-20 Jakub Jelinek <jakub@redhat.com>
18276
18277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18278
6db52fbb
PB
182792010-05-31 Petr Baudis <pasky@suse.cz>
18280
18281 [BZ #11149]
18282 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18283 silently even in the chroot mode.
18284
eaca7569
UD
182852010-11-22 Ulrich Drepper <drepper@gmail.com>
18286
18287 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18288 last patch a bit. Pretty printing
18289
3056dcdb
UD
182902010-05-31 Petr Baudis <pasky@suse.cz>
18291
18292 [BZ #10085]
18293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18294 initialization of skip_initgroups_dyn.
18295
cf7c9078
UD
182962010-11-19 Ulrich Drepper <drepper@gmail.com>
18297
18298 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18299 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18300
a1fb5e3e
UD
183012010-11-16 Ulrich Drepper <drepper@gmail.com>
18302
18303 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18304
3540d66b
AS
183052010-11-11 Andreas Schwab <schwab@redhat.com>
18306
18307 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18308 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18309 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18310 ($(objpfx)tst-fnmatch-mem): New rule.
18311 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18312 * posix/tst-fnmatch.c (main): Call mtrace.
18313
13b69574
L
183142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18315
18316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18317 Support Intel processor model 6 and model 0x2c.
18318
da93d214
LM
183192010-11-10 Luis Machado <luisgpm@br.ibm.com>
18320
18321 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18322 signed comparison.
18323
8ca52c6e
L
183242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18325
18326 [BZ #12205]
18327 * string/test-strncasecmp.c (check_result): New function.
18328 (do_one_test): Use it.
18329 (check1): New function.
18330 (test_main): Use it.
18331 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18332 Support strcasecmp and strncasecmp.
18333
69da074d
UD
183342010-11-08 Ulrich Drepper <drepper@gmail.com>
18335
18336 [BZ #12194]
18337 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18338 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18339
ff02d528
L
183402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18341
18342 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18343 IFUNC support.
18344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18345 memset-x86-64.
18346 * sysdeps/x86_64/multiarch/bzero.S: New file.
18347 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18348 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18349 * sysdeps/x86_64/multiarch/memset.S: New file.
18350 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18352 Set bit_Prefer_SSE_for_memop for Intel processors.
18353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18354 Define.
18355 (index_Prefer_SSE_for_memop): Define.
18356 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18357
344d0b54
LM
183582010-11-04 Luis Machado <luisgpm@br.ibm.com>
18359
18360 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18361 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18362
c0dde15b
UD
183632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18364
18365 [BZ #12191]
18366 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18367 (__x86_64_raw_data_cache_size_half): Likewise.
18368 (__x86_64_raw_shared_cache_size): Likewise.
18369 (__x86_64_raw_shared_cache_size_half): Likewise.
18370
18371 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18372 (__x86_64_raw_data_cache_size_half): Likewise.
18373 (__x86_64_raw_shared_cache_size): Likewise.
18374 (__x86_64_raw_shared_cache_size_half): Likewise.
18375 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18376 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18377 and __x86_64_raw_shared_cache_size_half. Round
18378 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18379 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18380 to multiple of 256 bytes.
18381
0e516e0e
MS
183822010-11-03 Ulrich Drepper <drepper@gmail.com>
18383
18384 [BZ #12167]
18385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18386 of inacessible symlinks. Verify result of symlink before returning it.
18387 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18388 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18389
0e012e87
ER
183902010-10-28 Erich Ritz <erichritz@gmail.com>
18391
18392 * math/math.h (isinf): Fix typo in comment.
18393
de0ff7bc
UD
183942010-11-01 Ulrich Drepper <drepper@gmail.com>
18395
18396 * po/da.po: Update from translation team.
18397
fa41c84d
UD
183982010-10-26 Ulrich Drepper <drepper@gmail.com>
18399
18400 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18401 is added to the list.
18402
f0967738
AK
184032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18404 Ulrich Drepper <drepper@gmail.com>
18405
18406 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18407 the global list here. Move code to...
18408 (_dl_add_to_namespace_list): ...here. New function.
18409 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18410 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18411 * elf/dl-load.c (lose): Don't remove the element from the list.
18412 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18413 (_dl_map_object): Likewise.
18414
184152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18416
18417 [BZ #12159]
18418 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18419 into all bytes of SSE register.
18420 Patch by Richard Li <richardpku@gmail.com>.
18421
f0967738 184222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18423
18424 [BZ #12140]
18425 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18426 perturbing.
18427
d0b9e94f
MB
184282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18429
18430 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18431 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18433 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18435 submachine.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18437
8e9f92e9
AS
184382010-10-22 Andreas Schwab <schwab@redhat.com>
18439
18440 * include/dlfcn.h (__RTLD_SECURE): Define.
18441 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18442 mode & __RTLD_SECURE instead.
18443 (open_path): Rename preloaded parameter to secure.
18444 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18445 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18446 * elf/dl-deps.c (openaux): Likewise.
18447 * elf/rtld.c (struct map_args): Remove is_preloaded.
18448 (map_doit): Don't use it.
18449 (dl_main): Likewise.
18450 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18451 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18452
bc96fbda
AS
184532010-09-09 Andreas Schwab <schwab@redhat.com>
18454
18455 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18456 (sysd-rules-targets): Remove duplicates.
18457 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18458 rtld-%.$o dependency.
18459
22cd1c9b
AS
184602010-10-18 Andreas Schwab <schwab@redhat.com>
18461
18462 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18463 _dl_map_object do it.
18464
18edac48
UD
184652010-10-19 Ulrich Drepper <drepper@gmail.com>
18466
18467 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18468 fast fma builtins, define the macros in the C99 standard.
18469 (FP_FAST_FMAF): Likewise.
18470 (FP_FAST_FMAL): Likewise.
18471 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18472
18473 * bits/mathdef.h: Update copyright year.
18474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18475
d2050124
MM
184762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18477
18478 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18479 builtins, define the macros in the C99 standard.
18480 (FP_FAST_FMAF): Likewise.
18481 (FP_FAST_FMAL): Likewise.
18482 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18483 multiply/add.
18484 (FP_FAST_FMAF): Likewise.
18485
475facd1
JJ
184862010-10-15 Jakub Jelinek <jakub@redhat.com>
18487
18488 [BZ #3268]
18489 * math/libm-test.inc (fma_test): Some new testcases.
18490 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18492 y and infinite z. Do multiplication by C already in long double.
18493 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18495 y and infinite z. Do bitwise or of inexact bit into u.d.
18496 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18497 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18498 * sysdeps/i386/fpu/s_fma.S: Removed.
18499 * sysdeps/i386/fpu/s_fmal.S: Removed.
18500
7c08a05c
JJ
185012010-10-16 Jakub Jelinek <jakub@redhat.com>
18502
18503 [BZ #3268]
18504 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18506 computation is not scheduled after fetestexcept. Fix value
18507 of minimum denormal long double.
18508
f3f7372d
JJ
185092010-10-14 Jakub Jelinek <jakub@redhat.com>
18510
18511 [BZ #3268]
18512 * math/libm-test.inc (fma_test): Add some more tests.
18513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18514 correctly.
18515
14d43591
AS
185162010-10-15 Andreas Schwab <schwab@redhat.com>
18517
18518 * scripts/data/localplt-s390-linux-gnu.data: New file.
18519 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18520
5e908464
JJ
185212010-10-13 Jakub Jelinek <jakub@redhat.com>
18522
18523 [BZ #3268]
18524 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18525 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18526 instead of dbl-64.
18527 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18528 inlines.
18529 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18531 if one of x and y is very large and the other is subnormal.
18532 * sysdeps/s390/fpu/s_fmaf.c: New file.
18533 * sysdeps/s390/fpu/s_fma.c: New file.
18534 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18535 * sysdeps/powerpc/fpu/s_fma.S: New file.
18536 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18537 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18538 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18539
185402010-10-12 Jakub Jelinek <jakub@redhat.com>
18541
18542 [BZ #3268]
18543 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18544 fma tests.
18545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18546 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18547 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18548 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18549 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18550 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18551 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18552
b833d51f
UD
185532010-10-12 Ulrich Drepper <drepper@redhat.com>
18554
18555 [BZ #12078]
18556 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18557 * posix/bug-regex31.input: Add test case.
18558
1751705d
UD
185592010-10-11 Ulrich Drepper <drepper@gmail.com>
18560
e9b9cbf5
UD
18561 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18562 * posix/bug-regex31.input: New file.
18563
18564 [BZ #12078]
18565 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18566 (parse_sub_exp): Fix last change, use postorder.
18567
ef06edbe
UD
18568 * posix/bug-regex31.c: New file.
18569 * posix/Makefile: Add rules to build and run bug-regex31.
18570
a129c80d
UD
18571 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18572
18573 [BZ #12078]
18574 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18575
b76b818e
UD
18576 [BZ #12108]
18577 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18578 to have entries in sys_siglist.
18579
1751705d
UD
18580 [BZ #12093]
18581 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18582 be NULL.
18583
9ff8d36f
JJ
185842010-10-07 Jakub Jelinek <jakub@redhat.com>
18585
18586 [BZ #3268]
18587 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18588 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18589 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18590 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18591 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18592 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18593 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18594 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18595 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18596 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18597 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18598 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18599 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18600 * math/ftestexcept.c (fetestexcept): Likewise.
18601 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18602 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18603 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18604 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18605 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18606 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18608
af325969
UD
186092010-10-11 Ulrich Drepper <drepper@gmail.com>
18610
c579b202 18611 [BZ #12107]
af325969
UD
18612 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18613 newline.
18614
67a67b95
UD
186152010-10-06 Ulrich Drepper <drepper@gmail.com>
18616
18617 * string/bug-strstr1.c: New file.
18618 * string/Makefile: Add rules to build and run bug-strstr1.
18619
5fb308bc
EB
186202010-10-05 Eric Blake <eblake@redhat.com>
18621
18622 [BZ #12092]
18623 * string/str-two-way.h (two_way_long_needle): Always clear memory
18624 when skipping input due to the shift table.
18625
45db99c7
UD
186262010-10-03 Ulrich Drepper <drepper@gmail.com>
18627
3b111893
UD
18628 [BZ #12005]
18629 * malloc/mcheck.c: Handle large requests.
18630
45db99c7
UD
18631 [BZ #12077]
18632 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18633 for strncmp and strncasecmp.
18634 * string/stratcliff.c: Add tests for strcmp and strncmp.
18635 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18636
cf7a1eb8
NI
186372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18638
18639 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18640 __set_fpscr.
18641
6484ba5e
AJ
186422010-09-30 Andreas Jaeger <aj@suse.de>
18643
18644 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18645 (CGROUP_SUPER_MAGIC): Define.
18646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18647 Handle btrfs and cgroup file systems.
18648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18649 Likewise.
18650
91c42559
LM
186512010-09-27 Luis Machado <luisgpm@br.ibm.com>
18652
18653 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18654 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18655
87a97932
AK
186562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18657
18658 [BZ #12067]
18659 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18660 trying to locate the ELF header.
18661
c21cc9bc
AS
186622010-09-27 Andreas Schwab <schwab@redhat.com>
18663
18664 [BZ #11611]
18665 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18666 Mask out sign-bit copies when constructing f_fsid.
18667
315970f6
PB
186682010-09-24 Petr Baudis <pasky@suse.cz>
18669
18670 * debug/stack_chk_fail_local.c: Add missing licence exception.
18671 * debug/warning-nop.c: Likewise.
18672
1ac7a2c7
JM
186732010-09-15 Joseph Myers <joseph@codesourcery.com>
18674
18675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18676 implementing getdents64 using getdents syscall, set d_type if
18677 __ASSUME_GETDENTS32_D_TYPE.
18678
56801c50
AS
186792010-09-16 Andreas Schwab <schwab@redhat.com>
18680
18681 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18682 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18683
dda51327
UD
186842010-09-21 Ulrich Drepper <drepper@redhat.com>
18685
18686 [BZ #12037]
18687 * posix/unistd.h: Undo change of feature selection for ftruncate from
18688 2010-01-11.
18689
8ffcee4a
UD
186902010-09-20 Ulrich Drepper <drepper@redhat.com>
18691
a545ecd9 18692 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18693 detection.
18694
e24f0a8b
AS
186952010-09-20 Andreas Schwab <schwab@redhat.com>
18696
18697 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18698 fanotify_mark.
18699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18700
7291c56f
AS
187012010-09-14 Andreas Schwab <schwab@redhat.com>
18702
18703 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18704 variables after CHECK_SP call.
18705 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18706
bc5fb037
AS
187072010-09-13 Andreas Schwab <schwab@redhat.com>
18708 Ulrich Drepper <drepper@redhat.com>
18709
18710 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18711 re-relocationg ld.so.
18712 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18713 _dl_init_paths call.
18714 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18715 here anymore.
18716
e66e7419
UD
187172010-09-14 Ulrich Drepper <drepper@redhat.com>
18718
18719 * resolv/res_init.c (__res_vinit): Count the default server we added.
18720
c044aa75
CLT
187212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18722 Ulrich Drepper <drepper@redhat.com>
18723
18724 [BZ #11968]
18725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18726 (____longjmp_chk): Use %ebx for saving value across system call.
18727 Add unwind info.
18728
32cf4069
AS
187292010-09-06 Andreas Schwab <schwab@redhat.com>
18730
18731 * manual/Makefile: Don't mix pattern rules with normal rules.
18732
817328ee
AS
187332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18734
18735 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18736 operation.
18737 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18738 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18739 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18740 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18742 Likewise.
18743
29fddf61
UD
187442010-09-04 Ulrich Drepper <drepper@redhat.com>
18745
18746 [BZ #11979]
18747 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18748 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18749
0959ffc9
UD
187502010-09-02 Ulrich Drepper <drepper@redhat.com>
18751
18752 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18753 * sysdeps/x86_64/addmul_1.S: Likewise.
18754 * sysdeps/x86_64/lshift.S: Likewise.
18755 * sysdeps/x86_64/mul_1.S: Likewise.
18756 * sysdeps/x86_64/rshift.S: Likewise.
18757 * sysdeps/x86_64/sub_n.S: Likewise.
18758 * sysdeps/x86_64/submul_1.S: Likewise.
18759
ece29840
ST
187602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18761
0959ffc9
UD
18762 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18763 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18764 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18765 * bits/sched.h [__need_schedparam]
ece29840 18766 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18767 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18768 (__defined_schedparam): Define to 1.
ece29840
ST
18769 (__sched_param): New structure, identical to sched_param.
18770 (__need_schedparam): Undefine.
18771
e53a31fe
MF
187722010-08-31 Mike Frysinger <vapier@gentoo.org>
18773
fdc0c10d
MF
18774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18775 (epoll_create1): Declare.
18776
e53a31fe
MF
18777 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18778
a726d796
AS
187792010-08-31 Andreas Schwab <schwab@redhat.com>
18780
18781 [BZ #7066]
18782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18783 shifting retval into place.
18784
2f3e3dc7
UD
187852010-09-01 Ulrich Drepper <drepper@redhat.com>
18786
f2933da9
UD
18787 * nis/rpcsvc/nis.h: Update copyright notice.
18788 * nis/rpcsvc/nis.x: Likewise.
18789 * nis/rpcsvc/nis_callback.h: Likewise.
18790 * nis/rpcsvc/nis_callback.x: Likewise.
18791 * nis/rpcsvc/nis_object.x: Likewise.
18792 * nis/rpcsvc/nis_tags.h: Likewise.
18793 * nis/rpcsvc/yp.h: Likewise.
18794 * nis/rpcsvc/yp.x: Likewise.
18795 * nis/rpcsvc/ypupd.h: Likewise.
18796 * nis/yp_xdr.c: Likewise.
18797 * nis/ypupdate_xdr.c: Likewise.
18798
2f3e3dc7
UD
18799 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18800 mainly the body of pmap_getport. Add parameters to specify timeouts.
18801 (pmap_getport): Use __libc_rpc_getport.
18802 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18803 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18804 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18805
f3dcc2f9
AS
188062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18807
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18809 fanotify_mark.
18810
6d34eb5b
RM
188112010-08-27 Roland McGrath <roland@redhat.com>
18812
18813 * sysdeps/i386/i686/multiarch/Makefile
18814 (CFLAGS-varshift.c): New variable.
18815
9ea3de11
UD
188162010-08-27 Ulrich Drepper <drepper@redhat.com>
18817
c96d23fc
UD
18818 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18819 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18820
9ea3de11
UD
18821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18822
18823 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18824
623aac7f
L
188252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/x86_64/strlen.S: Unroll the loop.
18828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18829 strlen-sse2 strlen-sse2-bsf.
18830 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18831 __strlen_no_bsf if bit_Slow_BSF is set.
18832 (__strlen_sse42): Removed.
18833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18834 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18835
8b2b7715
RM
188362010-08-25 Roland McGrath <roland@redhat.com>
18837
18838 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18839 * sysdeps/x86_64/multiarch/varshift.c: New file.
18840 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18841 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18842 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18843 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18844
e73015f2
L
188452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18846
18847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18848 strlen-sse2 strlen-sse2-bsf.
18849 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18850 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18851 (__strlen_sse2): Removed.
18852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18855 bit_Slow_BSF for Atom.
18856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18857 (index_Slow_BSF): Define.
18858 (HAS_SLOW_BSF): Define.
18859
df24a73e
UD
188602010-08-25 Ulrich Drepper <drepper@redhat.com>
18861
18862 [BZ #10851]
18863 * resolv/res_init.c (__res_vinit): When no server address at all
18864 is given default to loopback.
18865
f2ac4868
RM
188662010-08-24 Roland McGrath <roland@redhat.com>
18867
09055553
RM
18868 * configure.in: Remove config-name.h generation.
18869 * configure: Regenerated.
18870 * config-name.in: File removed.
18871 * scripts/config-uname.sh: New file.
18872 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18873 ($(objdir)config-name.h): New target.
18874
f2ac4868
RM
18875 * sunrpc/rpc_parse.h: Avoid nested comment.
18876
73f27d5e
RH
188772010-08-24 Richard Henderson <rth@redhat.com>
18878 Ulrich Drepper <drepper@redhat.com>
18879 H.J. Lu <hongjiu.lu@intel.com>
18880
18881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18883 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18884 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18885 _mm_alignr_epi8 with _mm_loadu_si128.
18886 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18887 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18888 (__m128i_shift_right): Removed.
18889 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18890 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18891 * sysdeps/x86_64/multiarch/varshift.h: New file.
18892 * sysdeps/x86_64/multiarch/varshift.S: New file.
18893
84b9230c
MF
188942010-08-21 Mike Frysinger <vapier@gentoo.org>
18895
18896 * configure.in: Move assembler checks to before sysdep dir checking.
18897
9bbd0ddc
PB
188982010-08-20 Petr Baudis <pasky@suse.cz>
18899
18900 * LICENSES: Sync the sunrpc license.
18901
9da4bb31
UD
189022010-08-19 Ulrich Drepper <drepper@redhat.com>
18903
a7ab6ec8
UD
18904 * sunrpc/auth_des.c: Update copyright notice once again.
18905 * sunrpc/auth_none.c: Likewise.
18906 * sunrpc/auth_unix.c: Likewise.
18907 * sunrpc/authdes_prot.c: Likewise.
18908 * sunrpc/authuxprot.c: Likewise.
18909 * sunrpc/bindrsvprt.c: Likewise.
18910 * sunrpc/clnt_gen.c: Likewise.
18911 * sunrpc/clnt_perr.c: Likewise.
18912 * sunrpc/clnt_raw.c: Likewise.
18913 * sunrpc/clnt_simp.c: Likewise.
18914 * sunrpc/clnt_tcp.c: Likewise.
18915 * sunrpc/clnt_udp.c: Likewise.
18916 * sunrpc/clnt_unix.c: Likewise.
18917 * sunrpc/des_crypt.c: Likewise.
18918 * sunrpc/des_soft.c: Likewise.
18919 * sunrpc/get_myaddr.c: Likewise.
18920 * sunrpc/getrpcport.c: Likewise.
18921 * sunrpc/key_call.c: Likewise.
18922 * sunrpc/key_prot.c: Likewise.
18923 * sunrpc/openchild.c: Likewise.
18924 * sunrpc/pm_getmaps.c: Likewise.
18925 * sunrpc/pm_getport.c: Likewise.
18926 * sunrpc/pmap_clnt.c: Likewise.
18927 * sunrpc/pmap_prot.c: Likewise.
18928 * sunrpc/pmap_prot2.c: Likewise.
18929 * sunrpc/pmap_rmt.c: Likewise.
18930 * sunrpc/rpc/auth.h: Likewise.
18931 * sunrpc/rpc/auth_unix.h: Likewise.
18932 * sunrpc/rpc/clnt.h: Likewise.
18933 * sunrpc/rpc/des_crypt.h: Likewise.
18934 * sunrpc/rpc/key_prot.h: Likewise.
18935 * sunrpc/rpc/netdb.h: Likewise.
18936 * sunrpc/rpc/pmap_clnt.h: Likewise.
18937 * sunrpc/rpc/pmap_prot.h: Likewise.
18938 * sunrpc/rpc/pmap_rmt.h: Likewise.
18939 * sunrpc/rpc/rpc.h: Likewise.
18940 * sunrpc/rpc/rpc_des.h: Likewise.
18941 * sunrpc/rpc/rpc_msg.h: Likewise.
18942 * sunrpc/rpc/svc.h: Likewise.
18943 * sunrpc/rpc/svc_auth.h: Likewise.
18944 * sunrpc/rpc/types.h: Likewise.
18945 * sunrpc/rpc/xdr.h: Likewise.
18946 * sunrpc/rpc_clntout.c: Likewise.
18947 * sunrpc/rpc_cmsg.c: Likewise.
18948 * sunrpc/rpc_common.c: Likewise.
18949 * sunrpc/rpc_cout.c: Likewise.
18950 * sunrpc/rpc_dtable.c: Likewise.
18951 * sunrpc/rpc_hout.c: Likewise.
18952 * sunrpc/rpc_main.c: Likewise.
18953 * sunrpc/rpc_parse.c: Likewise.
18954 * sunrpc/rpc_parse.h: Likewise.
18955 * sunrpc/rpc_prot.c: Likewise.
18956 * sunrpc/rpc_sample.c: Likewise.
18957 * sunrpc/rpc_scan.c: Likewise.
18958 * sunrpc/rpc_scan.h: Likewise.
18959 * sunrpc/rpc_svcout.c: Likewise.
18960 * sunrpc/rpc_tblout.c: Likewise.
18961 * sunrpc/rpc_util.c: Likewise.
18962 * sunrpc/rpc_util.h: Likewise.
18963 * sunrpc/rpcinfo.c: Likewise.
18964 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18965 * sunrpc/rpcsvc/key_prot.x: Likewise.
18966 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18967 * sunrpc/rpcsvc/mount.x: Likewise.
18968 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18969 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18970 * sunrpc/rpcsvc/rex.x: Likewise.
18971 * sunrpc/rpcsvc/rstat.x: Likewise.
18972 * sunrpc/rpcsvc/rusers.x: Likewise.
18973 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18974 * sunrpc/rpcsvc/spray.x: Likewise.
18975 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18976 * sunrpc/rtime.c: Likewise.
18977 * sunrpc/svc.c: Likewise.
18978 * sunrpc/svc_auth.c: Likewise.
18979 * sunrpc/svc_authux.c: Likewise.
18980 * sunrpc/svc_raw.c: Likewise.
18981 * sunrpc/svc_run.c: Likewise.
18982 * sunrpc/svc_simple.c: Likewise.
18983 * sunrpc/svc_tcp.c: Likewise.
18984 * sunrpc/svc_udp.c: Likewise.
18985 * sunrpc/svc_unix.c: Likewise.
18986 * sunrpc/svcauth_des.c: Likewise.
18987 * sunrpc/xcrypt.c: Likewise.
18988 * sunrpc/xdr.c: Likewise.
18989 * sunrpc/xdr_array.c: Likewise.
18990 * sunrpc/xdr_float.c: Likewise.
18991 * sunrpc/xdr_mem.c: Likewise.
18992 * sunrpc/xdr_rec.c: Likewise.
18993 * sunrpc/xdr_ref.c: Likewise.
18994 * sunrpc/xdr_sizeof.c: Likewise.
18995 * sunrpc/xdr_stdio.c: Likewise.
18996
9da4bb31
UD
18997 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18998 handling.
18999
bdaa77bc
AS
190002010-08-19 Andreas Schwab <schwab@redhat.com>
19001
19002 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19003
fe2f79db
LM
190042010-08-19 Luis Machado <luisgpm@br.ibm.com>
19005
19006 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19007 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19008 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19009 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19010 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19011 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19012 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19013 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19015 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19016 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19017 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19018 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19019 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19020
b9b42ee0
AB
190212010-07-26 Anton Blanchard <anton@samba.org>
19022
19023 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19024 * malloc/arena.c (heap_trim): Likewise.
19025
1c06ba31
UD
190262010-08-16 Ulrich Drepper <drepper@redhat.com>
19027
19028 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19029 here. Not...
19030 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19031 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19032
f8392f40
L
190332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 * sysdeps/i386/elf/Makefile: New file.
19036
3162f12e
AS
190372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19038
19039 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19040 from fanotify_init.
19041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19043
28c90b2c
UD
190442010-08-15 Ulrich Drepper <drepper@redhat.com>
19045
19046 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19047 of strncasecmp_l.
1feccb6c 19048 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19049
ca6bb004
UD
190502010-08-14 Ulrich Drepper <drepper@redhat.com>
19051
e9f82e0d
UD
19052 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19053 strncase_l-nonascii.
19054 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19055 Add strncase_l-ssse3.
19056 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19057 * sysdeps/x86_64/strcmp.S: Likewise.
19058 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19059 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19060 * sysdeps/x86_64/strncase.S: New file.
19061 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19062 * sysdeps/x86_64/strncase_l.S: New file.
19063 * string/Makefile (strop-tests): Add strncasecmp.
19064 * string/test-strncasecmp.c: New file.
19065
19066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19067 warning.
19068
ca6bb004
UD
19069 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19070 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19071
052fa7b3
AS
190722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19073
19074 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19075
962dba78
UD
190762010-08-12 Ulrich Drepper <drepper@redhat.com>
19077
19078 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19081
bebff237
AM
190822010-05-01 Alan Modra <amodra@gmail.com>
19083
19084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19085 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19086 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19087 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19088 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19089 tidying. Don't tail-call __sigjmp_save for static lib.
19090 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19091 save location.
19092 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19093 (CALL_MCOUNT): Add eh info, and nop after bl.
19094 (TAIL_CALL_SYSCALL_ERROR): New macro.
19095 (PSEUDO_RET): Use it.
19096 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19097 Correct save location of integer regs and cr.
19098 (_dl_profile_resolve): Correct cr save location. Delete nops
19099 after bl when SHARED. Reduce cfi size a little by better
19100 placement of cfi directives.
19101 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19102 make a stack frame. Instead use parm save area as a temp.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19104 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19106 Don't make a stack frame for parent, use parm save area.
19107 Increase child stack frame to 112 bytes. Don't save unused reg,
19108 and adjust reg usage. Set up cfi on error recovery and
19109 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19111 (__makecontext): Add dummy nop after jump to exit.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19113 Use correct parm save area and cr save, reduce stack frame.
19114 Correct cfi for possible PSEUDO_RET frame setup.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19116 Branch to local label emitted by PSEUDO_RET rather than
19117 __syscall_error.
19118
02637374
AS
191192010-08-12 Andreas Schwab <schwab@redhat.com>
19120
19121 [BZ #11904]
19122 * locale/programs/locale.c (print_assignment): New function.
19123 (show_locale_vars): Use it.
19124
c3e2f19b
UD
191252010-08-11 Ulrich Drepper <drepper@redhat.com>
19126
3cdaa6ad
UD
19127 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19128 field.
19129 (struct statfs64): Likewise.
19130 (_STATFS_F_FLAGS): Define.
19131 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19133 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19134 (ST_VALID): Define locally.
19135 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19136 __statvfs_getflags, use the provided value.
19137 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19138 __ASSUME_STATFS_F_FLAGS.
19139
754f7da3
UD
19140 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19141
10b3bedc
UD
19142 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19143 Add sys/fanotify.h.
19144 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19145 fanotify_mask for GLIBC_2.13.
19146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19147 fanotify_init and fanotify_mark.
19148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19149 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19150
c08fb0d7
UD
19151 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19152 Add prlimit.
19153 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19154 prlimit64 for GLIBC_2.13.
19155 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19156 prlimit64.
19157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19158 syscall.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19160 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19161 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19162 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19164 add prlimit alias.
19165 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19166
15bac72b
UD
19167 [BZ #11903]
19168 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19169 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19170
c3e2f19b
UD
19171 * nss/Makefile: Add rules to build and run tst-nss-test1.
19172 * shlib-versions: Add entry for libnss_test1.
19173 * nss/nss_test1.c: New file.
19174 * nss/tst-nss-test1.c: New file.
19175
19176 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19177 (__nss_configure_lookup): Set appropriate entry in
19178 __nss_configure_lookup to true.
19179 * nss/nsswitch.h: Define enum with indeces of databases in
19180 databases and __nss_database_custom arrays. Declare
19181 __nss_database_custom.
19182 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19183 to avoid using nscd when custom rules are installed.
19184 * nss/getXXbyYY_r.c: Likewise.
19185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19186
19187 * nss/nss_files/files-parse.c: Whitespace fixes.
19188
f15ce4d8
UD
191892010-08-09 Ulrich Drepper <drepper@redhat.com>
19190
19191 [BZ #11883]
19192 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19193 * posix/fnmatch_loop.c: Likewise.
19194
d22e4cc9
AK
191952010-07-17 Andi Kleen <ak@linux.intel.com>
19196
19197 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19198 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19199 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19200 * Versions.def [GLIBC_2.13]: Add.
19201
805bc17d
UD
192022010-08-06 Ulrich Drepper <drepper@redhat.com>
19203
19204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19205 Also fail if tpwd after pwuid call is NULL.
19206
5a42321d
ST
192072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19208
19209 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19210 when converting to ms.
19211
fd3ebeda
ST
192122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19213
19214 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19215 EOPNOTSUPP errors with ENOTTY.
19216 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19217 EOPNOTSUPP errors with ENOTTY.
19218
73507d3a
UD
192192010-07-31 Ulrich Drepper <drepper@redhat.com>
19220
19221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19222 Add strcasecmp_l-ssse3.
19223 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19224 strcasecmp.
19225 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19226 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19228
fe36dd02
UD
192292010-07-30 Ulrich Drepper <drepper@redhat.com>
19230
66f6765a
UD
19231 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19232
42e08a54
UD
19233 * string/Makefile (strop-tests): Add strcasecmp.
19234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19235 strcasecmp_l-nonascii.
19236 (gen-as-const-headers): Add locale-defines.sym.
19237 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19238 * sysdeps/x86_64/strcasecmp.S: New file.
19239 * sysdeps/x86_64/strcasecmp_l.S: New file.
19240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19241 * sysdeps/x86_64/locale-defines.sym: New file.
19242 * string/test-strcasecmp.c: New file.
19243
fe36dd02
UD
19244 * string/test-strcasestr.c: Test both ends of the range of characters.
19245 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19246
48cbc0d6
RM
192472010-07-29 Roland McGrath <roland@redhat.com>
19248
76e6d6bc 19249 [BZ #11856]
48cbc0d6
RM
19250 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19251
880113d9
UD
192522010-07-27 Ulrich Drepper <drepper@redhat.com>
19253
19254 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19255 for ld.so.
19256
deb9cabb
AS
192572010-07-27 Andreas Schwab <schwab@redhat.com>
19258
19259 * manual/memory.texi (Malloc Tunable Parameters): Document
19260 M_PERTURB.
19261
1c7570ff
RM
192622010-07-26 Roland McGrath <roland@redhat.com>
19263
19264 [BZ #11840]
19265 * configure.in (-fgnu89-inline check): Set and substitute
19266 gnu89_inline, not libc_cv_gnu89_inline.
19267 * configure: Regenerated.
19268 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19269
24fb0f88
UD
192702010-07-26 Ulrich Drepper <drepper@redhat.com>
19271
19272 * string/test-strnlen.c: New file.
19273 * string/Makefile (strop-tests): Add strnlen.
19274 * string/tester.c (test_strnlen): Add a few more test cases.
19275 * string/tst-strlen.c: Better error reporting.
19276
19277 * sysdeps/x86_64/strnlen.S: New file.
19278
8e96b93a
UD
192792010-07-24 Ulrich Drepper <drepper@redhat.com>
19280
19281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19282 lower-latency instructions.
19283
dbc676d4
UD
192842010-07-23 Ulrich Drepper <drepper@redhat.com>
19285
19286 * string/test-strcasestr.c: New file.
19287 * string/test-strstr.c: New file.
19288 * string/Makefile (strop-tests): Add strstr and strcasestr.
19289 * string/str-two-way.h: Don't undefine MAX.
19290 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19291
f6a31e0e
AS
192922010-07-21 Andreas Schwab <schwab@redhat.com>
19293
19294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19295 strcasestr-nonascii.
19296 (CFLAGS-strcasestr-nonascii.c): Define.
19297 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19299 Remove unused attribute.
19300
5dbc3b6c
RM
193012010-07-20 Roland McGrath <roland@redhat.com>
19302
19303 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19304 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19305 ld.so.cache was broken. With it, there is no way to disable dsocaps
19306 like LD_HWCAP_MASK can disable hwcaps.
19307
23d101d8
EPM
193082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19309
19310 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19311
cc9f2e47
UD
193122010-07-16 Ulrich Drepper <drepper@redhat.com>
19313
19314 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19315 call in strcasestr.
19316 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19317 __strcasestr_sse42_nonascii.
19318 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19319 strcasestr-nonascii.c.
19320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19321
77c1b069
LM
193222010-06-15 Luis Machado <luisgpm@br.ibm.com>
19323
19324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19328
440566c3
UD
193292010-07-09 Ulrich Drepper <drepper@redhat.com>
19330
19331 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19332 fcntl.
19333
5be9d05d
AS
193342010-07-06 Andreas Schwab <schwab@redhat.com>
19335
c30b7ee2 19336 [BZ #11577]
5be9d05d
AS
19337 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19338 dl_signal_cerror.
19339
8a492a67
UD
193402010-07-06 Ulrich Drepper <drepper@redhat.com>
19341
19342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19343 _PC_PIPE_BUF using F_GETPIPE_SZ.
19344
713df3d5
RM
193452010-07-05 Roland McGrath <roland@redhat.com>
19346
19347 * manual/arith.texi (Rounding Functions): Fix rint description
19348 implicit in round description.
19349
702e8f14
UD
193502010-07-02 Ulrich Drepper <drepper@redhat.com>
19351
19352 * elf/Makefile: Fix linking for a few tests to make recent linker
19353 happy.
19354
52ed8be9
AS
193552010-06-30 Andreas Schwab <schwab@redhat.com>
19356
19357 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19358 $(common-objpfx)libc_nonshared.a.
19359
f47c9a11
LM
193602010-06-21 Luis Machado <luisgpm@br.ibm.com>
19361
19362 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19363 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19364 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19365 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19366 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19367 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19368 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19369 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19384 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19385 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19386 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19387 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19388 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19389 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19390 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19391 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19392 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19393 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19394 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19395 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19410
6fb8cbcb
L
194112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19412
19413 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19414 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19415 * string/memmove.c (memmove): Renamed to ...
19416 (MEMMOVE): ...this. Default to memmove.
19417 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19418 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19419 (END_CHK): Define.
19420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19421 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19422 mempcpy-ssse3-back memmove-ssse3-back.
19423 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19426 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19427 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19428 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19429 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19430 * sysdeps/x86_64/multiarch/memmove.c: New file.
19431 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19432 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19433 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19434 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19435 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19437 Define.
19438 (index_Fast_Copy_Backward): Define.
19439 (HAS_ARCH_FEATURE): Define.
19440 (HAS_FAST_REP_STRING): Define.
19441 (HAS_FAST_COPY_BACKWARD): Define.
19442
4e733bac 194432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19444
19445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19446 Restore proper fallback handling.
19447
63c4ed22
UD
194482010-06-19 Ulrich Drepper <drepper@redhat.com>
19449
ac2b484c
UD
19450 [BZ #11701]
19451 * posix/group_member.c (__group_member): Correct checking loop.
19452
63c4ed22
UD
19453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19454 OOM in getpwuid_r correctly. Return error number when the caller
19455 should return, otherwise -1.
19456 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19457 call returning > 0 value.
19458 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19459
765ade4b
AS
194602010-06-07 Andreas Schwab <schwab@redhat.com>
19461
19462 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19463 libc_nonshared.a from targets in modules-names.
19464
80da2e09
KS
194652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19466
19467 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19468 requires it.
19469
158db122
LM
194702010-06-10 Luis Machado <luisgpm@br.ibm.com>
19471
19472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19473 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19476
caa78cf8
AS
194772010-06-02 Andreas Schwab <schwab@redhat.com>
19478
19479 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19480
b2ef2c01
UD
194812010-06-14 Ulrich Drepper <drepper@redhat.com>
19482
19483 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19484 and F_GETPIPE_SZ.
19485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19491
fbd643b6
RM
194922010-06-14 Roland McGrath <roland@redhat.com>
19493
19494 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19495
f32f2869
JJ
194962010-06-07 Jakub Jelinek <jakub@redhat.com>
19497
19498 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19499 __REDIRECT followed by __THROW.
19500 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19501 * posix/getopt.h (getopt): Likewise.
19502
2a50c078
EPM
195032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19504
19505 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19506 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19507 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19508 in AT_FLAGS.
19509 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19510 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19511
eb5ad2eb
LM
195122010-05-28 Luis Machado <luisgpm@br.ibm.com>
19513
19514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19515
3c88fe1e
L
195162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19517
19518 [BZ #11640]
19519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19520 Properly check family and model.
19521
d2f73151
TY
195222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19523
19524 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19525
ebd2e13d
LM
195262010-05-24 Luis Machado <luisgpm@br.ibm.com>
19527
19528 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19529
b32b8b45
UD
195302010-05-21 Ulrich Drepper <drepper@redhat.com>
19531
19532 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19533 symbol reference.
19534
9acbe24d
AS
195352010-05-19 Andreas Schwab <schwab@redhat.com>
19536
19537 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19538 symbol reference.
19539
f0ccf6ea
AS
195402010-05-21 Andreas Schwab <schwab@redhat.com>
19541
3d04ff3a
AS
19542 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19543 and internal_recvmmsg.
19544 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19545 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19547 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19548
f0ccf6ea
AS
19549 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19552
5b08ac57
AS
195532010-05-20 Andreas Schwab <schwab@redhat.com>
19554
19555 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19556
4828935d
LM
195572010-05-17 Luis Machado <luisgpm@br.ibm.com>
19558
19559 POWER7 optimizations.
19560 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19561 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19562
373d545e
UD
195632010-05-19 Ulrich Drepper <drepper@redhat.com>
19564
19565 * version.h: Update for 2.13 development version.
19566
21a2b1ae
AS
195672010-05-12 Andrew Stubbs <ams@codesourcery.com>
19568
19569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19570 exceptions. Return 0.
19571
3f7dcb2b
RM
195722010-05-07 Roland McGrath <roland@redhat.com>
19573
19574 * elf/ldconfig.c (main): Add a const.
19575
5f24d53a 195762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19577
a160f8d8
UD
19578 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19579 (args_options): Add no-idn option.
19580 (ahosts_keys_int): Add idn_flags to ai_flags.
19581 (parse_option): Handle 'i' option to clear idn_flags.
19582
5f24d53a
UD
19583 * malloc/malloc.c (_int_free): Possible race in the most recently
19584 added check. Only act on the data if no current modification
19585 happened.
265bb1ce
UD
19586
19587See ChangeLog.17 for earlier changes.