]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Shrink heap on linux when overcommit_memory == 2
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9fab36eb
SP
12012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * malloc/arena.c: Include malloc-sysdep.h.
4 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5 is sufficient to shrink the heap or an unmap is needed.
6 * sysdeps/generic/malloc-sysdep.h: New file. Define
7 new function check_may_shrink_heap.
8 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9 new function check_may_shrink_heap.
10
2b4f00d1
SP
112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12
13 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14 comments.
15
9a9028b1
DL
162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17
57c69bef
DL
18 * catgets/test-gencat.sh: Add "set -e".
19 * elf/tst-pathopt.sh: Likewise.
20 * grp/tst_fgetgrent.sh: Likewise.
21 * iconvdata/run-iconv-test.sh: Likewise.
22 * intl/tst-gettext.sh: Likewise.
23 * intl/tst-gettext2.sh: Likewise.
24 * intl/tst-gettext4.sh: Likewise.
25 * intl/tst-gettext6.sh: Likewise.
26 * intl/tst-translit.sh: Likewise.
27 * io/ftwtest-sh: Likewise.
28 * libio/test-freopen.sh: Likewise.
29 * malloc/tst-mtrace.sh: Likewise.
30 * posix/globtest.sh: Likewise.
31 * posix/tst-getconf.sh: Likewise.
32 * posix/wordexp-tst.sh: Likewise.
33 * stdio-common/tst-printf.sh: Likewise.
34 * stdio-common/tst-unbputc.sh: Likewise.
35 * stdlib/tst-fmtmsg.sh: Likewise.
36 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37 * catgets/Makefile: Do not specify -e option when running
38 testsuite shell scripts.
39 * elf/Makefile: Likewise.
40 * grp/Makefile: Likewise.
41 * iconvdata/Makefile: Likewise.
42 * intl/Makefile: Likewise.
43 * io/Makefile: Likewise.
44 * libio/Makefile: Likewise.
45 * malloc/Makefile: Likewise.
46 * posix/Makefile: Likewise.
47 * stdio-common/Makefile: Likewise.
48 * stdlib/Makefile: Likewise.
49 * sysdeps/x86_64/Makefile: Likewise.
50
9a9028b1
DL
51 * io/ftwtest-sh: Add copyright header.
52 * posix/globtest.sh: Likewise.
53 * posix/tst-getconf.sh: Likewise.
54 * posix/wordexp-tst.sh: Likewise.
55 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56
ced6f16e
L
572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
58
94b32c39
L
59 [BZ #13679]
60 * Makeconfig (+link): Defined as $(+link-static) if
61 $(build-shared) isn't yes.
62 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63 isn't yes.
64 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65
189e935b
L
66 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
67
ced6f16e
L
68 [BZ #14562]
69 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70 new chunk size with MALLOC_ALIGN_MASK.
71
a9f8e53a
JM
722012-09-24 Joseph Myers <joseph@codesourcery.com>
73
74 [BZ #5044]
75 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76 <rounding-mode.h>.
77 (__printf_fphex): Determine rounding using get_rounding_mode and
78 round_away.
79 * stdio-common/tst-printf-round.c (struct hex_test): New
80 structure.
81 (hex_tests): New variable.
82 (test_hex_in_one_mode): New function.
83 (do_test): Also run tests for hex float output.
84
43153109
JM
852012-09-21 Joseph Myers <joseph@codesourcery.com>
86
87 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
88 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
89 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
90 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
91 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
92 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
93 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
94 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
95
8a26625d
JM
962012-09-20 Joseph Myers <joseph@codesourcery.com>
97
98 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
99 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
100 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
101 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
102
f3fd569c
DL
1032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
104
105 [BZ #14579]
106 * elf/rtld.c (dl_main): Limit the check for self loading to normal
107 mode only.
108 * elf/tst-rtld-load-self.sh: New test.
109 * elf/Makefile: Run it.
110
63bbedd4
JM
1112012-09-18 Joseph Myers <joseph@codesourcery.com>
112
113 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
114 (tst-writev-ENV): Remove.
115 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
116
626f8b6a
CM
1172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
118
119 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
120
b7aaa4d6
JM
1212012-09-17 Joseph Myers <joseph@codesourcery.com>
122
123 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
124 unconditional.
125 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
126 Likewise.
127 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
128 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
129 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
130 Likewise.
131
65513990
L
1322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
133
134 [BZ #14587]
135 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
136 * config.make.in (have-cpp-asm-debuginfo): Removed.
137 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
138 * configure: Regenerated.
139
784761be
JM
1402012-09-14 Joseph Myers <joseph@codesourcery.com>
141
142 [BZ #5044]
143 * stdio-common/printf_fp.c: Include <stdbool.h> and
144 <rounding-mode.h>.
145 (___printf_fp): Determine rounding using get_rounding_mode and
146 round_away.
147 * stdio-common/tst-printf-round.c: New file.
148 * stdio-common/Makefile (tests): Add tst-printf-round.
149 (link-libm): New variable.
150 ($(objpfx)tst-printf-round): Depend in $(link-libm).
151
9503345f
L
1522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
153
154 [BZ #14576]
155 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
156 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
157 Likewise.
158 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
159 Likewise.
160
ad35fc00
JM
1612012-09-13 Joseph Myers <joseph@codesourcery.com>
162
163 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
164 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
165 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
167
6c9b0f68
JM
1682012-09-12 Joseph Myers <joseph@codesourcery.com>
169
170 [BZ #14518]
171 * include/rounding-mode.h: New file.
172 * sysdeps/generic/get-rounding-mode.h: Likewise.
173 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
174 * stdlib/strtod_l.c: Include <rounding-mode.h>.
175 (MAX_VALUE): New macro.
176 (MIN_VALUE): Likewise.
177 (overflow_value): New function.
178 (underflow_value): Likewise.
179 (round_and_return): Use overflow_value and underflow_value to
180 determine return values in overflow and underflow cases. Use
181 round_away to determine rounding depending on rounding mode.
182 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
183 determine return values in overflow and underflow cases.
184 * stdlib/tst-strtod-round.c: Include <fenv.h>.
185 (struct test_results): New structure.
186 (struct test): Use struct test_results to store expected results
187 for all rounding modes.
188 (TEST): Include expected results for all rounding modes.
189 (test_in_one_mode): New function.
190 (do_test): Use test_in_one_mode to compute and check results.
191 Check results for all rounding modes.
192 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
193 $(link-libm).
194
19fcedd5
AM
1952012-12-09 Allan McRae <allan@archlinux.org>
196
197 * sysdeps/i386/fpu/libm-test-ulps: Update
198
8bbfd2f1
JM
1992012-09-11 Joseph Myers <joseph@codesourcery.com>
200
201 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
202 (_G_int32_t): Likewise.
203 (_G_uint16_t): Likewise.
204 (_G_uint32_t): Likewise.
205 (_G_HAVE_BOOL): Likewise.
206 (_G_HAVE_ATEXIT): Likewise.
207 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
208 (_G_HAVE_IO_FILE_OPEN): Likewise.
209 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
210 (_G_int32_t): Likewise.
211 (_G_uint16_t): Likewise.
212 (_G_uint32_t): Likewise.
213 (_G_HAVE_BOOL): Likewise.
214 (_G_HAVE_ATEXIT): Likewise.
215 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
216 (_G_HAVE_IO_FILE_OPEN): Likewise.
217 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
218 (_G_int32_t): Likewise.
219 (_G_uint16_t): Likewise.
220 (_G_uint32_t): Likewise.
221 (_G_HAVE_BOOL): Likewise.
222 (_G_HAVE_ATEXIT): Likewise.
223 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
224 (_G_HAVE_IO_FILE_OPEN): Likewise.
225
b1dc5912
L
2262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
227
228 * csu/libc-tls.c: Update copyright years.
229
0e886ef9
JM
2302012-09-10 Joseph Myers <joseph@codesourcery.com>
231
28361c5e
JM
232 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
233 [!_G_USING_THUNKS]: Remove conditional code.
234 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
235 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
236
0e886ef9
JM
237 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
238 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
239 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
240 (_G_VTABLE_LABEL_PREFIX): Likewise.
241 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
242 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
243 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
244 (_G_VTABLE_LABEL_PREFIX): Likewise.
245 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
246 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
247 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
248 (_G_VTABLE_LABEL_PREFIX): Likewise.
249 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
250
bcba7aa2
L
2512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
252
253 * libio/Makefile: Include ../Makeconfig before tests.
254 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
255 only if $(build-shared) is yes.
256
06585ee8
L
257 * iconv/gconv_db.c: Update copyright years.
258
80ccd52c
LD
2592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
260
261 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
262 unwind info if defined PIC. Fix special cases description.
263 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
264
265 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
266 DP_HI_MASK entry.
267 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
268
691bc9c1
L
2692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
270
3d9b46b3
L
271 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
272
de2139a9
L
273 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
274 is NULL.
275
5ca78dd0
L
276 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
277 (LDLIBS-tst-chk4): This.
278 (LDFLAGS-tst-chk5): Renamed to ...
279 (LDLIBS-tst-chk5): This.
280 (LDFLAGS-tst-chk6): Renamed to ...
281 (LDLIBS-tst-chk6): This.
282 (LDFLAGS-tst-lfschk4): Renamed to ...
283 (LDLIBS-tst-lfschk4): This.
284 (LDFLAGS-tst-lfschk5): Renamed to ...
285 (LDLIBS-tst-lfschk5): This.
286 (LDFLAGS-tst-lfschk6): Renamed to ...
287 (LDLIBS-tst-lfschk6): This.
288
691bc9c1
L
289 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
290 on $(common-objpfx)soversions.mk.
291
65cafb1c
JM
2922012-09-07 Joseph Myers <joseph@codesourcery.com>
293
294 [BZ #10014]
295 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
296 example host name.
297
c78ab094
SP
2982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
299
300 * malloc/arena.c (arena_get_retry): New function that gets
301 another arena for the caller to try its request on.
302 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
303 current arena cannot fulfill the request.
304 (__libc_memalign): Likewise.
305 (__libc_memalign): Likewise.
306 (__libc_pvalloc): Likewise.
307 (__libc_calloc): Likewise.
308
01f49f59
JT
3092012-09-05 John Tobey <john.tobey@gmail.com>
310
311 [BZ #13542]
312 * manual/arith.texi (Operations on Complex): Fix description
313 of carg branch cut.
314
4c23fed5
JM
3152012-09-06 Joseph Myers <joseph@codesourcery.com>
316
1d3c8572
JM
317 [BZ #10014]
318 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
319 host name.
320
4c23fed5
JM
321 [BZ #10038]
322 * manual/memory.texi (Memory): Make order of menu items match
323 order of sections.
324
04570aaa
L
3252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
326
327 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
328 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
329 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
330
b80af2f4
L
3312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
332
333 * csu/libc-tls.c (static_dtv): Renamed to ...
334 (_dl_static_dtv): This. Make it global.
335 (_dl_initial_dtv): Removed.
336 (__libc_setup_tls): Updated.
337 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
338 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
339 DL_INITIAL_DTV.
340
2abe9f15
PM
3412012-09-06 Petr Machata <pmachata@redhat.com>
342
343 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
344 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
345 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
346 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
347
0948c3af
L
3482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
349
350 [BZ #14545]
351 * csu/libc-tls.c (_dl_initial_dtv): New variable.
352 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
353 freeing dtv[-1].
354
a5055ad1
L
3552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
356
357 [BZ #14544]
358 * Makeconfig (link-static-before-libc): Replace $(+prector)
359 with $(+prectorT).
360 (link-static-after-libc): Replace $(+postctor) with
361 $(+postctorT).
362 (link-bounded): Replace $(+prector)/$(+postctor) with
363 $(+prectorT)/$(+postctorT).
364 (+prectorT): New macro.
365 (+postctorT): Likewise.
366
ed8c2ecd
JM
3672012-09-06 Joseph Myers <joseph@codesourcery.com>
368
369 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
370 (round_str): Handle values above the maximum for IBM long double
371 as inexact.
372 * stdlib/tst-strtod-round.c (tests): Regenerated.
373
14c996c8
AK
3742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
375
376 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
377 assembler flag.
378 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
379 zarch_nohighgprs around the zarch optimized routines.
380 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
381 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
382 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
383 for zarch.
384
430d6ce6
DM
3852012-09-05 David S. Miller <davem@davemloft.net>
386
387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
388
ff04dda4
DM
389 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
390 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
391 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
392 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
393 entries.
394
24d4e01b
AO
3952012-09-05 Alexandre Oliva <aoliva@redhat.com>
396
397 * malloc/arena.c: Fold copyright years.
398 * malloc/mcheck.c, malloc/memusage.c: Likewise.
399
61d58174
AO
4002012-09-05 Alexandre Oliva <aoliva@redhat.com>
401
402 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
403
20196a5e
AO
4042012-09-05 Alexandre Oliva <aoliva@redhat.com>
405
406 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
407
5c447383
AO
4082012-09-05 Alexandre Oliva <aoliva@redhat.com>
409
410 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
411 change internal state upon failure.
412
fad64255
AO
4132012-09-05 Alexandre Oliva <aoliva@redhat.com>
414
415 * malloc/mcheck.c (mcheck_check_all): Fix typo.
416 * malloc/memusage.c (mmap): Likewise.
417 (mmap64, mremap): Likewise. Adjust name in comment.
418
1ffb8c90
SP
4192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
420
421 * libio/fileops.c: Fix typos in comments.
422 * libio/oldfileops.c: Likewise.
423 * libio/wfileops.c: Likewise.
424
6ef9cc37
SP
4252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
426
427 [BZ #1349]
428 * malloc/Makefile (tests): Add tst-malloc-usable test case.
429 (tst-malloc-usable-ENV): Set environment for test case.
430 * malloc/hooks.c (malloc_check_get_size): New function to get
431 requested size.
432 * malloc/malloc.c (musable): Use malloc_check_get_size.
433 * malloc/tst-malloc-usable.c: New test case.
434
4d038ae3
AS
4352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
436
437 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
438
c4e85184
AM
4392012-09-05 Allan McRae <allan@archlinux.org>
440
b9dafc56 441 [BZ #13966]
c4e85184
AM
442 * configure.in (CXX_SYSINCLUDES): Use compiler output to
443 determine header location.
444 * configure: Regenerated.
445
e1343020
AS
4462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
447
448 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
449 float format.
450 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
451 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
452 format.
e1343020
AS
453 (test): Regenerate.
454
0a9f1987
DM
4552012-09-04 David S. Miller <davem@davemloft.net>
456
457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
460
29237804
FW
4612012-09-04 Florian Weimer <fweimer@redhat.com>
462
463 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
464 failures.
465
edb3cb88
FW
466 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
467
60160d83
JM
4682012-09-04 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #9914]
471 * libio/iogetdelim.c: Include <limits.h>.
472 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
473 + len + 1 would overflow.
474
bcd6c8dc
AJ
4752012-09-03 Andreas Jaeger <aj@suse.de>
476
477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
478 * sysdeps/i386/fpu/libm-test-ulps: Update.
479
4ffffbd2
LD
4802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
481
482 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
483 Add s_sinf-sse2, s_conf-sse2.
484
485 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
486 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
487 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
488 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
489
490 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
491 for using routine as __sinf_ia32.
492 Use macro for function declaration and weak_alias.
493 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
494 for using routine as __cosf_ia32.
495 Use macro for function declaration and weak_alias.
496
497 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
498 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
499
500 * sysdeps/x86_64/fpu/s_sinf.S: New file.
501 * sysdeps/x86_64/fpu/s_cosf.S: New file.
502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
503
504 * math/libm-test.inc (cos_test): Add more test cases.
505 (sin_test): Likewise.
506 (sincos_test): Likewise.
507
511fa286
AK
5082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
509
510 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
511 (IFUNC_RESOLVE): Make pointers to the specialized implementations
512 hidden.
513 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
514
5f30cfec
L
5152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
516
517 [BZ #14538]
518 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
519 first element of the GOT.
520 (elf_machine_load_address): Return the difference between
521 the runtime address of _DYNAMIC and elf_machine_dynamic ().
522
0786794f
AM
5232012-09-01 Allan McRae <allan@archlinux.org>
524
5f30cfec
L
525 [BZ #13412]
526 * configure.in (AWK): Require gawk version 3.0 or later.
527 * configure: Regenerated.
0786794f 528
26889eac
JM
5292012-09-01 Joseph Myers <joseph@codesourcery.com>
530
531 * sysdeps/unix/sysv/linux/kernel-features.h
532 (__ASSUME_POSIX_CPU_TIMERS): Remove.
533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
534 [__NR_clock_getres]: Make code unconditional.
535 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
536 (clock_getcpuclockid): Remove code left unreachable by removal of
537 conditionals.
538 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
539 code unconditional.
540 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
541 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
542 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
543 Make code unconditional.
544 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
545 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
546 * sysdeps/unix/sysv/linux/clock_settime.c
547 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
548 conditional code.
549 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
551
d22e28b0
L
5522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
553
554 [BZ #14476]
555 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
556 scripts/test-installation.pl.
557
558 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
559 and $ld_so_version if it is set.
560
050af9c4
SP
5612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 [BZ #14516]
564 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
565 failure if reading from procfs failed.
566 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
567
ad845c0b
JM
5682012-08-27 Joseph Myers <joseph@codesourcery.com>
569
570 * sysdeps/unix/sysv/linux/kernel-features.h
571 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
572 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
573 Remove conditional code.
574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
575 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
576 Remove conditional code.
577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
578 * sysdeps/unix/sysv/linux/i386/fxstat.c
579 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
581 * sysdeps/unix/sysv/linux/i386/fxstatat.c
582 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
584 * sysdeps/unix/sysv/linux/i386/lxstat.c
585 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
587 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
588 Remove conditional code.
589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
590 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
591 Remove conditional code.
592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
594 <kernel-features.h>.
595 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
596 Remove.
597 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
598 Remove conditional code.
599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
600 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
601 Remove conditional.
602
5dbf56af
MF
6032012-08-27 Mike Frysinger <vapier@gentoo.org>
604
605 [BZ #5400]
606 * NEWS: Add fixed bug number.
607
d6e70f43
JM
6082012-08-27 Joseph Myers <joseph@codesourcery.com>
609
7efb4737
JM
610 [BZ #14519]
611 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
612 underflowing exponent in case of negative sign.
613 * stdlib/tst-strtod-round-data: Add more tests.
614 * stdlib/tst-strtod-round.c (tests): Regenerated.
615
af92131a
JM
616 [BZ #3479]
617 * stdlib/strtod_l.c (NDIG): Remove.
618 (HEXNDIG): Likewise.
619 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
620 smallest representable value.
621 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
622 lie within an exact representation of 1/2 ulp of the result.
623 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
624 unconditionally.
625 (TENS_P9_IDX): Define unconditionally.
626 (TENS_P9_SIZE): Likewise.
627 (TENS_P10_IDX): Likewise.
628 (TENS_P10_SIZE): Likewise.
629 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
630 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
631 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
632 entries for 10^2^13 and 10^2^14.
633 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
634 (TENS_P13_IDX): Define.
635 (TENS_P13_SIZE): Likewise.
636 (TENS_P14_IDX): Likewise.
637 (TENS_P14_SIZE): Likewise.
638 (_fpioconst_pow10): Change array size to
639 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
640 unconditional.
641 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
642 1024]: Add entries for 10^2^13 and 10^2^14.
643 [LAST_POW10 > _LAST_POW10]: Remove #error.
644 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
645 (_fpioconst_pow10): Change array size to
646 FPIOCONST_POW10_ARRAY_SIZE.
647 * stdlib/gen-fpioconst.c: New file.
648 * stdlib/gen-tst-strtod-round.c: Likewise.
649 * stdlib/tst-strtod-round-data: Likewise.
650 * stdlib/tst-strtod-round.c: Likewise.
651 * stdlib/Makefile (tests): Add tst-strtod-round.
652
d6e70f43
JM
653 [BZ #14459]
654 * stdlib/strtod_l.c: Include <stdint.h>.
655 (NDEBUG): Do not define.
656 (round_and_return): Change EXPONENT parameter to type intmax_t.
657 Rearrange calculations to avoid internal overflow possibilities.
658 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
659 Rearrange calculations to avoid internal overflow possibilities.
660 Assert that number fits inside MPNSIZE limbs.
661 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
662 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
663 calculations and add assertions to avoid internal overflow
664 possibilities. Add casts to avoid signed/unsigned operations.
665 * stdlib/tst-strtod-overflow.c: New file.
666 * stdlib/Makefile (tests): Add tst-strtod-overflow.
667
1f529f7d
MP
6682012-08-25 Marek Polacek <polacek@redhat.com>
669
670 * time/time.h: Fix some typos in comments.
671
59a629f1
RM
6722012-08-23 Roland McGrath <roland@hack.frob.com>
673
674 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
675 * posix/tst-rfc3484-2.c: Likewise.
676 * posix/tst-rfc3484-3.c: Likewise.
677
d3bafbc9
SM
6782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
679
680 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
681 (EF_ARM_ABI_FLOAT_HARD): Likewise.
682
4efcc022
JM
6832012-08-23 Joseph Myers <joseph@codesourcery.com>
684
685 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
686 #include of fxstatat64.c.
687
3cc3ef96
RM
6882012-08-22 Roland McGrath <roland@hack.frob.com>
689
f04e2132
RM
690 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
691 * shadow/getspent_r.c: Likewise.
692 * shadow/getspnam.c: Likewise.
693 * shadow/getspnam_r.c: Likewise.
694 * gshadow/getsgent.c: Likewise.
695 * gshadow/getsgent_r.c: Likewise.
696 * gshadow/getsgnam.c: Likewise.
697 * gshadow/getsgnam_r.c: Likewise.
698 * inet/getnetbyad.c: Likewise.
699 * inet/getnetbyad_r.c: Likewise.
700 * inet/getnetbynm.c: Likewise.
701 * inet/getnetbynm_r.c: Likewise.
702 * inet/getnetent.c: Likewise.
703 * inet/getnetent_r.c: Likewise.
704 * inet/getproto.c: Likewise.
705 * inet/getproto_r.c: Likewise.
706 * inet/getprtent.c: Likewise.
707 * inet/getprtent_r.c: Likewise.
708 * inet/getprtname.c: Likewise.
709 * inet/getprtname_r.c: Likewise.
710 * inet/getrpcbyname.c: Likewise.
711 * inet/getrpcbyname_r.c: Likewise.
712 * inet/getrpcbynumber.c: Likewise.
713 * inet/getrpcbynumber_r.c: Likewise.
714 * inet/getrpcent.c: Likewise.
715 * inet/getrpcent_r.c: Likewise.
716 * inet/getaliasent.c: Likewise.
717 * inet/getaliasent_r.c: Likewise.
718 * inet/getaliasname.c: Likewise.
719 * inet/getaliasname_r.c: Likewise.
720 * nscd/getgrgid_r.c: Likewise.
721 * nscd/getgrnam_r.c: Likewise.
722 * nscd/gethstbyad_r.c: Likewise.
723 * nscd/gethstbynm3_r.c: Likewise.
724 * nscd/getpwnam_r.c: Likewise.
725 * nscd/getpwuid_r.c: Likewise.
726 * nscd/getsrvbynm_r.c: Likewise.
727 * nscd/getsrvbypt_r.c: Likewise.
728 * nscd/gai.c: Likewise.
729
c53d909c
RM
730 * configure.in (build_nscd): New substituted variable, set
731 by --disable-build-nscd and defaults to $use_nscd.
732 * configure: Regenerated.
733 * config.make.in (build-nscd): New substituted variable.
734 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
735 Change conditional to require [$(build-nscd) = yes] as well.
736 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
737
3cc3ef96
RM
738 [BZ# 13696]
739 * configure.in (use_nscd): New substituted variable, set by
740 --disable-nscd. If enabled, define USE_NSCD.
741 * configure: Regenerated.
742 * config.h.in: Add USE_NSCD.
743 * config.make.in (use-nscd): New substituted variable.
744 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
745 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
746 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
747 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
748 (CFLAGS-getgrnam_r.c): Likewise.
749 (CFLAGS-initgroups.c): Likewise.
750 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
751 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
752 Variables removed.
753 * inet/getnetgrent_r.c
754 (nscd_setnetgrent): New function, broken out of ...
755 (setnetgrent): ... here. Call it.
756 (innetgr): Conditionalize nscd bits on [USE_NSCD].
757 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
758 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
759 * nscd/Makefile (routines, aux): Move definitions after include of
760 Makeconfig. Conditionalize on [$(use-nscd) != no].
761 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
762 Conditionalize on [USE_NSCD].
763 (is_nscd, nscd_init_cb): Likewise.
764 (nss_load_library): Conditionalize init callback on [USE_NSCD].
765 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
766 * nss/nss_db/db-init.c: Likewise.
767 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
768 [USE_NSCD].
769 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
770 (make_request): Use it.
771 (cache_valid_p): New function.
772 (__check_pf): Use it.
773 * NEWS: Add item for --disable-nscd.
774
07e51550
DL
7752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
776
777 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
778 to support sed >= 4.2.1-20-ga9bf076.
779 * configure: Regenerated.
780
35a5b08b
RM
7812012-08-22 Roland McGrath <roland@hack.frob.com>
782
783 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
784 Conditionalize whole body on [IREL].
785
8479f23a
JL
7862012-08-22 Jeff Law <law@redhat.com>
787
788 [BZ #14505]
789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
790 if the family is PF_UNSPEC.
791
48da0b21
MF
7922012-08-22 Mike Frysinger <vapier@gentoo.org>
793
794 * Makerules (lib-version): Rename from V.
795 (install-lib-nosubdir): Change V to lib-version.
796
15d0da8c
WS
7972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
798
799 [BZ #14252]
800 * powerpc32/power6/wcschr.c: New file.
801 * powerpc32/power6/wcscpy.c: New file.
802 * powerpc32/power6/wcsrchr.c: New file.
803 * powerpc64/power6/wcschr.c: New file.
804 * powerpc64/power6/wcscpy.c: New file.
805 * powerpc64/power6/wcsrchr.c: New file.
806
bcca0895
MK
8072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
808
809 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
810 (two_way_short_needle): Use it.
5a4aaa33
RM
811 * string/strstr.c (AVAILABLE1_USES_J): Define.
812 * string/strcasestr.c: Likewise.
99677e57
MK
813
814 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
815 array references.
816 * string/strcasestr.c (TOLOWER): Make side-effect safe.
817
400726de
MK
818 [BZ #11607]
819 * NEWS: Add an entry.
820 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
821 define their defaults.
822 (two_way_short_needle): Detect end-of-string on-the-fly.
823 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
824 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
825 * string/bug-strcasestr1.c: New test.
826 * string/Makefile: Run it.
827
20a71f2c
MK
8282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
829
830 [BZ #11607]
831 * string/str-two-way.h (two_way_short_needle): Optimize matching of
832 the first character.
833
21ad0558
RM
8342012-08-21 Roland McGrath <roland@hack.frob.com>
835
836 * csu/elf-init.c (__libc_csu_irel): Function removed.
837 * csu/libc-start.c (apply_irel): New function.
838 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
839
0e1d9911
JM
8402012-08-21 Joseph Myers <joseph@codesourcery.com>
841
842 * sysdeps/unix/sysv/linux/kernel-features.h
843 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
844 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
845 <kernel-features.h>.
846 [__NR_fadvise64_64]: Make code unconditional.
847 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
848 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
849 !__NR_fadvise64_64)]: Likewise.
850 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
851 !__NR_fadvise64_64))]: Likewise.
852 [__NR_fadvise64]: Make code unconditional.
853 [!__NR_fadvise64]: Remove conditional code.
854 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
855 <kernel-features.h>.
856 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
857 unconditional.
858 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
859 conditional code.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
861 not include <kernel-features.h>.
862 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
863 unconditional.
864 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
865 conditional code.
866 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
867 include <kernel-features.h>.
868 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
869 unconditional.
870 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
871 conditional code.
872
14a50c9d
WS
8732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
874
875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
876 slight instruction rearrangements per scrollpipe analysis.
877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
878
c0f4faf0
RM
8792012-08-20 Roland McGrath <roland@hack.frob.com>
880
696da859
RM
881 * manual/syslog.texi (syslog; vsyslog, closelog):
882 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
883 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
884
c0f4faf0
RM
885 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
886 DSOCAPS to match condition on defining it.
887
348363b2
JM
8882012-08-20 Joseph Myers <joseph@codesourcery.com>
889
a35cbf28
JM
890 * sysdeps/unix/sysv/linux/kernel-features.h
891 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
893 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
894 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
896 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
897 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
899 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
900 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
901
445f7ecd
JM
902 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
903 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
904
348363b2
JM
905 * sysdeps/unix/sysv/linux/kernel-features.h
906 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
907 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
908 unconditional.
909 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
910 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
911 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
912 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
913 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
914 Make code unconditional.
915 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
916 (__mmap64) [!__NR_mmap2]: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
918 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
919 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
920 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
921 [__NR_mmap2]: Make code unconditional.
922 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
923 (__mmap64) [!__NR_mmap2]: Likewise.
924
bc5bc0e5
AK
9252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
926
927 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
928
88d506de
AJ
9292012-08-18 Andreas Jaeger <aj@suse.de>
930
931 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
932
493387d2
MF
9332012-08-18 Mike Frysinger <vapier@gentoo.org>
934
935 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
936 * include/unistd.h (__have_sock_cloexec): Likewise.
937 (__have_pipe2): Likewise.
938 (__have_dup3): Likewise.
939
a277af22
MF
9402012-08-18 Mike Frysinger <vapier@gentoo.org>
941
942 [BZ #9685]
943 * include/unistd.h (__have_pipe2): Change define into an extern int.
944 (__have_dup3): Likewise.
945 * socket/have_sock_cloexec.c: Include fcntl.h.
946 (__have_pipe2): New variable.
947 (__have_dup3): Likewise.
948
fdab8fd3
MF
9492012-08-17 Mike Frysinger <vapier@gentoo.org>
950
951 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
952
31035e80
MP
9532012-08-17 Marek Polacek <polacek@redhat.com>
954
955 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
956 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
957
3bd9e993
RM
9582012-08-17 Roland McGrath <roland@hack.frob.com>
959
c91c505f
RM
960 * configure.in: Add AC_SUBST for sysheaders.
961 * configure: Regenerated.
962 * config.make.in (sysheaders): New substituted variable.
963
7c6f9d53
RM
964 * sysdeps/unix/mkfifo.c: Moved ...
965 * sysdeps/posix/mkfifo.c: ... here.
966 * sysdeps/unix/mkfifoat.c: Moved ...
967 * sysdeps/posix/mkfifoat.c: ... here.
968
969 * sysdeps/unix/utime.c: Moved ...
970 * sysdeps/posix/utime.c: ... here.
971
972 * sysdeps/unix/time.c: Moved ...
973 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
974 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
975 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
976
977 * sysdeps/unix/nice.c: Moved ...
978 * sysdeps/posix/nice.c: ... here.
979
980 * sysdeps/unix/alarm.c: Moved ...
981 * sysdeps/posix/alarm.c: ... here.
982
3bd9e993
RM
983 * intl/Makefile ($(codeset_mo)): Depend on the input file.
984
d1f09384
JL
9852012-08-17 Jeff Law <law@redhat.com>
986
987 * intl/Makefile (codeset_mo): New variable.
988 ($(codeset_mo)): New target.
989 (tst-codeset.out): Depend on that. Remove explicit rule.
990 (tst-gettext3.out, tst-gettext5.out): Likewise.
991 (LOCPATH-ENV, tst-codeset-ENV): New variables.
992 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
993 * intl/tst-codeset.sh: Remove.
994 * intl/tst-gettext3.sh: Likewise.
995 * intl/tst-gettext5.sh: Likewise.
996
2ae1ae5c
RM
9972012-08-17 Roland McGrath <roland@hack.frob.com>
998
c31fdb83
RM
999 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1000 * sysdeps/unix/syscalls.list: ... here.
1001
a0844057
RM
1002 * sysdeps/posix/getaddrinfo.c
1003 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1004 (gaiconf_init, gaiconf_reload): Use them.
1005 [!_STATBUF_ST_NSEC]
1006 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1007 Define using time_t rather than struct timespec.
1008
750c1f2a
RM
1009 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1010 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1011 Macros removed.
1012 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1013 [!NO_THREADS].
1014 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1015 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1016 Likewise.
1017
2ae1ae5c
RM
1018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1019 __libc_cleanup_push argument.
1020
e66a42f5
RM
1021 * bits/param.h: New file.
1022 * misc/sys/param.h: New file.
1023 * include/sys/param.h: New file.
1024 * misc/Makefile (headers): Add bits/param.h.
1025 * sysdeps/generic/sys/param.h: File removed.
1026 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1027 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1028 * sysdeps/mach/hurd/bits/param.h: New file.
1029 * sysdeps/mach/hurd/sys/param.h: New file.
1030
b7c08a66
RM
1031 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1032 last change.
1033
b2e1c562
RM
1034 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1035 [_IO_MTSAFE_IO].
1036 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1037 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1038 New macros.
1039
c75ccd4c
RM
1040 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1041 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1042 rather than -D_IO_MTSAFE_IO conditionally.
1043 * stdio-common/Makefile (CPPFLAGS): Likewise.
1044 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1045 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1046 Use $(libio-mtsafe).
1047 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1048 of -D_IO_MTSAFE_IO.
1049 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1050 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1051 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1052 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1053 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1054 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1055 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1056 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1057 (CFLAGS-fread_u_chk.c): Likewise.
1058 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1059 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1060 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1061 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1062 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1063 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1064 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1065 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1066 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1067
1068 * libio/Makefile: Test [$(libc-reentrant) = yes]
1069 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1070
1071 * Makeconfig
1072 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1073 * sysdeps/pthread/configure: File removed.
1074 * sysdeps/pthread/Makeconfig: New file.
1075 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1076 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1077
d9195db8
GB
10782012-08-16 Gary Benson <gbenson@redhat.com>
1079
1080 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1081 unmapping the first object in a namespace.
1082
86466cd9
RM
10832012-08-16 Roland McGrath <roland@hack.frob.com>
1084
1085 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1086 (__internal_setnetgrent): ... this. Add internal_function to
1087 definition. Add libc_hidden_def.
1088 (setnetgrent): Update caller.
1089 (internal_endnetgrent): Renamed to ...
1090 (__internal_endnetgrent): ... this. Add internal_function to
1091 definition. Add libc_hidden_def.
1092 (endnetgrent): Update caller.
1093 (internal_getnetgrent_r): Renamed to ...
1094 (__internal_getnetgrent_r): ... this. Add internal_function to
1095 definition. Add libc_hidden_def.
1096 (__getnetgrent_r): Update caller.
1097 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1098
c3c8283c
JM
10992012-08-16 Joseph Myers <joseph@codesourcery.com>
1100
1101 * stdlib/longlong.h: Update from GCC.
1102
db1ee0a8
RM
11032012-08-16 Roland McGrath <roland@hack.frob.com>
1104
1105 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1106 on _QL, which is set by umul_ppmm but never used.
1107 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1108 variables, which are set by GMP macros but never used.
1109 * stdio-common/_itowa.c (_itowa): Likewise.
1110 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1111 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1112
30f69637
CD
11132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1114
1115 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1116 struct La_sh_regs is not constant.
1117 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1118 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1119 and struct La_sparc64_regs are not constant.
1120
93a78ac4
JM
11212012-08-16 Joseph Myers <joseph@codesourcery.com>
1122
1123 * sysdeps/unix/sysv/linux/kernel-features.h
1124 (__ASSUME_POSIX_TIMERS): Remove.
1125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1127 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1128 Make code unconditional.
1129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1130 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1131 Make code unconditional.
1132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1133 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1134 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1137 Make code unconditional.
1138 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1139 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1140 (__libc_missing_posix_timers): Remove.
1141
dd924cd7
RM
11422012-08-15 Roland McGrath <roland@hack.frob.com>
1143
4b4f2771
RM
1144 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1145 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1146
601c888b
RM
1147 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1148
176790a7
RM
1149 * elf/dl-sym.c: Include <stdlib.h>.
1150
329bc018
RM
1151 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1152 constants, which avoids warnings in 32-bit builds.
1153
e04e272d
RM
1154 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1155 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1156
952bf94a
RM
1157 * misc/lseek.c: File moved to ...
1158 * io/lseek.c: ... here.
1159
7c99b50a
RM
1160 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1161
dd924cd7
RM
1162 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1163 shifting LEN more than 31 bits at once.
1164
b3f479a8
LD
11652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1166
1167 [BZ #14195]
8c4ae0d4
RM
1168 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1169 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1170 * string/test-strncasecmp.c (check1): Renamed to...
1171 (bz12205): ...this.
1172 (bz14195): Add new testcase for two empty input strings and N > 0.
1173 (test_main): Call new testcase, adapt for renamed function.
1174
9c55864e
AJ
11752012-08-15 Andreas Jaeger <aj@suse.de>
1176
1177 [BZ #14090]
1178 * crypt/md5test2.c: New test, based on test supplied by Serge
1179 Belyshev <belyshev@depni.sinp.msu.ru>.
1180 * crypt/Makefile (xtests): Add md5test-giant..
1181 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1182
02dcb6c5
PE
11832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1184
1185 [BZ #14090]
1186 * crypt/md5.c (md5_process_block): Don't assume the buffer
1187 length is less than 2**32.
1188 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1189 length is less than 2**64.
1190
a3f95dcc
RM
11912012-08-15 Roland McGrath <roland@hack.frob.com>
1192
be75d758
RM
1193 * string/str-two-way.h: Include <sys/param.h>.
1194 (MAX): Macro removed.
1195
7312ca90
RM
1196 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1197 Move #define and #undef of memmove to just before and after
1198 including <string.h>.
1199
9a0a5486
RM
1200 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1201 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1202 and after including <string.h>. Move declarations of
1203 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1204 to before #include "string/memmove.c".
1205
67cc348d
RM
1206 * include/dirent.h: Declare __getdirentries.
1207
a3f95dcc
RM
1208 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1209 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1210
ca98e171
MF
12112012-08-14 Mike Frysinger <vapier@gentoo.org>
1212
1213 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1214 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1215 * sysdeps/i386/configure: Regenerated.
1216 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1217 STABS_CURRENT_FILE, and STABS_FUN.
1218 (END): Remove call to STABS_FUN_END.
1219 (STABS_CURRENT_FILE1): Delete.
1220 (STABS_CURRENT_FILE): Likewise.
1221 (STABS_FUN): Likewise.
1222 (STABS_FUN_END): Likewise.
1223 (STABS_FUN2): Likewise.
1224 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1225 * sysdeps/x86_64/configure: Regenerated.
1226
5908bf46
RM
12272012-08-14 Roland McGrath <roland@hack.frob.com>
1228
1229 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1230 * elf/dl-lookup.c: Likewise.
5908bf46 1231
f2c05b9e
JM
12322012-08-14 Joseph Myers <joseph@codesourcery.com>
1233
1234 * sysdeps/unix/sysv/linux/kernel-features.h
1235 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1236 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1237 unconditionally.
1238 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1239 unconditionally.
1240 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1241 condition on __ASSUME_CLONE_THREAD_FLAGS.
1242
e11f5155
AJ
12432012-08-14 Andreas Jaeger <aj@suse.de>
1244
1245 * sysdeps/i386/fpu/libm-test-ulps: Update.
1246
51a9ba86
MK
12472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1248
2fdd4f78
AJ
1249 * include/atomic.h (atomic_exchange_and_add): Split into ...
1250 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1251 New atomic macros.
51a9ba86 1252
ba6cba9e
MT
12532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1254
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1256
42443a47
JL
12572012-08-13 Jeff Law <law@redhat.com>
1258
1259 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1260 null byte in the output string.
1261
121dce05
JM
12622012-08-10 Joseph Myers <joseph@codesourcery.com>
1263
1264 * sysdeps/unix/sysv/linux/kernel-features.h
1265 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1266 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1267 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1268 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1269 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1270 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1271 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1272
bf51f568
JL
12732012-08-09 Jeff Law <law@redhat.com>
1274
1275 [BZ #13939]
1276 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1277 When avoid_arena is set, don't retry in the that arena. Pick the
1278 next one, whatever it might be.
1279 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1280 (arena_lock): Pass in new parameter to arena_get2.
1281 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1282 arena_get2.
1283 (__libc_malloc): Unify retrying after main arena failure with
1284 __libc_memalign version.
1285 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1286
f85fa270
L
12872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 [BZ #14166]
1290 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1291 to __redirect_strstr.
1292 (__strstr_sse42): Use typeof __redirect_strstr.
1293 (__strstr_ia32): Likewise.
1294 (__libc_strstr): New prototype.
1295 (strstr): Renamed to ...
1296 (__libc_strstr): This.
1297 (strstr): New strong alias of __libc_strstr.
1298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1299 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1300 __redirect_time.
1301 Include <time.h>.
1302 (__libc_time): New prototype.
1303 (time_ifunc): Replace time with __libc_time.
1304 (time): New strong alias and hidden definition of __libc_time.
1305 (__GI_time): Remove strong alias.
1306 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1307 Include <stddef.h>.
1308 (memmove): Redefined to __redirect_memmove.
1309 (__memmove_sse2): Use typeof __redirect_memmove.
1310 (__memmove_ssse3): Likewise.
1311 (__memmove_ssse3_back): Likewise.
1312 (__libc_memmove): New prototype.
1313 (memmove): Renamed to ...
1314 (__libc_memmove): This.
1315 (memmove): New strong alias of __libc_memmove.
1316
33b4a91e
MS
13172012-08-08 Mark Salter <msalter@redhat.com>
1318
1319 * elf/elf.h
1320 (R_MN10300_TLS_GD): Define.
1321 (R_MN10300_TLS_LD): Likewise.
1322 (R_MN10300_TLS_LDO): Likewise.
1323 (R_MN10300_TLS_GOTIE): Likewise.
1324 (R_MN10300_TLS_IE): Likewise.
1325 (R_MN10300_TLS_LE): Likewise.
1326 (R_MN10300_TLS_DTPMOD): Likewise.
1327 (R_MN10300_TLS_DTPOFF): Likewise.
1328 (R_MN10300_TLS_TPOFF): Likewise.
1329 (R_MN10300_SYM_DIFF): Likewise.
1330 (R_MN10300_ALIGN): Likewise.
1331 (R_MN10300_NUM): Update.
1332
b36137f1
JM
13332012-08-08 Joseph Myers <joseph@codesourcery.com>
1334
1335 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1336 Remove.
1337
cdd915fd
RM
13382012-08-08 Roland McGrath <roland@hack.frob.com>
1339
a2433aac
RM
1340 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1341
cdd915fd
RM
1342 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1343 sysdeps/unix -> sysdeps/posix move.
1344 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1345
bf9b740a
AM
13462012-08-07 Allan McRae <allan@archlinux.org>
1347
1348 [BZ #14303]
1349 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1350 (SUNOS_CPP): Likewise.
1351 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1352 not found.
1353 (open_input): Call CPP using execvp.
1354
93df14ee
JM
13552012-08-07 Joseph Myers <joseph@codesourcery.com>
1356
1357 * sysdeps/unix/sysv/linux/kernel-features.h
1358 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1359 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1360 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1361 (__ASSUME_WAITID_SYSCALL): Likewise.
1362 * sysdeps/unix/sysv/linux/dl-execstack.c
1363 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1364 code unconditional.
1365 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1366 conditional code.
1367 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1368 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1369 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1370 code.
1371 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1372 unconditional.
1373 [__ASSUME_WAITID_SYSCALL]: Likewise.
1374 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1375
d34689de
RM
13762012-08-07 Roland McGrath <roland@hack.frob.com>
1377
a281decc
RM
1378 * sysdeps/unix/closedir.c: Renamed to ...
1379 * sysdeps/posix/closedir.c: ... here.
1380 * sysdeps/unix/dirfd.c: Renamed to ...
1381 * sysdeps/posix/dirfd.c: ... here.
1382 * sysdeps/unix/dirstream.h: Renamed to ...
1383 * sysdeps/posix/dirstream.h: ... here.
1384 * sysdeps/unix/fdopendir.c: Renamed to ...
1385 * sysdeps/posix/fdopendir.c: ... here.
1386 * sysdeps/unix/opendir.c: Renamed to ...
1387 * sysdeps/posix/opendir.c: ... here.
1388 * sysdeps/unix/readdir.c: Renamed to ...
1389 * sysdeps/posix/readdir.c: ... here.
1390 * sysdeps/unix/readdir_r.c: Renamed to ...
1391 * sysdeps/posix/readdir_r.c: ... here.
1392 * sysdeps/unix/rewinddir.c: Renamed to ...
1393 * sysdeps/posix/rewinddir.c: ... here.
1394 * sysdeps/unix/seekdir.c: Renamed to ...
1395 * sysdeps/posix/seekdir.c: ... here.
1396 * sysdeps/unix/telldir.c: Renamed to ...
1397 * sysdeps/posix/telldir.c: ... here.
1398 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1399 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1400 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1401 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1402
22895b47
RM
1403 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1404 * bits/fcntl.h: ... here.
1405
707a53b6
RM
1406 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1407 not 0.
1408 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1409 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1410 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1411 (struct flock): Move l_start, l_len to the beginning.
1412 Use __pid_t for l_pid.
1413 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1414 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1415 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1416 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1417 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1418 [__USE_LARGEFILE64] (struct flock64): New type.
1419 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1420
f0bd3e25
RM
1421 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1422 * bits/dirent.h: ... here.
1423
d34689de
RM
1424 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1425 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1426
6dad2c06
JM
14272012-08-07 Joseph Myers <joseph@codesourcery.com>
1428
1429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1430 Change from 2.6.0 to 2.6.16.
1431 * sysdeps/unix/sysv/linux/configure: Regenerated.
1432 * sysdeps/unix/sysv/linux/kernel-features.h
1433 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1434 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1435 version.
1436 (__ASSUME_UTIMES): Likewise.
1437 (__ASSUME_CLONE_STOPPED): Remove.
1438 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1439 architectures, not kernel version.
1440 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1441 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1442 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1443 (__ASSUME_WAITID_SYSCALL): Likewise.
1444 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1445 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1446 * README: State 2.6.16 as minimum Linux kernel version. Do not
1447 refer to older versions.
1448
03af9520
RM
14492012-08-06 Roland McGrath <roland@hack.frob.com>
1450
8e49df1d
RM
1451 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1452 Define alphasort64 as an alias.
1453 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1454 Define versionsort64 as an alias.
1455 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1456 Define scandir64 as an alias.
1457 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1458 Define scandirat64 as an alias.
1459 * dirent/alphasort64.c (alphasort64):
1460 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1461 * dirent/versionsort64.c: Likewise.
1462 * dirent/scandir64.c: Likewise.
1463 * dirent/scandirat64.c: Likewise.
1464 * sysdeps/wordsize-64/alphasort.c: File removed.
1465 * sysdeps/wordsize-64/alphasort64.c: File removed.
1466 * sysdeps/wordsize-64/scandir.c: File removed.
1467 * sysdeps/wordsize-64/scandir64.c: File removed.
1468 * sysdeps/wordsize-64/scandirat.c: File removed.
1469 * sysdeps/wordsize-64/scandirat64.c: File removed.
1470 * sysdeps/wordsize-64/versionsort.c: File removed.
1471 * sysdeps/wordsize-64/versionsort64.c: File removed.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1474 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1476 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1480
1481 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1483 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1485 [defined __arch64__ || defined __sparcv9]
1486 (__INO_T_MATCHES_INO64_T): New macro.
1487 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1488 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1489 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1490 * sysdeps/unix/sysv/linux/bits/dirent.h
1491 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1492 (_DIRENT_MATCHES_DIRENT64): New macro.
1493
03af9520
RM
1494 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1495 Define lockf64 as an alias.
1496 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1497 Define fseeko64 as an alias.
1498 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1499 Define ftello64 as an alias.
1500 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1501 Define _IO_fgetpos64 and fgetpos64 as aliases.
1502 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1503 Define _IO_fsetpos64 and fsetpos64 as aliases.
1504 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1505 Conditionalize body on this.
1506 * libio/fseeko64.c: Likewise.
1507 * libio/ftello64.c: Likewise.
1508 * libio/iofgetpos64.c: Likewise.
1509 * libio/iofsetpos64.c: Likewise.
1510 * sysdeps/wordsize-64/lockf.c: File removed.
1511 * sysdeps/wordsize-64/lockf64.c: File removed.
1512 * sysdeps/wordsize-64/fseeko.c: File removed.
1513 * sysdeps/wordsize-64/fseeko64.c: File removed.
1514 * sysdeps/wordsize-64/ftello.c: File removed.
1515 * sysdeps/wordsize-64/ftello64.c: File removed.
1516 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1517 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1518 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1519 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1520 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1522 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1524 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1526 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1528 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1530
1531 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1533 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1535 [defined __arch64__ || defined __sparcv9]
1536 (__OFF_T_MATCHES_OFF64_T): New macro.
1537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1538 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1540 (__OFF_T_MATCHES_OFF64_T): New macro.
1541
c5757acd
L
15422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 * stdlib/secure-getenv.c (__secure_getenv): Replace
1545 GLIBC_2_16 with GLIBC_2_17.
1546
3a31811e
L
15472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1551
faa2bccb
DM
15522012-08-03 David S. Miller <davem@davemloft.net>
1553
1554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1555
85fe1997
JM
15562012-08-03 Joseph Myers <joseph@codesourcery.com>
1557
1558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1559 Remove.
1560 (__ASSUME_CORRECT_SI_PID): Likewise.
1561 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1562 (__ASSUME_TMPFS_NAME): Likewise.
1563 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1564 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1565 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1566 (HAVE_AUX_SECURE): Make definition unconditional.
1567 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1568 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1569
4f75b7a0
RM
15702012-08-03 Roland McGrath <roland@hack.frob.com>
1571
1572 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1573 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1574 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1575 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1576 __eloop_threshold instead of SYMLOOP_MAX.
1577
1578 * sysdeps/generic/eloop-threshold.h: New file.
1579 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1580 of MAXSYMLINKS.
1581 * elf/chroot_canon.c (chroot_canon): Likewise.
1582
7aab07e4
JM
15832012-08-03 Joseph Myers <joseph@codesourcery.com>
1584
1585 [BZ #13717]
1586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1587 Change to 2.6.0 everywhere.
1588 * sysdeps/unix/sysv/linux/configure: Regenerated.
1589 * sysdeps/unix/sysv/linux/kernel-features.h
1590 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1591 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1592 kernel versions.
1593 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1594 (__ASSUME_FUTEX_REQUEUE): Remove.
1595 (__ASSUME_STATFS64): Define unconditionally.
1596 (__ASSUME_AT_SECURE): Likewise.
1597 (__ASSUME_CORRECT_SI_PID): Likewise.
1598 (__ASSUME_TGKILL): Define without depending on kernel version for
1599 i386.
1600 (__ASSUME_UTIMES): Likewise.
1601 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1602 kernel version.
1603 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1604 (__ASSUME_TMPFS_NAME): Likewise.
1605 * README: Update reference to Linux kernel versions.
1606
b67e9372
MP
16072012-08-02 Marek Polacek <polacek@redhat.com>
1608
1f529f7d 1609 [BZ# 14150]
b67e9372
MP
1610 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1611 libc_cv_asm_type_prefix with %.
1612 * configure: Regenerated.
d2441631
RM
1613 * include/libc-symbols.h: Remove comment about
1614 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1615 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1616 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1617 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1618 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1619 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1620 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1622 * elf/tst-unique2mod1.c: Likewise.
1623 * elf/tst-unique1mod2.c: Likewise.
1624 * elf/tst-unique1mod1.c: Likewise.
1625 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1626 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1627 Replace ASM_TYPE_DIRECTIVE with .type.
1628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1629 * sysdeps/i386/sysdep.h: Likewise.
1630 * sysdeps/x86_64/sysdep.h: Likewise.
1631 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1633 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1634 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1635 * sysdeps/powerpc/powerpc32/sysdep.h:
1636 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1637 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1638 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1639 * sysdeps/i386/fpu/e_powf.S: Likewise.
1640 * sysdeps/i386/fpu/e_expl.S: Likewise.
1641 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1643 * sysdeps/i386/fpu/e_pow.S: Likewise.
1644 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1645 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1646 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1647 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1648 * sysdeps/i386/fpu/e_log2.S: Likewise.
1649 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1650 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1651 * sysdeps/i386/fpu/e_powl.S: Likewise.
1652 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1653 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1654 * sysdeps/i386/fpu/e_logl.S: Likewise.
1655 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1656 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1657 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1658 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1659 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1660 * sysdeps/i386/fpu/e_log.S: Likewise.
1661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1662 * sysdeps/i386/fpu/e_logf.S: Likewise.
1663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1665 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1666 * sysdeps/i386/fpu/e_log10.S: Likewise.
1667 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1668 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1669 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1670 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1671 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1673 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1674 * sysdeps/i386/i686/strtok.S: Likewise.
1675 * sysdeps/i386/i386-mcount.S: Likewise.
1676 * sysdeps/i386/strtok.S: Likewise.
1677 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1678 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1679 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1680 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1681 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1683 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1684 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1686 * sysdeps/x86_64/_mcount.S: Likewise.
1687 * sysdeps/x86_64/strtok.S: Likewise.
1688 * sysdeps/sh/_mcount.S: Likewise.
1689
2747bf9a
RM
16902012-08-01 Roland McGrath <roland@hack.frob.com>
1691
1692 * libio/iofopen.c: Include <fcntl.h>.
1693 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1694 (_IO_fopen64, fopen64): Define as aliases.
1695 * libio/iofopen64.c: Include <fcntl.h>.
1696 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1697 Conditionalize body on this.
1698 * sysdeps/wordsize-64/iofopen.c: File removed.
1699 * sysdeps/wordsize-64/iofopen64.c: File removed.
1700
3fb791b8
MP
17012012-08-01 Marek Polacek <polacek@redhat.com>
1702
1703 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1704 Use dlfcn directly instead of a variable.
1705 (binfmt-subdir): Do not define.
1706 (dlfcn): Likewise.
1707
a9f1039f
JM
17082012-08-01 Joseph Myers <joseph@codesourcery.com>
1709
23bddc06
JM
1710 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1711 Remove all definitions.
1712 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1713 <kernel-features.h>.
1714 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1715 (miss_F_GETOWN_EX): Remove all definitions.
1716 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1717 macro definition.
1718 [!__ASSUME_FCNTL64]: Remove conditional code.
1719 [__ASSUME_FCNTL64]: Make code unconditional.
1720 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1721 <kernel-features.h>.
1722 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1723 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1724 (lockf64) [__NR_fcntl64]: Make code unconditional.
1725 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1726
a9f1039f
JM
1727 * sysdeps/unix/sysv/linux/kernel-features.h
1728 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1729 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1730 Make code unconditional.
1731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1734 [__NR_vfork]: Make code unconditional.
1735 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1736 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1738 [__NR_vfork]: Make code unconditional.
1739 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1740 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1741
09c0ee5f
RM
17422012-08-01 Roland McGrath <roland@hack.frob.com>
1743
48aec5b9
RM
1744 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1745 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1746
cd97c966
RM
1747 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1748 Define mkstemp64 as an alias.
3f55550c
RM
1749 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1750 Define mkstemps64 as an alias.
cd97c966
RM
1751 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1752 Define mkostemp64 as an alias.
b8625cfc
RM
1753 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1754 Define mkostemps64 as an alias.
cd97c966
RM
1755 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1756 Conditionalize body on this.
1757 * misc/mkostemp64.c: Likewise.
b8625cfc 1758 * misc/mkostemps64.c: Likewise.
3f55550c 1759 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1760 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1761 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1762 * sysdeps/wordsize-64/mkostemp.c: File removed.
1763 * sysdeps/wordsize-64/mkstemp.c: File removed.
1764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1768
09c0ee5f
RM
1769 [BZ #14138]
1770 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1771 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1772 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1773 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1774
1775 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1776 compat_symbol macros from <shlib-compat.h> rather than the underlying
1777 default_symbol_version and symbol_version macros, so that DEFAULT
1778 lines in shlib-versions are respected.
1779 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1780
7e66ee51
FW
17812012-08-01 Florian Weimer <fweimer@redhat.com>
1782
1783 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1784 Declare with warn_unused_result.
1785 (setgid, setregid, setegid, setresgid): Likewise.
1786 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1787 Likewise.
1788 * WUR-REPORT: Remove set*id functions.
1789
d2a54255
PT
17902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1791
1792 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1793
7ecdb005
RM
17942012-07-31 Roland McGrath <roland@hack.frob.com>
1795
789bd351
RM
1796 * include/sys/socket.h (__libc_accept, __libc_accept4):
1797 Add attribute_hidden.
1798 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1799
40ce302d
RM
1800 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1801 use of PTR_MANGLE.
1802 * inet/getnetgrent_r.c (setup): Likewise.
1803
7ecdb005
RM
1804 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1805
e2eabb2c
DM
18062012-07-31 David S. Miller <davem@davemloft.net>
1807
1808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1809
d0419dbf
JM
18102012-07-31 Joseph Myers <joseph@codesourcery.com>
1811
1812 [BZ #13629]
1813 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1814 value between 1.0 and 2.0 and smaller part has absolute value less
1815 than 1.0.
1816 * math/s_clog10.c (__clog10): Likewise.
1817 * math/s_clog10f.c (__clog10f): Likewise.
1818 * math/s_clog10l.c (__clog10l): Likewise.
1819 * math/s_clogf.c (__clogf): Likewise.
1820 * math/s_clogl.c (__clogl): Likewise.
1821 * math/libm-test.inc (clog_test): Add more tests.
1822 (clog10_test): Likewise.
1823 * sysdeps/i386/fpu/libm-test-ulps: Update.
1824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1825
2bc13872
FW
18262012-07-31 Florian Weimer <fweimer@redhat.com>
1827
1828 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1829 Exit with zero in case no suitable GID is found, and write a
1830 message to standard error.
1831
bea9b193
RM
18322012-07-30 Roland McGrath <roland@hack.frob.com>
1833
1834 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1835 rather than to 1.
1836 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1837 (MAXPATHLEN): Removed.
1838 (NOGROUP, NODEV): New macros.
1839 (setbit, clrbit, isset, isclr): New macros.
1840 (howmany, roundup, powerof2): New macros.
1841 (DEV_BSIZE): New macro.
1842
1843 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1844 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1845
1846 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1847 definition on [!__NO_LONG_DOUBLE_MATH].
1848
1849 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1850 PTR_MANGLE and PTR_DEMANGLE.
1851
1852 * socket/accept4.c (accept4): Rename to __libc_accept4.
1853 Define accept4 as a weak alias.
1854
1855 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1856 on [_DIRENT_HAVE_D_TYPE].
1857 * io/ftw.c (ftw_dir): Likewise.
1858
1859 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1860
1861 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1862
1863 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1864 Use the BSD numbers rather than the arbitrary ones we had.
1865 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1866 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1867 (SIGXCPU, SIGXFSZ): New macros.
1868 (_NSIG): Now 32.
1869
1870 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1871 initializer on [_LIBC_REENTRANT].
1872
1873 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1874 definitions inside [_POSIX_MAPPED_FILES].
1875
1876 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1877
1878 * dirent/opendir.c: Include <fcntl.h>.
1879
1880 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1881 (__libc_getspecific): Likewise.
1882 (__libc_key_create): Likewise.
1883
1884 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1885 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1886 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1887 (tmpfile64): Define as alias.
1888 * sysdeps/wordsize-64/tmpfile.c: File removed.
1889 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1890 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1892
1893 * stdio-common/vfscanf.c: Include <stdbool.h>.
1894 * nss/makedb.c: Likewise.
1895 * stdio-common/_i18n_number.h: Likewise.
1896 * argp/argp-help.c: Likewise.
1897 * posix/wordexp.c: Likewise.
1898 * sysdeps/posix/spawni.c: Likewise.
1899 * nss/nss_files/files-initgroups.c: Likewise.
1900 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1901 * nss/nss_files/files-initgroups.c: Likewise.
1902 * nss/nss_db/db-netgrp.c: Likewise.
1903 * nss/nss_db/db-initgroups.c: Likewise.
1904 * io/fchmodat.c: Include <sys/stat.h>.
1905
1906 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1907 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1908
1909 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1910 [HAVE_MMAP].
1911
1912 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1913 Add multiple inclusion protection.
1914
e5abc686
DM
19152012-07-27 David S. Miller <davem@davemloft.net>
1916
1917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1918
815e6fa3
GB
19192012-07-27 Gary Benson <gbenson@redhat.com>
1920
1921 [BZ #14298]
1922 * elf/rtld.c: Include <stap-probe.h>.
1923 (dl_main): Added static probes "init_start" and "init_complete".
1924 * elf/dl-load.c: Include <stap-probe.h>.
1925 (lose): Take new parameter "nsid".
1926 Added static probe "map_failed".
1927 (_dl_map_object_from_fd): Pass namespace id to lose.
1928 Added static probe "map_start".
1929 (open_verify): Pass namespace id to lose.
1930 * elf/dl-open.c: Include <stap-probe.h>.
1931 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1932 and "reloc_complete".
1933 * elf/dl-close.c: Include <stap-probe.h>.
1934 (_dl_close_worker): Added static probes "unmap_start" and
1935 "unmap_complete".
1936 * elf/rtld-debugger-interface.txt: New file documenting the above.
1937
9f98c16c
RM
19382012-07-26 Roland McGrath <roland@hack.frob.com>
1939
1940 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1941 rather than a string variable.
1942 * sunrpc/rpc_main.c (h_output): Likewise.
1943 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1944
f3c22df3
PT
19452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1946
1947 * inet/check_native.c: New file.
1948
3129cfc6
JM
19492012-07-26 Joseph Myers <joseph@codesourcery.com>
1950
da865e95
JM
1951 [BZ #13629]
1952 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1953 if larger part has absolute value 1.0.
1954 * math/s_clog10.c (__clog10): Likewise.
1955 * math/s_clog10f.c (__clog10f): Likewise.
1956 * math/s_clog10l.c (__clog10l): Likewise.
1957 * math/s_clogf.c (__clogf): Likewise.
1958 * math/s_clogl.c (__clogl): Likewise.
1959 * math/libm-test.inc (clog_test): Add more tests.
1960 (clog10_test): Likewise.
1961 * sysdeps/i386/fpu/libm-test-ulps: Update.
1962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1963
3129cfc6
JM
1964 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1965 (pltexit): Likewise.
1966 (La_regs): Likewise.
1967 (La_retval): Likewise.
1968 (int_retval): Likewise.
1969 Update #error for removed macros to refer only to definitions in
1970 tst-audit.h.
1971 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1972 macro.
1973 (pltexit): Likewise.
1974 (La_regs): Likewise.
1975 (La_retval): Likewise.
1976 (int_retval): Likewise.
1977 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1978 macro.
1979 (pltexit): Likewise.
1980 (La_regs): Likewise.
1981 (La_retval): Likewise.
1982 (int_retval): Likewise.
1983 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1984 macro.
1985 (pltexit): Likewise.
1986 (La_regs): Likewise.
1987 (La_retval): Likewise.
1988 (int_retval): Likewise.
1989 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1990 macro.
1991 (pltexit): Likewise.
1992 (La_regs): Likewise.
1993 (La_retval): Likewise.
1994 (int_retval): Likewise.
1995 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1996 macro.
1997 (pltexit): Likewise.
1998 (La_regs): Likewise.
1999 (La_retval): Likewise.
2000 (int_retval): Likewise.
2001 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2002 macro.
2003 (pltexit): Likewise.
2004 (La_regs): Likewise.
2005 (La_retval): Likewise.
2006 (int_retval): Likewise.
2007 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2008 macro definitions in tst-audit.h.
2009 * sysdeps/i386/tst-audit.h: New file.
2010 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2011 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2012 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2013 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2014 * sysdeps/sh/tst-audit.h: Likewise.
2015 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2016 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2017 * sysdeps/x86_64/tst-audit.h: Likewise.
2018
bfc07087
AJ
20192012-07-26 Andreas Jaeger <aj@suse.de>
2020
b1b2aaf8
AJ
2021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2022 ptrace.
2023
2024 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2025 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2026 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2027 PTRACE_O_MASK.
2028 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2029 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2031
bfc07087
AJ
2032 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2033 value.
2034
2035 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2036 _sigsys.
2037 (si_call_addr, si_syscall, si_arch): Define new macro.
2038 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2039 _sigsys.
2040 (si_call_addr, si_syscall, si_arch): Define new marcro.
2041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2042 _sigsys.
2043 (si_call_addr, si_syscall, si_arch): Define new macro.
2044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2045 _sigsys.
2046 (si_call_addr, si_syscall, si_arch): Define new macro.
2047
89b4b02f
JM
20482012-07-25 Joseph Myers <joseph@codesourcery.com>
2049
2050 [BZ #13717]
2051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2052 Change to 2.4.21 where previously 2.4.1.
2053 * sysdeps/unix/sysv/linux/configure: Regenerated.
2054 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2055 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2056 Linux kernel version.
2057 (__ASSUME_STD_AUXV): Remove.
2058 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2059 kernel version.
2060 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2061 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2062 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2063 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2064 (__ASSUME_NETLINK_SUPPORT): Likewise.
2065 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2066 (__no_netlink_support): Remove conditional definition.
2067 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2068 Remove.
2069 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2070 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2072 (if_nameindex_ioctl): Remove.
2073 (if_nameindex_netlink): Do not handle __no_netlink_support.
2074 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2075 code.
2076 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2077 Remove conditional code.
2078 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2079 code.
2080 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2081 unconditional.
2082 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2083 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2084 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2085 Remove.
2086 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2087 [!__ASSUME_STD_AUXV]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2089 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2090 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2092 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2093 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2094 code.
2095 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2097 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2098 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2099 conditional code.
2100 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2102 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2103 code.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2105 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2106 conditional code.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2108 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2109 code unconditional.
2110 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2111 conditional code.
2112 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2113 unconditional.
2114 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2115 conditional code.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2117 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2118 unconditional.
2119 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2120 conditional code.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2122 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2123 code unconditional.
2124 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2125 conditional code.
2126 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2127 unconditional.
2128 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2129 conditional code.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2131 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2132 code unconditional.
2133 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2134 conditional code.
2135 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2136 unconditional.
2137 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2138 conditional code.
2139
842a39cd
AS
21402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2141
2142 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2143 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2144 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2145 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2146 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2147 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2148 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2149 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2150 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2151 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2152 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2153 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2154 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2155 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2157 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2158 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2160 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2162 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2163 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2165
84b3fd84
FW
21662012-07-25 Florian Weimer <fweimer@redhat.com>
2167
2168 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2169 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2170 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2171 Introduce __libc_secure_getenv.
0c7936d5
FW
2172 * stdlib/Versions (2.17): Add secure_getenv
2173 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2174 * stdlib/secure-getenv.c: Rename __secure_getenv to
2175 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2176 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2177 * stdlib/tst-secure-getenv.c: New.
2178 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2179 * manual/startup.texi (Environment Access): Document
2180 secure_getenv.
84b3fd84
FW
2181 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2182 __libc_secure_getenv.
2183 * inet/ruserpass.c (ruserpass): Likewise.
2184 * malloc/mtrace.c (mtrace): Likewise.
2185 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2186 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2187 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2188 * sysdeps/posix/tempname.c: Likewise. Evaluate
2189 HAVE_SECURE_GETENV.
2190 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2191 __secure_getenv to __libc_secure_getenv.
84b3fd84 2192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2194 Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2204
56e49b71
JM
22052012-07-25 Joseph Myers <joseph@codesourcery.com>
2206
2207 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2208 (struct La_i86_retval): Likewise.
2209 (struct La_x86_64_regs): Likewise.
2210 (struct La_x86_64_retval): Likewise.
2211 (struct La_x32_regs): Likewise.
2212 (struct La_x32_retval): Likewise.
2213 (struct La_ppc32_regs): Likewise.
2214 (struct La_ppc32_retval): Likewise.
2215 (struct La_ppc64_regs): Likewise.
2216 (struct La_ppc64_retval): Likewise.
2217 (struct La_sh_regs): Likewise.
2218 (struct La_sh_retval): Likewise.
2219 (struct La_s390_32_regs): Likewise.
2220 (struct La_s390_32_retval): Likewise.
2221 (struct La_s390_64_regs): Likewise.
2222 (struct La_s390_64_retval): Likewise.
2223 (struct La_sparc32_regs): Likewise.
2224 (struct La_sparc32_retval): Likewise.
2225 (struct La_sparc64_regs): Likewise.
2226 (struct La_sparc64_retval): Likewise.
2227 (struct audit_ifaces): Remove architecture-specific pltenter and
2228 pltexit members.
2229 * sysdeps/i386/ldsodefs.h: New file.
2230 * sysdeps/powerpc/ldsodefs.h: Likewise.
2231 * sysdeps/s390/ldsodefs.h: Likewise.
2232 * sysdeps/sh/ldsodefs.h: Likewise.
2233 * sysdeps/sparc/ldsodefs.h: Likewise.
2234 * sysdeps/x86_64/ldsodefs.h: Likewise.
2235
354691b7
MP
22362012-07-25 Marek Polacek <polacek@redhat.com>
2237
2238 [BZ #6808]
2239 * math/libm-test.inc (yn_test): Add another test.
2240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2241 to ERANGE when the result is +-Inf.
2242 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2243 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2244 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2245 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2246
bf9e2071
JM
22472012-07-24 Joseph Myers <joseph@codesourcery.com>
2248
2249 * conform/data/time.h-data (NULL): Use macro-constant. Require
2250 equal to 0.
2251 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2252 clock_t.
2253 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2254
57633811
TS
22552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2256
2257 * configure.in <sysdeps resolving>: Correct printing
2258 Implies_before.
2259 * configure: Regenerate.
2260
c23c33b0
TS
22612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2262
2263 * math/w_ilogb.c: Include <limits.h>.
2264 * math/w_ilogbl.c: Likewise.
2265
b5982523
JM
22662012-07-20 Joseph Myers <joseph@codesourcery.com>
2267
2268 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2269 va_copy. Document allowing for unavailable va_copy only as
2270 pre-C99 compatibility.
2271 * manual/string.texi (Copying and Concatenation): Use va_copy
2272 instead of __va_copy in concat example.
2273
ac4ea442
PT
22742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2275
2276 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2277 (__sendto): Use create_address_port. Initialize APORT and deallocate
2278 it if not null.
2279
f98eafbd
PT
2280 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2281 with O_NOLINK passed to __file_name_lookup.
2282
898c7aab
PT
2283 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2284 with O_NOLINK passed to __file_name_lookup.
2285
0ced335a
PT
2286 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2287 negative N or less than NGIDS.
2288
b3404dbd
PT
2289 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2290 type to string_t. Set ERANGE as errno and return it if NAME is not big
2291 enough. Use memcpy instead of strncpy.
2292
0f48659e
JM
22932012-07-20 Joseph Myers <joseph@codesourcery.com>
2294
2295 * elf/Makefile (check-data): Remove.
2296 (localplt.data): New vpath directive.
2297 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2298 instead of $(check-data).
2299 * scripts/data/localplt-generic.data: Move to ...
2300 * sysdeps/generic/localplt.data: ... here.
2301 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2302 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2303 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2305 ... here.
2306 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2308 ... here.
2309 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2311 ... here.
2312 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2314 ... here.
2315 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2317 ... here.
2318 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2320 ... here.
2321
d37cbdaa
AZ
23222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2325 PPC32 and PPC64 files.
2326 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2327 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2328
46f85fc2
AK
23292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2330
2331 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2332 __makecontext_ret to ...
2333 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2334 ... here and call exit if uc_link is NULL. New file.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2336 __makecontext_ret.S.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2338 __makecontext_ret to ...
2339 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2340 ... here and call exit if uc_link is NULL. New file.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2342 __makecontext_ret.S.
2343
08f43f9b
AK
23442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2345
2346 * elf/elf.h (R_390_IRELATIVE): New definition.
2347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2348 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2349 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2350 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2351 (elf_machine_lazy_rel): Likewise.
2352 * sysdeps/s390/dl-irel.h: New file.
2353 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2354 * sysdeps/s390/s390-64/memset.S: New asm code.
2355 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2356 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2357 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2358 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2359 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2360 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2361 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2362 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2363 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2364 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2365 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2366 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2367 * sysdeps/s390/s390-32/memset.S: New asm code.
2368 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2369
3b05db33
MP
23702012-07-17 Marek Polacek <polacek@redhat.com>
2371
2372 [BZ #14349]
2373 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2374 * sysdeps/s390/s390-64/configure.in: Likewise.
2375 * sysdeps/sparc/configure.in: Likewise.
2376 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2377 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2378 * sysdeps/i386/configure.in: Likewise.
2379 * sysdeps/x86_64/configure.in: Likewise.
2380 * sysdeps/sh/configure.in: Likewise.
2381 * sysdeps/s390/s390-32/configure: Regenerated.
2382 * sysdeps/s390/s390-64/configure: Likewise.
2383 * sysdeps/x86_64/configure: Likewise.
2384 * sysdeps/sh/configure: Likewise.
2385 * sysdeps/powerpc/powerpc64/configure: Likewise.
2386 * sysdeps/powerpc/powerpc32/configure: Likewise.
2387 * sysdeps/sparc/configure: Likwise.
2388 * sysdeps/i386/configure: Likewise.
2389
a66877c6
MP
2390 * elf/dl-open.c: Comment fixes.
2391
cfc82fd8
JM
23922012-07-17 Joseph Myers <joseph@codesourcery.com>
2393
bd29910a
JM
2394 * Makefile [CXX] (check-data): Remove.
2395 [CXX] (c++-types.data): New vpath directive.
2396 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2397 vpath. Do not allow for C++ type data being missing.
2398 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2399 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2400 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2401 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2402 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2403 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2404 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2406 ... here.
2407 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2409 ... here.
2410 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2412 ... here.
2413 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2415 ... here.
2416 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2418 ... here.
2419 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2421 ... here.
2422 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2424 ... here.
2425 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2427
cfc82fd8
JM
2428 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2429 definitions to architecture-specific files.
2430 (TLS_IE): Likewise.
2431 (TLS_LD): Likewise.
2432 (TLS_GD): Likewise.
2433 * sysdeps/i386/tls-macros.h: New file.
2434 * sysdeps/powerpc/tls-macros.h: Likewise.
2435 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2436 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2437 * sysdeps/sh/tls-macros.h: Likewise.
2438 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2439 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2440 * sysdeps/x86_64/tls-macros.h: Likewise.
2441
f7db3170
TS
24422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2443
07cbfc23
TS
2444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2445 zero value for regular exit case.
2446
f7db3170
TS
2447 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2448 (__start_context): Preserve zero value for regular exit case.
2449
dc97c227
TS
24502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2451 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2452
2453 * manual/setjmp.texi (setcontext): Clarify normal process
2454 termination when uc_link is the null pointer.
2455 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2456 exit call.
2457
d0cd7d02
AS
24582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2459
2460 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2461 preprocessor. Test for each exception mask separately.
2462
dd318934
AJ
24632012-07-16 Andreas Jaeger <aj@suse.de>
2464
2465 * po/ru.po: Update from translation team.
2466
8048311a
JM
24672012-07-15 Joseph Myers <joseph@codesourcery.com>
2468
2469 * conform/data/string.h-data (NULL): Use macro-constant. Require
2470 equal to 0.
2471 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2472 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2473 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2474 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2475 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2476
b637d46e
AJ
24772012-07-13 Andreas Jaeger <aj@suse.de>
2478
2479 * po/fr.po: Update from translation team.
2480
541428fe
MP
24812012-07-12 Marek Polacek <polacek@redhat.com>
2482
2483 [BZ #14173]
2484 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2485 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2486 loop condition.
2487
ec332e94
JM
24882012-07-12 Joseph Myers <joseph@codesourcery.com>
2489
2490 [BZ #13717]
2491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2492 Change to 2.4.1 where previously 2.4.0.
2493 * sysdeps/unix/sysv/linux/configure: Regenerated.
2494 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2495 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2496 version.
2497 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2498 (__ASSUME_AT_CLKTCK): Remove.
2499 (__ASSUME_AT_PAGESIZE): Likewise.
2500 (__ASSUME_AT_XID): Likewise.
2501 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2502 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2503 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2504 unconditionally.
2505 (HAVE_AUX_PAGESIZE): Likewise.
2506 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2507 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2508 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2509
7b6e99be
JB
25102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2511
2512 [BZ #14307]
2513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2514 the temporary buffer used to invoke __gethostbyname2_r,
2515 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2516 host_data / struct gaih_addrtuple.
2517 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2518 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2519 header file nss/nsswitch.h.
2520 * nss/nsswitch.h (global scope): Add definition of implementation
2521 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2522 resolv/nss_dns/dns-host.c).
2523
608404eb
AJ
25242012-07-11 Andreas Jaeger <aj@suse.de>
2525
2526 * po/fr.po: Update from translation team.
2527
71220aca
AJ
2528 * po/sv.po: Update from translation team
2529 * po/fr.po: Another update from translation team.
2530
28cfe843
AZ
25312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
2533 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2534 for subnormals or multiply small sinh result by itself.
2535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2537
6b90f981
DM
25382012-07-11 David S. Miller <davem@davemloft.net>
2539
2540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2541
c6825772
AS
25422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2543
2544 [BZ #14347]
2545 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2546 (INTERNAL_MARK): Shift it here.
2547
7b8e0d49
MP
25482012-07-10 Marek Polacek <polacek@redhat.com>
2549
2550 [BZ #14151]
2551 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2552 libc_cv_asm_global_directive with .globl.
2553 * configure: Regenerated.
2554 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2555 with .globl.
2556 * sysdeps/i386/configure: Regenerated.
2557 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2558 with .globl.
2559 * sysdeps/x86_64/configure: Regenerated.
2560 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2561 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2562 * elf/tst-unique2mod2.c: Likewise.
2563 * elf/tst-unique2mod1.c: Likewise.
2564 * elf/tst-unique1mod2.c: Likewise.
2565 * elf/tst-unique1mod1.c: Likewise.
2566 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2567 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2568 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2569 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2570 * sysdeps/mach/sysdep.h: Likewise.
2571 * sysdeps/i386/sysdep.h: Likewise.
2572 * sysdeps/i386/i386-mcount.S: Likewise.
2573 * sysdeps/x86_64/_mcount.S: Likewise.
2574 * sysdeps/x86_64/sysdep.h: Likewise.
2575 * sysdeps/sh/_mcount.S: Likewise.
2576 * sysdeps/sh/sysdep.h: Likewise.
2577 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2579 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2580 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2581 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2582 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2583 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2584 * locale/localeinfo.h: Likewise.
2585 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2586 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2587
6c55cda3
RM
25882012-07-09 Roland McGrath <roland@hack.frob.com>
2589
2590 [BZ #14336]
2591 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2592 system".
2593 * manual/message.texi (The Uniforum approach): Likewise.
2594 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2595 (glibc iconv Implementation): Likewise.
2596
638a572e
JM
25972012-07-09 Joseph Myers <joseph@codesourcery.com>
2598
2599 [BZ #14337]
2600 * math/s_clog.c (__clog): Avoid scaling a value down where that
2601 could result in underflow.
2602 * math/s_clog10.c (__clog10): Likewise.
2603 * math/s_clog10f.c (__clog10f): Likewise.
2604 * math/s_clog10l.c (__clog10l): Likewise.
2605 * math/s_clogf.c (__clogf): Likewise.
2606 * math/s_clogl.c (__clogl): Likewise.
2607 * math/libm-test.inc (clog_test): Add more tests.
2608 (clog10_test): Likewise.
2609 * sysdeps/i386/fpu/libm-test-ulps: Update.
2610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611
261f4859
AS
26122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2613
0abaf3e4
AS
2614 [BZ #14283]
2615 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2616 by 7 not 8 to examine high bit of fractional part.
2617
261f4859
AS
2618 [BZ #14042]
2619 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2620 for call to __mcount_internal.
2621 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2622 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2623 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2624
f17ac40d
JM
26252012-07-06 Joseph Myers <joseph@codesourcery.com>
2626
9ad63c23
JM
2627 [BZ #14154]
2628 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2629 approximation for values within 0x1p-13f of an odd multiple of
2630 pi/4.
2631 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2632 exception. Add more tests.
2633 * sysdeps/i386/fpu/libm-test-ulps: Update.
2634
f17ac40d
JM
2635 [BZ #6778]
2636 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2637 inputs and return -1 for them. Do not check for +Inf in case not
2638 reachable for +Inf.
2639 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2640 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2641 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2642 and return -1 for them. Do not check for +Inf in case not
2643 reachable for +Inf.
2644 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2645 define.
2646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2647 and return -1 for them. Do not check for +Inf in case not
2648 reachable for +Inf.
2649 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2650 spurious underflow.
2651 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2653
fb21f89b
MF
26542012-07-06 Mike Frysinger <vapier@gentoo.org>
2655
2656 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2657
cdfe2c5e
JM
26582012-07-05 Joseph Myers <joseph@codesourcery.com>
2659
2660 [BZ #14157]
2661 [BZ #14331]
2662 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2663 could result in spurious underflow. Scale down values above
2664 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2665 * math/s_csqrtf.c (__csqrtf): Likewise.
2666 * math/s_csqrtl.c (__csqrtl): Likewise.
2667 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2668 spurious underflow.
2669 * sysdeps/i386/fpu/libm-test-ulps: Update.
2670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671
70d35b67
AS
26722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2673
704bc459
AS
2674 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2675 xopen-msg.sed.
2676 * catgets/xopen-msg.awk: New file.
2677 * catgets/xopen-msg.sed: Removed.
2678
70d35b67
AS
2679 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2680 po2text.sed.
2681 * intl/po2test.awk: New file.
2682 * intl/po2test.sed: Removed.
2683
ca61cf32
JM
26842012-07-04 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #14328]
2687 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2688 or multiply small sinh result by itself.
2689 * math/s_ctanf.c (__ctanf): Likewise.
2690 * math/s_ctanh.c (__ctanh): Likewise.
2691 * math/s_ctanhf.c (__ctanhf): Likewise.
2692 * math/s_ctanhl.c (__ctanhl): Likewise.
2693 * math/s_ctanl.c (__ctanl): Likewise.
2694 * math/libm-test.inc (ctan_test_tonearest): New function.
2695 (ctan_test_towardzero): Likewise.
2696 (ctan_test_downward): Likewise.
2697 (ctan_test_upward): Likewise.
2698 (ctanh_test_tonearest): Likewise.
2699 (ctanh_test_towardzero): Likewise.
2700 (ctanh_test_downward): Likewise.
2701 (ctanh_test_upward): Likewise.
2702 (main): Call these new functions.
2703 * sysdeps/i386/fpu/libm-test-ulps: Update.
2704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2705
ca48a46a
MF
27062012-07-03 Mike Frysinger <vapier@gentoo.org>
2707
2708 * .gitignore: Delete /ports entry.
2709
9d63d37d
AJ
27102012-07-03 Andreas Jaeger <aj@suse.de>
2711
2712 * po/bg.po: Update from translation team.
2713 * po/cs.po: Likewise.
2714 * po/de.po: Likewise.
2715 * po/hr.po: Likewise.
2716 * po/nl.pl: Likewise.
2717 * po/pl.po: Likewise.
2718 * po/vi.po: Likewise.
2719
370ca3d2
JM
27202012-07-03 Joseph Myers <joseph@codesourcery.com>
2721
95f5a9a8
JM
2722 * Makeconfig [!+link] (+link-before-libc): New variable.
2723 [!+link] (+link-after-libc): Likewise.
2724 [!+link] (+link-tests): Likewise.
2725 [!+link] (+link): Define in terms of $(+link-before-libc) and
2726 $(+link-after-libc).
2727 [!+link-static] (+link-static-before-libc): New variable.
2728 [!+link-static] (+link-static-after-libc): Likewise.
2729 [!+link-static] (+link-static-tests): Likewise.
2730 [!+link-static] (+link-static): Define in terms of
2731 $(+link-static-before-libc) and $(+link-static-after-libc).
2732 [build-shared] (link-libc-before-gnulib): New variable.
2733 [build-shared] (link-libc-tests): Likewise.
2734 [build-shared] (link-libc): Define in terms of
2735 $(link-libc-before-gnulib).
2736 [!build-shared] (link-libc-tests): New variable.
2737 (link-libc-static-tests): New variable.
2738 [!gnulib] (gnulib-arch): New variable.
2739 [!gnulib] (gnulib-tests): Likewise.
2740 [!gnulib] (static-gnulib-arch): Likewise.
2741 [!gnulib] (static-gnulib-tests): Likewise.
2742 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2743 Define with "=" instead of ":=".
2744 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2745 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2746 * Rules (binaries-all-notests): New variable.
2747 (binaries-all-tests): Likewise.
2748 (binaries-static-notests): Likewise.
2749 (binaries-static-tests): Likewise.
2750 (binaries-all): Define using $(binaries-all-notests) and
2751 $(binaries-all-tests).
2752 (binaries-static): Define using $(binaries-static-notests) and
2753 $(binaries-static-tests).
2754 (binaries-shared-tests): New variable.
2755 (binaries-shared-notests): Likewise.
2756 (binaries-shared): Remove variable.
2757 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2758 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2759 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2760 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2761 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2762 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2763 * elf/Makefile (sln-modules): New variable.
2764 (extra-objs): Add $(sln-modules:=.o).
2765 (ldconfig-modules): Add static-stubs.
2766 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2767 * elf/static-stubs.c: New file.
2768
7a845b2c
JM
2769 [BZ #14283]
2770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2771 by 7 not 8 to examine high bit of fractional part. Use volatile
2772 variables when splitting into final array of floats if
2773 __FLT_EVAL_METHOD__ != 0.
2774 * math/libm-test.inc (cos_test): Add another test.
2775 (sin_test): Likewise.
2776 * sysdeps/i386/fpu/libm-test-ulps: Update.
2777
e2283f38
JM
2778 [BZ #14273]
2779 * math/libm-test.inc (cosh_test): Add more tests.
2780
370ca3d2
JM
2781 * version.h (RELEASE): Set to "development".
2782 (VERSION): Set to "2.16.90".
2783
ee9247c3
CD
27842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2785
2786 * NEWS: Update copyright. Remove last-updated date.
2787 Mention math library bug fixes and timezone data changes.
2788 * README: Mention GNU/Hurd, x32, and HPPA support status.
2789
4648c381
TS
27902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2791
2792 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2793
aac78a43
AJ
27942012-06-27 Andreas Jaeger <aj@suse.de>
2795
2796 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2797
ed3dbfad
AJ
27982012-06-25 Andreas Jaeger <aj@suse.de>
2799
2800 * sysdeps/s390/fpu/libm-test-ulps: Update.
2801
4d0ee855
AS
28022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2803 Thomas Schwinge <thomas@codesourcery.com>
2804
2805 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2806 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2808 fanotify_mark.
2809
af1bce34
TS
28102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2811
a9fa33ba
TS
2812 * sysdeps/mach/start.c: Remove file.
2813 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2814 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2815 * sysdeps/sh/init-first.c: Likewise.
2816
58f902b8
TS
2817 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2818 registers for frame unwinding purposes, add CFI directives.
2819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2820 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2821 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2822 Likewise.
2823
1518f58b
TS
2824 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2825 __fortify_fail returning.
2826 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2827
db9b5059
TS
2828 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2829 sysdeps/sh/____longjmp_chk.S.
2830 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2831 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2832 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2833 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2834
967705fe
TS
2835 * sysdeps/sh/abort-instr.h: New file.
2836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2837 process in case exit returns.
2838
a9def8c4
TS
2839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2840 initialize the GOT register before use.
2841
2a649725
TS
2842 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2843 calculation of ARGC > 4.
2844
af1bce34
TS
2845 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2846 meaningful names to some local labels.
2847
d230f50a
KK
28482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2849 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2850
2851 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2852 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2853 (__arch_compare_and_exchange_val_16_acq): Likewise.
2854 (__arch_compare_and_exchange_val_32_acq): Likewise.
2855 (atomic_exchange_and_add): Fix gUSA sequence.
2856 (atomic_add): Likewise.
2857 (atomic_add_negative): Likewise.
2858 (atomic_add_zero): Likewise.
2859 (atomic_bit_test_set): Likewise.
2860
0479b305
AS
28612012-06-22 Andreas Schwab <schwab@redhat.com>
2862
2863 [BZ #13579]
2864 * include/link.h (struct link_map): Add l_free_initfini.
2865 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2866 l_initfini.
2867 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2868 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2869 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2870 set.
2871
0e3933b9
CD
28722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2873
2874 * configure.in: Use AC_LANG_SOURCE.
2875 * configure: Regenerate.
2876
4248b1b1
RM
28772012-06-22 Roland McGrath <roland@hack.frob.com>
2878
2879 * configure.in (libc_cv_localstatedir): New substituted variable.
2880 * configure: Regenerated.
2881 * config.make.in (localstatedir): New variable, substituted from
2882 libc_cv_localstatedir.
2883 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2884 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2885 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2886 * sysdeps/gnu/configure: Regenerated.
2887
006dd861
JL
28882012-06-21 Jeff Law <law@redhat.com>
2889
2890 [BZ #14277]
2891 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2892 free. Simplify list management for _LIBC case.
2893
79662d42
JM
28942012-06-21 Joseph Myers <joseph@codesourcery.com>
2895
b7abb4bf
JM
2896 [BZ #14273]
2897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2898 Clear sign bit of 64-bit integer value before comparing against
2899 overflow value.
2900
79662d42
JM
2901 * sysdeps/mach/configure: Regenerated.
2902
1f150908
L
29032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 [BZ #14278]
2906 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2907
28363bbf
JL
29082012-06-21 Jeff Law <law@redhat.com>
2909
2910 [BZ #13882]
2911 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2912 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2913 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2914 * elf/dl-open.c (dl_open_worker): Likewise.
2915
09615db4
CD
29162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2917
2918 * scripts/list-sources.sh: Scan PORTS for translations.
2919 * po/libc.pot: Regenerated.
2920
2174c6dd
AJ
29212012-06-21 Andreas Jaeger <aj@suse.de>
2922
2923 [BZ #12194]
2924 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2925 warning.
2926 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2927 * bits/byteswap-16.h (__bswap_16): Likewise.
2928 * bits/byteswap.h (__bswap_constant_16): Likewise.
2929
3ee947b1
L
29302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 [BZ #14117]
a2f34833
L
2933 * sysdeps/i386/fpu_control.h: Removed.
2934 * sysdeps/x86_64/fpu_control.h: Moved to ...
2935 * sysdeps/x86/fpu_control.h: Here.
2936
3ee947b1
L
2937 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2938 (_FPU_SETCW): Likewise.
2939
ed1825f8
L
29402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2941
25f1282a
L
2942 [BZ #14117]
2943 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2944 * sysdeps/x86/fpu/bits/mathinline.h: This.
2945 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2946
ed1825f8
L
2947 [BZ #14050]
2948 [BZ #14117]
2949 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2950 functions if __x86_64__ is defined.
2951
36d54b74
CLT
29522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2953
2954 * string/endian.h: Add !__ASSEMBLER__ condition for including
2955 conversion interfaces.
2956
10285c21
JM
29572012-06-15 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #14241]
2960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2961 of ABS(x) in calculating zero to negative powers other than odd
2962 integers.
2963 * math/libm-test.inc (pow_test): Add more tests.
2964
06c5abbd
AJ
29652012-06-15 Andreas Jaeger <aj@suse.de>
2966
2967 * manual/contrib.texi (Contributors): Update entry of Liubov
2968 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2969 Machado Filho.
2970
a3aeac40
CH
29712012-06-15 Cyril Hrubis <metan@ucw.cz>
2972
2973 * string/string.h: Add __wur to GNU version of strerror_r.
2974
49bdf4c1
L
29752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 [BZ #14229]
2978 * string/Makefile (tests): Add tst-strtok_r.
2979 * string/tst-strtok_r.c: New file.
2980 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2981 RAX_LP/RDX_LP on SAVE_PTR.
2982
834f9b8d
RM
29832012-06-14 Roland McGrath <roland@hack.frob.com>
2984
2985 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2986
75fa1921
JM
29872012-06-14 Joseph Myers <joseph@codesourcery.com>
2988
2989 * libm_test.inc (csqrt_test): Allow more spurious underflow
2990 exceptions.
2991 (j0_test): Likewise.
2992 (j1_test): Likewise.
2993 (y0_test): Likewise.
2994 (y1_test): Likewise.
2995
771766df
CD
29962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2997
2998 * po/Makefile (libc.pot): Use UTF-8 charset.
2999
ceb9e56b
PP
30002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3001
3002 [BZ #14210]
3003 Suppress sign-conversion warning from FD_SET.
3004 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3005 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3006 not unsigned long int.
3007 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3008
ddb28975
L
30092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3010
3011 [BZ #14050]
3012 [BZ #14117]
3013 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3014 __extern_always_inline instead of __extern_inline.
3015 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3016 (__signbit): Likewise.
3017 (__signbitl): Support C++ namespace.
3018 (lrintf): New inline function.
3019 (lrint): Likewise.
3020 (llrintf): Likewise.
3021 (llrint): Likewise.
3022 (fmaxf): Likewise.
3023 (fmax): Likewise.
3024 (fminf): Likewise.
3025 (fmin): Likewise.
3026 (rint): Likewise.
3027 (rintf): Likewise.
3028 (ceil): Likewise.
3029 (ceilf): Likewise.
3030 (floor): Likewise.
3031 (floorf): Likewise.
3032 (nearbyint): Likewise.
3033 (nearbyintf): Likewise.
3034
d7b4fb26
TS
30352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3036
3037 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3038 non-default versions.
3039
eb55f5c2
RM
30402012-06-11 Roland McGrath <roland@hack.frob.com>
3041
3042 [BZ #14218]
3043 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3044
366af02c
TS
30452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3046
99ff6e5c
TS
3047 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3048 (FE_UPWARD, FE_DOWNWARD): Don't define.
3049 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3050 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3051
366af02c
TS
3052 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3053 reading it.
3054 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3055 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3056
793ea851
KK
30572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3058
3059 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3061 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3062 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3063
a728a38f
L
30642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 [BZ #14117]
c08010c7
L
3067 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3068 * sysdeps/i386/fpu/Implies: New file.
3069 * sysdeps/x86_64/fpu/Implies: Likewise.
3070 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3071 * sysdeps/x86/fpu/bits/fenv.h: This.
3072
a728a38f
L
3073 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3074 __SSE_MATH__.
3075
6e230d11
SP
30762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3077
3078 [BZ #14134]
3079 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3080 character 0xffff that matches the last element of the
3081 conversion table.
3082
1b671feb
AZ
30832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3084
3085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3086 fmodl commit.
3087
6043738b
AZ
30882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3089
3090 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3091 values higher than 25.6283.
3092
34ae0b32
AZ
30932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094
3095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3096 subnormal exponent extraction and add some __builtin_expect.
3097 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3098 Fix for subnormal mantissa calculation.
3099
1214ec8f
MF
31002012-06-04 Mike Frysinger <vapier@gentoo.org>
3101
3102 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3103 cpu2 is -1 and errno is not ENOSYS.
3104
f3d1f93c
L
31052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 [BZ #14117]
0e4a3cd7
L
3108 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3109 * sysdeps/x86/bits/string.h: This.
3110 * sysdeps/x86_64/bits/string.h: Removed.
3111
6704c645
L
3112 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3113 if not compiling for x86-64, but compiling for >= i486.
3114
48495318
L
3115 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3116 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3117
14adcbfc
L
3118 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3119 New macro from Linux kernel 3.4.0.
3120 (FP_XSTATE_MAGIC2): Likewise.
3121 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3122 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3123 (struct _fpx_sw_bytes): New struct.
3124 (struct _xsave_hdr): Likewise.
3125 (struct _ymmh_state): Likewise.
3126 (struct _xstate): Likewise.
3127
68e408ab
L
3128 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3129 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3130 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3131 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3132 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3133 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3134
f3d1f93c
L
3135 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3136 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3137 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3138 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3139 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3140 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3141
d9dc34cd
TMQMF
31422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3143
3144 [BZ #13743]
3145 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3146 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3147 (sysdep_headers): Include sys/platform/ppc.h.
3148 * sysdeps/powerpc/test-gettimebase.c: Test for
3149 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3150 * manual/Makefile (appendices): Include platform.texi.
3151 * manual/contrib.texi (Contributors): Update @node pointers.
3152 * manual/maint.texi (Maintenance): Likewise.
3153 (Platform): New node.
3154 * manual/platform.texi: New file. Document the new features.
3155
4af3879c
SP
31562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3157 Jakub Jelinek <jakub@redhat.com>
3158
3159 [BZ #14188]
3160 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3161 where __builtin_expect is unavailable.
3162
2fd6ff13
DM
31632012-06-03 David S. Miller <davem@davemloft.net>
3164
3165 * stdlib/longlong.h: Updated from GCC.
3166
173f7220
AS
31672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3168
3169 [BZ #14042]
3170 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3171 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3172 __mcount_internal.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3174 (GLIBC_2.16): Likewise.
3175
f34a1c6f
L
31762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3179
88a4576f
JM
31802012-06-01 Joseph Myers <joseph@codesourcery.com>
3181
ea32bcdd
JM
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3183 (default-abi): New variable.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3186 variable.
3187 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3192 Likewise.
3193
88a4576f
JM
3194 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3195 definition. Document in comment.
3196
402fe938
DM
31972012-06-01 David S. Miller <davem@davemloft.net>
3198
3199 * stdlib/longlong.h: Updated from GCC.
3200
3553723f
L
32012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 [BZ #14117]
3bd872c4
L
3204 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3205 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3206 sys/debugreg.h sys/io.h here.
3207 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3208 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3209 sys/io.h.
3210 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3211 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3212 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3213 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3214 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3215 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3216
3553723f
L
3217 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3218 Define only if __x86_64__ is defined.
3219
4842e4fe
JM
32202012-06-01 Joseph Myers <joseph@codesourcery.com>
3221
c5bfe3d5
JM
3222 [BZ #14048]
3223 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3224 Use int64_t for variable i.
3225 * math/libm-test.inc (fmod_test): Add more tests.
3226
4842e4fe
JM
3227 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3228 z computation is not scheduled after fetestexcept.
3229 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3230 Use math_force_eval instead of asm to ensure calculation scheduled
3231 before exception test.
3232 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3233 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3234
efb73488
AJ
32352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3236
3237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3238 computation is not scheduled after fetestexcept.
3239
29bcce7c
L
32402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3241
3242 [BZ #14117]
3243 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3244 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3245
73a68f94
AZ
32462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3247
3248 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3249 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3250
67b6df78
L
32512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3252
edf2933a 3253 [BZ #14117]
ebc64a18
L
3254 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3255 <bits/wordsize.h>.
3256 (__WCHAR_MIN): Support __WORDSIZE == 64.
3257 (__WCHAR_MAX): Likewise.
3258
edf2933a
L
3259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3260 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3261
57c6cf40
L
3262 [BZ #14183]
3263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3264 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3265
67b6df78 3266 [BZ #14117]
8eb6281e
L
3267 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3268 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3269
aac639f4
L
3270 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3271 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3272
67b6df78
L
3273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3274 Defined to 1 if __x86_64__ isn't defined.
3275 (_STAT_VER_LINUX_OLD): New.
3276 (st_atime): Remove duplicate.
3277 (st_mtime): Likewise.
3278 (st_ctime): Likewise.
3279
1c2cfe81
DM
32802012-05-31 David S. Miller <davem@davemloft.net>
3281
3282 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3283 entries.
3284
5be8418c
AS
32852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3286
e7725326
AS
3287 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3288 gen-libm-test.pl.
3289
5be8418c
AS
3290 [BZ #14132]
3291 * elf/dl-reloc.c: Include <_itoa.h>.
3292 (_dl_reloc_bad_type): Remove use of INTUSE.
3293 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3294 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3295 * stdio-common/psiginfo.c (psiginfo): Likewise.
3296 * stdio-common/psignal.c (psignal): Likewise.
3297 * string/strsignal.c (strsignal): Likewise.
3298 * include/signal.h (_sys_siglist): Declare hidden proto.
3299 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3300 INTVARDEF with libc_hidden_data_def.
3301 * stdio-common/itoa-udigits.c: Likewise.
3302 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3303 (_itoa_lower_digits_internal): Remove declaration.
3304 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3305 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3306 (_sys_sigabbrev_internal): Remove aliases.
3307 (_sys_siglist): Define hidden alias.
3308
507352f1
MT
33092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3310
3311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3312 bits/sysctl.h.
3313
42bbb1c3
L
33142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3315
3316 [BZ #14117]
6bd784b6
L
3317 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3318 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3319
8bca20f0
L
3320 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3321 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3322 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3323 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3324 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3325 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3326
f9e890a9
L
3327 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3328 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3329 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3330
471101a1
L
3331 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3332 with __addr.
3333 (insw): Likewise.
3334 (insl): Likewise.
3335 (outsb): Likewise.
3336 (outsw): Likewise.
3337 (outsl): Likewise.
3338
6451c862
L
3339 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3340 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3341 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3342
a254b8c9
L
3343 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3344 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3345 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3346 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3347 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3348 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3349
b8dfdd92
L
3350 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3351 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3352
578cd270
L
3353 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3354 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3355
de662f5f
L
3356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3358 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3359
25653439
L
3360 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3361 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3362 to ...
3363 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3364
6bad24a0
L
3365 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3366 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3367 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3368
42bbb1c3
L
3369 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3370 for x86-64.
3371 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3372
2d10d547
JM
33732012-05-31 Joseph Myers <joseph@codesourcery.com>
3374
3375 * math/math.h (M_El): Use two more decimal places.
3376 (M_LOG2El): Likewise.
3377 (M_LOG10El): Likewise.
3378 (M_LN2l): Likewise.
3379 (M_LN10l): Likewise.
3380 (M_PIl): Likewise.
3381 (M_PI_2l): Likewise.
3382 (M_PI_4l): Likewise.
3383 (M_1_PIl): Likewise.
3384 (M_2_PIl): Likewise.
3385 (M_2_SQRTPIl): Likewise.
3386 (M_SQRT2l): Likewise.
3387 (M_SQRT1_2l): Likewise.
3388
f230c29b
DM
33892012-05-31 David S. Miller <davem@davemloft.net>
3390
3391 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3392 values between float registers.
3393 * sysdeps/sparc/sparc64/memset.S: Likewise.
3394 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3395
fed806c3
MF
33962012-05-31 Mike Frysinger <vapier@gentoo.org>
3397
3398 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3399 -D_FORTIFY_SOURCE=1.
3400 (CPPFLAGS-tst-longjmp_chk.c): Define.
3401 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3402 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3403 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3404 CFLAGS-tst-wchar-h.c.
3405
30917259
MP
34062012-05-31 Marek Polacek <polacek@redhat.com>
3407
3408 [BZ #14132]
3409 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3410 __endmntent_internal): Remove declaration.
3411 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3412 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3413 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3414
1c58d5dc
DM
34152012-05-30 David S. Miller <davem@davemloft.net>
3416
3417 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3418 (___Q_simulate_exceptions): Use real FP ops rather than writing
3419 into the %fsr.
3420 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3421 Likewise.
3422
7dc00e0d
L
34232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 [BZ #14117]
0bd53985
L
3426 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3427 * sysdeps/x86/bits/xtitypes.h: This.
3428
3a257e66
L
3429 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3430 * sysdeps/x86/bits/wordsize.h: This.
3431
62f62904
L
3432 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3433 * sysdeps/x86/bits/huge_vall.h: This.
3434
404fe9d9
L
3435 * sysdeps/i386/bits/select.h: Removed.
3436 * sysdeps/x86_64/bits/select.h: Renamed to ...
3437 * sysdeps/x86/bits/select.h: This.
3438
d48d0446
L
3439 * sysdeps/i386/bits/setjmp.h: Removed.
3440 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3441 * sysdeps/x86/bits/setjmp.h: This.
3442
7dc00e0d
L
3443 * sysdeps/i386/bits/mathdef.h: Removed.
3444 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3445 * sysdeps/x86/bits/mathdef.h: This.
3446
03277f8f
AS
34472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3448
3449 [BZ #14132]
3450 * include/sys/socket.h (__connect_internal)
3451 (__libc_sa_len_internal): Remove declaration.
3452 (__connect, __libc_sa_len): Declare hidden_proto.
3453 (SA_LEN): Remove use of INTUSE.
3454 * socket/connect.c: Add libc_hidden_def.
3455 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3456 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3457 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3458 alias.
3459 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3461 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3462 of adding _internal alias.
3463
13764867
L
34642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 [BZ #14117]
6bd97696
L
3467 * sysdeps/i386/bits/link.h: Removed.
3468 * sysdeps/i386/bits/linkmap.h: Likewise.
3469 * sysdeps/x86_64/bits/link.h: Renamed to ...
3470 * sysdeps/x86/bits/link.h: This.
3471 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3472 * sysdeps/x86/bits/linkmap.h: This.
3473
f726f0bb
L
3474 * sysdeps/i386/bits/endian.h: Removed.
3475 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3476 * sysdeps/x86/bits/endian.h: This.
3477
13764867
L
3478 * sysdeps/i386/bits/byteswap.h: Removed.
3479 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3480 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3481 * sysdeps/x86/bits/byteswap.h: This.
3482 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3483 * sysdeps/x86/bits/byteswap-16.h: This.
3484 * sysdeps/i386/Implies: Add x86.
3485 * sysdeps/x86_64/Implies: Likewise.
3486
ae251b0b
DM
34872012-05-30 David S. Miller <davem@davemloft.net>
3488
3489 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3490 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3491 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3492 (FP_TRAPPING_EXCEPTIONS): Define.
3493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3494 (FP_TRAPPING_EXCEPTIONS): Define.
3495 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3496 subnormals only when inexact has been signalled or underflow
3497 exceptions are enabled.
3498 (_FP_PACK_CANONICAL): Likewise.
3499
d5c90867
L
35002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 [BZ #14183]
3503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3504 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3505
63f1549e
RH
35062012-05-30 Richard Henderson <rth@twiddle.net>
3507
8d8f2279
RH
3508 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3509 with #ifndef NOT_IN_libc.
3510
63f1549e
RH
3511 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3512 marked to avoid plt entry.
3513
0ab0291b
L
35142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 [BZ #14112]
3517 * Makeconfig (default-abi): New macro.
3518 (abi-includes): Likewise.
3519 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3520 $(abi-$(default-abi)-lib-soname) for soname if defined.
3521 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3522 abi-variants.
3523 * Makefile (installed-stubs): Likewise.
3524 * include/stubs-biarch.h: Removed.
3525 * scripts/lib-names.awk: Only handle one library at a time.
3526 * scripts/soversions.awk: Remove WORDSIZE support.
3527 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3528 entries.
3529 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3530 Removed.
3531 (syscall-list-default-condition): Likewise.
3532 (syscall-list-default-condition): Likewise.
3533 (syscall-list-includes): Likewise.
3534 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3535 syscall-list-* with abi-*. Handle undefined abi-variants.
3536 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3537 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3538 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3539 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3540 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3541 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3542 Removed.
3543 (syscall-list-32-options): Likewise.
3544 (syscall-list-32-condition): Likewise.
3545 (syscall-list-64-options): Likewise.
3546 (syscall-list-64-condition): Likewise.
3547 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3548 macro.
3549 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3550 Renamed to ...
3551 (abi-*): This.
3552 (abi-64-ld-soname): New macro.
3553 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3555 Renamed to ...
3556 (abi-*): This.
3557 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3558 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3559
4da0431d
JM
35602012-05-30 Joseph Myers <joseph@codesourcery.com>
3561
3a85279c
JM
3562 * sysdeps/unix/sysv/linux/kernel-features.h
3563 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3564 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3565 include <kernel-features.h>.
3566 [!__NR_ftruncate64]: Remove conditional code.
3567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3568 [__NR_ftruncate64]: Make code unconditional.
3569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3570 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3571 include <kernel-features.h>.
3572 [!__NR_ftruncate64]: Remove conditional code.
3573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3574 [__NR_ftruncate64]: Make code unconditional.
3575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3577 include <kernel-features.h>.
3578 [!__NR_ftruncate64]: Remove conditional code.
3579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3580 [__NR_ftruncate64]: Make code unconditional.
3581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3583 include <kernel-features.h>.
3584 [!__NR_ftruncate64]: Remove conditional code.
3585 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3586 [__NR_ftruncate64]: Make code unconditional.
3587 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3588
4da0431d
JM
3589 * configure.in (libc_cv_fpie): Weaken to a compile test using
3590 LIBC_TRY_CC_OPTION.
3591 * configure: Regenerated.
3592
11ef492c
AK
35932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3594
3595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3599 Refreshed.
3600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3606 Refreshed.
3607
d66ef399
DM
36082012-05-27 David S. Miller <davem@davemloft.net>
3609
3610 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3611 (___Q_zero): New.
3612 (__Q_simulate_exceptions): Return void. Change to simulate
3613 exceptions by writing into the %fsr.
3614 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3615 (__Qp_handle_exceptions): Likewise.
3616 (numbers): Delete.
3617 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3618 __Qp_handle_exceptions.
3619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3620 __Qp_handle_exceptions.
3621 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3622 as unused and give dummy FP_RND_NEAREST initializer.
3623 (FP_INHIBIT_RESULTS): Define.
3624 (___Q_simulate_exceptions): Update declaration.
3625 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3626 formatting.
3627 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3628 as unused and give dummy FP_RND_NEAREST initializer.
3629 (__Qp_handle_exceptions): Update declaration.
3630 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3631 formatting.
3632
04fb54b5
TS
36332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3634
3635 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3636 the temporary FPU control word.
3637 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3638 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3639 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3640 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3641 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3643 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3644 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3645 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3646 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3647 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3648
3f99608f
KK
36492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3650
3651 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3652 fields.
3653
65a4de4e
CLT
36542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3655
3656 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3657 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3658 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3659 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3660 Likewise.
3661 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3662 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3663 Likewise.
3664
15749d40
UD
36652012-05-27 Ulrich Drepper <drepper@gmail.com>
3666
3667 * po/h.po: Update from translation team.
3668
25dbcb27
AS
36692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3670
3d3f8e55
AS
3671 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3672
25dbcb27
AS
3673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3674 handling of denormals.
3675 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3676 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3677 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3682 Likewise.
3683
7ad47a80 36842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3685
3686 [BZ #14152]
3687 * math/libm-test.inc (fma_test): Don't always expect underflow
3688 exception.
3689
9c6ea9fa
SP
36902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3691
3692 [BZ #12416]
3693 * elf/tst-execstack.c: Include stackinfo.h.
3694 (do_test): Adjust test case to ensure that pthread_getattr_np
3695 behaviour remains the same after marking stack executable.
3696
a8239222
JM
36972012-05-25 Joseph Myers <joseph@codesourcery.com>
3698
3699 * sysdeps/unix/sysv/linux/kernel-features.h
3700 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3701 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3702 kernel-features.h.
3703 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3704 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3705 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3706 kernel-features.h.
3707 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3708 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3709
918b5606
L
37102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * configure.in: Define the default includes to being none.
3713 * configure: Regenerated.
3714
3a097cc7
RM
37152012-05-25 Roland McGrath <roland@hack.frob.com>
3716
8422c9a5
RM
3717 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3718 * sysdeps/x86_64/setjmp.S: Likewise.
3719 * sysdeps/i386/bsd-setjmp.S: Likewise.
3720 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3721 * sysdeps/i386/setjmp.S: Likewise.
3722 * sysdeps/i386/__longjmp.S: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3725
3a097cc7
RM
3726 * include/stap-probe.h: New file.
3727 * configure.in: Handle --enable-systemtap.
3728 * configure: Regenerated.
3729 * config.h.in (USE_STAP_PROBE): New #undef.
3730 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3731 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3732 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3733
21708942
JM
37342012-05-25 Joseph Myers <joseph@codesourcery.com>
3735
3736 [BZ #13717]
3737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3738 to 2.4.0 where earlier.
3739 * sysdeps/unix/sysv/linux/configure: Regenerated.
3740 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3741 <kernel-features.h>.
3742 [__ASSUME_32BITUIDS]: Make code unconditional.
3743 [!__ASSUME_32BITUIDS]: Remove conditional code.
3744 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3745 <kernel-features.h>.
3746 [__ASSUME_32BITUIDS]: Make code unconditional.
3747 [!__ASSUME_32BITUIDS]: Remove conditional code.
3748 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3749 [__ASSUME_32BITUIDS]: Make code unconditional.
3750 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3751 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3752 <kernel-features.h>.
3753 [__ASSUME_32BITUIDS]: Make code unconditional.
3754 [!__ASSUME_32BITUIDS]: Remove conditional code.
3755 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3756 <kernel-features.h>.
3757 [__ASSUME_32BITUIDS]: Make code unconditional.
3758 [!__ASSUME_32BITUIDS]: Remove conditional code.
3759 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3760 <kernel-features.h>.
3761 [__ASSUME_32BITUIDS]: Make code unconditional.
3762 [!__ASSUME_32BITUIDS]: Remove conditional code.
3763 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3764 <kernel-features.h>.
3765 [__ASSUME_32BITUIDS]: Make code unconditional.
3766 [!__ASSUME_32BITUIDS]: Remove conditional code.
3767 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3768 <kernel-features.h>.
3769 [__ASSUME_32BITUIDS]: Make code unconditional.
3770 [!__ASSUME_32BITUIDS]: Remove conditional code.
3771 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3772 <kernel-features.h>.
3773 [__ASSUME_32BITUIDS]: Make code unconditional.
3774 [!__ASSUME_32BITUIDS]: Remove conditional code.
3775 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3776 <kernel-features.h>.
3777 [__ASSUME_32BITUIDS]: Make code unconditional.
3778 [!__ASSUME_32BITUIDS]: Remove conditional code.
3779 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3780 <kernel-features.h>.
3781 [__ASSUME_32BITUIDS]: Make code unconditional.
3782 [!__ASSUME_32BITUIDS]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3784 <kernel-features.h>.
3785 [__ASSUME_32BITUIDS]: Make code unconditional.
3786 [!__ASSUME_32BITUIDS]: Remove conditional code.
3787 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3788 <kernel-features.h>.
3789 [__ASSUME_32BITUIDS]: Make code unconditional.
3790 [!__ASSUME_32BITUIDS]: Remove conditional code.
3791 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3792 <kernel-features.h>.
3793 [__NR_setresgid] (__setresgid): Do not declare.
3794 [__ASSUME_32BITUIDS]: Make code unconditional.
3795 [!__ASSUME_32BITUIDS]: Remove conditional code.
3796 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3797 <kernel-features.h>.
3798 [__NR_setresuid] (__setresuid): Do not declare.
3799 [__ASSUME_32BITUIDS]: Make code unconditional.
3800 [!__ASSUME_32BITUIDS]: Remove conditional code.
3801 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3802 <kernel-features.h>.
3803 [__ASSUME_32BITUIDS]: Make code unconditional.
3804 [!__ASSUME_32BITUIDS]: Remove conditional code.
3805 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3806 <kernel-features.h>.
3807 [__ASSUME_32BITUIDS]: Make code unconditional.
3808 [!__ASSUME_32BITUIDS]: Remove conditional code.
3809 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3810 <kernel-features.h>.
3811 [__ASSUME_32BITUIDS]: Make code unconditional.
3812 [!__ASSUME_32BITUIDS]: Remove conditional code.
3813 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3814 <kernel-features.h>.
3815 [__ASSUME_32BITUIDS]: Make code unconditional.
3816 [!__ASSUME_32BITUIDS]: Remove conditional code.
3817 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3818 <kernel-features.h>.
3819 [__ASSUME_32BITUIDS]: Make code unconditional.
3820 [!__ASSUME_32BITUIDS]: Remove conditional code.
3821 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3822 <kernel-features.h>.
3823 [__ASSUME_32BITUIDS]: Make code unconditional.
3824 [!__ASSUME_32BITUIDS]: Remove conditional code.
3825 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3826 <kernel-features.h>.
3827 [__ASSUME_32BITUIDS]: Make code unconditional.
3828 [!__ASSUME_32BITUIDS]: Remove conditional code.
3829 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3830 <kernel-features.h>.
3831 [__ASSUME_32BITUIDS]: Make code unconditional.
3832 [!__ASSUME_32BITUIDS]: Remove conditional code.
3833 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3834 <kernel-features.h>.
3835 [__ASSUME_32BITUIDS]: Make code unconditional.
3836 [!__ASSUME_32BITUIDS]: Remove conditional code.
3837 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3838 <kernel-features.h>.
3839 [__ASSUME_32BITUIDS]: Make code unconditional.
3840 [!__ASSUME_32BITUIDS]: Remove conditional code.
3841 * sysdeps/unix/sysv/linux/kernel-features.h
3842 (__ASSUME_SETRESUID_SYSCALL): Remove.
3843 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3844 (__ASSUME_32BITUIDS): Likewise.
3845 (__ASSUME_LDT_WORKS): Likewise.
3846 (__ASSUME_O_DIRECTORY): Likewise.
3847 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3848 architecture but not kernel version.
3849 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3850 (__ASSUME_MMAP2_SYSCALL): Likewise.
3851 (__ASSUME_STAT64_SYSCALL): Likewise.
3852 (__ASSUME_IPC64): Likewise.
3853 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3854 <kernel-features.h>.
3855 [__ASSUME_32BITUIDS]: Make code unconditional.
3856 [!__ASSUME_32BITUIDS]: Remove conditional code.
3857 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3858 <kernel-features.h>.
3859 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3860 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3861 132096]: Remove conditional code.
3862 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3863 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
3872 <kernel-features.h>.
3873 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3874 unconditional.
3875 (__setresgid): Do not declare.
3876 [__ASSUME_32BITUIDS]: Make code unconditional.
3877 [!__ASSUME_32BITUIDS]: Remove conditional code.
3878 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3879 <kernel-features.h>.
3880 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3881 unconditional.
3882 (__setresuid): Do not declare.
3883 [__ASSUME_32BITUIDS]: Make code unconditional.
3884 [!__ASSUME_32BITUIDS]: Remove conditional code.
3885 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3886 <kernel-features.h>.
3887 [__ASSUME_32BITUIDS]: Make code unconditional.
3888 [!__ASSUME_32BITUIDS]: Remove conditional code.
3889 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3890 <kernel-features.h>.
3891 [__ASSUME_32BITUIDS]: Make code unconditional.
3892 [!__ASSUME_32BITUIDS]: Remove conditional code.
3893
a386f1cc
RH
38942012-05-25 Richard Henderson <rth@twiddle.net>
3895
3896 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3897 dl_hwcap to ifunc resolver.
3898 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3899 elf_ifunc_invoke.
3900 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3901 dl_hwcap to ifunc resolver.
3902 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3903
b6550497
JM
39042012-05-24 Joseph Myers <joseph@codesourcery.com>
3905
3906 [BZ #14153]
3907 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3908 for |x| <= 2**-26, not 2**-57.
3909 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3910 exception.
3911
b0bc23a1
JL
39122012-05-24 Jeff Law <law@redhat.com>
3913
3914 * stdio-common/Makefile (tests): Add bug25.
3915 * stdio-common/bug25.c: New test.
3916
347c92e9
L
39172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3918
3919 [BZ #13576]
3920 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3921 multiple of MALLOC_ALIGNMENT in size.
3922 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3923
6bcc8b3f
JM
39242012-05-24 Joseph Myers <joseph@codesourcery.com>
3925
3926 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3927 Require >= 256.
3928 (FILENAME_MAX): Use macro-int-constant.
3929 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3930 (_IOFBF): Use macro-int-constant.
3931 (_IOLBF): Likewise.
3932 (_IONBF): Likewise.
3933 (SEEK_CUR): Likewise.
3934 (SEEK_END): Likewise.
3935 (SEEK_SET): Likewise.
3936 (TMP_MAX): Likewise.
3937 (EOF): Use macro-int-constant. Require < 0.
3938 (NULL): Use macro-constant. Require == 0.
3939 (stdin): Require type to be FILE *.
3940 (stdout): Likewise.
3941 (stderr): Likewise.
3942 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3943 macro-int-constant.
3944 (EXIT_SUCCESS): Likewise.
3945 (NULL): Use macro-constant. Require == 0.
3946 (RAND_MAX): Use macro-int-constant.
3947 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3948 [C99-based standards] (strtof): Require function.
3949 [C99-based standards] (strtold): Likewise.
3950 [C99-based standards] (strtoll): Likewise.
3951 [C99-based standards] (strtoull): Likewise.
3952 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3953 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3954 [ISO || ISO99 || ISO11] (math.h): Likewise.
3955 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3956 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3958
d18ea0c5
AS
39592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3960
3961 [BZ #14132]
56d25bb8
AS
3962 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3963 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3964 * intl/dgettext.c (DCGETTEXT): Likewise.
3965 * intl/gettext.c (DCGETTEXT): Likewise.
3966 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3967 * posix/regex_internal.h (gettext): Likewise.
3968 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3969 Remove declaration.
3970 * include/argz.h (__argz_count_internal)
3971 (__argz_stringify_internal): Remove declaration.
3972 (__argz_count, __argz_stringify): Declare hidden proto.
3973 * intl/dcgettext.c: Remove use of INTDEF.
3974 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3975 * string/argz-stringify.c: Likewise.
3976 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3977 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3978 Declare hidden proto.
d18ea0c5
AS
3979 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3980 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3981 Declare hidden proto.
3982 * include/stdio.h (__asprintf_internal): Don't declare.
3983 (__asprintf): Don't define as macro. Declare hidden proto.
3984 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3985 (__fsetlocking): Declare hidden proto.
3986 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3987 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3988 hidden proto.
3989 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3990 (_IO_setlinebuf): Remove use of INTUSE.
3991 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3992 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3993 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3994 Remove declaration.
3995 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3996 (_IO_do_flush): Remove use of INTUSE.
3997 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3998 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3999 (_IO_adjust_column, _IO_least_wmarker)
4000 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4001 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4002 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4003 (_IO_default_doallocate, _IO_wdefault_doallocate)
4004 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4005 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4006 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4007 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4008 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4009 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4010 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4011 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4012 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4013 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4014 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4015 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4016 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4017 proto.
4018 (_IO_flush_all_internal, _IO_adjust_column_internal)
4019 (_IO_default_uflow_internal, _IO_default_finish_internal)
4020 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4021 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4022 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4023 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4024 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4025 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4026 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4027 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4028 (_IO_file_close_internal, _IO_file_close_it_internal)
4029 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4030 (_IO_file_init_internal, _IO_file_attach_internal)
4031 (_IO_file_fopen_internal, _IO_file_read_internal)
4032 (_IO_file_sync_internal, _IO_file_seek_internal)
4033 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4034 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4035 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4036 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4037 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4038 (_IO_list_all_internal, _IO_link_in_internal)
4039 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4040 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4041 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4042 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4043 (_IO_do_write_internal, _IO_padn_internal)
4044 (_IO_getline_info_internal, _IO_getline_internal)
4045 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4046 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4047 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4048 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4049 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4050 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4051 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4052 with libc_hidden_ver, remove use of INTUSE.
4053 * libio/genops.c: Likewise.
4054 * libio/freopen.c: Likewise.
4055 * libio/freopen64.c: Likewise.
4056 * libio/iofclose.c: Likewise.
4057 * libio/iofdopen.c: Likewise.
4058 * libio/iofflush.c: Likewise.
4059 * libio/iofflush_u.c: Likewise.
4060 * libio/iofgets.c: Likewise.
4061 * libio/iofgets_u.c: Likewise.
4062 * libio/iofopen.c: Likewise.
4063 * libio/iofopncook.c: Likewise.
4064 * libio/iofread.c: Likewise.
4065 * libio/iofread_u.c: Likewise.
4066 * libio/ioftell.c: Likewise.
4067 * libio/iofwrite.c: Likewise.
4068 * libio/iogetline.c: Likewise.
4069 * libio/iogets.c: Likewise.
4070 * libio/iogetwline.c: Likewise.
4071 * libio/iopadn.c: Likewise.
4072 * libio/iopopen.c: Likewise.
4073 * libio/ioseekoff.c: Likewise.
4074 * libio/ioseekpos.c: Likewise.
4075 * libio/iosetbuffer.c: Likewise.
4076 * libio/iosetvbuf.c: Likewise.
4077 * libio/ioungetc.c: Likewise.
4078 * libio/ioungetwc.c: Likewise.
4079 * libio/iovdprintf.c: Likewise.
4080 * libio/iovsprintf.c: Likewise.
4081 * libio/iovsscanf.c: Likewise.
4082 * libio/memstream.c: Likewise.
4083 * libio/obprintf.c: Likewise.
4084 * libio/oldfileops.c: Likewise.
4085 * libio/oldiofclose.c: Likewise.
4086 * libio/oldiofdopen.c: Likewise.
4087 * libio/oldiofopen.c: Likewise.
4088 * libio/oldiopopen.c: Likewise.
4089 * libio/oldstdfiles.c: Likewise.
4090 * libio/putc.c: Likewise.
4091 * libio/setbuf.c: Likewise.
4092 * libio/setlinebuf.c: Likewise.
4093 * libio/stdfiles.c: Likewise.
4094 * libio/strops.c: Likewise.
4095 * libio/vasprintf.c: Likewise.
4096 * libio/vscanf.c: Likewise.
4097 * libio/vsnprintf.c: Likewise.
4098 * libio/vswprintf.c: Likewise.
4099 * libio/wfiledoalloc.c: Likewise.
4100 * libio/wfileops.c: Likewise.
4101 * libio/wgenops.c: Likewise.
4102 * libio/wmemstream.c: Likewise.
4103 * libio/wstrops.c: Likewise.
4104 * libio/__fpurge.c: Likewise.
4105 * libio/__fsetlocking.c: Likewise.
4106 * assert/assert.c: Likewise.
4107 * debug/fgets_chk.c: Likewise.
4108 * debug/fgets_u_chk.c: Likewise.
4109 * debug/fread_chk.c: Likewise.
4110 * debug/fread_u_chk.c: Likewise.
4111 * debug/gets_chk.c: Likewise.
4112 * debug/obprintf_chk.c: Likewise.
4113 * debug/vasprintf_chk.c: Likewise.
4114 * debug/vdprintf_chk.c: Likewise.
4115 * debug/vsnprintf_chk.c: Likewise.
4116 * debug/vsprintf_chk.c: Likewise.
4117 * malloc/mtrace.c: Likewise.
4118 * misc/error.c: Likewise.
4119 * misc/syslog.c: Likewise.
4120 * stdio-common/asprintf.c: Likewise.
4121 * stdio-common/fxprintf.c: Likewise.
4122 * stdio-common/getw.c: Likewise.
4123 * stdio-common/isoc99_fscanf.c: Likewise.
4124 * stdio-common/isoc99_scanf.c: Likewise.
4125 * stdio-common/isoc99_vfscanf.c: Likewise.
4126 * stdio-common/isoc99_vscanf.c: Likewise.
4127 * stdio-common/isoc99_vsscanf.c: Likewise.
4128 * stdio-common/printf-prs.c: Likewise.
4129 * stdio-common/printf_fp.c: Likewise.
4130 * stdio-common/printf_fphex.c: Likewise.
4131 * stdio-common/printf_size.c: Likewise.
4132 * stdio-common/putw.c: Likewise.
4133 * stdio-common/scanf.c: Likewise.
4134 * stdio-common/sprintf.c: Likewise.
4135 * stdio-common/tmpfile.c: Likewise.
4136 * stdio-common/vfprintf.c: Likewise.
4137 * stdio-common/vfscanf.c: Likewise.
4138 * stdlib/strfmon_l.c: Likewise.
4139 * sunrpc/openchild.c: Likewise.
4140 * sunrpc/xdr_stdio.c: Likewise.
4141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4142 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4143
d6c33fda
RM
41442012-05-24 Roland McGrath <roland@hack.frob.com>
4145
c1487492
RM
4146 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4147
4148 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4149 in the third column, to generate for the shared library an IFUNC
4150 that uses _dl_vdso_vsym.
4151 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4152 * Makeconfig (object-suffixes-noshared): New variable.
4153
4154 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4155 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4156 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4157 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4158
d6c33fda
RM
4159 [BZ #14132]
4160 * include/sys/time.h (__gettimeofday): Remove macro.
4161 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4162 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4163 Remove INTDEF.
4164 (__gettimeofday): Add libc_hidden_def.
4165 (gettimeofday): Add libc_hidden_weak.
4166 * sysdeps/mach/gettimeofday.c: Likewise.
4167 * sysdeps/posix/gettimeofday.c: Likewise.
4168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4169 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4171 (__gettimeofday_internal): Remove strong_alias.
4172 (__gettimeofday): Add libc_hidden_def.
4173 (gettimeofday): Add libc_hidden_weak.
4174 * sysdeps/unix/syscalls.list (gettimeofday):
4175 Remove __gettimeofday_internal alias.
4176
b5a2bbe6
L
41772012-05-24 Daniel Jacobowitz <drow@false.org>
4178 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 [BZ #12495]
4181 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4182 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4183 (largebin_index_32_big): New.
4184 (largebin_index): Use it for 16-byte alignment.
4185 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4186 correction with front_misalign.
4187
cfba4fda
L
41882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4189
7f907421
L
4190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4192 Likewise.
4193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4194 Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4196 Likewise.
4197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4198 Likewise.
4199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4200 Likewise.
4201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4202 Likewise.
4203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4204 Likewise.
4205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4210 Likewise.
4211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4212 Likewise.
4213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4214 Likewise.
4215
cfba4fda
L
4216 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4217 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4218
80bad0cc
JM
42192012-05-24 Joseph Myers <joseph@codesourcery.com>
4220
7a25eb06
JM
4221 [BZ #10846]
4222 [BZ #14036]
4223 * math/libm-test.inc (exp_test): Add test from bug 14036.
4224 (pow_test): Add test from bug 10846.
4225
795405f9
JM
4226 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4227 and other flags.
4228 (special_function): Do not include flags in test name.
4229 (parse_args): Likewise.
4230 * sysdeps/i386/fpu/libm-test-ulps: Update.
4231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4232 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4233 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235
80bad0cc
JM
4236 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4237 exceptions.
4238 * math/libm-test.inc ("Philosophy"): Update comment about
4239 exception testing.
4240 (UNDERFLOW_EXCEPTION): New macro.
4241 (UNDERFLOW_EXCEPTION_OK): Likewise.
4242 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4243 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4244 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4245 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4246 (INVALID_EXCEPTION_OK): Update value.
4247 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4248 (OVERFLOW_EXCEPTION_OK): Likewise.
4249 (IGNORE_ZERO_INF_SIGN): Likewise.
4250 (test_exceptions): Handle underflow exceptions.
4251 (acos_test): Update for underflow exception expectations.
4252 (cexp_test): Likewise.
4253 (clog_test): Likewise.
4254 (clog10_test): Likewise.
4255 (csqrt_test): Likewise.
4256 (ctan_test): Likewise.
4257 (ctanh_test): Likewise.
4258 (exp_test): Likewise.
4259 (exp10_test): Likewise.
4260 (exp2_test): Likewise.
4261 (expm1_test): Likewise.
4262 (fma_test): Likewise.
4263 (j0_test): Likewise.
4264 (jn_test): Likewise.
4265 (nexttoward_test): Likewise.
4266 (pow_test): Likewise.
4267 (scalbn_test): Likewise.
4268 (scalbln_test): Likewise.
4269 (tan_test): Likewise.
4270 (y1_test): Likewise.
4271 * sysdeps/i386/fpu/libm-test-ulps: Update.
4272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4273
9e0e3d0b
DM
42742012-05-23 David S. Miller <davem@davemloft.net>
4275
4276 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4277 (__libc_sigaction): Remove unused local variables.
4278
ccd0a08f
L
42792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4282
62bdf9a6
PE
42832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4284
f8591f80
PE
4285 mktime: avoid signed integer overflow
4286 * time/mktime.c (__mktime_internal): Do not mishandle the case
4287 where diff == INT_MIN.
4288
94c7d826
PE
4289 mktime: simplify computation of average
4290 * time/mktime.c (ranged_convert): Use new time_t_avg function
4291 instead of rolling our own (probably-slower) code.
4292
ce73d683
PE
4293 mktime: do not assume signed right shift propagates sign bit
4294 * time/mktime.c (isdst_differ): New static function.
4295 (__mktime_internal): No need to normalize tm_isdst now.
4296 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4297 tm_isdst values.
4298
72a22e59
PE
4299 mktime: merge another wrapv change from gnulib
4300 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4301 from some compilers.
4302
68605433
PE
4303 mktime: remove incorrect attempt at unusual arithmetics
4304 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4305 The code didn't really work on such machines anyway.
4306 (TYPE_MINIMUM): Assume two's complement.
4307 (twos_complement_arithmetic): Verify that long_int and time_t
4308 are two's complement (or unsigned, in the latter case).
4309
03cf7fe3
PE
4310 mktime: check signed shifts on long_int and time_t, too
4311 * time/mktime.c (SHR): Check that shifts work as desired
4312 on the types long_int and time_t too, as SHR is used on
4313 such types.
4314
f04dfbc2
PE
4315 mktime: do not assume 'long' is wide enough
4316 * time/mktime.c (verify): Move decl up.
4317 (long_int): New type.
4318 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4319 to remove assumption in the code that 'long' is wide enough to
4320 store year values. This assumption is not true on x32 and on
4321 some non-glibc platforms.
4322
62bdf9a6
PE
4323 mktime: merge wrapv change from gnulib
4324 * time/mktime.c (WRAPV): New macro.
4325 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4326 (guess_time_tm, __mktime_internal): Do not assume that signed
4327 integer overflow wraps around; modern compilers generate code
4328 where this assumption is no longer valid.
4329
5e292e4f
L
43302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4331
4332 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4333 Replace "jmp L(pseudo_end)" with "ret".
4334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4335 Likewise.
4336
8caf8c87
AJ
43372012-05-23 Andreas Jaeger <aj@suse.de>
4338
4339 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4340 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4341
1a09dc56
AJ
43422012-05-23 Andreas Jaeger <aj@suse.de>
4343 Maximilian Attems <max@stro.at>
4344
4345 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4346 New macros.
4347
1c87aba0
L
43482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4351 code so that pseudo_end is just ret and the stack pointer is
4352 correct also for static library in error case.
4353
40e45bd5
JM
43542012-05-23 Joseph Myers <joseph@codesourcery.com>
4355
c2670533
JM
4356 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4357 move to syscalls.list.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4362
40e45bd5
JM
4363 * manual/install.texi (Running make install): Do not mention Linux
4364 kernel version for which pt_chown is not needed.
4365 (Linux): Do not mention problems with nscd with 2.0 kernels.
4366 * INSTALL: Regenerated.
4367
be08eda5
AJ
43682012-05-23 Andreas Jaeger <aj@suse.de>
4369
4370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4371 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4372 macro.
4373 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4375 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4377 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4379 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4380 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4382 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4383 * sysdeps/unix/sysv/linux/bits/in.h
4384 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4385
a6a056bb
RM
43862012-05-22 Roland McGrath <roland@hack.frob.com>
4387
4388 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4389 (PREPARE_VERSION): Just use assert instead, it will be elided
4390 under [NDEBUG] anyway.
4391
c9009328
L
43922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * sysdeps/unix/sysv/linux/Makefile: Include
4395 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4396 (sysdep_routines): Remove sysctl.
c9009328
L
4397 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4398 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4399 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4401 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4402
73338355
AJ
44032012-05-22 Andreas Jaeger <aj@suse.de>
4404
4405 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4406 that pseudo_end is just ret and the stack pointer is correct also
4407 for static library in error case.
4408
d44638b0
PP
44092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4410
4411 [BZ #14122]
4412 * nss/nsswitch.c (defconfig_entries): New variable.
4413 (__nss_database_lookup): Don't leak defconfig entries.
4414 (nss_parse_service_list): Don't leak on error paths.
4415 (free_database_entries): New function.
4416 (free_defconfig): New function.
4417 (free_mem): Move common code to free_database_entries.
4418
31a39bd8
L
44192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4420
da0331a8
L
4421 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4422 Add arch_prctl.
4423 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4424
31a39bd8
L
4425 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4426 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4428 New macro.
4429 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4430 (INTERNAL_SYSCALL_TYPES): Likewise.
4431 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4432 (LOAD_REGS_TYPES_[1-6]): Likewise.
4433 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4434 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4435
45470df3
AZ
44362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437
4438 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4439 copysignl for GLIBC_2_0.
4440 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4441 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4443 logbl for GLIBC_2_0.
4444 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4446
98a61bcb
L
44472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4448
a4f6e481
L
4449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4450 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4451
f63d5db6
L
4452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4453 Use "neg %eax".
4454
98a61bcb
L
4455 * time/mktime.c: Update copyright years.
4456
95770f14
PE
44572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4458
6226efbd
PE
4459 mktime: merge comment-quoting-style change from gnulib
4460 * time/mktime.c: Quote 'like this' in comments.
4461 The GNU coding standards suggest that we no longer quote `like this',
4462 as "`" and "'" are typically rendered asymmetrically nowadays.
4463 The typical gnulib style is to quote 'like this' when quoting
4464 code, and "like this" when quoting English.
4465
b99e4f78
PE
4466 * time/mktime.c (compile-command): Add "-I.".
4467
643e01e6
PE
4468 mktime: merge mktime-internal.h change from gnulib
4469 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4470
2554247d
PE
4471 mktime: merge time_r change from gnulib
4472 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4473
826dd0ab
PE
4474 mktime: merge DEBUG change from gnulib
4475 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4476 case system <time.h> has a #define.
4477
bd83aabe
PE
4478 mktime: merge <sys/types.h> change from gnulib
4479 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4480 since <time.t> is now guaranteed to define time_t.
4481
95770f14
PE
4482 mktime: merge HAVE_CONFIG_H change from gnulib
4483 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4484
5e1a27a9
L
44852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4486
0e44a77e
L
4487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4488 Use "neg %eax".
4489
5e1a27a9
L
4490 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4491 __rlim_t cast.
4492 (struct rusage): Use anonymous union to pad each field to
4493 __syscall_slong_t.
4494
46259bec
DM
44952012-05-21 David S. Miller <davem@davemloft.net>
4496
4497 * Makefules (o-iterator): Remove .s cases.
4498 (compile-command.s): Delete.
4499 (COMPILE.s): Delete.
4500 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4501
59f0c22e
JM
45022012-05-21 Joseph Myers <joseph@codesourcery.com>
4503
4504 * configure.in (libc_cv_predef_stack_protector): Only consider
4505 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4506 * configure: Regenerated.
4507
20c07380
L
45082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4509
bbb3154b
L
4510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4511 New macro. Use R*LP on int and pointer.
4512 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4513 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4514 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4515 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4516
20c07380
L
4517 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4518 [__WORDSIZE_TIME64_COMPAT32] instead of
4519 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4520 (struct utmp): Likewise.
4521 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4522 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4523 Renamed to ...
4524 (__WORDSIZE_TIME64_COMPAT32): This.
4525 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4526 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4527 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4528 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4529 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4530 (__WORDSIZE_TIME64_COMPAT32): New macro.
4531
d8d1017e
AJ
45322012-05-21 Andreas Jaeger <aj@suse.de>
4533
4534 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4535 only if [SHARED]. Add prototype for __wcschr_ia32.
4536
6c7fb145
RM
45372012-05-21 Roland McGrath <roland@hack.frob.com>
4538
4539 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4540 of %rbp unmolested in the jmp_buf while mangling the low bits.
4541 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4542 unmolested high bits of %rbp while demangling the low bits.
4543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4544
66274218
AJ
45452012-05-21 Andreas Jaeger <aj@suse.de>
4546
07c58f8f
AJ
4547 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4548 * sunrpc/svc_simple.c: Use it for registerrpc.
4549 * sunrpc/xcrypt.c: Use it for passwd2des.
4550
66274218
AJ
4551 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4552
61f65140
L
45532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4556 Don't define if [__SYSCALL_WORDSIZE != 32].
4557 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4558 New macro.
4559
5fefb436
AJ
45602012-05-21 Bruno Haible <bruno@clisp.org>
4561 Andreas Jaeger <aj@suse.de>
4562
4563 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4564 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4565 inptr and inend for must_buffer_ch.
4566 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4567 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4568 * stdio-common/Makefile (tests): Remove bug15.
4569 (bug15-ENV): Remove macro.
4570 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4571 anymore.
4572
d8e272ab
AJ
45732012-05-19 Andreas Jaeger <aj@suse.de>
4574 Roland McGrath <roland@hack.frob.com>
4575
4576 * manual/contrib.texi: Completely rewritten. It contains now an
4577 alphabetical list of contributors and their contributions.
4578
4a56a162
RH
45792012-05-21 Richard Henderson <rth@twiddle.net>
4580
4581 * misc/getauxval.c (__getauxval): Use unsigned long int.
4582 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4583 (getauxval): Use unsigned long int.
4584
d024d23c
L
45852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4588
cbc00a03
RM
45892012-05-21 Roland McGrath <roland@hack.frob.com>
4590
4591 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4592 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4593 __alignof__ (long double).
4594
478143fa
AZ
45952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4596
4597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4598
c7683a6d
RH
45992012-05-20 Richard Henderson <rth@twiddle.net>
4600
4601 * misc/getauxval.c: New file.
4602 * misc/sys/auxv.h: New file.
4603 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4604 (routines): Add getauxval.
4605 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4606 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4607 * elf/dl-sysdep.c (_dl_auxv): Remove.
4608 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4609 * elf/dl-support.c (_dl_auxv): New variable.
4610 (_dl_aux_init): Initialize it.
4611 * manual/startup.texi (Auxiliary Vector): New node.
4612 * sysdeps/generic/bits/hwcap.h: New file.
4613 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4614 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4615 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4616 * sysdeps/sparc/sysdep.h: ... here. Include it.
4617 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4620 Update.
c7683a6d
RH
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4624 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4629
a6f1845d
AZ
46302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4631
4632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4633
cbcbe830
DM
46342012-05-19 David S. Miller <davem@davemloft.net>
4635
4636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4637
e0b16cc2
JM
46382012-05-19 Joseph Myers <joseph@codesourcery.com>
4639
4640 [BZ #14123]
4641 * math/s_ccosh.c: Include <float.h>
4642 (__ccosh): Avoid internal overflow calculating sinh and cosh
4643 values before multiplying by sin and cos values.
4644 * math/s_ccoshf.c: Likewise.
4645 * math/s_ccoshl.c: Likewise.
4646 * math/s_csin.c: Likewise.
4647 * math/s_csinf.c: Likewise.
4648 * math/s_csinl.c: Likewise.
4649 * math/s_csinh.c: Likewise.
4650 * math/s_csinhf.c: Likewise.
4651 * math/s_csinhl.c: Likewise.
4652 * math/libm-test.inc (ccos_test): Add more tests.
4653 (ccosh_test): Likewise.
4654 (csin_test): Likewise.
4655 (csinh_test): Likewise.
4656 * sysdeps/i386/fpu/libm-test-ulps: Update.
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4658
6ad13e08
L
46592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4660
f66f0ce8
L
4661 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4662 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4663
6ad13e08
L
4664 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4665
b1d072a7
JM
46662012-05-19 Joseph Myers <joseph@codesourcery.com>
4667
4668 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4669 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4670 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4671 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4672 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4673 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4674 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4675 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4676 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4677 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4678 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4679 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4680 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4681 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4682 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4683 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4684 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4685 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4686 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4687 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4688 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4689 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4690 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4691 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4692 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4693 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4694 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4695 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4696 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4697 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4698 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4699
9eae47cb
AJ
47002012-05-18 Andreas Jaeger <aj@suse.de>
4701
4702 * csu/.gitignore: Delete.
4703
bb07f69f
L
47042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4707 (timex): Use __syscall_slong_t.
4708
e6bdb741
AJ
47092012-05-18 Andreas Jaeger <aj@suse.de>
4710 Carlos O'Donell <carlos_odonell@mentor.com>
4711
4712 * manual/install.texi (Configuring and compiling): Update
4713 description about files modified in the source directory.
d6c33fda 4714 * INSTALL: Regenerated.
e6bdb741 4715
1b74487e
L
47162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4717
4718 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4719 value. Use "or" to set return value to -1.
4720 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4721 negate return value.
4722
a88b64b9
TMQMF
47232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4724
4725 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4726 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4727 failure if the compiler has Graphite support disabled.
4728 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4729 Likewise.
4730 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4731 CFLAGS-memmove.c): Likewise.
4732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4733 Likewise.
4734
3707636e
L
47352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4736
610b8622
L
4737 * sysdeps/x86_64/x32/_itoa.h: New file.
4738
7cd195df
L
4739 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4740 getdents system call only if kernel and user dirents have the
4741 same d_ino and d_off.
4742
94b07d20
L
4743 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4744 LLONG_MAX != LONG_MAX.
4745 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4746 (_fitoa_word): Likewise.
4747
18298070
L
4748 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4749 years.
4750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4751 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4752 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4753
553c7ea4
L
4754 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4755 include <bits/wordsize.h>. Check __x86_64__ instead of
4756 __WORDSIZE.
4757 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4758 if __x86_64__ is defined. Use anonymous union on fpstate.
4759
3707636e
L
4760 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4761 anonymous union.
4762
b53ef01a
AS
47632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4764
37fb1dc0
AS
4765 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4766 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4767 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4768 Refer to _rtld_local_ro instead of _rtld_global_ro.
4769 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4770 Likewise.
4771 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4772 Likewise.
4773 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4774 Likewise.
4775 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4776 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4777 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4778
b53ef01a
AS
4779 * sysdeps/powerpc/powerpc32/dl-machine.c
4780 (__elf_machine_runtime_setup) [PROF]: Don't reference
4781 _dl_prof_resolve.
4782
7a185db2
AJ
47832012-05-18 Andreas Jaeger <aj@suse.de>
4784
4785 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4786 function only available for GCCs before 3.4 since GCC 3.4
4787 introduced a builtin.
4788 (lrint): Likewise.
4789 (llrintf): Likewise.
4790 (llrint): Likewise.
4791 (fmaxf): Likewise.
4792 (fmax): Likewise.
4793 (fminf): Likewise.
4794 (fmin): Likewise.
4795 (rint): Likewise.
4796 (rintf): Likewise.
4797 (nearbyint): Likewise.
4798 (nearbyintf): Likewise.
4799 (ceil): Likewise.
4800 (ceilf): Likewise.
4801 (floor): Likewise.
4802 (floorf): Likewise.
4803
3e5aef87
L
48042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4805
428bd707
L
4806 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4807 on both fields and cast pointer to __syscall_ulong_t.
4808
3e5aef87
L
4809 * bits/types.h (__fsword_t): New type.
4810 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4811 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4813 (__FSWORD_T_TYPE): Likewise.
4814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4815 (__FSWORD_T_TYPE): Likewise.
4816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4817 (__FSWORD_T_TYPE): Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4819 (__FSWORD_T_TYPE): Likewise.
4820 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4821 __SWORD_TYPE with __fsword_t.
4822 (statfs64): Likewise.
4823
1ba7c3dc
DM
48242012-05-17 David S. Miller <davem@davemloft.net>
4825
4826 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4827
59910343
AJ
48282012-05-17 Andreas Jaeger <aj@suse.de>
4829
4830 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4831 warning.
4832
2e4c1e9e
L
48332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4834
4835 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4836
de7f5ce7
AJ
48372012-05-17 Andreas Jaeger <aj@suse.de>
4838
4839 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4840 when it is used.
4841
286abc3d
CM
48422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4843
4844 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4845
477cc68e
L
48462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4849 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4850
1a0994f5
CD
48512012-05-17 Andreas Jaeger <aj@suse.de>
4852 Carlos O'Donell <carlos_odonell@mentor.com>
4853
4854 [BZ #14059]
4855 * sysdeps/x86_64/multiarch/init-arch.h
4856 (bit_YMM_Usable): Rename to...
4857 (bit_AVX_Usable): ... this.
4858 (bit_FMA4_Usable): New macro.
4859 (bit_XMM_state): New macro.
4860 (bit_YMM_state): New macro.
4861 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4862 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4863 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4864 (CPUID_OSXSAVE): New macro.
4865 (CPUID_AVX): New macro.
4866 (CPUID_FMA4): New macro.
4867 (index_YMM_Usable): Rename to...
4868 (index_AVX_Usable): ... this.
4869 (HAS_AVX): Use HAS_ARCH_FEATURE.
4870 (HAS_FMA4): Likewise.
4871 (HAS_YMM_USABLE): Remove.
4872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4873 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4874 are present.
4875 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4876 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4877 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4878 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4879 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4880
0af797de
CM
48812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4882
4883 * math/libm-test.c: Support platforms without multiple rounding modes.
4884 * math/bug-nextafter.c: Support platforms without FP exceptions.
4885 * math/bug-nexttoward.c: Likewise.
4886 * math/test-fenv.c: Likewise.
4887 * math/test-misc.c: Likewise.
4888 * stdlib/bug-getcontext.c: Likewise.
4889
e39745ff
AJ
48902012-05-17 Andreas Jaeger <aj@suse.de>
4891
4892 * manual/examples/search.c (critter_cmp): Change signature to
4893 avoid warnings.
4894 * manual/string.texi (Collation Functions): Likewise.
4895
48970aba
L
48962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4897
4898 * bits/types.h: Fold copyright years.
4899 * bits/typesizes.h: Likewise.
4900 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4904 * time/time.h: Likewise.
4905
bedee953
PP
49062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4907
4908 [BZ #208]
4909 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4910 in instead of returning them. Return void.
4911 (__libc_mallinfo): Accumulate over all arenas.
4912 (__malloc_stats): Adjust for change in int_mallinfo interface.
4913
61653dfb
RM
49142012-05-16 Roland McGrath <roland@hack.frob.com>
4915
30b99d79
RM
4916 [BZ #10375]
4917 * configure.in (NM): Add AC_CHECK_TOOL for it.
4918 (libc_extra_cflags): New substituted variable.
4919 Check for -fstack-protector being used implicitly.
4920 * configure: Regenerated.
4921 * config.make.in (config-extra-cflags): New variable,
4922 gets @libc_extra_cflags@.
4923 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4924
61653dfb
RM
4925 [BZ #10375]
4926 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4927 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4928 * configure: Regenerated.
4929 * config.make.in (CPPUNDEFS): New substituted variable.
4930 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4931 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4932 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4933
661768bb
L
49342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4937 (mq_attr): Use __syscall_slong_t.
4938
d4261567
L
49392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4942 Check __x86_64__ instead of __WORDSIZE.
4943 (_STAT_VER_LINUX): Likewise.
4944 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4945 __syscall_ulong_t and __syscall_slong_t.
4946 (stat64): Likewise.
4947
cf3ff365
L
49482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4949
4950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4951
76cf3e4d
L
49522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4953
4954 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4955
a637753a
L
49562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4959 __syscall_ulong_t.
4960
d5e05119
L
4961 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4962 include <bits/wordsize.h>. Check __x86_64__ instead of
4963 __WORDSIZE.
4964 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4965 defined.
4966 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4967
f62ee380
L
4968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4969 include <bits/wordsize.h>. Check __x86_64__ instead of
4970 __WORDSIZE.
4971 (user_regs_struct): Use "__extension__ unsigned long long"
4972 instead of "unsigned long" if __x86_64__ is defined.
4973 (user): Likewise. Pad after pointer field if __ILP32__ is
4974 defined.
4975
4e124ced
JM
49762012-05-16 Joseph Myers <joseph@codesourcery.com>
4977
6a3951a0
JM
4978 * configure.in (makeinfo): Require version 4.5 or later. Allow
4979 versions 5 to 9.
4980 * configure: Regenerated.
4981 * manual/install.texi (texinfo): Increase version requirement to
4982 4.5 or later.
4983 * INSTALL: Regenerated.
4984
4e124ced
JM
4985 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4986
953ca31a
L
49872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4988
4989 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4990
617aca05
L
4991 * sysdeps/x86_64/x32/ffs.c: New file.
4992
5762f7ae
L
4993 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4994 __syscall_ulong_t.
4995 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4996 defined. Use __syscall_ulong_t.
4997 (shminfo): Use __syscall_ulong_t.
4998 (shm_info): Likewise.
4999
a26b6856
L
5000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5001 __syscall_ulong_t.
5002
cb2b9ef7
L
5003 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5004 <bits/wordsize.h>.
5005 (msgqnum_t): Use __syscall_ulong_t.
5006 (msglen_t): Likewise.
5007 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5008 __syscall_ulong_t.
5009
34683bb0
L
5010 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5011 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5012
84a68786
L
5013 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5014
48baa5f1
L
5015 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5016 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5017
180be88b
L
5018 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5019 __syscall_slong_t.
5020
5e90c8ad
L
5021 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5022 include <bits/wordsize.h>. Check __x86_64__ instead of
5023 __WORDSIZE.
5024
23dfb58b
L
5025 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5026 "unsigned long long int" if __x86_64__ is defined.
5027 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5028
ce5d54b0
L
5029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5030 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5031 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5032
13dc9eac
L
5033 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5034 <stdint.h>.
5035 (GET_PC): Cast to uintptr_t first.
5036 (GET_FRAME): Likewise.
5037 (GET_STACK): Likewise.
5038
a7895d15
L
5039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5045 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5047 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5050 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5068
656416c9
AS
50692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5070
5bd66283
AS
5071 * Makerules (+depfiles): Also collect depfiles from .oS in
5072 $(extra-objs).
5073 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5074 .oS, $(libnldbl-routines)).
5075
656416c9
AS
5076 * Makerules (native-compile-mkdep-flags): Define.
5077 * sunrpc/Makefile (extra-objs): Add $(addprefix
5078 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5079 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5080 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5081 calling $(make-target-directory).
5082
a46f2169
L
50832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5084
5085 * bits/types.h (__snseconds_t): Removed.
5086 * time/time.h (struct timespec): Replace __snseconds_t with
5087 __syscall_slong_t.
5088 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5089 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5090 Likewise.
5091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5092 (__SNSECONDS_T_TYPE): Likewise.
5093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5094 (__SNSECONDS_T_TYPE): Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5096 (__SNSECONDS_T_TYPE): Likewise.
5097
6af6528b
L
50982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * sysdeps/mach/hurd/bits/typesizes.h
5101 (__SYSCALL_SLONG_TYPE): New macro.
5102 (__SYSCALL_ULONG_TYPE): Likewise.
5103
de986b56
L
51042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5105
5106 * bits/types.h (__syscall_slong_t): New type.
5107 (__syscall_ulong_t): Likewise.
5108
5109 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5110 (__SYSCALL_ULONG_TYPE): Likewise.
5111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5112 (__SYSCALL_SLONG_TYPE): Likewise.
5113 (__SYSCALL_ULONG_TYPE): Likewise.
5114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5115 (__SYSCALL_SLONG_TYPE): Likewise.
5116 (__SYSCALL_ULONG_TYPE): Likewise.
5117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5118 (__SYSCALL_SLONG_TYPE): Likewise.
5119 (__SYSCALL_ULONG_TYPE): Likewise.
5120
85736dc7
L
51212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5122
5123 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5124 Add sigaltstack-offsets.sym.
5125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5126 <sigaltstack-offsets.h>.
5127 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5128 longjmp_msg pointer.
5129 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5130 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5131 signal stack.
5132 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5133
cc03b296
JM
51342012-05-15 Joseph Myers <joseph@codesourcery.com>
5135
a9538892
JM
5136 * elf/stackguard-macros.h: Remove file.
5137 * sysdeps/generic/stackguard-macros.h: New file.
5138 * sysdeps/i386/stackguard-macros.h: Likewise.
5139 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5140 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5141 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5142 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5143 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5144 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5145 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5146 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5147 <elf/stackguard-macros.h>.
5148
cc03b296
JM
5149 [BZ #14109]
5150 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5151 __aligned__ in attribute.
5152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5153 (gregset_t): Likewise.
5154
93171016
L
51552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5158 * sysdeps/x86_64/64/Implies-after: Here. New file.
5159 * sysdeps/x86_64/x32/Implies-after: New file.
5160
d86813a0
L
51612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5162
5163 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5164 and access return value for _dl_profile_fixup. Use R10_LP to
5165 load frame size.
5166
2953ec75
L
51672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5168
5169 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5170
3b550e9e
L
51712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5174 * sysdeps/x86_64/x32/sysdep.h: New file.
5175
eda41706
L
51762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5179 * sysdeps/x86_64/setjmp.S: Likewise.
5180
9ea01d93
AZ
51812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182
5183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5185 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5187 remove unused global constant.
5188
02a91938
CM
51892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5190
5191 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5192 include of <not-cancel.h>.
5193
6540185f
RM
51942012-05-15 Roland McGrath <roland@hack.frob.com>
5195
5196 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5197
509072a0
AJ
51982012-05-15 Jeff Law <law@redhat.com>
5199 Andreas Jaeger <aj@suse.de>
5200
5201 [BZ #13594]
5202 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5203 out from...
5204 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5205 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5207 code changing __hst_map_handle.map.
5208
ba75122d
RM
52092012-05-15 Roland McGrath <roland@hack.frob.com>
5210
5211 * configure.in (sysnames): Look for Implies-before and Implies-after
5212 files.
5213 * configure: Regenerated.
5214
890d8bd8
L
52152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5216
5217 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5218 8-byte data alignment with LP_SIZE alignment.
5219
f6ee6623
L
52202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5221
5222 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5223 into R10_LP.
5224
ea2626f6
L
52252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5228
085f715e
L
52292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5234 Likewise.
5235 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5236
be8498fc
L
52372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5238
5239 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5240 (stackinfo_sub_sp): Likewise.
5241
70bc83b9
L
52422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5245 RAX_LP.
5246
9bc0b730
L
52472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5248
5249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5250 into R*_LP.
5251
6d2850e7
L
52522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5255 sizes into R*_LP.
5256
3cb84561
L
52572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5258
5259 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5260
54e2ed81
L
52612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5264 into R11_LP and load __x86_64_shared_cache_size_half into
5265 R8_LP.
5266
8a17f349
L
52672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5270 R8_LP.
5271
777b1eea
AZ
52722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5275 logb for POWER7.
5276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5277 logbf for POWER7.
5278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5279 logbl for POWER7.
5280 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5281 powerpc32/power7/fpu/s_logb.c via #include.
5282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5283 powerpc32/power7/fpu/s_logbf.c via #include.
5284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5285 powerpc32/power7/fpu/s_logbl.c via #include.
5286
d20d4ac2
JM
52872012-05-15 Joseph Myers <joseph@codesourcery.com>
5288
5289 * README.libm: Remove file.
5290
6cdef1ab
L
52912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5292
5293 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5294 count for x32. Use R*_LP and omit operand-size suffix.
5295
0b254d8f
L
52962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5297
5298 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5299 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5300 * sysdeps/x86_64/x32/shlib-versions: New file.
5301
ceb809dc
RM
53022012-05-14 Roland McGrath <roland@hack.frob.com>
5303
5304 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5305 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5306 Use _dl_fatal_printf instead.
5307
37f1abd4
JM
53082012-05-14 Joseph Myers <joseph@codesourcery.com>
5309
5310 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5311 set if not set by the user. Do not allow for being unset.
5312 * sysdeps/unix/sysv/linux/configure: Regenerated.
5313
11de3a33
L
53142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5315
5316 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5317 the `q' suffix from lea and replace .quad with ASM_ADDR.
5318
e02f153a
L
53192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5322 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5323 instead of $17.
5324 (PTR_DEMANGLE): Likewise.
5325
520ae0fd
L
53262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5327
5328 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5329 (LP_OP): Likewise.
5330 (ASM_ADDR): Likewise.
5331 (RAX_LP): Likewise.
5332 (RBP_LP): Likewise.
5333 (RBX_LP): Likewise.
5334 (RCX_LP): Likewise.
5335 (RDI_LP): Likewise.
5336 (RSI_LP): Likewise.
5337 (RSP_LP): Likewise.
5338 (R8_LP): Likewise.
5339 (R9_LP): Likewise.
5340 (R10_LP): Likewise.
5341 (R10_LP): Likewise.
5342 (R11_LP): Likewise.
5343 (R12_LP): Likewise.
5344 (R13_LP): Likewise.
5345 (R14_LP): Likewise.
5346 (R15_LP): Likewise.
5347
b985be81
L
53482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5349
5350 * sysdeps/x86_64/x32/dl-machine.h: New file.
5351
6a4888ff
AJ
53522012-05-14 Andreas Jaeger <aj@suse.de>
5353
5354 * manual/Makefile (subdir): Remove export of subdir.
5355 (all): Remove target.
5356 (.PHONY): Remove all from list.
5357 (mkinstalldirs): Remove.
5358 (.PHONY): Remove installdirs from list.
5359 ($(inst_infodir)/libc.info): Use make-target-directory.
5360 (installdirs): Remove.
5361 (subdir_%): Remove.
5362 (glibc-targets): Remove.
5363 (lib): Remove.
5364 (stubs): Remove.
5365 ($(objpfx)stubs ../po/manual.pot): Remove.
5366 ($(objpfx)stamp%): Remove.
5367 (make-target-directory): Remove.
5368 (subdir_install): Remove.
5369 (routines): Remove.
5370 (aux): Remove.
5371 (sources): Remove.
5372 (objects): Remove.
5373 (headers): Remove.
5374
5375 [BZ #13750]
5376 * manual/.gitignore: Remove, it's not needed anymore.
5377 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5378 all files in it.
5379 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5380 directory.
5381 (texis): Renamed to $(objpfx)texis.
5382 (texis-path): New, contains path to generated files.
5383 (chapters.%): Use texis-path for complete path, add extra argument
5384 libc-texinfo.sh.
5385 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5386 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5387 (summary,texi, stamp-summary): Use complete path of
5388 files. Generate files in build dir.
5389 (dir-add.texi): Build in build dir.
5390 (libm-err.texi,stamp-libm-err): Likewise.
5391 (version.texi, stamp-version): Likewise.
5392 (.%c.texi): Likewise.
5393 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5394 (mostlyclean): Remove target.
5395 (realclean): Remove target.
5396 (generated): Add new variable with contents from mostlyclean and
5397 realclean, remove entries duplicated in common-mostlyclean, add
5398 stamp-libm-err and stamp-version.
5399 (generated-dirs): Add libc directory.
5400 ($(inst_infodir)/libc.info): Install files from build dir.
5401
5402 * manual/install.texi (Configuring and compiling): Adjust since
5403 the info files are not part of the tar ball anymore.
5404
7ac77294
AJ
54052012-05-14 Andreas Jaeger <aj@suse.de>
5406
5407 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5408 variable.
5409
ffb7875d
JM
54102012-05-14 Joseph Myers <joseph@codesourcery.com>
5411
5412 [BZ #13717]
5413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5414 to 2.2.0 where earlier.
5415 * sysdeps/unix/sysv/linux/configure: Regenerated.
5416 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5417 Remove conditional code.
5418 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5419 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5420 Remove conditional code.
5421 [!__NR_lchown]: Likewise.
5422 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5423 [__NR_lchown]: Likewise.
5424 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5425 comment referencing __ASSUME_LCHOWN_SYSCALL.
5426 * sysdeps/unix/sysv/linux/i386/sigaction.c
5427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5429 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5430 Remove conditional code.
5431 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5432 (__protocol_available): Remove #if 0 code.
5433 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5434 conditional code.
5435 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5436 * sysdeps/unix/sysv/linux/kernel-features.h
5437 (__ASSUME_GETCWD_SYSCALL): Don't define.
5438 (__ASSUME_REALTIME_SIGNALS): Likewise.
5439 (__ASSUME_PREAD_SYSCALL): Likewise.
5440 (__ASSUME_PWRITE_SYSCALL): Likewise.
5441 (__ASSUME_POLL_SYSCALL): Likewise.
5442 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5443 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5444 non-SPARC.
5445 (__ASSUME_SIOCGIFNAME): Don't define.
5446 (__ASSUME_MSG_NOSIGNAL): Likewise.
5447 (__ASSUME_SENDFILE): Define unconditionally.
5448 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5449 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5450 conditional code.
5451 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5452 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5453 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5454 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5456 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5457 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5459 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5465 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5471 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5474 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5477 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5482 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5483 Remove conditional code.
5484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5485 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5486 Remove conditional code.
5487 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5488 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5489 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5490 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5491 Remove conditional code.
5492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5493 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5494 Remove conditional code.
5495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5496 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5497 Remove conditional code.
5498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5499 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5500 Remove conditional code.
5501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5502 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5503 Remove conditional code.
5504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5505 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5508 * sysdeps/unix/sysv/linux/sigaction.c
5509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5511 * sysdeps/unix/sysv/linux/sigpending.c
5512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5514 * sysdeps/unix/sysv/linux/sigprocmask.c
5515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5517 * sysdeps/unix/sysv/linux/sigsuspend.c
5518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5520 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5521 (__libc_missing_rt_sigs): Remove.
5522 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5523 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5524 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5525 Remove conditional code.
5526 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5527 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5528 return 1.
5529 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5530 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5531 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5532 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5533
1bfb7291
AJ
55342012-05-14 Andreas Jaeger <aj@suse.de>
5535
caae5a81
AJ
5536 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5537 it's not used in glibc.
5538 (__coshm1): Likewise.
5539 (__acosh1p): Likewise.
5540 (__sgn): Likewise.
5541
1bfb7291
AJ
5542 * manual/string.texi (Copying and Concatenation): Add missing
5543 variable in concat example.
5544 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5545
c044d724
L
55462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5547
144c5467 5548 [BZ #14103]
c044d724
L
5549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5550 __builtin_clzl with __builtin_clzll.
5551
2523c62b
L
55522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 [BZ #14104]
5555 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5556 libc_freeres_ptr.
5557
d7bb4c42
LD
55582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5559
5560 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5561 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5562 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5564
9dc4e1fb
MF
55652012-05-14 Mike Frysinger <vapier@gentoo.org>
5566
5567 * NEWS: Update ia64 info.
5568
c7df0112
AS
55692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5572 used as bcopy.
5573
dc70356c
TS
55742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5575
5576 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5577 * sysdeps/unix/syscalls.list (dup3): Likewise.
5578 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5579 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5580
9fb1a21f
L
55812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5584 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5585
4822a2a5
L
55862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5589 thread pointer.
5590 (TLS_IE): Use mov/add instead of movq/addq to load thread
5591 pointer.
5592 (TLS_GD_PREFIX): New.
5593 (TLS_GD): Use it.
5594
842b81d6
DM
55952012-05-11 David S. Miller <davem@davemloft.net>
5596
5597 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5598 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5599 (_FPU_SETCW): Likewise.
5600
1cf463cd
L
56012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5602
5603 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5604 is 32-byte aligned.
5605
60cc4a18
AS
56062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5607
5608 [BZ #11837]
5609 * iconvdata/gb18030.c: Update tables.
5610 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5611 characters specially.
5612 (BODY for TO_LOOP): Add encoding of missing ranges.
5613
febb44a4
TS
56142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5615
5616 [BZ #13673]
5617 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5618 * sysdeps/mach/hurd/dup3.c: Likewise.
5619 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5620 * sysdeps/powerpc/memmove.c:: Likewise.
5621
0a10fb9e
L
56222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5625 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5626
df8a552f
L
56272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 * elf/elf.h (R_X86_64_RELATIVE64): New.
5630 (R_X86_64_NUM): Updated.
5631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5632 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5633 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5634 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5635 tst-quad1pie tst-quad2pie
5636 (modules-names): Add tst-quadmod1 tst-quadmod2.
5637 ($(objpfx)tst-quad1): New dependency.
5638 ($(objpfx)tst-quad2): Likewise.
5639 ($(objpfx)tst-quad1pie): Likewise.
5640 ($(objpfx)tst-quad2pie): Likewise.
5641 * sysdeps/x86_64/tst-quad1.c: New file.
5642 * sysdeps/x86_64/tst-quad1pie.c: New file.
5643 * sysdeps/x86_64/tst-quad2.c: Likewise.
5644 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5645 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5646 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5647 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5648 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5649
f34d6f84
ST
56502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5651
f42d41d1
ST
5652 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5653 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5654 * streams/stropts.h (t_scalar_t): Define type.
5655
3c3571fc
ST
5656 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5657 (_PATH_PRESERVE): Set to "/var/lib".
5658 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5659
61f06bd3
ST
5660 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5661 instead of int.
5662
918d4d71
ST
5663 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5664 if __dir_mkfile succeeded.
5665
f34d6f84
ST
5666 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5667 checking for _hurd_dtablesize. Unlock it right after having
5668 finished _hurd_dtable allocation.
5669
10589b4a
TS
56702012-05-10 Thomas Schwinge <thomas@schwinge.name>
5671
674cdbc7
TS
5672 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5673 * sysdeps/mach/hurd/configure: Regenerated.
5674 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5675 special-casing to...
5676 * sysdeps/gnu/configure.in: ... this new file.
5677 * sysdeps/unix/sysv/linux/configure: Regenerated.
5678 * sysdeps/gnu/configure: New generated file.
5679
8e41b99f
TS
5680 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5681 for Linux: use nsec instead of usec, as well as:
5682 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5683 members of type struct timespec.
5684 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5685 New macros.
5686 (struct stat64): Likewise.
5687 (_STATBUF_ST_NSEC): New macro.
5688 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5689
10589b4a
TS
5690 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5691 __strtoul_internal rather than strtoul.
5692
63643c85
PT
56932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5694
5695 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5696 and reject them.
5697
3faebe6a
ST
56982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5699
5700 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5701 which preserves existing values.
5702 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5703
c6474b07
PT
57042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5705
5706 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5707 TIMEOUT values. Return EINVAL for NFDS values either negative or
5708 greater than FD_SETSIZE.
5709
1043890b
ST
57102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5711
5712 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5713 allocated, call __vm_protect to finish enabling the existing space, and
5714 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5715 allocate the remainder.
5716
37ed8b9b
PT
57172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5718
5719 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5720 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5721
db653660
ST
57222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5723
37ed8b9b
PT
5724 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5725 sysdeps/mach/hurd/readlink.c.
b29d4053 5726
db653660
ST
5727 * posix/tst-sysconf.c (posix_options): Only use
5728 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5729 _POSIX_SYNCHRONIZED_IO when they are defined
5730 * sysdeps/mach/hurd/bits/posix_opt.h:
5731 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5732 (_XOPEN_REALTIME): Undefine macro.
5733 (_XOPEN_REALTIME_THREADS): Undefine macro.
5734 (_XOPEN_SHM): Undefine macro.
5735 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5736 macro to -1.
5737 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5738 macro to -1.
5739 (_POSIX_ASYNC_IO): Undefine macro.
5740 (_POSIX_PRIORITIZED_IO): Undefine macro.
5741 (_POSIX_SPIN_LOCKS): Define macro to -1.
5742
ee16e894
ST
5743 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5744 SA_NODEFER, SA_RESETHAND.
5745 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5746 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5747 F_DUPFD_CLOEXEC.
5748
6103ae3b
TS
57492012-05-10 Thomas Schwinge <thomas@schwinge.name>
5750
5751 * elf/Makefile (pldd-modules): Define unconditionally.
5752
80b4e5f3
TS
57532012-05-10 Thomas Schwinge <thomas@schwinge.name>
5754
5755 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5756
edadcbd6
ST
57572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5758
5759 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5760 Return ENOENT when name is empty.
5761 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5762
80694780
TS
57632012-05-10 Thomas Schwinge <thomas@schwinge.name>
5764
1792c087
TS
5765 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5766
80694780
TS
5767 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5768
6b645f0d
ST
57692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5770
80694780
TS
5771 Fix mlock in all cases except non-readable pages.
5772 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5773 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5774
6b645f0d
ST
5775 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5776 (__mkdir): When path is `/', just fail with EEXIST.
5777 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5778
e468f8a3
TS
57792012-05-10 Thomas Schwinge <thomas@schwinge.name>
5780
5781 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5782 <sys/uio.h> (for writev).
5783 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5784 and <sys/param.h> (for MIN).
5785
a4186cff
PT
57862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5787
5788 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5789 REQUESTED_TIME. Properly set the remaining time and return EINTR
5790 if interrupted.
5791
510bbf14
TS
57922012-05-10 Thomas Schwinge <thomas@schwinge.name>
5793
5794 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5795 Depend on against $(link-rpcuserlibs).
5796
5d5722e8
ST
57972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5798
a4186cff
PT
5799 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5800 (__libc_stack_end): Do not use attribute_relro.
5801 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5802 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5803 to libthread-provided value.
a4186cff
PT
5804 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5805 attribute_relro.
5d5722e8 5806
37233df9
TS
58072012-05-10 Thomas Schwinge <thomas@schwinge.name>
5808
be971a2b
TS
5809 [BZ #3748]
5810 * bits/libc-lock.h (__libc_once_get): New macro.
5811 * sysdeps/mach/bits/libc-lock.h: Likewise.
5812 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5814 instead of using implementation details.
5815
37233df9
TS
5816 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5817 * libio/freopen.c: Likewise.
5818 * libio/freopen64.c: Likewise.
5819 * misc/syslog.c: Likewise.
5820 * nscd/connections.c: Likewise.
5821 * nscd/netgroupcache.c: Likewise.
5822 * sysdeps/posix/getcwd.c: Likewise.
5823
38de94a5
RM
58242012-05-10 Roland McGrath <roland@hack.frob.com>
5825
5826 * math/w_ilogbf.c: Add #include <limits.h>.
5827
67530489
ST
58282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5829
a4186cff 5830 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5831 path instead of returning without unlocking.
5832
67530489
ST
5833 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5834 immediate-write ioctls.
5835 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5836
5aa3a74a
TS
58372012-05-10 Thomas Schwinge <thomas@schwinge.name>
5838
18bad2ae
TS
5839 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5840 __builtin_frame_address instead of making assumptions about the
5841 location of the return address relative to DATA. Force early load of
5842 the return address.
5843 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5844 __builtin_frame_address.
5845
5aa3a74a
TS
5846 dup3 for GNU Hurd.
5847 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5848 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5849 implement dup3 and do some further code clean-ups.
5850 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5851 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5852
ecd0de9a
ST
58532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5854
cd9fa985
ST
5855 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5856
a4186cff
PT
5857 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5858 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5859 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5860 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5861 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5862 d->port.lock.
802ca5a5 5863
a4186cff
PT
5864 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5865 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5866 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5867
bcf55240
TS
58682012-05-10 Thomas Schwinge <thomas@schwinge.name>
5869
6960eb42
TS
5870 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5871 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5872 definitions.
5873
eb43375f
TS
5874 accept4 for GNU Hurd.
5875 * include/sys/socket.h (__libc_accept4): New prototype.
5876 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5877 to implement __libc_accept4.
5878 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5879 __libc_accept4.
5880 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5881
bcf55240
TS
5882 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5883 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5884 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5885 signal-defines.sym.
5886
6178c55b
ST
58872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5888
a4186cff 5889 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5890
6f080c2f
TS
58912012-05-10 Thomas Schwinge <thomas@schwinge.name>
5892
5893 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5894 assertion on O_CLOEXEC flag.
5895 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5896 * hurd/intern-fd.c: Likewise.
5897 * hurd/port2fd.c: Likewise.
5898
bcfe3a54
ST
58992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5900
5901 [BZ #3906]
5902 * bits/in.h (IPV6_PKTINFO): Define new macro.
5903 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5904
89c9aa49
AZ
59052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 [BZ #13954]
5908 [BZ #13955]
5909 [BZ #13956]
5910 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5912 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5915 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5916 * math/libm-test.inc (logb_test) : Additional logb tests.
5917
021db4be
AJ
59182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5919 Andreas Jaeger <aj@suse.de>
5920
5921 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5922 * configure: Regenerated.
5923 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5924 * config.make.in (link-obsolete-rpc): New substituted variable.
5925 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5926 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5927 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5928 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5929 so that libc.a contains the symbols.
5930 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5931 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5932 * sunrpc/auth_none.c: Likewise.
5933 * sunrpc/auth_unix.c: Likewise.
5934 * sunrpc/authdes_prot.c: Likewise.
5935 * sunrpc/authuxprot.c: Likewise.
5936 * sunrpc/clnt_gen.c: Likewise.
5937 * sunrpc/clnt_perr.c: Likewise.
5938 * sunrpc/clnt_raw.c: Likewise.
5939 * sunrpc/clnt_simp.c: Likewise.
5940 * sunrpc/clnt_tcp.c: Likewise.
5941 * sunrpc/clnt_udp.c: Likewise.
5942 * sunrpc/clnt_unix.c: Likewise.
5943 * sunrpc/des_crypt.c: Likewise.
5944 * sunrpc/des_soft.c: Likewise.
5945 * sunrpc/get_myaddr.c: Likewise.
5946 * sunrpc/key_call.c: Likewise.
5947 * sunrpc/key_prot.c: Likewise.
5948 * sunrpc/netname.c: Likewise.
5949 * sunrpc/pm_getmaps.c: Likewise.
5950 * sunrpc/pm_getport.c: Likewise.
5951 * sunrpc/pmap_clnt.c: Likewise.
5952 * sunrpc/pmap_prot.c: Likewise.
5953 * sunrpc/pmap_prot2.c: Likewise.
5954 * sunrpc/pmap_rmt.c: Likewise.
5955 * sunrpc/publickey.c: Likewise.
5956 * sunrpc/rpc_cmsg.c: Likewise.
5957 * sunrpc/rpc_common.c: Likewise.
5958 * sunrpc/rpc_dtable.c: Likewise.
5959 * sunrpc/rpc_prot.c: Likewise.
5960 * sunrpc/rpc_thread.c: Likewise.
5961 * sunrpc/rtime.c: Likewise.
5962 * sunrpc/svc.c: Likewise.
5963 * sunrpc/svc_auth.c: Likewise.
5964 * sunrpc/svc_raw.c: Likewise.
5965 * sunrpc/svc_run.c: Likewise.
5966 * sunrpc/svc_tcp.c: Likewise.
5967 * sunrpc/svc_udp.c: Likewise.
5968 * sunrpc/svc_unix.c: Likewise.
5969 * sunrpc/svcauth_des.c: Likewise.
5970 * sunrpc/xcrypt.c: Likewise.
5971 * sunrpc/xdr.c: Likewise.
5972 * sunrpc/xdr_array.c: Likewise.
5973 * sunrpc/xdr_float.c: Likewise.
5974 * sunrpc/xdr_intXX_t.c: Likewise.
5975 * sunrpc/xdr_mem.c: Likewise.
5976 * sunrpc/xdr_rec.c: Likewise.
5977 * sunrpc/xdr_ref.c: Likewise.
5978 * sunrpc/xdr_sizeof.c: Likewise.
5979 * sunrpc/xdr_stdio.c: Likewise.
5980
b5c086a2
RM
59812012-05-10 Roland McGrath <roland@hack.frob.com>
5982
5983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5984 change. Update copyright years.
5985
6d74dd09
JM
59862012-05-10 Joseph Myers <joseph@codesourcery.com>
5987
5988 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5989
28e72501
MK
59902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5991 Joseph Myers <joseph@codesourcery.com>
5992 Paul Pluzhnikov <ppluzhnikov@google.com>
5993
5994 [BZ #14012]
5995 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5996 requiring rpcgen.
5997 [cross-compiling] (extra-libs): Likewise.
5998 [cross-compiling] (extra-libs-others): Likewise.
5999 [cross-compiling] (librpcsvc-routines): Likewise.
6000 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6001 [cross-compiling] (omit-deps): Likewise.
6002 (sunrpc-CPPFLAGS): New variable.
6003 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6004 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6005 (cross-rpcgen-objs): New variable.
6006 (extra-objs): Append $(cross-rpcgen-objs).
6007 ($(cross-rpcgen-objs)): New rule.
6008 ($(objpfx)cross-rpcgen): Likewise.
6009 (rpcgen-cmd): Define to use $(built-program-file). Expand
6010 comment.
6011 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6012 ($(objpfx)x%.stmp): Likewise.
6013 * sunrpc/proto.h [IS_IN_build] (_): Define.
6014 [IS_IN_build] (_libc_intl_domainname): Likewise.
6015
c8c59454
L
60162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6017
6018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6019 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6020 and R_X86_64_TPOFF64.
6021
6f27cd16
JM
60222012-05-10 Joseph Myers <joseph@codesourcery.com>
6023
6024 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6025 sysdeps/unix/sysv/syscalls.list.
6026 (stime): Likewise.
6027 (utime): Likewise.
6028 * sysdeps/unix/sysv/syscalls.list: Remove file.
6029
02467e1c
PE
60302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6031
6032 [BZ #3440]
6033 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6034 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6035 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6036 (__LC_IDENTIFICATION): Make these macros useful in #if
6037 expressions, as required by C99.
6038
da392631
AS
60392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6040
6041 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6042 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6043 after this.
6044
8115f29b
L
60452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6046
6047 * stdlib/longlong.h: Updated from GCC.
6048
bdd74070
AJ
60492012-05-09 Andreas Jaeger <aj@suse.de>
6050
edfe0dbe
AJ
6051 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6052 default is first entry.
6053 (run_mode): Set type.
6054 (main): Remove informal message about syslog.
6055 (options): Fix typo.
6056
bcfe3a54
ST
6057 [BZ #14053]
6058 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6059 to asm.
bcfe3a54
ST
6060 (lrint): Likewise.
6061 (llrintf): Likewise.
6062 (llrint): Likewise.
6063 (rint): Likewise.
6064 (rintf): Likewise.
6065 (nearbyint): Likewise.
6066 (nearbyintf): Likewise.
bdd74070 6067
91d8d69e
AJ
60682012-05-09 Andreas Jaeger <aj@suse.de>
6069 Pedro Alves <palves@redhat.com>
6070
6071 * nscd/nscd.c (run_mode): Use enum.
6072 (main): Cleanup coding style issue.
6073
bb90b80b
AJ
60742012-05-09 Alexandre Oliva <aoliva@redhat.com>
6075 Andreas Jaeger <aj@suse.de>
6076
bcfe3a54
ST
6077 * nscd/nscd.c (go_background): Replaced with...
6078 (run_mode): ... this.
bb90b80b 6079 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6080 (options): Add -F --foreground.
6081 (main): Implement it.
6082 (parse_opt): Parse it.
bb90b80b 6083
1a4b75a1
AJ
60842012-05-09 Andreas Jaeger <aj@suse.de>
6085
6086 [BZ #14083]
6087 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6088 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6089 -Wconversion warning.
6090 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6091 Likewise.
6092
b1cc2472
JM
60932012-05-09 Joseph Myers <joseph@codesourcery.com>
6094
6095 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6096 == 0.
6097 (LC_ALL): Use macro-int-constant.
6098 (LC_COLLATE): Likewise.
6099 (LC_CTYPE): Likewise.
6100 (LC_MESSAGES): Likewise.
6101 (LC_MONETARY): Likewise.
6102 (LC_NUMERIC): Likewise.
6103 (LC_TIME): Likewise.
6104 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6105 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6107 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6108 Specify type.
6109 [C99-based standards] (float_t): Expect type.
6110 [C99-based standards] (double_t): Expect type.
6111 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6112 type.
6113 [C99-based standards] (HUGE_VALL): Likewise.
6114 [C99-based standards] (INFINITY): Likewise.
6115 [C99-based standards] (NAN): Likewise.
6116 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6117 [C99-based standards] (FP_NAN): Likewise.
6118 [C99-based standards] (FP_NORMAL): Likewise.
6119 [C99-based standards] (FP_SUBNORMAL): Likewise.
6120 [C99-based standards] (FP_ZERO): Likewise.
6121 [C99-based standards] (FP_FAST_FMA): Use
6122 optional-macro-int-constant. Specify type. Require == 1.
6123 [C99-based standards] (FP_FAST_FMAF): Likewise.
6124 [C99-based standards] (FP_FAST_FMAL): Likewise.
6125 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6126 [C99-based standards] (FP_ILOGBNAN): Likewise.
6127 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6128 Specify type.
6129 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6130 [C99-based standards] (math_errhandling): Specify type.
6131 [ISO99 || ISO11] (signgam): Do not allow.
6132 [non-C99-based standards] (copysignf): Do not allow.
6133 [non-C99-based standards] (exp2f): Likewise.
6134 [non-C99-based standards] (log2f): Likewise.
6135 [non-C99-based standards] (modff): Allow.
6136 [non-C99-based standards] (erff): Do not allow.
6137 [non-C99-based standards] (erfcf): Likewise.
6138 [non-C99-based standards] (gammaf): Likewise.
6139 [non-C99-based standards] (hypotf): Likewise.
6140 [non-C99-based standards] (j0f): Likewise.
6141 [non-C99-based standards] (j1f): Likewise.
6142 [non-C99-based standards] (jnf): Likewise.
6143 [non-C99-based standards] (lgammaf): Likewise.
6144 [non-C99-based standards] (tgammaf): Likewise.
6145 [non-C99-based standards] (y0f): Likewise.
6146 [non-C99-based standards] (y1f): Likewise.
6147 [non-C99-based standards] (ynf): Likewise.
6148 [non-C99-based standards] (isnanf): Likewise.
6149 [non-C99-based standards] (acoshf): Likewise.
6150 [non-C99-based standards] (asinhf): Likewise.
6151 [non-C99-based standards] (atanhf): Likewise.
6152 [non-C99-based standards] (cbrtf): Likewise.
6153 [non-C99-based standards] (expm1f): Likewise.
6154 [non-C99-based standards] (ilogbf): Likewise.
6155 [non-C99-based standards] (log1pf): Likewise.
6156 [non-C99-based standards] (logbf): Likewise.
6157 [non-C99-based standards] (nextafterf): Likewise.
6158 [non-C99-based standards] (remainderf): Likewise.
6159 [non-C99-based standards] (rintf): Likewise.
6160 [non-C99-based standards] (scalbf): Likewise.
6161 [non-C99-based standards] (copysignl): Likewise.
6162 [non-C99-based standards] (exp2l): Likewise.
6163 [non-C99-based standards] (log2l): Likewise.
6164 [non-C99-based standards] (modfl): Allow.
6165 [non-C99-based standards] (erfl): Do not allow.
6166 [non-C99-based standards] (erfcl): Likewise.
6167 [non-C99-based standards] (gammal): Likewise.
6168 [non-C99-based standards] (hypotl): Likewise.
6169 [non-C99-based standards] (j0l): Likewise.
6170 [non-C99-based standards] (j1l): Likewise.
6171 [non-C99-based standards] (jnl): Likewise.
6172 [non-C99-based standards] (lgammal): Likewise.
6173 [non-C99-based standards] (tgammal): Likewise.
6174 [non-C99-based standards] (y0l): Likewise.
6175 [non-C99-based standards] (y1l): Likewise.
6176 [non-C99-based standards] (ynl): Likewise.
6177 [non-C99-based standards] (isnanl): Likewise.
6178 [non-C99-based standards] (acoshl): Likewise.
6179 [non-C99-based standards] (asinhl): Likewise.
6180 [non-C99-based standards] (atanhl): Likewise.
6181 [non-C99-based standards] (cbrtl): Likewise.
6182 [non-C99-based standards] (expm1l): Likewise.
6183 [non-C99-based standards] (ilogbl): Likewise.
6184 [non-C99-based standards] (log1pl): Likewise.
6185 [non-C99-based standards] (logbl): Likewise.
6186 [non-C99-based standards] (nextafterl): Likewise.
6187 [non-C99-based standards] (remainderl): Likewise.
6188 [non-C99-based standards] (rintl): Likewise.
6189 [non-C99-based standards] (scalbl): Likewise.
6190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6191 [non-C99-based standards] (FP_*): Do not allow.
6192 [C99-based standards] (FP_*): Change to
6193 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6194 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6195 allow.
6196 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6197 (SIG_ERR): Likewise.
6198 [X/Open-based standards] (SIG_HOLD): Likewise.
6199 (SIG_IGN): Likewise.
6200 (SIGABRT): Use macro-int-constant. Specify type. Require
6201 positive value.
6202 (SIGFPE): Likewise.
6203 (SIGILL): Likewise.
6204 (SIGINT): Likewise.
6205 (SIGSEGV): Likewise.
6206 (SIGTER): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6225 [X/Open-based standards] (SIGTRAP): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6227 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6228 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6229 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6230 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6231 allow.
6232
b9f1922d
IW
62332012-05-08 Ian Wienand <ianw@vmware.com>
6234
6235 [BZ #14080]
6236 * time/tzset.c (__tzset_parse_tz): Update default rules for
6237 daylight time changes in the Energy Policy Act of 2005.
6238
1db86e88
AJ
62392012-05-09 Andreas Jaeger <aj@suse.de>
6240
6241 [BZ #13983]
6242 * elf/ldconfig.c (parse_conf): Change string to make clear that
6243 ldconfig only issued a warning if ld.so.conf does not exist.
6244
dee4a4e3
DM
62452012-05-08 David S. Miller <davem@davemloft.net>
6246
ee0db190
DM
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6248 movxtod instead of popping the value on the stack.
6249
dee4a4e3
DM
6250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6251
6a43ec98
CD
62522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6253
6254 * config.h.in: Add HAVE_ARM_PCS_VFP.
6255
05c2c961
RMG
62562012-05-08 Roland Mc Grath <roland@hack.frob.com>
6257
bcfe3a54
ST
6258 [BZ #13979]
6259 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6260 checking but the checks are disabled for any reason.
05c2c961 6261
4b30f61a
L
62622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6265 and ELF64_R_TYPE with ELFW(R_TYPE).
6266
eee2bc67
JM
62672012-05-08 Joseph Myers <joseph@codesourcery.com>
6268
7ea5391a
JM
6269 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6270 (ulimit): Likewise.
6271
eee2bc67
JM
6272 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6273 (settimeofday): Likewise.
6274
abb66a67
MF
62752012-05-08 Mike Frysinger <vapier@gentoo.org>
6276
6277 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6278 a struct th_u2 inside the union, and move tu_block/tu_code into
6279 a new th_u3 union of tu_block/tu_code inside of that. Move
6280 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6281 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6282 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6283 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6284 (th_stuff): Change to th_u1.tu_stuff.
6285 (th_data): Define.
6286 (th_msg): Change to th_u1.th_u2.tu_data.
6287
7f18b530
DM
62882012-05-07 David S. Miller <davem@davemloft.net>
6289
05760585
DM
6290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6291
7f18b530
DM
6292 [BZ #14074]
6293 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6294 (SETUP_PIC_REG): Use it.
6295 (SETUP_PIC_REG_LEAF): Use it.
6296
495fd99f
JM
62972012-05-07 Joseph Myers <joseph@codesourcery.com>
6298
6299 [BZ #13885]
6300 [BZ #13923]
6301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6302 USE_AS_EXPM1L.
6303 (EXPL_FINITE): Likewise.
6304 (FLDLOG): Likewise.
6305 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6306 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6307 e_expl.S.
6308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6309 USE_AS_EXPM1L.
6310 (EXPL_FINITE): Likewise.
6311 (FLDLOG): Likewise.
6312 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6313 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6314 e_expl.S.
6315 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6316 test of -max_value argument for long double.
6317 * sysdeps/i386/fpu/libm-test-ulps: Update.
6318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319
6693d694
DM
63202012-05-06 David S. Miller <davem@davemloft.net>
6321
6322 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6323 quad soft-float symbols whose references which are compiler
6324 generated.
6325 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6326
6c23e11c
JM
63272012-05-06 Joseph Myers <joseph@codesourcery.com>
6328
d8b82cad
JM
6329 [BZ #13884]
6330 [BZ #13914]
6331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6332 USE_AS_EXP10L.
6333 (EXPL_FINITE): Likewise.
6334 (FLDLOG): Likewise.
6335 (c0): Likewise.
6336 (c1): Likewise.
6337 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6338 Adjust comments for base varying.
6339 (__expl_finite): Change alias to EXPL_FINITE.
6340 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6341 e_expl.S.
6342 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6343 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6345 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6347 USE_AS_EXP10L.
6348 (EXPL_FINITE): Likewise.
6349 (FLDLOG): Likewise.
6350 (c0): Likewise.
6351 (c1): Likewise.
6352 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6353 Adjust comments for base varying.
6354 (__expl_finite): Change alias to EXPL_FINITE.
6355 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6356 tests for bugs.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6358
6c23e11c
JM
6359 [BZ #14064]
6360 * math/libm-test.inc (check_float_internal): Correct ulp
6361 calculation for subnormal expected results.
6362
29ba805c
AJ
63632012-05-06 Andreas Jaeger <aj@suse.de>
6364
6365 * Makeconfig (+math-flags): New, set to -frounding-math.
6366 (+cflags): Add +math-flags so that all of glibc gets compiled with
6367 it.
6368
6369 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6370
7b17aeda
JM
63712012-05-05 Joseph Myers <joseph@codesourcery.com>
6372
5779f134
JM
6373 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6374 Disable one test.
6375
41498f4d
JM
6376 [BZ #13787]
6377 [BZ #13922]
6378 [BZ #14036]
6379 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6380 (__ieee754_expl): Allow for and saturate large arguments.
6381 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6382 (u_threshold): Likewise.
6383 (__exp): Call __ieee754_exp before checking for overflow and
6384 underflow.
6385 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6386 (u_threshold): Likewise.
6387 (__expf): Call __ieee754_expf before checking for overflow and
6388 underflow.
6389 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6390 (u_threshold): Likewise.
6391 (__expl): Call __ieee754_expl before checking for overflow and
6392 underflow.
6393 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6394 (__ieee754_expl): Allow for and saturate large arguments.
6395 * math/libm-test.inc (exp_test): Add another test. Do not allow
6396 missing overflow exception on overflow.
6397 (expm1_test): Do not allow missing overflow exception on overflow.
6398
6698b8bf
JM
6399 * sysdeps/i386/fpu/e_expl.c: Move to ...
6400 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6401 rather than using inline asm.
6402 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6403 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6404 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6405
7b17aeda
JM
6406 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6407 (nice): Likewise.
6408 (poll): Likewise.
6409 (signal): Likewise.
6410 (time): Likewise.
6411 (times): Likewise.
6412
f7c85819
JM
64132012-05-04 Joseph Myers <joseph@codesourcery.com>
6414
6415 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6416 sysdeps/unix/common/syscalls.list.
6417 (fchmod): Likewise.
6418 (fchown): Likewise.
6419 (ftruncate): Likewise.
6420 (getrusage): Likewise.
6421 (gettimeofday): Likewise.
6422 (setpgid): Likewise.
6423 (setregid): Likewise.
6424 (setreuid): Likewise.
6425 (sigaction): Likewise.
6426 (truncate): Likewise.
6427 (vhangup): Likewise.
6428 * sysdeps/unix/common/syscalls.list: Remove file.
6429 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6430 * sysdeps/unix/sysv/linux/Implies: Likewise.
6431
336270d0
L
64322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6436 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6437 Moved to ...
6438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6439 Here.
6440 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6441 to ...
6442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6443 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6444 to ...
6445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6446 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6447 to ...
6448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6449 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6450 to ...
6451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6452 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6453 to ...
6454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6455 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6456 to ...
6457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6458 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6459 to ...
6460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6461 Here.
6462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6463 to ...
6464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6465 Here.
6466 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6467 to ...
6468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6469 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6470 Moved to ...
6471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6472 Here.
6473 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6474 to ...
6475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6476
d128e450
JM
64772012-05-04 Joseph Myers <joseph@codesourcery.com>
6478
fa8ee516
JM
6479 * sysdeps/unix/common/bits/dirent.h: Remove file.
6480 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6481
d128e450
JM
6482 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6483 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6484 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6485 * sysdeps/unix/bsd/isatty.c: Likewise.
6486 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6487 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6488 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6489
ff8faaf0 64902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6491
62881be4 6492 [BZ #13563]
31dc8730
AZ
6493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6494 long double comparison inaccuracies.
6495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6497
6fef930c
AS
64982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6499
6500 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6502
8f203e6c
JM
65032012-05-04 Joseph Myers <joseph@codesourcery.com>
6504
6505 [BZ #14049]
6506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6507 nonzero digits before rounding a hex value.
6508 * stdlib/tst-strtod.c (tests): Add another test.
6509
5197d9c2
AK
65102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6511
6512 * sysdeps/s390/fpu/libm-test-ulps: Update.
6513
f0c1dedf
AJ
65142012-05-03 Andreas Jaeger <aj@suse.de>
6515
6516 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6517 does not get optimized out.
6518 (malloc_opt_barrier): New.
6519
a65ef2ae 65202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6521 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6522
2b942cb7 6523 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6524 intermediate file deletion.
2b942cb7 6525 (generated): Add .symlist files.
a65ef2ae 6526
54b71e02
JM
65272012-05-03 Joseph Myers <joseph@codesourcery.com>
6528
6529 [BZ #13775]
6530 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6531 Redirect under this condition.
6532 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6533 [__USE_GNU] (__dprintf_chk): Not under this condition.
6534 [__USE_GNU] (__vdprintf_chk): Likewise.
6535 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6536 under this condition.
6537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6538 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6539 [__USE_XOPEN2K8] (vdprintf): Likewise.
6540 [__USE_GNU] (__dprintf_chk): Not under this condition.
6541 [__USE_GNU] (__vdprintf_chk): Likewise.
6542 [__USE_GNU] (dprintf): Likewise.
6543 [__USE_GNU] (vdprintf): Likewise.
6544
d3dfcc41
RM
65452012-05-03 Roland McGrath <roland@hack.frob.com>
6546
6547 * elf/Makefile (common-generated): Set this instead of generated for
6548 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6549 $(all-built-dso)-derived lists.
6550
7ac30cc5
AJ
65512012-05-03 Andreas Jaeger <aj@suse.de>
6552
0c51e550
AJ
6553 * sysdeps/i386/fpu/libm-test-ulps: Update.
6554
7ac30cc5
AJ
6555 * FAQ: Removed.
6556 * FAQ.in: Likewise.
6557 * scripts/gen-FAQ.pl: Likewise.
6558 * manual/install.texi (Installation): Point to online location of
6559 FAQ.
6560 * Makefile (files-for-dist): Remove FAQ.
6561 (FAQ): Remove.
6562
d4c2917f
AM
65632012-05-02 Allan McRae <allan@archlinux.org>
6564
6565 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6566 (LDFLAGS-reldepmod5.so): Likewise.
6567 (LDFLAGS-reldep6mod1.so): Likewise.
6568 (LDFLAGS-reldep6mod4.so): Likewise.
6569 (LDFLAGS-reldep8mod3.so): Likewise.
6570 (LDFLAGS-unload4mod1.so): Likewise.
6571 (LDFLAGS-unload4mod2.so): Likewise.
6572 (LDFLAGS-tst-initorder): Likewise.
6573 (LDFLAGS-tst-initordera2.so): Likewise.
6574 (LDFLAGS-tst-initordera3.so): Likewise.
6575 (LDFLAGS-tst-initordera4.so): Likewise.
6576 (LDFLAGS-tst-initorderb2.so): Likewise.
6577 (LDFLAGS-noload): Likewise.
6578 (LDFLAGS-next): Likewise.
6579 (LDFLAGS-order2mod1.so): Likewise.
6580 (LDFLAGS-order2mod2.so): Likewise.
6581 (LDFLAGS-tst-initorder2): Likewise.
6582 (LDFLAGS-tst-initorder2a.so): Likewise.
6583 (LDFLAGS-tst-initorder2b.so): Likewise.
6584 (LDFLAGS-tst-initorder2c.so): Likewise.
6585 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6586
d77f993f
DM
65872012-05-02 David S. Miller <davem@davemloft.net>
6588
6589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6590
171a70b4
PP
65912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6592
6593 [BZ #14055]
6594 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6595
0be196ad
AJ
65962012-05-02 Andreas Jaeger <aj@suse.de>
6597
6598 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6599 since we manipulate rounding mode.
6600 (CPPFLAGS-test-idouble.c): Likewise.
6601 (CPPFLAGS-test-ifloat.c): Likewise.
6602 (CFLAGS-test-ldouble.c): Likewise.
6603 (CFLAGS-test-double.c): Likewise.
6604 (CFLAGS-test-float.c): Likewise.
6605 (CFLAGS-test-misc.c): Likewise.
6606 (CFLAGS-test-test-fenv.c): Likewise.
6607
4f9d04aa
AZ
66082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609
2b942cb7
RM
6610 [BZ #2550]
6611 [BZ #2570]
6612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6613 comparisons to determine direction to adjust input.
4f9d04aa 6614
82a79e7d
RM
66152012-05-01 Roland McGrath <roland@hack.frob.com>
6616
f5a01ca9
RM
6617 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6618 output to the target.
6619
90fe4186
RM
6620 * scripts/localplt.awk: New file.
6621 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6622 (check-localplt-CFLAGS): Variable removed.
6623 ($(all-built-dso:=.jmprel)): New static pattern rule.
6624 (generated): Add those targets.
6625 (localplt-built-dso): New variable.
6626 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6627
6628 * elf/check-localplt.c: File removed.
6629
82397ed6
RM
6630 * scripts/check-execstack.awk: New file.
6631 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6632 (check-execstack-CFLAGS): Variable removed.
6633 ($(objpfx)check-execstack.h): Target removed.
6634 ($(objpfx)execstack-default): New target.
6635 (generated): Add that instead of check-execstack.h.
6636 ($(all-built-dso:=.phdr)): New static pattern rule.
6637 (generated): Add those targets.
6638 * elf/check-execstack.c: File removed.
6639
82a79e7d
RM
6640 * scripts/check-textrel.awk: New file.
6641 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6642 (check-textrel-CFLAGS): Variable removed.
6643 (all-built-dso): Use := to define.o
6644 ($(all-built-dso:=.dyn)): New static pattern rule.
6645 (generated): Add those targets.
6646 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6647 * config.make.in (READELF): New substituted variable.
6648 * elf/check-textrel.c: File removed.
6649
62fde54f 66502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6651
615605c9
JM
6652 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6653 allow.
6654 * conform/data/ctype.h-data [C99-based standards] (isblank):
6655 Expect function.
6656 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6657 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6659 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6660 Specify type. Require positive value.
6661 (EILSEQ): Likewise.
6662 (ERANGE): Likewise.
6663 [ISO || POSIX] (EILSEQ): Do not expect.
6664 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6665 Specify type. Require positive value.
6666 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6669 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6670 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6671 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6672 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6673 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6674 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6675 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6676 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6677 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6678 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6679 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6680 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6681 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6682 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6683 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6684 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6685 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6686 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6687 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6688 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6689 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6690 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6691 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6692 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6693 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6694 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6695 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6696 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6697 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6698 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6699 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6700 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6701 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6702 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6703 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6704 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6705 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6706 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6707 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6708 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6709 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6710 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6711 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6712 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6713 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6714 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6715 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6716 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6717 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6718 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6719 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6720 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6721 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6722 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6723 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6724 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6725 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6726 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6727 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6728 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6729 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6730 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6731 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6732 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6733 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6734 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6735 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6736 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6737 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6738 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6739 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6740 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6741 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6742 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6743 Require >= 2.
6744 (FLT_ROUNDS): Expect as macro, not constant.
6745 (FLT_MANT_DIG): Use macro-int-constant.
6746 (DBL_MANT_DIG): Likewise.
6747 (LDBL_MANT_DIG): Likewise.
6748 (FLT_DIG): Likewise.
6749 (DBL_DIG): Likewise.
6750 (LDBL_DIG): Likewise.
6751 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6752 (DBL_MIN_EXP): Likewise.
6753 (LDBL_MIN_EXP): Likewise.
6754 (FLT_MAX_EXP): Use macro-int-constant.
6755 (DBL_MAX_EXP): Likewise.
6756 (LDBL_MAX_EXP): Likewise.
6757 (FLT_MAX_10_EXP): Likewise.
6758 (DBL_MAX_10_EXP): Likewise.
6759 (LDBL_MAX_10_EXP): Likewise.
6760 (FLT_MAX): Use macro-constant.
6761 (DBL_MAX): Likewise.
6762 (LDBL_MAX): Likewise.
6763 (FLT_EPSILON): Use macro-constant. Give upper bound.
6764 (DBL_EPSILON): Likewise.
6765 (LDBL_EPSILON): Likewise.
6766 (FLT_MIN): Likewise.
6767 (DBL_MIN): Likewise.
6768 (LDBL_MIN): Likewise.
6769 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6770 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6771 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6772 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6773 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6774 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6775 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6776 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6777 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6778 [ISO11] (FLT_TRUE_MIN): Likewise.
6779 [ISO11] (LDBL_TRUE_MIN): Likewise.
6780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6781 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6782 (SCHAR_MIN): Use macro-int-constant. Specify type.
6783 (SCHAR_MAX): Likewise.
6784 (UCHAR_MAX): Likewise.
6785 (CHAR_MIN): Likewise.
6786 (CHAR_MAX): Likewise.
6787 (MB_LEN_MAX): Use macro-int-constant.
6788 (SHRT_MIN): Use macro-int-constant. Specify type.
6789 (SHRT_MAX): Likewise.
6790 (USHRT_MAX): Likewise.
6791 (INT_MAX): Likewise.
6792 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6793 bound negative.
6794 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6795 bound with "U".
6796 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6797 bound with "L".
6798 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6799 bound negative. Suffix upper bound with "L".
6800 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6801 bound with "UL".
6802 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6803 Specify type.
6804 [C99-based standards] (LLONG_MAX): Likewise.
6805 [C99-based standards] (ULLONG_MAX): Likewise.
6806 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6807 == 0.
6808 [ISO11] (max_align_t): Require type.
6809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6810
c9140a62
JM
6811 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6812 from $CFLAGS, without defining away __attribute__ calls.
6813 (checknamespace): Use $CFLAGS_namespace.
6814
9af0bf29
JM
6815 * conform/conformtest.pl (@keywords): Only include C99 keywords
6816 for standards based on C99 or C11.
6817
343222a2
JM
6818 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6819 Disable tests.
6820 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6821 UNIX98]: Likewise.
6822
661f8cf0
JM
6823 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6824 usability of symbols in #if.
6825
ee74b9cb
JM
6826 * conform/conformtest.pl: If macro or constant types start
6827 "promoted:", expect the symbol to be of the following type
6828 promoted by the integer promotions.
62fde54f 6829
aafc49b3
JM
6830 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6831 in one place. Also handle "macro-constant".
6832
fefdf574
JM
6833 * conform/conformtest.pl: Only accept expected macro values with
6834 "==". Parse all "macro" lines in one place.
6835 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6836
f2d922fe
JM
6837 * conform/conformtest.pl: Handle braced types on "constant" lines
6838 instead of handling "typed-constant".
6839 * conform/data/signal.h-data: Use "constant" instead of
6840 "typed-constant".
6841
d22956c9
JM
6842 * conform/conformtest.pl: Handle "optional-" at start of lines in
6843 one place rather than duplicating several cases. Handle each
6844 format of "macro" line with initial "optional-".
6845
028e2e38
JM
6846 * conform/conformtest.pl: Only accept expected constant or
6847 optional-constant values with "==". Parse all "constant" lines in
6848 one place. Parse all "optional-constant" lines in one place.
6849 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6850 * conform/data/fmtmsg.h-data: Likewise.
6851 * conform/data/netinet/in.h-data: Likewise.
6852 * conform/data/tar.h-data: Likewise.
6853 * conform/data/limits.h-data: Use "==" form on "constant" and
6854 "optional-constant" lines.
6855
1b8f2850
JM
6856 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6857 Use -std=c99 for XOPEN2K.
6858 (@knownproblems): Remove.
6859 (newtoken): Don't check %isknown.
6860
a05a144b
JM
6861 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6862 Do not expect macro.
6863 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6875 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6876 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6893 [XPG3] (acosh): Likewise.
6894 [XPG3] (asinh): Likewise.
6895 [XPG3] (atanh): Likewise.
6896 [XPG3] (cbrt): Likewise.
6897 [XPG3] (expm1): Likewise.
6898 [XPG3] (ilogb): Likewise.
6899 [XPG3] (log1p): Likewise.
6900 [XPG3] (logb): Likewise.
6901 [XPG3] (nextafter): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6904 [XPG3] (remainder): Likewise.
6905 [XPG3] (rint): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6913 [UNIX98 || XOPEN2K] (scalb): Expect.
6914 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6915 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6949 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6950 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6951 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6952 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6953 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6954 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6955 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6956 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6957 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6958 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6971 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6972 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6989 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6990 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6992 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6993 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6994 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6995 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6996 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6997 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6998 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6999 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7000 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7001 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7002 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7003 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7004 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7005 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7006 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7007 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7008 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7009 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7010 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7011 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7012 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7013 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7014 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7015 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7016 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7018 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7019 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7020 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7021 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7022 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7023 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7024 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7025 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7027 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7028 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7029 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7030 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7031 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7032 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7033 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7034 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7035 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7036 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7037 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7038 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7039 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7040 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7041 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7042 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7043 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7044 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7045 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7046 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7047 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7048 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7049 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7050 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7051
73c5ebe3
JM
7052 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7053 _XOPEN_SOURCE_EXTENDED for XPG4.
7054
39c33b6c
JM
7055 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7056
62fde54f
JM
7057 * Makeconfig (localtime): Remove variable.
7058 (inst_localtime-file): Likewise.
7059
0741d64c
AS
70602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7063 Update.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7065 Update.
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7067 Update.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7069 Update.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7071 Update.
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7073 Update.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7075 Update.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7077 Update.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7079 Update.
7080
7cb029ee
JM
70812012-05-01 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #2550]
7084 [BZ #2570]
7085 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7086 comparisons to determine direction to adjust input.
7087 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7088 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7090 Likewise.
7091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7092 Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7094 Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7097 Likewise.
7098 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7099 Likewise.
7100 * math/libm-test.inc (nexttoward_test): Add more tests.
7101
412bd966
AS
71022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7103
7104 [BZ #14040]
7105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7106 in version GLIBC_2.1, not GLIBC_2.0.
7107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7108 Likewise.
7109
9568c0c2
JM
71102012-04-30 Joseph Myers <joseph@codesourcery.com>
7111
adfbc8ac
JM
7112 [BZ #13942]
7113 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7114 (1 - x) * (1 + x).
7115 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7116 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7117 * math/libm-test.inc (acos_test): Add more tests.
7118 (asin_test): Likewise.
7119 * sysdeps/i386/fpu/libm-test-ulps: Update.
7120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7121
5ba3cc69
JM
7122 [BZ #14034]
7123 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7124 of square root.
7125 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7127 * math/libm-test.inc (acos_test_tonearest): New function.
7128 (acos_test_towardzero): Likewise.
7129 (acos_test_downward): Likewise.
7130 (acos_test_upward): Likewise.
7131 (asin_test_tonearest): Likewise.
7132 (asin_test_towardzero): Likewise.
7133 (asin_test_downward): Likewise.
7134 (asin_test_upward): Likewise.
7135 (main): Call the new functions.
7136 * sysdeps/i386/fpu/libm-test-ulps: Update.
7137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7138
9568c0c2
JM
7139 [BZ #13884]
7140 [BZ #13924]
7141 * math/e_exp10.c: Include <float.h>.
7142 (__ieee754_exp10): Handle underflow here rather than multiplying
7143 large negative argument by M_LN10.
7144 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7145 of __ieee754_expf.
7146 * math/e_exp10l.c: Include <float.h>.
7147 (__ieee754_exp10l): Handle underflow here rather than multiplying
7148 large negative argument by M_LN10l.
7149 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7150 spurious overflow exception on underflow.
7151
5ac3ea17
MP
71522012-04-29 Marek Polacek <polacek@redhat.com>
7153
7154 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7155 (__fortify_function): New macro.
7156 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7157 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7158 __extern_always_inline.
7159 * libio/bits/stdio2.h: Likewise.
7160 * libio/bits/stdio.h: Likewise.
7161 * string/string.h: Likewise.
7162 * string/bits/string3.h: Likewise.
7163 * include/stdio.h: Likewise.
7164 * stdlib/bits/stdlib.h: Likewise.
7165 * stdlib/stdlib.h: Likewise.
7166 * rt/bits/mqueue2.h: Likewise.
7167 * rt/mqueue.h: Likewise.
7168 * posix/bits/unistd.h: Likewise.
7169 * posix/unistd.h: Likewise.
7170 * io/bits/poll2.h: Likewise.
7171 * io/bits/fcntl2.h: Likewise.
7172 * io/fcntl.h: Likewise.
7173 * io/sys/poll.h: Likewise.
7174 * misc/bits/syslog.h: Likewise.
7175 * misc/bits/syslog-ldbl.h: Likewise.
7176 * misc/sys/syslog.h: Likewise.
7177 * socket/bits/socket2.h: Likewise.
7178 * socket/sys/socket.h: Likewise.
7179 * debug/tst-chk1.c: Likewise.
7180 * wcsmbs/bits/wchar2.h: Likewise.
7181 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7182 * wcsmbs/wchar.h: Likewise.
7183
ecf0ebfb
AJ
71842012-04-29 Andreas Jaeger <aj@suse.de>
7185
7186 * Makerules (tests): Remove enable-check-abi protection.
7187 (check-abi-warn): Remove.
7188 (check-abi-%): Remove check-abi-warn usage.
7189
7190 * configure.in: Remove check-abi configure option.
7191 * configure: Regenerated.
7192 * config.make.in (enable-check-abi): Remove.
7193
6d5c57fa
AS
71942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7195
24c5d07e 7196 [BZ #14033]
ded5180a
AS
7197 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7198 double functions to double *_finite functions.
7199
7e0d315d
AS
7200 [BZ #13941]
7201 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7202 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7203 LDBL_MIN_EXP.
7204 * stdio-common/Makefile (tests): Add tst-sprintf3.
7205 * stdio-common/tst-sprintf3.c: New file.
7206
6d5c57fa
AS
7207 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7208 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7209
0749ff8b
JM
72102012-04-28 Joseph Myers <joseph@codesourcery.com>
7211
7212 * conform/conformtest.pl: Remove duplicate typed-constant
7213 handling.
7214
8dbd5d7b
DM
72152012-04-28 David S. Miller <davem@davemloft.net>
7216
7217 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7218 (check-abi-%): Remove AWK script prerequisite and explicit
7219 abilist directory.
7220 (check-abi): Rewrite to just diff the symlist with the abilist.
7221 (config-tls, config-abi-config): Delete, no longer used.
7222 (update-abi-%): Remove AWK script and explicit abilist directory.
7223 (update-abi): Rewrite to simply compare and conditionally copy the
7224 symlist and the sysdep abilist file. Remove update-abi-config
7225 checks.
7226 * abilist/ld.abilist: Remove.
7227 * abilist/libBrokenLocale.abilist: Remove.
7228 * abilist/libanl.abilist: Remove.
7229 * abilist/libcrypt.abilist: Remove.
7230 * abilist/libdl.abilist: Remove.
7231 * abilist/librt.abilist: Remove.
7232 * abilist/libthread_db.abilist: Remove.
7233 * abilist/libutil.abilist: Remove.
7234 * scripts/extract-abilist.awk: Remove.
7235 * scripts/merge-abilist.awk: Remove.
7236 * sysdeps/generic/libcidn.abilist: New file.
7237 * sysdeps/generic/libnss_compat.abilist: New file.
7238 * sysdeps/generic/libnss_db.abilist: New file.
7239 * sysdeps/generic/libnss_dns.abilist: New file.
7240 * sysdeps/generic/libnss_files.abilist: New file.
7241 * sysdeps/generic/libnss_hesiod.abilist: New file.
7242 * sysdeps/generic/libnss_nis.abilist: New file.
7243 * sysdeps/generic/libnss_nisplus.abilist: New file.
7244 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7245 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7246 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7247 file.
7248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7249 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7250 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7251 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7252 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7253 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7254 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7255 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7256 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7257 file.
7258 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7259 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7260 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7261 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7262 file.
7263 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7264 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7266 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7267 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7268 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7269 file.
7270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7271 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7272 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7273 file.
7274 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7276 New file.
7277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7278 New file.
7279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7280 New file.
7281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7282 New file.
7283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7284 New file.
7285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7286 New file.
7287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7288 New file.
7289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7290 New file.
7291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7292 New file.
7293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7294 New file.
7295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7296 New file.
7297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7298 New file.
7299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7300 New file.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7302 file.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7304 New file.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7306 New file.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7308 file.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7310 New file.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7312 New file.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7314 file.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7316 New file.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7318 New file.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7320 New file.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7322 New file.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7324 New file.
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7326 New file.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7329 file.
7330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7331 New file.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7333 file.
7334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7335 file.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7337 file.
7338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7339 file.
7340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7341 file.
7342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7343 New file.
7344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7345 file.
7346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7347 file.
7348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7349 New file.
7350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7351 file.
7352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7354 file.
7355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7356 New file.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7358 file.
7359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7360 file.
7361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7362 file.
7363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7364 file.
7365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7366 file.
7367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7368 New file.
7369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7370 file.
7371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7372 file.
7373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7374 New file.
7375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7376 file.
7377 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7378 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7379 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7380 file.
7381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7382 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7383 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7384 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7385 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7386 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7387 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7388 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7389 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7390 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7393 file.
7394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7395 New file.
7396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7397 file.
7398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7399 file.
7400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7401 file.
7402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7403 file.
7404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7405 file.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7407 New file.
7408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7409 New file.
7410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7411 file.
7412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7413 New file.
7414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7415 file.
7416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7418 file.
7419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7420 New file.
7421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7422 file.
7423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7424 file.
7425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7426 file.
7427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7428 file.
7429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7430 file.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7432 New file.
7433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7434 New file.
7435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7436 file.
7437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7438 New file.
7439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7440 file.
7441
41d73a1b
JM
74422012-04-28 Joseph Myers <joseph@codesourcery.com>
7443
7444 * conform/conformtest.pl: Fix typo in handling typed-constant from
7445 allow-header.
7446
28aeeda4
JM
74472012-04-27 Joseph Myers <joseph@codesourcery.com>
7448
adae8f5e
JM
7449 * README: Cut down references to pre-2.6 Linux kernels and
7450 Linuxthreads. Update lists of configurations in libc and ports
7451 and sort alphabetically. Say "or newer" with Linux kernel version
7452 requirements.
7453
28aeeda4
JM
7454 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7455
a462cb63
RA
74562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7457
7458 [BZ #887]
7459 * math/libm-test.inc (logb_test_downward): New test to expose
7460 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7461 rounding mode.
7462
6ad3493e
JM
74632012-04-27 Joseph Myers <joseph@codesourcery.com>
7464
7465 [BZ #14027]
7466 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7467 to be done.
7468 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7469 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7470
2ce4f015
JM
74712012-04-26 Joseph Myers <joseph@codesourcery.com>
7472
5aeb141a
JM
7473 * sysdeps/unix/i386/brk.S: Remove file.
7474 * sysdeps/unix/i386/dl-brk.S: Likewise.
7475 * sysdeps/unix/i386/pipe.S: Likewise.
7476 * sysdeps/unix/i386/sigreturn.S: Likewise.
7477 * sysdeps/unix/i386/syscall.S: Likewise.
7478 * sysdeps/unix/i386/vfork.S: Likewise.
7479 * sysdeps/unix/i386/wait.S: Likewise.
7480
7143acae
JM
7481 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7482 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7483
2ce4f015
JM
7484 * configure.in (arm*-none*): Do not allow without
7485 --enable-hacker-mode.
7486 (netbsd*): Remove case setting base_os.
7487 (386bsd*): Likewise.
7488 (freebsd*): Likewise.
7489 (bsdi*): Likewise.
7490 (osf*): Likewise.
7491 (sunos*): Likewise.
7492 (ultrix*): Likewise.
7493 (newsos*): Likewise.
7494 (dynix*): Likewise.
7495 (*bsd*): Likewise.
7496 (sysv*): Likewise.
7497 (isc*): Likewise.
7498 (esix*): Likewise.
7499 (sco*): Likewise.
7500 (minix*): Likewise.
7501 (irix4*): Likewise.
7502 (irix6*): Likewise.
7503 (solaris[2-9]*): Likewise.
7504 (none): Likewise.
7505 * configure: Regenerated.
7506
0ac229c8
AZ
75072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508
7509 [BZ #11521]
7510 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7511 overflow or cancellation in calculating denominator.
7512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7514 down expression to avoid unexpected rounding in newer GCCs.
7515 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7516
33f244f4
DM
75172012-04-26 David S. Miller <davem@davemloft.net>
7518
7519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7520 long-double compat symbols.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7534
cfa1f3e8
DM
75352012-04-25 David S. Miller <davem@davemloft.net>
7536
7537 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7538 HWCAP_* values only after the memory barriers have been defined.
7539 (atomic_full_barrier): Define.
7540 (atomic_read_barrier): Define.
7541 (atomic_write_barrier): Define.
7542
6e236b92
SP
75432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7544
7545 * shlib-versions: Add libgcc_s version information.
7546 * sysdeps/generic/libgcc_s.h: Remove.
7547 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7548 libgcc_s.h.
7549 * sysdeps/gnu/unwind-resume.c: Likewise.
7550 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7551
aab39a09
DM
75522012-04-25 David S. Miller <davem@davemloft.net>
7553
7554 * sysdeps/unix/sparc/brk.S: Delete.
7555 * sysdeps/unix/sparc/dl-brk.S: Delete.
7556 * sysdeps/unix/sparc/pipe.S: Delete.
7557 * sysdeps/unix/sparc/sysdep.S: Delete.
7558 * sysdeps/unix/sparc/sysdep.h: Delete.
7559 * sysdeps/unix/sparc/vfork.S: Delete.
7560 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7561 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7563 ret_ERRVAL, r0, r1, MOVE): Define.
7564 (JUMPTARGET): Remove.
7565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7566 sysdeps/unix/sparc/sysdep.h
7567 (ENTRY, END): Remove.
7568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7569
a3cc4f48
JM
75702012-04-25 Joseph Myers <joseph@codesourcery.com>
7571
2ed8cda2
JM
7572 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7573 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7574 -DIS_IN_build.
7575
35d76d59
JM
7576 * timezone/README: Update upstream location and email address for
7577 tzcode and tzdata.
7578 * timezone/zdump.c: Update from tzcode 2012b.
7579 * timezone/zic.c: Likewise.
7580
a3cc4f48
JM
7581 * configure.in (libc_cv_as_needed): Remove test.
7582 * configure: Regenerated.
7583 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7584 conditional definition.
7585 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7586 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7587 * config.make.in (have-as-needed): Remove variable.
7588
ceab42c3
SP
75892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 Paul Pluzhnikov <ppluzhnikov@google.com>
7591
7592 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7593 strings correctly.
7594
3ce2865f
CLT
75952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7596
7597 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7598 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7599 * sysdeps/sh/strlen.S: Likewise.
7600
f37e0d68
JM
76012012-04-24 Joseph Myers <joseph@codesourcery.com>
7602
ae186e9a
JM
7603 * sysdeps/unix/fork.S: Remove file.
7604 * sysdeps/unix/i386/fork.S: Likewise.
7605 * sysdeps/unix/sparc/fork.S: Likewise.
7606
b96914af
JM
7607 * sysdeps/unix/system.c: Remove file.
7608 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7609
f37e0d68
JM
7610 * sysdeps/unix/getegid.S: Remove file.
7611 * sysdeps/unix/geteuid.S: Likewise.
7612
87ef29ca
RM
76132012-04-24 Roland McGrath <roland@hack.frob.com>
7614
83bcd236
RM
7615 * scripts/check-localplt.awk: New file.
7616 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7617 of diff.
7618 * scripts/data/localplt-generic.data: Add a comment.
7619
87ef29ca
RM
7620 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7621 NODE when __dir_mkfile failed.
7622 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7623 Reported by Ludovic Courtès <ludo@gnu.org>.
7624
e5a6e567
AJ
76252012-04-24 Andreas Jaeger <aj@suse.de>
7626
7627 * Makerules (common-clean): Also remove gen-as-const-headers
7628 files.
7629
c1820385
JM
76302012-04-24 Joseph Myers <joseph@codesourcery.com>
7631
7632 * Makerules (native-compile): Do not change working directory for
7633 build. Use $(OUTPUT_OPTION) in command.
7634 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7635
94e02fc4
AZ
76362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7637
7638 [BZ #13886]
7639 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7640 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7641 * math/libm-test.inc (floor_test): Add more tests.
7642 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7643
3a533ca3
JM
76442012-04-24 Joseph Myers <joseph@codesourcery.com>
7645
940ab4b3
JM
7646 * sysdeps/unix/getdents.c: Remove file.
7647 * sysdeps/unix/sysv/getdents.c: Likewise.
7648 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7649
90e037bd
JM
7650 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7651 sysdeps/unix/mman/syscalls.list.
7652 (mmap): Likewise.
7653 (mprotect): Likewise.
7654 (msync): Likewise.
7655 (munmap): Likewise.
7656 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7657 * sysdeps/unix/mman/syscalls.list: Remove.
7658 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7659
3a533ca3
JM
7660 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7661 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7662 * configure: Regenerated.
7663 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7664 $(libgcc_s_suffix).
7665 * config.make.in (libgcc_s_suffix): Remove variable.
7666
1ad743de
JM
76672012-04-23 Joseph Myers <joseph@codesourcery.com>
7668
4ad451e2
JM
7669 * sysdeps/unix/sysv/gethostname.c: Move to ...
7670 * sysdeps/posix/gethostname.c: ... here.
7671
5e37ce39
JM
7672 * sysdeps/unix/execve.S: Remove file.
7673
1ad743de
JM
7674 * sysdeps/unix/_exit.S: Remove file.
7675
4e681b5b
AJ
76762012-04-23 Andreas Jaeger <aj@suse.de>
7677
7678 [BZ #13739]
7679 * manual/Makefile: Remove make dist support, there's no
7680 need for a stand-alone documentation tar ball.
7681 (TEXI2DVI): Define always, it's not in Makeconfig.
7682 (dist): Removed.
7683 (tar-it): Removed.
7684 (edition): Removed.
7685 (glibc-doc-$(edition).tar): Removed
7686 (%.Z): Removed.
7687 (%.gz): Removed.
7688 (%.uu): Removed.
7689 (ETAGS): Remove, it's in Makeconfig.
7690 (move-if-change): Remove, it's in Makeconfig.
7691
c0baea34
PE
76922013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7693
7694 [BZ #13970]
7695 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7696 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7697 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7698 (strtod_l, strtof_l, strtold_l): Remove __wur.
7699 It is not necessarily an error to ignore strtol's return value.
7700 One can reliably look at the stored endptr to decide whether
7701 the number had valid syntax.
7702
7c0616fa
AJ
77032012-04-21 Andreas Jaeger <aj@suse.de>
7704
803cb6b7 7705 [BZ #13739]
7c0616fa
AJ
7706 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7707
b0fe253f
JM
77082012-04-21 Joseph Myers <joseph@codesourcery.com>
7709
7710 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7711 * sysdeps/unix/sysv/Versions: Remove file.
7712
8280f22d
MT
77132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7714
7715 [BZ #13927]
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7717
75ce411f 77182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7719
7720 [BZ #7064]
7721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7722 version from __vm86.
7723
097d59fa
JM
77242012-04-20 Joseph Myers <joseph@codesourcery.com>
7725
a90f3bcb
JM
7726 * sysdeps/unix/common/lxstat.c: Remove file.
7727 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7728
edc7ea78
JM
7729 * sysdeps/unix/sysv/Makefile: Remove file.
7730
cb78c221
JM
7731 * sysdeps/unix/sysv/direct.h: Remove file.
7732
efa6a45f
JM
7733 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7734 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7735 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7736 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7737 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7738 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7739 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7740
9c9f2d0c
JM
7741 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7742
4541c83b
JM
7743 * sysdeps/unix/xmknod.c: Remove file.
7744 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7745
f5d153a0
JM
7746 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7747
aa746595
JM
7748 * sysdeps/unix/sysv/i386/time.S: Remove file.
7749
cce5905e
JM
7750 * sysdeps/unix/fxstat.c: Remove file.
7751 * sysdeps/unix/xstat.c: Likewise.
7752 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7753
37fa3841
JM
7754 * sysdeps/unix/sysv/sigaction.c: Remove file.
7755
ff1962a3
JM
7756 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7757 (sysdep_headers): Remove variable.
7758 [termio.h not in sysdep_headers] (generated): Likewise.
7759 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7760 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7761 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7762 * sysdeps/unix/sysv/tcflow.c: Likewise.
7763 * sysdeps/unix/sysv/tcflush.c: Likewise.
7764 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7765 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7766 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7767 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7768 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7769
e7740d31
JM
7770 * sysdeps/unix/siglist.c: Remove file.
7771
ee06f18b
JM
7772 * sysdeps/unix/getppid.S: Remove file.
7773
097d59fa
JM
7774 * sysdeps/unix/mkdir.c: Remove file.
7775 * sysdeps/unix/rmdir.c: Likewise.
7776
ff3d51ec
AS
77772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7778
7779 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7780 ERR_MAX value.
7781 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7782 errlist-compat value.
7783
50f81fd7
DM
77842012-04-18 David S. Miller <davem@davemloft.net>
7785
7786 * sysdeps/generic/memcopy.h (reg_char): Delete.
7787 * debug/strcat_chk.c: Use char, not reg_char.
7788 * debug/strcpy_chk.c: Likewise.
7789 * debug/strncat_chk.c: Likewise.
7790 * debug/strncpy_chk.c: Likewise.
7791 * string/memchr.c: Likewise.
7792 * string/memrchr.c: Likewise.
7793 * string/rawmemchr.c: Likewise.
7794 * string/strcat.c: Likewise.
7795 * string/strchr.c: Likewise.
7796 * string/strchrnul.c: Likewise.
7797 * string/strcmp.c: Likewise.
7798 * string/strcpy.c: Likewise.
7799 * string/strncat.c: Likewise.
7800 * string/strncmp.c: Likewise.
7801 * string/strncpy.c: Likewise.
7802
8ff41c46
WS
78032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7804
7805 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7806 __builtin_memcopy is called when src and dest ranges are known to not
7807 overlap.
7808
6b652f46
WS
78092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7810
7811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7812 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7813 fwd_align_merge macro call.
7814 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7815 bwd_align_merge macro call.
7816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7817
b282631e
WS
78182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7819
7820 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7821 bwd_align_merge macros.
7822 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7823 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7824 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7825
95aa737c
DM
78262012-04-18 David S. Miller <davem@davemloft.net>
7827
7828 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7829
7a99a614
AJ
78302012-04-18 Andreas Jaeger <aj@suse.de>
7831
7832 [BZ# 6794]
7833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7834 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7836
7837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7838 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7839 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7840
7841 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7842 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7843 Adjust for changed ldbl-128 files.
7844
7845 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7846 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7847 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7848
e5270c23
DM
78492012-04-17 David S. Miller <davem@davemloft.net>
7850
7851 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7852
fb5e92c9
AS
78532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7854
7855 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7856 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7857 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7858 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7859 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7860 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7861
76da7265
AZ
78622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863
7864 [BZ #6794]
7865 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7866 * math/libm-test.inc: Add ilogb errno and exception tests.
7867 * math/w_ilogb.c: New file: ilogb wrapper.
7868 * math/w_ilogbf.c: New file: ilogbf wrapper.
7869 * math/w_ilogbl.c: New file: ilogbl wrapper.
7870 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7871 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7872 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7873 exception being thrown with 0.0 as argument.
7874 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7875 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7876 exception being thrown with 0.0 as argument.
7877 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7878 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7879 exception being thrown with 0.0 as argument.
7880 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7881 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7882 exception being thrown with 0.0 as argument.
7883 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7884 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7885 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7886 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7888 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7889 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7890 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7891 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7892
0396e69d
PB
78932012-04-17 Petr Baudis <pasky@ucw.cz>
7894
7895 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7896 with altivec.
7897
750b5926
MP
78982012-04-16 Marek Polacek <polacek@redhat.com>
7899
7900 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7901
751728a1
MP
79022012-04-16 Marek Polacek <polacek@redhat.com>
7903
7904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7905 operands of fdivp instruction.
7906
34a27407
L
79072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7910 * elf/tst-auditmod3b.c: Likewise.
7911 * elf/tst-auditmod4b.c: Likewise.
7912 * elf/tst-auditmod5b.c: Likewise.
7913 * elf/tst-auditmod6b.c: Likewise.
7914 * elf/tst-auditmod6c.c: Likewise.
7915 * elf/tst-auditmod7b.c: Likewise.
7916 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7917 * sysdeps/x86_64/preconfigure.in: Likewise.
7918 * sysdeps/x86_64/preconfigure: Regenerated.
7919
7e73e17d
L
79202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7923 __ILP32__.
7924
c7a6ab72
AB
79252012-04-13 Antoine Balestrat <merkil33@gmail.com>
7926
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7928 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7929
a9e8e0e0
CL
79302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7931
7932 [BZ #13973]
7933 * locale/iso-639.def: Fix gl language name. Spotted by
7934 Yaron Shahrabani.
7935
ec98af7d
RM
79362012-04-12 Roland McGrath <roland@hack.frob.com>
7937
7938 [BZ #2074]
7939 * libio/libio.h (__io_write_fn): Update comment.
7940
247c3ede
PB
79412012-04-12 Petr Baudis <pasky@ucw.cz>
7942
7943 [BZ #2074]
7944 * stdio.texi (Hook Functions): The user provided writer function
7945 is not allowed to return -1.
7946
55939d6d
DM
79472012-04-11 David S. Miller <davem@davemloft.net>
7948
7949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7950
90020f5a
MF
79512012-04-11 Mike Frysinger <vapier@gentoo.org>
7952
7953 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7954 Add a leading slash to rtkaio.
7955
288f9098
JM
79562012-04-11 Jim Meyering <meyering@redhat.com>
7957
90020f5a
MF
7958 [BZ #11959]
7959 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7960 It is not necessarily an error to ignore fwrite's return
7961 value. One can reliably use ferror to test for errors after
7962 the fact.
288f9098 7963
4be2b570
L
79642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 * bits/types.h (__snseconds_t): New type.
7967 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7968
7969 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7971 (__SNSECONDS_T_TYPE): Likewise.
7972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7973 (__SNSECONDS_T_TYPE): Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7975 (__SNSECONDS_T_TYPE): Likewise.
7976
288f9098 79772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7978
7979 [BZ #2636]
7980 * manual/time.texi (Processor Time): Return type of times is
7981 elapsed real time since an arbitrary point in the past.
7982 (CPU Time): Move CLK_TCK from here...
7983 (Processor Time): ...to here. Correct description.
7984 * manual/conf.texi (Constants for Sysconf): Correct description of
7985 _SC_CLK_TCK.
7986
d7dd4413
DM
79872012-04-10 David S. Miller <davem@davemloft.net>
7988
7989 [BZ #13967]
7990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7991 where the is a gap between DT_REL(A) and DT_JMPREL.
7992
b46068fc
L
79932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7994
7995 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7996 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7997 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7998
73d65cc3
SP
79992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8002 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8003 (dl_main): Handle --inhibit-cache.
8004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8005 _dl_inhibit_cache.
8006 * elf/dl-load.c (_dl_map_object): Use it.
8007 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8008
bcc8d661
JM
80092012-04-09 Joseph Myers <joseph@codesourcery.com>
8010
8f9a2fae
JM
8011 [BZ #13872]
8012 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8013 (__ieee754_powl): Saturate large exponents rather than testing for
8014 overflow of y*log2(x).
8015 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8016 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8017 exceptions.
8018
bcc8d661
JM
8019 [BZ #11521]
8020 * math/s_ctan.c: Include <float.h>.
8021 (__ctan): Avoid internal overflow or cancellation in calculating
8022 denominator.
8023 * math/s_ctanf.c: Likewise.
8024 * math/s_ctanl.c: Likewise.
8025 * math/s_ctanh.c: Likewise.
8026 * math/s_ctanhf.c: Likewise.
8027 * math/s_ctanhl.c: Likewise.
8028 * math/libm-test.inc (ctan_test): Add more tests.
8029 (ctanh_test): Likewise.
8030 * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032
823fbbb4
AJ
80332012-04-09 Andreas Jaeger <aj@suse.de>
8034
03879793
AJ
8035 [BZ #6894]
8036 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8037 is an optional BSD extension.
8038
823fbbb4
AJ
8039 [BZ #10254]
8040 * manual/stdio.texi (Opening Streams): Document additional fopen
8041 parameters.
8042
8de131cb
RM
80432012-04-09 Roland McGrath <roland@hack.frob.com>
8044
8045 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8046 %eax without telling the compiler.
8047
c0ed9d7d
CD
80482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8049
8050 [BZ # 13963]
8051 * manual/install.texi: Use sourceware.org.
8052
c483f6b4
JM
80532012-04-09 Joseph Myers <joseph@codesourcery.com>
8054
d7dd9453
JM
8055 [BZ #13873]
8056 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8057 (__ieee754_pow): Generate overflow and underflow using huge*huge
8058 and tiny*tiny rather than just returning constant infinity or zero
8059 for large exponents.
8060 * math/libm-test.inc (pow_test): Require overflow exceptions for
8061 applicable cases of large exponents.
8062
c483f6b4
JM
8063 [BZ #706]
8064 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8065 (__ieee754_pow): Use iterative multiplication algorithm only for
8066 integer exponents with absolute value below 1024. Check for odd
8067 integer exponents when using algorithm for real exponents.
8068 * math/libm-test.inc (pow_test): Add more tests.
8069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8070
d2de7579
JM
80712012-04-08 Joseph Myers <joseph@codesourcery.com>
8072
8073 [BZ #13705]
8074 * math/libm-test.inc (exp_test): Do not allow overflow exception
8075 on underflow test.
8076
f77f1232
AJ
80772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8078
8079 [BZ #13705]
8080 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8081 instead of __kernel_standard_f.
8082
3884932b
MF
80832012-04-08 Mike Frysinger <vapier@gentoo.org>
8084
8085 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8086 * sysdeps/x86_64/memset_chk.S: Likewise.
8087
54472e9c
AJ
80882012-04-08 Andreas Jaeger <aj@suse.de>
8089
6ab0fbfc
AJ
8090 [BZ #10153]
8091 * manual/startup.texi (Environment Access): Describe return value
8092 for putenv and setenv.
8093
61efba8c
AJ
8094 [BZ #6895]
8095 * manual/filesys.texi (Directory Entries): Add description for
8096 DT_LNK.
8097
95c3f29a
AJ
8098 [BZ #6890]
8099 * manual/filesys.texi (Directory Entries): Clarify that it's file
8100 system not operating system in the description of DT_UNKNOWN.
8101
54472e9c
AJ
8102 [BZ #6578]
8103 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8104
624254b1
SC
81052012-04-08 Stephen Compall <s11@member.fsf.org>
8106
8107 [BZ #6649]
8108 * manual/llio.texi (Opening and Closing Files): Add cross
8109 reference to explain mode argument.
8110
1e4920e0
MF
81112012-04-07 Mike Frysinger <vapier@gentoo.org>
8112
8113 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8114 * sysdeps/x86_64/memset_chk.S: Likewise.
8115
5ed848f3
DM
81162012-04-07 David S. Miller <davem@davemloft.net>
8117
8118 * elf/elf.h (R_SPARC_WDISP10): Define.
8119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8120 R_SPARC_SIZE32.
8121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8122 R_SPARC_SIZE64 and R_SPARC_H34.
8123
96154cd8
CD
81242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8125
8126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8127 conditions and remove no longer applicable assertion.
8128
9904dc47
L
81292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8130
8131 * bits/byteswap.h: Include <features.h>.
8132 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8133 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8134
f8887d0a
L
81352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8136
8137 * bits/byteswap.h (__bswap_16): Removed.
8138 Include <bits/byteswap-16.h> to get __bswap_16.
8139 * sysdeps/i386/bits/byteswap.h: Likewise.
8140 * sysdeps/s390/bits/byteswap.h: Likewise.
8141 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8142 * bits/byteswap-16.h: New file.
8143 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8144 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8145 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8146 * string/Makefile (headers): Add bits/byteswap-16.h.
8147
62470f60
PP
81482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8149
8150 [BZ #13895]
8151 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8152 extra indirection.
8153 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8154 * nss/tst-nss-static.c: New.
8155
4dad7bab
RM
81562012-04-06 Robert Millan <rmh@gnu.org>
8157
8158 [BZ #6486]
8159 * manual/llio.texi (File Position Primitive): lseek
8160 refers to WHENCE when it really means OFFSET.
8161
e9142a17
AJ
81622012-04-06 Andreas Jaeger <aj@suse.de>
8163
2c040eff
AJ
8164 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8165 strncmp declarations.
8166
e9142a17
AJ
8167 * abilist/libc.abilist: Add __poll and __ppoll.
8168
ff9f1c5f
DM
81692012-04-05 David S. Miller <davem@davemloft.net>
8170
dcd2ae90
DM
8171 * scripts/check-local-headers.sh: Accept a host triplet in the
8172 path matched by the exclude regexp.
8173
993eb054
DM
8174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8175 definition.
8176 * sysdeps/powerpc/powerpc32/dl-machine.h
8177 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8178 * sysdeps/s390/s390-32/dl-machine.h
8179 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8180 * sysdeps/sparc/sparc32/dl-machine.h
8181 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8182 * sysdeps/sparc/sparc64/dl-machine.h
8183 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8184
ff9f1c5f
DM
8185 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8186 lazy binding.
48e2e132 8187 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8188 undefined symbol errors.
8189
48e2e132 8190 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8191 DT_NEEDED entries.
8192
e80d6f94
MM
81932012-04-05 Michael Matz <matz@suse.de>
8194
8195 [BZ #13592]
8196 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8197
349fa79f
AJ
81982012-04-05 Andreas Jaeger <aj@suse.de>
8199
8200 [BZ #13908]
8201 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8202 comment.
8203
f402708f
KK
82042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8205
8206 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8207 which ROUND is no valid rounding mode.
8208
2ecccfc9
KK
82092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8210
8211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8212 read again.
8213 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8214
8a53f50f
KK
82152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8216
8217 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8218 an exception using FPU order intentionally.
8219
82202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8221
8222 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8223 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8224 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8225 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8226
d653abb7
SJ
82272012-04-05 Simon Josefsson <simon@josefsson.org>
8228
8229 [BZ #12340]
8230 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8231 EINVAL when BUFLEN is too smal.
8232
c3b1bf7d
TS
82332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8234
8235 [BZ #13553]
8236 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8237 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8238
b1aa60f3
AJ
82392012-04-03 Andreas Jaeger <aj@suse.de>
8240
c3b1bf7d 8241 [BZ #13938]
67f60a26
AJ
8242 * manual/setjmp.texi (System V contexts): Fix sentence.
8243
b1aa60f3
AJ
8244 [BZ #13926]
8245 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8246 New macro for this case.
8247 [!__GNUC__] (__bswap_64): New inline function for this case.
8248 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8249 * bits/byteswap.h: Likewise.
8250 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8251 ull, guard with __GLIBC_HAVE_LONG_LONG.
8252
8253 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8254 __GLIBC_HAVE_LONG_LONG.
8255
8256 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8257 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8258
39c59c35
TMQMF
82592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8260
8261 [BZ #13691]
8262 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8263 inptr and inend, rather than using last_ch.
8264
135ffda8
DM
82652012-04-02 David S. Miller <davem@davemloft.net>
8266
8267 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8268 * stdio-common/printf-parse.h (read_int): Change return type to
8269 'int', return -1 on INT_MAX overflow.
8270 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8271 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8272 overflows INT_MAX. Check for overflow of in-format-string precision
8273 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8274 SIZE_MAX not INT_MAX for integer overflow test.
8275 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8276 skip the construct in the format string but do not record anything.
8277 * stdio-common/bug22.c: Adjust to test both width/prevision
8278 INT_MAX overflow as well as total length INT_MAX overflow. Check
8279 explicitly for proper errno values.
8280
228c019e
TS
82812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8282
302cadd3
TS
8283 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8284 CHAR_MAX.
8285 * string/test-strcmp.c [! WIDE]: Likewise.
8286 * time/tst-mktime2.c: Likewise for INT_MAX.
8287 * string/test-string.h: #include <sys/param.h> for MIN.
8288
228c019e
TS
8289 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8290 * sysdeps/i386/init-first.c (init): Likewise.
8291 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8292 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8293 * sysdeps/sh/init-first.c (init): Likewise.
8294
cfa633f5
UD
82952012-04-01 Ulrich Drepper <drepper@gmail.com>
8296
8297 * po/ru.po: Update from translation team.
d1635ef8 8298 * po/vi.po: Likewise.
cfa633f5 8299
6cd0a5ea
SP
83002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8301
8302 * resolv/nss_dns/dns-host.c: Merge copyright years.
8303
4b43400f
LD
83042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8305
8306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8307 Optimize memcpy with prefetch if
8308 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8309 src, dst pointers have unequal 16 byte alignments.
8310
48c41d04
SP
83112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8312
8313 [BZ #13928]
8314 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8315 from a CNAME entry and return the minimum ttl for the query.
8316 (gaih_getanswer_slice): Likewise.
8317
b8dc394d
JL
83182012-03-30 Jeff Law <law@redhat.com>
8319
8320 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8321 due to long keys.
8322 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8323 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8324
2f5a5ed0
JL
8325 * resolv/nss_dns/dns-host.c: Update copyright year.
8326
1d39e359
UD
83272012-03-30 Ulrich Drepper <drepper@gmail.com>
8328
c030f70c 8329 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8330 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8331
1d39e359
UD
8332 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8333 comments for sendmmsg.
8334
83352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8336
8337 [BZ #13691]
8338 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8339 with only 1 character between 0x0041 and 0x01b0.
8340 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8341 * wcsmbs/tst-mbsnrtowcs.c: New file.
8342
20fde227
DM
83432012-03-29 David S. Miller <davem@davemloft.net>
8344
8345 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8346 small copies by hand.
8347
984a4237
JL
83482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
8350 [BZ #13761]
8351 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8352 _nss_compat_initgroups_dyn): Fall back to malloc/free
8353 for large group memberships.
8354
18c9d62b
DM
83552012-03-28 David S. Miller <davem@davemloft.net>
8356
88d85d4f
DM
8357 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8358 that branches into memcpy.
8359 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8362 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8364 bits.
8365 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8366 implementation too.
8367 * sysdeps/sparc/mempcpy.S: New file.
8368
e5aa83e1
DM
8369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8370 the IFUNC routine in the libc case.
8371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8372
88570753
DM
8373 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8375 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8376 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8377 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8378 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8379 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8380 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8381
249d7567
DM
8382 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8383 loop to 256 bytes instead of 64 bytes and fix test signedness.
8384
18c9d62b
DM
8385 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8386 * sysdeps/sparc/sparc32/Makefile: rather than here...
8387 * sysdeps/sparc/sparc64/Makefile: and here.
8388
05f3d1f6
UD
83892012-03-28 Ulrich Drepper <drepper@gmail.com>
8390
8391 * malloc/mallocbug.c: Avoid warnings about unused variables.
8392
86ae07a8
JL
83932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8394
8395 [BZ #13760]
8396 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8397 in the right place. Discard and retry query if response is
8398 larger than input buffer size.
8399
41bf21a1
JM
84002012-03-28 Joseph Myers <joseph@codesourcery.com>
8401
d6270972
JM
8402 [BZ #369]
8403 [BZ #2678]
8404 [BZ #3866]
8405 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8406 x for large integer exponent.
8407 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8408 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8409 sign of result as needed afterwards.
8410 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8411 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8412 result for underflowing pow the same as for overflow.
8413 (__kernel_standard_l): Handle powl overflow and underflow here
8414 rather than calling __kernel_standard.
8415 * math/libm-test.inc (pow_test): Add more tests.
8416
414fca03 8417 [BZ #3868]
41bf21a1
JM
8418 [BZ #13879]
8419 [BZ #13910]
8420 [BZ #13911]
8421 [BZ #13912]
8422 [BZ #13913]
8423 [BZ #13915]
8424 [BZ #13916]
8425 [BZ #13917]
8426 [BZ #13918]
8427 [BZ #13919]
8428 [BZ #13920]
8429 [BZ #13921]
8430 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8431 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8432 (__kernel_standard_l): New function.
8433 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8434 __kernel_standard.
8435 * math/w_acosl.c (__acosl): Likewise.
8436 * math/w_asinl.c (__asinl): Likewise.
8437 * math/w_atan2l.c (__atan2l): Likewise.
8438 * math/w_atanhl.c (__atanhl): Likewise.
8439 * math/w_coshl.c (__coshl): Likewise.
8440 * math/w_exp10l.c (__exp10l): Likewise.
8441 * math/w_exp2l.c (__exp2l): Likewise.
8442 * math/w_fmodl.c (__fmodl): Likewise.
8443 * math/w_hypotl.c (__hypotl): Likewise.
8444 * math/w_j0l.c (__j0l, __y0l): Likewise.
8445 * math/w_j1l.c (__j1l, __y1l): Likewise.
8446 * math/w_jnl.c (__jnl, __ynl): Likewise.
8447 * math/w_lgammal.c (__lgammal): Likewise.
8448 * math/w_log10l.c (__log10l): Likewise.
8449 * math/w_log2l.c (__log2l): Likewise.
8450 * math/w_logl.c (__logl): Likewise.
8451 * math/w_powl.c (__powl): Likewise.
8452 * math/w_remainderl.c (__remainderl): Likewise.
8453 * math/w_scalbl.c (sysv_scalbl): Likewise.
8454 * math/w_sinhl.c (__sinhl): Likewise.
8455 * math/w_sqrtl.c (__sqrtl): Likewise.
8456 * math/w_tgammal.c (__tgammal): Likewise.
8457 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8458 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8459 * math/libm-test.inc (acos_test): Add more tests.
8460 (acosh_test): Likewise.
8461 (asin_test): Likewise.
8462 (atanh_test): Likewise.
8463 (exp_test): Likewise.
8464 (exp10_test): Likewise.
8465 (exp2_test): Likewise.
8466 (expm1_test): Likewise.
8467 (lgamma_test): Likewise.
8468 (log_test): Likewise.
8469 (log10_test): Likewise.
8470 (log1p_test): Likewise.
8471 (log2_test): Likewise.
8472 (pow_test): Do not allow some spurious overflow exceptions.
8473 (sqrt_test): Add more tests.
8474 (tgamma_test): Likewise.
8475 (y0_test): Likewise.
8476 (y1_test): Likewise.
8477 (yn_test): Likewise.
8478
dd62fda6
AB
84792012-03-27 Anton Blanchard <anton@samba.org>
8480
8481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8482 MAP_HUGETLB.
8483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8484 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8486
1e3cdfda
AJ
84872012-03-27 David S. Miller <davem@davemloft.net>
8488
b855ab85
DM
8489 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8490
1e3cdfda
AJ
8491 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8492 have-as-vis3 check.
8493
84942012-03-27 Andreas Jaeger <aj@suse.de>
8495
8496 * sysdeps/x86_64/elf/configure.in: Moved to ...
8497 * sysdeps/x86_64/configure.in: ... here.
8498 * sysdeps/x86_64/elf/start.S: Moved to ...
8499 * sysdeps/x86_64/start.S: ... here.
8500 * sysdeps/x86_64/elf/configure: Delete.
8501
8502 * sysdeps/x86_64/configure.in: Merge contents from
8503 sysdeps/i386/configure.in (without i686 check).
8504
8505 * sysdeps/i386/elf/Versions: Merge into ...
8506 * sysdeps/i386/Versions: ... this.
8507 * sysdeps/i386/elf/Versions: Delete file.
8508 * sysdeps/i386/elf/start.S: Moved to ...
8509 * sysdeps/i386/start.S: ...here.
8510 * sysdeps/i386/elf/configure.in: Merge into...
8511 * sysdeps/i386/configure.in: ...here.
8512 * sysdeps/i386/elf/configure.in: Delete file.
8513 * sysdeps/i386/elf/configure: Delete file.
8514
8515 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8516 * debug/backtracesyms.c: ... here.
8517 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8518 * debug/backtracesymsfd.c: ... here.
8519 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8520 * sysdeps/generic/ifunc-sel.h: ... here.
8521
8522 * sysdeps/unix/i386/start.c: Delete file.
8523 * sysdeps/unix/sparc/start.c: Delete file.
8524 * sysdeps/unix/start.c: Delete file.
8525
8526 * sysdeps/sh/elf/configure.in: Moved to ...
8527 * sysdeps/sh/configure.in: ... here.
8528 * sysdeps/sh/elf/start.S: Moved to ...
8529 * sysdeps/sh/start.S: ... here.
8530 * sysdeps/sh/elf/configure: Delete file.
8531
8532 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8533 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8534 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8535 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8536 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8537 * sysdeps/powerpc/powerpc64/start.S: here.
8538 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8539 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8540 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8541 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8542 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8543
8544 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8545 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8546 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8547 * sysdeps/powerpc/powerpc32/start.S: ... here.
8548 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8549 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8550 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8551
8552 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8553 * sysdeps/powerpc/ifunc-sel.h: ... here.
8554 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8555 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8556
8557 * sysdeps/sparc/elf/configure.in: Moved to ...
8558 * sysdeps/sparc/configure.in: ... here.
8559 * sysdeps/sparc/elf/configure: Delete file.
8560 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8561 * sysdeps/sparc/sparc32/start.S: ... here.
8562 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8563 * sysdeps/sparc/sparc64/start.S: ... here.
8564 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8565 * sysdeps/sparc/sparc32/Makefile: ... this.
8566 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8567 * sysdeps/sparc/sparc64/Makefile: ... this.
8568
8569 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8570 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8571 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8572 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8573 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8574 * sysdeps/s390/s390-32/setjmp.S: ... here.
8575 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8576 * sysdeps/s390/s390-32/configure.in: ... here.
8577 * sysdeps/s390/s390-32/elf/configure: Delete file.
8578 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8579 * sysdeps/s390/s390-32/start.S: ... here.
8580
8581 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8582 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8583 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8584 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8585 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8586 * sysdeps/s390/s390-64/setjmp.S: ... here.
8587 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8588 * sysdeps/s390/s390-64/configure.in: ... here
8589 * sysdeps/s390/s390-64/elf/configure: Delete file.
8590 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8591 * sysdeps/s390/s390-64/start.S: ... here.
8592 * sysdeps/s390/s390-64/elf/configure: Delete.
8593
8594 * configure.in: Remove support for elf directories in sysdeps.
8595
8596 * configure: Regenerated.
8597 * sysdeps/i386/configure: Regenerated.
8598 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8599 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8600 * sysdeps/s390/s390-32/configure: Regenerated.
8601 * sysdeps/s390/s390-64/configure: Regenerated.
8602 * sysdeps/sh/configure: Regenerated.
8603 * sysdeps/sparc/configure: Regenerated.
8604 * sysdeps/x86_64/configure: Regenerated.
8605
a3f61311
AS
86062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8607
c876e002
AS
8608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8609
a3f61311
AS
8610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8611 denormal result into account.
8612
ac4c54f0
RM
86132012-03-25 Roland McGrath <roland@hack.frob.com>
8614
8615 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8616 Reported by Allan McRae <allan@archlinux.org>.
8617
6a9b9c02
JL
86182012-03-23 Jeff Law <law@redhat.com>
8619
8620 * nss/getnssent.c (__nss_getent): Fix typo.
8621
4c42a0c1
DM
86222012-03-23 David S. Miller <davem@davemloft.net>
8623
8624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8625
1532c7ac
L
86262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8629 to pad to uint64_t for each field.
8630 (dl_tls_index): Replace unsigned long with uint64_t.
8631
3ff42526
PP
86322012-03-23 Daniel Jacobowitz <dmj@google.com>
8633 Paul Pluzhnikov <ppluzhnikov@google.com>
8634
8635 [BZ #6528]
8636 * grp/Makefile (otherlibs): Don't set it.
8637 * inet/Makefile (otherlibs): Likewise.
8638 * login/Makefile (otherlibs): Likewise.
8639 * nscd/Makefile (otherlibs): Likewise.
8640 * posix/Makefile (otherlibs): Likewise.
8641 * pwd/Makefile (otherlibs): Likewise.
8642 * rt/Makefile (otherlibs): Likewise.
8643 * sunrpc/Makefile (otherlibs): Likewise.
8644 * nss/Makefile (otherlibs): Likewise.
8645 Add libnss_files to routines and static-only-routines.
8646 ($(objpfx)getent): Remove rule.
8647 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8648 static-only-routines.
8649
7c69cd14
JM
86502012-03-22 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #13892]
8653 * math/s_cexp.c: Include <float.h>.
8654 (__cexp): Handle exp result overflowing not necessarily
8655 overflowing both real and imaginary parts of result.
8656 * math/s_cexpf.c: Likewise.
8657 * math/s_cexpl.c: Likewise.
8658 * math/libm-test.inc (cexp_test): Add more tests.
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661
81b035fe
L
86622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * include/link.h (ELFW): New macro.
8665 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8666 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8667
1da7940c
L
86682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8671 with uint64_t.
8672
b749dbb9
L
86732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8676 declaration.
8677 (struct La_x32_retval): Likewise.
8678
2ff87f3f
L
86792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/x86_64/preconfigure.in: New file.
8682 * sysdeps/x86_64/preconfigure: New generated file.
8683
c0df8e69
JM
86842012-03-22 Joseph Myers <joseph@codesourcery.com>
8685
48e44791
JM
8686 [BZ #13824]
8687 * math/e_exp2l.c: Include <float.h>.
8688 (__ieee754_exp2l): Handle overflow and underflow cases
8689 separately. Only pass fractional part of argument to
8690 __ieee754_expl.
8691 * math/libm-test.inc (exp2_test): Add more tests.
8692
c0df8e69
JM
8693 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8694 negating x to take absolute value.
8695 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8696 Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8699 Likewise.
8700 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8701 computing low part if x was negated.
8702 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8703
c8e43ba7
L
87042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8707 la_x32_gnu_pltexit.
8708 (pltexit): Cast int_retval to ptrdiff_t.
8709 * elf/tst-auditmod3b.c: Likewise.
8710 * elf/tst-auditmod4b.c: Likewise.
8711 * elf/tst-auditmod5b.c: Likewise.
8712 * elf/tst-auditmod6b.c: Likewise.
8713 * elf/tst-auditmod6c.c: Likewise.
8714 * elf/tst-auditmod7b.c: Likewise.
8715
8716 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8717 and x32_gnu_pltexit.
8718
8719 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8720 __ELF_NATIVE_CLASS.
8721 (La_x32_regs): New macro.
8722 (La_x32_retval): Likewise.
8723 (la_x32_gnu_pltenter): New function prototype.
8724 (la_x32_gnu_pltexit): Likewise.
8725
7998fa78
AS
87262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8727
dcb33988
AS
8728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8729 exponent.
8730
233fc563
AS
8731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8732
7998fa78
AS
8733 * configure.in (libc_cv_cc_nofma): Check for option to disable
8734 generation of FMA instructions.
8735 * configure: Regenerate.
8736 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8737 * sysdeps/ieee754/dbl-64/Makefile: New file.
8738 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8739 Remove brandred-fma4.
8740 (CFLAGS-brandred-fma4.c): Remove.
8741 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8743 define.
8744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8745 define.
8746
8e95c99a
L
87472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8748
8749 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8750 LLONG_MAX != LONG_MAX.
8751 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8752 (_fitoa_word): Likewise.
8753 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8754 LLONG_MAX != LONG_MAX.
8755 * stdio-common/_itowa.h: Include <_itoa.h>.
8756 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8757 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8758 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8759 only if not defined.
8760 (_ITOA_WORD_TYPE): Likewise.
8761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8762 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8763
6f4db457
DM
87642012-03-21 David S. Miller <davem@davemloft.net>
8765
8766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8767
7785fe5a
L
87682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8771 of x86_64 when setting libc_cv_slibdir, libdir and
8772 libc_cv_localedir.
8773 * sysdeps/unix/sysv/linux/configure: Regenerated.
8774
4535cd55
JM
87752012-03-21 Joseph Myers <joseph@codesourcery.com>
8776
8777 * manual/lang.texi (Old Varargs): Remove section.
8778 (How Variadic): Update menu.
8779 (va_start): Do not mention varargs.h.
8780
17228132
TS
87812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8782 Joseph Myers <joseph@codesourcery.com>
8783
8784 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8785 link test.
8786 * configure: Regenerated.
8787
8149f976
TS
87882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8789
05f3d1f6
UD
8790 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8791 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8792 conformtest.pl
8149f976 8793
1a4ac776
JM
87942012-03-21 Joseph Myers <joseph@codesourcery.com>
8795
be22ce65
JM
8796 * NOTES: Remove.
8797 * Makefile (files-for-dist): Remove NOTES.
8798 (NOTES): Remove rule.
8799 * README: Don't refer to NOTES.
8800 * manual/creature.texi: Don't include macros.texi.
8801 * manual/intro.texi (creature.texi): Remove comment referring to
8802 NOTES.
8803
40b601fb
JM
8804 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8805 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8806 * configure: Regenerated.
8807 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8808 LIBC_TRY_CC_OPTION.
8809 (libc_cv_as_i686): Likewise.
8810 (libc_cv_cc_avx): Likewise.
8811 (libc_cv_cc_sse2avx): Likewise.
8812 (libc_cv_cc_fma4): Likewise.
8813 (libc_cv_cc_novzeroupper): Likewise.
8814 * sysdeps/i386/configure: Regenerated.
8815
1a4ac776
JM
8816 [BZ #13883]
8817 * sysdeps/i386/fpu/s_cexp.S: Remove.
8818 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8819 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8820 * math/libm-test.inc (cexp_test): Add more tests.
8821 * sysdeps/i386/fpu/libm-test-ulps: Update.
8822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8823
a458e7fe
AM
88242012-03-21 Allan McRae <allan@archlinux.org>
8825
8826 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8827
0cb7efc5
JM
88282012-03-21 Joseph Myers <joseph@codesourcery.com>
8829
8830 [BZ #13871]
8831 * math/w_exp2.c: Do not include <float.h>.
8832 (o_threshold, u_threshold): Remove.
8833 (__exp2): Calculate result before checking finiteness and calling
8834 __kernel_standard.
8835 * math/w_exp2f.c: Likewise.
8836 * math/w_exp2l.c: Likewise.
8837 * math/libm-test.inc (exp2_test): Require overflow exception for
8838 1e6 input.
2460d3aa
JM
8839
8840 [BZ #3866]
8841 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8842 range of signed 64-bit integers before using fistpll. Remove
8843 checks for whether integers fit in mantissa bits.
8844 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8845 the range of signed 32-bit integers before using fistpl. Remove
8846 checks for whether integers fit in mantissa bits.
8847 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8848 (__ieee754_powl): Test for y outside the range of signed 64-bit
8849 integers before using fistpll. Reduce 64-bit values to 63-bit
8850 ones as needed.
8851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8852 divide-by-zero is raised for zero to large negative powers.
8853 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8854 (__ieee754_powl): Test for y outside the range of signed 64-bit
8855 integers before using fistpll. Reduce 64-bit values to 63-bit
8856 ones as needed.
8857 * math/libm-test.inc (pow_test): Add more tests.
8858
eb96ffb0
L
88592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8860
8861 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8862 <stdio-common/_itoa.h>.
8863 * debug/segfault.c: Likewise.
8864 * elf/dl-cache.c: Likewise.
8865 * elf/dl-minimal.c: Likewise.
8866 * elf/dl-misc.c: Likewise.
8867 * elf/dl-sysdep.c: Likewise.
8868 * elf/dl-version.c: Likewise.
8869 * elf/rtld.c: Likewise.
8870 * hurd/hurdsock.c: Likewise.
8871 * hurd/lookup-retry.c: Likewise.
8872 * malloc/malloc.c: Likewise.
8873 * malloc/mtrace.c: Likewise.
8874 * nscd/nscd_getgr_r.c: Likewise.
8875 * nscd/nscd_getpw_r.c: Likewise.
8876 * nscd/nscd_getserv_r.c: Likewise.
8877 * posix/getopt_init.c: Likewise.
8878 * posix/wordexp.c: Likewise.
8879 * stdio-common/_itoa.c: Likewise.
8880 * stdio-common/printf_fphex.c: Likewise.
8881 * stdio-common/vfprintf.c: Likewise.
8882 * string/_strerror.c: Likewise.
8883 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8884 * sysdeps/i386/i686/hp-timing.h: Likewise.
8885 * sysdeps/mach/_strerror.c: Likewise.
8886 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8887 * sysdeps/mach/hurd/sethostid.c: Likewise.
8888 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8889 * sysdeps/mach/xpg-strerror.c: Likewise.
8890 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8892 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8893 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8894 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8895 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8896 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8897 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8898 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8899 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8900 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8901 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8903 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8904 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8905 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8906 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8907 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8908 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8909 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8910 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8911
8912 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8913
8914 * stdio-common/_itoa.h: Moved to ...
8915 * sysdeps/generic/_itoa.h: Here.
8916
8917 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8918
8919 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8920 instead of "_itoa.h" and "_itowa.h".
8921 * stdio-common/vfprintf.: Likewise.
8922
d1af992d
L
89232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8926 <bits/wordsize.h>.
8927 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8928 (__signbit): Likwise.
8929 (llrintf): Likwise.
8930 (llrint): Likwise.
8931
114883e0
L
89322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8935 __WORDSIZE != 64.
8936
c135cc1b
JM
89372012-03-20 Joseph Myers <joseph@codesourcery.com>
8938
8939 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8940 OVERFLOW_EXCEPTION_OK.
8941 * math/libm-test.inc ("Philosophy"): Update comment about
8942 exception testing.
8943 (OVERFLOW_EXCEPTION): Define.
8944 (OVERFLOW_EXCEPTION_OK): Likewise.
8945 (INVALID_EXCEPTION_OK): Renumber.
8946 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8947 (IGNORE_ZERO_INF_SIGN): Likewise.
8948 (test_exceptions): Handle FE_OVERFLOW.
8949 (exp10_test): Expect overflow exceptions.
8950 (exp2_test): Likewise.
8951 (expm1_test): Likewise.
8952 (nextafter_test): Likewise.
8953 (pow_test): Likewise.
8954 (scalbn_test): Likewise.
8955 (scalbln_test): Likewise.
8956
95443d88
L
89572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8958
8959 * sysdeps/x86_64/bits/atomic.h
8960 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8961 64bit integer.
8962 (atomic_exchange_acq): Likewise.
8963 (__arch_exchange_and_add_body): Likewise.
8964 (__arch_add_body): Likewise.
8965 (atomic_add_negative): Likewise.
8966 (atomic_add_zero): Likewise.
8967
490df6c4
L
89682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8969
c2722551 8970 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8971 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8972
5e52b189
L
89732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8976 Check __x86_64__ instead of __WORDSIZE.
8977
a9879d4c
L
89782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8981
5df98260
DM
89822012-03-19 David S. Miller <davem@davemloft.net>
8983
e1497744
DM
8984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8985
5df98260
DM
8986 * sysdeps/sparc/fpu/fenv_private.h: New file.
8987 * sysdeps/sparc/fpu/math_private.h: Use it.
8988 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8989 Remove.
8990 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8991 (libc_feholdexcept_setroundl): Remove.
8992 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8993 Remove.
8994 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8995 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8996
b4c35121
L
89972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8998
8999 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9000 int64_t instead of long int.
9001 (INSERT_WORDS64): Likwise.
9002
56965fd7
L
90032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9004
9005 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9006 _Unwind_GetCFA return to _Unwind_Ptr first.
9007
83d1aec8
JM
90082012-03-19 Joseph Myers <joseph@codesourcery.com>
9009
1897ad44
JM
9010 [BZ #13629]
9011 * math/s_clog.c: Include <float.h>.
9012 (__clog): Scale large or subnormal inputs.
9013 * math/s_clogf.c: Likewise.
9014 * math/s_clogl.c: Likewise.
9015 * math/s_clog10.c: Include <float.h>.
9016 (M_LOG10_2): Define.
9017 (__clog10): Scale large or subnormal inputs.
9018 * math/s_clog10f.c: Likewise.
9019 * math/s_clog10l.c: Likewise.
9020 * math/libm-test.inc (clog_test): Add more tests.
9021 (clog10_test): Likewise.
9022 * sysdeps/i386/fpu/libm-test-ulps: Update.
9023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9024
7726d6a9
JM
9025 [BZ #11451]
9026 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9027 x and y.
9028 * math/libm-test.inc (atan2_test): Add another test.
9029
83d1aec8
JM
9030 * Makerules (common-objdir-compile): Remove.
9031 * sysdeps/unix/Makefile (config-generated): Do not add
9032 $(unix-generated) to variable.
9033 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9034 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9035 Remove rule.
9036 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9037 Likewise.
9038 [generic bits/local_lim.h] (before-compile): Do not append to
9039 variable.
9040 [generic bits/local_lim.h] (common-generated): Likewise.
9041 [generic sys/param.h] (before-compile): Do not append to variable.
9042 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9043 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9044 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9046 include.
9047 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9048 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9049 [generic sys/param.h] ($(addprefix
9050 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9051 [generic sys/param.h] (common-generated): Do not append to
9052 variable.
9053 [generic sys/param.h] (sysdep_headers): Likewise.
9054 [generic bits/errno.h] (before-compile): Do not append to
9055 variable.
9056 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9057 rule.
9058 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9059 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9060 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9061 [generic bits/errno.h] (common-generated): Do not append to
9062 variable.
9063 [generic bits/ioctls.h] (before-compile): Do not append to
9064 variable.
9065 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9066 rule.
9067 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9068 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9069 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9070 rule.
9071 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9072 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9073 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9074 [generic bits/ioctls.h] (common-generated): Do not append to
9075 variable.
9076 [generic sys/syscall.h] (syscall.h): Remove variable.
9077 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9078 rule.
9079 [generic sys/syscall.h] (before-compile): Do not append to
9080 variable.
9081 [generic sys/syscall.h] (common-generated): Likewise.
9082 * sysdeps/unix/errnos-tmpl.c: Remove file.
9083 * sysdeps/unix/errnos.awk: Likewise.
9084 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9085 * sysdeps/unix/ioctls.awk: Likewise.
9086 * sysdeps/unix/mk-local_lim.c: Likewise.
9087 * sysdeps/unix/snarf-ioctls: Likewise.
9088
4851a949
RH
90892012-03-19 Richard Henderson <rth@twiddle.net>
9090
bd37f2ee
RH
9091 * sysdeps/i386/fpu/fenv_private.h: New file.
9092 * sysdeps/i386/fpu/math_private.h: Use it.
9093 (math_opt_barrier, math_force_eval): Remove.
9094 (libc_feholdexcept_setround_53bit): Remove.
9095 (libc_feupdateenv_53bit): Remove.
9096 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9097 (math_opt_barrier, math_force_eval): Remove.
9098 (libc_feholdexcept): Remove.
9099 (libc_feholdexcept_setround): Remove.
9100 (libc_fetestexcept, libc_fesetenv): Remove.
9101 (libc_feupdateenv_test): Remove.
9102 (libc_feupdateenv, libc_feholdsetround): Remove.
9103 (libc_feresetround): Remove.
9104
d0adc922
RH
9105 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9106 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9107
0fe0f1f8
RH
9108 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9109 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9110 (libc_feupdateenv_testl): New.
9111 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9112 (libc_feupdateenv_testf): New.
9113 (libc_feupdateenv): Use libc_feupdateenv_test.
9114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9115 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9116
eb92c487
RH
9117 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9118 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9119 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9120 (libc_feresetround_noex): New.
9121 (libc_feresetround_noexf): New.
9122 (libc_feresetround_noexl): New.
9123 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9124 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9125 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9126 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9127 SET_RESTORE_ROUND.
9128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9130 (__cos): Likewise.
9131 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9132 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9133 SET_RESTORE_ROUND_NOEX.
9134 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9135 SET_RESTORE_ROUND_NOEXF.
9136 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9137 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9138 (libc_feholdsetroundf): New.
9139 (libc_feresetround, libc_feresetroundf): New.
9140
7d2e8012
RH
9141 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9142 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9143 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9144
b4dabbb4
RH
9145 * sysdeps/generic/math_private.h: Include <fenv.h>.
9146 (default_libc_feholdexcept): New.
9147 (default_libc_feholdexcept_setround): New.
9148 (default_libc_fesetenv, default_libc_feupdateenv): New.
9149 (libc_feholdexcept): Only define if undefined.
9150 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9152 (libc_feholdexcept_setroundl): Likewise.
9153 (libc_feholdexcept_setround_53bit): Likewise.
9154 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9157 (libc_feupdateenv_53bit): Likewise.
9158 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9159 (libc_feholdexcept): Convert from macro to inline function.
9160 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9161 (libc_fesetenv, libc_feupdateenv): Likewise.
9162
4851a949
RH
9163 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9164 not previously defined.
9165 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9166 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9167 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9168 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9169 * sysdeps/ieee754/flt-32/math_private.h: New file.
9170 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9171 math_private.h below SET_FLOAT_WORD.
9172 (__isnan, __isinf_ns, __finite): Remove.
9173 (__isnanf, __isinf_nsf, __finitef): Remove.
9174
e79d442e
AS
91752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9178
90b80344
DM
91792012-03-17 David S. Miller <davem@davemloft.net>
9180
9181 [BZ #6471]
9182 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9183 for 2.16.
9184
edc21804
DM
91852012-03-16 David S. Miller <davem@davemloft.net>
9186
77e927af
DM
9187 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9188 warnings.
9189
374976dd
DM
9190 [BZ #6471]
9191 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9192 properly.
9193 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9194 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9195 sysdep_routines when subdir is sysvipc.
9196 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9197 __getshmlba helper.
9198
edc21804
DM
9199 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9200
473c3ef3
L
92012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9204 [__LP64__].
9205
eb0f39b6
L
92062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9209 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9210 (__lround): Renamed to ...
9211 (__llround): This. Replace long int with long long int.
9212 Define lround functions as aliases of llround functions.
9213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9214
6b6cd74b
L
92152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9218 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9219 adresses to uintptr_t. Replace "long int" and "unsigned long
9220 int" with "greg_t" on va_arg.
9221
f1a77b01
L
92222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9225 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9226
9227 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9228 Move e_machine check before EI_CLASS check. Handle x32
9229 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9230 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9231 SKIP_EM_IA_64 and include
9232 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9233
9234 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9235 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9236 (add_system_dir): New macro.
9237
9238 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9239 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9240
11b90b9f
JM
92412012-03-16 Joseph Myers <joseph@codesourcery.com>
9242
c36e1d23
JM
9243 [BZ #2551]
9244 [BZ #2552]
9245 [BZ #2553]
9246 [BZ #2554]
9247 [BZ #2562]
9248 [BZ #2563]
9249 [BZ #2565]
9250 [BZ #2566]
9251 [BZ #2576]
9252 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9253 (y0): Likewise.
9254 * math/w_j0f.c (j0f): Likewise.
9255 (y0f): Likewise.
9256 * math/w_j0l.c (__j0l): Likewise.
9257 (__y0l): Likewise.
9258 * math/w_j1.c (j1): Likewise.
9259 (y1): Likewise.
9260 * math/w_j1f.c (j1f): Likewise.
9261 (y1f): Likewise.
9262 * math/w_j1l.c (__j1l): Likewise.
9263 (__y1l): Likewise.
9264 * math/w_jn.c (jn): Likewise.
9265 (yn): Likewise.
9266 * math/w_jnf.c (jnf): Likewise.
9267 (ynf): Likewise.
9268 * math/w_jnl.c (__jnl): Likewise.
9269 (__ynl): Likewise.
9270 * math/libm-test.inc (j0_test): Add more tests.
9271 (j1_test): Likewise.
9272 (jn_test): Likewise. Add trailing semicolon to existing test.
9273 (y0_test): Likewise.
9274 (y1_test): Likewise.
9275 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9277
11b90b9f
JM
9278 [BZ #13851]
9279 [BZ #13854]
9280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9281 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9282 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9284 (__tanl): Set errno for infinite argument.
9285 * sysdeps/i386/fpu/mptan.c: Remove.
9286 * sysdeps/i386/fpu/s_tan.S: Likewise.
9287 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9288 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9289 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9290 * math/libm-test.inc (tan_test): Add more tests and enable more
9291 tests for double and long double.
9292 * sysdeps/i386/fpu/libm-test-ulps: Update.
9293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9294
6a1bd2a1
JK
92952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9296
9297 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9298 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9299
10a803e0
RM
93002012-03-16 Roland McGrath <roland@hack.frob.com>
9301
9302 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9303 * configure.in: Use it for both main tree and add-ons.
9304 * configure: Regenerated.
9305
f196c7f7
L
93062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9309
8848d99d
JM
93102012-03-16 Joseph Myers <joseph@codesourcery.com>
9311
96cbe7f4
JM
9312 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9313 in comment.
9314
8848d99d
JM
9315 [BZ #13851]
9316 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9317 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9321 infinite argument.
9322 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9324 != 0 for prec == 2.
9325 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9326 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9327 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9328 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9329 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9330 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9331 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9332 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9333 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9334 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9335 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9336 * math/libm-test.inc (cos_test): Add more tests and enable more
9337 tests for long double.
9338 (sin_test): Likewise.
9339 (sincos_test): Likewise.
9340 * sysdeps/i386/fpu/libm-test-ulps: Update.
9341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9342
dd7f4703
DM
93432012-03-16 David S. Miller <davem@davemloft.net>
9344
9345 * sysdeps/sparc/fpu/math_private.h: New file.
9346
006f1daa
DM
93472012-03-15 David S. Miller <davem@davemloft.net>
9348
c0c83bc8
DM
9349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9350 file.
e6a62e18 9351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9353 file.
e6a62e18
DM
9354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9360 sysdep routines.
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9362
88cb87d9
DM
9363 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9364 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9365
006f1daa 9366 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9368 sparc-ifunc.h
006f1daa 9369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9371 Likewise.
9372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9373 Likewise.
006f1daa
DM
9374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9378 Likewise.
006f1daa
DM
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9384 Likewise.
9385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9386 Likewise.
006f1daa
DM
9387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9411
11e0098e
AS
94122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9413
9414 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9415 scaling.
9416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9417
e85b09d0
AJ
94182012-03-15 Andreas Jaeger <aj@suse.de>
9419
9420 [BZ #13852]
9421 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9422 ieee754/flt-32 implementation for sin, cos and sincos.
9423 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9424 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9425 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9426 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9427 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9428 ieee754/flt-32 implementation for tan.
9429
9430 * math/libm-test.inc (cos_test): Enable some large input tests for
9431 float as well
9432 (sin_test): Likewise.
9433 (sincos_test): Likewise.
9434 (tan_test): Add tests for large input.
9435
9436 * sysdeps/i386/fpu/libm-test-ulps: Update.
9437
81c64153
AJ
94382012-03-15 Andreas Jaeger <aj@suse.de>
9439
9440 [BZ #13658]
9441 * math/libm-test.inc (cos_test): Add more test cases.
9442 (sin_test): Likewise.
9443 (sincos_test): Likewise.
9444
7bbfa5c6
AJ
94452012-03-15 Andreas Jaeger <aj@suse.de>
9446
9447 [BZ #13837]
9448 * math/libm-test.inc (cos_test): Add a test case for large input
9449 value.
9450 (sin_test): Likewise.
9451 (sincos_test): Likewise.
9452
94532012-03-15 Andreas Jaeger <aj@suse.de>,
9454 Joseph Myers <joseph@codesourcery.com>
9455
9456 [BZ #13658]
0671f479 9457 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9458 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9459 * sysdeps/i386/fpu/branred.c: Likewise.
9460 * sysdeps/i386/fpu/dosincos.c: Likewise.
9461 * sysdeps/i386/fpu/mpa.c: Likewise.
9462 * sysdeps/i386/fpu/s_cos.S: Likewise.
9463 * sysdeps/i386/fpu/s_sin.S: Likewise.
9464 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9465 * sysdeps/i386/fpu/sincos32.c: Likewise.
9466
9467 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9468 Define.
9469 (libc_feupdateenv_53bit): Define.
9470 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9471 Define.
9472 (libc_feupdateenv_53bit): Define.
9473
9474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9475 53 bit (without extend i386 double precision).
9476
9477 * math/libm-test.inc (sincos_test): Add tests for large input.
9478 (sin): Likewise.
9479 (cos): Likewise.
9480
9481 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9482
9cad04ea
AS
94832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9484
9485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9486
f7062b9a
DM
94872012-03-15 David S. Miller <davem@davemloft.net>
9488
9489 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9505 file.
f7062b9a 9506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9508 file.
f7062b9a 9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9511 file.
f7062b9a 9512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9514 file.
f7062b9a
DM
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9517 fmin/fmax sysdep routines.
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9519
7bd951ff
DM
95202012-03-14 David S. Miller <davem@davemloft.net>
9521
559398ab
DM
9522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9551 routines.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9553 file.
559398ab 9554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9556 file.
559398ab 9557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9559 file.
559398ab 9560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9562 file.
559398ab 9563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9565 file.
559398ab 9566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9568 file.
9569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9570 file.
9571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9572 file.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9574 file.
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9576 New file.
9577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9578 file.
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9580 file.
559398ab 9581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9583 file.
559398ab 9584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9586 file.
559398ab 9587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9589 file.
559398ab 9590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9592 VIS3 routines.
559398ab
DM
9593
9594 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9595 New file.
9596
5a1c1e32
DM
9597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9598
eae47a36
DM
9599 * sysdeps/sparc/configure.in: New file.
9600 * sysdeps/sparc/configure: Generate.
9601 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9602 * configure: Regenerate.
9603 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9604 * config.make.in (have-as-vis3): New.
9605 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9606 available use -Av9d instead of -Av9a.
9607 * sysdeps/sparc/sparc64/Makefile: Likewise.
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9610 New file.
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9612 file.
9613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9614 New file.
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9616 file.
eae47a36
DM
9617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9622
c0c83bc8
DM
9623 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9624 fzeros/fnegs to load 0x80000000 into a float register instead of
9625 using the stack.
7bd951ff
DM
9626 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9627
bd951ccb
JM
96282012-03-14 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9631 bits/syscall.h.
9632 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9633 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9634 ($(inst_includedir)/bits/syscall.h): Remove rule.
9635 ($(objpfx)bits/syscall.d): Include instead of
9636 $(objpfx)syscall-list.d.
9637 (generated): Change syscall-list.h and syscall-list.d to
9638 bits/syscall.h and bits/syscall.d.
9639
bb4e6db2
RM
96402012-03-14 Roland McGrath <roland@hack.frob.com>
9641
9642 [BZ #13846]
9643 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9644
aa4a2ae1
JM
96452012-03-14 Joseph Myers <joseph@codesourcery.com>
9646
e456826d
JM
9647 [BZ #13841]
9648 * math/s_csqrt.c: Include <float.h>.
9649 (__csqrt): Scale large or subnormal inputs.
9650 * math/s_csqrtf.c: Likewise.
9651 * math/s_csqrtl.c: Likewise.
9652 * math/libm-test.inc (csqrt_test): Add more tests.
9653 * sysdeps/i386/fpu/libm-test-ulps: Update.
9654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9655
aa4a2ae1
JM
9656 [BZ #13840]
9657 * math/libm-test.inc (hypot_test): Add more tests.
9658
7c10fd35
DM
96592012-03-13 David S. Miller <davem@davemloft.net>
9660
9661 [BZ #13840]
9662 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9663 double-precision for the calculation instead of scaling.
9664
f453b98b
JM
96652012-03-13 Joseph Myers <joseph@codesourcery.com>
9666
9667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9668 manipulate bits before adding and subtracting TWO52[sx].
9669 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9670 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9671 Likewise.
9672 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9673
09a3453f
DM
96742012-03-13 David S. Miller <davem@davemloft.net>
9675
8e59da90
DM
9676 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9677 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9679 rtld-global-offsets.h
9680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9681
2a8ab7f2
DM
9682 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9683 large parameters.
9684
10f62770
DM
9685 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9686
5f0bdb18
DM
9687 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9688 'err' in the ifdef scope in which it is actually used.
9689
09a3453f
DM
9690 * nss/nss_db/db-init.c: Include string.h
9691
b4b2eb5e
DM
96922012-03-12 David S. Miller <davem@davemloft.net>
9693
98bb2f1c
DM
9694 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9695 masking out of the most significant byte of random value used.
9696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9697 Fix coding style in previous change.
9698
b4b2eb5e
DM
9699 * sysdeps/unix/sysv/linux/kernel-features.h
9700 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9701 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9702 expression.
9703 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9704 later.
9705
6e226b09
DM
97062012-03-11 David S. Miller <davem@davemloft.net>
9707
a1bcbd40
DM
9708 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9709 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9711 for 'resultvar' otherwise things get truncated on 64-bit.
9712
cb9d6174
DM
9713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9714 Fix masking out of the most significant byte of random value used.
9715
6e226b09
DM
9716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9717
058c132d
AS
97182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9719
9720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9721
2d2cd515
DM
97222012-03-09 David S. Miller <davem@davemloft.net>
9723
9724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9725 variables with appropriate CPP guards.
9726 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9727 frame pointer, not the stack pointer. Correct layout comments. Fix test
9728 on resulting framesize and the management of the outregs buffer for pltexit.
9729 Preserve floating point return values across _dl_call_pltexit call.
9730 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9731 framesize and the management of the outregs buffer for pltexit.
9732 Preserve floating point return values across _dl_call_pltexit
9733 call.
9734 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9735 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9736 (print_exit): Fix format string for return register value.
9737
9a07f9d0
JM
97382012-03-10 Joseph Myers <joseph@codesourcery.com>
9739
9740 * sunrpc/Makefile (others): Add rpcgen.
9741 ($(objpfx)rpcgen): Remove special build rule and dependency on
9742 libc.
9743 * sunrpc/rpcgen.c: New file.
9744
547b5e30
PE
97452012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9746
c524201a
PE
9747 [BZ #13673]
9748 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9749 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9750 * sysdeps/i386/crti.S: Likewise.
9751 * sysdeps/i386/crtn.S: Likewise.
9752 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9753 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9754 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9755 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9756 * sysdeps/sh/crti.S: Likewise.
9757 * sysdeps/sh/crtn.S: Likewise.
9758 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9759
7b6235f2
PE
9760 [BZ #13673]
9761 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9762 with URL.
9763 * locale/programs/locfile-kw.gperf: Likewise.
9764 * locale/programs/charmap-kw.h: Regenerated.
9765 * locale/programs/locfile-kw.h: Likewise.
9766
547b5e30
PE
9767 [BZ #13673]
9768 * intl/plural.y: Replace FSF snail mail address with URL.
9769 * intl/plural.c: Regenerated.
9770
5f0a5dae
RH
97712012-03-09 Richard Henderson <rth@twiddle.net>
9772
9773 * include/math_private.h: Remove file.
9774 * math/math_private.h: Move file ...
9775 * sysdeps/generic/math_private.h: ... here.
9776
b8c03620
RH
9777 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9778 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9779 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9780
4e234f5d 9781 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9782 and <math_private.h>.
9783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9834 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9835 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9836 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9837 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9838 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9839 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9840 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9842 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9844 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9848 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9849 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9862 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9863 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9864 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9865 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9867 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9870 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9871 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9873 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9874 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9876 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9877 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9878 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9879 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9880 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9881 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9882 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9883 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9884 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9885 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9886 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9887 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9888 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9889 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9890 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9895 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9896 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9897 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9899 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9900 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9901 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9902 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9903 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9904 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9905 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9906 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9907 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9908 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9910 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9911 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9912 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9913 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9914 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9915 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9916 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9917 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9918 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9919 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9920 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9921 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9922 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9924 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9925 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9926 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9928 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9929 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9931 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9932 * sysdeps/ieee754/k_standard.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10050 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10052 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10055 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10060 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10065 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10070 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10082 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10083 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10093 * sysdeps/ieee754/s_lib_version.c: Likewise.
10094 * sysdeps/ieee754/s_matherr.c: Likewise.
10095 * sysdeps/ieee754/s_signgam.c: Likewise.
10096 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10097 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10098 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10099 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10100 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10101 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10102 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10103 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10104 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10105 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10106 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10107 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10108 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10109 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10110 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10111 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10113 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10117
1991fa03
JM
101182012-03-09 Joseph Myers <joseph@codesourcery.com>
10119
10120 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10121 * sunrpc/rpc_main.c: Likewise.
10122 * sunrpc/rpc_svcout.c: Likewise.
10123
60d6f5a6
DM
101242012-03-09 David S. Miller <davem@davemloft.net>
10125
10126 * include/math_private.h: New file.
10127
4962050e
JM
101282012-03-09 Joseph Myers <joseph@codesourcery.com>
10129
02a6f887
JM
10130 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10131 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10132 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10133 from <bits/socket_type.h>.
10134 (enum __socket_type): Don't define here.
10135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10137 bits/socket_type.h.
10138
c6e013c1
JM
10139 [BZ #13566]
10140 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10141 checking __USE_GNU.
10142
4962050e
JM
10143 * Makerules ($(inst_includedir)/%.h): New rule.
10144 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10145 (install-others): Remove variable setting.
10146 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10147
38842f45
RH
101482012-03-08 Richard Henderson <rth@twiddle.net>
10149
67bb6da6
RH
10150 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10151 from macro to inline function; merge with the
10152 !__LIBC_INTERNAL_MATH_INLINES version.
10153 (__ieee754_sqrtf): Likewise.
10154
15194b4b
RH
10155 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10156 to inline function.
10157 (__rintf, __floor, __floorf): Likewise.
10158
64e21ede
RH
10159 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10160 macro to inline function.
10161 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10162
38842f45
RH
10163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10164 not <math/math_private.h>.
10165
c64bf5fe
DM
101662012-03-08 David S. Miller <davem@davemloft.net>
10167
10168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10169 copyright year.
10170 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10171
82d86f28
TS
101722012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10173
10174 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10175 normalization.
10176 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10177 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10178
aea5d727
UD
101792012-03-08 Ulrich Drepper <drepper@gmail.com>
10180
10181 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10182 be defined individually, they must be defined as a block. Define
10183 S for printing a string instead of hidint the different by using a
10184 macro for adding the 'l'.
10185 * stdio-common/tst-fphex-wide.c: Adjust.
10186
70bca0a3
MP
101872012-03-07 Marek Polacek <polacek@redhat.com>
10188
10189 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10190
65b81130
MP
101912012-03-08 Marek Polacek <polacek@redhat.com>
10192
10193 [BZ #13806]
10194 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10195 * stdio-common/tst-fphex.c: Define a few macros to make the
10196 test reusable. Use them.
10197 * stdio-common/tst-fphex-wide.c: New file.
10198
07037eeb
JM
101992012-03-08 Joseph Myers <joseph@codesourcery.com>
10200
a7a93d50
JM
10201 [BZ #6911]
10202 * manual/macros.texi (gnusystems): New macro.
10203 (nongnusystems): Likewise.
10204 (gnulinuxhurdsystems): Likewise.
10205 (gnuhurdsystems): Likewise..
10206 (gnulinuxsystems): Likewise.
10207 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10208 variants of the GNU system, not "GNU system".
10209 * manual/conf.texi: Likewise.
10210 * manual/errno.texi: Likewise. Update example of errno macro
10211 expansion.
10212 * manual/filesys.texi: Likewise.
10213 (getumask): Document as specific to GNU/Hurd.
10214 * manual/install.texi: Likewise. Reword some references to
10215 GNU/Linux.
10216 * manual/intro.texi: Likewise.
10217 * manual/io.texi: Likewise.
10218 (File Name Portability): Detail which constraints are inapplicable
10219 to all GNU systems and which are only inapplicable to GNU/Hurd.
10220 * manual/job.texi: Likewise.
10221 * manual/llio.texi: Likewise.
10222 (O_NOCTTY): Document as present on GNU/Linux.
10223 * manual/maint.texi: Likewise.
10224 * manual/memory.texi: Likewise.
10225 * manual/pattern.texi: Likewise.
10226 * manual/pipe.texi: Likewise.
10227 * manual/process.texi: Likewise.
10228 * manual/resource.texi: Likewise.
10229 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10230 child on GNU/Hurd.
10231 * manual/setjmp.texi: Likewise.
10232 * manual/signal.texi: Likewise.
10233 * manual/startup.texi: Likewise.
10234 * manual/stdio.texi: Likewise.
10235 * manual/terminal.texi: Likewise.
10236 (ONLCR): Document as POSIX.
10237 (OXTABS): Document availability on GNU/Linux as XTABS.
10238 (ONOEOT): Document availability separately from other bits.
10239 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10240 * manual/time.texi: Likewise.
10241 * manual/users.texi: Likewise.
10242 * INSTALL: Regenerated.
10243 * sysdeps/gnu/errlist.c: Regenerated.
10244
07037eeb
JM
10245 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10246 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10247 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10248 puts.
10249 * configure: Regenerated.
10250
d1d3431a
JM
102512012-03-07 Joseph Myers <joseph@codesourcery.com>
10252
af6a1e37
JM
10253 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10254 default includes instead of AC_HEADER_CHECK.
10255 * sysdeps/i386/configure: Regenerated.
10256
d1d3431a
JM
10257 [BZ #10716]
10258 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10259 * math/s_cacoshf.c (__cacoshf): Likewise.
10260 * math/s_cacoshl.c (__cacoshl): Likewise.
10261 * math/s_casinh.c (__casinh): Set signs of result from argument.
10262 * math/s_casinhf.c (__casinhf): Likewise.
10263 * math/s_casinhl.c (__casinhl): Likewise.
10264 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10265 (casinh_test): Add more tests.
10266 * sysdeps/i386/fpu/libm-test-ulps: Update.
10267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10268
482ff4da
UD
102692012-03-07 Ulrich Drepper <drepper@gmail.com>
10270
872fda05
UD
10271 * po/zh_TW.po: Update from translation team.
10272
a4300c7a
UD
10273 * login/Makefile (distribute): Remove variable.
10274 * catgets/Makefile: Likewise.
10275 * mach/Makefile: Likewise.
10276 * malloc/Makefile: Likewise.
10277 * misc/Makefile: Likewise.
10278 * iconv/Makefile: Likewise.
10279 * nscd/Makefile: Likewise.
10280 * hurd/Makefile: Likewise.
10281 * manual/Makefile: Likewise.
10282 * locale/Makefile: Likewise.
10283 * intl/Makefile: Likewise.
10284 * conform/Makefile: Likewise.
10285 * nss/Makefile: Likewise.
10286 * time/Makefile: Likewise.
10287 * soft-fp/Makefile: Likewise.
10288 * dirent/Makefile: Likewise.
10289 * gmon/Makefile: Likewise.
10290 * po/Makefile: Likewise.
10291 * rt/Makefile: Likewise.
10292 * socket/Makefile: Likewise.
10293 * math/Makefile: Likewise.
10294 * signal/Makefile: Likewise.
10295 * debug/Makefile: Likewise.
10296 * elf/Makefile: Likewise.
10297 * timezone/Makefile: Likewise.
10298 * stdlib/Makefile: Likewise.
10299 * iconvdata/Makefile: Likewise.
10300 * sunrpc/Makefile: Likewise.
10301 * io/Makefile: Likewise.
10302 * argp/Makefile: Likewise.
10303 * inet/Makefile: Likewise.
10304 * hesiod/Makefile: Likewise.
10305 * grp/Makefile: Likewise.
10306 * csu/Makefile: Likewise.
10307 * wctype/Makefile: Likewise.
10308 * crypt/Makefile: Likewise.
10309 * libio/Makefile: Likewise.
10310 * string/Makefile: Likewise.
10311 * nis/Makefile: Likewise.
10312 * resolv/Makefile: Likewise.
10313 * stdio-common/Makefile: Likewise.
10314 * wcsmbs/Makefile: Likewise.
10315 * dlfcn/Makefile: Likewise.
10316 * posix/Makefile: Likewise.
10317
3b7c4e74 10318 [BZ #6959]
482ff4da
UD
10319 * timezone/Makefile: Don't install timezone files, just the programs
10320 and scripts.
10321
f72ed77d
UD
103222012-03-06 Ulrich Drepper <drepper@gmail.com>
10323
a000466f
UD
10324 * nss/databases.def: Add missing gshadow entry.
10325
f72ed77d
UD
10326 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10327
a53b7a4e
MP
103282012-03-06 Marek Polacek <polacek@redhat.com>
10329
10330 [BZ #13726]
10331 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10332 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10333 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10334 * stdio-common/tst-long-dbl-fphex.c: New file.
10335
e9258400
DM
103362012-03-06 David S. Miller <davem@davemloft.net>
10337
10338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10339 (set_obp_int): New function.
10340 (get_obp_int): New function.
10341 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10343 Avoid unused variable warnings on 'val' and use builtin_expect.
10344 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10345 __builtin_expect.
e9258400
DM
10346 (INLINE_CLONE_SYSCALL): Likewise.
10347
3bd2c723
DM
103482012-03-05 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10351
bbb78d03
AS
103522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10353
884c5db4
AS
10354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10355
bbb78d03
AS
10356 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10357 only for |x| >= 40.
10358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10359
1c9f702a 103602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10361
10362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10363 Replace gettimeofday with __vdso_gettimeofday.
10364
7be16f82
RM
10365 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10366 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10367 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10368
10369 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10370 time with __vdso_time.
10371
ed58a00f
JM
103722012-03-05 Joseph Myers <joseph@codesourcery.com>
10373
10374 * manual/lang.texi (size_t): Note types to which size_t may be
10375 equivalent with the GNU C Library, but do not describe when
10376 differences between them are significant.
10377
30ee4ced
AJ
103782012-03-05 Andreas Jaeger <aj@suse.de>
10379
10380 * sysdeps/i386/fpu/libm-test-ulps: Update.
10381
b7cd39e8
JM
103822012-03-05 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #3976]
10385 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10386 (__ieee754_pow): Save and restore rounding mode and use
10387 round-to-nearest for main computations.
10388 * math/libm-test.inc (pow_test_tonearest): New function.
10389 (pow_test_towardzero): Likewise.
10390 (pow_test_downward): Likewise.
10391 (pow_test_upward): Likewise.
10392 (main): Call the new functions.
10393 * sysdeps/i386/fpu/libm-test-ulps: Update.
10394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10395
10396 [BZ #3976]
10397 * math/libm-test.inc (cosh_test_tonearest): New function.
10398 (cosh_test_towardzero): Likewise.
10399 (cosh_test_downward): Likewise.
10400 (cosh_test_upward): Likewise.
10401 (sinh_test_tonearest): Likewise.
10402 (sinh_test_towardzero): Likewise.
10403 (sinh_test_downward): Likewise.
10404 (sinh_test_upward): Likewise.
10405 (main): Call the new functions.
10406 * sysdeps/i386/fpu/libm-test-ulps: Update.
10407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10408
6c6a98c9
TV
104092012-03-05 Tom de Vries <tom@codesourcery.com>
10410
10411 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10412 default stack guard is set in last bytes.
10413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10414
21bb2d2e 104152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10416
21bb2d2e 10417 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10418
21bb2d2e
AJ
10419 [BZ #13656]
10420 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10421 possibly allocate from heap instead of stack.
10422 * stdio-common/bug-vfprintf-nargs.c: New file.
10423 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10424
c6922934
AS
104252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10426
10427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10428
bc957d53
MP
104292012-03-03 Marek Polacek <polacek@redhat.com>
10430
10431 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10432 * math/math_private.h: Likewise.
10433 * stdlib/tst-strtod.c: Likewise.
10434 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10435 * sysdeps/x86_64/bits/atomic.h: Likewise.
10436
6358490d
DM
104372012-03-02 David S. Miller <davem@davemloft.net>
10438
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10447
01ae168d
RM
104482012-03-02 Roland McGrath <roland@hack.frob.com>
10449
d9a17c07
RM
10450 [BZ #13792]
10451 * manual/examples/README: New file, says the example source files
10452 can be used under GPL>=2.
10453 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10454 line containing just "*/".
10455 * manual/examples/add.c: Add copyright header (GPL>=2).
10456 * manual/examples/argp-ex1.c: Likewise.
10457 * manual/examples/argp-ex2.c: Likewise.
10458 * manual/examples/argp-ex3.c: Likewise.
10459 * manual/examples/argp-ex4.c: Likewise.
10460 * manual/examples/atexit.c: Likewise.
10461 * manual/examples/db.c: Likewise.
10462 * manual/examples/dir.c: Likewise.
10463 * manual/examples/dir2.c: Likewise.
10464 * manual/examples/execinfo.c: Likewise.
10465 * manual/examples/filecli.c: Likewise.
10466 * manual/examples/filesrv.c: Likewise.
10467 * manual/examples/fmtmsgexpl.c: Likewise.
10468 * manual/examples/genpass.c: Likewise.
10469 * manual/examples/inetcli.c: Likewise.
10470 * manual/examples/inetsrv.c: Likewise.
10471 * manual/examples/isockad.c: Likewise.
10472 * manual/examples/longopt.c: Likewise.
10473 * manual/examples/memopen.c: Likewise.
10474 * manual/examples/memstrm.c: Likewise.
10475 * manual/examples/mkfsock.c: Likewise.
10476 * manual/examples/mkisock.c: Likewise.
10477 * manual/examples/mygetpass.c: Likewise.
10478 * manual/examples/pipe.c: Likewise.
10479 * manual/examples/popen.c: Likewise.
10480 * manual/examples/rprintf.c: Likewise.
10481 * manual/examples/search.c: Likewise.
10482 * manual/examples/select.c: Likewise.
10483 * manual/examples/setjmp.c: Likewise.
10484 * manual/examples/sigh1.c: Likewise.
10485 * manual/examples/sigusr.c: Likewise.
10486 * manual/examples/stpcpy.c: Likewise.
10487 * manual/examples/strdupa.c: Likewise.
10488 * manual/examples/strftim.c: Likewise.
10489 * manual/examples/strncat.c: Likewise.
10490 * manual/examples/subopt.c: Likewise.
10491 * manual/examples/swapcontext.c: Likewise.
10492 * manual/examples/termios.c: Likewise.
10493 * manual/examples/testopt.c: Likewise.
10494 * manual/examples/testpass.c: Likewise.
10495 * manual/examples/timeval_subtract.c: Likewise.
10496
01ae168d
RM
10497 [BZ #13792]
10498 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10499 function to ...
10500 * manual/timeval_subtract.c.texi: ... here, new file.
10501
49efa33d
DM
105022012-03-02 David S. Miller <davem@davemloft.net>
10503
10504 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10505
28afd92d
JM
105062012-03-02 Joseph Myers <joseph@codesourcery.com>
10507
804360ed
JM
10508 [BZ #3976]
10509 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10510 (__sin): Save and restore rounding mode and use round-to-nearest
10511 for all computations.
10512 (__cos): Save and restore rounding mode and use round-to-nearest
10513 for all computations.
10514 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10515 <fenv.h>.
10516 (tan): Save and restore rounding mode and use round-to-nearest for
10517 all computations.
10518 * math/libm-test.inc (cos_test_tonearest): New function.
10519 (cos_test_towardzero): Likewise.
10520 (cos_test_downward): Likewise.
10521 (cos_test_upward): Likewise.
10522 (sin_test_tonearest): Likewise.
10523 (sin_test_towardzero): Likewise.
10524 (sin_test_downward): Likewise.
10525 (sin_test_upward): Likewise.
10526 (tan_test_tonearest): Likewise.
10527 (tan_test_towardzero): Likewise.
10528 (tan_test_downward): Likewise.
10529 (tan_test_upward): Likewise.
10530 (main): Call the new functions.
10531 * sysdeps/i386/fpu/libm-test-ulps: Update.
10532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10533
a6d06d7b
JM
10534 [BZ #10135]
10535 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10536 small n, then large n, before computing and testing k+n.
10537 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10539 Likewise.
10540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10541 Likewise.
10542 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10543 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10548 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10549 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10550 * math/libm-test.inc (scalbn_test): Add more tests.
10551 (scalbln_test): Likewise.
10552
07e12bb3
JM
10553 * manual/filesys.texi (mode_t): Describe constraints on size and
10554 signedness, not exact equivalence to a particular type.
10555 (ino_t): Likewise.
10556 (ino64_t): Likewise.
10557 (dev_t): Likewise.
10558 (nlink_t): Likewise.
10559 (blkcnt_t): Likewise.
10560 (blkcnt64_t): Likewise.
10561 * manual/llio.texi (off_t): Likewise.
10562
28afd92d
JM
10563 [BZ #3976]
10564 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10565 (__ieee754_exp): Save and restore rounding mode and use
10566 round-to-nearest for all computations.
10567 * math/libm-test.inc (exp_test_tonearest): New function.
10568 (exp_test_towardzero): Likewise.
10569 (exp_test_downward): Likewise.
10570 (exp_test_upward): Likewise.
10571 (main): Call the new functions.
10572 * sysdeps/i386/fpu/libm-test-ulps: Update.
10573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574
b1eeb65d
CD
105752012-03-01 Chris Demetriou <cgd@google.com>
10576
10577 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10578 have predictable order.
10579
53362a4b
DM
105802012-03-01 David S. Miller <davem@davemloft.net>
10581
3c969083
DM
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10583
759707de
DM
10584 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10585 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10586 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10587 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10588
dfdb8ff2
DM
10589 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10590 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10591 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10593 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10594 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10595 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10596 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10597 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10598
ead89f96
DM
10599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10600
7f66bd07
DM
10601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10602 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10604
53362a4b
DM
10605 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10607 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10608 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10609 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10612 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10614 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10615 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10621 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10622 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10623 * sysdeps/sparc/elf/configure: Regenerated.
10624
7b1902cb
JM
106252012-03-01 Joseph Myers <joseph@codesourcery.com>
10626
bec039bc
JM
10627 * configure.in (AS, LD): Require binutils 2.20 or later.
10628 * configure: Regenerated.
10629 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10630 as required minimum version.
10631 * INSTALL: Regenerated.
10632
7b1902cb
JM
10633 [BZ #2541]
10634 [BZ #4108]
10635 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10636 before squaring exponent.
10637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10638 bottom long double and 27 bits of top long double before squaring
10639 exponent.
10640 * math/libm-test.inc (erfc_test): Add more tests.
10641 * sysdeps/i386/fpu/libm-test-ulps: Update.
10642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644
f775c276
KT
106452012-03-01 Kai Tietz <ktietz@redhat.com>
10646
10647 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10648 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10649 containing bit-fields.
10650 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10651 * soft-fp/single.h (_FP_UNION_S): Likewise.
10652 * soft-fp/double.h (_FP_UNION_D): Likewise.
10653
5b8a4d4a
JM
106542012-02-29 Joseph Myers <joseph@codesourcery.com>
10655
0bab47b6
JM
10656 [BZ #13786]
10657 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10658 not include ../strcmp.S.
10659 [USE_AS_STRNCASECMP_L]: Likewise.
10660 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10661 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10662 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10663 (__strncasecmp_l_ia32): Define as alias to
10664 __strncasecmp_l_nonascii.
10665
0fcad3e2
JM
10666 [BZ #5794]
10667 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
5b8a4d4a
JM
10671 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673
8fdceb2e
JL
106742012-02-29 Jeff Law <law@redhat.com>
10675
10676 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10677 out of bounds read.
10678
1f393a11
MP
106792012-02-29 Marek Polacek <polacek@redhat.com>
10680
10681 [BZ #13706]
10682 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10683 * elf/Makefile: Add rules to run tst-unused-dep.out.
10684
8847f037
DM
106852012-02-28 David S. Miller <davem@davemloft.net>
10686
10687 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10688 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10693
169d7f11
JM
106942012-02-29 Joseph Myers <joseph@codesourcery.com>
10695
10696 * math/libm-test.inc (llround_test): Move one test from
10697 lround_test. Use TEST_f_L in moved test.
10698 (lround_test): Move misplaced test to llround_test. Add testcase
10699 from bug 2561.
10700
39adf059
UD
107012012-02-28 Ulrich Drepper <drepper@gmail.com>
10702
10703 * sysdeps/x86_64/fpu/e_expf.S: New file.
10704 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10705
71b5d1c5
SB
107062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10707
10708 [BZ #13637]
10709 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10710 of remain_len that may cause incomplete multi-byte character and
10711 false match.
10712 * posix/bug-regex33.c: New file.
10713 * posix/Makefile (tests): Add bug-regex33.
10714
1f77f049
JM
107152012-02-28 Joseph Myers <joseph@codesourcery.com>
10716
10717 * manual/macros.texi: New file.
10718 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10719 * manual/libc.texinfo: Include macros.texi.
10720 * manual/creatute.texi: Likewise.
10721 * manual/install.texi: Likewise.
10722 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10723 @glibcadj{} in references to the GNU C Library.
10724 * manual/charset.texi: Likewise.
10725 * manual/conf.texi: Likewise.
10726 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10727 when not using those macros.
10728 * manual/creature.texi: Likewise.
10729 * manual/crypt.texi: Likewise.
10730 * manual/errno.texi: Likewise.
10731 * manual/filesys.texi: Likewise.
10732 * manual/header.texi: Likewise.
10733 * manual/install.texi: Likewise.
10734 * manual/intro.texi: Likewise.
10735 * manual/io.texi: Likewise.
10736 * manual/job.texi: Likewise.
10737 * manual/lang.texi: Likewise.
10738 * manual/libc.texiinfo: Likewise.
10739 * manual/llio.texi: Likewise.
10740 * manual/locale.texi: Likewise.
10741 * manual/maint.texi: Likewise.
10742 * manual/math.texi: Likewise.
10743 * manual/memory.texi: Likewise.
10744 * manual/message.texi: Likewise.
10745 * manual/nss.texi: Likewise.
10746 * manual/pattern.texi: Likewise.
10747 * manual/process.texi: Likewise.
10748 * manual/resource.texi: Likewise.
10749 * manual/search.texi: Likewise.
10750 * manual/setjmp.texi: Likewise.
10751 * manual/signal.texi: Likewise.
10752 * manual/socket.texi: Likewise.
10753 * manual/startup.texi: Likewise.
10754 * manual/stdio.texi: Likewise.
10755 * manual/string.texi: Likewise.
10756 * manual/sysinfo.texi: Likewise.
10757 * manual/syslog.texi: Likewise.
10758 * manual/terminal.texi: Likewise.
10759 * manual/time.texi: Likewise.
10760 * manual/users.texi: Likewise.
10761 * INSTALL: Regenerated.
10762 * NOTES: Regenerated.
d40c5d54 10763 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10764
450bf206
AS
107652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10766
10767 * include/dirent.h: Include <dirstream.h> before
10768 <dirent/dirent.h>.
10769
741a235b
DM
107702012-02-28 David S. Miller <davem@davemloft.net>
10771
10772 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10773 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10774 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10775 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10776
d6b5aa58
DM
107772012-02-27 David S. Miller <davem@davemloft.net>
10778
1aff59a3
DM
10779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10781 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10782 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10783
d6b5aa58
DM
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10785 frame pointer instead of stack pointer relative arg slot.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10787 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10788 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10789
433f48bf
CD
107902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10791
10792 [BZ #3992]
10793 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10794
d674b76d
DM
107952012-02-27 David S. Miller <davem@davemloft.net>
10796
10797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10801 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10802 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10803 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10804 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10805
0e7727f7
JM
108062012-02-27 Joseph Myers <joseph@codesourcery.com>
10807
10808 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10809 later. Allow versions 5-9.
43be4ca2 10810 * configure: Regenerated.
0e7727f7
JM
10811 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10812 required minimum version and 4.6 as recommended version. Do not
10813 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10814 * INSTALL: Regenerated.
0e7727f7 10815
a78bc654
DM
108162012-02-27 David S. Miller <davem@davemloft.net>
10817
428d5830
DM
10818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10822 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10824 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10826
a78bc654
DM
10827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10828 manipulate bits before adding and subtracting TWO112[sx].
10829 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10830
4579f81c
RM
108312012-02-27 Roland McGrath <roland@hack.frob.com>
10832
36c8acb4
RM
10833 [BZ #13775]
10834 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10835 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10836 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10837 being in POSIX, because they are in 1003.1-2008.
10838
84ad622b
RM
10839 * rt/tst-aio.c: Include <fcntl.h>.
10840 * rt/tst-aio7.c: Likewise.
10841 * rt/tst-aio64.c: Likewise.
10842
4579f81c
RM
10843 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10844
abd923db
JM
108452012-02-27 Joseph Myers <joseph@codesourcery.com>
10846
10847 * manual/install.texi (--with-headers): Describe headers as
10848 interface headers, not private headers.
10849 (Specific advice for GNU/Linux systems): Describe use of headers
10850 from "make headers_install", not private headers from older
10851 kernels.
43be4ca2 10852 * INSTALL: Regenerated.
abd923db
JM
10853 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10854 Change to 2.6.19.
10855 * sysdeps/unix/sysv/linux/configure: Regenerated.
10856
6664049b
JM
10857 * manual/llio.texi (fclean): Remove documentation.
10858
bb8b6697
JM
10859 * manual/Makefile (libc-texi-generated): New variable. Include
10860 version.texi.
10861 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10862 $(libc-texi-generated), not duplicated list of files.
10863 (version.texi, stamp-version): New rules.
10864 (realclean): Remove $(libc-texi-generated), not individual files
10865 from that list. Do not remove dir-add.texinfo.
10866 * manual/libc.texinfo: Comment out uses of edition numbers and
10867 references to printed manual. Remove last-updated dates.
10868 (EDITION): Comment out.
10869 (ISBN): Likewise.
10870 (VERSION, UPDATED): Remove.
10871 (version.texi): Include.
10872
12e5c3b9
AS
108732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10874
10875 * sysdeps/posix/spawni.c: Include <signal.h>.
10876 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10877 * sysdeps/pthread/aio_fsync.c: Likewise.
10878
4efeffc1 108792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10880
ba63ba08
UD
10881 * conform/Makefile (tests): Run only when not cross-compiling and
10882 when fast-check is not defined.
10883
d94a4670
UD
10884 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10885 * conform/data/limits.h-data: Fixes for POSIX2008.
10886 * conform/run-conformtest.sh: Run all tests.
10887 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10888 headers.
10889 * include/bits/dlfcn.h: Likewise.
10890 * include/langinfo.h: Likewise.
10891 * include/monetary.h: Likewise.
10892 * include/sys/poll.h: Likewise.
10893
10894 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10895 for __USE_GNU.
10896 * posix/spawn.h: Define __need_sigset_t.
10897 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10898 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10899 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10900 to get sigevent_t only.
10901 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10902 only for __USE_GNU.
10903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10904 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10905 process_vm_writev only for __USE_GNU.
10906 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10907
10908 * conform/Makefile: For now ignore errors from run-conformtest.
10909 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10910 POSIX to avoid namespace pollution. Don't prepend headers.
10911 * conform/data/aio.h-data: Fixes for POSIX testing.
10912 * conform/data/fcntl.h-data: Likewise.
10913 * conform/data/glob.h-data: Likewise.
10914 * conform/data/grp.h-data: Likewise.
10915 * conform/data/pthread.h-data: Likewise.
10916 * conform/data/pwd.h-data: Likewise.
10917 * conform/data/signal.h-data: Likewise.
10918 * conform/data/spawn.h-data: Likewise.
10919 * conform/data/stdio.h-data: Likewise.
10920 * conform/data/stdlib.h-data: Likewise.
10921 * conform/data/stropts.h-data: Likewise.
10922 * conform/data/sys/mman.h-data: Likewise.
10923 * conform/data/sys/stat.h-data: Likewise.
10924 * conform/data/sys/types.h-data: Likewise.
10925 * conform/data/sys/wait.h-data: Likewise.
10926 * conform/data/time.h-data: Likewise.
10927 * conform/data/unistd.h-data: Likewise.
10928 * conform/data/utime.h-data: Likewise.
10929
10930 * io/sys/stat.h: fchmod was always in POSIX.
10931 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10932 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10933 * rt/aio.h: Define __need_timespec before including <time.h>.
10934 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10935 struct. Add forward declaration of pthread_attr_t and use it in
10936 sigevent.
10937 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10939 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10940 always remove CLK_TCK definition.
10941
c20105c3
AS
109422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10943
10944 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10945
7a270350
UD
109462012-02-25 Ulrich Drepper <drepper@gmail.com>
10947
31341567
UD
10948 * conform/run-conformtest.sh: New file.
10949 * conform/Makefile: Run run-conformtest for tests.
10950 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10951 support.
10952
10953 * conform/data/uchar.h-data: New file.
10954 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10955 * conform/data/arpa/inet.h-data: Likewise.
10956 * conform/data/assert.h-data: Likewise.
10957 * conform/data/complex.h-data: Likewise.
10958 * conform/data/cpio.h-data: Likewise.
10959 * conform/data/ctype.h-data: Likewise.
10960 * conform/data/dirent.h-data: Likewise.
10961 * conform/data/dlfcn.h-data: Likewise.
10962 * conform/data/errno.h-data: Likewise.
10963 * conform/data/fcntl.h-data: Likewise.
10964 * conform/data/float.h-data: Likewise.
10965 * conform/data/fmtmsg.h-data: Likewise.
10966 * conform/data/fnmatch.h-data: Likewise.
10967 * conform/data/ftw.h-data: Likewise.
10968 * conform/data/glob.h-data: Likewise.
10969 * conform/data/grp.h-data: Likewise.
10970 * conform/data/iconv.h-data: Likewise.
10971 * conform/data/inttypes.h-data: Likewise.
10972 * conform/data/langinfo.h-data: Likewise.
10973 * conform/data/libgen.h-data: Likewise.
10974 * conform/data/limits.h-data: Likewise.
10975 * conform/data/locale.h-data: Likewise.
10976 * conform/data/math.h-data: Likewise.
10977 * conform/data/monetary.h-data: Likewise.
10978 * conform/data/mqueue.h-data: Likewise.
10979 * conform/data/ndbm.h-data: Likewise.
10980 * conform/data/net/if.h-data: Likewise.
10981 * conform/data/netdb.h-data: Likewise.
10982 * conform/data/netinet/in.h-data: Likewise.
10983 * conform/data/nl_types.h-data: Likewise.
10984 * conform/data/poll.h-data: Likewise.
10985 * conform/data/pthread.h-data: Likewise.
10986 * conform/data/pwd.h-data: Likewise.
10987 * conform/data/regex.h-data: Likewise.
10988 * conform/data/sched.h-data: Likewise.
10989 * conform/data/search.h-data: Likewise.
10990 * conform/data/semaphore.h-data: Likewise.
10991 * conform/data/setjmp.h-data: Likewise.
10992 * conform/data/signal.h-data: Likewise.
10993 * conform/data/spawn.h-data: Likewise.
10994 * conform/data/stdarg.h-data: Likewise.
10995 * conform/data/stdio.h-data: Likewise.
10996 * conform/data/stdlib.h-data: Likewise.
10997 * conform/data/string.h-data: Likewise.
10998 * conform/data/strings.h-data: Likewise.
10999 * conform/data/stropts.h-data: Likewise.
11000 * conform/data/sys/ipc.h-data: Likewise.
11001 * conform/data/sys/mman.h-data: Likewise.
11002 * conform/data/sys/msg.h-data: Likewise.
11003 * conform/data/sys/resource.h-data: Likewise.
11004 * conform/data/sys/select.h-data: Likewise.
11005 * conform/data/sys/sem.h-data: Likewise.
11006 * conform/data/sys/shm.h-data: Likewise.
11007 * conform/data/sys/socket.h-data: Likewise.
11008 * conform/data/sys/stat.h-data: Likewise.
11009 * conform/data/sys/statvfs.h-data: Likewise.
11010 * conform/data/sys/time.h-data: Likewise.
11011 * conform/data/sys/timeb.h-data: Likewise.
11012 * conform/data/sys/times.h-data: Likewise.
11013 * conform/data/sys/types.h-data: Likewise.
11014 * conform/data/sys/uio.h-data: Likewise.
11015 * conform/data/sys/un.h-data: Likewise.
11016 * conform/data/sys/utsname.h-data: Likewise.
11017 * conform/data/sys/wait.h-data: Likewise.
11018 * conform/data/syslog.h-data: Likewise.
11019 * conform/data/tar.h-data: Likewise.
11020 * conform/data/termios.h-data: Likewise.
11021 * conform/data/utime.h-data: Likewise.
11022 * conform/data/utmpx.h-data: Likewise.
11023 * conform/data/varargs.h-data: Likewise.
11024 * conform/data/wchar.h-data: Likewise.
11025 * conform/data/wctype.h-data: Likewise.
11026 * conform/data/wordexp.h-data: Likewise.
11027
11028 * include/stropts.h: New file.
11029 * include/uchar.h: New file.
11030 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11031 * include/assert.h: Likewise.
11032 * include/ctype.h: Likewise.
11033 * include/dirent.h: Likewise.
11034 * include/dlfcn.h: Likewise.
11035 * include/fcntl.h: Likewise.
11036 * include/fnmatch.h: Likewise.
11037 * include/glob.h: Likewise.
11038 * include/grp.h: Likewise.
11039 * include/libio.h: Likewise.
11040 * include/locale.h: Likewise.
11041 * include/math.h: Likewise.
11042 * include/net/if.h: Likewise.
11043 * include/netdb.h: Likewise.
11044 * include/netinet/in.h: Likewise.
11045 * include/pthread.h: Likewise.
11046 * include/pwd.h: Likewise.
11047 * include/regex.h: Likewise.
11048 * include/sched.h: Likewise.
11049 * include/search.h: Likewise.
11050 * include/setjmp.h: Likewise.
11051 * include/signal.h: Likewise.
11052 * include/stdio.h: Likewise.
11053 * include/stdlib.h: Likewise.
11054 * include/string.h: Likewise.
11055 * include/sys/cdefs.h: Likewise.
11056 * include/sys/mman.h: Likewise.
11057 * include/sys/msg.h: Likewise.
11058 * include/sys/resource.h: Likewise.
11059 * include/sys/select.h: Likewise.
11060 * include/sys/socket.h: Likewise.
11061 * include/sys/stat.h: Likewise.
11062 * include/sys/statvfs.h: Likewise.
11063 * include/sys/time.h: Likewise.
11064 * include/sys/times.h: Likewise.
11065 * include/sys/uio.h: Likewise.
11066 * include/sys/utsname.h: Likewise.
11067 * include/sys/wait.h: Likewise.
11068 * include/termios.h: Likewise.
11069 * include/time.h: Likewise.
11070 * include/ulimit.h: Likewise.
11071 * include/unistd.h: Likewise.
11072 * include/utime.h: Likewise.
11073 * include/wchar.h: Likewise.
11074 * include/wctype.h: Likewise.
11075 * include/wordexp.h: Likewise.
11076
11077 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11078
7a270350
UD
11079 * time/time.h: TIME_UTC must be a macro.
11080 Make timespec_get available for ISO C11 only as well.
11081
7724defc
UD
110822012-02-24 Ulrich Drepper <drepper@gmail.com>
11083
11084 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11085 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11086
6b1d1d46
JM
110872012-02-24 Joseph Myers <joseph@codesourcery.com>
11088
11089 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11090
0f8bbd69
JM
110912012-02-24 Joseph Myers <joseph@codesourcery.com>
11092
11093 * manual/texinfo.tex: Update to version 2012-01-19.16.
11094
66ab80bc
JM
110952012-02-24 Joseph Myers <joseph@codesourcery.com>
11096
11097 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11098
74981cc5
RM
110992012-02-24 Roland McGrath <roland@hack.frob.com>
11100
ee968201
RM
11101 [BZ #13738]
11102 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11103 * manual/fdl-1.3.texi: New file.
11104 * manual/fdl-1.1.texi: File removed.
11105
74981cc5
RM
11106 [BZ #13738]
11107 * manual/libc.texinfo (FDL_VERSION): New @set.
11108 Use it for mention of FDL in cover text.
11109 (Documentation License): Use it in @include file name.
11110
7bb764bc
JM
111112012-02-22 Joseph Myers <joseph@codesourcery.com>
11112 Roland McGrath <roland@hack.frob.com>
11113
11114 [BZ #5461]
11115 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11116 not LONG_LONG_MAX and LONG_LONG_MIN.
11117 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11118 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11119 name.
11120 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11121
6cbeae47
JM
111222012-02-22 Joseph Myers <joseph@codesourcery.com>
11123
11124 [BZ #2547]
11125 [BZ #11365]
11126 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11127 manipulate bits before adding and subtracting TWO23[sx].
11128 * math/libm-test.inc (nearbyint_test): Add more tests.
11129
fe45ce09
JM
111302012-02-22 Joseph Myers <joseph@codesourcery.com>
11131
11132 [BZ #2548]
11133 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11134 bits before adding and subtracting TWO23[sx].
11135 * math/libm-test.inc (rint_test): Add more tests.
11136 (rint_test_tonearest): Likewise.
11137 (rint_test_towardzero): Likewise.
11138 (rint_test_downward): Likewise.
11139 (rint_test_upward: Likewise.
11140
ff3b3d82
JM
111412012-02-22 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #10110]
11144 * include/stdc-predef.h: New file. Extracted from features.h.
11145 * include/features.h: Include stdc-predef.h.
11146 * Makefile (headers): Add stdc-predef.h.
11147 * CONFORMANCE (Compiler limitations): Update.
11148
ef0aab35
JM
111492012-02-22 Joseph Myers <joseph@codesourcery.com>
11150
11151 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11152
58639409
DM
111532012-02-21 David S. Miller <davem@davemloft.net>
11154
11155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11157
c0e70b25
DM
111582012-02-20 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11161 using a normal save/restore sequence, rather than allocating a
11162 dummy stack frame just to store a frame pointer and restore.
11163 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11164
fb06851d
JM
111652012-02-21 Joseph Myers <joseph@codesourcery.com>
11166
11167 * manual/install.texi: Fix stray word in line-wrapped comment.
11168
7a8b71c3
DM
111692012-02-20 David S. Miller <davem@davemloft.net>
11170
d510c123
DM
11171 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11172 both binutils and gcc support GOTDATA.
11173
0722d7c2
DM
11174 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11175 "rd %pc" in the PIC register setup sequences.
11176
3d2b3019
DM
11177 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11178 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11179 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11180 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11183 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11186 (SYSCALL_ERROR_HANDLER): Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11190 (SYSCALL_ERROR_HANDLER): Likewise.
11191
c80098a9
DM
11192 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11193 (HAVE_GCC_GOTDATA): New.
11194 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11195 relocation support in both binutils and gcc.
11196 * sysdeps/sparc/elf/configure: Regenerate.
11197
3a2545a0
DM
11198 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11199 * sysdeps/sparc/sparc32/elf/configure: Delete.
11200 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11201 * sysdeps/sparc/sparc64/elf/configure: Delete.
11202 * sysdeps/sparc/elf/configure.in: New file.
11203 * sysdeps/sparc/elf/configure: Generate.
11204
7a8b71c3
DM
11205 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11206 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11207 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11208 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11209 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11210
f1e86fca
JM
112112012-02-21 Joseph Myers <joseph@codesourcery.com>
11212
11213 * manual/install.texi: Do not mention specific glibc version
11214 numbers.
11215 * manual/libc.texinfo (VERSION, UPDATED): Update.
11216 (@copying): Use @copyright{} and range of years.
11217
0e7dfaef
JM
112182012-02-21 Joseph Myers <joseph@codesourcery.com>
11219
11220 [BZ #13695]
11221 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11222 [crti.S not in sysdirs] (generated): Do not append.
11223 [crti.S not in sysdirs] (omit-deps): Likewise.
11224 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11225 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11226 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11227 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11228 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11229 Likewise.
11230 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11231 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11232 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11233 * csu/defs.awk: Remove file.
11234 * sysdeps/generic/initfini.c: Likewise.
11235 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11236 variable.
11237 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11238 Likewise.
11239
599af3ca
JM
112402012-02-20 Joseph Myers <joseph@codesourcery.com>
11241
11242 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11243 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11244 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11247 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11248 <bits/epoll.h>.
11249 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11250 (__EPOLL_PACKED): Define to empty if not defined by
11251 <bits/epoll.h>.
11252 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11254 bits/epoll.h.
11255
0e499750
JM
112562012-02-20 Joseph Myers <joseph@codesourcery.com>
11257
11258 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11259 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11260 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11261 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11262 <bits/timerfd.h>.
11263 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11265 bits/timerfd.h.
11266
5ad91f6e
JM
112672012-02-20 Joseph Myers <joseph@codesourcery.com>
11268
11269 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11270 in C locale.
11271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11275
06b99b02
AJ
112762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11277
11278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11279 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11280
7638c0fd
AS
112812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11282
11283 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11284 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11285 defined.
11286 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11287 Likewise.
11288 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11289 entry for 2.16.
11290
92221550
AJ
112912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11292
11293 * math/w_acos.c: Use non-signaling floating-point comparisons.
11294 * math/w_acosf.c: Likewise.
11295 * math/w_acosh.c: Likewise.
11296 * math/w_acoshf.c: Likewise.
11297 * math/w_acoshl.c: Likewise.
11298 * math/w_acosl.c: Likewise.
11299 * math/w_asin.c: Likewise.
11300 * math/w_asinf.c: Likewise.
11301 * math/w_asinl.c: Likewise.
11302 * math/w_atanh.c: Likewise.
11303 * math/w_atanhf.c: Likewise.
11304 * math/w_atanhl.c: Likewise.
11305 * math/w_exp2.c: Likewise.
11306 * math/w_exp2f.c: Likewise.
11307 * math/w_exp2l.c: Likewise.
11308 * math/w_j0.c: Likewise.
11309 * math/w_j0f.c: Likewise.
11310 * math/w_j0l.c: Likewise.
11311 * math/w_j1.c: Likewise.
11312 * math/w_j1f.c: Likewise.
11313 * math/w_j1l.c: Likewise.
11314 * math/w_jn.c: Likewise.
11315 * math/w_jnf.c: Likewise.
11316 * math/w_log.c: Likewise.
11317 * math/w_log10.c: Likewise.
11318 * math/w_log10f.c: Likewise.
11319 * math/w_log10l.c: Likewise.
11320 * math/w_log2.c: Likewise.
11321 * math/w_log2f.c: Likewise.
11322 * math/w_log2l.c: Likewise.
11323 * math/w_logf.c: Likewise.
11324 * math/w_logl.c: Likewise.
11325 * math/w_sqrt.c: Likewise.
11326 * math/w_sqrtf.c: Likewise.
11327 * math/w_sqrtl.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11330 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11331 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11332 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11333
ebaf36eb
JM
113342012-02-19 Joseph Myers <joseph@codesourcery.com>
11335
11336 [BZ #9739]
11337 * manual/string.texi (strnlen): Use correct parameter name in
11338 equivalent expression.
11339
71c254a6
JM
113402012-02-19 Joseph Myers <joseph@codesourcery.com>
11341
11342 [BZ #11174]
11343 * manual/users.texi (seteuid): Consistently use neweuid for
11344 argument name.
11345
16d2c631
JM
113462012-02-19 Joseph Myers <joseph@codesourcery.com>
11347
11348 [BZ #13704]
11349 * manual/nss.texi (Services in the NSS configuration): Correct
11350 list of services in example configuration file.
11351
cd837b09
NB
113522012-02-19 Nick Bowler <nbowler@draconx.ca>
11353
11354 [BZ #11322]
11355 * manual/arith.texi: Remove statements about negative zero
11356 behaving identically to zero.
11357
02c4bbad
JM
113582012-02-18 Joseph Myers <joseph@codesourcery.com>
11359
11360 [BZ #5993]
11361 * manual/install.texi: Do not document upgrading from libc5.
11362
366842e7
JM
113632012-02-18 Joseph Myers <joseph@codesourcery.com>
11364
11365 [BZ #4596]
11366 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11367
dd54084d
DM
113682012-02-18 David S. Miller <davem@davemloft.net>
11369
11370 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11371 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11372 %o7 across the call.
11373 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11374 instead.
11375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11376 SETUP_PIC_REG_LEAF.
11377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11378 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11379 * sysdeps/sparc/crtn.S: Likewise.
11380
2bcc53a3
UD
113812012-02-17 Ulrich Drepper <drepper@gmail.com>
11382
11383 * aout/Makefile: Remove.
11384
09c093b5
RK
113852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11386
11387 [BZ #13058]
11388 * manual/examples/argp-ex1.c (main): Format definition in GNU
11389 style.
11390 * manual/examples/argp-ex2.c (main): Likewise.
11391 * manual/examples/argp-ex3.c (main): Likewise.
11392 * manual/examples/argp-ex4.c (main): Likewise.
11393 * manual/examples/longopt.c (main): Use new-style prototype
11394 definition.
11395 * manual/examples/strncat.c (main): Specify return type and use
11396 (void) for arguments.
11397 * manual/examples/subopt.c (main): Use char **argv argument.
11398
2ee633a2
JM
113992012-02-17 Joseph Myers <joseph@codesourcery.com>
11400
11401 [BZ #5077]
11402 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11403 rounding modes.
11404
0520adde
FB
114052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11406
11407 [BZ #6907]
11408 * manual/string.texi (strchr): Change when strchrnul is
11409 recommended.
11410
3f4081cd
DGM
114112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11412
11413 [BZ #174]
11414 * manual/locale.texi (setlocale): Document LOCPATH.
11415
d1b10e78
JM
114162012-02-17 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #10210]
11419 * manual/process.texi (execle): Move @dots{} before last argument.
11420
79c6869c
PB
114212012-02-17 Paul Bolle <pebolle@tiscali.nl>
11422
11423 [BZ #12047]
11424 * manual/charset.texi (Generic Charset Conversion): Fix typo
11425 (LC_TYPE -> LC_CTYPE).
11426
cc6e48bc
NB
114272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11428
11429 [BZ #5805]
11430 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11431 (scalbnf): Likewise.
11432 (scalbnl): Likewise.
11433 (scalbln): Likewise.
11434 (scalblnf): Likewise.
11435 (scalblnl): Likewise.
11436 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11437 (vwarnx): Likewise.
11438 (verr): Likewise.
11439 (verrx): Likewise.
11440 * manual/filesys.texi (telldir): Use braces around return type.
11441 * manual/llio.texi (mmap): Add space after comma.
11442 (mmap64): Likewise.
11443 * manual/math.texi (jn): Use @var{} on parameter names.
11444 (jnf): Likewise.
11445 (jnl): Likewise.
11446 (yn): Likewise.
11447 (ynf): Likewise.
11448 (ynl): Likewise.
11449 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11450 line.
11451 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11452 "...".
11453 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11454 (sched_get_priority_max): Likewise.
11455 * manual/signal.texi (sigvec): Add space after comma.
11456 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11457 names.
11458 (if_indextoname): Likewise.
11459 (if_freenameindex): Likewise.
11460 (sendto): Use ',' instead of '.' in prototype.
11461 * manual/startup.texi (syscall): Use @dots{} instead of literal
11462 "...".
11463 * manual/stdio.texi (__fpending): Separate initial words of
11464 paragraph from @deftypefun line.
11465 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11466 "...".
11467 (vsyslog): Use @var{} on parameter names.
11468 * manual/terminal.texi (stty): Use @var{} on parameter names.
11469 * manual/users.texi (getutmp): Use @var{} on parameter names.
11470 (getutmpx): Likewise.
11471
5b23062f
JM
114722012-02-17 Joseph Myers <joseph@codesourcery.com>
11473
11474 [BZ #6884]
11475 * manual/stdio.texi (fopen): Fix typos in description of
11476 ",ccs=STRING".
11477
8dee4833
AJ
114782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11479
11480 [BZ #4026]
11481 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11482 get clock_id definition.
11483
9078ce93
TS
114842012-02-17 Thomas Schwinge <thomas@schwinge.name>
11485
11486 [BZ #4822]
11487 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11488 (madvise): Cast every argument to void on its own.
11489
3835c55f
JM
114902012-02-17 Joseph Myers <joseph@codesourcery.com>
11491
11492 [BZ #9902]
11493 * manual/startup.texi (Exit Status): Fix typo.
11494
35c47e37
JM
114952012-02-17 Joseph Myers <joseph@codesourcery.com>
11496
11497 [BZ #10140]
11498 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11499 * manual/examples/argp-ex2.c: Likewise.
11500 * manual/examples/argp-ex3.c: Likewise.
11501
e3b69ca7
RH
115022012-02-16 Richard Henderson <rth@redhat.com>
11503
11504 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11505 * sysdeps/s390/s390-32/initfini.c: Remove.
11506 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11507 * sysdeps/s390/s390-64/initfini.c: Remove.
11508
df83af67
KK
115092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11510
11511 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11512 compiler output for sysdeps/generic/initfini.c.
11513 * sysdeps/sh/elf/initfini.c: Remove file.
11514
f63f3380
DM
115152012-02-16 David S. Miller <davem@davemloft.net>
11516
fb59b3a4
DM
11517 [BZ #11494]
11518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11519
f63f3380
DM
11520 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11521 * sysdeps/sparc/crti.S: New file.
11522 * sysdeps/sparc/crtn.S: New file.
11523 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11524 * sysdeps/sparc/sparc64/Makefile: Likewise.
11525
df6a4a4a
MF
115262012-02-15 Mike Frysinger <vapier@gentoo.org>
11527
6dd8f3dc 11528 [BZ #3335]
df6a4a4a
MF
11529 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11530
1cac7236
RM
115312012-02-15 Roland McGrath <roland@hack.frob.com>
11532
d2c736f8
RM
11533 [BZ #4822]
11534 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11535
1cac7236
RM
11536 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11537 (write, read, close): Likewise.
11538 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11539
8e475601
JM
115402012-02-15 Joseph Myers <joseph@codesourcery.com>
11541
11542 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11543 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11545 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11546 <bits/signalfd.h>.
11547 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11549 bits/signalfd.h.
11550
ed656b40
MP
115512012-02-14 Marek Polacek <polacek@redhat.com>
11552
11553 * sysdeps/x86_64/crti.S: New file.
11554 * sysdeps/x86_64/crtn.S: New file.
11555 * sysdeps/x86_64/elf/initfini.c: Remove file.
11556
2a979d3a
JM
115572012-02-13 Joseph Myers <joseph@codesourcery.com>
11558
11559 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11560 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11561 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11562 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11563 <bits/inotify.h>.
11564 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11566 bits/inotify.h.
11567
2a418ac3
JM
115682012-02-13 Joseph Myers <joseph@codesourcery.com>
11569
11570 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11571 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11573 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11574 <bits/eventfd.h>.
11575 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11577 bits/eventfd.h.
11578
fb779be7
TS
115792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11580
e19e83c5
RM
11581 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11582 __feraiseexcept instead of feraiseexcept.
7c35ffed 11583
fb779be7
TS
11584 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11585 nanosleep invocations.
11586 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11587 strings, and add error checking for a nanosleep invocations.
11588
59ba27a6
PE
115892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11590
11591 Replace FSF snail mail address with URLs, as per GNU coding standards.
11592 Most of the snail mail addresses were wrong anyway, and omitting
11593 them makes the source code easier to maintain. Almost all of the
11594 changes are to license notices and to locale LC_IDENTIFICATION
11595 addresses, except for this one:
11596 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11597 not its snail mail address.
11598
57b957eb
RH
115992012-02-09 Richard Henderson <rth@twiddle.net>
11600
af850b1c
RH
11601 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11602 of kernel-features.h.
11603
57b957eb
RH
11604 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11605
6b73181a
MP
116062012-02-08 Marek Polacek <polacek@redhat.com>
11607
11608 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11609 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11610 * sysdeps/gnu/_G_config.h: Likewise.
11611 * sysdeps/generic/_G_config.h: Likewise.
11612
26ecc33a
AS
116132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11614
6c6dbc63
AS
11615 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11616 tests.
11617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11618
e216c012
AS
11619 * sysdeps/powerpc/powerpc32/crti.S: New file.
11620 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11621 * sysdeps/powerpc/powerpc64/crti.S: New file.
11622 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11623
26ecc33a
AS
11624 * Makeconfig (have-initfini): Don't set.
11625 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11626 * configure.in (nopic_initfini): Don't substitute.
11627 * config.h.in (HAVE_INITFINI): Don't #undef.
11628 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11629 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11630
3add8e13
JM
116312012-02-08 Joseph Myers <joseph@codesourcery.com>
11632
11633 Support crti.S and crtn.S provided directly by architectures.
11634 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11635 [crti.S in sysdirs] (omit-deps): Likewise.
11636 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11637 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11638 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11639 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11640 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11641 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11642 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11643 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11644 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11645 compiler output for sysdeps/generic/initfini.c.
11646 * sysdeps/i386/elf/Makefile: Remove file.
11647 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11648
a22f12b4
MP
116492012-02-07 Marek Polacek <polacek@redhat.com>
11650
11651 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11652 * sysdeps/gnu/_G_config.h: Likewise.
11653 * sysdeps/mach/hurd/_G_config.h: Likewise.
11654
148cf100
MP
116552012-02-07 Marek Polacek <polacek@redhat.com>
11656
11657 * math/Makefile (tests): Add tst-CMPLX2.
11658 * math/tst-CMPLX2.c: New file.
11659
cfdc0dd7
AS
116602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11661
84ba42c4
AS
11662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11663
cfdc0dd7
AS
11664 * math/libm-test.inc (jn_test): Add missing L suffix.
11665
622c86f4
MP
116662012-02-06 Marek Polacek <polacek@redhat.com>
11667
11668 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11669 * sysdeps/i386/fpu/e_powf.S: Likewise.
11670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11671 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11672 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11673 * sysdeps/i386/fpu/e_pow.S: Likewise.
11674 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11675 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11676 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11677 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11678 * sysdeps/i386/fpu/e_log2.S: Likewise.
11679 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11681 * sysdeps/i386/fpu/e_powl.S: Likewise.
11682 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11683 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11684 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11685 * sysdeps/i386/fpu/e_logl.S: Likewise.
11686 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11687 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11688 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11689 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11691 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11692 * sysdeps/i386/fpu/e_log.S: Likewise.
11693 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11694 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11695 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11696 * sysdeps/i386/fpu/e_logf.S: Likewise.
11697 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11698 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11699 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11700 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11701 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11702 * sysdeps/i386/fpu/e_log10.S: Likewise.
11703 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11704 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11705 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11706 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11707 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11708 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11709 * sysdeps/i386/asm-syntax.h: Likewise.
11710 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11712 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11713 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11714 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11715 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11716 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11717 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11718 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11719 * sysdeps/powerpc/sysdep.h: Likewise.
11720 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11722
d4a54ac6
JM
117232012-02-06 Joseph Myers <joseph@codesourcery.com>
11724
11725 [BZ #411]
11726 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11727
314054ea
JM
117282012-02-06 Joseph Myers <joseph@codesourcery.com>
11729
11730 * sysdeps/i386/sysdep.h: Include <features.h>.
11731 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11732 version.
11733
d8e0ca50
JM
117342012-02-05 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11737 Define.
11738 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11739 LOAD_PIC_REG_STR.
11740
b1da7dd9
JM
117412012-02-03 Joseph Myers <joseph@codesourcery.com>
11742
11743 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11744 (SETUP_PIC_REG): Use GET_PC_THUNK.
11745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11746 macro.
11747
9a1d9254
JM
117482012-02-03 Joseph Myers <joseph@codesourcery.com>
11749
11750 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11751 for non-PIC compilation.
11752 (SETUP_PIC_REG): Add .p2align directive.
11753 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11754 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11755 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11756 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11757 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11758 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11759 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11761 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11762 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11763 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11764 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11765 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11766 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11767 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11768 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11769 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11770 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11771 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11772 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11773 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11775 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11776 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11777 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11781 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11782 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11783 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11784 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11785 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11786 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11787 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11788 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11789 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11790 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11791 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11792 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11793 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11794
65dc3b75
JM
117952012-02-03 Joseph Myers <joseph@codesourcery.com>
11796
11797 * math/tst-CMPLX.c: Include <stdio.h>.
11798
d55bf177
JM
117992012-01-31 Joseph Myers <joseph@codesourcery.com>
11800
11801 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11802 float.
11803 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11804 * sysdeps/sparc/bits/mathdef.h: Likewise.
11805
69db4f8f
MP
118062012-01-31 Marek Polacek <polacek@redhat.com>
11807
11808 * libio/libio.h: Don't define _PARAMS.
11809 * locale/programs/config.h: Don't define PARAMS.
11810 * stdlib/strtol_l.c: Likewise.
11811 (__strtol_l): Remove PARAMS from the prototype.
11812
41b81892
UD
118132012-01-31 Ulrich Drepper <drepper@gmail.com>
11814
3b49edc0
UD
11815 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11816 names. Just use the correct names. Remove unnecessary wrapper
11817 functions.
11818 * malloc/arena.c: Likewise.
11819 * malloc/hooks.c: Likewise.
11820
41b81892
UD
11821 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11822 ARENA_TEST says not to. Simplify test for creation of a new arena.
11823 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11824
27a25b6e
UD
118252012-01-30 Ulrich Drepper <drepper@gmail.com>
11826
11827 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11828 into tail calls.
11829 (update_get_addr): New function.
11830 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11831 GET_ADDR_MODULE parameter.
11832
c8a89e7d
JM
118332012-01-30 Joseph Myers <joseph@codesourcery.com>
11834
11835 * crypt/cert.c: Remove __STDC__ conditionals.
11836 * crypt/crypt-entry.c: Likewise.
11837 * crypt/crypt_util.c: Likewise.
11838 * libio/filedoalloc.c: Likewise.
11839 * libio/fileops.c: Likewise.
11840 * libio/genops.c: Likewise.
11841 * libio/iofclose.c: Likewise.
11842 * libio/iofdopen.c: Likewise.
11843 * libio/iofopen.c: Likewise.
11844 * libio/iofopen64.c: Likewise.
11845 * libio/iogetdelim.c: Likewise.
11846 * libio/iopopen.c: Likewise.
11847 * libio/obprintf.c: Likewise.
11848 * libio/oldfileops.c: Likewise.
11849 * libio/oldiofclose.c: Likewise.
11850 * libio/oldiofdopen.c: Likewise.
11851 * libio/oldiofopen.c: Likewise.
11852 * libio/oldiopopen.c: Likewise.
11853 * libio/wfiledoalloc.c: Likewise.
11854 * libio/wgenops.c: Likewise.
11855 * locale/programs/xmalloc.c: Likewise.
11856 * misc/syslog.c: Likewise.
11857 * stdio-common/xbug.c: Likewise.
11858 * string/memchr.c: Likewise.
11859 * string/memcmp.c: Likewise.
11860 * string/memrchr.c: Likewise.
11861 * string/rawmemchr.c: Likewise.
11862 * sysdeps/posix/getcwd.c: Likewise.
11863 * time/strftime_l.c: Likewise.
11864
3b100462
JM
118652012-01-30 Joseph Myers <joseph@codesourcery.com>
11866
11867 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11868 * config.make.in (config-cflags-sse2avx): Define.
11869 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11870 Fix typo.
11871
607998af
CM
118722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11873
11874 * scripts/config.guess: Update from upstream config git repository.
11875 * scripts/config.sub: Likewise.
11876
3601428f
CM
118772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11878
3ac8b282
CM
11879 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11880 (EM_NUM): Update.
11881 (R_TILEPRO_*, R_TILEGX_*): New macros.
11882
e034841e
CM
11883 * scripts/firstversions.awk: Fix bug in version range handling.
11884
540d7568
CM
11885 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11886
3601428f
CM
11887 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11888
463de862
CM
11889 * include/sys/epoll.h: New file.
11890 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11891 libc_hidden_def.
11892
73139a76
UD
118932012-01-28 Ulrich Drepper <drepper@gmail.com>
11894
96bc5b45
UD
11895 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11896 Avoid unnecessary __WORDSIZE == 64 test.
11897 (fmaxf): Use VEX format if possible.
11898 (fmax): Likewise.
11899 (fminf): Likewise.
11900 (fmin): Likewise.
11901
56f6f6a2
UD
11902 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11903 * math/math_private.h: Remove libc_fegetround* and
11904 libc_fesetround*.
11905 * sysdeps/i386/configure.in: Check for -msse2avx.
11906 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11907 also if SSE2AVX is defined.
11908 Remove libc_fegetround* and libc_fesetround*.
11909 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11910 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11912 of HAS_YMM_USABLE.
11913 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11914 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11915 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11916 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11917 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11918
73139a76
UD
11919 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11920
d73f93a4
AZ
119212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922
11923 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11924 size is not set.
11925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11926
6ee65ed6
UD
119272012-01-27 Ulrich Drepper <drepper@gmail.com>
11928
11929 [BZ #13618]
11930 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11931 relocation.
11932 * Makeconfig (libm): Define.
11933 * elf/Makefile: Add rules to build and run tst-relsort1.
11934 * elf/tst-relsort1.c: New file.
11935 * elf/tst-relsort1mod1.c: New file.
11936 * elf/tst-relsort1mod2.c: New file.
11937
8db21882
JM
119382012-01-27 Joseph Myers <joseph@codesourcery.com>
11939
11940 * math/s_ldexp.c: Remove __STDC__ conditionals.
11941 * math/s_ldexpf.c: Likewise.
11942 * math/s_ldexpl.c: Likewise.
11943 * math/s_nextafter.c: Likewise.
11944 * math/s_nexttowardf.c: Likewise.
11945 * math/s_significand.c: Likewise.
11946 * math/s_significandf.c: Likewise.
11947 * math/s_significandl.c: Likewise.
11948 * math/w_jnl.c: Likewise.
11949 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11950 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11951 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11952 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11953 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11955 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11961 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11962 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11963 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11964 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11966 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11971 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11972 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11973 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11974 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11975 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11977 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11980 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11981 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11982 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11983 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11984 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11986 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11987 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11988 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11989 * sysdeps/ieee754/k_standard.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11999 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12009 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12013 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12014 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12015 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12019 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12020 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12021 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12022 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12026 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12050 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12051 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12056 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12065 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12069 * sysdeps/ieee754/s_matherr.c: Likewise.
12070 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12071 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12074
965a54a4
JM
120752012-01-26 Joseph Myers <joseph@codesourcery.com>
12076
12077 * crypt/md5.h: Remove __STDC__ conditionals.
12078 * libio/libioP.h: Likewise.
12079 * locale/programs/config.h: Likewise.
12080 * sysdeps/generic/sysdep.h: Likewise.
12081 * sysdeps/i386/asm-syntax.h: Likewise.
12082 * sysdeps/s390/asm-syntax.h: Likewise.
12083 * sysdeps/unix/sysdep.h: Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12086
7071ad79
JM
120872012-01-26 Joseph Myers <joseph@codesourcery.com>
12088
12089 * libio/libio.h: Remove __STDC__ conditionals.
12090 * malloc/obstack.h: Likewise.
12091 * math/complex.h: Likewise.
12092 * math/math.h: Likewise.
12093 * sysdeps/generic/_G_config.h: Likewise.
12094 * sysdeps/gnu/_G_config.h: Likewise.
12095 * sysdeps/mach/hurd/_G_config.h: Likewise.
12096 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12097 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12098 * sysdeps/sparc/bits/mathdef.h: Likewise.
12099
afc5ed09
UD
121002012-01-26 Ulrich Drepper <drepper@gmail.com>
12101
12102 [BZ #13583]
12103 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12104 Clean up HAS_* macros.
afc5ed09 12105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12106 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12107 possible.
12108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12109 HAS_AVX.
12110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12115
bdb6de1d
JM
121162012-01-25 Joseph Myers <joseph@codesourcery.com>
12117
12118 * elf/tst-unique3.cc (gets): Remove declaration.
12119 * elf/tst-unique3lib.cc (gets): Likewise.
12120 * elf/tst-unique3lib2.cc (gets): Likewise.
12121 * elf/tst-unique4.cc (gets): Likewise.
12122
b15549e6
UD
121232012-01-24 Ulrich Drepper <drepper@gmail.com>
12124
12125 * include/stdio.h: Add C++ protection. Add gets declarations and
12126 definitions.
12127 * debug/tst-chk1.c: Don't declare gets here.
12128 * stdio-common/tst-gets.c: Likewise.
12129
a037381f
JM
121302012-01-24 Joseph Myers <joseph@codesourcery.com>
12131
12132 * posix/glob: Remove directory.
12133
f1d4aa75
JM
121342012-01-24 Joseph Myers <joseph@codesourcery.com>
12135
12136 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12137
81c0c964
PT
121382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12139
12140 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12141 of the non-standard EPFNOSUPPORT.
12142
0ea698ae
ST
121432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12144
12145 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12146 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12147 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12148
d220b117
UD
121492012-01-21 Ulrich Drepper <drepper@gmail.com>
12150
12151 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12152
3e1aa84e
UD
121532012-01-20 Ulrich Drepper <drepper@gmail.com>
12154
12155 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12156 transient errors.
12157 * nscd/grpcache.c (cache_addgr): Likewise.
12158 * nscd/hstcache.c (cache_addhst): Likewise.
12159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12160 * nscd/pwdcache.c (cache_addpw): Likewise.
12161 * nscd/servicescache.c (cache_addserv): Likewise.
12162
400aa020
UD
121632012-01-16 Ulrich Drepper <drepper@gmail.com>
12164
d77e7869
UD
12165 * malloc/malloc.c: Various cleanups.
12166 * malloc/hooks.c: Likewise.
12167
400aa020
UD
12168 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12169 * stdlib/bug-fmtmsg1.c: New file.
12170
12171 * stdlib/fmtmsg.c (init): Add missing unlock.
12172 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12173
e0a309cf
MP
121742012-01-12 Marek Polacek <polacek@redhat.com>
12175
12176 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12177 and _GNU_SOURCE.
12178
929d11c7
WS
121792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12180
12181 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12182 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12183 macro to ensure uniqueness of label name.
12184 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12185 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12186
41d0e869
UD
121872012-01-11 Ulrich Drepper <drepper@gmail.com>
12188
0cc5ed3b
UD
12189 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12190
41d0e869
UD
12191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12192 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12195
a47a831a
UD
121962012-01-10 Ulrich Drepper <drepper@gmail.com>
12197
daa891c0
UD
12198 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12199
12200 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12201 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12202 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12203
e58ef0f2
UD
12204 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12205
a47a831a 12206 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12207 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12210
12211 * math/bits/math-finite.h: Add ldexp support.
12212
a0bfc9c7
MP
122132012-01-10 Marek Polacek <polacek@redhat.com>
12214
12215 * locale/programs/localedef.h (show_archive_content): Add noreturn
12216 attribute.
12217
d6e97a1d
UD
122182012-01-09 Ulrich Drepper <drepper@gmail.com>
12219
12220 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12221
d5835c26
UD
122222012-01-08 Ulrich Drepper <drepper@gmail.com>
12223
e5f484c6
UD
12224 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12225
d5835c26
UD
12226 * io/Makefile (headers): Add bits/poll2.h.
12227
d1f741e9
WS
122282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12229
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12231 typo #include statement.
12232
ec09c1c4
UD
122332012-01-08 Ulrich Drepper <drepper@gmail.com>
12234
12235 * include/sys/cdefs.h: Define __attribute_alloc_size.
12236 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12237 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12238 * elf/pldd.c: Likewise.
12239 * iconv/iconv_charmap.c: Likewise.
12240 * iconv/iconvconfig.c: Likewise.
12241 * iconv/strtab.c: Likewise.
12242 * locale/programs/locale.c: Likewise.
12243 * locale/programs/localedef.h: Likewise.
12244 * locale/programs/simple-hash.c: Likewise.
12245 * nscd/nscd.h: Likewise.
12246 * nss/makedb.c: Likewise.
12247 * sysdeps/generic/ldconfig.h: Likewise.
12248 * locale/programs/localedef.c: Remove xmalloc prototype.
12249 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12250
20b38e03
PP
122512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12252
12253 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12254 appropriate.
12255
a0da5fe1
UD
122562012-01-08 Ulrich Drepper <drepper@gmail.com>
12257
1d5a644a 12258 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12259 * math/tst-CMPLX.c: New file.
1d5a644a 12260
8784a6db
UD
12261 * math/complex.h (CMPLXL): Fix typo.
12262
d9a216c0
UD
12263 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12264 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12265 GLIBC_2.16.
12266 * debug/tst-chk1.c: Add poll and ppoll tests.
12267 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12268 * include/sys/poll.h: Add hidden proto for ppoll.
12269 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12270 * sysdeps/mach/hurd/ppoll.c: Likewise.
12271 * io/ppoll.c: Likewise.
12272 * debug/poll_chk.c: New file.
12273 * debug/ppoll_chk.c: New file.
12274 * include/bits/poll2.h: New file.
12275 * io/bits/poll2.h: New file.
12276
ac097f5c
UD
12277 [BZ #1350]
12278 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12279
2119dcfa
UD
12280 * configure.in: static is always set to yes. Remove.
12281 * config.make.in: Don't set build-static.
12282 * Makeconfig: Remove use of build-static.
12283 * dlfcn/Makefile: Likewise.
12284 * elf/Makefile: Likewise.
12285 * math/Makefile: Likewise.
12286 * misc/Makefile: Likewise.
12287 * nptl/Makefile: Likewise.
12288 * sysdeps/mach/hurd/Makefile: Likewise.
12289
121766a9
UD
12290 * configure.in: PWD_P is not used anymore.
12291 * config.make.in: Remove PWD_P entry.
12292
51a1d39c 12293 * configure.in: Remove last remnants of RANLIB.
8720d066 12294 No need to check for signed size_t anymore.
215f4bdc
UD
12295 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12296 and IA-64.
3857022a 12297 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12298 * aclocal.m4: Likewise.
12299
d3ed7225
UD
12300 * wcsmbs/mbrtoc16.c: Implement using towc function.
12301 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12302 * wcsmbs/wcsmbsload.c: Likewise.
12303 * iconv/gconv_simple.c: Likewise.
12304 * iconv/gconv_int.h: Likewise.
12305 * iconv/gconv_builtin.h: Likewise.
12306 * iconv/iconv_prog.c: Remove CHAR16 handling.
12307
12308 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12309
12310 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12311
a0da5fe1
UD
12312 * configure.in: Remove --with-elf and --enable-bounded options.
12313 Dont set base_machine for ia64. More non-ELF conditions removed.
12314 Remove testing and setting of leading underscore information.
12315 * config.make.in (build-bounded): Set to no.
12316 * config.h.in: Remove NO_UNDERSCORES entry.
12317 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12318 them.
12319 * csu/start.c: Remove !NO_UNDERSCORE code.
12320 * locale/localeinfo.h: Likewise.
12321 * sysdeps/generic/machine-gmon.h: Likewise.
12322 * sysdeps/generic/sysdep.h: Likewise.
12323 * sysdeps/i386/sysdep.h: Likewise.
12324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12325 * sysdeps/mach/sysdep.h: Likewise.
12326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12328 * sysdeps/sh/sysdep.h: Likewise.
12329 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12330 * sysdeps/unix/i386/sysdep.S: Likewise.
12331 * sysdeps/unix/sparc/start.c: Likewise.
12332 * sysdeps/unix/sparc/sysdep.S: Likewise.
12333 * sysdeps/unix/sparc/sysdep.h: Likewise.
12334 * sysdeps/unix/start.c: Likewise.
12335 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12336 * sysdeps/x86_64/sysdep.h: Likewise.
12337
df78418a
UD
123382012-01-07 Ulrich Drepper <drepper@gmail.com>
12339
a784e502
UD
12340 [BZ #13553]
12341 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12342 for non-gcc.
12343 * argp/argp-fmtstream.h: Use const instead __const.
12344 * argp/argp.h: Likewise.
12345 * assert/assert.h: Likewise.
12346 * bits/fenv.h: Likewise.
12347 * bits/sched.h: Likewise.
12348 * bits/sigset.h: Likewise.
12349 * bits/sigthread.h: Likewise.
12350 * catgets/nl_types.h: Likewise.
12351 * conform/data/pthread.h-data: Likewise.
12352 * crypt/crypt-private.h: Likewise.
12353 * crypt/crypt.h: Likewise.
12354 * crypt/crypt_util.c: Likewise.
12355 * ctype/ctype.h: Likewise.
12356 * debug/execinfo.h: Likewise.
12357 * debug/mbsnrtowcs_chk.c: Likewise.
12358 * debug/mbsrtowcs_chk.c: Likewise.
12359 * debug/wcsnrtombs_chk.c: Likewise.
12360 * debug/wcsrtombs_chk.c: Likewise.
12361 * debug/wcstombs_chk.c: Likewise.
12362 * dirent/dirent.h: Likewise.
12363 * dlfcn/dlfcn.h: Likewise.
12364 * elf/neededtest4.c: Likewise.
12365 * grp/grp.h: Likewise.
12366 * gshadow/gshadow.h: Likewise.
12367 * iconv/gconv.h: Likewise.
12368 * iconv/gconv_int.h: Likewise.
12369 * iconv/gconv_simple.c: Likewise.
12370 * iconv/iconv.h: Likewise.
12371 * iconv/loop.c: Likewise.
12372 * iconv/skeleton.c: Likewise.
12373 * include/aio.h: Likewise.
12374 * include/aliases.h: Likewise.
12375 * include/argz.h: Likewise.
12376 * include/arpa/inet.h: Likewise.
12377 * include/assert.h: Likewise.
12378 * include/dirent.h: Likewise.
12379 * include/dlfcn.h: Likewise.
12380 * include/execinfo.h: Likewise.
12381 * include/fcntl.h: Likewise.
12382 * include/fenv.h: Likewise.
12383 * include/glob.h: Likewise.
12384 * include/grp.h: Likewise.
12385 * include/libintl.h: Likewise.
12386 * include/mntent.h: Likewise.
12387 * include/netdb.h: Likewise.
12388 * include/pwd.h: Likewise.
12389 * include/rpc/netdb.h: Likewise.
12390 * include/sched.h: Likewise.
12391 * include/search.h: Likewise.
12392 * include/shadow.h: Likewise.
12393 * include/signal.h: Likewise.
12394 * include/stdio.h: Likewise.
12395 * include/stdlib.h: Likewise.
12396 * include/string.h: Likewise.
12397 * include/sys/socket.h: Likewise.
12398 * include/sys/stat.h: Likewise.
12399 * include/sys/statfs.h: Likewise.
12400 * include/sys/statvfs.h: Likewise.
12401 * include/sys/syslog.h: Likewise.
12402 * include/sys/time.h: Likewise.
12403 * include/sys/uio.h: Likewise.
12404 * include/time.h: Likewise.
12405 * include/unistd.h: Likewise.
12406 * include/utmp.h: Likewise.
12407 * include/wchar.h: Likewise.
12408 * include/wctype.h: Likewise.
12409 * inet/aliases.h: Likewise.
12410 * inet/arpa/inet.h: Likewise.
12411 * inet/netinet/ether.h: Likewise.
12412 * inet/netinet/in.h: Likewise.
12413 * intl/libintl.h: Likewise.
12414 * io/bits/fcntl2.h: Likewise.
12415 * io/fcntl.h: Likewise.
12416 * io/ftw.h: Likewise.
12417 * io/sys/poll.h: Likewise.
12418 * io/sys/stat.h: Likewise.
12419 * io/sys/statfs.h: Likewise.
12420 * io/sys/statvfs.h: Likewise.
12421 * io/utime.h: Likewise.
12422 * libio/bits/stdio.h: Likewise.
12423 * libio/bits/stdio2.h: Likewise.
12424 * libio/libio.h: Likewise.
12425 * libio/libioP.h: Likewise.
12426 * libio/stdio.h: Likewise.
12427 * locale/lc-ctype.c: Likewise.
12428 * locale/locale.h: Likewise.
12429 * login/utmp.h: Likewise.
12430 * malloc/arena.c: Likewise.
12431 * malloc/malloc.c: Likewise.
12432 * malloc/malloc.h: Likewise.
12433 * malloc/mcheck.c: Likewise.
12434 * malloc/mtrace.c: Likewise.
12435 * math/bits/mathcalls.h: Likewise.
12436 * math/fenv.h: Likewise.
12437 * math/math_private.h: Likewise.
12438 * misc/bits/error.h: Likewise.
12439 * misc/bits/syslog.h: Likewise.
12440 * misc/err.h: Likewise.
12441 * misc/error.h: Likewise.
12442 * misc/fstab.h: Likewise.
12443 * misc/mntent.h: Likewise.
12444 * misc/regexp.h: Likewise.
12445 * misc/search.h: Likewise.
12446 * misc/sgtty.h: Likewise.
12447 * misc/sys/mman.h: Likewise.
12448 * misc/sys/syslog.h: Likewise.
12449 * misc/sys/uio.h: Likewise.
12450 * misc/sys/xattr.h: Likewise.
12451 * misc/ttyent.h: Likewise.
12452 * nis/rpcsvc/ypclnt.h: Likewise.
12453 * nss/nss.h: Likewise.
12454 * posix/bits/unistd.h: Likewise.
12455 * posix/fnmatch.h: Likewise.
12456 * posix/glob.h: Likewise.
12457 * posix/sched.h: Likewise.
12458 * posix/spawn.h: Likewise.
12459 * posix/sys/wait.h: Likewise.
12460 * posix/unistd.h: Likewise.
12461 * posix/wordexp.h: Likewise.
12462 * pwd/pwd.h: Likewise.
12463 * resolv/netdb.h: Likewise.
12464 * resource/sys/resource.h: Likewise.
12465 * rt/aio.h: Likewise.
12466 * rt/bits/mqueue2.h: Likewise.
12467 * rt/mqueue.h: Likewise.
12468 * shadow/shadow.h: Likewise.
12469 * signal/signal.h: Likewise.
12470 * socket/send.c: Likewise.
12471 * socket/sendto.c: Likewise.
12472 * socket/sys/socket.h: Likewise.
12473 * stdio-common/printf.h: Likewise.
12474 * stdlib/bits/stdlib.h: Likewise.
12475 * stdlib/fmtmsg.h: Likewise.
12476 * stdlib/monetary.h: Likewise.
12477 * stdlib/stdlib.h: Likewise.
12478 * stdlib/ucontext.h: Likewise.
12479 * streams/stropts.h: Likewise.
12480 * string/argz.h: Likewise.
12481 * string/bits/string2.h: Likewise.
12482 * string/string.h: Likewise.
12483 * string/strings.h: Likewise.
12484 * sunrpc/rpc/auth.h: Likewise.
12485 * sunrpc/rpc/auth_des.h: Likewise.
12486 * sunrpc/rpc/clnt.h: Likewise.
12487 * sunrpc/rpc/netdb.h: Likewise.
12488 * sunrpc/rpc/pmap_clnt.h: Likewise.
12489 * sunrpc/rpc/xdr.h: Likewise.
12490 * sysdeps/generic/inttypes.h: Likewise.
12491 * sysdeps/generic/net/if.h: Likewise.
12492 * sysdeps/generic/sys/swap.h: Likewise.
12493 * sysdeps/gnu/net/if.h: Likewise.
12494 * sysdeps/gnu/utmpx.h: Likewise.
12495 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12496 * sysdeps/i386/i486/bits/string.h: Likewise.
12497 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12498 * sysdeps/s390/bits/string.h: Likewise.
12499 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12500 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12501 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12502 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12503 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12504 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12505 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12506 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12507 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12508 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12509 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12510 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12511 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12512 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12513 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12514 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12521 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12522 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12523 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12524 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12525 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12527 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12528 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12529 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12530 * sysvipc/sys/ipc.h: Likewise.
12531 * sysvipc/sys/msg.h: Likewise.
12532 * sysvipc/sys/sem.h: Likewise.
12533 * sysvipc/sys/shm.h: Likewise.
12534 * termios/termios.h: Likewise.
12535 * time/sys/time.h: Likewise.
12536 * time/time.h: Likewise.
12537 * wcsmbs/bits/wchar2.h: Likewise.
12538 * wcsmbs/uchar.h: Likewise.
12539 * wcsmbs/wchar.h: Likewise.
12540 * wctype/wctype.h: Likewise.
12541
0269750c
UD
12542 [BZ #13551]
12543 * Makeconfig: Remove all but ELF support including AIX support.
12544 * Makerules: Likewise.
12545 * config.h.in: Likewise.
12546 * config.make.in: Likewise.
12547 * configure: Likewise.
12548 * configure.in: Likewise.
12549 * csu/Makefile: Likewise.
12550 * csu/version.c: Likewise.
12551 * debug/Makefile: Likewise.
12552 * dlfcn/Makefile: Likewise.
12553 * elf/Makefile: Likewise.
12554 * extra-lib.mk: Likewise.
12555 * iconv/Makefile: Likewise.
12556 * include/libc-symbols.h: Likewise.
12557 * include/shlib-compat.h: Likewise.
12558 * resolv/Makefile: Likewise.
12559 * resolv/res_libc.c: Likewise.
12560 * rt/Makefile: Likewise.
12561 * sysdeps/i386/asm-syntax.h: Likewise.
12562 * sysdeps/i386/sysdep.h: Likewise.
12563 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12564 * sysdeps/mach/sysdep.h: Likewise.
12565 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12566 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12567 * sysdeps/s390/asm-syntax.h: Likewise.
12568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12570 * sysdeps/sh/sysdep.h: Likewise.
12571 * sysdeps/unix/sparc/sysdep.h: Likewise.
12572 * sysdeps/wordsize-32/divdi3.c: Likewise.
12573 * sysdeps/x86_64/sysdep.h: Likewise.
12574
00bbd29b
UD
12575 * argp/Versions: Remove _argp_unlock_xxx.
12576
12577 [BZ #13559]
12578 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12579 * abilist/libBrokenLocale.abilist: Likewise.
12580 * abilist/libanl.abilist: Likewise.
12581 * abilist/libc.abilist: Likewise.
12582 * abilist/libcrypt.abilist: Likewise.
12583 * abilist/libdl.abilist: Likewise.
12584 * abilist/libm.abilist: Likewise.
12585 * abilist/libnsl.abilist: Likewise.
12586 * abilist/libpthread.abilist: Likewise.
12587 * abilist/libresolv.abilist: Likewise.
12588 * abilist/librt.abilist: Likewise.
12589 * abilist/libthread_db.abilist: Likewise.
12590 * abilist/libutil.abilist: Likewise.
12591 * abilist/libnss_db.abilist: New file.
12592
12593 * scripts/abilist.awk: Add support for indirect functions.
12594
a2693a0e
UD
12595 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12596
3f05895f
UD
12597 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12598
ecb6fb48
UD
12599 * shlib-versions: Remove entries for ports architectures.
12600
664f8cb9
UD
12601 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12602 files in ports.
12603 * elf/stackguard-macros.h: Remove support for IA-64.
12604 * elf/tst-auditmod1.c: Likewise.
12605 * sysdeps/generic/ldsodefs.h: Likewise.
12606
7ae81d88
UD
12607 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12608 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12609 configure files.
12610
bdeba135
UD
12611 [BZ #13552]
12612 * configure.in: Remove --enable-omitfp support.
12613 * FAQ.in: Adjust.
12614 * config.make.in: Likewise.
12615 * Makeconfig: Likewise.
12616 * manual/install.texi: Likewise.
12617
d75a0a62
UD
12618 In case anyone cares, the IA-64 architecture could move to ports.
12619 * sysdeps/ia64/*: Removed.
12620 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12621 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12622
dcc9756b
UD
12623 [BZ #13555]
12624 * configure.in: Remove entries for unsupported architectures.
12625
d3761ebc 12626 [BZ #13533]
9954432e
UD
12627 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12628 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12629 routines.
12630 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12631 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12632 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12633 fall back to using wcrtomb.
12634 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12635 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12636 renaming.
12637 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12638 * wcsmbs/tst-c16c32-1.c: New file.
12639
12640 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12641 local variable.
12642
c3a87236
UD
12643 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12644
28926a1b
UD
12645 * elf/tst-unique3.cc: Add explicit declaration of gets.
12646 * elf/tst-unique3lib.cc: Likewise.
12647 * elf/tst-unique3lib2.cc: Likewise.
12648 * elf/tst-unique4.cc: Likewise.
12649
df78418a
UD
12650 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12651
8ecd6b2a
JM
126522012-01-06 Joseph Myers <joseph@codesourcery.com>
12653
12654 [BZ #13566]
12655 * assert/assert.h (static_assert): Don't define for C++.
12656 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12657 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12658
9f115170
UD
126592012-01-03 Ulrich Drepper <drepper@gmail.com>
12660
5e0d0300
UD
12661 * iconv/loop.c (single loop): Fix assertion in storing of
12662 remaining bytes.
12663
9f115170
UD
12664 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12665
81fb02b0
UD
126662012-01-01 Ulrich Drepper <drepper@gmail.com>
12667
12668 * posix/getconf.c: Update copyright year.
12669 * nss/getent.c: Likewise.
a316c1f6 12670 * nss/makedb.c: Likewise.
81fb02b0
UD
12671 * iconv/iconvconfig.c: Likewise.
12672 * iconv/iconv_prog.c: Likewise.
12673 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12674 * elf/pldd.c: Likewise.
12675 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12676 * catgets/gencat.c: Likewise.
12677 * csu/version.c: Likewise.
12678 * elf/ldd.bash.in: Likewise.
12679 * elf/sprof.c (print_version): Likewise.
12680 * locale/programs/locale.c: Likewise.
12681 * locale/programs/localedef.c: Likewise.
a316c1f6 12682 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12683 * nscd/nscd.c (print_version): Likewise.
12684 * debug/xtrace.sh: Likewise.
12685 * malloc/memusage.sh: Likewise.
12686 * malloc/mtrace.pl: Likewise.
12687 * debug/catchsegv.sh: Likewise.
12688
2ba92745
JJ
126892011-12-30 Jakub Jelinek <jakub@redhat.com>
12690
12691 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12692 pure attribute.
12693
dadebdae
UD
126942011-12-24 Ulrich Drepper <drepper@gmail.com>
12695
d3761ebc 12696 [BZ #13533]
db6af3eb
UD
12697 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12698 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12699 transformations.
12700 * iconv/gconv_int.h: Likewise.
12701 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12702 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12703 from libc for GLIBC_2.16.
12704 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12705 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12706 * wcsmbs/uchar.h: Really define mbstate_t.
12707 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12708 * wcsmbs/c16rtomb.c: New file.
12709 * wcsmbs/mbrtoc16.c: New file.
12710 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12711 for C/POSIX locale.
12712 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12713 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12714
dadebdae
UD
12715 * wcsmbs/wchar.h: Add missing __restrict.
12716
67371b56
UD
127172011-12-23 Ulrich Drepper <drepper@gmail.com>
12718
74033a25
UD
12719 [BZ #13532]
12720 * time/Makefile (routines): Add timespec_get.
12721 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12722 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12723 timespec for ISO C11.
12724 * time/timespec_get.c: New file.
12725 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12726 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12727
380d7e87
UD
12728 [BZ #13531]
12729 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12730 * stdlib/stdlib.h: Declare aligned_alloc.
12731 * Versions.def: Add GLIBC_2.16 for libc.
12732 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12733
4e9e7a35
UD
12734 [BZ 13527]
12735 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12736 ISO C11.
12737
380d7e87 12738 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12739 code.
12740
03a71829
UD
12741 [BZ #13528]
12742 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12743
839e283e
UD
12744 [BZ #13529]
12745 * assert/assert.h (static_assert): Define.
12746
ce5294e2 12747 * version.h: Update for 2.16 development version.
90fa7312 12748
8d44e150 12749 [BZ #13526]
d7809905
UD
12750 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12751 _ISOC11_SOURCE.
12752
c0da14cd
UD
12753 * version.h (RELEASE): Bump for 2.15 release.
12754 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12755
530a3249
MP
12756 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12757 Patch by Marek Polacek <mpolacek@redhat.com>.
12758
67371b56
UD
12759 * bits/byteswap.h: Protect long long constants with __extension__.
12760 * sysdeps/i386/bits/byteswap.h: Likewise.
12761 * sysdeps/ia64/bits/byteswap.h: Likewise.
12762 * sysdeps/s390/bits/byteswap.h: Likewise.
12763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12764
15db4de1
LD
127652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12766
12767 [BZ #13540]
bbe315ea
LD
12768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12769 destination buffer.
15db4de1
LD
12770 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12771
2b2596b1
MP
127722011-12-23 Marek Polacek <polacek@redhat.com>
12773
12774 * elf/dl-addr.c (determine_info): Add inline keyword.
12775 * elf/tst-auditmod4b.c (check_avx): Likewise.
12776 * elf/tst-auditmod6b.c (check_avx): Likewise.
12777 * elf/tst-auditmod6c.c (check_avx): Likewise.
12778 * elf/tst-auditmod7b.c (check_avx): Likewise.
12779
70c6c246
UD
127802011-12-23 Ulrich Drepper <drepper@gmail.com>
12781
12782 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12783 !__SSE_MATH__.
12784
c044cf14
LD
127852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12786
15db4de1 12787 [BZ #13540]
c044cf14
LD
12788 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12789 processing for last bytes.
12790
6b13d9d9
BH
127912011-08-06 Bruno Haible <bruno@clisp.org>
12792
d455f537
BH
12793 [BZ #13061]
12794 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12795 U+0385, not to U+1FEE.
12796
6b13d9d9
BH
12797 [BZ #13062]
12798 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12799 entry for U+00A5 U+0301.
12800
db910efd
UD
128012011-12-22 Ulrich Drepper <drepper@gmail.com>
12802
27deeafc
UD
12803 [BZ #13166]
12804 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12805 buffer for the output is too small.
12806
aed9d171
UD
12807 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12808 optimization.
12809
db910efd
UD
12810 [BZ #13185]
12811 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12812 SSE flags if possible.
12813
2bd779ae
LD
128142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12815
e7f9dac3 12816 [BZ #13540]
2bd779ae
LD
12817 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12818 processing for last bytes.
12819
154bfc16
JM
128202011-12-22 Joseph Myers <joseph@codesourcery.com>
12821
12822 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12823 (syscall-list-default-options, syscall-list-default-condition)
12824 (syscall-list-includes): Define.
12825 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12826 list of ABIs and options and #if conditions for each ABI. Do not
12827 handle common syscalls between ABIs specially.
12828 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12829 Remove.
12830 (syscall-list-variants, syscall-list-32bit-options)
12831 (syscall-list-32bit-condition, syscall-list-64bit-options)
12832 (syscall-list-64bit-condition): Define.
12833 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12834 (syscall-list-variants, syscall-list-32bit-options)
12835 (syscall-list-32bit-condition, syscall-list-64bit-options)
12836 (syscall-list-64bit-condition): Define.
12837 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12838 Remove.
12839 (syscall-list-variants, syscall-list-32bit-options)
12840 (syscall-list-32bit-condition, syscall-list-64bit-options)
12841 (syscall-list-64bit-condition): Define.
12842 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12843 Remove.
12844 (syscall-list-variants, syscall-list-32bit-options)
12845 (syscall-list-32bit-condition, syscall-list-64bit-options)
12846 (syscall-list-64bit-condition): Define.
12847
21eaf3a5
UD
128482011-12-22 Ulrich Drepper <drepper@gmail.com>
12849
16c6f992
UD
12850 * locale/iso-639.def: Add brx entry.
12851
41043168
UD
12852 [BZ #13328]
12853 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12854 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12855
21eaf3a5
UD
12856 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12857 __feraiseexcept_renamed.
12858
e3a851a2
UD
128592011-12-21 Ulrich Drepper <drepper@gmail.com>
12860
4920765e
UD
12861 [BZ #13538]
12862 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12863 EPOLLET with unsigned values.
12864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12866
e3a851a2
UD
12867 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12868 to large cancellation.
12869 * math/s_cacoshf.c: Likewise.
12870 * math/s_cacoshl.c: Likewise.
12871
b27e24b8
RK
128722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12873
12874 [BZ #13305]
aebefeee 12875 [BZ #12786]
b27e24b8
RK
12876 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12877 * math/s_cacoshf.c: Likewise.
12878 * math/s_cacoshl.c: Likewise.
12879
ee190f67
UD
128802011-12-21 Ulrich Drepper <drepper@gmail.com>
12881
12882 [BZ #13439]
12883 * iconv/gconv.h: Define __GCONV_SWAP.
12884 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12885 * iconvdata/utf-16.c: Likewise.
12886 * iconvdata/utf-32.c: Likewise.
12887
707f25df
AS
128882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12889
12890 [BZ #13524]
12891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12892 numerator after shifting it by one limb.
12893
d2daaa1e
RÁE
128942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12895
12896 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12897 under [__USE_EXTERN_INLINES].
12898
a4647e72
UD
128992011-12-17 Ulrich Drepper <drepper@gmail.com>
12900
12901 [BZ #13446]
12902 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12903
f0b264f1
AZ
129042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12905
12906 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12907 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12908 optimized code.
12909 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12910 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12911 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12912 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12913 for strncasecmp/strncasecmp_l compilation.
12914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12915 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12916
8ef4f244
MP
129172011-12-08 Marek Polacek <mpolacek@redhat.com>
12918
12919 [BZ #13484]
12920 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12921 of __asm__.
12922
97ac2654
UD
129232011-12-17 Ulrich Drepper <drepper@gmail.com>
12924
12925 [BZ #13506]
12926 * time/tzfile.c (__tzfile_read): Check values from file header.
12927
91d2a845
WS
129282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12929
12930 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12931 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12932 * powerpc/powerpc32/dl-start.S: Likewise.
12933 * powerpc/powerpc32/elf/start.S: Likewise.
12934 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12935 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12936 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12937 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12938 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12939 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12940 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12941 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12942 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12943 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12944 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12945 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12946 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12947 * powerpc/powerpc32/memset.S: Likewise.
12948 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12949 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12950 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12951 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12952 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12953 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12954 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12955 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12956 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12957 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12958 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12959 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12960 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12961
a1267ba1
AZ
129622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12963
12964 * math/libm-test.inc: Added more nearbyint tests.
12965 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12969
ad8ac1bd
RL
129702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12971
12972 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12973 FD_CLOEXEC.
12974
1d3e4b61
UD
129752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12976
12977 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12978 Add wcscpy-ssse3 wcscpy-c.
12979 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12980 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12981 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12982 * sysdeps/x86_64/wcschr.S: New file.
12983 * sysdeps/x86_64/wcsrchr.S: New file.
12984 * string/test-strcmp.c: Remove checking of wcscmp function for
12985 wrong alignments.
12986 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12987 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12988 wcsrchr-sse2 wcsrchr-c.
12989 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12990 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12991 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12992 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12993 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12994 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12995 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12996 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12997 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12998 * wcsmbc/wcschr.c (WCSCHR): New macro.
12999
5b330a2d
UD
130002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13001
13002 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13003 * wcsmbs/test-wcsrchr.c: New file.
13004 * string/test-strrchr.c: Add wcsrchr support.
13005 (WIDE): New macro.
13006 * wcsmbs/test-wcscpy.c: New file.
13007 * string/test-strcpy.c: Add wcscpy support.
13008 (WIDE): New macro.
26428b7c 13009
f039c043
UD
130102011-12-10 Ulrich Drepper <drepper@gmail.com>
13011
13012 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13013 the inner loop.
13014
850fb039
AS
130152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13016
13017 [BZ #13472]
13018 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13019
4efbd5cb
UD
130202011-12-04 Ulrich Drepper <drepper@gmail.com>
13021
52ff5dd0 13022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13023 Minor optimizations.
52ff5dd0 13024
4efbd5cb
UD
13025 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13026 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13027 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13028
8a426e12
UD
130292011-12-03 Ulrich Drepper <drepper@gmail.com>
13030
aff2453d
UD
13031 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13032 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13033 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13034 for gcc to avoid warnings.
13035 * inet/Makefile (tests): Add tst-checks.
13036 * inet/tst-checks.c: New file.
13037
13038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13039 warning.
13040
13041 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13042 __wmemcmp_sse2.
13043
13044 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13045 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13046
8a426e12
UD
13047 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13048
9bea3473
UD
130492011-12-02 Ulrich Drepper <drepper@gmail.com>
13050
3a965496
UD
13051 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13052 problem.
13053
9bea3473
UD
13054 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13055
f101631b
UD
130562011-11-29 Joseph Myers <joseph@codesourcery.com>
13057
13058 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13059 conditional on GCC version.
13060 (__arch_compare_and_exchange_val_8_acq)
13061 (__arch_compare_and_exchange_val_16_acq)
13062 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13063 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13064 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13065
a98275aa
UD
130662011-12-02 Joseph Myers <joseph@codesourcery.com>
13067
13068 * sysdeps/sh/backtrace.c: New file.
13069
d4cc29a2
AS
130702011-12-02 Andreas Schwab <schwab@redhat.com>
13071
13072 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13073 parenthesis.
13074
6257af2d
AS
130752011-12-01 Andreas Schwab <schwab@redhat.com>
13076
13077 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13078 falling back to utime.
13079
b5f44c1a
AS
130802011-11-30 Andreas Schwab <schwab@redhat.com>
13081
13082 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13083 expectations for float.
13084
f3a6cc0a
AS
130852011-11-29 Andreas Schwab <schwab@redhat.com>
13086
13087 * locale/weight.h (findidx): Add parameter len.
13088 * locale/weightwc.h (findidx): Likewise.
13089 * posix/fnmatch_loop.c (FCT): Adjust caller.
13090 * posix/regcomp.c (build_equiv_class): Likewise.
13091 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13092 * posix/regexec.c (check_node_accept_bytes): Likewise.
13093 * string/strcoll_l.c (STRCOLL): Likewise.
13094 * string/strxfrm_l.c (STRXFRM): Likewise.
13095
9d65ea3a
UD
130962011-11-17 Ulrich Drepper <drepper@gmail.com>
13097
13098 * Makefile.in: Remove CVSOPT handling.
13099 * configure.in: Remove use of AC_REVISION.
13100 * iconvdata/Makefile (distribute): No need to filter out CVS.
13101 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13102 handling.
13103
5583a086
AS
131042011-11-16 Andreas Schwab <schwab@redhat.com>
13105
13106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13107 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13108 [USE_AS_STRNCASECMP_L]: Likewise.
13109 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13110 NO_TLS_DIRECT_SEG_REFS.
13111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13112 Fix argument offsets for non-PIC.
13113 [USE_AS_STRNCASECMP_L]: Likewise.
13114 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13115 NO_TLS_DIRECT_SEG_REFS.
13116
d62a8200
UD
131172011-11-15 Ulrich Drepper <drepper@gmail.com>
13118
9d65ea3a 13119 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13120 O_CLOEXEC.
13121 * locale/loadlocale.c (_nl_load_locale): Likewise.
13122
09f93bd3
AS
131232011-11-15 Andreas Schwab <schwab@redhat.com>
13124
446514f9
AS
13125 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13126 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13128 (SYSCALL_GETTIME): Set errno on error.
13129
09f93bd3
AS
13130 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13131 count references to noai6ai_cached.
13132
312be3f9
UD
131332011-11-15 Ulrich Drepper <drepper@gmail.com>
13134
13135 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13136
13137 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13138 FD_CLOEXEC for /proc/self/maps.
13139
13140 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13141 FD_CLOEXEC for /proc/meminfo.
13142
13143 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13144 gai.conf.
13145
13146 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13147 FD_CLOEXEC for given file.
13148
13149 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13150
13151 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13152 FD_CLOEXEC for /etc/hosts.
13153 (_gethtent): Likewise.
13154
13155 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13156
13157 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13158 cancellation and set FD_CLOEXEC for /etc/netgroup.
13159
13160 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13161 reading /etc/publickey.
13162
13163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13164 allow cancellation when reading /etc/group.
13165
13166 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13167 cancellation.
13168 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13169
13170 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13171 when using data file.
13172
13173 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13174
13175 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13176 (write_nis_obj): Use "c" and "e" in fopen.
13177
13178 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13179
13180 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13181
13182 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13183
13184 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13185
13186 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13187 locale.alias.
13188
13189 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13190
13191 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13192
13193 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13194
13195 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13196 file parsing and set FD_CLOEXEC.
13197
82af0fa8
UD
131982011-11-14 Ulrich Drepper <drepper@gmail.com>
13199
13200 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13201
a5fb313c
AS
132022011-11-14 Andreas Schwab <schwab@redhat.com>
13203
13204 * malloc/arena.c (arena_get2): Don't call reused_arena when
13205 _int_new_arena failed.
13206
6abf3465
UD
132072011-11-14 Ulrich Drepper <drepper@gmail.com>
13208
13209 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13210 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13211 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13215 to compile strcasecmp and strncasecmp.
13216 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13217 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13218
13219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13220
76e3966e
UD
132212011-11-13 Ulrich Drepper <drepper@gmail.com>
13222
13223 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13224 locale-defines.sym to gen-as-const-headers.
13225 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13226 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13228 to compile strcasecmp and strncasecmp.
13229 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13230 strcasecmp_l and strncasecmp_l.
13231 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13232 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13233 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13234 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13235 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13236 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13237 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13238 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13239 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13240 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13241 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13242
ab26144e
UD
132432011-11-12 Ulrich Drepper <drepper@gmail.com>
13244
7edb22ef
UD
13245 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13246 result of SYSDEP_GETTIME_CPU to retval.
13247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13248 parameter list to macro. Remove trailing semicolon. Adjust users.
13249
9694fc44
UD
13250 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13251 variable.
13252
8ad89ef8
UD
13253 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13254 mantissa words.
13255 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13256
0c822ef9
UD
13257 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13258 from unused variable.
13259
874e0564
UD
13260 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13261 DWARF definitions.
13262 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13263 for assembling.
13264
3a2edc79
UD
13265 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13266 over namespaces.
13267
f3c2577f
UD
13268 * sunrpc/rpc_prot.c (rejected): Fix case value.
13269
294ce126
UD
13270 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13271 unsigned long long int to avoid warnings in shift.
13272
5e2b63c6
UD
13273 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13274 of use of trans.
13275 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13276 variable tmp.
13277
e7f4b08e
UD
13278 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13279 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13280 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13281
ab26144e
UD
13282 * nis/nis_table.c (nis_list): Use variable of correct type for
13283 result of __follow_path call.
13284
8a6d5255
AZ
132852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286
13287 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13288 of math functions ceil, trunc, floor, round, and sqrt, when
13289 avaliable on the platform.
13290 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13291 name clash.
13292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13293 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13294 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13295
aaddc98c
MP
132962011-10-30 Marek Polacek <mpolacek@redhat.com>
13297
13298 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13300
95b7042b
RM
133012011-11-11 Roland McGrath <roland@hack.frob.com>
13302
13303 * include/unistd.h: Fix __readlink return type.
13304 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13305
57769839
UD
133062011-11-11 Ulrich Drepper <drepper@gmail.com>
13307
13308 * stdlib/ucontext.h: Undo last change for makecontext.
13309
edc5984d
AS
133102011-11-11 Andreas Schwab <schwab@redhat.com>
13311
98591e58
AS
13312 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13313
edc5984d
AS
13314 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13315 * setjmp/setjmp.h: Mark functions as non-leaf.
13316 * setjmp/bits/setjmp2.h: Likewise.
13317 * stdlib/ucontext.h: Likewise.
13318
77cdc054
AS
133192011-11-10 Andreas Schwab <schwab@redhat.com>
13320
13321 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13322 (reused_arena): Don't check arena limit.
13323 (arena_get2): Atomically check arena limit.
13324
fe72eebd
UD
133252011-11-08 Ulrich Drepper <drepper@gmail.com>
13326
5f078c32
UD
13327 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13328 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13329
fe72eebd
UD
13330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13331 instructions.
13332
ae1bc2fa
AS
133332011-11-07 Andreas Schwab <schwab@redhat.com>
13334
7583a88d
AS
13335 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13336 handler when locking.
13337
ae1bc2fa
AS
13338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13339 Fix size of allocated buffer.
13340
10fb0bfa
AS
133412011-11-04 Andreas Schwab <schwab@redhat.com>
13342
998832a4
AS
13343 [BZ #10103]
13344 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13345 declarations for long double functions.
13346 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13347
10fb0bfa
AS
13348 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13349
3d7ba52b
AS
133502011-11-03 Andreas Schwab <schwab@redhat.com>
13351
a9ae54a1
AS
13352 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13353 installed.
13354
3d7ba52b
AS
13355 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13356 is disabled.
13357
bc8db248
ST
133582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13359
13360 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13361
45b96dd6
AS
133622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13363
647776f6
AS
13364 * include/alloca.h (stackinfo_alloca_round): Define.
13365 (extend_alloca): Use it.
13366 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13367 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13368 here.
13369
d91a8b93
AS
13370 * scripts/check-local-headers.sh: Ignore libaudit.h.
13371
45b96dd6
AS
13372 * nscd/Makefile (extra-objs): Make recursively expanded.
13373
432d41ce
UD
133742011-11-01 Ulrich Drepper <drepper@gmail.com>
13375
34372fc6
UD
13376 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13378
fadb59f8
UD
13379 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13380 * posix/tst-rfc3484-2.c: Likewise.
13381 * posix/tst-rfc3484-3.c: Likewise.
13382
78239589
UD
13383 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13384 process_vm_writev.
13385 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13386 process_vm_writev.
13387 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13388 process_vm_writev from libc using GLIBC_2.15 version.
13389
432d41ce
UD
13390 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13391
02f9c6cf
PP
133922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13393
13394 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13395 stack usage.
13396
3a2c0242
UD
133972011-10-31 Ulrich Drepper <drepper@gmail.com>
13398
f4ec4833
UD
13399 [BZ #13367]
13400 * nss/getent.c (initgroups_keys): Show error message in case no group
13401 names are given.
13402
3a2c0242
UD
13403 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13404 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13405 __bump_nl_timestamp.
13406 * nscd/connections (nscd_init): When host database is served open
13407 netlink socket and request notification about configuration changes.
13408 (main_loop_poll): Track netlink file descriptor and bump timestamp
13409 in case data becomes available.
13410 (main_loop_epoll): Likewise.
13411 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13412 (database_pers_head): Add extra_data fileds.
13413 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13415 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13416 Adjust caller.
13417 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13418 in6ai data, call __free_in6ai.
13419 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13420 Add -DHAVE_NETLINK.
13421 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13422 interface information. Reuse previous data if netlink timestamp
13423 is not changed.
13424 (__bump_nl_timestamp): New function.
13425 (__free_in6ai): New function.
13426
636064eb
UD
134272011-10-30 Ulrich Drepper <drepper@gmail.com>
13428
13429 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13430 close_not_cancel_no_status here.
13431 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13432
9beb2334
UD
134332011-10-29 Ulrich Drepper <drepper@gmail.com>
13434
6ef76f3b
UD
13435 [BZ #13276]
13436 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13437 return value.
13438
0ffc4f3e 13439 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13440 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13441 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13442
cb95113e
UD
134432011-07-03 Andreas Jaeger <aj@suse.de>
13444
13445 [BZ #10709]
13446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13447 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13448 * math/libm-test.inc (sin_test): Add test case.
13449
a1b560ff
UD
134502011-10-29 Ulrich Drepper <drepper@gmail.com>
13451
c9aaface
UD
13452 [BZ #13337]
13453 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13454 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13455
d272e7f1
UD
13456 * elf/chroot_canon.c (chroot_canon): Cleanups.
13457
1bc33071
UD
13458 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13459
1760874d
TJ
13460 [BZ #13335]
13461 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13462 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13463
51d91b18
UD
13464 * string/test-strchr.c: Make usable for strchrnul testing.
13465 * string/test-strchrnul.c: New file.
13466 * string/Makefile (strop-tests): Add strchrnul.
13467
a1b560ff 13468 * po/it.po: Update from translation team.
b611fb81 13469 * po/es.po: Likewise.
a1b560ff 13470
a5b81e1f
UD
134712011-10-28 Ulrich Drepper <drepper@gmail.com>
13472
fd52bc6d
UD
13473 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13474 the three constants needed as parameters. Drop the others.
13475 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13476 __m128i_strloadu_tolower.
52e4b9eb
UD
13477 Create and initialize variable zero and use it in all the places
13478 where _mm_setzero_si128 was used.
fd52bc6d 13479
a5b81e1f
UD
13480 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13481 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13482 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13483 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13484 anymore.
13485 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13486 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13487 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13488 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13489 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13490 __mpranred, __mptan.
13491 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13492 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13493 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13494 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13495 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13496 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13498 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13499 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13500
b4343346
AS
135012011-10-28 Andreas Schwab <schwab@redhat.com>
13502
0c92d8a8
AS
13503 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13504 redefine if SHARED.
13505 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13506
b4343346
AS
13507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13508 wide char related routines to wcsmbs subdir.
13509
3871f58f
AS
135102011-10-27 Andreas Schwab <schwab@redhat.com>
13511
13512 [BZ #13344]
13513 * misc/sys/cdefs.h (__THROWNL): Define.
13514 * posix/unistd.h: Use __THREADNL instead of __THREAD
13515 for memory synchronization functions.
13516
94d44d9f
RM
135172011-10-26 Roland McGrath <roland@hack.frob.com>
13518
21b64b15 13519 [BZ #13349]
94d44d9f
RM
13520 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13521 doesn't exist.
13522 * manual/stdio.texi (Obstack Streams): Node removed.
13523
f6ce9294
AS
135242011-10-26 Andreas Schwab <schwab@redhat.com>
13525
80479147
AS
13526 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13527 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13528 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13529
f6ce9294
AS
13530 * math/math_private.h (math_force_eval): Allow non-addressable
13531 arguments.
13532 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13533
618280a1
UD
135342011-10-25 Ulrich Drepper <drepper@gmail.com>
13535
e0016b11
UD
13536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13537 file is not needed.
13538
13539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13541 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13542 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13543 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13544 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13546 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13547 Add AVX variants.
13548 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13549 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13550 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13551 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13552 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13553 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13554 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13555 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13556 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13557 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13558 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13559 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13560 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13561 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13562 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13563 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13564 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13565 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13566 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13567
13568 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13569 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13570
618280a1
UD
13571 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13572 place. Use VEX encoding when compiling for AVX.
13573
37822576
AS
135742011-10-25 Andreas Schwab <schwab@redhat.com>
13575
1f1e1947
AS
13576 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13577 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13578
37822576
AS
13579 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13580
31ea014d
UD
135812011-10-25 Ulrich Drepper <drepper@gmail.com>
13582
d7826aa1 13583 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13584 useless if() expression.
d7826aa1
UD
13585 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13596 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13598 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13599 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13600 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13604
31ea014d
UD
13605 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13606
16437fec
AS
136072011-10-25 Andreas Schwab <schwab@redhat.com>
13608
13609 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13610 condition.
13611 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13612
31d3cc00
UD
136132011-10-25 Ulrich Drepper <drepper@gmail.com>
13614
13615 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13616 .text section. Avoid duplicate constants.
13617 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13627 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13629 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13632 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13641 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13642 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13643 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13644 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13645 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13646 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13647 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13648 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13649 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13650 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13651 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13652 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13653 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13655 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13656 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13657 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13658 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13659 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13660 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13661 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13662
58985aa9
UD
136632011-10-24 Ulrich Drepper <drepper@gmail.com>
13664
202c9deb
UD
13665 * sysdeps/x86_64/dla.h: Move to ...
13666 * sysdeps/x86_64/fpu/dla.h: ...here.
13667 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13668 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13669
af968f62
UD
13670 * config.make.in: Add have-mfma4 entry.
13671 * configure.in: Substitute libc_cv_cc_fma4.
13672 * math/Makefile (dbl-only-routines): Add sincostab.
13673 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13674 Use __sincostab not sincos.
13675 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13676 name is a macro.
13677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13681 using __copysign.
13682 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13683 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13684 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13685 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13686 and __inv.
13687 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13688 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13689 __copysign.
13690 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13691 define aliases when function name is a macro.
13692 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13693 sysdeps/ieee754/dbl-64/sincos.tbl.
13694 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13695 fma4-enabled routines.
13696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13701 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13702 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13703 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13704 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13705 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13706 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13707 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13708 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13711 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13712 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13713 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13714 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13716 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13717 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13719 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13721 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13723 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13725 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13726
58985aa9
UD
13727 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13728 rename.
13729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13737
a201fbcf
AS
137382011-10-24 Andreas Schwab <schwab@redhat.com>
13739
13740 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13741
fc2ee42a
LD
137422011-10-23 Ulrich Drepper <drepper@gmail.com>
13743
bb3129bd
UD
13744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13745
0275fff8
UD
13746 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13747 prediction.
13748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13749
2fa2ae85
UD
13750 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13751 Remove unused variable magic_bits.
13752 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13753
fc2ee42a
LD
13754 * string/strnlen.c: Define and use STRNLEN macro.
13755 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13756 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13758 * wcsmbs/wcslen.c: Define and use WCSLEN.
13759 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13760 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13761 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13762 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13763 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13764 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13765 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13766
ce7dd29f
LD
137672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13768
13769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13770 strnlen-sse2-no-bsf.
13771 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13773 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13774 Add strnlen support.
13775 (USE_AS_STRNLEN): New macro.
13776 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13777 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13778 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13779 * sysdeps/x86_64/wcslen.S: New file.
13780
979c70a3
MZ
137812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13782
13783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13784 XMM-moves are used for copying on small sizes.
13785
2d09f82f
LD
137862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13787
13788 * wcsmbs/Makefile (strop-tests): Add wcschr.
13789 * wcsmbs/test-wcschr.c: New file.
13790 * string/test-strchr.c: Update.
13791 Add wcschr support.
13792 (WIDE): New macro.
13793
619fccca
LD
137942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13795
2d09f82f 13796 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13797 * wcsmbs/test-wcslen.c: New file.
13798 * string/test-strlen.c: Update.
13799 Add wcslen support.
13800 (WIDE): New macro.
13801
09f699ea
UD
138022011-10-23 Ulrich Drepper <drepper@gmail.com>
13803
13804 * po/it.po: Update from translation team.
13805
95584d3b
LD
138062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13807
13808 * sysdeps/x86_64/wcscmp.S: Update.
13809 Fix wrong comparison semantics.
13810 wcscmp shall use signed comparison not unsigned.
13811 Don't use substraction to avoid overflow bug.
13812 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13813 * wcsmbc/wcscmp.c: Likewise.
13814 * string/test-strcmp.c: Likewise.
13815 Add new tests to check cases with negative values.
13816
c8b3296b
UD
138172011-10-23 Ulrich Drepper <drepper@gmail.com>
13818
13819 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13820 * sysdeps/x86_64/dla.h: ...here. New file.
13821 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13830
246ad57a
AS
138312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13832
13833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13834 __ynl_finite aliases.
13835
a1a87169
UD
138362011-10-22 Ulrich Drepper <drepper@gmail.com>
13837
0d355eb7
UD
13838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13839
a1a87169
UD
13840 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13841 define DLA_FMA.
13842 [DLA_FMA] (EMULV): Use DLA_FMA.
13843 [DLA_FMA] (MUL12): Use EMULV.
13844 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13845 that are not needed.
13846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13853
ee2aafe0
AS
138542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * math/s_nan.c: Undef __nan.
13857 * math/s_nanf.c: Undef __nanf.
13858 * math/s_nanl.c: Undef __nanl.
13859 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13860 "math_private.h".
13861
bc62c2fb
UD
138622011-10-22 Ulrich Drepper <drepper@gmail.com>
13863
77425c63
UD
13864 * math/s_catan.c: Add branch predictions.
13865 * math/s_catanf.c: Likewise.
13866 * math/s_catanh.c: Likewise.
13867 * math/s_catanhf.c: Likewise.
13868 * math/s_catanhl.c: Likewise.
13869 * math/s_catanl.c: Likewise.
13870 * math/s_cexp.c: Likewise.
13871 * math/s_cexpf.c: Likewise.
13872 * math/s_cexpl.c: Likewise.
13873 * math/s_clog.c: Likewise.
13874 * math/s_clog10.c: Likewise.
13875 * math/s_clog10f.c: Likewise.
13876 * math/s_clog10l.c: Likewise.
13877 * math/s_clogf.c: Likewise.
13878 * math/s_clogl.c: Likewise.
13879 * math/s_csqrt.c: Likewise.
13880 * math/s_csqrtf.c: Likewise.
13881 * math/s_csqrtl.c: Likewise.
13882 * math/s_ctanf.c: Likewise.
13883 * math/s_ctanh.c: Likewise.
13884 * math/s_ctanhf.c: Likewise.
13885 * math/s_ctanhl.c: Likewise.
13886 * math/s_ctanl.c: Likewise.
13887
bc62c2fb
UD
13888 * math/math_private.h: Define __nan, __nanf, __nanl.
13889 * math/s_cacosh.c: Include <math_private.h>.
13890 * math/s_cacoshl.c: Likewise.
13891 * math/s_casinh.c: Likewise.
13892 * math/s_casinhf.c: Likewise.
13893 * math/s_casinhl.c: Likewise.
13894 * math/s_ccos.c: Rely entire on ccosh.
13895 * math/s_ccosf.c: Rely entire on ccoshf.
13896 * math/s_ccosl.c: Rely entirely on ccoshl.
13897 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13898 Remove tests for FE_INVALID.
13899 * math/s_ccoshf.c: Likewise.
13900 * math/s_ccoshl.c: Likewise.
13901 * math/s_csin.c: Likewise.
13902 * math/s_csinf.c: Likewise.
13903 * math/s_csinh.c Likewise.
13904 * math/s_csinhf.c: Likewise.
13905 * math/s_csinhl.c: Likewise.
13906 * math/s_csinl.c: Likewise.
13907 * math/s_ctan.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13909 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13910 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13911
8ec250a4
UD
139122011-10-21 Ulrich Drepper <drepper@gmail.com>
13913
c196fed8
UD
13914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13915 compilation problems.
13916
8ec250a4
UD
13917 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13918 __builtin_expect.
13919
8d4f46c6
UD
139202011-10-20 Ulrich Drepper <drepper@gmail.com>
13921
ed72b654
UD
13922 * sysdeps/i386/configure.in: Test for -mfma4 option.
13923 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13924 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13925 COMMON_CPUID_INDEX_80000001.
13926 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13927 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13928 use it if FMA3 is not supported.
13929 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13930
8d4f46c6
UD
13931 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13932 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13933
d45c60c2
AS
139342011-10-20 Andreas Schwab <schwab@redhat.com>
13935
13936 [BZ #12892]
13937 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13938 it would create a cycle with a link time dependency.
13939
d9a4d2ab
UD
139402011-10-19 Ulrich Drepper <drepper@gmail.com>
13941
855d1560
UD
13942 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13943 instruction.
13944 * string/Makefile (strop-tests): Add rawmemchr.
13945 * string/test-rawmemchr.c: New file.
13946
d9a4d2ab
UD
13947 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13949 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13950 when compiling str{,n}casecmp and when AVX is available. Hook up
13951 new optimized code in initializers.
13952
8f3b1ffe
AS
139532011-10-19 Andreas Schwab <schwab@redhat.com>
13954
13955 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13956 __feraiseexcept instead of feraiseexcept.
13957
d38f1dba
UD
139582011-10-18 Ulrich Drepper <drepper@gmail.com>
13959
d9a8d0ab
UD
13960 * math/math_private.h: Define defaults for libc_fetestexcept and
13961 libc_feupdateenv.
13962 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13963 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13964 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13965 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13966 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13967 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13968 libc_fetestexcept and libc_feupdateenv.
13969
4855e3dd
UD
13970 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13971 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13972 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13973 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13974 libc_feholdexcept_setround.
13975
581d30e3
UD
13976 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13977 Add s_nearbyint-c and s_nearbyintf-c.
13978 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13979 nearbyintf inlines.
13980 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13982 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13984
d38f1dba
UD
13985 * math/math_private.h: Define defaults for libc_fegetround,
13986 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13987 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13988 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13989 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13990 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13991 standard functions.
13992 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13993 Remove comments and hacks for old compiler versions.
13994 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13995 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13996 libc_feholdexceptl.
13997
caa6c9d8
AS
139982011-10-18 Andreas Schwab <schwab@redhat.com>
13999
14000 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14001 (__feraiseexcept_renamed): Add __NTH.
14002 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14003 namespace violations.
14004
97c066e6
UD
140052011-10-17 Ulrich Drepper <drepper@gmail.com>
14006
99ce7b04
UD
14007 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14008
1004d182
UD
14009 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14010
228a984d
UD
14011 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14012 recently added interfaces.
14013 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14014
c8553a6a
UD
14015 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14016 about macro parameter expansion.
14017
ed22dcf6
UD
14018 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14019 __NO_MATH_INLINES is defined. Cleanups.
14020
14021 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14022 and __floorf is target has SSE4.1.
14023 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14024 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14025 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14026 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14027
b171c137
UD
14028 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14029 name.
14030 (floorf): Likewise.
14031
97c066e6
UD
14032 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14033
629f62ef
AS
140342011-10-17 Andreas Schwab <schwab@redhat.com>
14035
49a43d80
AS
14036 * misc/sys/cdefs.h: Fix last change.
14037
629f62ef
AS
14038 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14039 database lookup.
14040
e453f6cd
UD
140412011-10-16 Ulrich Drepper <drepper@gmail.com>
14042
aa78043a
UD
14043 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14044
ad0f5cad
UD
14045 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14046 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14051 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14053 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14054 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14055 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14056 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14057 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14058 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14060 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14061 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14062 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14063 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14064 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14066 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14067
14068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14069 ceil, ceilf, floor, floorf.
14070
14071 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14072 Perform IRELATIVE relocations last.
14073
e453f6cd
UD
14074 * elf/do-rel.h: Add another parameter nrelative, replacing the
14075 local variable with the same name. Change name of the function
14076 to end in Rel or Rela (uppercase).
14077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14078 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14079 elf_dynamic_do_##reloc function.
14080
fd5bdc09
UD
140812011-10-15 Ulrich Drepper <drepper@gmail.com>
14082
79b195b5
UD
14083 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14084 is sufficient, at least on modern CPUs.
14085
d4a28569
UD
14086 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14087
b61099b5
UD
14088 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14090
bcf01e6d
UD
14091 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14092 __expl_finite.
14093 * math/bits/math-finite.h: Add entries for exp.
14094 * math/e_expl.c: Add __*_finite alias.
14095 * sysdeps/i386/fpu/e_exp.S: Likewise.
14096 * sysdeps/i386/fpu/e_expf.S: Likewise.
14097 * sysdeps/i386/fpu/e_expl.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14099 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14103 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14105
ba1a0d59
UD
14106 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14107 is sufficient, at least on modern CPUs.
14108
fd5bdc09
UD
14109 * ctype/ctype-info.c (__ctype_init): Define.
14110 * include/ctype.h (__ctype_init): Declare.
14111 (__ctype_b_loc): The variable is always initialized.
14112 (__ctype_toupper_loc): Likewise.
14113 (__ctype_tolower_loc): Likewise.
14114 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14115 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14116
7872cfb0
AS
141172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14118
b468825a
AS
14119 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14120
7872cfb0
AS
14121 * configure.in: Also look in $cxxmachine/include for C++ system
14122 headers.
14123
be13f7bf
LD
141242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14125
14126 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14127 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14128 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14129 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14130 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14131 (USE_AS_WMEMCMP): New macro.
14132 Fixing indents.
14133 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14134 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14135 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14136 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14138 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14139 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14140 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14141 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14142 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14144 (USE_AS_WMEMCMP): New macro.
14145 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14146 * sysdeps/string/test-memcmp.c: Update.
14147 Fix simple_wmemcmp.
14148 Add new tests.
14149 * wcsmbs/wmemcmp.c: Update.
14150 (WMEMCMP): New macro.
14151 Fix overflow bug.
14152
556a2007
AJ
141532011-10-12 Andreas Jaeger <aj@suse.de>
14154
14155 [BZ #13268]
14156 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14157
538faaa7
UD
141582011-10-15 Ulrich Drepper <drepper@gmail.com>
14159
ab6737ff
UD
14160 * libio/iofwide.c (do_length): Avoid warning.
14161
538faaa7
UD
14162 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14163
396a21b1
UD
141642011-10-14 Ulrich Drepper <drepper@gmail.com>
14165
cdf2901f
UD
14166 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14167
38ad40ce
UD
14168 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14169 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14170 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14171 * sysdeps/i386/i686/fpu/e_log.S: New file.
14172 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14173 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14174
396a21b1
UD
14175 * ctype/ctype.h: Add support for inlined isXXX functions when
14176 compiling C++ code.
14177
6b1f68c9
AS
141782011-10-14 Andreas Schwab <schwab@redhat.com>
14179
349290c0
AS
14180 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14181
6b1f68c9
AS
14182 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14183
f2282d42
RM
141842011-10-13 Roland McGrath <roland@hack.frob.com>
14185
14186 [BZ #13291]
14187 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14188
5298ffa8
AS
141892011-10-13 Andreas Schwab <schwab@redhat.com>
14190
714fad23
AS
14191 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14192 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14193 feraiseexcept.
14194
81dcc7fb
AS
14195 * sysdeps/x86_64/memrchr.S: Check for zero size.
14196
5298ffa8
AS
14197 * string/stratcliff.c: Add memrchr tests.
14198
951fbcec
LD
141992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14200
14201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14202 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14203 rawmemchr-sse2 rawmemchr-sse2-bsf.
14204 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14205 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14206 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14207 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14208 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14209 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14210 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14211 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14212 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14214 * string/memrchr.c (MEMRCHR): New macro.
14215
0ac5ae23
UD
142162011-10-12 Ulrich Drepper <drepper@gmail.com>
14217
14218 Add integration with gcc's -ffinite-math-only and optimize wrapper
14219 functions in libm.
14220 * Versions.def: Define GLIBC_2.15 version for libm.
14221 * math/Makefile (headers): Add bits/math-finite.h.
14222 * math/bits/math-finite.h: New file.
14223 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14224 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14225 * math/e_acoshl.c: Add __*_finite alias.
14226 * math/e_acosl.c: Likewise.
14227 * math/e_asinl.c: Likewise.
14228 * math/e_atan2l.c: Likewise.
14229 * math/e_atanhl.c: Likewise.
14230 * math/e_coshl.c: Likewise.
14231 * math/e_exp10.c: Likewise.
14232 * math/e_exp10f.c: Likewise.
14233 * math/e_exp10l.c: Likewise.
14234 * math/e_exp2l.c: Likewise.
14235 * math/e_fmodl.c: Likewise.
14236 * math/e_gammal_r.c: Likewise.
14237 * math/e_hypotl.c: Likewise.
14238 * math/e_j0l.c: Likewise.
14239 * math/e_j1l.c: Likewise.
14240 * math/e_jnl.c: Likewise.
14241 * math/e_lgammal_r.c: Likewise.
14242 * math/e_log10l.c: Likewise.
14243 * math/e_log2l.c: Likewise.
14244 * math/e_logl.c: Likewise.
14245 * math/e_powl.c: Likewise.
14246 * math/e_sinhl.c: Likewise.
14247 * math/e_sqrtl.c: Likewise.
14248 * math/e_scalb.c: Completely rewritten and optimized.
14249 * math/e_scalbf.c: Likewise.
14250 * math/e_scalbl.c: Likewise.
14251 * math/w_acos.c: Likewise.
14252 * math/w_acosf.c: Likewise.
14253 * math/w_acosl.c: Likewise.
14254 * math/w_acosh.c: Likewise.
14255 * math/w_acoshf.c: Likewise.
14256 * math/w_acoshl.c: Likewise.
14257 * math/w_asin.c: Likewise.
14258 * math/w_asinf.c: Likewise.
14259 * math/w_asinl.c: Likewise.
14260 * math/w_atan2.c: Likewise.
14261 * math/w_atan2f.c: Likewise.
14262 * math/w_atan2l.c: Likewise.
14263 * math/w_atanh.c: Likewise.
14264 * math/w_atanhf.c: Likewise.
14265 * math/w_atanhl.c: Likewise.
14266 * math/w_exp10.c: Likewise.
14267 * math/w_exp10f.c: Likewise.
14268 * math/w_exp10l.c: Likewise.
14269 * math/w_fmod.c: Likewise.
14270 * math/w_fmodf.c: Likewise.
14271 * math/w_fmodl.c: Likewise.
14272 * math/w_j0.c: Likewise.
14273 * math/w_j0f.c: Likewise.
14274 * math/w_j0l.c: Likewise.
14275 * math/w_j1.c: Likewise.
14276 * math/w_j1f.c: Likewise.
14277 * math/w_j1l.c: Likewise.
14278 * math/w_jn.c: Likewise.
14279 * math/w_jnf.c: Likewise.
14280 * math/w_log.c: Likewise.
14281 * math/w_logf.c: Likewise.
14282 * math/w_logl.c: Likewise.
14283 * math/w_log10.c: Likewise.
14284 * math/w_log10f.c: Likewise.
14285 * math/w_log10l.c: Likewise.
14286 * math/w_log2.c: Likewise.
14287 * math/w_log2f.c: Likewise.
14288 * math/w_log2l.c: Likewise.
14289 * math/w_pow.c: Likewise.
14290 * math/w_powf.c: Likewise.
14291 * math/w_powl.c: Likewise.
14292 * math/w_remainder.c: Likewise.
14293 * math/w_remainderf.c: Likewise.
14294 * math/w_remainderl.c: Likewise.
14295 * math/w_scalb.c: Likewise.
14296 * math/w_scalbf.c: Likewise.
14297 * math/w_scalbl.c: Likewise.
14298 * math/w_sqrt.c: Likewise.
14299 * math/w_sqrtf.c: Likewise.
14300 * math/w_sqrtl.c: Likewise.
14301 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14302 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14303 used.
14304 * math/math_private.h: Declare __kernel_standard_f.
14305 * math/w_cosh.c: Remove cruft and optimize a bit.
14306 * math/w_coshf.c: Likewise.
14307 * math/w_coshl.c: Likewise.
14308 * math/w_exp2.c: Likewise.
14309 * math/w_exp2f.c: Likewise.
14310 * math/w_exp2l.c: Likewise.
14311 * math/w_hypot.c: Likewise.
14312 * math/w_hypotf.c: Likewise.
14313 * math/w_hypotl.c: Likewise.
14314 * math/w_lgamma.c: Likewise.
14315 * math/w_lgamma_r.c: Likewise.
14316 * math/w_lgammaf.c: Likewise.
14317 * math/w_lgammaf_r.c: Likewise.
14318 * math/w_lgammal.c: Likewise.
14319 * math/w_lgammal_r.c: Likewise.
14320 * math/w_sinh.c: Likewise.
14321 * math/w_sinhf.c: Likewise.
14322 * math/w_sinhl.c: Likewise.
14323 * math/w_tgamma.c: Likewise.
14324 * math/w_tgammaf.c: Likewise.
14325 * math/w_tgammal.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14327 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14328 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14329 Minor optimizations. Pretty printing. Remove cruft.
14330 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14331 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14333 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14334 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14335 * sysdeps/i386/fpu/e_asin.S: Likewise.
14336 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14337 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14338 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14339 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14340 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14342 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14343 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14344 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14345 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14346 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14347 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14348 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14349 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14350 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14351 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14352 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14353 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14354 * sysdeps/i386/fpu/e_log.S: Likewise.
14355 * sysdeps/i386/fpu/e_log10.S: Likewise.
14356 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14357 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14358 * sysdeps/i386/fpu/e_log2.S: Likewise.
14359 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14361 * sysdeps/i386/fpu/e_logf.S: Likewise.
14362 * sysdeps/i386/fpu/e_logl.S: Likewise.
14363 * sysdeps/i386/fpu/e_pow.S: Likewise.
14364 * sysdeps/i386/fpu/e_powf.S: Likewise.
14365 * sysdeps/i386/fpu/e_powl.S: Likewise.
14366 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14367 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14368 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14369 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14370 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14371 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14372 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14373 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14374 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14383 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14396 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14399 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14400 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14401 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14402 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14403 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14404 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14406 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14407 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14409 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14410 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14411 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14412 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14413 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14414 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14415 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14416 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14417 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14418 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14421 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14426 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14455 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14460 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14463 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14466 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14467 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14468 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14470 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14471 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14472 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14473 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14474 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14475 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14476 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14477 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14478 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14481 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14482 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14483 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14484 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14485 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14486 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14487 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14488 (__isnanf): Likewise.
14489 (__isinf_ns): Likewise.
14490 (__isinf_nsf): Likewise.
14491 (__finite): Likewise.
14492 (__finitef): Likewise.
14493 (__ieee754_sqrt): Define as macro.
14494 (__ieee754_sqrtf): Define as macro.
14495 (__ieee754_sqrtl): Define as macro.
14496 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14497 inlined copy.
14498 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14499 __FINITE_MATH_ONLY__ consistent.
14500 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14501
12cc2fcd
AS
145022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14503
a843a204
AS
14504 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14505 of rawmemchr.
14506
12cc2fcd
AS
14507 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14508
c853acd5
UD
145092011-10-09 Ulrich Drepper <drepper@gmail.com>
14510
14511 * po/ja.po: Update from translation team.
14512
c658d255
RM
145132011-10-08 Roland McGrath <roland@hack.frob.com>
14514
110946e4
RM
14515 * locale/programs/locarchive.c (prepare_address_space): New function.
14516 (create_archive, enlarge_archive, open_archive): Use it.
14517
50604220
RM
14518 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14519 inside [SHARED], where it is used.
14520
c658d255
RM
14521 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14522
14523 * nss/getent.c (netgroup_keys): Remove unused variable.
14524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14525
6a621eb7
UD
145262011-10-08 Ulrich Drepper <drepper@gmail.com>
14527
7edb55ce
UD
14528 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14531 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14532 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14533 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14534 * math/Makefile (libm-calls): Add s_isinf_ns.
14535 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14536 * math/multc3.c: Likewise.
14537 * math/s_casin.c: Likewise.
14538 * math/s_casinf.c: Likewise.
14539 * math/s_casinl.c: Likewise.
14540 * math/s_ccos.c: Likewise.
14541 * math/s_ccosf.c: Likewise.
14542 * math/s_ccosl.c: Likewise.
14543 * math/s_ctan.c: Likewise.
14544 * math/s_ctanf.c: Likewise.
14545 * math/s_ctanh.c: Likewise.
14546 * math/s_ctanhf.c: Likewise.
14547 * math/s_ctanhl.c: Likewise.
14548 * math/s_ctanl.c: Likewise.
14549 * math/w_fmod.c: Likewise.
14550 * math/w_fmodf.c: Likewise.
14551 * math/w_fmodl.c: Likewise.
14552 * math/w_remainder.c: Likewise.
14553 * math/w_remainderf.c: Likewise.
14554 * math/w_remainderl.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14556 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14559 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14560 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14561 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14562 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14563
187da0ae
UD
14564 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14565 of the number.
14566 * stdio-common/printf_fphex.c: Likewise.
14567 * stdio-common/printf_size.c: Likewise.
14568
9277c064
UD
14569 * math/e_exp10.c: Include math_private.h using <...> not "...".
14570 * math/e_exp10f.c: Likewise.
14571 * math/e_exp10l.c: Likewise.
14572 * math/e_exp2l.c: Likewise.
14573 * math/e_j0l.c: Likewise.
14574 * math/e_j1l.c: Likewise.
14575 * math/e_jnl.c: Likewise.
14576 * math/e_lgammal_r.c: Likewise.
14577 * math/e_rem_pio2l.c: Likewise.
14578 * math/e_scalb.c: Likewise.
14579 * math/e_scalbf.c: Likewise.
14580 * math/e_scalbl.c: Likewise.
14581 * math/k_cosl.c: Likewise.
14582 * math/k_sinl.c: Likewise.
14583 * math/k_tanl.c: Likewise.
14584 * math/s_cacoshf.c: Likewise.
14585 * math/s_catan.c: Likewise.
14586 * math/s_catanf.c: Likewise.
14587 * math/s_catanh.c: Likewise.
14588 * math/s_catanhf.c: Likewise.
14589 * math/s_catanhl.c: Likewise.
14590 * math/s_catanl.c: Likewise.
14591 * math/s_ccosh.c: Likewise.
14592 * math/s_ccoshf.c: Likewise.
14593 * math/s_ccoshl.c: Likewise.
14594 * math/s_cexp.c: Likewise.
14595 * math/s_cexpf.c: Likewise.
14596 * math/s_cexpl.c: Likewise.
14597 * math/s_clog.c: Likewise.
14598 * math/s_clog10.c: Likewise.
14599 * math/s_clog10f.c: Likewise.
14600 * math/s_clog10l.c: Likewise.
14601 * math/s_clogf.c: Likewise.
14602 * math/s_clogl.c: Likewise.
14603 * math/s_csin.c: Likewise.
14604 * math/s_csinf.c: Likewise.
14605 * math/s_csinh.c: Likewise.
14606 * math/s_csinhf.c: Likewise.
14607 * math/s_csinhl.c: Likewise.
14608 * math/s_csinl.c: Likewise.
14609 * math/s_csqrt.c: Likewise.
14610 * math/s_csqrtf.c: Likewise.
14611 * math/s_csqrtl.c: Likewise.
14612 * math/s_ctan.c: Likewise.
14613 * math/s_ctanf.c: Likewise.
14614 * math/s_ctanh.c: Likewise.
14615 * math/s_ctanhf.c: Likewise.
14616 * math/s_ctanhl.c: Likewise.
14617 * math/s_ctanl.c: Likewise.
14618 * math/s_ldexp.c: Likewise.
14619 * math/s_ldexpf.c: Likewise.
14620 * math/s_ldexpl.c: Likewise.
14621 * math/s_significand.c: Likewise.
14622 * math/s_significandf.c: Likewise.
14623 * math/s_significandl.c: Likewise.
14624 * math/w_acos.c: Likewise.
14625 * math/w_acosf.c: Likewise.
14626 * math/w_acosh.c: Likewise.
14627 * math/w_acoshf.c: Likewise.
14628 * math/w_acoshl.c: Likewise.
14629 * math/w_acosl.c: Likewise.
14630 * math/w_asin.c: Likewise.
14631 * math/w_asinf.c: Likewise.
14632 * math/w_asinl.c: Likewise.
14633 * math/w_atan2.c: Likewise.
14634 * math/w_atan2f.c: Likewise.
14635 * math/w_atan2l.c: Likewise.
14636 * math/w_atanh.c: Likewise.
14637 * math/w_atanhf.c: Likewise.
14638 * math/w_atanhl.c: Likewise.
14639 * math/w_cosh.c: Likewise.
14640 * math/w_coshf.c: Likewise.
14641 * math/w_coshl.c: Likewise.
14642 * math/w_dremf.c: Likewise.
14643 * math/w_exp10.c: Likewise.
14644 * math/w_exp10f.c: Likewise.
14645 * math/w_exp10l.c: Likewise.
14646 * math/w_exp2.c: Likewise.
14647 * math/w_exp2f.c: Likewise.
14648 * math/w_fmod.c: Likewise.
14649 * math/w_fmodf.c: Likewise.
14650 * math/w_fmodl.c: Likewise.
14651 * math/w_hypot.c: Likewise.
14652 * math/w_hypotf.c: Likewise.
14653 * math/w_hypotl.c: Likewise.
14654 * math/w_j0.c: Likewise.
14655 * math/w_j0f.c: Likewise.
14656 * math/w_j0l.c: Likewise.
14657 * math/w_j1.c: Likewise.
14658 * math/w_j1f.c: Likewise.
14659 * math/w_j1l.c: Likewise.
14660 * math/w_jn.c: Likewise.
14661 * math/w_jnf.c: Likewise.
14662 * math/w_jnl.c: Likewise.
14663 * math/w_lgamma.c: Likewise.
14664 * math/w_lgamma_r.c: Likewise.
14665 * math/w_lgammaf.c: Likewise.
14666 * math/w_lgammaf_r.c: Likewise.
14667 * math/w_lgammal.c: Likewise.
14668 * math/w_lgammal_r.c: Likewise.
14669 * math/w_log.c: Likewise.
14670 * math/w_log10.c: Likewise.
14671 * math/w_log10f.c: Likewise.
14672 * math/w_log10l.c: Likewise.
14673 * math/w_log2.c: Likewise.
14674 * math/w_log2f.c: Likewise.
14675 * math/w_log2l.c: Likewise.
14676 * math/w_logf.c: Likewise.
14677 * math/w_logl.c: Likewise.
14678 * math/w_pow.c: Likewise.
14679 * math/w_powf.c: Likewise.
14680 * math/w_powl.c: Likewise.
14681 * math/w_remainder.c: Likewise.
14682 * math/w_remainderf.c: Likewise.
14683 * math/w_remainderl.c: Likewise.
14684 * math/w_scalb.c: Likewise.
14685 * math/w_scalbf.c: Likewise.
14686 * math/w_scalbl.c: Likewise.
14687 * math/w_sinh.c: Likewise.
14688 * math/w_sinhf.c: Likewise.
14689 * math/w_sinhl.c: Likewise.
14690 * math/w_sqrt.c: Likewise.
14691 * math/w_sqrtf.c: Likewise.
14692 * math/w_sqrtl.c: Likewise.
14693 * math/w_tgamma.c: Likewise.
14694 * math/w_tgammaf.c: Likewise.
14695 * math/w_tgammal.c: Likewise.
14696
6a621eb7
UD
14697 * po/ja.po: Update from translation team.
14698
bf582445
AJ
146992011-09-29 Andreas Jaeger <aj@suse.de>
14700
f9efbf3a
AJ
14701 [BZ #13179]
14702 * sunrpc/netname.c (netname2host): Fix logic.
14703
bf582445
AJ
14704 [BZ #6779]
14705 [BZ #6783]
14706 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14707 correctly.
14708 * math/w_remainder.c (__remainder): Likewise.
14709 * math/w_remainderf.c (__remainderf): Likewise.
14710 * math/libm-test.inc (remainder_test): Add test cases.
14711
48693bea
AK
147122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14713
14714 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14715 sdiv_qrnnd.
14716
42622229
LD
147172011-10-07 Ulrich Drepper <drepper@gmail.com>
14718
14719 * string/test-memcmp.c: Avoid unncessary #defines.
14720 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14721
093ecf92
LD
147222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14723
14724 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14725 Use new sse2 version for core i3 - i7 as it's faster
14726 than sse42 version.
14727 (bit_Prefer_PMINUB_for_stringop): New.
14728 * sysdeps/x86_64/rawmemchr.S: Update.
14729 Replace with faster SSE2 version.
14730 * sysdeps/x86_64/memrchr.S: New file.
14731 * sysdeps/x86_64/memchr.S: Update.
14732 Replace with faster SSE2 version.
14733
fde56e5c
MP
147342011-09-12 Marek Polacek <mpolacek@redhat.com>
14735
14736 * elf/dl-load.c (lose): Add cast to avoid warning.
14737
21fd49a9
UD
147382011-10-07 Ulrich Drepper <drepper@gmail.com>
14739
5a06e643
UD
14740 * po/ca.po: Update from translation team.
14741
684ae515
UD
14742 * inet/getnetgrent_r.c: Hook up nscd.
14743 * nscd/Makefile (routines): Add nscd_netgroup.
14744 (nscd-modules): Add netgroupcache.
14745 (CFLAGS-netgroupcache.c): Define.
14746 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14747 (cache_search): Add const to second parameter.
14748 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14749 INNETGR.
14750 (dbs): Add netgrdb entry.
14751 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14752 (verify_persistent_db): Handle netgrdb.
14753 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14754 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14755 GETFDNETGR.
14756 (netgroup_response_header): Define.
14757 (innetgroup_response_header): Define.
14758 (datahead): Add netgroup_response_header and innetgroup_response_header
14759 elements.
14760 * nscd/nscd.conf: Add entries for netgroup cache.
14761 * nscd/nscd.h (dbtype): Add netgrdb.
14762 (_PATH_NSCD_NETGROUP_DB): Define.
14763 (netgroup_iov_disabled): Declare.
14764 (xmalloc, xcalloc, xrealloc): Move declarations here.
14765 (cache_search): Adjust prototype.
14766 Add netgroup-related prototypes.
14767 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14768 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14769 (__nscd_innetgr): Declare.
14770 * nscd/selinux.c (perms): Use access_vector_t as element type and
14771 add netgroup-related initializers.
14772 * nscd/netgroupcache.c: New file.
14773 * nscd/nscd_netgroup.c: New file.
14774 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14775 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14776 For four parameters use innetgr.
14777 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14778 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14779 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14780 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14781
21fd49a9
UD
14782 * nscd/connections.c (register_traced_file): Don't register file
14783 for disabled databases.
14784
054c0457
UD
147852011-10-06 Ulrich Drepper <drepper@gmail.com>
14786
32b63198
UD
14787 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14788
054c0457
UD
14789 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14790 from tree and freeing node.
14791
64031225
JO
147922011-09-25 Jiri Olsa <jolsa@redhat.com>
14793
14794 * nss/nsswitch.c (__nss_database_lookup): Handle
14795 nss_parse_service_list out of memory case.
14796
0490345c
JO
147972011-09-15 Jiri Olsa <jolsa@redhat.com>
14798
14799 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14800 out of memory case.
14801
3a62d00d
AS
148022011-10-04 Andreas Schwab <schwab@redhat.com>
14803
14804 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14805 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14806 pass it down.
14807 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14808 elf_machine_rela, elf_machine_lazy_rel.
14809 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14810 (ELF_DYNAMIC_DO_REL): Likewise.
14811 (ELF_DYNAMIC_DO_RELA): Likewise.
14812 (ELF_DYNAMIC_RELOCATE): Likewise.
14813 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14814 to ELF_DYNAMIC_DO_REL.
14815 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14816 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14817 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14818 elf_machine_rela.
14819 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14820 skip_ifunc, don't call ifunc function if non-zero.
14821 (elf_machine_rela): Likewise.
14822 (elf_machine_lazy_rel): Likewise.
14823 (elf_machine_lazy_rela): Likewise.
14824 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14825 (elf_machine_lazy_rel): Likewise.
14826 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14827 Likewise.
14828 (elf_machine_lazy_rel): Likewise.
14829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14830 Likewise.
14831 (elf_machine_lazy_rel): Likewise.
14832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14833 (elf_machine_lazy_rel): Likewise.
14834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14835 (elf_machine_lazy_rel): Likewise.
14836 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14837 (elf_machine_lazy_rel): Likewise.
14838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14839 (elf_machine_lazy_rel): Likewise.
14840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14841 (elf_machine_lazy_rel): Likewise.
14842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14843 (elf_machine_lazy_rel): Likewise.
14844
68577918
UD
148452011-09-28 Ulrich Drepper <drepper@gmail.com>
14846
14847 * nss/nss_files/files-init.c (_nss_files_init): Use static
14848 initialization for all the *_traced_file variables.
14849
68822d74
AS
148502011-09-28 Andreas Schwab <schwab@redhat.com>
14851
14852 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14853
2056100b
RM
148542011-09-27 Roland McGrath <roland@hack.frob.com>
14855
14856 [BZ #13226]
14857 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14858
32c76b63
AS
148592011-09-27 Andreas Schwab <schwab@redhat.com>
14860
14861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14862 Reread the line before reparsing it.
14863
bf972c9d
AS
148642011-09-26 Andreas Schwab <schwab@redhat.com>
14865
14866 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14867
e057a1b5
JM
148682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14869 Maxim Kuvyrkov <maxim@codesourcery.com>
14870 Joseph Myers <joseph@codesourcery.com>
14871
14872 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14873 if needed for __stack_chk_guard.
14874
bc7e1c36
RM
148752011-09-19 Roland McGrath <roland@hack.frob.com>
14876
ecb1482f
RM
14877 * sysdeps/posix/spawni.c (script_execute): Always define it.
14878 It will be optimized away if unused.
14879 (maybe_script_execute): New function.
14880 (__spawni): Call it.
14881
bc7e1c36
RM
14882 * Makerules: Don't include tls.make.
14883 (config-tls): Always set to thread.
14884 * tls.make.c: File removed.
14885
1c3b002b
MF
148862011-09-19 Mike Frysinger <vapier@gentoo.org>
14887
14888 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14889 * config.make.in (CPPFLAGS-config): New substituted variable.
14890
2840865d
UD
148912011-09-15 Ulrich Drepper <drepper@gmail.com>
14892
88738eb6
UD
14893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14894
cbf645a6 14895 [BZ #13192]
2840865d
UD
14896 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14897 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14898
b402e91a
RM
148992011-09-15 Roland McGrath <roland@hack.frob.com>
14900
14901 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14902 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14904 (CALL_FAIL): Likewise.
14905 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14906 (CALL_FAIL): Macro removed.
14907 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14908
4c1a1f71
UD
149092011-09-15 Ulrich Drepper <drepper@gmail.com>
14910
14911 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14912 for __FINITE_MATH_ONLY__ == 1.
14913
edc121be
AS
149142011-09-15 Andreas Schwab <schwab@redhat.com>
14915
14916 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14917 __ieee754_sqrt instead of sqrt.
14918 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14919 __ieee754_sqrtf instead of sqrtf.
14920 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14921 __floorf instead of floorf.
14922 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14923 __floorf, __truncf instead of floorf, truncf.
14924
cd205654
UD
149252011-09-14 Ulrich Drepper <drepper@gmail.com>
14926
ee4d0315
UD
14927 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14928
cd205654
UD
14929 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14930 __extern_always_inline.
14931 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14932 32-bit.
14933
48b67d71
AS
149342011-09-14 Andreas Schwab <schwab@redhat.com>
14935
14936 * elf/rtld.c (dl_main): Also relocate in dependency order when
14937 doing symbol dependency testing.
14938
1ae12c75
AS
149392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14940
14941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14942 Always define `refsym'.
14943
995a80df
AS
149442011-09-13 Andreas Schwab <schwab@redhat.com>
14945
e529793b
AS
14946 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14947 (__FD_ELT): Renamed from __FDELT.
14948 * misc/bits/select2.h (__FD_ELT): Likewise.
14949 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14950 __FD_MASK instead of __FDELT, __FDMASK.
14951 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14952 Likewise.
14953 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14954 Likewise.
14955
52d4fef8
AS
14956 * elf/Makefile (gen-ldd): Fix pattern.
14957
995a80df
AS
14958 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14959 (init_tls): Likewise.
14960
8682f8b0
UD
149612011-09-12 Ulrich Drepper <drepper@gmail.com>
14962
14963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14964
de82006d
AS
149652011-09-12 Andreas Schwab <schwab@redhat.com>
14966
a7c8e6a1
AS
14967 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14968 `struct cmsghdr *' instead of `void *'.
14969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14970 Likewise.
14971
0f31fe77
AS
149722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14973
14974 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14975 if non-absolute.
14976 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14977 ldd_rewrite_script.
0f31fe77 14978
32b4c839
UD
149792011-09-11 Ulrich Drepper <drepper@gmail.com>
14980
83cd1420
UD
14981 * configure.in: Remove --with-tls option.
14982 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14983 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14984 out in case it is missing.
14985 * sysdeps/ia64/elf/configure.in: Likewise.
14986 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14987 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14988 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14989 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14990 * sysdeps/sh/elf/configure.in: Likewise.
14991 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14992 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14993 * sysdeps/x86_64/elf/configure.in: Likewise.
14994 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14995 * sysdeps/mach/hurd/tls.h: Likewise.
14996
633f745d
UD
14997 [BZ #13067]
14998 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14999
f318beb8
UD
15000 [BZ #13090]
15001 * configure.in: Fix use of AC_INIT.
15002
32b4c839
UD
15003 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15004
3ce1f295
UD
150052011-09-10 Ulrich Drepper <drepper@gmail.com>
15006
bb016596
UD
15007 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15008 __set_errno.
8e58439c
UD
15009 * malloc/hooks.c: Likewise.
15010
aebae053 15011 [BZ #11929]
02d46fc4
UD
15012 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15013 variables statically.
15014 (narenas): Initialize.
15015 (list_lock): Initialize.
bb016596
UD
15016 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15017 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15018 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15019 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15020 Add initializers to main_arena and mp_.
15021 (malloc_state): Remove pagesize member. Change all users to use
15022 GLRO(dl_pagesize).
15023
15024 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15025 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15026 is always initialized.
15027
22a89187
UD
15028 * malloc/malloc.c: Removed unused configurations and dead code.
15029 * malloc/arena.c: Likewise.
15030 * malloc/hooks.c: Likewise.
02d46fc4 15031 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15032
d063d164
UD
15033 * include/tls.h: Removed. USE___THREAD must always be defined.
15034 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15035 * elf/dl-libc.c: Likewise.
15036 * elf/dl-tsd.c: Likewise.
15037 * include/errno.h: Likewise.
15038 * include/netdb.h: Likewise.
15039 * include/resolv.h: Likewise.
15040 * inet/herrno-loc.c: Likewise.
15041 * inet/herrno.c: Likewise.
15042 * malloc/arena.c: Likewise.
15043 * malloc/hooks.c: Likewise.
15044 * malloc/malloc.c: Likewise.
15045 * resolv/res-state.c: Likewise.
15046 * resolv/res_libc.c: Likewise.
15047 * sysdeps/i386/dl-machine.h: Likewise.
15048 * sysdeps/ia64/dl-machine.h: Likewise.
15049 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15050 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15051 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15052 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15053 * sysdeps/sh/dl-machine.h: Likewise.
15054 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15055 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15056 * sysdeps/unix/i386/sysdep.S: Likewise.
15057 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15058 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15063 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15067 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15068 * sysdeps/x86_64/dl-machine.h: Likewise.
15069 * tls.make.c: Likewise.
15070
3ce1f295
UD
15071 * configure.in: Remove --with-__thread option. Make tests for
15072 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15073 tls_model attribute fail if no support is available. Remove
15074 USE_IN_LIBIO.
15075 * Makeconfig: Adjust for dropped configure option. All features are
15076 now mandatory.
15077 * Makerules: Likewise.
15078 * Versions.def: Likewise.
15079 * argp/argp-fmtstream.c: Likewise.
15080 * argp/argp-fmtstream.h: Likewise.
15081 * argp/argp-help.c: Likewise.
15082 * assert/assert.c: Likewise.
15083 * config.h.in: Likewise.
15084 * config.make.in: Likewise.
15085 * configure: Likewise.
15086 * configure.in: Likewise.
15087 * csu/Versions: Likewise.
15088 * csu/init.c: Likewise.
15089 * elf/tst-audit2.c: Likewise.
15090 * elf/tst-tls10.c: Likewise.
15091 * elf/tst-tls10.h: Likewise.
15092 * elf/tst-tls11.c: Likewise.
15093 * elf/tst-tls12.c: Likewise.
15094 * elf/tst-tls14.c: Likewise.
15095 * elf/tst-tlsmod11.c: Likewise.
15096 * elf/tst-tlsmod12.c: Likewise.
15097 * elf/tst-tlsmod13.c: Likewise.
15098 * elf/tst-tlsmod13a.c: Likewise.
15099 * elf/tst-tlsmod14a.c: Likewise.
15100 * elf/tst-tlsmod15b.c: Likewise.
15101 * elf/tst-tlsmod16a.c: Likewise.
15102 * elf/tst-tlsmod16b.c: Likewise.
15103 * elf/tst-tlsmod7.c: Likewise.
15104 * elf/tst-tlsmod8.c: Likewise.
15105 * elf/tst-tlsmod9.c: Likewise.
15106 * gmon/gmon.c: Likewise.
15107 * grp/fgetgrent_r.c: Likewise.
15108 * grp/putgrent.c: Likewise.
15109 * hurd/fopenport.c: Likewise.
15110 * include/libc-symbols.h: Likewise.
15111 * include/tls.h: Likewise.
15112 * intl/gettextP.h: Likewise.
15113 * intl/loadinfo.h: Likewise.
15114 * locale/global-locale.c: Likewise.
15115 * locale/localeinfo.h: Likewise.
15116 * mach/devstream.c: Likewise.
15117 * malloc/arena.c: Likewise.
15118 * malloc/set-freeres.c: Likewise.
15119 * misc/err.c: Likewise.
15120 * misc/getttyent.c: Likewise.
15121 * misc/mntent_r.c: Likewise.
15122 * posix/getopt.c: Likewise.
15123 * posix/wordexp.c: Likewise.
15124 * pwd/fgetpwent_r.c: Likewise.
15125 * resolv/Versions: Likewise.
15126 * resolv/res_hconf.c: Likewise.
15127 * shadow/fgetspent_r.c: Likewise.
15128 * shadow/putspent.c: Likewise.
15129 * stdio-common/printf_fphex.c: Likewise.
15130 * stdio-common/tmpfile.c: Likewise.
15131 * stdlib/abort.c: Likewise.
15132 * stdlib/fmtmsg.c: Likewise.
15133 * sunrpc/auth_unix.c: Likewise.
15134 * sunrpc/clnt_perr.c: Likewise.
15135 * sunrpc/clnt_tcp.c: Likewise.
15136 * sunrpc/clnt_udp.c: Likewise.
15137 * sunrpc/clnt_unix.c: Likewise.
15138 * sunrpc/openchild.c: Likewise.
15139 * sunrpc/svc_simple.c: Likewise.
15140 * sunrpc/svc_tcp.c: Likewise.
15141 * sunrpc/svc_udp.c: Likewise.
15142 * sunrpc/svc_unix.c: Likewise.
15143 * sunrpc/xdr.c: Likewise.
15144 * sunrpc/xdr_array.c: Likewise.
15145 * sunrpc/xdr_rec.c: Likewise.
15146 * sunrpc/xdr_ref.c: Likewise.
15147 * sunrpc/xdr_stdio.c: Likewise.
15148
1248c1c4
PB
151492011-09-09 Ulrich Drepper <drepper@gmail.com>
15150
15151 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15152
151532011-07-03 Andreas Jaeger <aj@suse.de>
15154
15155 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15156 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15157 regenerate with gen-libm-tests.pl.
15158
151592010-05-12 Petr Baudis <pasky@suse.cz>
15160
15161 [BZ #11589]
15162 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15163 around j0() zero points by switching to j1().
15164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15168
f22e1074
UD
151692011-09-09 Ulrich Drepper <drepper@gmail.com>
15170
f19009c1
UD
15171 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15172 instead of 0.
15173 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15174 instead of 0. .
15175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15176 Patch in part by Pavel Roskin <proski@gnu.org>.
15177
3f8cc204
UD
15178 [BZ #13138]
15179 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15180 realloc.
15181 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15182 Free memory block if necessary.
15183
f22e1074
UD
15184 [BZ #12847]
15185 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15186 be NULL. Don't lock in this case.
15187
0a2349f9
RM
151882011-09-09 Roland McGrath <roland@hack.frob.com>
15189
15190 * elf/elf.h (ELFOSABI_GNU): New macro.
15191 (ELFOSABI_LINUX): Define to that.
15192
f3cdd467
DZ
151932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15194
15195 * string/strncat.c (strncat): Undef the symbol in case it has been
15196 defined in bits/string.h.
15197
74718d13
UD
151982011-09-09 Ulrich Drepper <drepper@gmail.com>
15199
633e9e0f
UD
15200 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15201
0a2349f9 15202 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15203 link map.
15204
f9924780
AJ
152052011-08-17 Andreas Jaeger <aj@suse.de>
15206
15207 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15208
7f5517aa
PP
152092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15210 Ian Lance Taylor <iant@google.com>
15211
15212 * math/libm-test.inc (lround_test): New testcase.
15213 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15214
762011fe
UD
152152011-09-08 Ulrich Drepper <drepper@gmail.com>
15216
92963737
UD
15217 * Makefile: Remove support for automatic cvs check-ins.
15218 * Makerules: Likewise.
15219 * config.make.in: Likewise.
15220 * configure.in: Likewise.
15221 * intl/Makefile: Likewise.
15222 * locale/Makefile: Likewise.
15223 * po/Makefile: Likewise.
15224 * posix/Makefile: Likewise.
15225 * sysdeps/gnu/Makefile: Likewise.
15226 * sysdeps/mach/hurd/Makefile: Likewise.
15227 * sysdeps/sparc/sparc32/Makefile: Likewise.
15228
b0727fd8
JS
15229 [BZ #13118]
15230 * posix/Makefile (bug-regex32-ENV): Define.
15231 Patch by John Stanley <jpsinthemix@verizon.net>.
15232
a0f33f99
UD
15233 * misc/Makefile (headers): Add bits/select2.h.
15234 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15235 * misc/bits/select2.h: New file.
15236 * include/bits/select2.h: New file.
15237 * debug/Makefile (routines): Add fdelt_chk.
15238 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15239 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15240 FD_ISSET.
15241 * debug/fdelt_chk.c: New file.
15242
762011fe
UD
15243 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15244 * wcsmbs/test-wmemcmp.c: Likewise.
15245 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15246 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15247
152482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15249
15250 * string/Makefile (strop-tests): Add memcmp.
15251 * string/test-wmemcmp.c: New file.
15252 * string/test-memcmp.c: Add wmemcmp support.
15253
7f513ec8
RM
152542011-09-08 Roland McGrath <roland@hack.frob.com>
15255
0442afb4
RM
15256 [BZ #13153]
15257 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15258 2011-07-19 change.
15259
7f513ec8
RM
15260 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15261 garbage value in a __mach_port_mod_refs call in the cases of the
15262 task-self and thread-self ports.
15263
a12b2239
ST
152642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15265
15266 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15267
610f9ab4
AS
152682011-09-08 Andreas Schwab <schwab@redhat.com>
15269
7f513ec8 15270 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15271
48882a1a
LD
152722011-09-07 Ulrich Drepper <drepper@gmail.com>
15273
b49865be
UD
15274 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15275
fdc86bc9
UD
15276 * elf/dl-libc.c (dlerror_run): Pass back error code from
15277 dl_catch_error.
15278
c966526a
UD
15279 [BZ #13123]
15280 * elf/dl-load.c (lose): Free l_origin if it is valid.
15281
48882a1a
LD
15282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15283 names.
15284 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15288 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15289 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15290
77a2a8b4
AZ
152912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15292
15293 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15294 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15295 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15296 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15297 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15298 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15299 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15300 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15301 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15302 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15303
24f579d8
AM
153042011-08-15 Alan Modra <amodra@gmail.com>
15305
15306 [BZ #13092]
15307 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15308 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15309 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15310 ppc_mcount to static-only-routines.
15311 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15312 __mcount_internal.
15313 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15314 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15315
3d4837df
UD
153162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15317
15318 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15319 for finite and infinity parameters.
15320
22700377
WS
153212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15322
15323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15324 and add nop instructions for throughput optimization.
15325 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15326
5025581e
WS
153272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15328
15329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15330 aligned copy for power7 with vector-scalar instructions.
15331 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15332
08a300c9
L
153332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15334
15335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15336 AVX check.
15337
59178ef9
AS
153382011-09-07 Andreas Schwab <schwab@redhat.com>
15339
15340 [BZ #13144]
15341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15342 last change.
15343
e38ba7ab
UD
153442011-09-07 Ulrich Drepper <drepper@gmail.com>
15345
15346 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15347 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15348 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15349 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15350 clock_gettime.
15351
d53a73ac
UD
153522011-09-06 Ulrich Drepper <drepper@gmail.com>
15353
fc8bffcc
UD
15354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15355 Forgot to demangle the pointer.
15356
ceaa0c5d
UD
15357 * sysdeps/i386/sysdep.h: Define atom_text_section.
15358 * sysdeps/x86_64/sysdep.h: Likewise.
15359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15360 section with atom_text_section.
15361 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15363 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15364 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15365 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15366
a77d3c17
UD
15367 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15368 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15369 already be defined. Change to take two parameters and don't assign
15370 result to variable. Adjust all users.
15371 Define INTERNAL_GETTIME if not already defined.
15372 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15373 call.
15374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15375 HAVE_CLOCK_GETTIME_VSYSCALL.
15376 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15377
d53a73ac
UD
15378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15379 gettimeofday vsyscall, just use time.
15380
a8f84144
AS
153812011-09-06 Andreas Schwab <schwab@redhat.com>
15382
15383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15384 <errno.h>.
15385
ef606249
UD
153862011-09-06 Ulrich Drepper <drepper@gmail.com>
15387
15388 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15389 syscall on x86-64.
15390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15391 syscall.
15392 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15394 syscall if possible.
15395
6585cb60
UD
153962011-09-05 Ulrich Drepper <drepper@gmail.com>
15397
15398 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15399 e_ident. Don't pass to find_mapsXX.
15400 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15401
a5f524e4
LD
154022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15403
15404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15405 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15406 * sysdeps/x86_64/multiarch/strchr.S: Update.
15407 Check bit_slow_BSF bit.
15408 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15409 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15410 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15411
554881ef
UD
154122011-09-05 Ulrich Drepper <drepper@gmail.com>
15413
d96de963
UD
15414 [BZ #13134]
15415 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15416 before glibc 2.15.
15417 (tryshell): Define.
15418 (__spawni): Change last parameter to be flag. Test
15419 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15420 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15421 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15422 * posix/spawni.c: Likewise.
15423 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15424 * posix/spawnp.c: Likewise. Change normal version to use
15425 SPAWN_XFLAGS_USE_PATH.
15426 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15427 SPAWN_XFLAGS_TRY_SHELL.
15428
d48e5868
UD
15429 [BZ #13150]
15430 * posix/glob.h: Remove gcc 1.x support.
15431
554881ef
UD
15432 [BZ #13068]
15433 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15434
693fb948
LD
154352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15436
15437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15438 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15439 strrchr-sse2-bsf
15440 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15441 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15442 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15444 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15446
1b48c537
UD
154472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15448
49d42c37
UD
15449 * sysdeps/x86_64/wcscmp.S: New file.
15450
1b48c537
UD
15451 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15452 wcscmp-c wcscmp-sse2
15453 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15454 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15455 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15456 * wcsmbs/wcscmp.c: Allow renaming.
15457
15c95c5d
DM
154582011-09-05 David S. Miller <davem@davemloft.net>
15459
15460 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15461 stack slot, rather than the struct return pointer slot.
15462 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15463 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15466
2f0ad8f3
UD
154672011-09-05 Ulrich Drepper <drepper@gmail.com>
15468
d88ae418
UD
15469 * po/ja.po: Update from translation team.
15470
2f0ad8f3
UD
15471 [BZ #13144]
15472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15473 kernel in 64-bit binaries.
15474
5f4318d1
DM
154752011-09-01 David S. Miller <davem@davemloft.net>
15476
15477 * elf/elf.h (HWCAP_SPARC_*): Move to..
15478 * sysdeps/sparc/sysdep.h: this new file and add new values.
15479 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15480 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15481 _DL_HWCAP_COUNT to 24.
15482 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15483 entries.
15484 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15485 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15486 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15488 instead of magic constants.
15489 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15490
3ba57516
DM
154912011-08-31 David S. Miller <davem@davemloft.net>
15492
15493 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15495 Reimplement to do errno handling inline.
15496 (SYSCALL_ERROR_HANDLER): New macro.
15497 (__SYSCALL_STRING): Do not do errno handling in asm.
15498 (__CLONE_SYSCALL_STRING): Delete.
15499 (__INTERNAL_SYSCALL_STRING): Delete.
15500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15501 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15502 (PSEUDO): Reimplement to do errno handling inline.
15503 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15504 (SYSCALL_ERROR_HANDLER): New macro.
15505 (__SYSCALL_STRING): Do not do errno handling in asm.
15506 (__CLONE_SYSCALL_STRING): Delete.
15507 (__INTERNAL_SYSCALL_STRING): Delete.
15508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15509 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15510 i386.
15511 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15512 (inline_syscall*): Add 'err' argument.
15513 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15514 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15515 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15516 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15517
15518 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15519 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15520
2bc17433
AS
155212011-08-30 Andreas Schwab <schwab@redhat.com>
15522
15523 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15524
fbeb5f4d
JO
155252011-08-29 Jiri Olsa <jolsa@redhat.com>
15526
15527 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15528 directive.
15529
ad69cc26
DM
155302011-08-24 David S. Miller <davem@davemloft.net>
15531
15532 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15533
39dd69df
AS
155342011-08-24 Andreas Schwab <schwab@redhat.com>
15535
15536 * elf/Makefile: Add rules to build and run unload8 test.
15537 * elf/unload8.c: New file.
15538 * elf/unload8mod1.c: New file.
15539 * elf/unload8mod1x.c: New file.
15540 * elf/unload8mod2.c: New file.
15541 * elf/unload8mod3.c: New file.
15542
15543 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15544 it wasn't used.
15545
2c0b250a
DM
155462011-08-23 David S. Miller <davem@davemloft.net>
15547
15548 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15549 subtract stack bias.
15550 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15551 %sp not %fp in calculations.
15552 (_JMPBUF_UNWINDS_ADJ): Likewise.
15553
22044b48
DM
15554 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15555 (aio_suspend): Call it to force an exception region around the
15556 AIO_MISC_WAIT() invocation.
15557
2cae4995
AS
155582011-08-23 Andreas Schwab <schwab@redhat.com>
15559
15560 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15561 backslash.
15562
873a772e
AJ
155632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15564
15565 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15566 protection macro.
15567 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15568 and <dl-machine.h>.
15569 (Elf64_FuncDesc): Remove.
15570
25ad0df1
DM
155712011-08-22 David S. Miller <davem@davemloft.net>
15572
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15574 sigaltstack check, add missing cfi directives.
15575 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15576 missing cfi directives, and sigaltstack handling.
15577
e888bcbe
AS
155782011-08-16 Andreas Schwab <schwab@redhat.com>
15579
15580 [BZ #11724]
15581 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15582 object is seen twice.
15583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15584
15585 * elf/Makefile (distribute): Add tst-initorder2.c.
15586 (tests): Add tst-initorder2.
15587 (modules-names): Add tst-initorder2a tst-initorder2b
15588 tst-initorder2c tst-initorder2d. Add rules to build them.
15589 ($(objpfx)tst-initorder2.out): New rule.
15590 * elf/tst-initorder2.c: New file.
15591 * elf/tst-initorder2.exp: New file.
15592
87162f46
AS
155932011-08-22 Andreas Schwab <schwab@redhat.com>
15594
70538b7f
AS
15595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15596
f55ffe58
AS
15597 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15598 dependencies back to end of function.
15599
87162f46
AS
15600 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15601 $(elfobjdir)/ld.so.
15602
91b392a4
UD
156032011-08-21 Ulrich Drepper <drepper@gmail.com>
15604
15605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15606 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15608 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15609 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15610 of __vdso_gettimeofday.
15611 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15612 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15613 attribute_hidden.
15614 (_libc_vdso_platform_setup): Remove initialization of
15615 __vdso_gettimeofday and __vdso_time.
15616
5c43483f
UD
156172011-08-20 Ulrich Drepper <drepper@gmail.com>
15618
775a77e7
UD
15619 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15620 and fgetc_unlocked.
15621 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15622 getc_unlocked.
89f447ed 15623
49c74ba9
UD
15624 * elf/dl-open.c (add_to_global): Report additions to the global scope
15625 for LD_DEBUG=scopes.
15626 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15627 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15628
5c43483f
UD
15629 [BZ #13114]
15630 * stdio-common/Makefile (tests): Add bug24.
15631 * stdio-common/bug24.c: New file.
15632
a101b025
AJ
156332011-08-19 Andreas Jaeger <aj@suse.de>
15634
15635 [BZ #13114]
15636 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15637 non-existant file when using close-on-exec mode.
15638
c88f1766
UD
156392011-08-20 Ulrich Drepper <drepper@gmail.com>
15640
0276a718
UD
15641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15642 the very first instruction.
15643
c88f1766
UD
15644 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15645 the CFI state in the end.
15646 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15647 inclusion of dl-trampoline.h.
15648 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15649
51ccffa0
AS
156502011-08-19 Andreas Schwab <schwab@redhat.com>
15651
94d7165f
AS
15652 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15653 expectations for long double.
15654
51ccffa0
AS
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15656 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15657
fd708658 156582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15659
15660 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15661 artificual limit depends upon the system page size.
15662
44f0a71e
UD
156632011-08-17 Ulrich Drepper <drepper@gmail.com>
15664
15665 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15666 * resolv/Makefile: Define CFLAGS-libresolv.
15667
8de79a24
AS
156682011-08-17 Andreas Schwab <schwab@redhat.com>
15669
15670 * nss/makedb.c (compute_tables): Make variables used in nested
15671 function static.
15672
27724598
UD
156732011-08-17 Ulrich Drepper <drepper@gmail.com>
15674
c5305d88
UD
15675 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15676 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15677 if buffer was too small.
15678
27724598
UD
15679 * elf/pldd.c (main): Attach to all threads in the process.
15680 Rewrite /proc handling to use *at functions.
15681
076fe015
UD
156822011-08-16 Ulrich Drepper <drepper@gmail.com>
15683
174baab3
UD
15684 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15685 specifies first scope to show.
15686 (dl_open_worker): Update callers. Move printing scope of new
15687 object to before the relocation.
44f0a71e 15688 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15689 * sysdeps/generic/ldsodefs.h: Update declaration.
15690
076fe015
UD
15691 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15692 string for the scope number.
15693
a60df2c3
UD
156942011-08-14 Ulrich Drepper <drepper@gmail.com>
15695
15696 * nscd/servicescache.c (cache_addserv): Make sure written is always
15697 initialized.
15698
5e4287d1
RM
156992011-08-14 Roland McGrath <roland@hack.frob.com>
15700
85ae0589
RM
15701 * sysdeps/i386/i486/bits/atomic.h
15702 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15703 statement expression, so as to suppress "set but not used" warning.
15704 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15705
69f63097
RM
15706 * string/strncat.c (STRNCAT): Use prototype definition.
15707
675456ef
RM
15708 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15709 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15710 -Iprograms here.
15711 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15712 (localedef-modules): Add localedef.
15713 (locale-modules): Add locale.
15714
5e4287d1
RM
15715 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15716 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15717 to avoid a warning.
15718
9c96ff23
DM
157192011-08-14 David S. Miller <davem@davemloft.net>
15720
15721 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15722 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15723
f9ddf089
UD
157242011-08-13 Ulrich Drepper <drepper@gmail.com>
15725
44f0a71e 15726 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15727 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15728 * elf/rtld.c (dl_main): Set l_name of vDSO.
15729 Call _dl_show_scope when DL_DEBUG_SCOPES.
15730 (process_dl_debug): Recognize scopes flag and also set it for all.
15731 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15732 Declare _dl_show_scope.
15733
1dc27704
UD
15734 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15735 (do_dlopen): Pass caller_dlopen to dl_open.
15736 (__libc_dlopen_mode): Initialize caller_dlopen.
15737
f9ddf089
UD
15738 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15739 of libc. Make tolower call locale-independent. Optimize a bit by
15740 using isdigit instead of isalnum.
15741 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15742
9ac533d3
UD
157432011-08-12 Ulrich Drepper <drepper@gmail.com>
15744
15745 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15746 was a dependency or dynamically loaded.
15747
89edf2e9
UD
157482011-08-11 Ulrich Drepper <drepper@gmail.com>
15749
8e999d29
UD
15750 * intl/l10nflist.c: Allow architecture-specific pop function.
15751 * sysdeps/x86_64/l10nflist.c: New file.
15752
89edf2e9
UD
15753 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15754 classification.
15755
14d96785
AS
157562011-08-10 Andreas Schwab <schwab@redhat.com>
15757
15758 * include/dirent.h: Add libc_hidden_proto for scandirat and
15759 scandirat64. Don't declare __scandirat64.
15760 * dirent/scandirat.c: Add libc_hidden_def.
15761 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15762 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15763
6761ac04
DM
157642011-08-10 David S. Miller <davem@davemloft.net>
15765
15766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15767 enum.
15768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15769 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15770 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15771
c55fbd1e
UD
157722011-08-09 Ulrich Drepper <drepper@gmail.com>
15773
15774 * Versions.def [libc]: Add GLIBC_2.15.
15775 * dirent/Makefile (routines): Add scandirat and scandirat64.
15776 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15777 GLIBC_2.15.
15778 * dirent/dirent.h: Declare scandirat and scandirat64.
15779 * dirent/scandirat.c: New file.
15780 * dirent/scandirat64.c: New file.
15781 * sysdeps/wordsize-64/scandirat.c: New file.
15782 * sysdeps/wordsize-64/scandirat64.c: New file.
15783 * dirent/opendir.c: Define opendirat.
15784 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15785 using scandirat.
15786 * dirent/scandir64.c: Adjust for scandir.c change.
15787 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15788 __scandirat64, and __scandir_cancel_handler.
15789 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15790 additional parameter and use openat instead of open (outside of ld.so).
15791 Add new __opendir as wrapper around __opendirat.
15792 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15793 here without requiring old scandirat implementation.
15794
879165f2
UD
157952011-08-08 Ulrich Drepper <drepper@gmail.com>
15796
15797 * dirent/scandir.c (cancel_handler): Renamed to
15798 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15799 defined. Adjust users.
15800 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15801 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15802
cb7e923b
UD
158032011-08-04 Ulrich Drepper <drepper@gmail.com>
15804
16292edd
UD
15805 * string/test-string.h (IMPL): Use __STRING to expand name and then
15806 stringify it.
15807
cb7e923b
UD
15808 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15809 of cleanups.
15810
cff82933
LD
158112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15812
15813 * string/Makefile: Update.
15814 (strop-tests): Append strncat.
15815 * string/test-wcscmp.c: New file.
15816 New comprehensive test for wcscmp.
15817 * string/test-strcmp.c: Update.
15818 (WIDE): New define.
15819
9be9bfcc
AS
158202011-07-22 Andreas Schwab <schwab@redhat.com>
15821
15822 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15823 line.
15824
2e96f1c7
AS
158252011-07-26 Andreas Schwab <schwab@redhat.com>
15826
15827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15828 encoding to ACE if AI_IDN.
15829
85188888
JJ
158302011-08-01 Jakub Jelinek <jakub@redhat.com>
15831
15832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15833 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15834
5fa16e9b
LD
158352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15836
15837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15838 Fix overflow bug in strncat.
15839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15840
15841 * string/test-strncat.c: Update.
15842 Add new tests for checking overflow bugs.
15843
158442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15845
15846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15847 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15848 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15849 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15851 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15852 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15853 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15854 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15855
15856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15857 (USE_AS_STRCAT): Define.
15858 Add strcat and strncat support.
15859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15860
8c1a459f
AS
158612011-07-25 Andreas Schwab <schwab@redhat.com>
15862
15863 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15864 __n bigger than INT_MAX+1.
15865 (__strncmp_g): Likewise.
15866
bba33c28
UD
158672011-07-23 Ulrich Drepper <drepper@gmail.com>
15868
798be72d
UD
15869 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15870 * libio/stido.h: Likewise.
15871
8accd4dc
UD
15872 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15873 (AF_NFC): Define.
15874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15875 (AF_NFC): Define.
15876
cbff0d96
UD
15877 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15880 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15882
9191c04a
UD
15883 [BZ #13021]
15884 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15885 installed.
15886
bba33c28
UD
15887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15888 typo.
15889 (_dl_x86_64_save_sse): Likewise.
15890
90f139dd
UD
158912011-07-22 Ulrich Drepper <drepper@gmail.com>
15892
1aae088a
UD
15893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15894 OSXSAVE.
15895 (_dl_x86_64_save_sse): Likewise.
15896
8e2045f5
UD
15897 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15898
90f139dd
UD
15899 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15900
1d002f25
AS
159012011-07-21 Andreas Schwab <schwab@redhat.com>
15902
15903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15904 change.
15905 (_dl_x86_64_save_sse): Use correct AVX check.
15906
21137f89
UD
159072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15908
15909 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15910 bug in strncpy/strncat.
15911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15912
a65c0b7a
UD
159132011-07-21 Ulrich Drepper <drepper@gmail.com>
15914
15915 * string/tester.c (test_strcat): Add tests for different alignments
15916 of source and destination.
15917 (test_strncat): Likewise.
15918
6986b98a
UD
159192011-07-20 Ulrich Drepper <drepper@gmail.com>
15920
90bb2039
UD
15921 [BZ #12852]
15922 * posix/glob.c (glob): Check passed in values before using them in
15923 expressions to avoid some overflows.
15924 (glob_in_dir): Likewise.
15925
5644ef54
UD
15926 [BZ #13007]
15927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15928 check for AVX enablement so that we don't crash with old kernels and
15929 new hardware.
15930 * elf/tst-audit4.c: Add same checks here.
15931 * elf/tst-audit6.c: Likewise.
15932
15933 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15934
bfc9dc9b
AS
159352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15936
15937 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15938
702e64bb
UD
159392011-07-20 Ulrich Drepper <drepper@gmail.com>
15940
15941 * po/cs.po: Update from translation team.
15942 * po/bg.po: Likewise.
15943
295e904f
MP
159442011-07-12 Marek Polacek <mpolacek@redhat.com>
15945
15946 * misc/sys/cdefs.h: Add support for const attribute.
15947 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15948 to gnu_dev_{major,minor,makedev} functions.
15949
3ff94596
MP
159502011-07-20 Marek Polacek <mpolacek@redhat.com>
15951
15952 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15953
28b59fca
AS
159542011-07-20 Andreas Schwab <schwab@redhat.com>
15955
15956 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15957 strlen results.
15958
19df733e
AK
159592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15960
15961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15962 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15963 register in order to avoid conflicts with the soft frame pointer
15964 being held in r11 when necessary.
15965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15966 (INTERNAL_VSYSCALL_NCS): Likewise.
15967
c8835729
MP
159682011-07-14 Marek Polacek <mpolacek@redhat.com>
15969
15970 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15971 * elf/dl-fini.c (_dl_fini): Adjust caller.
15972 * elf/dl-close.c (_dl_close_worker): Likewise.
15973 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15974
b902330c
MP
159752011-07-15 Marek Polacek <mpolacek@redhat.com>
15976
8991e135
MP
15977 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15978 "aux_cache->nlibs < 0".
15979
b902330c
MP
15980 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15981 in the reload-count case.
15982
99710781
LD
159832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15984
15985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15986 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15987 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15988 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15989 * sysdeps/x86_64/multiarch/strcat.S: New file.
15990 * sysdeps/x86_64/multiarch/strncat.S: New file.
15991 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15992 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15993 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15994 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15996 (USE_AS_STRCAT): Define.
15997 Add strcat and strncat support.
15998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16000 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16001 * string/strncat.c: Update.
16002 (USE_AS_STRNCAT): Define.
16003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16004 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16005 and i7.
16006 * sysdeps/x86_64/multiarch/init-arch.h
16007 (bit_Prefer_PMINUB_for_stringop): New.
16008 (index_Prefer_PMINUB_for_stringop): Likewise.
16009 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16010 bit_Prefer_PMINUB_for_stringop.
16011
7dc6bd90
UD
160122011-07-19 Ulrich Drepper <drepper@gmail.com>
16013
16014 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16015 buffer64.
16016 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16017 of casting of buffer.
16018 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16019 buffer32 and buffer64.
16020 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16021 writes instead of casting of buffer.
16022 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16023 buffer32.
16024 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16025 casting of buffer.
16026
e0e72284
AS
160272011-07-19 Andreas Schwab <schwab@redhat.com>
16028
16029 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16030
feb1eb0b
UD
160312011-07-19 Ulrich Drepper <drepper@gmail.com>
16032
16033 * nscd/nscd.c (termination_handler): Don't do anything for a database
16034 if it has not yet been initialized.
16035
298711ff
UD
160362011-07-18 Ulrich Drepper <drepper@gmail.com>
16037
16038 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16039
160402011-07-15 Marek Polacek <mpolacek@redhat.com>
16041
16042 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16043
f9d68389
UD
160442011-07-18 Ulrich Drepper <drepper@gmail.com>
16045
16046 * po/nl.po: Update from translation team.
16047 * po/sv.po: Likewise.
16048
db290cf5
RM
160492011-07-16 Roland McGrath <roland@hack.frob.com>
16050
16051 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16052 now disallowed by GCC.
5c550700 16053
fd5e21c7
RM
16054 * configure.in (use-default-link): Default to yes if a test -shared
16055 link meets our qualifications.
16056 * configure: Regenerated.
16057
5c550700
RM
16058 * config.make.in (output-format): New variable.
16059 * configure.in: Check for ld --print-output-format support.
16060 * configure: Regenerated.
16061 * Makerules ($(common-objpfx)format.lds)
16062 [$(output-format) != unknown]: Just use $(output-format),
16063 instead of the linker-script munging.
16064
9fa2c032
RM
160652011-07-14 Roland McGrath <roland@hack.frob.com>
16066
a6928d51
RM
16067 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16068 of $(common-objpfx)shlib.lds.
16069 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16070
661607b3
RM
16071 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16072 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16073
9fa2c032
RM
16074 * configure.in (-z relro check): Adjust test code to add a large
16075 writable data section after it.
16076 * configure: Regenerated.
16077
defe9061
RM
160782011-07-11 Roland McGrath <roland@hack.frob.com>
16079
16080 * configure.in (-z relro check): Fix test code to make the variable
16081 truly const.
16082 * configure: Regenerated.
16083
319b9ad4
UD
160842011-07-11 Ulrich Drepper <drepper@gmail.com>
16085
16086 * nscd/nscd.h (struct traced_file): Define.
16087 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16088 elements. Add traced_files.
16089 (inotify_fd): Declare.
16090 (register_traced_file): Declare.
16091 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16092 (inotify_fd): Export.
16093 (resolv_conf_descr): Remove.
16094 (nscd_init): Move inotify descriptor creation to main.
16095 Don't register files for notification here.
16096 (register_traced_file): New function.
16097 (invalidate_cache): Don't use reset_res to determine whether to call
16098 res_init, go through the list of registered files.
16099 (main_loop_poll): The inotify descriptors are now stored in the
16100 structures for the traced files.
16101 (main_loop_epoll): Likewise
16102 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16103 to __nss_disable_nscd.
16104 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16105 for a database anymore. Check the records for all the registered
16106 files instead.
16107 * nss/Makefile (libnss_files-routines): Add files-init.
16108 (libnss_db-routines): Add db-init.
16109 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16110 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16111 * nss/nss_db/db-init.c: New file.
16112 * nss/nss_files/files-init.c: New file.
16113 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16114 __nss_lookup_function.
16115 (__nss_lookup_function): Call nss_load_library.
16116 (nss_load_all_libraries): New function.
16117 (__nss_disable_nscd): Take parameter with callback function for files
16118 to register. Set is_nscd. Load all the DSOs for the NSS modules
16119 used for the cached services.
16120 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16121 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16122 options for features to all the files in nscd.
16123
16124 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16125
23bee3e8
RM
161262011-07-10 Roland McGrath <roland@hack.frob.com>
16127
16128 * csu/elf-init.c (__libc_csu_init): Comment typo.
16129
46a5b7f0
UD
161302011-07-09 Ulrich Drepper <drepper@gmail.com>
16131
16132 * po/pl.po: Update from translation team.
16133 * po/ja.po: Likewise.
16134 * po/ru.po: Likewise.
16135 * po/ko.po: Likewise.
16136 * po/fr.po: Likewise.
16137
d30cf5bb
RM
161382011-07-09 Roland McGrath <roland@hack.frob.com>
16139
113ddea4
RM
16140 * configure.in (.ctors/.dtors header and trailer check):
16141 Use an empirical test on a built program.
16142 * configure: Regenerated.
16143
574920b4
RM
16144 * configure.in (-z relro check): Use an empirical test on a built DSO.
16145 Detect, but do not require, on ia64.
16146 * configure: Regenerated.
16147
d30cf5bb
RM
16148 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16149 Update tests that use readelf to use $READELF instead.
16150 * configure: Regenerated.
16151
8538fdb3
UD
161522011-07-08 Ulrich Drepper <drepper@gmail.com>
16153
16154 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16155 if the result is not used.
16156
04d08991
AJ
161572011-07-05 Andreas Jaeger <aj@suse.de>
16158
16159 [BZ#9696]
16160 * stdlib/tst-strtod.c: Add testcase.
16161
de283087
AD
161622011-07-07 Ulrich Drepper <drepper@gmail.com>
16163
4e5f31c8 16164 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16165 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16166 The latter has a higher limit. Take additional parameter to pass to
16167 the new function.
16168 (__pathconf): Pass file to __statfs_link_max.
16169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16170 __statfs_link_max.
16171 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16172 __statfs_link_max.
16173
de283087
AD
16174 [BZ #12868]
16175 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16177 Handle Lustre.
16178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16179 (__statfs_filesize_max): Likewise.
16180 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16181
c75fa153
AJ
161822011-07-05 Andreas Jaeger <aj@suse.de>
16183
16184 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16185
1a544854
UD
161862011-07-06 Marek Polacek <mpolacek@redhat.com>
16187
16188 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16189 `status' variable.
16190 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16191 Likewise.
16192
6f0eec67
UD
161932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16194
16195 * Makefile (strop-tests): Add strncat.
16196 * string/test-strncat.c: New file.
16197
aae30307
UD
161982011-06-30 Marek Polacek <mpolacek@redhat.com>
16199
16200 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16201
c0cfb5eb
UD
162022011-06-21 Andreas Jaeger <aj@suse.de>
16203
16204 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16205 Copy rule from iconvdata/Makefile.
16206
01636b21
UD
162072011-07-06 Ulrich Drepper <drepper@gmail.com>
16208
16209 [BZ #12922]
16210 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16211 but no long options are defined, just return 'W'.
16212
9895c8bc
UD
162132011-06-22 Marek Polacek <mpolacek@redhat.com>
16214
16215 [BZ #9696]
16216 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16217
5d4cf042
UD
162182011-07-06 Ulrich Drepper <drepper@gmail.com>
16219
16220 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16221 netgroups to read.
960e5535 16222 (innetgr): Likewise.
5d4cf042 16223
751eb97e
RM
162242011-07-05 Roland McGrath <roland@hack.frob.com>
16225
16226 * config.make.in (install_root): Default to $(DESTDIR).
16227
f15f1e45
UD
162282011-07-05 Ulrich Drepper <drepper@gmail.com>
16229
16230 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16231
4e34ac6a
RM
162322011-07-02 Roland McGrath <roland@hack.frob.com>
16233
5e9b6af4
RM
16234 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16235
84f9ea0f
RM
16236 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16237 containing directory rather than embedding absolute directory names.
16238
ea5ee9f7
RM
16239 * scripts/check-local-headers.sh: Rewritten using awk.
16240 Match by word, not by line. Print error messages for matches.
16241 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16242
1b74661a
RM
16243 * Makerules [shlib-lds-flags empty]:
16244 ($(common-objpfx)libc_pic.opts): New target.
16245 ($(common-objpfx)libc_pic.os.clean): New target.
16246 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16247
16248 * config.make.in (OBJCOPY): New variable.
16249 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16250 * configure: Regenerated.
16251
f781ef40
RM
16252 * config.make.in (use-default-link): New variable.
16253 * configure.in (use_default_link): Grok --with-default-link to set it.
16254 * configure: Regenerated.
16255 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16256 (shlib-lds, shlib-lds-flags): Define to empty.
16257
2d4fa81e
RM
16258 * Makerules (shlib-lds): New variable.
16259 (shlib-lds-flags): New variable.
16260 (build-shlib, build-moduile, build-module-asneeded): Use it.
16261 ($(common-objpfx)libc.so): Use $(shlib-lds).
16262 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16263 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16264
31fffa6b
RM
16265 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16266 DT_FLAGS/DT_FLAGS_1 with zero flags.
16267
4e34ac6a
RM
16268 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16269 linker script munging.
16270
fcfc776b
UD
162712011-07-02 Ulrich Drepper <drepper@gmail.com>
16272
16273 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16274 as 128-bit value.
16275 * crypt/sha512.c (sha512_process_block): Perform total addition using
16276 128-bit if possible.
16277 (__sha512_finish_ctx): Likewise.
16278 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16279 as 64-bit value.
16280 * crypt/sha256.c (SWAP64): Define.
16281 (sha256_process_block): Perform total addition using 64-bit if
16282 possible.
16283 (__sha256_finish_ctx): Likewise.
16284
99231d9a
UD
162852011-07-01 Ulrich Drepper <drepper@gmail.com>
16286
16287 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16289 * nscd/hstcache.c (cache_addhst): Likewise.
16290 * nscd/grpcache.c (cache_addgr): Likewise.
16291 * nscd/aicache.c (addhstaiX): Likewise
16292 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16293
445b4a53
TK
162942011-07-01 Thorsten Kukuk <kukuk@suse.de>
16295
16296 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16298 * nscd/hstcache.c (cache_addhst): Likewise.
16299 * nscd/grpcache.c (cache_addgr): Likewise.
16300 * nscd/aicache.c (addhstaiX): Likewise
16301
6d4d8e8e
AS
163022011-07-01 Andreas Schwab <schwab@redhat.com>
16303
16304 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16305 domain only when needed.
16306
89f654c5
AS
163072011-06-30 Andreas Schwab <schwab@redhat.com>
16308
16309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16310 is always restored.
16311
cf3b23ff
UD
163122011-06-29 Ulrich Drepper <drepper@gmail.com>
16313
16314 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16315 are re-adding the entry.
16316 * nscd/servicescache.c (cache_addserv): Likewise.
16317
751626f9
AJ
163182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16319
16320 * sysdeps/generic/dl-irel.h: fix protection against multiple
16321 inclusions.
16322 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16323
9113ea1f
UD
163242011-06-28 Ulrich Drepper <drepper@gmail.com>
16325
5c0b8d90
UD
16326 [BZ #12935]
16327 * malloc/memusage.sh: Fix quoting in message.
16328 * debug/xtrace.sh: Likewise.
16329
9113ea1f
UD
16330 * configure.in: Remove support for --experimental-malloc option, make
16331 it the default.
16332 * config.make.in: Likewise.
16333 * malloc/Makefile: Likewise.
16334
a4172181
AS
163352011-06-27 Andreas Schwab <schwab@redhat.com>
16336
16337 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16338 two-byte characters.
16339
78a7eee7
RM
163402011-06-27 Roland McGrath <roland@hack.frob.com>
16341
62bede13
RM
16342 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16343 AC_CACHE_CHECK invocation.
16344 * configure: Regenerated.
16345
78a7eee7
RM
16346 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16347
5ce33a62
UD
163482011-06-27 Ulrich Drepper <drepper@gmail.com>
16349
034807a9
UD
16350 [BZ #12350]
16351 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16352 bit from old_res_options.
16353
4902da17
UD
16354 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16355
5ce33a62
UD
16356 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16357 value type for setfct.
16358
c2344f56
L
163592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16360
16361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16362 __gettimeofday instead of gettimeofday.
16363
68468076
UD
163642011-06-26 Ulrich Drepper <drepper@gmail.com>
16365
16366 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16367
acb0d739
L
163682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16369
16370 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16371
16372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16373 info.
16374
8912479f
L
163752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16376
16377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16378 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16379 strcpy-sse2-unaligned strncpy-sse2-unaligned
16380 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16381 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16382 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16383 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16384 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16387 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16388 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16389 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16390 (STRCPY): Support SSE2 and SSSE3 versions.
16391
d5495a11
UD
163922011-06-24 Ulrich Drepper <drepper@gmail.com>
16393
16394 [BZ #12874]
16395 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16396 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16397 kernels which artificially limit size of requests.
16398
0b1cbaae
L
163992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16400
16401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16402 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16403 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16404 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16405 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16406 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16407 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16408 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16411 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16412 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16413 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16414 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16415 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16417 Enable unaligned load optimization for Intel Core i3, i5 and i7
16418 processors.
16419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16420 Define.
16421 (index_Fast_Unaligned_Load): Define.
16422 (HAS_FAST_UNALIGNED_LOAD): Define.
16423
07f494a0
MP
164242011-06-23 Marek Polacek <mpolacek@redhat.com>
16425
16426 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16427
fa3fc0fe
UD
164282011-06-22 Ulrich Drepper <drepper@gmail.com>
16429
16430 [BZ #12907]
16431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16432 until it is clear that the information is realy needed.
16433 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16434
e12df166
AS
164352011-06-22 Andreas Schwab <schwab@redhat.com>
16436
16437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16438
852eb34d
UD
164392011-06-22 Ulrich Drepper <drepper@gmail.com>
16440
84e2a551
UD
16441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16442 /sys/devices/system/cpu/online if it is usable.
16443
852eb34d
UD
16444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16445 reading the information from the /proc filesystem to once a second.
16446
6e502e19
UD
164472011-06-21 Andreas Jaeger <aj@suse.de>
16448
16449 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16450 NULL after inclusion of kernel headers.
16451
75d39ff2
UD
164522011-06-21 Ulrich Drepper <drepper@gmail.com>
16453
51f9aa6a
UD
16454 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16455 calls to internal_setent.
16456
c0244a9d
UD
16457 [BZ #12885]
16458 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16459 addresses using gethostbyname4_r ignore IPv4 addresses.
16460
c5e3c2ae
UD
16461 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16462 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16463
75d39ff2
UD
16464 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16465
42675c6f
DM
164662011-06-20 David S. Miller <davem@davemloft.net>
16467
16468 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16469 inclusions.
16470 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16471
16472 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16473 (elf_irel): Use it.
16474 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16475 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16476 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16477 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16478 * sysdeps/x86_64/dl-irel.h: Likewise.
16479
16480 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16481 * elf/dl-sym.c: Likewise.
16482
57912a71
UD
164832011-06-15 Ulrich Drepper <drepper@gmail.com>
16484
16485 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16486 need to dereference resplen2.
16487
ee22793d
AS
164882011-06-14 Andreas Schwab <schwab@redhat.com>
16489
16490 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16491
a9e836b0
UD
164922011-06-15 Ulrich Drepper <drepper@gmail.com>
16493
77fb9117
UD
16494 * Makeconfig: Define vardbdir and inst_vardbdir.
16495 * nss/Makefile: Add rules to install db-Makefile.
16496
40c1b22c
UD
16497 * nss/nss_db/db-XXX.c: Cleanup.
16498
9f2da732
UD
16499 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16500 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16501 GLIBC_PRIVATE.
16502 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16503 * nss/makedb.c: Implement -g option to specify that value strings
16504 are generated and should not be added to table iterated over for
16505 get*ent calls.
16506 * nss/nss_db/db-initgroups.c: New file.
16507
82e9a1f7
UD
16508 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16509 interface.
16510
c41af17e
UD
16511 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16512 (internal_getgrouplist): Adjust to name change.
16513 Update use_initgroups_entry if this is not the first call.
16514 * nss/databases.def: Add initgroups entry.
16515
a9e836b0
UD
16516 * nss/makedb.c (compute_tables): Check result of multiple hash table
16517 sizes to minimize maximum chain length.
16518
2666d441
UD
165192011-06-14 Ulrich Drepper <drepper@gmail.com>
16520
16521 * Versions.def: Add entry for libnss_db.
16522 * shlib-versions: Likewise.
16523 * nss/Makefile: Add rules to build libnss_db.
16524 * nss/Versions: Add libnss_db information. Organize libnss_files
16525 entries better.
16526 * nss/db-Makefile: Add gshadow support. Change rules for the new
16527 makedb progra. Some minor improvements to generate smaller files.
16528 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16529 here from...
16530 * nss/makedb.c: ...here.
16531 Improve database format to be smaller and require less memory at
16532 runtime.
16533 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16534 db anymore.
16535 * nss/nss_db/db-netgrp.c: Likewise.
16536 * nss/nss_db/db-open.c: Likewise.
16537 * nss/nss_files/flies-XXX.x: Adjust comments.
16538 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16539 * nss/nss_files/files-grp.c: Likewise.
16540 * nss/nss_files/files-hosts.c: Likewise.
16541 * nss/nss_files/files-network.c: Likewise.
16542 * nss/nss_files/files-proto.c: Likewise.
16543 * nss/nss_files/files-pwd.c: Likewise.
16544 * nss/nss_files/files-rpc.c: Likewise.
16545 * nss/nss_files/files-service.c: Likewise.
16546 * nss/nss_files/files-sgrp.c: Likewise.
16547 * nss/nss_files/files-spwd.c: Likewise.
16548 * nss/nss_db/db-alias.c: Removed.
16549 * nss/nss_db/dummy-db.h: Removed.
16550
9ee76b5a
UD
165512011-06-02 Ulrich Drepper <drepper@gmail.com>
16552
16553 * nss/makedb.c: Rewritten to not use database library.
16554 * nss/Makefile: Update to build new makedb program.
16555
c71ca1f8
AJ
165562011-06-14 Andreas Jaeger <aj@suse.de>
16557
16558 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16559 memset declaration.
16560
3154bfb8
UD
165612011-06-10 Andreas Schwab <schwab@redhat.com>
16562
16563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16564 tmpbuf.
16565
b350afab
RM
165662011-06-10 Roland McGrath <roland@hack.frob.com>
16567
decd4e50
RM
16568 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16569 * elf/Makefile ($(objpfx)ld.so): Likewise.
16570
5615eaf2
RM
16571 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16572 Don't list ld.so twice in dependencies.
16573
16574 * posix/bug-regex31.c: Include <stdlib.h>.
16575
16576 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16577
16578 * nis/nss_compat/compat-spwd.c
16579 (getspent_next_nss_netgr): Remove unused variable.
16580 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16581
16582 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16583 nonmembers" output to use the right array.
16584
16585 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16586
16587 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16588
16589 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16590 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16591 * catgets/gencat.c (read_input_file): Likewise.
16592 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16593
16594 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16595 variable definition inside #if's controlling its use.
16596
16597 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16598
16599 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16600
16601 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16602
16603 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16604 unreachable code.
16605
16606 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16607
b68e08db
RM
16608 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16609 * configure: Regenerated.
16610
b350afab
RM
16611 * Makerules: Revert last change.
16612 * elf/Makefile: Likewise.
16613
28368601
RM
166142011-06-09 Roland McGrath <roland@hack.frob.com>
16615
16616 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16617 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16618 (reloc-link): Likewise.
16619
11988f8f
UD
166202011-06-09 Ulrich Drepper <drepper@gmail.com>
16621
16622 * elf/Makefile: Add rules to build pldd.
16623 * elf/pldd.c: New file.
16624 * elf/pldd-xx.c: New file.
16625
e80fab37
UD
166262011-06-07 Ulrich Drepper <drepper@gmail.com>
16627
16628 * version.h: Update for 2.15 development version.
16629
9b849836
DM
166302011-06-07 David S. Miller <davem@davemloft.net>
16631
16632 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16633 ifuncs.
16634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16635 elf_machine_lazy_rel): Likewise.
16636 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16638 elf_machine_lazy_rel): Likewise.
16639 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16640 dl_hwcap via passed in argument.
16641 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16642 Likewise.
16643
5a31b283
AK
166442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16645
16646 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16647
069e52f8
RM
166482011-06-06 Roland McGrath <roland@hack.frob.com>
16649
16650 [BZ #12849]
16651 * manual/fdl-1.1.texi: New file, verbatim from:
16652 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16653 * manual/lgpl-2.1.texi: New file, verbatim from:
16654 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16655 * manual/Makefile (licenses): New variable, list those new file names.
16656 (texis): Use it.
16657 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16658
16659 * manual/fdl.texi: File removed.
16660 * manual/lesser.texi: File removed.
16661 * manual/libc.texinfo (Copying, Documentation License):
16662 Use new @include file names, put @appendix directive before @include.
16663
f16846a5
JJ
166642011-06-04 Jakub Jelinek <jakub@redhat.com>
16665
16666 [BZ #12841]
16667 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16668 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16669 (mq_open): Add __NTH.
16670
3d29045b
L
166712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16674 Assume Intel Core i3/i5/i7 processor if AVX is available.
16675
8c297311
UD
166762011-05-31 Ulrich Drepper <drepper@gmail.com>
16677
16678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16679 typo.
16680
c8fc0c91
UD
166812011-05-31 Andreas Schwab <schwab@redhat.com>
16682
16683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16684 memory. Use alloca_account. Fix memory leak when retrying.
16685
5b27a807
UD
166862011-05-31 Ulrich Drepper <drepper@gmail.com>
16687
356f8bc6
UD
16688 * version.h (RELEASE): Bump for 2.14 release.
16689 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16690
5b27a807
UD
16691 * config.make.in (RANLIB): Remove entry.
16692
01f16ab0
UD
166932011-05-30 Ulrich Drepper <drepper@gmail.com>
16694
41fce8bd
UD
16695 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16696 (libc.pot): Work around missing support for .ksh extension in xgettext.
16697
4769ae77
UD
16698 [BZ #12684]
16699 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16700 if both request failed.
16701 (send_dg): In case of server errors clear resplen or *resplen2.
16702
6b1e7d19
UD
16703 [BZ #12454]
16704 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16705 when there are multiple maps.
16706 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16707 (_dl_fini): Remove test here.
16708
01f16ab0
UD
16709 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16710
b1ebd700
UD
167112011-05-29 Ulrich Drepper <drepper@gmail.com>
16712
7ae22829
UD
16713 [BZ #12350]
16714 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16715 bit from old_res_options.
16716 (gaih_inet): Likewise.
16717
553149f6 16718 [BZ #11099]
18a84741 16719 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16720 as signed.
16721
652ffab1
UD
16722 * resolv/res_init.c (res_setoptions): Make the code more compact.
16723
16985fd0
UD
16724 [BZ #11558]
16725 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16726 set RES_USEVC.
16727
0464f746
UD
16728 [BZ #11634]
16729 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16730
7d17596c
UD
16731 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16732
cf6bbbd7
UD
16733 [BZ #11781]
16734 * malloc/malloc.h: Declare malloc hook variables as volatile.
16735
13f1ab36
UD
16736 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16737 in last patch.
16738
b1ebd700
UD
16739 [BZ #11799]
16740 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16741 raise in the comment.
80e2212d
UD
16742 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16744 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16745
ce67228d
UD
167462011-05-28 Ulrich Drepper <drepper@gmail.com>
16747
8887a920
UD
16748 [BZ #12811]
16749 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16750 grow the buffers more if it already has to be sufficient.
16751 (build_wcs_upper_buffer): Likewise.
16752 * posix/regexec.c (check_matching): Likewise.
16753 (clean_state_log_if_needed): Likewise.
16754 (extend_buffers): Don't enlarge buffers beyond size of the input
16755 buffer.
16756 Patches mostly by Emil Wojak <emil@wojak.eu>.
16757 * posix/bug-regex32.c: New file.
16758 * posix/Makefile (tests): Add bug-regex32.
16759
4f031072
UD
16760 * locale/findlocale.c (_nl_find_locale): Return right away if
16761 _nl_explode_name failed.
16762 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16763
d0478f0c
UD
16764 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16765
de81b246
UD
16766 * debug/xtrace.sh: Unify messages.
16767 * malloc/memusage.sh: Likewise.
16768
c738465a
UD
16769 [BZ #12813]
16770 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16771 time symbol from vDSO. Substitute with vsyscall if not available.
16772 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16773 __vdso_time.
16774
f1f929d7
UD
16775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16776 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16777 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16778 Add sendmmsg and internal_sendmmsg.
16779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16780 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16781 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16782
ce67228d
UD
16783 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16784 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16785 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16786
e57420c6
UD
167872011-05-27 Ulrich Drepper <drepper@gmail.com>
16788
a8509ca5
UD
16789 [BZ #12813]
16790 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16791 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16792 available.
16793 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16794 __vdso_getcpu.
16795
e57420c6
UD
16796 [BZ #12814]
16797 * iconvdata/Makefile (tests): Add bug-iconv9.
16798 * iconvdata/bug-iconv9.c: New file.
16799
4d07db15
AS
168002011-05-27 Andreas Schwab <schwab@redhat.com>
16801
16802 [BZ #12814]
16803 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16804
ea486f69
JJ
168052011-05-25 Jakub Jelinek <jakub@redhat.com>
16806
16807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16808 (struct user_regs_struct): Change intcs field back to cs.
16809
6f038433
UD
168102011-05-25 Ulrich Drepper <drepper@gmail.com>
16811
16812 * po/ja.po: Update from translation team.
16813
67f86a25
UD
168142011-05-23 Ulrich Drepper <drepper@gmail.com>
16815
16816 [BZ #12795]
16817 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16818 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16819
def7fbd6
AS
168202011-05-20 Andreas Schwab <schwab@redhat.com>
16821
16822 * stdlib/longlong.h: Update from GCC.
16823
f50ef8f1
AS
168242011-05-23 Andreas Schwab <schwab@redhat.com>
16825
16826 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16827 parameter name.
16828 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16829 Add parameter name.
16830 (__sysconf): Pass it down.
16831
de7ce8f1
UD
168322011-05-22 Ulrich Drepper <drepper@gmail.com>
16833
f2962a71
UD
16834 [BZ #12671]
16835 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16836 some situations.
16837 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16838 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16839 add in in __libc_use_alloca calls. Adjust callers.
16840 (glob): Use malloc in some situations.
16841
de7ce8f1
UD
16842 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16843 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16844 pltexit.
16845
aec84f53
UD
168462011-05-21 Ulrich Drepper <drepper@gmail.com>
16847
05bb4a68
UD
16848 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16849 and CLOCK_BOOTTIME_ALARM.
16850
7ea72f99
UD
16851 [BZ #12782]
16852 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16853 is returned.
16854
7e4afad5
UD
16855 * string/_strerror.c (__strerror_r): Print negative errors as signed
16856 numbers.
16857
8e211fec
UD
16858 [BZ #12777]
16859 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16860 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16861 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16862
f7d82dc9
UD
16863 * configure.in: Fix typo in redirection and correct removal of test
16864 files in two cases.
16865
cc9e536d
UD
16866 [BZ #12788]
16867 * locale/setlocale.c (new_composite_name): Fix test to check for
16868 identical name of all categories.
16869
aec84f53
UD
16870 [BZ #12792]
16871 * libio/filedoalloc.c (local_isatty): New function.
16872 (_IO_file_doallocate): Use local_isatty.
16873 * stdio-common/perror.c (perror): In case a new stream is used
16874 forward the stream error.
16875 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16876 error flag.
16877
78e64fdc
RT
168782011-05-20 Ulrich Drepper <drepper@gmail.com>
16879
34a9094f
UD
16880 [BZ #11869]
16881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16882 alloca.
16883 * include/alloca.h (extend_alloca_account): Define.
16884
78e64fdc
RT
16885 [BZ #11857]
16886 * posix/regex.h: Fix comments with documentation of user-accessible
16887 fields after compilation and describe correct free'ing of pattern
16888 after re_compile_pattern.
16889 Patch by Reuben Thomas <rrt@sc3d.org>.
16890
457bddfc
RA
168912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16892
16893 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16894 and -mno-altivec to prevent the compiler from using Altivec and/or
16895 VSX instructions when the corresponding registers are not available.
16896
a4527b51
AS
168972011-05-19 Andreas Schwab <schwab@redhat.com>
16898
16899 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16900
ed690b2f
UD
169012011-05-19 Ulrich Drepper <drepper@gmail.com>
16902
16903 * libio/freopen.c (freopen): Use __dup2, not dup2.
16904 * libio/freopen64.c (freopen64): Likewise.
16905
8db73634
L
169062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16907
16908 [BZ #12775]
16909 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16910 * math/Makefile (tests): Add test-powl.
16911 (CFLAGS-test-powl.c): Define.
16912 * math/test-powl.c: New file.
16913
0a197a9d
L
169142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16915
16916 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16917
ee30c380
UD
169182011-05-17 Ulrich Drepper <drepper@gmail.com>
16919
16920 [BZ #11837]
16921 * iconvdata/gb18030.c: Update to GB18020-2005.
16922
6ce75379
UD
169232011-05-16 Ulrich Drepper <drepper@gmail.com>
16924
a4b89fd8
AR
16925 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16926 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16927 Patch by Aharon Robbins <arnold@skeeve.com>.
16928
ea389b12
UD
16929 [BZ #11892]
16930 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16931 on the stack.
16932
68a3f91f
UD
16933 [BZ #11895]
16934 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16935 through underflows.
16936
15cc7dd1
UD
16937 [BZ #12766]
16938 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16939 point to strings before performing equality test for error_one_per_line
16940 mode.
16941
f3799213
UD
16942 [BZ #11697]
16943 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16944
d79a9c94
UD
16945 [BZ #11820]
16946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16947 (struct user_fpregs_struct): Avoid __uint*_t types.
16948
56e5eb46
UD
16949 [BZ #6420]
16950 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16951 symbol info. Use it instead of calling _dl_addr locally.
16952 (lock_and_info): New function.
16953 (tr_freehook): Call lock_and_info and pass symbol info as additional
16954 parameter to tr_where.
16955 (tr_mallochook): Likewise.
16956 (tr_reallochook): Likewise.
16957 (tr_memalignhook): Likewise.
16958
6ce75379
UD
16959 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16960 used and couldn't be at all thread-safe.
16961
f8a3b5bf
UD
169622011-05-15 Ulrich Drepper <drepper@gmail.com>
16963
94b7cc37
UD
16964 * libio/freopen.c (freopen): Don't close old file descriptor
16965 before the new one is opened. Instead dup the new file descriptor
16966 to the old one after the new stream is created.
16967 * libio/freopen64.c (freopen64): Likewise.
16968 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16969 * libio/fileops.c (_IO_new_file_close_it): Handle new
16970 _IO_FLAGS2_NOCLOSE flag.
16971 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16972 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16973 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16974 _IO_FLAGS2_NOCLOSE flag.
16975 * include/unistd.h: Add hidden_proto for dup3.
16976 Define __have_dup3.
16977 * io/dup3.c: Define hidden symbol.
16978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16979
bd25564e
UD
16980 [BZ #7101]
16981 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16982 when an incomplete long option is used.
16983 * posix/tst-getopt_long1.c: New file.
16984 * posix/Makefile (tests): Add tst-getopt_long1.
16985
c84cfef4
UD
16986 [BZ #10138]
16987 * scripts/config.guess: Update from autoconf-2.68.
16988 * scripts/config.sub: Likewise.
16989
3b85df27
UD
16990 [BZ #10157]
16991 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16992 tests into ...
16993 (has_cpuclock): ...this. New function.
16994 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16995 macro here based on has_cpuclock code.
16996
15a856b1
UD
16997 [BZ #10149]
16998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16999 First byte (not low byte) is now always NUL.
17000 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17001
05f399e6
UD
17002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17003 Use non-cancelable interfaces.
17004
10a52685 17005 [BZ #9809]
94ecc67d
UD
17006 * locale/iso-639.def: Add entry for Sorani.
17007
f8a3b5bf
UD
17008 [BZ #11901]
17009 * include/stdlib.h: Move include protection to the right place.
17010 Define abort_msg_s. Declare __abort_msg with it.
17011 * stdlib/abort.c (__abort_msg): Adjust type.
17012 * assert/assert.c (__assert_fail_base): New function. Majority
17013 of code from __assert_fail. Allocate memory for __abort_msg with
17014 mmap.
17015 (__assert_fail): Now call __assert_fail_base.
17016 * assert/assert-perr.c: Remove bulk of implementation. Use
17017 __assert_fail_base.
17018 * include/assert.hL Declare __assert_fail_base.
17019 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17020 mmap.
17021 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17022
1af4e298
UD
170232011-05-14 Ulrich Drepper <drepper@gmail.com>
17024
f8a3b5bf 17025 [BZ #11952]
d26dfc60
MG
17026 [BZ #12453]
17027 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17028 until all modules are registered in the DTV.
17029 * elf/Makefile: Add rules to build and run tst-tls19.
17030 * elf/tst-tls19.c: New file.
17031 * elf/tst-tls19mod1.c: New file.
17032 * elf/tst-tls19mod2.c: New file.
17033 * elf/tst-tls19mod3.c: New file.
17034 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17035
2fc54d6f
UD
17036 [BZ #12083]
17037 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17038 correctly.
17039
98d76b46
UD
17040 [BZ #12601]
17041 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17042 two-byte sequence errors.
17043 * iconvdata/Makefile (tests): Add bug-iconv8.
17044 * iconvdata/bug-iconv8.c: New file.
17045
da3c19ef
UD
17046 [BZ #12626]
17047 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17048 buf2 definition.
17049
ca408c15
UD
17050 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17051
d6f67f7d
UD
17052 [BZ #12432]
17053 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17054 (dummy_getcfa): New function.
17055 (init): Get _Unwind_GetCFA address, use dummy if not found.
17056 (backtrace_helper): In recursion check, also check whether CFA changes.
17057 (__backtrace): Completely initialize arg.
17058
1af4e298 17059 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17060 storing incomplete byte sequence in state object. Avoid testing for
17061 guaranteed too small input if we know there is enough data available.
1af4e298 17062
da62f81b
AS
170632011-05-11 Andreas Schwab <schwab@redhat.com>
17064
17065 * Makeconfig (+link-pie): Indent.
17066 * Rules (binaries-pie): Define if $(have-fpie) and
17067 $(build-shared).
17068 (binaries-shared): Also filter out $(binaries-pie).
17069 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17070 * nscd/Makefile (others-pie): Add nscd.
17071 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17072 ($(objpfx)nscd): Remove command override.
17073 * login/Makefile (others-pie): Add pt_chown.
17074 ($(objpfx)pt_chown): Remove command override.
17075 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17076 remove command overrides.
17077
fcabc0f8
UD
170782011-05-13 Ulrich Drepper <drepper@gmail.com>
17079
20030ae6
UD
17080 * libio/tst_putwc.c: Fix error messages.
17081
fcabc0f8
UD
17082 [BZ #12724]
17083 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17084 currently writing and seek to current position when not.
17085 * libio/Makefile (tests): Add bug-fclose1.
17086 * libio/bug-fclose1.c: New file.
17087
320a5dc0
PB
170882011-05-12 Ulrich Drepper <drepper@gmail.com>
17089
17090 [BZ #12511]
17091 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17092 don't set DF_1_NODELETE here.
17093 (do_lookup_x): When entering new entry test for copy relocation
17094 and if necessary set DF_1_NODELETE flag.
17095 * elf/tst-unique4.cc: New file.
17096 * elf/tst-unique4.h: New file.
17097 * elf/tst-unique4lib.cc: New file.
17098 * elf/Makefile: Add rules to build and run tst-unique4.
17099 Patch by Piotr Bury <pbury@goahead.com>.
17100
22836f52
UD
171012011-05-11 Ulrich Drepper <drepper@gmail.com>
17102
f574184a
UD
17103 [BZ #12052]
17104 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17105
e1fb097f
UD
17106 [BZ #12625]
17107 * misc/mntent_r.c (addmntent): Flush the stream after the output
17108
22836f52
UD
17109 [BZ #12393]
17110 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17111 (is_trusted_path_normalize): Skip initial colon. Append slash
17112 to empty buffer. Duplicate is_trusted_path code but allow
17113 constructed patch to be prefix.
17114 (is_dst): Allow $ORIGIN followed by /.
17115 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17116 Correct testing of result of is_trusted_path_normalize
17117 (decompose_rpath): Fix warning.
17118
7b3b0b2a
UD
171192011-05-10 Ulrich Drepper <drepper@gmail.com>
17120
17121 [BZ #11257]
17122 * grp/initgroups.c (internal_getgrouplist): When we found the service
17123 list through the initgroups entry in nsswitch.conf do not always
17124 continue on a successful lookup. Don't always use the
eac80ce2 17125 __nss_group_database value if it is set.
7b3b0b2a
UD
17126 * nss/nsswitch.conf (initgroups): Change action for successful db
17127 lookup to continue for compatibility.
17128
2a81eaa5
UD
171292011-05-09 Ulrich Drepper <drepper@gmail.com>
17130
be97a69e
UD
17131 [BZ #11532]
17132 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17133 and CP774 modules.
17134 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17135 and CP774 modules.
17136 * iconvdata/tst-tables.sh: Likewise.
17137 * iconvdata/cp770.c: New file.
17138 * iconvdata/cp771.c: New file.
17139 * iconvdata/cp772.c: New file.
17140 * iconvdata/cp773.c: New file.
17141 * iconvdata/cp774.c: New file.
17142 * iconvdata/testdata/CP770: New file.
17143 * iconvdata/testdata/CP770..UTF8: New file.
17144 * iconvdata/testdata/CP771: New file.
17145 * iconvdata/testdata/CP771..UTF8: New file.
17146 * iconvdata/testdata/CP772: New file.
17147 * iconvdata/testdata/CP772..UTF8: New file.
17148 * iconvdata/testdata/CP773: New file.
17149 * iconvdata/testdata/CP773..UTF8: New file.
17150 * iconvdata/testdata/CP774: New file.
17151 * iconvdata/testdata/CP774..UTF8: New file.
17152
17153 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17154 END CHARMAP line.
17155 * iconvdata/gen-8bit-gap.sh: Likewise.
17156 * iconvdata/gen-8bit.sh: Likewise.
17157
c1e9e399
UD
17158 * locale/iso-639.def: Add ary entry.
17159
24c55fb3 17160 [BZ #11258]
96b4b1b0
UD
17161 * locale/C-translit.h.in: Add U20A1 transliteration.
17162
bdc2f971
KB
17163 [BZ #12178]
17164 * locale/iso-639.def: Add wae entry.
17165 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17166
2952b117
UD
17167 [BZ #12545]
17168 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17169 for n.
17170
2a81eaa5
UD
17171 [BZ #12711]
17172 * locale/C-translit.h.in: Add entry for U20B9.
17173 Patch by pravin.d.s@gmail.com.
17174
28377d1b
UD
171752011-05-08 Ulrich Drepper <drepper@gmail.com>
17176
7fb90fb8
UD
17177 [BZ #12713]
17178 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17179 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17180 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17181 in rtld. Use *stat64.
7fb90fb8 17182 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17183 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17184 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17185 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17186 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17187 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17188 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17189 __fstatat64 macros.
7fb90fb8
UD
17190 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17191 * dirent/rewinddir.c: Add libc_hidden_def.
17192 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17193 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17194
28377d1b
UD
17195 * include/dirent.h (__alloc_dir): Add flags parameter.
17196 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17197 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17198 __alloc_dir.
17199 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17200 from fdopendir if O_CLOEXEC is already set.
17201
66bdbaa4
AM
172022011-03-15 Alan Modra <amodra@gmail.com>
17203
17204 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17205 l_tls_firstbyte_offset non-zero. Save padding offset in
17206 l_tls_firstbyte_offset for later use.
17207 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17208 freeing static tls block.
17209
95721191
JN
172102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17211
17212 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17213 where #ifdef was intended. The intent is to prevent ARG_MAX from
17214 being defined by the kernel headers.
17215
f87dfb1f
UD
172162011-05-07 Ulrich Drepper <drepper@gmail.com>
17217
17218 [BZ #12734]
17219 * resolv/resolv.h: Define RES_NOTLDQUERY.
17220 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17221 no-tld-query and set RES_NOTLDQUERY.
17222 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17223 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17224 modern BIND to search name as TLD unless forbidden.
17225
47c3cd7a
UD
172262011-05-07 Petr Baudis <pasky@suse.cz>
17227 Ulrich Drepper <drepper@gmail.com>
17228
17229 [BZ #12393]
17230 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17231 (is_trusted_path): ...to here.
c1e9ea35 17232 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17233 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17234 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17235
8a35c912
PP
172362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17237
17238 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17239 __BEGIN/__END_DECLS.
17240
acd41f47
UD
172412011-05-06 Ulrich Drepper <drepper@gmail.com>
17242
17243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17244 NSS_STATUS_NOTFOUND if no record was found.
17245
597df647
AS
172462011-05-05 Andreas Schwab <schwab@redhat.com>
17247
17248 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17249 (headers-not-in-tirpc): Remove rpc/netdb.h
17250 * resolv/netdb.h: Revert last change.
17251
b9af1301
PP
172522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17253
17254 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17255 circular dependency between libgcc.a and libc.a.
17256
4e34d5f5
AS
172572011-05-05 Andreas Schwab <schwab@redhat.com>
17258
17259 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17260 * nis/Makefile: Don't install rpcsvc/*.
17261 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17262 instead of <rpc/types.h>.
17263 (MAXHOSTNAMELEN): Define.
17264
00ee369c
AS
172652011-05-03 Andreas Schwab <schwab@redhat.com>
17266
17267 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17268
0b592a30
MB
172692011-04-28 Maciej Babinski <mbabinski@google.com>
17270
17271 [BZ #12714]
17272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17273 gethostbyname4_r when IPv6 results are possible.
17274
6e04cbbe
UD
172752011-05-02 Ulrich Drepper <drepper@gmail.com>
17276
17277 [BZ #12723]
17278 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17279 _PC_PIPE_BUF handling.
17280
e4ecafe0
BH
172812011-04-30 Bruno Haible <bruno@clisp.org>
17282
17283 [BZ #12717]
17284 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17285 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17286 to 'int'.
17287 * inet/getnameinfo.c (getnameinfo): Likewise.
17288
125ee683
UD
172892011-04-29 Ulrich Drepper <drepper@gmail.com>
17290
17291 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17292 to groups setting in database lookup.
17293 * nss/nsswitch.conf: Add initgroups entry.
17294
b722481a
EB
172952011-04-22 Ulrich Drepper <drepper@gmail.com>
17296
17297 [BZ #12685]
17298 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17299 mode string.
17300 Patch by Eric Blake <eblake@redhat.com>.
17301
4df46dbd
L
173022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 * sunrpc/Makefile (need-export-routines): Add svc_run.
17305 (routines): Remove svc_run.
17306 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17307 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17308 * sunrpc/svc_run.c (svc_run): Likewise.
17309 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17310
e84142d2
UD
173112011-04-21 Ulrich Drepper <drepper@gmail.com>
17312
17313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17314 problem in reallocation in last patch.
17315
877175d8
UD
173162011-04-20 Ulrich Drepper <drepper@gmail.com>
17317
17318 * sunrpc/Makefile: Move inclusion of Rules.
17319
ab8eed78
UD
173202011-04-19 Ulrich Drepper <drepper@gmail.com>
17321
17322 * nss/nss_files/files-initgroups.c: New file.
17323 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17324 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17325 _nss_files_initgroups_dyn.
17326
e3d8f584
RS
173272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17328
17329 * elf/elf.h (R_ARM_IRELATIVE): Define.
17330
af190f45
UD
173312011-04-19 Ulrich Drepper <drepper@gmail.com>
17332
17333 * po/ru.po: Update from translation team.
17334
53cf59ef
UD
173352011-04-17 Ulrich Drepper <drepper@gmail.com>
17336
17337 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17338 dependencies.
17339
4c559bcd
MF
173402011-02-06 Mike Frysinger <vapier@gentoo.org>
17341
17342 [BZ #12653]
17343 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17344 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17348
4420675c
AS
173492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17350
17351 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17352 differing bytes.
17353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17354 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17355 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17356
75ea32ab
UD
173572011-04-17 Ulrich Drepper <drepper@gmail.com>
17358
17359 [BZ #12420]
17360 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17361 storing it.
17362 * stdlib/bug-getcontext.c: New file.
17363 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17364
27390476
AK
173652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17366
17367 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17368 instructions into .machine "z9-109".
17369 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17370 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17371
10442705
AK
173722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17373
17374 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17375 between environment variables and auxiliary vector.
17376
7b57bfe5
UD
173772011-04-16 Ulrich Drepper <drepper@gmail.com>
17378
17379 * Makefile: Add rules to build linkobj/libc.so.
17380 * include/libc-symbols.h: Define libc_hidden_nolink.
17381 * include/rpc/auth.h: Mark functions which are to be hidden.
17382 * include/rpc/auth_des.h: Likewise.
17383 * include/rpc/auth_unix.h: Likewise.
17384 * include/rpc/clnt.h: Likewise.
17385 * include/rpc/des_crypt.h: Likewise.
17386 * include/rpc/key_prot.h: Likewise.
17387 * include/rpc/pmap_clnt.h: Likewise.
17388 * include/rpc/pmap_prot.h: Likewise.
17389 * include/rpc/pmap_rmt.h: Likewise.
17390 * include/rpc/rpc_msg.h: Likewise.
17391 * include/rpc/svc.h: Likewise.
17392 * include/rpc/svc_auth.h: Likewise.
17393 * include/rpc/xdr.h: Likewise.
17394 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17395 * nss/Makefile: Likewise.
17396 * sunrpc/Makefile: Don't install headers. Build library with normal
17397 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17398 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17399 for the compat linking library. Remove use of INTDEF/INTUSE.
17400 * sunrpc/auth_none.c: Likewise.
17401 * sunrpc/auth_unix.c: Likewise.
17402 * sunrpc/authdes_prot.c: Likewise.
17403 * sunrpc/authuxprot.c: Likewise.
17404 * sunrpc/clnt_gen.c: Likewise.
17405 * sunrpc/clnt_perr.c: Likewise.
17406 * sunrpc/clnt_raw.c: Likewise.
17407 * sunrpc/clnt_simp.c: Likewise.
17408 * sunrpc/clnt_tcp.c: Likewise.
17409 * sunrpc/clnt_udp.c: Likewise.
17410 * sunrpc/clnt_unix.c: Likewise.
17411 * sunrpc/des_crypt.c: Likewise.
17412 * sunrpc/des_soft.c: Likewise.
17413 * sunrpc/get_myaddr.c: Likewise.
17414 * sunrpc/key_call.c: Likewise.
17415 * sunrpc/key_prot.c: Likewise.
17416 * sunrpc/netname.c: Likewise.
17417 * sunrpc/pm_getmaps.c: Likewise.
17418 * sunrpc/pm_getport.c: Likewise.
17419 * sunrpc/pmap_clnt.c: Likewise.
17420 * sunrpc/pmap_prot.c: Likewise.
17421 * sunrpc/pmap_prot2.c: Likewise.
17422 * sunrpc/pmap_rmt.c: Likewise.
17423 * sunrpc/publickey.c: Likewise.
17424 * sunrpc/rpc_cmsg.c: Likewise.
17425 * sunrpc/rpc_common.c: Likewise.
17426 * sunrpc/rpc_dtable.c: Likewise.
17427 * sunrpc/rpc_prot.c: Likewise.
17428 * sunrpc/rpc_thread.c: Likewise.
17429 * sunrpc/rtime.c: Likewise.
17430 * sunrpc/svc.c: Likewise.
17431 * sunrpc/svc_auth.c: Likewise.
17432 * sunrpc/svc_authux.c: Likewise.
17433 * sunrpc/svc_raw.c: Likewise.
17434 * sunrpc/svc_run.c: Likewise.
17435 * sunrpc/svc_simple.c: Likewise.
17436 * sunrpc/svc_tcp.c: Likewise.
17437 * sunrpc/svc_udp.c: Likewise.
17438 * sunrpc/svc_unix.c: Likewise.
17439 * sunrpc/svcauth_des.c: Likewise.
17440 * sunrpc/xcrypt.c: Likewise.
17441 * sunrpc/xdr.c: Likewise.
17442 * sunrpc/xdr_array.c: Likewise.
17443 * sunrpc/xdr_float.c: Likewise.
17444 * sunrpc/xdr_intXX_t.c: Likewise.
17445 * sunrpc/xdr_mem.c: Likewise.
17446 * sunrpc/xdr_rec.c: Likewise.
17447 * sunrpc/xdr_ref.c: Likewise.
17448 * sunrpc/xdr_sizeof.c: Likewise.
17449 * sunrpc/xdr_stdio.c: Likewise.
17450
e6c61494
UD
174512011-04-10 Ulrich Drepper <drepper@gmail.com>
17452
17453 [BZ #12650]
17454 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17455 * sysdeps/ia64/dl-tls.h: Likewise.
17456 * sysdeps/powerpc/dl-tls.h: Likewise.
17457 * sysdeps/s390/dl-tls.h: Likewise.
17458 * sysdeps/sh/dl-tls.h: Likewise.
17459 * sysdeps/sparc/dl-tls.h: Likewise.
17460 * sysdeps/x86_64/dl-tls.h: Likewise.
17461 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17462
34fe483e
AS
174632011-03-14 Andreas Schwab <schwab@redhat.com>
17464
17465 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17466 rpath element also skip the following colon.
17467 (expand_dynamic_string_token): Add is_path parameter and pass
17468 down to DL_DST_REQUIRED and _dl_dst_substitute.
17469 (decompose_rpath): Call expand_dynamic_string_token with
17470 non-zero is_path. Ignore empty rpaths.
17471 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17472 with zero is_path.
17473
f12a32e6
AS
174742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17475
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17477 Make cancelable.
17478
38a7d692
UD
174792011-04-09 Ulrich Drepper <drepper@gmail.com>
17480
17481 [BZ #12655]
17482 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17483 Patch by Filipe David Manana <fdmanana@apache.org>.
17484
e451d22b
AS
174852011-04-07 Andreas Schwab <schwab@redhat.com>
17486
17487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17488 Maintain aligned stack.
17489 (CHECK_RSP): Remove unused macro.
17490
dedc7c7b
UD
174912011-04-03 Ulrich Drepper <drepper@gmail.com>
17492
17493 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17495
94521213
UD
174962011-04-02 Ulrich Drepper <drepper@gmail.com>
17497
17498 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17499
8cb700c0 17500 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17501
0354e355
L
175022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 [BZ #12518]
17505 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17506 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17507 * sysdeps/x86_64/memmove.c: New file.
17508 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17509 (memcpy): Renamed to ...
17510 (__new_memcpy): This.
17511 (memcpy): Provide GLIBC_2_14 memcpy.
17512 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17513 (memcpy): Provide GLIBC_2_2_5 memcpy.
17514
8593482f
UD
175152011-04-01 Ulrich Drepper <drepper@gmail.com>
17516
17517 [BZ #12631]
17518 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17519
81a5726b
AS
175202011-03-30 Andreas Schwab <schwab@redhat.com>
17521
17522 * misc/syncfs.c: New file.
17523 * misc/Makefile (routines): Add syncfs.
17524 * posix/unistd.h: Declare syncfs.
17525 * sysdeps/unix/syscalls.list: Add syncfs.
17526
00e5419f
AS
175272011-04-01 Andreas Schwab <schwab@redhat.com>
17528
17529 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17530 open_by_handle_at.
17531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17536 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17538
748876bf
UD
175392011-04-01 Ulrich Drepper <drepper@gmail.com>
17540
658e451d
UD
17541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17543 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17548
748876bf
UD
17549 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17550 sync_file_range.c with -fexceptions.
17551 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17552 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17553 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17554 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17555 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17556 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17558 sync_file_range as cancellation point
17559 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17560 now a wrapper around __call_sync_file_range with cancellation handling.
17561 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17562 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17563 function name to __call_sync_file_range.
17564 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17565 Add call_sync_file_range.
748876bf 17566
6e63d5e1
AS
175672011-04-01 Andreas Schwab <schwab@redhat.com>
17568
17569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17570 bits/timex.h.
6e63d5e1 17571
46998f74
UD
175722011-04-01 Ulrich Drepper <drepper@gmail.com>
17573
4c1423ed
UD
17574 * iconv/iconv.h: Fix typo in comment.
17575 * io/fcntl.h: Likewise.
17576 * libio/stdio.h: Likewise.
17577 * posix/spawn.h: Likewise.
17578 * posix/unistd.h: Likewise.
17579 * stdlib/stdlib.h: Likewise.
17580 * time/time.h: Likewise.
17581 * wcsmbs/wchar.h: Likewise.
17582
158648c0
UD
17583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17584 open_by_handle): Add.
17585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17586 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17587 Augment a few comments.
17588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17593 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17594 open_by_handle.
17595
46998f74
UD
17596 * io/fcntl.h (AT_EMPTY_PATH): Define.
17597
83fe108b
UD
175982011-03-30 Ulrich Drepper <drepper@gmail.com>
17599
17600 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17601 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17602 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17603 to...
17604 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17605 * Versions.def: Add GLIBC_2.14.
17606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17607 Export.
83fe108b 17608
bb242059
UD
176092011-03-22 Ulrich Drepper <drepper@gmail.com>
17610
17611 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17612 round counter.
17613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17614
c97a1282
L
176152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 [BZ #12597]
17618 * string/test-strncmp.c (do_page_test): New function.
17619 (check2): Likewise.
17620 (test_main): Call check2.
17621 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17622
2a115601
UD
176232011-03-20 Ulrich Drepper <drepper@gmail.com>
17624
17625 [BZ #12587]
17626 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17627 Handle cache information in CPU leaf 4.
17628 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17629
8126d904
UD
176302011-03-18 Ulrich Drepper <drepper@gmail.com>
17631
042c49c6 17632 [BZ #12583]
8126d904
UD
17633 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17634 character representation.
17635 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17636
ccfe366e
RA
176372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17638
17639 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17640 END(__isnan) to END(__isnanf) to match function entry point/label
17641 EALIGN(__isnanf,...).
17642
c6e13027
JJ
176432011-03-10 Jakub Jelinek <jakub@redhat.com>
17644
17645 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17646
33f85a3f
UD
176472011-03-10 Ulrich Drepper <drepper@gmail.com>
17648
028478fa
UD
17649 [BZ #12510]
17650 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17651 copy from the symbol referenced in the relocation to initialize the
17652 used variable.
17653 Patch by Piotr Bury <pbury@goahead.com>.
17654 * elf/Makefile: Add rules to build and tst-unique3.
17655 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17656 * elf/tst-unique3.cc: New file.
17657 * elf/tst-unique3.h: New file.
17658 * elf/tst-unique3lib.cc: New file.
17659 * elf/tst-unique3lib2.cc: New file.
17660
33f85a3f
UD
17661 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17662
03592fc7
MF
176632011-03-10 Mike Frysinger <vapier@gentoo.org>
17664
17665 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17666 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17667 to _start.
03592fc7 17668
6a5ee102
UD
176692011-03-06 Ulrich Drepper <drepper@gmail.com>
17670
17671 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17672 to-be-loaded object along a path to loader is ld.so.
17673
7e4ba49c
HJ
176742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17675 Ulrich Drepper <drepper@gmail.com>
17676
17677 * sysdeps/x86_64/memset.S: After aligning destination, code
17678 branches to different locations depending on the value of
17679 misalignment, when multiarch is enabled. Fix this.
17680
176812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17682
17683 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17684 Set _x86_64_preferred_memory_instruction for AMD processsors.
17685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17686 Set bit_Prefer_SSE_for_memop for AMD processors.
17687
13a804de
UD
176882011-03-04 Ulrich Drepper <drepper@gmail.com>
17689
17690 * libio/fmemopen.c (fmemopen): Optimize a bit.
17691
9d25c392
AS
176922011-03-03 Andreas Schwab <schwab@redhat.com>
17693
17694 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17695
a5543c6a
RM
176962011-03-03 Roland McGrath <roland@redhat.com>
17697
17698 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17699
012d35f7
DM
177002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17701
7e4ba49c 17702 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17703 __bzero_ultra1 instead of __memset_ultra1.
17704
4bff6e01
AS
177052011-02-23 Andreas Schwab <schwab@redhat.com>
17706 Ulrich Drepper <drepper@gmail.com>
17707
17708 [BZ #12509]
17709 * include/link.h (struct link_map): Add l_orig_initfini.
17710 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17711 returning unsuccessfully.
17712 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17713 close of a file loaded at startup, restore the original l_initfini
17714 list.
17715 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17716 list, store the pointer.
17717 * elf/Makefile ($(objpfx)noload-mem): New rule.
17718 (noload-ENV): Define.
17719 (tests): Add $(objpfx)noload-mem.
17720 * elf/noload.c: Include <memcheck.h>.
17721 (main): Call mtrace. Close all opened handles.
17722
f2092faf
AS
177232011-02-17 Andreas Schwab <schwab@redhat.com>
17724
17725 [BZ #12454]
17726 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17727 dependencies are missing.
17728
6c8a2e88
ST
177292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17730
f2092faf 17731 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17732 Hurd needs munmap.
17733 * sysdeps/mach/hurd/ifreq.h: New file.
17734
84a42118
PB
177352011-01-27 Petr Baudis <pasky@suse.cz>
17736 Ulrich Drepper <drepper@gmail.com>
17737
071f805e 17738 [BZ 12445]#
84a42118
PB
17739 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17740 to extend_alloca().
17741 * stdio-common/bug23.c: New file.
17742 * stdio-common/Makefile (tests): Add bug23.
17743
e23fe25b
AS
177442010-09-28 Andreas Schwab <schwab@redhat.com>
17745 Ulrich Drepper <drepper@gmail.com>
17746
17747 [BZ #12489]
17748 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17749 before performing relro protection. At old place add assertion
17750 to make sure nothing changed.
17751
d3f02e10
NS
177522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17753 Glauber de Oliveira Costa <glommer@gmail.com>
17754
17755 * elf/elf.h: Add new ARM TLS relocs.
17756
d55fd7a5
RA
177572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17758
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17760 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17761 cast from r3.
17762 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17763 'tests' variable.
17764 * sysdeps/wordsize-64/tst-writev.c: New file.
17765
2206397e
RA
177662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17767
17768 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17769 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17770 insns in _dl_start to prevent a TOC reference before relocs are
17771 resolved.
17772
e9433893
UD
177732011-02-15 Ulrich Drepper <drepper@gmail.com>
17774
17775 [BZ #12469]
17776 * Makeconfig: Remove RANLIB definition.
17777 * Makerules: Don't use RANLIB.
17778 * aclocal.m4: Remove ranlib test.
17779 * configure.in: No need to check for ranlib.
17780 * elf/rtld-Rules: Don't use RANLIB.
17781
f75286c6
ST
177822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17783
8e31c82d
ST
17784 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17785 protection macro.
17786 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17787 inclusion protection macro.
17788
f75286c6
ST
17789 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17790 SIGRTMIN and SIGRTMAX and print information in that case only when
17791 SIGRTMIN is defined.
17792
c1d0e639
JJ
177932011-02-11 Jakub Jelinek <jakub@redhat.com>
17794
17795 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17796 arginfo fn returning -1.
17797
17798 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17799 and thousands string is zero terminated.
17800
edf9294e
AS
178012011-02-03 Andreas Schwab <schwab@redhat.com>
17802
17803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17804 sysdeps/unix/sysv/linux/bits/socket.h.
17805
2b7e92df
ST
178062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17807
edf9294e
AS
17808 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17809 (__CPU_COUNT): Remove old macros.
17810 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17811 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17812 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17813 (__sched_cpualloc, __sched_cpufree): Add declarations.
17814
a4c7ea7b
UD
178152011-02-05 Ulrich Drepper <drepper@gmail.com>
17816
17817 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17818 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17819 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17820 (readdhstai): Return value of addhstaiX call.
17821 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17822 (addgrbyX): Return value returned by cache_addgr.
17823 (readdgrbyname): Return value returned by addgrbyX.
17824 (readdgrbygid): Likewise.
17825 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17826 (addpwbyX): Return value returned by cache_addpw.
17827 (readdpwbyname): Return value returned by addhstbyX.
17828 (readdpwbyuid): Likewise.
17829 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17830 (addservbyX): Return value returned by cache_addserv.
17831 (readdservbyname): Return value returned by addservbyX:
17832 (readdservbyport): Likewise.
17833 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17834 (addhstbyX): Return value returned by cache_addhst.
17835 (readdhstbyname): Return value returned by addhstbyX.
17836 (readdhstbyaddr): Likewise.
17837 (readdhstbynamev6): Likewise.
17838 (readdhstbyaddrv6): Likewise.
17839 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17840 (readdinitgroups): Return value returned by addinitgroupsX.
17841 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17842 (prune_cache): Keep track of timeout value of re-added entries.
17843 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17844 * nscd/nscd.h: Adjust prototypes of readd* functions.
17845
a0bf67cc
RM
178462011-02-04 Roland McGrath <roland@redhat.com>
17847
17848 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17849 (nis_stats): Likewise.
17850 * nis/nis_modify.c (nis_modify): Likewise.
17851 * nis/nis_remove.c (nis_remove): Likewise.
17852 * nis/nis_add.c (nis_add): Likewise.
17853
17854 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17855
17856 * posix/fnmatch_loop.c: Add some consts.
17857
17858 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17859
435b95eb
L
178602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17861
17862 [BZ #12460]
17863 * config.make.in (config-cflags-novzeroupper): Define.
17864 * configure.in: Substitute libc_cv_cc_novzeroupper.
17865 * elf/Makefile (AVX-CFLAGS): Define.
17866 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17867 (CFLAGS-tst-auditmod4a.c): Likewise.
17868 (CFLAGS-tst-auditmod4b.c): Likewise.
17869 (CFLAGS-tst-auditmod6b.c): Likewise.
17870 (CFLAGS-tst-auditmod6c.c): Likewise.
17871 (CFLAGS-tst-auditmod7b.c): Likewise.
17872 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17873
8517b15e
UD
178742011-02-02 Ulrich Drepper <drepper@gmail.com>
17875
17876 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17877 function to the callback.
17878 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17879
10a656fe
AS
178802011-02-02 Andreas Schwab <schwab@redhat.com>
17881
17882 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17883 of errno.
17884
968dad0a
UD
178852011-01-19 Ulrich Drepper <drepper@gmail.com>
17886
9f94d2ea 17887 [BZ #11724]
968dad0a
UD
17888 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17889 of constructors.
17890 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17891 of destructors.
17892 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17893
17894 [BZ #11724]
17895 * elf/Makefile: Add rules to build and run new test.
17896 * elf/tst-initorder.c: New file.
17897 * elf/tst-initorder.exp: New file.
17898 * elf/tst-initordera1.c: New file.
17899 * elf/tst-initordera2.c: New file.
17900 * elf/tst-initordera3.c: New file.
17901 * elf/tst-initordera4.c: New file.
17902 * elf/tst-initorderb1.c: New file.
17903 * elf/tst-initorderb2.c: New file.
17904 * elf/tst-order-a1.c: New file.
17905 * elf/tst-order-a2.c: New file.
17906 * elf/tst-order-a3.c: New file.
17907 * elf/tst-order-a4.c: New file.
17908 * elf/tst-order-b1.c: New file.
17909 * elf/tst-order-b2.c: New file.
17910 * elf/tst-order-main.c: New file.
17911 New test case by George Gensure <werkt0@gmail.com>.
17912
86e92359
UD
179132010-10-01 Andreas Schwab <schwab@redhat.com>
17914
17915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17916 decoding ACE if AI_CANONIDN.
17917
5d5732b0
UD
179182011-01-18 Ulrich Drepper <drepper@gmail.com>
17919
17920 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17921
a77e8cbc
UD
179222011-01-17 Ulrich Drepper <drepper@gmail.com>
17923
6392473f
UD
17924 * version.h (RELEASE): Bump for 2.13 release.
17925 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17926
620a0529
UD
17927 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17928
18ba70a5
UD
17929 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17930 MADV_NOHUGEPAGE.
32465c3e
UD
17931 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17937
c0dafcf1
UD
17938 * posix/getconf.c: Update copyright year.
17939 * catgets/gencat.c: Likewise.
17940 * csu/version.c: Likewise.
17941 * debug/catchsegv.sh: Likewise.
17942 * debug/xtrace.sh: Likewise.
17943 * elf/ldconfig.c: Likewise.
17944 * elf/ldd.bash.in: Likewise.
17945 * elf/sprof.c (print_version): Likewise.
17946 * iconv/iconv_prog.c: Likewise.
17947 * iconv/iconvconfig.c: Likewise.
17948 * locale/programs/locale.c: Likewise.
17949 * locale/programs/localedef.c: Likewise.
17950 * malloc/memusage.sh: Likewise.
17951 * malloc/mtrace.pl: Likewise.
17952 * nscd/nscd.c (print_version): Likewise.
17953 * nss/getent.c: Likewise.
17954
a77e8cbc
UD
17955 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17956 PF_CAIF, and PF_ALG.
17957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17958
77e8bddf
AS
179592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17960
1f20b93a
AS
17961 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17962 (modules-names): Use them.
17963 (ifunc-test-modules, ifunc-pie-tests): Define.
17964 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17965 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17966 (test-extras): Likewise.
17967 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17968 $(compile-command.c).
17969 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17970 (all-built-dso): Define.
17971 (check-textrel.out, check-execstack.out): Depend on it.
17972
77e8bddf
AS
17973 * configure.in: Don't override --enable-multi-arch.
17974
bc425b33
UD
179752011-01-15 Ulrich Drepper <drepper@gmail.com>
17976
17977 [BZ #6812]
17978 * nscd/hstcache.c (tryagain): Define.
17979 (cache_addhst): Return tryagain not notfound for temporary errors.
17980 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17981 failed.
17982
794c3ad3
UD
179832011-01-14 Ulrich Drepper <drepper@gmail.com>
17984
70181fdd
UD
17985 [BZ #10563]
17986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17987 to make the syscall.
17988 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17989
794c3ad3
UD
17990 [BZ #12378]
17991 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17992 and fall back to matching as normal character if the string ends before
17993 the matching ']' is found. This is what POSIX requires.
17994 * posix/testfnm.c: Adjust test result.
17995 * posix/globtest.sh: Adjust test result. Add new test.
17996 * posix/tst-fnmatch.input: Likewise.
17997 * posix/tst-fnmatch2.c: Add new test.
17998
68dc9497
AS
179992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18000
18001 * elf/Makefile (check-execstack): Revert last change. Depend on
18002 check-execstack.h.
18003 (check-execstack.h): New target.
18004 (generated): Add check-execstack.h.
18005 * elf/check-execstack.c: Include "check-execstack.h".
18006 (main): Revert last change.
18007 (handle_file): Return zero if GNU_STACK is absent and
18008 DEFAULT_STACK_PERMS doesn't include PF_X.
18009
451f001b
UD
180102011-01-13 Ulrich Drepper <drepper@gmail.com>
18011
cfa28e56
UD
18012 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18013 in child fails because the descriptor is already closed.
8cf8ce17
UD
18014 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18015 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18016 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18017
1086d70d
UD
18018 [BZ #12397]
18019 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18020 syscall.
18021
451f001b
UD
18022 [BZ #10484]
18023 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18024 temporary buffer used to handle multi lookups locally.
a85b5cb4 18025 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18026
08769175
UD
180272011-01-12 Ulrich Drepper <drepper@gmail.com>
18028
18029 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18030 loader is ld.so.
18031
5e49c52e
UD
180322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18033
18034 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18035 alignment for SSE2.
18036
60522a5f
UD
180372011-01-12 Ulrich Drepper <drepper@gmail.com>
18038
18039 [BZ #12394]
18040 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18041 characters. When rounding increased number of integer digits recompute
18042 number of groups.
18043 * stdio-common/tst-grouping.c: New file.
18044 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18045
f257bbd7
UD
180462011-01-09 Ulrich Drepper <drepper@gmail.com>
18047
18048 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18049 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18050
18051 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18052 void.
18053 * bits/select.h: Likewise.
18054
fa9c15cb
UD
180552011-01-08 Ulrich Drepper <drepper@gmail.com>
18056
18057 * po/ja.po: Update from translation team.
18058
16c2895f
DM
180592011-01-04 David S. Miller <davem@sunset.davemloft.net>
18060
18061 [BZ #11155]
18062 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18063 implementation just like for lxstat, fxstatat, et al.
18064
2543fef2
JM
180652010-12-27 Jim Meyering <meyering@redhat.com>
18066
18067 [BZ #12348]
18068 * posix/regexec.c (build_trtable): Return failure indication upon
18069 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18070
98727dbe
UD
180712010-12-25 Ulrich Drepper <drepper@gmail.com>
18072
5bd6dc5c
UD
18073 [BZ #12201]
18074 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18075 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18076 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18077 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18078
97983464
UD
18079 [BZ #12207]
18080 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18081
98727dbe
UD
18082 [BZ #12204]
18083 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18084 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18085
4a531bb0
L
180862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18087
18088 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18089 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18090 script has SORT_BY_INIT_PRIORITY.
18091 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18092 NO_CTORS_DTORS_SECTIONS is defined.
18093 * elf/soinit.c: Likewise.
18094 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18095 NO_CTORS_DTORS_SECTIONS is defined.
18096 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18097 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18098 * sysdeps/sh/init-first.c: Likewise.
18099 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18100
07eb4b71
UD
181012010-12-24 Ulrich Drepper <drepper@gmail.com>
18102
18103 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18104 always use the slow path.
18105
30950a5f
RA
181062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18107
18108 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18109 similar rule which adds the sysdep directories to the header search in
18110 order to pick up the correct platform stackinfo.h.
18111 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18112 perform test if it is, otherwise return successfully without testing.
18113 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18114 DEFAULT_STACK_PERMS define in stackinfo.h.
18115 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18116 defined in stackinfo.h.
18117 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18118 DEFAULT_STACK_PERMS defined in stackinfo.h.
18119 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18120 * sysdeps/ia64/stackinfo.h: Likewise.
18121 * sysdeps/s390/stackinfo.h: Likewise.
18122 * sysdeps/sh/stackinfo.h: Likewise.
18123 * sysdeps/sparc/stackinfo.h: Likewise.
18124 * sysdeps/x86_64/stackinfo.h: Likewise.
18125 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18126 PF_X for powerpc64. Retain PF_X for powerpc32.
18127
db753e2c
UD
181282010-12-19 Ulrich Drepper <drepper@gmail.com>
18129
14b697f7
UD
18130 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18131 accurately.
db753e2c
UD
18132 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18133 GETDENTS_64BIT_ALIGNED.
18134
28300719
UD
181352010-12-14 Ulrich Drepper <dreper@gmail.com>
18136
14b697f7 18137 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18138
4f197237
AS
181392010-12-10 Andreas Schwab <schwab@redhat.com>
18140
dbb0472f
AS
18141 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18142 _GNU_SOURCE.
18143
4f197237
AS
18144 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18145 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18146 Remove __restrict.
18147 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18148 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18149
fb88ac72
UD
181502010-12-09 Ulrich Drepper <drepper@gmail.com>
18151
18152 [BZ #11655]
18153 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18154 are initialized.
18155
42acbb92
JJ
181562010-12-09 Jakub Jelinek <jakub@redhat.com>
18157
18158 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18159
c038d98d
UD
181602010-12-03 Ulrich Drepper <drepper@gmail.com>
18161
18162 * po/it.po: Update from translation team.
18163
3a4a2499
L
181642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18165
18166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18167 unused codes.
18168
1e24cf6e
UD
181692010-11-30 Ulrich Drepper <drepper@gmail.com>
18170
18171 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18172
a7690819
AS
181732010-11-24 Andreas Schwab <schwab@redhat.com>
18174
18175 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18176 specially.
18177 (gaih_getanswer_slice): Likewise.
18178
3bf8d1b1
JJ
181792010-10-20 Jakub Jelinek <jakub@redhat.com>
18180
18181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18182
6db52fbb
PB
181832010-05-31 Petr Baudis <pasky@suse.cz>
18184
18185 [BZ #11149]
18186 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18187 silently even in the chroot mode.
18188
eaca7569
UD
181892010-11-22 Ulrich Drepper <drepper@gmail.com>
18190
18191 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18192 last patch a bit. Pretty printing
18193
3056dcdb
UD
181942010-05-31 Petr Baudis <pasky@suse.cz>
18195
18196 [BZ #10085]
18197 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18198 initialization of skip_initgroups_dyn.
18199
cf7c9078
UD
182002010-11-19 Ulrich Drepper <drepper@gmail.com>
18201
18202 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18204
a1fb5e3e
UD
182052010-11-16 Ulrich Drepper <drepper@gmail.com>
18206
18207 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18208
3540d66b
AS
182092010-11-11 Andreas Schwab <schwab@redhat.com>
18210
18211 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18212 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18213 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18214 ($(objpfx)tst-fnmatch-mem): New rule.
18215 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18216 * posix/tst-fnmatch.c (main): Call mtrace.
18217
13b69574
L
182182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18221 Support Intel processor model 6 and model 0x2c.
18222
da93d214
LM
182232010-11-10 Luis Machado <luisgpm@br.ibm.com>
18224
18225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18226 signed comparison.
18227
8ca52c6e
L
182282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18229
18230 [BZ #12205]
18231 * string/test-strncasecmp.c (check_result): New function.
18232 (do_one_test): Use it.
18233 (check1): New function.
18234 (test_main): Use it.
18235 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18236 Support strcasecmp and strncasecmp.
18237
69da074d
UD
182382010-11-08 Ulrich Drepper <drepper@gmail.com>
18239
18240 [BZ #12194]
18241 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18242 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18243
ff02d528
L
182442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18247 IFUNC support.
18248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18249 memset-x86-64.
18250 * sysdeps/x86_64/multiarch/bzero.S: New file.
18251 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18252 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18253 * sysdeps/x86_64/multiarch/memset.S: New file.
18254 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18256 Set bit_Prefer_SSE_for_memop for Intel processors.
18257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18258 Define.
18259 (index_Prefer_SSE_for_memop): Define.
18260 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18261
344d0b54
LM
182622010-11-04 Luis Machado <luisgpm@br.ibm.com>
18263
18264 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18265 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18266
c0dde15b
UD
182672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18268
18269 [BZ #12191]
18270 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18271 (__x86_64_raw_data_cache_size_half): Likewise.
18272 (__x86_64_raw_shared_cache_size): Likewise.
18273 (__x86_64_raw_shared_cache_size_half): Likewise.
18274
18275 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18276 (__x86_64_raw_data_cache_size_half): Likewise.
18277 (__x86_64_raw_shared_cache_size): Likewise.
18278 (__x86_64_raw_shared_cache_size_half): Likewise.
18279 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18280 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18281 and __x86_64_raw_shared_cache_size_half. Round
18282 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18283 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18284 to multiple of 256 bytes.
18285
0e516e0e
MS
182862010-11-03 Ulrich Drepper <drepper@gmail.com>
18287
18288 [BZ #12167]
18289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18290 of inacessible symlinks. Verify result of symlink before returning it.
18291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18292 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18293
0e012e87
ER
182942010-10-28 Erich Ritz <erichritz@gmail.com>
18295
18296 * math/math.h (isinf): Fix typo in comment.
18297
de0ff7bc
UD
182982010-11-01 Ulrich Drepper <drepper@gmail.com>
18299
18300 * po/da.po: Update from translation team.
18301
fa41c84d
UD
183022010-10-26 Ulrich Drepper <drepper@gmail.com>
18303
18304 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18305 is added to the list.
18306
f0967738
AK
183072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18308 Ulrich Drepper <drepper@gmail.com>
18309
18310 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18311 the global list here. Move code to...
18312 (_dl_add_to_namespace_list): ...here. New function.
18313 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18314 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18315 * elf/dl-load.c (lose): Don't remove the element from the list.
18316 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18317 (_dl_map_object): Likewise.
18318
183192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18320
18321 [BZ #12159]
18322 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18323 into all bytes of SSE register.
18324 Patch by Richard Li <richardpku@gmail.com>.
18325
f0967738 183262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18327
18328 [BZ #12140]
18329 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18330 perturbing.
18331
d0b9e94f
MB
183322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18333
18334 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18335 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18339 submachine.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18341
8e9f92e9
AS
183422010-10-22 Andreas Schwab <schwab@redhat.com>
18343
18344 * include/dlfcn.h (__RTLD_SECURE): Define.
18345 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18346 mode & __RTLD_SECURE instead.
18347 (open_path): Rename preloaded parameter to secure.
18348 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18349 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18350 * elf/dl-deps.c (openaux): Likewise.
18351 * elf/rtld.c (struct map_args): Remove is_preloaded.
18352 (map_doit): Don't use it.
18353 (dl_main): Likewise.
18354 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18355 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18356
bc96fbda
AS
183572010-09-09 Andreas Schwab <schwab@redhat.com>
18358
18359 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18360 (sysd-rules-targets): Remove duplicates.
18361 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18362 rtld-%.$o dependency.
18363
22cd1c9b
AS
183642010-10-18 Andreas Schwab <schwab@redhat.com>
18365
18366 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18367 _dl_map_object do it.
18368
18edac48
UD
183692010-10-19 Ulrich Drepper <drepper@gmail.com>
18370
18371 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18372 fast fma builtins, define the macros in the C99 standard.
18373 (FP_FAST_FMAF): Likewise.
18374 (FP_FAST_FMAL): Likewise.
18375 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18376
18377 * bits/mathdef.h: Update copyright year.
18378 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18379
d2050124
MM
183802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18381
18382 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18383 builtins, define the macros in the C99 standard.
18384 (FP_FAST_FMAF): Likewise.
18385 (FP_FAST_FMAL): Likewise.
18386 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18387 multiply/add.
18388 (FP_FAST_FMAF): Likewise.
18389
475facd1
JJ
183902010-10-15 Jakub Jelinek <jakub@redhat.com>
18391
18392 [BZ #3268]
18393 * math/libm-test.inc (fma_test): Some new testcases.
18394 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18396 y and infinite z. Do multiplication by C already in long double.
18397 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18399 y and infinite z. Do bitwise or of inexact bit into u.d.
18400 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18401 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18402 * sysdeps/i386/fpu/s_fma.S: Removed.
18403 * sysdeps/i386/fpu/s_fmal.S: Removed.
18404
7c08a05c
JJ
184052010-10-16 Jakub Jelinek <jakub@redhat.com>
18406
18407 [BZ #3268]
18408 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18410 computation is not scheduled after fetestexcept. Fix value
18411 of minimum denormal long double.
18412
f3f7372d
JJ
184132010-10-14 Jakub Jelinek <jakub@redhat.com>
18414
18415 [BZ #3268]
18416 * math/libm-test.inc (fma_test): Add some more tests.
18417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18418 correctly.
18419
14d43591
AS
184202010-10-15 Andreas Schwab <schwab@redhat.com>
18421
18422 * scripts/data/localplt-s390-linux-gnu.data: New file.
18423 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18424
5e908464
JJ
184252010-10-13 Jakub Jelinek <jakub@redhat.com>
18426
18427 [BZ #3268]
18428 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18429 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18430 instead of dbl-64.
18431 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18432 inlines.
18433 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18435 if one of x and y is very large and the other is subnormal.
18436 * sysdeps/s390/fpu/s_fmaf.c: New file.
18437 * sysdeps/s390/fpu/s_fma.c: New file.
18438 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18439 * sysdeps/powerpc/fpu/s_fma.S: New file.
18440 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18441 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18442 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18443
184442010-10-12 Jakub Jelinek <jakub@redhat.com>
18445
18446 [BZ #3268]
18447 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18448 fma tests.
18449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18450 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18451 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18452 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18453 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18454 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18455 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18456
b833d51f
UD
184572010-10-12 Ulrich Drepper <drepper@redhat.com>
18458
18459 [BZ #12078]
18460 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18461 * posix/bug-regex31.input: Add test case.
18462
1751705d
UD
184632010-10-11 Ulrich Drepper <drepper@gmail.com>
18464
e9b9cbf5
UD
18465 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18466 * posix/bug-regex31.input: New file.
18467
18468 [BZ #12078]
18469 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18470 (parse_sub_exp): Fix last change, use postorder.
18471
ef06edbe
UD
18472 * posix/bug-regex31.c: New file.
18473 * posix/Makefile: Add rules to build and run bug-regex31.
18474
a129c80d
UD
18475 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18476
18477 [BZ #12078]
18478 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18479
b76b818e
UD
18480 [BZ #12108]
18481 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18482 to have entries in sys_siglist.
18483
1751705d
UD
18484 [BZ #12093]
18485 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18486 be NULL.
18487
9ff8d36f
JJ
184882010-10-07 Jakub Jelinek <jakub@redhat.com>
18489
18490 [BZ #3268]
18491 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18492 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18493 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18494 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18495 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18496 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18497 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18498 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18499 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18500 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18501 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18502 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18503 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18504 * math/ftestexcept.c (fetestexcept): Likewise.
18505 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18506 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18507 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18508 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18509 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18510 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18511 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18512
af325969
UD
185132010-10-11 Ulrich Drepper <drepper@gmail.com>
18514
c579b202 18515 [BZ #12107]
af325969
UD
18516 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18517 newline.
18518
67a67b95
UD
185192010-10-06 Ulrich Drepper <drepper@gmail.com>
18520
18521 * string/bug-strstr1.c: New file.
18522 * string/Makefile: Add rules to build and run bug-strstr1.
18523
5fb308bc
EB
185242010-10-05 Eric Blake <eblake@redhat.com>
18525
18526 [BZ #12092]
18527 * string/str-two-way.h (two_way_long_needle): Always clear memory
18528 when skipping input due to the shift table.
18529
45db99c7
UD
185302010-10-03 Ulrich Drepper <drepper@gmail.com>
18531
3b111893
UD
18532 [BZ #12005]
18533 * malloc/mcheck.c: Handle large requests.
18534
45db99c7
UD
18535 [BZ #12077]
18536 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18537 for strncmp and strncasecmp.
18538 * string/stratcliff.c: Add tests for strcmp and strncmp.
18539 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18540
cf7a1eb8
NI
185412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18542
18543 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18544 __set_fpscr.
18545
6484ba5e
AJ
185462010-09-30 Andreas Jaeger <aj@suse.de>
18547
18548 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18549 (CGROUP_SUPER_MAGIC): Define.
18550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18551 Handle btrfs and cgroup file systems.
18552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18553 Likewise.
18554
91c42559
LM
185552010-09-27 Luis Machado <luisgpm@br.ibm.com>
18556
18557 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18558 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18559
87a97932
AK
185602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18561
18562 [BZ #12067]
18563 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18564 trying to locate the ELF header.
18565
c21cc9bc
AS
185662010-09-27 Andreas Schwab <schwab@redhat.com>
18567
18568 [BZ #11611]
18569 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18570 Mask out sign-bit copies when constructing f_fsid.
18571
315970f6
PB
185722010-09-24 Petr Baudis <pasky@suse.cz>
18573
18574 * debug/stack_chk_fail_local.c: Add missing licence exception.
18575 * debug/warning-nop.c: Likewise.
18576
1ac7a2c7
JM
185772010-09-15 Joseph Myers <joseph@codesourcery.com>
18578
18579 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18580 implementing getdents64 using getdents syscall, set d_type if
18581 __ASSUME_GETDENTS32_D_TYPE.
18582
56801c50
AS
185832010-09-16 Andreas Schwab <schwab@redhat.com>
18584
18585 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18586 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18587
dda51327
UD
185882010-09-21 Ulrich Drepper <drepper@redhat.com>
18589
18590 [BZ #12037]
18591 * posix/unistd.h: Undo change of feature selection for ftruncate from
18592 2010-01-11.
18593
8ffcee4a
UD
185942010-09-20 Ulrich Drepper <drepper@redhat.com>
18595
a545ecd9 18596 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18597 detection.
18598
e24f0a8b
AS
185992010-09-20 Andreas Schwab <schwab@redhat.com>
18600
18601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18602 fanotify_mark.
18603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18604
7291c56f
AS
186052010-09-14 Andreas Schwab <schwab@redhat.com>
18606
18607 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18608 variables after CHECK_SP call.
18609 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18610
bc5fb037
AS
186112010-09-13 Andreas Schwab <schwab@redhat.com>
18612 Ulrich Drepper <drepper@redhat.com>
18613
18614 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18615 re-relocationg ld.so.
18616 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18617 _dl_init_paths call.
18618 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18619 here anymore.
18620
e66e7419
UD
186212010-09-14 Ulrich Drepper <drepper@redhat.com>
18622
18623 * resolv/res_init.c (__res_vinit): Count the default server we added.
18624
c044aa75
CLT
186252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18626 Ulrich Drepper <drepper@redhat.com>
18627
18628 [BZ #11968]
18629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18630 (____longjmp_chk): Use %ebx for saving value across system call.
18631 Add unwind info.
18632
32cf4069
AS
186332010-09-06 Andreas Schwab <schwab@redhat.com>
18634
18635 * manual/Makefile: Don't mix pattern rules with normal rules.
18636
817328ee
AS
186372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18638
18639 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18640 operation.
18641 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18642 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18643 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18644 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18646 Likewise.
18647
29fddf61
UD
186482010-09-04 Ulrich Drepper <drepper@redhat.com>
18649
18650 [BZ #11979]
18651 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18652 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18653
0959ffc9
UD
186542010-09-02 Ulrich Drepper <drepper@redhat.com>
18655
18656 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18657 * sysdeps/x86_64/addmul_1.S: Likewise.
18658 * sysdeps/x86_64/lshift.S: Likewise.
18659 * sysdeps/x86_64/mul_1.S: Likewise.
18660 * sysdeps/x86_64/rshift.S: Likewise.
18661 * sysdeps/x86_64/sub_n.S: Likewise.
18662 * sysdeps/x86_64/submul_1.S: Likewise.
18663
ece29840
ST
186642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18665
0959ffc9
UD
18666 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18667 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18668 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18669 * bits/sched.h [__need_schedparam]
ece29840 18670 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18671 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18672 (__defined_schedparam): Define to 1.
ece29840
ST
18673 (__sched_param): New structure, identical to sched_param.
18674 (__need_schedparam): Undefine.
18675
e53a31fe
MF
186762010-08-31 Mike Frysinger <vapier@gentoo.org>
18677
fdc0c10d
MF
18678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18679 (epoll_create1): Declare.
18680
e53a31fe
MF
18681 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18682
a726d796
AS
186832010-08-31 Andreas Schwab <schwab@redhat.com>
18684
18685 [BZ #7066]
18686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18687 shifting retval into place.
18688
2f3e3dc7
UD
186892010-09-01 Ulrich Drepper <drepper@redhat.com>
18690
f2933da9
UD
18691 * nis/rpcsvc/nis.h: Update copyright notice.
18692 * nis/rpcsvc/nis.x: Likewise.
18693 * nis/rpcsvc/nis_callback.h: Likewise.
18694 * nis/rpcsvc/nis_callback.x: Likewise.
18695 * nis/rpcsvc/nis_object.x: Likewise.
18696 * nis/rpcsvc/nis_tags.h: Likewise.
18697 * nis/rpcsvc/yp.h: Likewise.
18698 * nis/rpcsvc/yp.x: Likewise.
18699 * nis/rpcsvc/ypupd.h: Likewise.
18700 * nis/yp_xdr.c: Likewise.
18701 * nis/ypupdate_xdr.c: Likewise.
18702
2f3e3dc7
UD
18703 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18704 mainly the body of pmap_getport. Add parameters to specify timeouts.
18705 (pmap_getport): Use __libc_rpc_getport.
18706 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18707 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18708 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18709
f3dcc2f9
AS
187102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18711
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18713 fanotify_mark.
18714
6d34eb5b
RM
187152010-08-27 Roland McGrath <roland@redhat.com>
18716
18717 * sysdeps/i386/i686/multiarch/Makefile
18718 (CFLAGS-varshift.c): New variable.
18719
9ea3de11
UD
187202010-08-27 Ulrich Drepper <drepper@redhat.com>
18721
c96d23fc
UD
18722 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18723 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18724
9ea3de11
UD
18725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18726
18727 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18728
623aac7f
L
187292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18730
18731 * sysdeps/x86_64/strlen.S: Unroll the loop.
18732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18733 strlen-sse2 strlen-sse2-bsf.
18734 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18735 __strlen_no_bsf if bit_Slow_BSF is set.
18736 (__strlen_sse42): Removed.
18737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18738 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18739
8b2b7715
RM
187402010-08-25 Roland McGrath <roland@redhat.com>
18741
18742 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18743 * sysdeps/x86_64/multiarch/varshift.c: New file.
18744 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18745 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18746 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18747 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18748
e73015f2
L
187492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18750
18751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18752 strlen-sse2 strlen-sse2-bsf.
18753 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18754 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18755 (__strlen_sse2): Removed.
18756 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18759 bit_Slow_BSF for Atom.
18760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18761 (index_Slow_BSF): Define.
18762 (HAS_SLOW_BSF): Define.
18763
df24a73e
UD
187642010-08-25 Ulrich Drepper <drepper@redhat.com>
18765
18766 [BZ #10851]
18767 * resolv/res_init.c (__res_vinit): When no server address at all
18768 is given default to loopback.
18769
f2ac4868
RM
187702010-08-24 Roland McGrath <roland@redhat.com>
18771
09055553
RM
18772 * configure.in: Remove config-name.h generation.
18773 * configure: Regenerated.
18774 * config-name.in: File removed.
18775 * scripts/config-uname.sh: New file.
18776 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18777 ($(objdir)config-name.h): New target.
18778
f2ac4868
RM
18779 * sunrpc/rpc_parse.h: Avoid nested comment.
18780
73f27d5e
RH
187812010-08-24 Richard Henderson <rth@redhat.com>
18782 Ulrich Drepper <drepper@redhat.com>
18783 H.J. Lu <hongjiu.lu@intel.com>
18784
18785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18787 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18788 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18789 _mm_alignr_epi8 with _mm_loadu_si128.
18790 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18791 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18792 (__m128i_shift_right): Removed.
18793 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18794 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18795 * sysdeps/x86_64/multiarch/varshift.h: New file.
18796 * sysdeps/x86_64/multiarch/varshift.S: New file.
18797
84b9230c
MF
187982010-08-21 Mike Frysinger <vapier@gentoo.org>
18799
18800 * configure.in: Move assembler checks to before sysdep dir checking.
18801
9bbd0ddc
PB
188022010-08-20 Petr Baudis <pasky@suse.cz>
18803
18804 * LICENSES: Sync the sunrpc license.
18805
9da4bb31
UD
188062010-08-19 Ulrich Drepper <drepper@redhat.com>
18807
a7ab6ec8
UD
18808 * sunrpc/auth_des.c: Update copyright notice once again.
18809 * sunrpc/auth_none.c: Likewise.
18810 * sunrpc/auth_unix.c: Likewise.
18811 * sunrpc/authdes_prot.c: Likewise.
18812 * sunrpc/authuxprot.c: Likewise.
18813 * sunrpc/bindrsvprt.c: Likewise.
18814 * sunrpc/clnt_gen.c: Likewise.
18815 * sunrpc/clnt_perr.c: Likewise.
18816 * sunrpc/clnt_raw.c: Likewise.
18817 * sunrpc/clnt_simp.c: Likewise.
18818 * sunrpc/clnt_tcp.c: Likewise.
18819 * sunrpc/clnt_udp.c: Likewise.
18820 * sunrpc/clnt_unix.c: Likewise.
18821 * sunrpc/des_crypt.c: Likewise.
18822 * sunrpc/des_soft.c: Likewise.
18823 * sunrpc/get_myaddr.c: Likewise.
18824 * sunrpc/getrpcport.c: Likewise.
18825 * sunrpc/key_call.c: Likewise.
18826 * sunrpc/key_prot.c: Likewise.
18827 * sunrpc/openchild.c: Likewise.
18828 * sunrpc/pm_getmaps.c: Likewise.
18829 * sunrpc/pm_getport.c: Likewise.
18830 * sunrpc/pmap_clnt.c: Likewise.
18831 * sunrpc/pmap_prot.c: Likewise.
18832 * sunrpc/pmap_prot2.c: Likewise.
18833 * sunrpc/pmap_rmt.c: Likewise.
18834 * sunrpc/rpc/auth.h: Likewise.
18835 * sunrpc/rpc/auth_unix.h: Likewise.
18836 * sunrpc/rpc/clnt.h: Likewise.
18837 * sunrpc/rpc/des_crypt.h: Likewise.
18838 * sunrpc/rpc/key_prot.h: Likewise.
18839 * sunrpc/rpc/netdb.h: Likewise.
18840 * sunrpc/rpc/pmap_clnt.h: Likewise.
18841 * sunrpc/rpc/pmap_prot.h: Likewise.
18842 * sunrpc/rpc/pmap_rmt.h: Likewise.
18843 * sunrpc/rpc/rpc.h: Likewise.
18844 * sunrpc/rpc/rpc_des.h: Likewise.
18845 * sunrpc/rpc/rpc_msg.h: Likewise.
18846 * sunrpc/rpc/svc.h: Likewise.
18847 * sunrpc/rpc/svc_auth.h: Likewise.
18848 * sunrpc/rpc/types.h: Likewise.
18849 * sunrpc/rpc/xdr.h: Likewise.
18850 * sunrpc/rpc_clntout.c: Likewise.
18851 * sunrpc/rpc_cmsg.c: Likewise.
18852 * sunrpc/rpc_common.c: Likewise.
18853 * sunrpc/rpc_cout.c: Likewise.
18854 * sunrpc/rpc_dtable.c: Likewise.
18855 * sunrpc/rpc_hout.c: Likewise.
18856 * sunrpc/rpc_main.c: Likewise.
18857 * sunrpc/rpc_parse.c: Likewise.
18858 * sunrpc/rpc_parse.h: Likewise.
18859 * sunrpc/rpc_prot.c: Likewise.
18860 * sunrpc/rpc_sample.c: Likewise.
18861 * sunrpc/rpc_scan.c: Likewise.
18862 * sunrpc/rpc_scan.h: Likewise.
18863 * sunrpc/rpc_svcout.c: Likewise.
18864 * sunrpc/rpc_tblout.c: Likewise.
18865 * sunrpc/rpc_util.c: Likewise.
18866 * sunrpc/rpc_util.h: Likewise.
18867 * sunrpc/rpcinfo.c: Likewise.
18868 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18869 * sunrpc/rpcsvc/key_prot.x: Likewise.
18870 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18871 * sunrpc/rpcsvc/mount.x: Likewise.
18872 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18873 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18874 * sunrpc/rpcsvc/rex.x: Likewise.
18875 * sunrpc/rpcsvc/rstat.x: Likewise.
18876 * sunrpc/rpcsvc/rusers.x: Likewise.
18877 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18878 * sunrpc/rpcsvc/spray.x: Likewise.
18879 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18880 * sunrpc/rtime.c: Likewise.
18881 * sunrpc/svc.c: Likewise.
18882 * sunrpc/svc_auth.c: Likewise.
18883 * sunrpc/svc_authux.c: Likewise.
18884 * sunrpc/svc_raw.c: Likewise.
18885 * sunrpc/svc_run.c: Likewise.
18886 * sunrpc/svc_simple.c: Likewise.
18887 * sunrpc/svc_tcp.c: Likewise.
18888 * sunrpc/svc_udp.c: Likewise.
18889 * sunrpc/svc_unix.c: Likewise.
18890 * sunrpc/svcauth_des.c: Likewise.
18891 * sunrpc/xcrypt.c: Likewise.
18892 * sunrpc/xdr.c: Likewise.
18893 * sunrpc/xdr_array.c: Likewise.
18894 * sunrpc/xdr_float.c: Likewise.
18895 * sunrpc/xdr_mem.c: Likewise.
18896 * sunrpc/xdr_rec.c: Likewise.
18897 * sunrpc/xdr_ref.c: Likewise.
18898 * sunrpc/xdr_sizeof.c: Likewise.
18899 * sunrpc/xdr_stdio.c: Likewise.
18900
9da4bb31
UD
18901 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18902 handling.
18903
bdaa77bc
AS
189042010-08-19 Andreas Schwab <schwab@redhat.com>
18905
18906 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18907
fe2f79db
LM
189082010-08-19 Luis Machado <luisgpm@br.ibm.com>
18909
18910 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18911 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18912 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18913 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18915 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18916 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18917 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18919 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18920 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18921 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18922 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18923 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18924
b9b42ee0
AB
189252010-07-26 Anton Blanchard <anton@samba.org>
18926
18927 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18928 * malloc/arena.c (heap_trim): Likewise.
18929
1c06ba31
UD
189302010-08-16 Ulrich Drepper <drepper@redhat.com>
18931
18932 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18933 here. Not...
18934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18935 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18936
f8392f40
L
189372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18938
18939 * sysdeps/i386/elf/Makefile: New file.
18940
3162f12e
AS
189412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18942
18943 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18944 from fanotify_init.
18945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18947
28c90b2c
UD
189482010-08-15 Ulrich Drepper <drepper@redhat.com>
18949
18950 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18951 of strncasecmp_l.
1feccb6c 18952 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18953
ca6bb004
UD
189542010-08-14 Ulrich Drepper <drepper@redhat.com>
18955
e9f82e0d
UD
18956 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18957 strncase_l-nonascii.
18958 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18959 Add strncase_l-ssse3.
18960 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18961 * sysdeps/x86_64/strcmp.S: Likewise.
18962 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18963 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18964 * sysdeps/x86_64/strncase.S: New file.
18965 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18966 * sysdeps/x86_64/strncase_l.S: New file.
18967 * string/Makefile (strop-tests): Add strncasecmp.
18968 * string/test-strncasecmp.c: New file.
18969
18970 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18971 warning.
18972
ca6bb004
UD
18973 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18974 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18975
052fa7b3
AS
189762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18977
18978 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18979
962dba78
UD
189802010-08-12 Ulrich Drepper <drepper@redhat.com>
18981
18982 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18985
bebff237
AM
189862010-05-01 Alan Modra <amodra@gmail.com>
18987
18988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18989 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18990 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18991 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18992 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18993 tidying. Don't tail-call __sigjmp_save for static lib.
18994 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18995 save location.
18996 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18997 (CALL_MCOUNT): Add eh info, and nop after bl.
18998 (TAIL_CALL_SYSCALL_ERROR): New macro.
18999 (PSEUDO_RET): Use it.
19000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19001 Correct save location of integer regs and cr.
19002 (_dl_profile_resolve): Correct cr save location. Delete nops
19003 after bl when SHARED. Reduce cfi size a little by better
19004 placement of cfi directives.
19005 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19006 make a stack frame. Instead use parm save area as a temp.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19008 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19010 Don't make a stack frame for parent, use parm save area.
19011 Increase child stack frame to 112 bytes. Don't save unused reg,
19012 and adjust reg usage. Set up cfi on error recovery and
19013 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19015 (__makecontext): Add dummy nop after jump to exit.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19017 Use correct parm save area and cr save, reduce stack frame.
19018 Correct cfi for possible PSEUDO_RET frame setup.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19020 Branch to local label emitted by PSEUDO_RET rather than
19021 __syscall_error.
19022
02637374
AS
190232010-08-12 Andreas Schwab <schwab@redhat.com>
19024
19025 [BZ #11904]
19026 * locale/programs/locale.c (print_assignment): New function.
19027 (show_locale_vars): Use it.
19028
c3e2f19b
UD
190292010-08-11 Ulrich Drepper <drepper@redhat.com>
19030
3cdaa6ad
UD
19031 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19032 field.
19033 (struct statfs64): Likewise.
19034 (_STATFS_F_FLAGS): Define.
19035 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19037 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19038 (ST_VALID): Define locally.
19039 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19040 __statvfs_getflags, use the provided value.
19041 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19042 __ASSUME_STATFS_F_FLAGS.
19043
754f7da3
UD
19044 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19045
10b3bedc
UD
19046 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19047 Add sys/fanotify.h.
19048 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19049 fanotify_mask for GLIBC_2.13.
19050 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19051 fanotify_init and fanotify_mark.
19052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19053 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19054
c08fb0d7
UD
19055 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19056 Add prlimit.
19057 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19058 prlimit64 for GLIBC_2.13.
19059 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19060 prlimit64.
19061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19062 syscall.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19065 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19068 add prlimit alias.
19069 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19070
15bac72b
UD
19071 [BZ #11903]
19072 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19073 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19074
c3e2f19b
UD
19075 * nss/Makefile: Add rules to build and run tst-nss-test1.
19076 * shlib-versions: Add entry for libnss_test1.
19077 * nss/nss_test1.c: New file.
19078 * nss/tst-nss-test1.c: New file.
19079
19080 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19081 (__nss_configure_lookup): Set appropriate entry in
19082 __nss_configure_lookup to true.
19083 * nss/nsswitch.h: Define enum with indeces of databases in
19084 databases and __nss_database_custom arrays. Declare
19085 __nss_database_custom.
19086 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19087 to avoid using nscd when custom rules are installed.
19088 * nss/getXXbyYY_r.c: Likewise.
19089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19090
19091 * nss/nss_files/files-parse.c: Whitespace fixes.
19092
f15ce4d8
UD
190932010-08-09 Ulrich Drepper <drepper@redhat.com>
19094
19095 [BZ #11883]
19096 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19097 * posix/fnmatch_loop.c: Likewise.
19098
d22e4cc9
AK
190992010-07-17 Andi Kleen <ak@linux.intel.com>
19100
19101 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19102 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19103 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19104 * Versions.def [GLIBC_2.13]: Add.
19105
805bc17d
UD
191062010-08-06 Ulrich Drepper <drepper@redhat.com>
19107
19108 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19109 Also fail if tpwd after pwuid call is NULL.
19110
5a42321d
ST
191112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19112
19113 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19114 when converting to ms.
19115
fd3ebeda
ST
191162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19117
19118 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19119 EOPNOTSUPP errors with ENOTTY.
19120 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19121 EOPNOTSUPP errors with ENOTTY.
19122
73507d3a
UD
191232010-07-31 Ulrich Drepper <drepper@redhat.com>
19124
19125 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19126 Add strcasecmp_l-ssse3.
19127 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19128 strcasecmp.
19129 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19130 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19132
fe36dd02
UD
191332010-07-30 Ulrich Drepper <drepper@redhat.com>
19134
66f6765a
UD
19135 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19136
42e08a54
UD
19137 * string/Makefile (strop-tests): Add strcasecmp.
19138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19139 strcasecmp_l-nonascii.
19140 (gen-as-const-headers): Add locale-defines.sym.
19141 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19142 * sysdeps/x86_64/strcasecmp.S: New file.
19143 * sysdeps/x86_64/strcasecmp_l.S: New file.
19144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19145 * sysdeps/x86_64/locale-defines.sym: New file.
19146 * string/test-strcasecmp.c: New file.
19147
fe36dd02
UD
19148 * string/test-strcasestr.c: Test both ends of the range of characters.
19149 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19150
48cbc0d6
RM
191512010-07-29 Roland McGrath <roland@redhat.com>
19152
76e6d6bc 19153 [BZ #11856]
48cbc0d6
RM
19154 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19155
880113d9
UD
191562010-07-27 Ulrich Drepper <drepper@redhat.com>
19157
19158 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19159 for ld.so.
19160
deb9cabb
AS
191612010-07-27 Andreas Schwab <schwab@redhat.com>
19162
19163 * manual/memory.texi (Malloc Tunable Parameters): Document
19164 M_PERTURB.
19165
1c7570ff
RM
191662010-07-26 Roland McGrath <roland@redhat.com>
19167
19168 [BZ #11840]
19169 * configure.in (-fgnu89-inline check): Set and substitute
19170 gnu89_inline, not libc_cv_gnu89_inline.
19171 * configure: Regenerated.
19172 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19173
24fb0f88
UD
191742010-07-26 Ulrich Drepper <drepper@redhat.com>
19175
19176 * string/test-strnlen.c: New file.
19177 * string/Makefile (strop-tests): Add strnlen.
19178 * string/tester.c (test_strnlen): Add a few more test cases.
19179 * string/tst-strlen.c: Better error reporting.
19180
19181 * sysdeps/x86_64/strnlen.S: New file.
19182
8e96b93a
UD
191832010-07-24 Ulrich Drepper <drepper@redhat.com>
19184
19185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19186 lower-latency instructions.
19187
dbc676d4
UD
191882010-07-23 Ulrich Drepper <drepper@redhat.com>
19189
19190 * string/test-strcasestr.c: New file.
19191 * string/test-strstr.c: New file.
19192 * string/Makefile (strop-tests): Add strstr and strcasestr.
19193 * string/str-two-way.h: Don't undefine MAX.
19194 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19195
f6a31e0e
AS
191962010-07-21 Andreas Schwab <schwab@redhat.com>
19197
19198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19199 strcasestr-nonascii.
19200 (CFLAGS-strcasestr-nonascii.c): Define.
19201 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19202 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19203 Remove unused attribute.
19204
5dbc3b6c
RM
192052010-07-20 Roland McGrath <roland@redhat.com>
19206
19207 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19208 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19209 ld.so.cache was broken. With it, there is no way to disable dsocaps
19210 like LD_HWCAP_MASK can disable hwcaps.
19211
23d101d8
EPM
192122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19213
19214 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19215
cc9f2e47
UD
192162010-07-16 Ulrich Drepper <drepper@redhat.com>
19217
19218 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19219 call in strcasestr.
19220 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19221 __strcasestr_sse42_nonascii.
19222 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19223 strcasestr-nonascii.c.
19224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19225
77c1b069
LM
192262010-06-15 Luis Machado <luisgpm@br.ibm.com>
19227
19228 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19230 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19232
440566c3
UD
192332010-07-09 Ulrich Drepper <drepper@redhat.com>
19234
19235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19236 fcntl.
19237
5be9d05d
AS
192382010-07-06 Andreas Schwab <schwab@redhat.com>
19239
c30b7ee2 19240 [BZ #11577]
5be9d05d
AS
19241 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19242 dl_signal_cerror.
19243
8a492a67
UD
192442010-07-06 Ulrich Drepper <drepper@redhat.com>
19245
19246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19247 _PC_PIPE_BUF using F_GETPIPE_SZ.
19248
713df3d5
RM
192492010-07-05 Roland McGrath <roland@redhat.com>
19250
19251 * manual/arith.texi (Rounding Functions): Fix rint description
19252 implicit in round description.
19253
702e8f14
UD
192542010-07-02 Ulrich Drepper <drepper@redhat.com>
19255
19256 * elf/Makefile: Fix linking for a few tests to make recent linker
19257 happy.
19258
52ed8be9
AS
192592010-06-30 Andreas Schwab <schwab@redhat.com>
19260
19261 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19262 $(common-objpfx)libc_nonshared.a.
19263
f47c9a11
LM
192642010-06-21 Luis Machado <luisgpm@br.ibm.com>
19265
19266 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19267 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19268 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19269 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19270 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19271 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19272 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19273 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19288 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19289 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19290 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19291 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19292 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19293 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19294 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19295 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19296 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19297 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19298 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19299 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19314
6fb8cbcb
L
193152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19318 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19319 * string/memmove.c (memmove): Renamed to ...
19320 (MEMMOVE): ...this. Default to memmove.
19321 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19322 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19323 (END_CHK): Define.
19324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19325 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19326 mempcpy-ssse3-back memmove-ssse3-back.
19327 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19328 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19330 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19331 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19332 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19333 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19334 * sysdeps/x86_64/multiarch/memmove.c: New file.
19335 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19336 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19337 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19338 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19339 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19341 Define.
19342 (index_Fast_Copy_Backward): Define.
19343 (HAS_ARCH_FEATURE): Define.
19344 (HAS_FAST_REP_STRING): Define.
19345 (HAS_FAST_COPY_BACKWARD): Define.
19346
4e733bac 193472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19348
19349 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19350 Restore proper fallback handling.
19351
63c4ed22
UD
193522010-06-19 Ulrich Drepper <drepper@redhat.com>
19353
ac2b484c
UD
19354 [BZ #11701]
19355 * posix/group_member.c (__group_member): Correct checking loop.
19356
63c4ed22
UD
19357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19358 OOM in getpwuid_r correctly. Return error number when the caller
19359 should return, otherwise -1.
19360 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19361 call returning > 0 value.
19362 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19363
765ade4b
AS
193642010-06-07 Andreas Schwab <schwab@redhat.com>
19365
19366 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19367 libc_nonshared.a from targets in modules-names.
19368
80da2e09
KS
193692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19370
19371 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19372 requires it.
19373
158db122
LM
193742010-06-10 Luis Machado <luisgpm@br.ibm.com>
19375
19376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19377 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19380
caa78cf8
AS
193812010-06-02 Andreas Schwab <schwab@redhat.com>
19382
19383 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19384
b2ef2c01
UD
193852010-06-14 Ulrich Drepper <drepper@redhat.com>
19386
19387 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19388 and F_GETPIPE_SZ.
19389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19394 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19395
fbd643b6
RM
193962010-06-14 Roland McGrath <roland@redhat.com>
19397
19398 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19399
f32f2869
JJ
194002010-06-07 Jakub Jelinek <jakub@redhat.com>
19401
19402 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19403 __REDIRECT followed by __THROW.
19404 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19405 * posix/getopt.h (getopt): Likewise.
19406
2a50c078
EPM
194072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19408
19409 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19410 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19411 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19412 in AT_FLAGS.
19413 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19414 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19415
eb5ad2eb
LM
194162010-05-28 Luis Machado <luisgpm@br.ibm.com>
19417
19418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19419
3c88fe1e
L
194202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19421
19422 [BZ #11640]
19423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19424 Properly check family and model.
19425
d2f73151
TY
194262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19427
19428 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19429
ebd2e13d
LM
194302010-05-24 Luis Machado <luisgpm@br.ibm.com>
19431
19432 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19433
b32b8b45
UD
194342010-05-21 Ulrich Drepper <drepper@redhat.com>
19435
19436 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19437 symbol reference.
19438
9acbe24d
AS
194392010-05-19 Andreas Schwab <schwab@redhat.com>
19440
19441 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19442 symbol reference.
19443
f0ccf6ea
AS
194442010-05-21 Andreas Schwab <schwab@redhat.com>
19445
3d04ff3a
AS
19446 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19447 and internal_recvmmsg.
19448 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19449 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19450 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19451 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19452
f0ccf6ea
AS
19453 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19454 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19455 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19456
5b08ac57
AS
194572010-05-20 Andreas Schwab <schwab@redhat.com>
19458
19459 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19460
4828935d
LM
194612010-05-17 Luis Machado <luisgpm@br.ibm.com>
19462
19463 POWER7 optimizations.
19464 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19465 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19466
373d545e
UD
194672010-05-19 Ulrich Drepper <drepper@redhat.com>
19468
19469 * version.h: Update for 2.13 development version.
19470
21a2b1ae
AS
194712010-05-12 Andrew Stubbs <ams@codesourcery.com>
19472
19473 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19474 exceptions. Return 0.
19475
3f7dcb2b
RM
194762010-05-07 Roland McGrath <roland@redhat.com>
19477
19478 * elf/ldconfig.c (main): Add a const.
19479
5f24d53a 194802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19481
a160f8d8
UD
19482 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19483 (args_options): Add no-idn option.
19484 (ahosts_keys_int): Add idn_flags to ai_flags.
19485 (parse_option): Handle 'i' option to clear idn_flags.
19486
5f24d53a
UD
19487 * malloc/malloc.c (_int_free): Possible race in the most recently
19488 added check. Only act on the data if no current modification
19489 happened.
265bb1ce
UD
19490
19491See ChangeLog.17 for earlier changes.